/* Core Brand Variables */
:root {
    --bg-primary-blue: #7bb5c4;
    --bg-soft-yellow: #fdf5c9;
    --btn-accent-pink: #d86c82;
    --text-dark: #2c3e50;
}

body {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    background-color: #fafafa;
    overflow-x: hidden;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-script {
    font-family: 'Caveat', cursive;
    color: var(--btn-accent-pink);
    font-size: 3.5rem;
    line-height: 0.8;
    transform: rotate(-3deg);
    display: inline-block;
}

/* Custom Button */
.btn-accent {
    background-color: var(--btn-accent-pink);
    color: white;
    border: none;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #c45b70;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(216, 108, 130, 0.3);
}

/* Floating Header & Overlapping Logo Magic */
#mainNav {
    transition: all 0.4s ease;
    background-color: transparent;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.logo-overlap-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 1050;
    transition: all 0.4s ease;
}

/* Initial Large Logo State */
.logo-overlap-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    object-fit: cover;
    background-color: white;
}

/* Scrolled Small Logo State */
.navbar-scrolled .logo-overlap-container {
    top: 5px;
}

.navbar-scrolled .logo-overlap-img {
    width: 70px;
    height: 70px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Enhanced Navbar Links & Animated Underline */
.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 4px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* The Center-Expanding Underline */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--btn-accent-pink);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--btn-accent-pink) !important;
}

.nav-link:hover::after {
    width: 80%;
    /* Expands to 80% of the word width for a chic look */
}

/* Icon Hover states */
.nav-icon-link {
    transition: transform 0.2s ease, color 0.2s ease;
    color: var(--text-dark);
}

.nav-icon-link:hover {
    color: var(--btn-accent-pink);
    transform: translateY(-2px);
}

/* Hero Section with Blob Mask */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(123, 181, 196, 0.1) 0%, rgba(253, 245, 201, 0.3) 100%);
    padding-top: 80px;
}

/* CSS Animated Organic Blob Shape */
.blob-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.blob-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphBlob 8s ease-in-out infinite;
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes morphBlob {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Scalloped Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(1px);
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: #fafafa;
}

/* Transitional Marquee Divider */
.marquee-wrapper {
    position: relative;
    /* Swap this with 'Background.jpg' when you integrate the assets */
    background: url('Background.jpg') center/cover repeat;
    background-color: var(--bg-soft-yellow);
    /* Fallback */
    padding: 1rem 0;
    border-top: 2px solid var(--bg-primary-blue);
    border-bottom: 2px solid var(--bg-primary-blue);
}

.marquee-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.marquee-content {
    position: relative;
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    z-index: 1;
}

.marquee-text {
    animation: scrollMarquee 25s linear infinite;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding-right: 50px;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Interactive Product Carousel */
.carousel-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2rem;
    padding: 2rem 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Playful Product Grid Cards */
.product-card-playful {
    background: white;
    border: 3px solid transparent;
    border-radius: 2rem;
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensures cards stretch equally in the grid */
}

.product-card-playful img {
    border-radius: 1.5rem;
    object-fit: cover;
    height: 300px;
    width: 100%;
}

.product-card-playful:hover {
    border-color: var(--btn-accent-pink);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(216, 108, 130, 0.15);
}

.product-card-playful:hover .card-title {
    color: var(--btn-accent-pink);
}

/* Footer */
.footer-organic {
    background-color: var(--bg-soft-yellow);
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
}

/* Footer Link Hover Effect */
.hover-accent {
    transition: color 0.3s ease;
}

.hover-accent:hover {
    color: var(--btn-accent-pink) !important;
}

/* Social Icons */
.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--btn-accent-pink);
    color: white;
    transform: translateY(-3px);
}

