







/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 1010;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #f00;
}












/* Variant Section Styling */
.variant-section {
    margin-top: 10px;
    padding: 15px;
    background-color: #fafafa;
    border: 2px dashed #5a189a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
}

/* Variant Title */
.variant-section h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #5a189a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Variant Buttons */
.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.variant-btn {
    background-color: #fff;
    border: 1px solid #5a189a;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a189a;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.variant-btn:hover,
.variant-btn:focus {
    background-color: #5a189a;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Add to Cart and Buy Now Button Group */
.variant-buttons-group {
    margin-top: 10px; /* Space between variants and buttons */
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between buttons */
}

.variant-buttons-group .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s ease-in-out;
}

/* Add to Cart Button */
#addToCartButton {
    background-color: #ccc;
    color: #333;
    border: 1px solid #ddd;
}

#addToCartButton:hover {
    background-color: #bbb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Buy Now Button */
#buyNowButton {
    background-color: #5a189a;
    color: white;
    border: none;
}

#buyNowButton:hover {
    background-color: #4e0e7a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .variant-section {
        padding: 10px;
    }

    .variant-buttons {
        gap: 8px;
    }

    .variant-buttons-group .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}











/* General Styling */
/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding-top: 60px; /* Added padding to avoid content overlap with fixed header */
    background-color: #f4f4f9;
    color: #333;
}


    
    
    
 .main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #5a189a;
    padding: 20px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid #9d4edd;
    transition: transform 0.3s ease-in-out;
}



.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.2s ease-in-out;
}

.site-logo:hover {
    transform: scale(1.1);
}

.welcome-message {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
}

/* Product Detail Container */
.product-detail-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    max-width: 600px;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Main Image */
.main-image-wrapper {
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.main-image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.main-image-wrapper:hover .main-image {
    transform: scale(1.05);
}

/* Thumbnail Container */
.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    overflow-x: auto;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: border 0.2s;
}

.thumbnail.active-thumbnail {
    border: 2px solid #5a189a;
}

/* Product Title and Price */
.product-title {
    font-size: 1.5rem;
    color: #333;
    text-align: center;
    margin: 10px 0;
}

.price {
    font-size: 1.3rem;
    color: #5a189a;
    font-weight: bold;
    text-align: center;
    margin: 5px 0;
}

.promotion-message, #availability {
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    margin: 5px 0;
}

/* Variant Section */
.variant-section {
    text-align: center;
    margin-top: 10px;
}

.variant-section h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.variant-btn {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.variant-btn:hover {
    background-color: #f0f0f0;
}

/* Quantity Section */
.quantity-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.quantity-section label {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 5px;
}

.quantity-section input {
    width: 60px;
    padding: 5px;
    font-size: 0.9em;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.btn {
    padding: 10px 20px;
    background-color: #5a189a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #4e0e7a;
}

.btn-secondary {
    background-color: #ccc;
    color: #333;
}

/* Product Description */
.product-description {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-description h2 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.product-description p {
    color: #555;
    line-height: 1.6;
}

/* Bottom Navigation */
/* moved to css/shop.css */

/* moved to css/shop.css */

/* moved to css/shop.css */

.nav-icon {
    font-size: 16px;
}

/* Responsive Styling for Mobile */
@media (max-width: 768px) {
    /* Compact Layout for Mobile */
    .product-detail-container {
        padding: 10px;
        gap: 10px;
    }

    .main-image-wrapper {
        max-width: 280px;
        margin: auto;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.2rem;
    }

    .variant-section h3 {
        font-size: 1rem;
    }

    .variant-btn {
        padding: 5px 10px;
        font-size: 0.85em;
    }

    .quantity-section label, .quantity-section input {
        font-size: 0.85em;
    }

    .btn {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}
/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Product Detail Container */
.product-detail-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    max-width: 400px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image and Thumbnails Section */
.image-gallery {
    display: flex;
    gap: 10px;
    align-items: flex-start; /* Align thumbnails to top of main image */
    flex-direction: row; /* Always side-by-side */
}

/* Main Image */
.main-image-wrapper {
    flex: 4; /* Larger portion for the main image */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* Maintain proportions */
    object-fit: contain; /* Prevent cropping */
    transition: transform 0.3s ease-in-out;
}

.main-image-wrapper:hover .main-image {
    transform: scale(1.05);
}

/* Thumbnail Container */
.thumbnail-container {
    flex: 1; /* Smaller portion for thumbnails */
    display: flex;
    flex-direction: column; /* Vertical alignment */
    gap: 6px; /* Reduced gap for compactness */
    overflow-y: auto;
    max-height: 220px; /* Limit height to ensure compactness */
    align-self: center; /* Align thumbnails vertically in the center */
}

.thumbnail {
    width: 40px; /* Very small thumbnails */
    height: 40px;
    object-fit: contain; /* Ensure full image visibility */
    border-radius: 6px;
    cursor: pointer;
    transition: border 0.3s, transform 0.3s ease-in-out;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
    transform: scale(1.1);
}

.thumbnail.active-thumbnail {
    border: 2px solid #5a189a;
}

/* Product Title and Price */
.product-title {
    font-size: 1rem; /* Minimized size */
    color: #333;
    text-align: center;
    margin: 5px 0;
}

.price {
    font-size: 0.9rem; /* Minimized size */
    color: #5a189a;
    font-weight: bold;
    text-align: center;
    margin: 5px 0;
}

/* Promotion and Availability */
.promotion-message,
#availability {
    font-size: 0.8rem; /* Minimized size */
    color: #555;
    text-align: center;
    margin: 5px 0;
}

/* Variant Section */
.variant-section {
    margin-top: 10px;
    padding: 10px;
    background-color: #fafafa;
    border: 2px dashed #5a189a;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.variant-section h3 {
    font-size: 0.9rem; /* Minimized size */
    font-weight: bold;
    color: #5a189a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.variant-btn {
    background-color: #fff;
    border: 1px solid #5a189a;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem; /* Minimized size */
    font-weight: 500;
    color: #5a189a;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.variant-btn:hover,
.variant-btn:focus {
    background-color: #5a189a;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Quantity Section */
.quantity-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.quantity-section label {
    font-size: 0.8rem; /* Minimized size */
    color: #333;
    margin-bottom: 5px;
}

.quantity-section input {
    width: 60px;
    padding: 5px;
    font-size: 0.8rem; /* Minimized size */
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.btn {
    padding: 8px 12px;
    background-color: #5a189a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.75rem; /* Minimized size */
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #4e0e7a;
    transform: scale(1.02);
}

.btn-secondary {
    background-color: #ccc;
    color: #333;
}

/* Product Description */
.product-description {
    margin-top: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.75rem; /* Minimized size */
}

/* Bottom Navigation */
/* moved to css/shop.css */

/* moved to css/shop.css */

/* moved to css/shop.css */

.nav-icon {
    font-size: 14px;
}




