/* Fiora Design System - Subtle Pink & Pastel Glow */
:root {
    /* Colors - Subtle Pastel & Glow */

    /* Background: Almost white with radiant warmth */
    --bg-color: #FDFBFC;

    /* Text: Softened Navy (Grounding) */
    --text-main: #334155;

    /* Muted: Slate Grey */
    --text-muted: #64748B;

    /* Borders: Very light pinkish-grey */
    --border-color: rgba(244, 63, 94, 0.08);

    /* Accents - The "Pink" */
    --accent-pink: #FFE4E6;
    /* Rose 100 */
    --accent-primary: #FDA4AF;
    /* Rose 300 */
    --accent-glow: rgba(253, 164, 175, 0.4);
    /* Pink Glow */
    --accent-hover: #E11D48;
    /* Rose 600 */

    /* Alternate Background for Contrast */
    --bg-alt: rgba(255, 240, 243, 0.6);
    /* Semi-transparent blush */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Layout */
    --container-width: 1500px;
    /* Wider layout per user request */
    --header-height: 80px;

    /* Radius */
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    /* Background handled by floral.js - Base is clean */
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 18px;
    /* Boosted Base Size */
    line-height: 1.7;
    /* Increased for readability */
    -webkit-font-smoothing: antialiased;
    animation: fadeIn 1s ease-out;
    min-height: 100vh;
    position: relative;
    /* For background container */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    /* Increased weight */
    color: var(--text-main);
    letter-spacing: -0.02em;
    /* Tighter for display feel */
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 20px rgba(225, 29, 72, 0.2);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Value Bundle Chip */
.value-bundle-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #dcfce7;
    color: #166534;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.value-bundle-chip-block {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #dcfce7;
    color: #166534;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    width: fit-content;
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
        /* Scale down for mobile */
    }

    .hero-content h1 {
        font-size: 3rem !important;
    }

    /* Performance Optimizations for Mobile */
    .bg-alt,
    #category-showcase.bg-alt,
    .cart-overlay,
    .feature-icon,
    .product-image-wrapper {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        /* Fallback to solid/semi-transparent colors */
    }

    .bg-alt {
        background: rgba(255, 246, 248, 0.95);
    }

    #category-showcase.bg-alt {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Section Divider - Solid, Thick & Consistent */
.section-divider {
    width: 90%;
    max-width: var(--container-width);
    height: 3px;
    /* Thick */
    background: rgba(0, 0, 0, 0.1);
    /* Solid, consistent grey - no gradient fade */
    margin: 6rem auto;
    opacity: 1;
}

.section-divider.full-width {
    width: 100%;
    max-width: 100%;
}


/* Category Showcase Overrides */
/* 1. Ethereal Background */
#category-showcase.bg-alt {
    /* Soft, dreamlike mesh gradient - Reduced intensity */
    background:
        radial-gradient(circle at 10% 20%, rgba(253, 164, 180, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 218, 193, 0.10) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 240, 245, 0.2) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 80px rgba(100, 50, 70, 0.05);
}

/* 2. Disable Link Shift */
#category-showcase .invitation-link:hover {
    transform: none;
    /* Don't shift left */
}

.section {
    padding: var(--spacing-lg) 0;
    position: relative;
    /* For visual anchors */
    z-index: 2;
    /* Ensure content sits above floral background */
}

/* Alternate Background Section (Floating Glass Container) */
.bg-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 246, 248, 0.85) 100%);
    /* Very subtle pink whisper */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* Distinct Border & Outline */
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.04),
        /* Deep ambient shadow */
        0 1px 3px rgba(0, 0, 0, 0.05);
    /* Crisp edge */
}

/* Editorial Grid System */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 900px) {
    .editorial-grid {
        grid-template-columns: 1fr 1.5fr;
        /* Asymmetric split */
        gap: 6rem;
    }
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(253, 164, 180, 0.12);
    border-color: rgba(253, 164, 180, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fef3f5 0%, #fce7eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-hover);
    border: 2px solid rgba(253, 164, 180, 0.2);
}

@media (max-width: 768px) {
    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }
}

/* Editorial Text Layout */
.editorial-text {
    max-width: 650px;
    margin-left: 0;
    /* Left align enforcement */
    margin-right: auto;
}