/* Arch-Shaped Category Cards */
.category-arch-card {
    display: block;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.category-arch-img-wrapper {
    position: relative;
    padding: 12px;
    /* Creates the chic Arch shape */
    border-radius: 10rem 10rem 1.5rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1.25rem;
}

.category-arch-img-wrapper img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    /* Inner image arch */
    border-radius: 9rem 9rem 1rem 1rem;
    transition: transform 0.5s ease;
}

/* Alternating Pastel Backgrounds for the arches */
.bg-arch-1 {
    background: linear-gradient(to bottom, #fdf5c9 0%, #ffffff 100%);
}

/* Soft Yellow */
.bg-arch-2 {
    background: linear-gradient(to bottom, #ffe4e8 0%, #ffffff 100%);
}

/* Soft Pink */
.bg-arch-3 {
    background: linear-gradient(to bottom, #e0f0f5 0%, #ffffff 100%);
}

/* Soft Blue */
.bg-arch-4 {
    background: linear-gradient(to bottom, #f3e8ff 0%, #ffffff 100%);
}

/* Soft Lavender */

/* Hover Interactions */
.category-arch-card:hover .category-arch-img-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(216, 108, 130, 0.15);
    /* Glows with your pink accent */
}

.category-arch-card:hover img {
    transform: scale(1.03);
}

.category-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.category-arch-card:hover .category-title {
    color: var(--btn-accent-pink);
}

/* Fancy Image Wrapper & Hover Animations */
.product-img-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card-playful:hover img {
    transform: scale(1.08);
    /* Slow, premium zoom effect */
}

/* Right-Side Action Icons (Wishlist & Zoom) */
.product-actions-right {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    /* Start off-screen to the right */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn:hover {
    color: var(--btn-accent-pink);
    /* When hovered directly, pop up slightly instead of translating X */
    transform: scale(1.1) !important;
}

/* Staggered slide-in animation for icons */
.product-card-playful:hover .action-btn:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.05s;
}

.product-card-playful:hover .action-btn:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

/* Bottom 'View Detail' Button */
.view-detail-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 85%;
    transform: translate(-50%, 40px);
    /* Start hidden below */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 2;
}

.view-detail-btn:hover {
    background-color: var(--btn-accent-pink);
    color: white !important;
}

.product-card-playful:hover .view-detail-btn {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0.15s;
}

/* Optional: Very subtle overlay to ensure buttons pop */
.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card-playful:hover .img-overlay {
    opacity: 1;
}


/* CSS Pulse Animation */
@keyframes gentlePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 12px 25px rgba(216, 108, 130, 0.2);
    }

    /* Adds the pink accent glow */
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
}

/* Add this line to your existing .logo-overlap-img rule */
.logo-overlap-img {
    /* Your existing styles... */
    animation: gentlePulse 3s ease-in-out infinite;
}

