/* Boutique Style CSS */

:root {
    --primary-font: 'Poppins', 'Inter', sans-serif;
    --heading-font: 'Playfair Display', serif;
    --boutique-black: #1a1a1a;
    --boutique-pink: #fffafa;
    --boutique-rose: #ffb7c5;
    --boutique-rose-dark: #f0a0b0;
    --boutique-gold: #c69b7b;
    --soft-shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --section-padding: 120px;
    --card-gap: 30px;
}

/* Desktop Content Spacing (Padding on content instead of body) */
@media (min-width: 1200px) {
    html {
        background-color: var(--bg-color, #ffffff) !important;
        overflow-x: hidden !important;
    }
    
    [data-theme='dark'] html {
        background-color: var(--bg-color, #1a1a1a) !important;
    }

    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        background-color: var(--bg-color, #ffffff) !important;
        min-height: 100vh !important;
        position: relative !important;
        overflow-x: hidden !important;
    }

    /* Apply the 100px padding to the main content and navbar containers */
    .main-content,
    .announcement-bar {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }

    .navbar .container,
    .footer .container {
        padding-left: 100px !important;
        padding-right: 100px !important;
        max-width: 100% !important;
    }

    /* Ensure sections inside main-content that use .container also feel the 100px rule if they are fluid, 
       or simply restrict their width if they are standard containers */
    .main-content .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .navbar.sticky-top, 
    .announcement-bar {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
}

/* Prevent Horizontal Scroll */
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

/* Ensure all elements respect box-sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Force containment on major sections */
section, footer, header {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body {
    font-family: var(--primary-font);
    color: var(--boutique-black);
    line-height: 1.8;
    background-color: var(--bg-color, #ffffff);
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

.display-1, .display-2, .display-3, .display-4 {
    font-family: var(--heading-font);
    font-weight: 900;
}

/* Spacing Helpers */
.py-section { padding-top: var(--section-padding); padding-bottom: var(--section-padding); }
.mb-section { margin-bottom: var(--section-padding); }

.text-muted {
    color: #555 !important; /* Darkened muted text for better contrast */
}

/* Navbar */
.navbar {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800 !important;
    letter-spacing: 2px;
}

.nav-link {
    font-weight: 600; /* Increased weight */
    font-size: 0.85rem; /* Increased size */
    letter-spacing: 0.5px; /* Reduced letter spacing for better readability */
    padding: 0.5rem 1.2rem !important;
    color: #333 !important;
}

.nav-link:hover {
    color: var(--boutique-rose-dark) !important;
}

.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.extra-small {
    font-size: 0.7rem;
}

/* Hero Section */
.hero-section {
    background-color: var(--boutique-pink) !important;
    padding: 60px 0;
}

@media (min-width: 992px) {
    .hero-section {
        padding: 100px 0;
    }
}

.hero-content .subtitle {
    color: var(--boutique-rose-dark);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Product Card - Modernized */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    background: transparent;
    transition: var(--transition);
    position: relative;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 20px;
    border-radius: 16px;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card .card-body {
    padding: 10px 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: var(--primary-font);
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.product-card .card-title a {
    text-decoration: none;
    color: inherit;
}

.product-card:hover .card-title {
    color: var(--primary-color);
}

.product-price {
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
    margin-top: 0;
    font-family: var(--primary-font);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    padding: 5px 15px;
    background: white;
    color: black;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    transform: translateY(-10px);
    opacity: 0;
}

.product-card:hover .wishlist-btn {
    transform: translateY(0);
    opacity: 1;
}

.wishlist-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Category Tiles */
.category-tile {
    height: 400px;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--card-gap);
}

.category-tile h3 {
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* Added shadow for text over image */
}

/* Buttons - Modernized */
.btn {
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--primary-font);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--button-color, #1a1a1a) !important;
    border-color: var(--button-color, #1a1a1a) !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--button-color, #1a1a1a) !important;
    border-color: var(--button-color, #1a1a1a) !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    filter: brightness(1.1);
}

.btn-outline-dark {
    border: 1.5px solid #1a1a1a !important;
    color: #1a1a1a !important;
    background-color: transparent !important;
}

.btn-outline-dark:hover {
    background-color: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #fff !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Form Controls */
.form-control {
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid #eee;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.1);
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    content: "•";
    color: #ccc;
}

.breadcrumb-item a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

/* Custom Utilities */
.text-primary-color { color: var(--primary-color); }
.bg-soft-pink { background-color: var(--primary-color); opacity: 0.1; }
.letter-spacing-2 { letter-spacing: 2px; }
.min-vh-75 { min-height: 75vh; }
.shadow-lg { box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important; }
.rounded-4 { border-radius: 24px !important; }

/* Modernized Radio Buttons for Size/Color */
.btn-check + .btn-outline-dark {
    border: 1px solid #eee;
    background: #fff;
    color: #444;
    border-radius: 10px;
    min-width: 60px;
}

.btn-check:checked + .btn-outline-dark {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Section Title */
.section-title h2 {
    font-size: 2.5rem; /* Increased size */
    margin-bottom: 15px;
}

.section-title .subtitle {
    font-size: 0.85rem;
    color: var(--boutique-rose-dark); /* Changed color for better distinction */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

/* Modern Brand Animations */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transition {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hover-up:hover {
    transform: translateY(-8px);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #0f1113;
        --card-bg: #1a1d21;
        --text-main: #f8f9fa;
        --text-muted: #a0a0a0;
        --border-color: rgba(255,255,255,0.08);
        --input-bg: #25292e;
        --soft-pink: rgba(255, 183, 197, 0.1);
        --boutique-black: #f8f9fa;
        --boutique-pink: #1a1d21;
    }
    body { background-color: var(--bg-color); color: var(--text-main); }
    .bg-card { background-color: var(--card-bg) !important; }
    .bg-white { background-color: var(--card-bg) !important; }
    .bg-light { background-color: var(--input-bg) !important; }
    .bg-soft-pink { background-color: var(--soft-pink) !important; }
    .text-dark { color: var(--text-main) !important; }
    .text-muted { color: var(--text-muted) !important; }
    .border { border-color: var(--border-color) !important; }
    .card { background-color: var(--card-bg); border-color: var(--border-color); }
    .form-control { background-color: var(--input-bg); border-color: var(--border-color); color: var(--text-main); }
    .form-control:focus { background-color: var(--input-bg); color: var(--text-main); }
    .navbar { background: rgba(15, 17, 19, 0.95) !important; border-bottom: 1px solid var(--border-color); }
    .nav-link { color: var(--text-main) !important; }
    footer { background-color: var(--bg-color); color: var(--text-main); border-top: 1px solid var(--border-color); }
    .modal-content { background-color: var(--card-bg); color: var(--text-main); }
    .table { color: var(--text-main); }
    .table-hover tbody tr:hover { background-color: rgba(255,255,255,0.02); }
    .breadcrumb-item a { color: var(--text-muted); }
    .btn-outline-dark { border-color: var(--text-main); color: var(--text-main); }
    .btn-outline-dark:hover { background-color: var(--text-main); color: var(--bg-color); }
}

/* Footer */
footer {
    background-color: #fff;
    padding: 100px 0 40px;
}

.footer-heading {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-family: var(--primary-font);
    font-weight: 800;
    color: #000;
}

.hover-dark:hover {
    color: #000 !important;
    padding-left: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: var(--transition);
}

/* Quantity Selector */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    border: 1px solid #eee;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark-color);
}

.qty-btn:hover {
    background: var(--dark-color);
    color: #fff;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Product Detail Improvements */
.product-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

.thumbnail-img.active {
    border: 2px solid var(--dark-color);
}

.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
}

.rating-bar-container {
    flex-grow: 1;
    height: 6px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 10px;
}

/* Related Products */
.related-product-card {
    transition: var(--transition);
}

.related-product-card:hover {
    transform: translateY(-10px);
}

.related-product-card .card-img-wrapper {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 15px;
}

/* Sticky Mobile Add to Cart */
@media (max-width: 767.98px) {
    .sticky-mobile-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px 20px;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
        z-index: 1050;
        display: flex;
        gap: 10px;
    }
}

/* Dark Mode Support */
[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f8f9fa;
    --dark-color: #ffffff;
    --light-color: #1e1e1e;
    --border-color: #333333;
    --card-bg: #1e1e1e;
}

[data-theme="dark"] body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

[data-theme="dark"] .navbar {
    background-color: #121212 !important;
    border-bottom: 1px solid #333;
}

[data-theme="dark"] .navbar-light .nav-link {
    color: rgba(255,255,255,0.8);
}

[data-theme="dark"] .navbar-light .nav-link:hover {
    color: #fff;
}

[data-theme="dark"] .card, 
[data-theme="dark"] .review-card,
[data-theme="dark"] .product-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .text-muted {
    color: #aaa !important;
}

[data-theme="dark"] .bg-light {
    background-color: #1e1e1e !important;
}

[data-theme="dark"] .form-control {
    background-color: #2c2c2c;
    border-color: #444;
    color: #fff;
}

[data-theme="dark"] .form-control:focus {
    background-color: #333;
    border-color: var(--primary-color);
}

/* User Profile & Dashboard */
.profile-sidebar .nav-link {
    color: #666;
    font-weight: 500;
    transition: var(--transition);
}

.profile-sidebar .nav-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.profile-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #fff !important;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.dashboard-stat-card {
    transition: transform 0.3s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
}

/* Star Rating Input */
.rating-star {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.rating-star:hover {
    transform: scale(1.2);
}

/* Dark Mode Support Updates */
[data-theme="dark"] .profile-sidebar,
[data-theme="dark"] .dashboard-stat-card,
[data-theme="dark"] .bg-white.rounded-4.shadow-sm.border {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .profile-sidebar .nav-link {
    color: #aaa;
}

[data-theme="dark"] .profile-sidebar .nav-link:hover {
    background-color: #2c2c2c;
    color: #fff;
}

[data-theme="dark"] .profile-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #fff !important;
}

[data-theme="dark"] .stat-icon.bg-primary-subtle { background-color: rgba(0,0,0,0.3) !important; color: #fff !important; }
[data-theme="dark"] .stat-icon.bg-success-subtle { background-color: rgba(25, 135, 84, 0.2) !important; color: #2ecc71 !important; }
[data-theme="dark"] .stat-icon.bg-warning-subtle { background-color: rgba(255, 193, 7, 0.2) !important; color: #f1c40f !important; }


[data-theme="dark"] .accordion-item {
    background-color: transparent;
    border-color: #333;
}

[data-theme="dark"] .accordion-button {
    color: #fff;
}

[data-theme="dark"] .accordion-button:not(.collapsed) {
    background-color: #222;
    color: var(--primary-color);
}

[data-theme="dark"] .breadcrumb-item a {
    color: #aaa;
}

[data-theme="dark"] .breadcrumb-item.active {
    color: #fff;
}

[data-theme="dark"] footer {
    background-color: #000 !important;
}

.social-icon:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 16px;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.payment-methods img {
    height: 20px !important;
    width: auto !important;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: var(--transition-main, all 0.4s cubic-bezier(0.16, 1, 0.3, 1));
}

.grayscale {
    filter: grayscale(100%);
    transition: var(--transition);
}

.grayscale:hover {
    filter: grayscale(0%);
    opacity: 1 !important;
}

#backToTop.show {
    opacity: 1;
    transform: translateY(-20px);
    display: block !important;
}

/* Cart Page */
.cart-table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    color: #888;
    padding-bottom: 20px;
}

.cart-item-img {
    width: 100px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
    width: fit-content;
}

.qty-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 8px;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #eee;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
}

.summary-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

/* Homepage & Global Styles */
.instagram-item { aspect-ratio: 1/1; }
.instagram-item:hover .instagram-overlay { opacity: 1 !important; }
.instagram-item:hover img { transform: scale(1.1); }

.feature-item:hover { background: var(--boutique-pink); transform: translateY(-10px); }
.category-card { border-radius: 20px; overflow: hidden; transition: all 0.5s ease; }
.category-card:hover { transform: translateY(-15px); }
.category-img-wrapper { height: 450px; overflow: hidden; }
.category-card:hover .category-img-wrapper img { transform: scale(1.1); }
.hero-section { min-height: 80vh; background: linear-gradient(135deg, #fffafa 0%, #fff 100%); }
.main-hero-img { transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.hero-image-container:hover .main-hero-img { transform: scale(1.02) rotate(1deg); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }
.bg-primary-light { background-color: rgba(var(--primary-color-rgb, 255, 183, 197), 0.1); }

.btn-white { background: white; border: none; color: #1e1e1e; font-weight: 700; padding: 12px 24px; border-radius: 12px; transition: var(--transition); }
.btn-white:hover { background: #1e1e1e; color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Header & Navigation */
.navbar-brand span {
    font-family: var(--heading-font) !important;
    font-weight: 900;
}

.nav-link {
    position: relative;
    padding: 10px 15px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--boutique-rose-dark);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.search-input-wrapper {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 2px 5px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.search-input-wrapper:focus-within {
    background: #fff;
    border-color: #eee;
    box-shadow: var(--soft-shadow);
}

.cart-icon-wrapper {
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-icon-wrapper:hover {
    background: #f8f9fa;
}

#cart-count {
    top: 5px !important;
    right: 5px !important;
    padding: 4px 6px;
    font-size: 0.65rem;
    font-weight: 800;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Product Detail Page */
.product-gallery {
    position: sticky;
    top: 100px;
}

.thumbnail-img {
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.thumbnail-img:hover {
    border-color: #eee;
    opacity: 0.8;
}

.thumbnail-img.active {
    border-color: var(--boutique-black);
}

.review-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--soft-shadow);
    transform: translateY(-5px);
}

.review-summary {
    background: var(--boutique-pink);
    border-radius: 20px;
    padding: 40px;
}

.rating-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    font-family: var(--heading-font);
}

.rating-bar-container {
    height: 6px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    flex-grow: 1;
}

.rating-bar-fill {
    height: 100%;
    background: #ffc107;
    border-radius: 10px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: #f8f9fa;
    color: var(--boutique-black);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    :root { --section-padding: 60px; }
    .hero-section { text-align: center; }
    .product-gallery { position: relative; top: 0; }
}
.main-image img {
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.2);
}