.editorial-text p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Visual Anchor (Subtle Gradient Blob) */
.visual-anchor {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 164, 175, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

/* Primary Button - Soft Pink Glow */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background-color: var(--text-main);
    color: white;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncier/Smoother */
    box-shadow: 0 4px 10px rgba(51, 65, 85, 0.15);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05) translateY(-2px);
    /* Slight scale up */
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.25);
    /* Softer, larger shadow */
    /* Reduced Glow */
    color: white !important;
    /* Fix: Ensure text remains white */
}

.btn-outline {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.9rem 2.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-hover) !important;
    /* Fix: Override the white text from .btn:hover */
    background-color: white;
    box-shadow: 0 5px 15px rgba(253, 164, 180, 0.2);
    transform: translateY(-2px);
}

/* Product Grid & Cards - Ethereal Float */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    /* Mobile/Tablet: Auto fit */
    gap: 2.5rem;
    margin-top: 2rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Desktop: Strictly 3 columns */
    }
}

.product-card {
    display: block;
    background: #ffffff;
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Subtle lift */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(253, 164, 175, 0.15);
    /* Pink glow on hover */
    border-color: var(--accent-pink);
}

.product-image-wrapper {
    background-color: #FFF5F5;
    /* Very subtle pink bg for images */
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    position: relative;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.04);
}

.logo-link:hover {
    transform: scale(1.05);
}

.product-info h3 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.product-card:hover .product-info h3 {
    color: var(--accent-hover);
}

.product-price {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
}

.product-price-original {
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Product Details Page */
.product-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .product-details {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Invitation Link (Freshly Curated Footer) */
.invitation-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Anchor for absolute arrow */
    font-size: 1.3rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Smooth shift */
    cursor: pointer;
    padding-right: 0;
    /* No initial padding */
}

.invitation-link:hover {
    color: var(--text-main);
    transform: translateX(-12px);
    /* Shift left to re-center visual mass */
}

/* Arrow Animation */
.invitation-link::after {
    content: '→';
    position: absolute;
    right: -24px;
    /* Position outside the text width */
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-family: var(--font-body);
}

.invitation-link:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Product Details Page Styles (Existing) */
.pd-image {
    background-color: white;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.pd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-info h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.pd-price {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}

.price-discounted {
    color: var(--accent-hover);
    font-weight: 500;
}

.pd-description {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 450px;
    line-height: 1.8;
}

.pd-description ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.pd-description li {
    margin-bottom: 0.3rem;
    list-style-type: disc;
}

.product-option-group {
    margin-bottom: 2rem;
}

.product-option-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-option-select {
    padding: 1rem;
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.product-option-select:hover,
.product-option-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-pink);
    outline: none;
}

.add-to-cart-btn {
    width: 100%;
    max-width: 100%;
    background-color: var(--text-main);
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(51, 65, 85, 0.2);
}

.add-to-cart-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 29, 72, 0.3);
}

/* Related Products */
.related-products {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

/* Checkout Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    margin-left: 0.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-pink);
}

@media (min-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1.5fr 1fr !important;
    }
}

/* Search Overlay State */
#search-overlay.open {
    display: grid !important;
}

#global-search {
    border-bottom-width: 2px !important;
    border-color: var(--border-color) !important;
}

#global-search:focus {
    border-color: var(--accent-primary) !important;
}

/* Mobile Polish */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    header .container {
        padding: 0 1.2rem;
    }

    .desktop-link {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem !important;
    }
}

/* Cart Drawer */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(51, 65, 85, 0.2);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: flex-end;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-overlay.open {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease-out;
}

.cart-drawer {
    width: 100%;
    max-width: 450px;
    background: white;
    height: 100%;
    padding: 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
}

.cart-overlay.open .cart-drawer {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    font-size: 1.8rem;
    font-weight: 500;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex: 1;
}


/* Category Showcase - Floating Circles */
/* Category Visuals Container */
.category-visuals {
    pointer-events: none;
    /* Ignore hover on empty space */
}

.category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    text-align: center;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Smoother, slower easement */
    backdrop-filter: blur(2px);
    cursor: pointer;
    pointer-events: auto;
    /* Enable hover on circles */
}

/* Focus Hover Effect */
/* 1. When container is hovered (which only happens when a child is hovered due to bubbling), blur/dim ALL circles */
.category-visuals:hover .category-circle {
    filter: blur(2px) grayscale(0.2);
    /* Reduced blur */
    opacity: 0.6;
    /* Slightly less dim */
    transform: scale(0.95);
}