/* Preloader Overlay (Semi-Transparent with Blur) */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Your soft yellow (#fdf5c9) converted to RGBA at 75% opacity */
    background-color: rgba(253, 245, 201, 0.75);

    /* Adds a chic frosted glass blur to the website behind the duck */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* For Safari support */

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    /* Highest priority */
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Video Sizing */
.preloader-video {
    width: 120px;
    /* Adjust based on your webm's native resolution */
    height: auto;
    pointer-events: none;
    /* Prevents users from pausing it */
}

/* Class added via JS when page is fully loaded */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* =========================================
MOBILE RESPONSIVE TWEAKS 
========================================= */
@media (max-width: 991px) {

    /* Force the logo back into the normal document flow */
    .logo-overlap-container {
        position: static !important;
        transform: none !important;
    }

    /* Size it to fit perfectly within the navbar height */
    .logo-overlap-img {
        width: 50px !important;
        height: 50px !important;
        box-shadow: none !important;
        /* Flattens it out for a cleaner mobile look */
    }

    /* Keep the navbar itself padded nicely */
    #mainNav {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    /* Style the mobile dropdown menu */
    #navbarCollapse {
        background-color: rgba(255, 255, 255, 0.98);
        border-radius: 1rem;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}


/* Summer Sale Section */
.bg-summer-sale {
    /* Creates a soft gradient moving from light pink to your brand yellow */
    background: linear-gradient(135deg, #ffe4e8 0%, var(--bg-soft-yellow) 100%);
    position: relative;
}

.sale-badge {
    background-color: var(--btn-accent-pink);
    color: white;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-block;
}

/* Faux Countdown Timer Styles */
.sale-timer {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timer-box {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
}

.timer-num {
    display: block;
    font-size: 1.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.timer-label {
    display: block;
    font-size: 0.75rem;
    color: var(--btn-accent-pink);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* Custom Carousel Styles for Summer Sale */
#summerSaleCarousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#summerSaleCarousel .carousel-inner,
#summerSaleCarousel .carousel-item {
    height: 100%;
}

#summerSaleCarousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Boutique Arrow Buttons */
.custom-carousel-btn {
    width: 45px;
    height: 45px;
    background-color: var(--btn-accent-pink);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    margin: 0 15px;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.custom-carousel-btn:hover {
    opacity: 1;
    background-color: #c45b70;
    transform: translateY(-50%) scale(1.05);
}

/* Make the default Bootstrap icons a bit smaller to fit the circle */
.custom-carousel-btn .carousel-control-prev-icon,
.custom-carousel-btn .carousel-control-next-icon {
    width: 1.2rem;
    height: 1.2rem;
}

/* Summer Sale Carousel Image Wrapper & Hover */
.sale-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    /* Matches the inner frame */
}

.sale-carousel-wrapper img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sale-carousel-wrapper:hover img {
    transform: scale(1.05);
    /* Premium slow zoom on hover */
}

/* Activate the existing View Detail Button & Overlay on carousel hover */
.sale-carousel-wrapper:hover .img-overlay {
    opacity: 1;
}

.sale-carousel-wrapper:hover .view-detail-btn {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0.1s;
}

/* Frosted Glass Price Badge */
.sale-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.sale-price-badge .discount-tag {
    background-color: var(--btn-accent-pink);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.sale-price-badge .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 6px;
}

.sale-price-badge .new-price {
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
}



/* =========================================
   PRODUCT DETAIL PAGE STYLES
   ========================================= */

/* Breadcrumbs */
.breadcrumb-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.breadcrumb-link:hover {
    color: var(--btn-accent-pink);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Image Gallery - Fixed Container Updates */
.main-img-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8f9fa;
    /* Light background in case an image isn't wide enough */

    /* Locks the container size so the page never jumps */
    aspect-ratio: 3 / 4;
    width: 100%;

    /* Centers the image perfectly */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Forces any image to fill the fixed box without distortion */
    transition: transform 0.4s ease;
}

.main-product-img:hover {
    transform: scale(1.05);
    cursor: zoom-in;
}

.thumbnail-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.thumbnail-img:hover {
    opacity: 0.8;
}

.thumbnail-img.active {
    opacity: 1;
    border-color: var(--btn-accent-pink);
    box-shadow: 0 4px 10px rgba(216, 108, 130, 0.2);
}

/* Size Selector Radio Buttons */
.size-selector input[type="radio"] {
    display: none;
}

.size-selector label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1.5px solid #eaeaea;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.size-selector label:hover {
    border-color: var(--bg-primary-blue);
}

.size-selector input[type="radio"]:checked+label {
    background-color: var(--bg-primary-blue);
    color: white;
    border-color: var(--bg-primary-blue);
    box-shadow: 0 4px 10px rgba(123, 181, 196, 0.3);
}

/* Quantity Selector */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #eaeaea;
    border-radius: 2rem;
    overflow: hidden;
    height: 50px;
    background: white;
}

.qty-btn {
    background: transparent;
    border: none;
    padding: 0 15px;
    font-weight: bold;
    color: var(--text-dark);
    transition: background 0.2s;
    height: 100%;
}

.qty-btn:hover {
    background: #f8f9fa;
    color: var(--btn-accent-pink);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
    pointer-events: none;
    background: transparent;
}

/* Pulse Indicator for Urgency */
.pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--btn-accent-pink);
    margin-right: 8px;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 108, 130, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(216, 108, 130, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(216, 108, 130, 0);
    }
}

