
/* === Page styles for slider, products, popup, and Instagram reviews === */
.slider {
    position: relative;
    width: 100%;
    height: 60vh;
    margin-top: 105px;
}
.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.overlay-buttons {
    text-decoration: none;
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start; 
}
.overlay-buttons button {
    background-color: #e0a771;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.overlay-buttons button a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}
.overlay-buttons button:hover {
    background-color: #c68247;
}
.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 25px;
    text-align: left;
}
.text-overlay p {
    font-weight: bold;
    direction: ltr;
    text-align: left; 
}
.content { padding: 20px; }
.content p {
    text-align: center;
    color: #e0a771;
    margin: 20px 0;
    font-size: 32px;
}
.content h1 {
    text-align: center;
    font-size: 70px;
    color: #c68247;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .content h1 { font-size: 40px; }
    .content p { font-size: 24px; }
    .text-overlay { font-size: 18px; width: 90%; line-height: 1.3; }
    .text-overlay p { font-size: 18px; }
    .overlay-buttons button { padding: 8px; }
    .overlay-buttons button a { font-size: 14px; }
    .slider img { height: auto; }
    .listing-container { grid-template-columns: repeat(2, 1fr); }
}
.listing-container {
    display: grid;
    grid-template-columns: repeat(3, min-content);
    gap: 20px;
    justify-content: center;
    padding: 20px;
}
.listing-item {
    background-color: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 12px #e0a771;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    height: 400px; 
    width: 300px;
    position: relative;
}
.listing-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.listing-item img:hover { opacity: 0.5; }
.listing-content {
    justify-content: flex-start;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.listing-content p {
    color: #000;
    direction: ltr;
    text-align: left;
    margin: 0;
}
.listing-content .price {
    color: #000;
    direction: ltr;
    text-align: left;
    margin: 0;
}
.add-to-cart-button {
    background-color: #e0a771;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    width: 100%;
    opacity: 0;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
}
.listing-item:hover .add-to-cart-button { opacity: 1; }
.add-to-cart-button:hover { background-color: #c68247; }
@media (max-width: 768px) {
    .add-to-cart-button { opacity: 1; position: static; transform: none; margin-top: 10px; }
    .listing-container { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .listing-item {
        height: 430px; width: 100%; position: relative;
    }
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 20px;
    z-index: 1000;
    text-align: center;
    border-radius: 10px;
}
.popup button {
    margin: 10px;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.popup button:hover { background-color: #5b6369; }
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}
.instagram-thumbnail-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin: 20px auto;
    max-width: 960px;
}
.instagram-thumbnail {
    position: relative;
    width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s, opacity 0.3s;
    display: block;
}
.instagram-thumbnail:hover {
    transform: scale(1.05);
    opacity: 0.7;
}
.instagram-thumbnail-container a {
    position: relative;
    display: inline-block;
}
.instagram-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: #000;
    opacity: 0;
    transition: opacity 0.3s;
}
.instagram-thumbnail-container a:hover .instagram-icon {
    opacity: 1;
}