/* 2. Then, for the SPECIFIC hovered circle, restore and enhance */
.category-visuals .category-circle:hover {
    filter: saturate(1.8) brightness(1.05);
    /* Make color vibrant/pop */
    opacity: 1;
    transform: scale(1.15) !important;
    /* Override JS parallax and shrink */
    background: inherit;
    /* Keep original color */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    /* Stronger lift */
    z-index: 20;
    backdrop-filter: none;
    /* Clear frost on the active one for clarity */
}

.cat-label {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
    opacity: 0.7;
    /* Default transparency */
    transition: opacity 0.3s ease;
    font-size: 1rem;
    pointer-events: none;
    /* Let clicks pass to circle */
}

.category-circle:hover .cat-label {
    opacity: 1;
    /* Clearer text on hover */
    font-weight: 600;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {

    /* Stack Category Visuals vertically */
    .category-visuals {
        height: auto !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        /* Increased spacing */
        margin-top: 2rem;
        /* Re-enable pointer events for mobile scrolling/touch */
        pointer-events: auto;
    }

    .category-circle {
        position: relative !important;
        /* Override absolute */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        /* Remove translateX centering etc */
        width: 50vw !important;
        /* Unified mobile size */
        height: 50vw !important;
        margin: 0;
        /* Ensure specific opacity for readability on mobile */
        opacity: 1 !important;
        filter: saturate(1.8) brightness(1.05) !important;
        /* Force "Active/Hover" look */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    /* Target the subtext span specifically for reddish color */
    .category-circle span:not(.cat-label) {
        color: var(--accent-hover) !important;
        font-weight: 500 !important;
        opacity: 1 !important;
    }

    .cat-label {
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        /* Bold like hover */
        opacity: 1 !important;
        color: var(--text-main) !important;
    }

    /* Disable the complex Blur/Hover effects on Mobile */
    .category-visuals:hover .category-circle {
        filter: none !important;
        opacity: 0.9 !important;
        transform: none !important;
    }

    .category-visuals .category-circle:hover {
        filter: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Modal / Popup System */
#fiora-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(51, 65, 85, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#fiora-modal-backdrop.open {
    display: flex;
    opacity: 1;
}

.fiora-modal {
    background: white;
    width: 90%;
    max-width: 480px;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: scale(0.95) translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

#fiora-modal-backdrop.open .fiora-modal {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.modal-icon.success {
    background: #ecfdf5;
    color: #10b981;
}

.modal-icon.error {
    background: #fef2f2;
    color: #ef4444;
}

.modal-icon.info {
    background: #eff6ff;
    color: #3b82f6;
}

.fiora-modal h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.fiora-modal p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-btn {
    width: 100%;
}

/* Shipping Progress Bar */
.shipping-progress-container {
    margin-bottom: 2rem;
    padding: 1rem 1rem 2rem 1rem;
    /* Added extra bottom padding */
    background: var(--bg-alt);
    border-radius: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.shipping-info-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    font-family: monospace;
    transition: all 0.2s;
}

.shipping-info-icon:hover {
    background: var(--text-muted);
    color: white;
}

.shipping-info-tooltip {
    position: absolute;
    top: 40px;
    left: 10px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    width: 250px;
    font-size: 0.9rem;
    color: var(--text-main);
    display: none;
    text-align: left;
}

.shipping-info-tooltip.visible {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.shipping-info-tooltip p {
    margin-bottom: 0.4rem;
}

.shipping-progress-text {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    text-align: center;
    padding: 0 30px;
    /* Space for Info Icon */
    line-height: 1.4;
}

.shipping-progress-track {
    height: 8px;
    /* Slightly Thinner */
    background: #e2e8f0;
    border-radius: 10px;
    position: relative;
    margin: 1rem 30px 3rem 30px;
    /* Constrain width so labels don't overflow */
}

.shipping-progress-fill {
    height: 100%;
    background: #10b981;
    /* Green Success */
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
}

.shipping-tier-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    z-index: 2;
}

.shipping-tier-marker.active {
    border-color: var(--accent-hover);
    background: var(--accent-pink);
}

.shipping-tier-label {
    position: absolute;
    top: 15px;
    /* Below the track */
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Enhanced Shipping Progress */
.shipping-tier-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    /* Centered on the point */
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #cbd5e1;
    color: #cbd5e1;
    border-radius: 8px;
    /* Shield/Rounded square look like image */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s;
}

.shipping-tier-marker.completed {
    border-color: #10b981;
    background: #10b981;
    color: white;
}

/* Labels below markers */
.shipping-tier-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    text-align: center;
    font-size: 0.7rem;
    color: #9ca3af;
    /* Default: Gray/Muted */
    font-weight: 400;
    line-height: 1.2;
    transition: color 0.3s;
}

.shipping-tier-marker.completed .shipping-tier-label {
    color: #10b981;
    /* Bright Green: Match marker/bar */
    font-weight: 500;
}

.shipping-tier-label.start {
    left: 0;
    transform: translateX(-15%);
    /* Slight nudge to align with marker center visually */
    text-align: left;
}

.shipping-tier-label.end {
    left: auto;
    right: 0;
    transform: translateX(15%);
    /* Slight nudge */
    text-align: right;
}

@keyframes shippingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.2);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(225, 29, 72, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.shipping-tier-label {
    position: absolute;
    top: 30px;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
    opacity: 0.7;
}

.shipping-tier-marker.target .shipping-tier-label {
    color: var(--accent-hover);
    font-weight: 700;
    opacity: 1;
    font-size: 0.85rem;
}

.shipping-tier-marker.completed .shipping-tier-label {
    color: var(--accent-hover);
    opacity: 0.8;
}


/* Hero Section Overrides */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

/* Global Mobile Spacing Override */
@media (max-width: 768px) {

    /* Reduce base section padding globally */
    .section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .hero {
        padding-top: 3rem;
        /* Reduced padding for mobile */
        padding-bottom: 1.5rem !important;
        /* Tighter bottom */
    }

    .section-divider {
        margin: 1.5rem auto !important;
        /* Aggressively reduce from 3rem/6rem */
    }

    .curated-section {
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
    }

    /* Tighter grids */
    .product-grid {
        gap: 1.5rem !important;
        margin-top: 1rem !important;
    }
}

/* Curated Section Desktop Defaults (matched previous inline) */

/* Shop Loader (Restored) */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--accent-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 3rem auto;
    display: block;
    /* Ensure it takes space */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fix for active filter button hover state */
.btn-outline.active:hover {
    background-color: var(--text-main) !important;
    color: white !important;
    border-color: transparent;
}


/* Override Shipping Progress colors to Green */
.shipping-tier-marker.target .shipping-tier-label {
    color: #10b981 !important;
    opacity: 1 !important;
}

.shipping-tier-marker.completed .shipping-tier-label {
    color: #10b981 !important;
    opacity: 1 !important;
}

/* --- New Features Styles --- */

/* Promo Section */
.promo-section {
    background: linear-gradient(135deg, #fff0f3 0%, #fff5f7 100%);
    border: 1px solid rgba(253, 164, 180, 0.3);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(253, 164, 175, 0.05);
}

.promo-tag {
    display: inline-block;
    background: var(--accent-hover);
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* How to Order Steps */
.order-steps-container {
    padding: 4rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 3rem;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 1rem;
    z-index: 2;
}

.step-number {
    width: 48px;
    height: 48px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--accent-pink);
    color: var(--accent-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
    position: relative;
    z-index: 2;
}

/* Connecting Line (Desktop) */
@media (min-width: 900px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 34px;
        /* Center with circle */
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent-pink) 50%, transparent);
        z-index: 1;
        opacity: 0.6;
    }
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.step-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* FAQ Accordion */
.faq-section {
    margin-bottom: 6rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0.5rem;
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-hover);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    line-height: 1.7;
    padding: 0 0.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Safe upper limit */
    padding-bottom: 1.5rem;
}

.faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-hover);
}