/* Trust Badges */
.trust-badge-icon {
    width: 45px;
    height: 45px;
    background-color: var(--bg-soft-yellow);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    transition: transform 0.3s ease;
}

.trust-badge-col:hover .trust-badge-icon {
    transform: translateY(-5px);
    background-color: var(--bg-primary-blue);
    color: white;
}

/* =========================================
   BOUTIQUE ACCORDIONS & DUCK ANIMATIONS
   ========================================= */

.boutique-accordion .accordion-item {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem !important;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.3s ease;
}

.boutique-accordion .accordion-item:hover {
    box-shadow: 0 8px 25px rgba(216, 108, 130, 0.08);
    border-color: rgba(216, 108, 130, 0.2);
}

.boutique-accordion .accordion-button {
    border-radius: 1.5rem !important;
    padding: 1.25rem 1.5rem;
    font-size: 1.15rem;
    color: var(--text-dark);
    background-color: transparent !important;
}

.boutique-accordion .accordion-button:not(.collapsed) {
    color: var(--btn-accent-pink);
    background-color: #fff9fa !important;
    /* Extremely soft pink background when open */
    box-shadow: none;
    border-bottom: 1px dashed rgba(216, 108, 130, 0.3);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Custom Pink Chevron for the Accordion Arrow */
.boutique-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d86c82'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.boutique-accordion .accordion-body {
    padding: 1.5rem;
    position: relative;
}

/* --- Duck Animation 1: The Waddle Trail (Details Tab) --- */
.waddle-trail {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding-left: 10px;
}

.waddle-trail span {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(10px);
}

/* Trigger animation only when the parent collapse is 'show' */
.accordion-collapse.show .waddle-trail span:nth-child(1) {
    animation: duckWaddle 0.4s forwards 0.3s;
}

.accordion-collapse.show .waddle-trail span:nth-child(2) {
    animation: duckWaddle 0.4s forwards 0.6s;
    margin-top: -10px;
}

.accordion-collapse.show .waddle-trail span:nth-child(3) {
    animation: duckWaddle 0.4s forwards 0.9s;
}

.accordion-collapse.show .waddle-trail span:nth-child(4) {
    animation: duckWaddle 0.4s forwards 1.2s;
    margin-top: -10px;
}

@keyframes duckWaddle {
    to {
        opacity: 0.5;
        transform: translateY(0);
    }
}

/* --- Duck Animation 2: Glowing Guardian (Care Tab) --- */
.care-duck-icon {
    font-size: 2.5rem;
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
}

.accordion-collapse.show .care-duck-icon {
    animation: duckPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.2s;
}

@keyframes duckPop {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* --- Duck Animation 3: The Delivery Slide (Shipping Tab) --- */
/* .delivery-track {
    position: relative;
    height: 40px;
    margin-top: 1.5rem;
    border-bottom: 2px dashed #eaeaea;
    overflow: hidden;
}
.delivery-duck {
    position: absolute;
    bottom: -5px;
    left: -50px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
} */
/* .accordion-collapse.show .delivery-duck {
    animation: waddleDeliver 4s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.4s;
}
@keyframes waddleDeliver {
    0% { left: -50px; transform: rotate(-5deg); }
    20% { transform: rotate(5deg); }
    40% { transform: rotate(-5deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
    100% { left: 100%; transform: rotate(0deg); }
} */

/* Gift Toggle Customization */
.form-check-input:checked {
    background-color: var(--btn-accent-pink);
    border-color: var(--btn-accent-pink);
}


/* =========================================
   PRODUCT LISTING PAGE (PLP) STYLES
   ========================================= */

/* Filter Sidebar Sticky Behavior */
@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 100px;
        /* Keeps it under the navbar */
        height: calc(100vh - 120px);
        overflow-y: auto;
        /* Hide scrollbar for a cleaner look */
        scrollbar-width: none;
    }

    .sidebar-sticky::-webkit-scrollbar {
        display: none;
    }
}

/* Category Links */
.category-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.category-link:hover,
.category-link.active {
    color: var(--btn-accent-pink);
    padding-left: 8px;
}

/* Custom Color Swatches */
.color-swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    box-shadow: 0 0 0 2px var(--btn-accent-pink);
    transform: scale(1.1);
}

/* Custom Checkboxes */
.custom-checkbox .form-check-input:checked {
    background-color: var(--bg-primary-blue);
    border-color: var(--bg-primary-blue);
}

/* Active Filter Chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    background-color: #fff9fa;
    border: 1px solid rgba(216, 108, 130, 0.3);
    color: var(--btn-accent-pink);
    padding: 4px 12px;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    gap: 8px;
}

.filter-chip button {
    background: transparent;
    border: none;
    color: var(--btn-accent-pink);
    padding: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Empty State Duck Animation */
.empty-state-container {
    display: none;
    /* Hidden by default */
    text-align: center;
    padding: 4rem 0;
}

.detective-duck {
    font-size: 5rem;
    display: inline-block;
    animation: duckSearch 3s infinite ease-in-out;
}

@keyframes duckSearch {
    0% {
        transform: translateX(0) scaleX(1);
    }

    40% {
        transform: translateX(-30px) scaleX(1);
    }

    50% {
        transform: translateX(-30px) scaleX(-1);
    }

    /* Flips to look the other way */
    90% {
        transform: translateX(30px) scaleX(-1);
    }

    100% {
        transform: translateX(0) scaleX(1);
    }
}

/* Fix Size Selector for Checkboxes */
.size-selector input[type="radio"],
.size-selector input[type="checkbox"] {
    display: none;
}

.size-selector input[type="radio"]:checked+label,
.size-selector input[type="checkbox"]:checked+label {
    background-color: var(--bg-primary-blue);
    color: white;
    border-color: var(--bg-primary-blue);
    box-shadow: 0 4px 10px rgba(123, 181, 196, 0.3);
}

/* Beautiful Custom Checkbox List for Categories/Collections */
.filter-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-check-list li {
    margin-bottom: 0.75rem;
}
.filter-check-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}
.filter-check-list label:hover {
    color: var(--btn-accent-pink);
}
.filter-check-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #eaeaea;
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: white;
}
.filter-check-list input[type="checkbox"]:checked {
    background-color: var(--btn-accent-pink);
    border-color: var(--btn-accent-pink);
}
.filter-check-list input[type="checkbox"]:checked::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* =========================================
   CART & MINI-CART STYLES
   ========================================= */

/* Mini-Cart Offcanvas Adjustments */
.cart-offcanvas {
    width: 400px !important;
    max-width: 100vw;
    border-left: none;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 1rem;
    background-color: #f8f9fa;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}
.cart-item-title:hover {
    color: var(--btn-accent-pink);
}

.remove-item-btn {
    background: transparent;
    border: none;
    color: #999;
    font-size: 0.85rem;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s ease;
}
.remove-item-btn:hover {
    color: var(--btn-accent-pink);
}

/* Full Cart Page Styles */
.cart-summary-card {
    background-color: #fff9fa;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(216, 108, 130, 0.15);
    position: sticky;
    top: 100px;
}

.promo-input {
    border-radius: 2rem;
    padding-left: 1.5rem;
    border: 1.5px solid #eaeaea;
    box-shadow: none !important;
}
.promo-input:focus {
    border-color: var(--btn-accent-pink);
}

/* Empty Cart Duck Animation Sizing */
.empty-cart-anim {
    width: 250px;
    height: auto;
    margin: 0 auto;
    pointer-events: none;
}