/* Product Carousel */
.pd-image {
    position: relative;
    /* Ensure buttons are relative to this */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    /* Hide by default, show on hover */
}

.pd-image:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: white;
    color: var(--accent-hover);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

/* Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--text-main);
    transform: scale(1.2);
}

/* Review Card Styles */
.review-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}



/* Loader */
.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid var(--primary-color);
    width: 30px;
    height: 30px;
    -webkit-animation: spin 1s linear infinite;
    /* Safari */
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Promo Collage Background */
.collage-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.collage-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    /* Increased base opacity for edges */
    filter: grayscale(0.1) blur(3px);
    /* Less dull, slightly less blur */
    transition: transform 10s ease-in-out;
    transform: scale(1.05);

    /* Radial Fade: Transparent center (0.15 opacity equivalent), Opaque edges */
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 1) 85%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 1) 85%);
}

/* Subtle Zoom effect on hover */
.promo-section:hover .collage-bg-img {
    transform: scale(1.05);
}

/* Mobile Responsiveness Updates */
@media (max-width: 768px) {

    /* 1. Wider Container */
    .container {
        width: 95% !important;
        padding: 0 10px !important;
    }

    /* Reduce padding on the white card itself to give more room to content */
    .curated-showcase {
        padding: 2rem 1rem !important;
        border-radius: 16px !important;
    }

    /* 2. Promo Section Responsiveness */
    .promo-section {
        padding: 2.5rem 1rem !important;
        margin-bottom: 3rem !important;
    }

    .promo-section h2 {
        font-size: 1.8rem !important;
    }

    .promo-section p {
        font-size: 1rem !important;
    }

    /* Ensure collage fits well */
    .collage-bg-img {
        opacity: 0.4;
        /* Slightly higher opacity on mobile since screen is smaller */
        -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 10%, rgba(0, 0, 0, 1) 90%);
        mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 10%, rgba(0, 0, 0, 1) 90%);
    }
}

/* Value Bundles Section */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.bundle-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 45% 1fr;
    grid-template-rows: 1fr auto;
    min-height: 320px;
}

.bundle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(253, 164, 175, 0.15);
    border-color: var(--accent-pink);
}

.bundle-image {
    background-color: #FFF5F5;
    overflow: hidden;
    position: relative;
    grid-row: 1 / 3;
    grid-column: 1;
}

.bundle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 0;
    /* Let container handle shape via overflow:hidden */
}

.bundle-card:hover .bundle-image img {
    transform: scale(1.04);
}

.bundle-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    grid-row: 1 / 2;
    grid-column: 2;
}

.bundle-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.bundle-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-hover);
    margin-bottom: 1.5rem;
}

.bundle-price .original-price {
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.bundle-includes {
    margin-bottom: 1.5rem;
}

.bundle-includes span {
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bundle-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bundle-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    margin: 0rem auto;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Promo Collage Background */
.collage-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.collage-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    /* Increased base opacity for edges */
    filter: grayscale(0.1) blur(3px);
    /* Less dull, slightly less blur */
    transition: transform 10s ease-in-out;
    transform: scale(1.05);

    /* Radial Fade: Transparent center (0.15 opacity equivalent), Opaque edges */
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 1) 85%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 1) 85%);
}

/* Subtle Zoom effect on hover */
.promo-section:hover .collage-bg-img {
    transform: scale(1.05);
}

/* Mobile Responsiveness Updates */
@media (max-width: 768px) {

    /* 1. Wider Container */
    .container {
        width: 95% !important;
        padding: 0 10px !important;
    }

    /* Reduce padding on the white card itself to give more room to content */
    .curated-showcase {
        padding: 2rem 1rem !important;
        border-radius: 16px !important;
    }

    /* 2. Promo Section Responsiveness */
    .promo-section {
        padding: 2.5rem 1rem !important;
        margin-bottom: 3rem !important;
    }

    .promo-section h2 {
        font-size: 1.8rem !important;
    }

    .promo-section p {
        font-size: 1rem !important;
    }

    /* Ensure collage fits well */
    .collage-bg-img {
        opacity: 0.4;
        /* Slightly higher opacity on mobile since screen is smaller */
        -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 10%, rgba(0, 0, 0, 1) 90%);
        mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 10%, rgba(0, 0, 0, 1) 90%);
    }
}

/* Value Bundles Section */
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.bundle-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 45% 1fr;
    grid-template-rows: 1fr auto;
    min-height: 320px;
}

.bundle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(253, 164, 175, 0.15);
    border-color: var(--accent-pink);
}

.bundle-image {
    background-color: #FFF5F5;
    overflow: hidden;
    position: relative;
    grid-row: 1 / 3;
    grid-column: 1;
}

.bundle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bundle-card:hover .bundle-image img {
    transform: scale(1.04);
}

.bundle-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    grid-row: 1 / 2;
    grid-column: 2;
}

.bundle-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.bundle-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-hover);
    margin-bottom: 1.5rem;
}

.bundle-price .original-price {
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.bundle-includes {
    margin-bottom: 1.5rem;
}

.bundle-includes span {
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bundle-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bundle-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 1rem;
}

.bundle-includes li:before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--accent-hover);
    font-weight: bold;
}

.bundle-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* Mobile responsiveness for bundles */
@media (max-width: 968px) {
    .bundle-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Stack bundle cards vertically on mobile */
    .bundle-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
    }

    .bundle-image {
        grid-row: 1;
        grid-column: 1;
        aspect-ratio: 3 / 2;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        /* Explicit top rounding */
    }

    .bundle-info {
        grid-row: 2;
        grid-column: 1;
        padding: 1.5rem;
    }

    .bundle-info h3 {
        font-size: 1.3rem;
    }

    .bundle-price {
        font-size: 1.2rem;
    }
}

/* Spacing Refinements */
.bundle-includes li {
    padding: 0.25rem 0;
    /* Reduced from 0.5rem */
    padding-left: 1.5rem;
}

/* Mobile-specific spacing adjustments */
@media (max-width: 768px) {


    /* Increase spacing between promo section and value bundles */
    .promo-section {
        margin-bottom: 4rem !important;
    }

    /* Add top padding to 'One intention' section */
    #category-showcase {
        padding-top: 3rem !important;
    }

    /* Add spacing around 'Why Fiora exists' section */
    .section.editorial-section {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    /* Reduce brightness of "starting just" text by 20% */
    .category-circle span[style*="opacity: 0.8"] {
        opacity: 0.64 !important;
    }

    /* Reduce Why Fiora content width by 10% on mobile - UPDATED to 95% for text */
    .editorial-text {
        max-width: 95% !important;
        margin: 0 auto;
        /* Ensure centered if width < 100% */
    }

    /* Reduce editorial-grid width by 15% (so 85% width) */
    .editorial-grid {
        width: 85% !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce section heading sizes by 10% on mobile */
    h2[style*="font-size: 3rem"] {
        font-size: 2.7rem !important;
    }

    /* Reduce Made with care section card grid width by 10% */
    .section.bg-alt div[style*="grid-template-columns"] {
        padding-left: 5%;
        padding-right: 5%;
    }

    /* Hero section mobile adjustments: Center container only, max 500px */
    .hero-text {
        width: 90%;
        max-width: 500px !important;
        margin: 0 auto;
    }

    /* Center align Why Fiora section on mobile */
    .section.editorial-section .editorial-grid>div:first-child {
        text-align: center;
    }

    .section.editorial-section .editorial-grid>div:first-child div[style*="width: 80px"] {
        margin-left: auto;
        margin-right: auto;
    }

    .section.editorial-section .editorial-text p {
        text-align: center;
    }

    .section.editorial-section .editorial-text div[style*="display: flex"] {
        justify-content: center;
    }

    /* Keep quote left-aligned */
    .section.editorial-section .editorial-text div[style*="display: flex"] p {
        text-align: left;
    }

    /* Reduce How to Order container width to 90% on mobile */
    #how-to-order .container {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce Footer inner div width to 90% on mobile */
    #footer-container>footer>div {
        width: 90% !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce product page main container width to 90% on mobile */
    .product-page main>div {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: auto;
        margin-right: auto;
    }

    /* Reduce container widths for support, legal, and other pages on mobile */
    .support-legal-page .container,
    .support-legal-page .upload-container,
    .support-legal-page .profile-container {
        width: 90% !important;
        max-width: 90% !important;
        padding-left: 0;
        padding-right: 0;
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- Customer Reviews Scrolling Banner --- */
.reviews-marquee-container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 3rem 0;
    /* Soft fade edges using mask-image */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Animation definition */
    animation: scrollLeft 80s linear infinite;
}

/* Pause scroll on hover */
.reviews-marquee-container:hover .reviews-marquee-track {
    animation-play-state: paused;
}

.review-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 400px;
    /* Fixed width so cards don't crunch */
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    white-space: normal;
    /* Allow text wrapping inside card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(253, 164, 180, 0.15);
    /* Fiora pink glow */
    border-color: rgba(253, 164, 180, 0.3);
}

.review-stars {
    color: #FBBF24;
    /* Warm gold */
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    /* Ellipsis for super long text */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-author {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-verified {
    font-size: 0.8rem;
    color: #10B981;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes floatEffect {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes pulseSkeleton {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.4;
    }
}

.skeleton-text {
    background: #e2e8f0;
    border-radius: 4px;
    height: 14px;
    display: inline-block;
    animation: pulseSkeleton 1.5s ease-in-out infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }

    /* -50% of the duplicated track width minus half the gap */
}

@media (max-width: 768px) {
    .review-card {
        width: 300px;
        padding: 1.8rem;
        min-height: 180px;
    }

    .reviews-marquee-track {
        animation-duration: 60s;
        /* slightly faster on mobile */
    }
}