/* 
  SAEI Premium Organic Baby Clothing - Core Design System 
  Palette: Soft Baby Pink & Dusty Rose Theme (Phase 1.3)
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Premium Pastel Palette */
    --color-primary: #F8DDE6;
    /* Soft Baby Pink */
    --color-primary-light: #FFF0F5;
    /* Very Soft Pink */
    --color-button: #D97B9A;
    /* Dusty Rose for CTAs */
    --color-button-hover: #C66887;
    /* Darker Dusty Rose */

    --color-sage: #C8D8C0;
    /* Soft Sage Green Accent */
    --color-sage-light: #E8F0E4;
    /* Very Light Sage */

    --color-cream: #FFF9F8;
    /* Warm Cream Background */
    --color-white: #FFFFFF;
    /* Pure White */
    --color-dark: #2F3E2B;
    /* Dark Sage Green for Text and Footer */
    --color-muted: #798C71;
    /* Soft Sage Gray for Subtext */

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);

    /* Typographic Tokens */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Poppins', sans-serif;

    /* Styling Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 100px;

    /* Shadows */
    --shadow-sm: 0 4px 14px rgba(217, 123, 154, 0.08);
    --shadow-md: 0 8px 24px rgba(217, 123, 154, 0.12);
    --shadow-lg: 0 16px 40px rgba(217, 123, 154, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
    color: var(--color-muted);
}

a {
    color: var(--color-button);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-button-hover);
}

/* ============================================================
   GLOBAL UTILITIES & BUTTONS
   ============================================================ */
.serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-button);
}

.text-muted {
    color: var(--color-muted) !important;
}

.btn-shop-now {
    background: var(--color-button);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 12px 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(217, 123, 154, 0.3);
}

.btn-shop-now:hover {
    background: var(--color-button-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 123, 154, 0.4);
}

.btn-outline-sage {
    background: transparent;
    color: var(--color-sage-dark);
    border: 1px solid var(--color-sage);
    border-radius: var(--radius-pill);
    padding: 12px 28px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-outline-sage:hover {
    background: var(--color-sage-light);
    color: var(--color-dark);
}

/* ============================================================
   NAVBAR (GLASSMORPHISM)
   ============================================================ */
.navbar-saei {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
    transition: var(--transition-smooth);
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.navbar-saei .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark) !important;
    padding: 8px 20px !important;
    transition: var(--transition-fast);
}

.navbar-saei .nav-link:hover {
    color: var(--color-button) !important;
}

/* ============================================================
   MEGA MENU STYLES
   ============================================================ */
.dropdown-mega {
    position: static !important;
    /* Required for full-width dropdown */
}

.mega-menu {
    width: 90%;
    left: 5%;
    right: 5%;
    margin-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-top: none;
    box-shadow: 0 10px 30px rgba(217, 123, 154, 0.15) !important;
}

@media (min-width: 992px) {
    .dropdown-mega:hover .mega-menu {
        display: block;
        animation: fadeIn 0.3s ease-out;
    }
}

.mega-menu-title {
    font-family: var(--font-heading);
    color: var(--color-dark);
    border-bottom: 2px solid var(--color-pink-soft);
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-weight: 700;
}

.mega-menu-column .dropdown-item {
    padding: 6px 0;
    color: var(--color-dark);
    background: transparent;
    transition: var(--transition-fast);
    font-family: var(--font-body);
}

.mega-menu-column .dropdown-item:hover {
    color: var(--color-button);
    transform: translateX(5px);
    background: transparent;
}

.nav-link-sale {
    transition: transform 0.2s;
}

.nav-link-sale:hover {
    transform: scale(1.05);
}

.logo-mask {
    height: 90px;
    width: 230px;
    background-color: var(--color-button);
    -webkit-mask-image: url('../images/logo.png');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center left;
    mask-image: url('../images/logo.png');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center left;
    transition: var(--transition-fast);
}

.logo-mask:hover {
    background-color: var(--color-button-hover);
}

.nav-icon-btn {
    position: relative;
    color: var(--color-dark);
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.nav-icon-btn:hover {
    background: var(--color-primary-light);
    color: var(--color-button);
}

.badge-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--color-button);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: linear-gradient(90deg, #8B9E7B 0%, #6B7D5C 100%);
    color: var(--color-white);
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-pink {
    min-height: 80vh;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    display: flex;
    align-items: center;
}



.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-text-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(217, 123, 154, 0.06);
    text-align: inherit;
    display: inline-block;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-pink-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-pink-title .serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
    color: #FFFFFF;
    display: inline-block;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-pink-subtitle {
    font-size: 1.05rem;
    color: #666666;
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-organic-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(217, 123, 154, 0.2);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-button);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-organic-tag i {
    margin-right: 8px;
    color: var(--color-button);
}

/* Floating Elements */
.floating-cloud {
    position: absolute;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
    color: var(--color-primary);
    font-size: 3rem;
    width: 1em;
    height: 1em;
}

.cloud-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
    font-size: 1.5rem;
}

.cloud-2 {
    top: 40%;
    left: 5%;
    animation-delay: -2s;
    font-size: 1.2rem;
}

.cloud-3 {
    bottom: 20%;
    right: 25%;
    animation-delay: -4s;
    font-size: 1.8rem;
}

.floating-star {
    position: absolute;
    color: #FFD700;
    opacity: 0.4;
    animation: twinkle 4s ease-in-out infinite;
}

.star-1 {
    top: 25%;
    left: 20%;
    animation-delay: 0s;
}

.star-2 {
    top: 10%;
    right: 30%;
    animation-delay: -1s;
}

.star-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: -2s;
}

.floating-leaf {
    position: absolute;
    color: var(--color-sage);
    opacity: 0.5;
    animation: float-leaf 10s ease-in-out infinite;
}

.leaf-1 {
    top: 50%;
    right: 5%;
    animation-delay: 0s;
}

.leaf-2 {
    bottom: 10%;
    left: 20%;
    animation-delay: -3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-leaf {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(15deg);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Double layered frames */
.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    background: var(--color-white);
    padding: 8px;
    box-shadow: 0 15px 35px rgba(217, 123, 154, 0.18);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.hero-img-wrapper:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 20px 45px rgba(217, 123, 154, 0.25);
}

.hero-img-wrapper img,
.hero-img-wrapper video {
    border-radius: calc(var(--radius-xl) - 8px);
    width: 100%;
    display: block;
}

/* Floating labels on hero image */
.hero-float-label {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(217, 123, 154, 0.25);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-dark);
    box-shadow: 0 8px 24px rgba(217, 123, 154, 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.label-1 {
    top: -15px;
    right: -10px;
    animation: float 6s ease-in-out infinite;
}

.label-2 {
    bottom: 25px;
    left: -20px;
    animation: float 7s ease-in-out infinite reverse;
}

.label-3 {
    top: 50%;
    right: -25px;
    animation: float 8s ease-in-out infinite 1s;
}

/* ============================================================
   ORGANIC PROMISE (TRUST BADGES)
   ============================================================ */
.organic-promise-section {
    padding: 80px 0;
    background: var(--color-white);
}

.promise-card {
    text-align: center;
    padding: 20px;
    transition: var(--transition-fast);
}

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

.promise-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-cream) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: var(--color-button);
    box-shadow: var(--shadow-sm);
}

.promise-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ============================================================
   SHOP BY AGE (CIRCULAR CARDS)
   ============================================================ */
.shop-by-age-section {
    padding: 80px 0;
    background: var(--color-cream);
}

.age-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.age-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    border: 4px solid var(--color-white);
}

.age-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.age-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.age-subtitle {
    font-size: 0.85rem;
    color: var(--color-muted);
    background: var(--color-white);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   CATEGORIES (ROUNDED CARDS)
   ============================================================ */
.categories-section {
    padding: 80px 0;
    background: var(--color-white);
}

.category-card {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--color-pink-soft);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(58, 53, 55, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.category-overlay-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.category-overlay-title i {
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-fast);
}

.category-card:hover .category-overlay-title i {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   BEST SELLERS (PRODUCT CARDS)
   ============================================================ */
.best-sellers-section {
    padding: 80px 0;
    background: var(--color-cream);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    position: relative;
    will-change: box-shadow;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-white);
    color: var(--color-button);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.product-wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-white);
    color: var(--color-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.product-wishlist:hover {
    color: var(--color-button);
    transform: scale(1.1);
}

.product-img-wrapper {
    position: relative;
    padding-top: 120%;
    /* Aspect ratio */
    overflow: hidden;
    background: var(--color-primary-light);
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.product-info {
    padding: 24px;
    text-align: center;
}

.product-rating {
    color: #FFC107;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.product-rating span {
    color: var(--color-muted);
    margin-left: 4px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-dark);
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

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

.product-price {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1.1rem;
}

/* ============================================================
   WHY MOMS LOVE SAEI
   ============================================================ */
.why-moms-love-section {
    padding: 80px 0;
    background: var(--color-primary-light);
}

.stat-card {
    background: var(--color-white);
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-button);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-weight: 500;
    color: var(--color-dark);
    font-size: 1.1rem;
}

/* ============================================================
   FEATURED COLLECTIONS
   ============================================================ */
.featured-collections-section {
    padding: 80px 0;
    background: var(--color-cream);
}

.collection-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-content {
    position: absolute;
    inset: 0;
    background: rgba(58, 53, 55, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.collection-content h3 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* ============================================================
   HAPPY PARENTS REVIEWS
   ============================================================ */
.reviews-section {
    padding: 80px 0;
    background: var(--color-white);
}

.review-card {
    background: var(--color-cream);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.review-quote {
    color: var(--color-button);
    font-size: 2rem;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 40px;
}

.review-stars {
    color: #FFC107;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    font-weight: 600;
    color: var(--color-button);
}

/* ============================================================
   INSTAGRAM GALLERY
   ============================================================ */
.instagram-section {
    padding: 20px 0 80px;
    background: var(--color-white);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.insta-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(217, 123, 154, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition-fast);
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

@media (max-width: 991px) {
    .insta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-button) 0%, #B85F7D 100%);
    color: var(--color-white);
}

.newsletter-title {
    color: var(--color-white);
    font-size: 2.5rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex-grow: 1;
    border: none;
    padding: 16px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
}

.newsletter-input:focus {
    outline: none;
}

.btn-newsletter {
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
    padding: 0 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-newsletter:hover {
    background: #000;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-saei {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.footer-brand-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-button);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-button);
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   ADVANCED SHOP FILTERS & UI
   ============================================================ */

/* Top Search Bar */
.shop-search-bar {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}

.shop-search-bar input {
    width: 100%;
    padding: 16px 50px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(217, 123, 154, 0.3);
    box-shadow: var(--shadow-sm);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.shop-search-bar input:focus {
    outline: none;
    border-color: var(--color-button);
    box-shadow: 0 0 0 4px rgba(217, 123, 154, 0.1);
}

.shop-search-bar .fa-search {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-muted);
}

.shop-search-bar .fa-microphone {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-button);
    cursor: pointer;
}

/* Top Chips / Quick Filters */
.top-chips-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 24px;
    scrollbar-width: none;
    /* Firefox */
}

.top-chips-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.top-chip {
    padding: 8px 16px;
    background: var(--color-white);
    border: 1px solid rgba(217, 123, 154, 0.2);
    border-radius: var(--radius-pill);
    color: var(--color-dark);
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition-fast);
}

.top-chip:hover,
.top-chip.active {
    background: var(--color-primary);
    border-color: var(--color-button);
    color: var(--color-button-hover);
}

/* Sidebar Custom Filters */
.filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-group-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

/* Pastel Chips (Replacing Checkboxes) */
.pastel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pastel-chip-label {
    cursor: pointer;
}

.pastel-chip-label input {
    display: none;
}

.pastel-chip-text {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--color-muted);
    transition: var(--transition-fast);
}

.pastel-chip-label input:checked+.pastel-chip-text {
    background: var(--color-primary-light);
    border-color: var(--color-button);
    color: var(--color-button);
    font-weight: 500;
}

/* Color Circles */
.color-circles {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.color-circle-label {
    cursor: pointer;
}

.color-circle-label input {
    display: none;
}

.color-circle {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.color-circle-label input:checked+.color-circle {
    transform: scale(1.1);
    border-color: var(--color-dark);
    box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-button);
}

/* Milestone Cards (Age) */
.milestone-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.milestone-label {
    cursor: pointer;
}

.milestone-label input {
    display: none;
}

.milestone-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--color-white);
    border: 1px dashed rgba(217, 123, 154, 0.4);
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--color-muted);
    text-align: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.milestone-label input:checked+.milestone-card {
    background: var(--color-sage-light);
    border-color: var(--color-sage);
    color: var(--color-sage-dark);
    border-style: solid;
}

/* Product Card Enhancements */
.product-card {
    position: relative;
}

.product-image-container {
    position: relative;
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    z-index: 10;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: color 0.2s ease, transform 0.2s ease;
    /* Completely isolated from the overflow:hidden card */
}

.wishlist-btn:hover {
    color: #e25555;
    transform: scale(1.15);
}

.wishlist-btn.active {
    color: #e25555;
    background: rgba(255, 255, 255, 0.98);
    transform: scale(1.1);
}

.quick-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-dark);
    opacity: 0;
    z-index: 2;
    transition: var(--transition-smooth);
}

.product-card:hover .quick-view-btn {
    opacity: 1;
}

.quick-view-btn:hover {
    background: var(--color-white);
    color: var(--color-button);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.badge-organic {
    background: var(--color-sage);
    color: var(--color-white);
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.badge-age {
    background: var(--color-primary);
    color: var(--color-button-hover);
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

/* Mobile Bottom Sheet Filter */
@media (max-width: 991.98px) {
    .filter-sidebar {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        height: 80vh;
        background: var(--color-white);
        z-index: 1060;
        border-radius: 24px 24px 0 0;
        padding: 24px;
        overflow-y: auto;
        transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .filter-sidebar.active {
        bottom: 0;
    }

    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1059;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .filter-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* <--- Added missing closing brace for media query */

/* ============================================================
   MAGICAL FILTER TREE
   ============================================================ */

/* Toggle Switch */
.filter-toggle-wrapper {
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(217, 123, 154, 0.1);
}

.magical-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.magical-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e4e4e4;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #8BC34A;
    /* Green when ON */
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Category Nav Chips */
.category-chips::-webkit-scrollbar {
    display: none;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #fff0f5 100%);
    border: 2px solid rgba(217, 123, 154, 0.2);
    border-radius: 50px;
    padding: 8px 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    white-space: nowrap;
    text-align: left;
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(217, 123, 154, 0.08);
}

.category-chip:hover {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ec 100%);
    border-color: rgba(217, 123, 154, 0.5);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 25px rgba(217, 123, 154, 0.25);
}

.category-chip.active {
    background: linear-gradient(135deg, #D97B9A 0%, #c46282 100%);
    border-color: #c46282;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(217, 123, 154, 0.35);
    transform: translateY(-2px);
}

.category-chip i {
    font-size: 1.4rem;
    color: #D97B9A;
    transition: all 0.3s ease;
}

.category-chip:hover i {
    transform: scale(1.15) rotate(8deg);
}

.category-chip.active i {
    color: #ffffff;
}

.category-chip span {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.category-chip.active span {
    color: #ffffff;
}

.category-chip small {
    font-size: 0.7rem;
    font-weight: 500;
    color: #888;
}

/* Filter Status Pill */
.filter-status-pill {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #EE889A;
    color: #FFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 30px;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(238, 136, 154, 0.4);
    transition: all 0.4s ease;
}

.magical-tree-container.is-active .filter-status-pill {
    background: #EE889A;
    /* Keeps the same pink color as mockup */
}

/* Tree Container */
.magical-tree-container {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto 2rem auto;
    position: relative;
    transition: all 0.5s ease;
}

.magical-backdrop {
    display: none;
}

.magical-tree-inner {
    position: relative;
    width: 600px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
    z-index: 2;
}

.tree-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.5s ease;
}

/* Animations ON State */
.magical-tree-container.is-active .tree-img {
    animation: gentleShake 0.5s ease-in-out;
    filter: brightness(0.95);
}

@keyframes gentleShake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-1deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Fruits Layer */
.fruit-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.magical-tree-container.is-active .fruit-layer {
    pointer-events: auto;
}

.fruit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

.magical-tree-container.is-active .fruit-item {
    animation: fruitAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    pointer-events: auto;
}

@keyframes fruitAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fruit-body {
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 12;
    transform-origin: 50% -24px;
    /* Sway from the branch connection point! */
}

/* Continuous swinging animation for active tree */
.magical-tree-container.is-active .fruit-body {
    animation: fruitSwing 4s infinite ease-in-out alternate;
}

@keyframes fruitSwing {
    0% {
        transform: rotate(-4deg);
    }

    100% {
        transform: rotate(4deg);
    }
}

/* Fruit Item Stem connection to branches, sways with body */
.fruit-body::before {
    display: none;
}

.svg-fruit {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fruit-body:hover .svg-fruit {
    transform: scale(1.15) rotate(5deg);
}

.active-filter-chip {
    background: var(--color-white);
    padding: 6px 14px 6px 8px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    box-shadow: 0 4px 12px rgba(217, 123, 154, 0.15);
    animation: fadeIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    cursor: pointer;
    border: 1px solid rgba(217, 123, 154, 0.3);
    transition: all 0.2s;
}

.active-filter-chip:hover {
    background: #ffecf0;
    transform: translateY(-2px);
}

.active-filter-chip .chip-text {
    font-family: var(--font-body);
}

.active-filter-chip .remove-chip {
    margin-left: 6px;
    color: #bbb;
    font-size: 0.8rem;
    transition: 0.2s;
}

.active-filter-chip:hover .remove-chip {
    color: var(--color-button);
}

.fruit-label {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #4a3424;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(217, 123, 154, 0.2);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    font-family: var(--font-body);
}

/* Glowing Softly (when filter is active) */
.fruit-item.is-active .fruit-body {
    animation: gentleGlow 2s infinite ease-in-out;
}

@keyframes gentleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.95));
    }
}

/* Fruit Blossom Flower Layer */
.fruit-blossom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 140px;
    height: 140px;
    pointer-events: none;
    z-index: 100;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fruit-item.is-blossomed .fruit-blossom {
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.fruit-item.is-blossomed .fruit-body {
    transform: scale(0);
    opacity: 0;
}

/* Central Blossom Core */
.blossom-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border: 3px solid #ffccd5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: #4a3424;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 15;
}

/* Blossom Petals */
.blossom-petal,
.blossom-left,
.blossom-right {
    position: absolute;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #fff, #fff0f3);
    border: 2px solid #ffccd5;
    border-radius: 50% 50% 50% 10% / 50% 50% 50% 10%;
    /* petal shape */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: #4a3424;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    z-index: 12;
}

.blossom-petal span,
.blossom-left span,
.blossom-right span {
    font-family: var(--font-body);
    line-height: 1.2;
}

.blossom-petal:hover,
.blossom-left:hover,
.blossom-right:hover {
    background: linear-gradient(135deg, #ffe6e6, #ffb3c6);
    border-color: #ff85a2;
    color: #4a3424;
    transform: scale(1.1);
}

.blossom-petal.selected,
.blossom-left.selected,
.blossom-right.selected {
    background: linear-gradient(135deg, #e8f5e9, #a5d6a7);
    border-color: #81c784;
}

/* Arrange Petals Circularly relative to 140px wrapper */
.petal-top {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.petal-bottom {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.petal-left,
.blossom-left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.petal-right,
.blossom-right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.fruit-body:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), inset 0 -5px 15px rgba(0, 0, 0, 0.05), inset 0 5px 10px rgba(255, 255, 255, 0.9);
}

/* Glowing Selection */
.fruit-item.has-selection .fruit-body {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), inset 0 -4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

/* Petals (Dropdown replacement) */
.fruit-petals {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0);
    transform-origin: top center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: max-content;
    z-index: 11;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(217, 123, 154, 0.2);
}

.fruit-item.is-open .fruit-petals {
    transform: translateX(-50%) translateY(15px) scale(1);
    opacity: 1;
}

.petal-option {
    padding: 8px 16px;
    margin: 4px 0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    transition: background 0.2s;
}

.petal-option:hover {
    background: var(--color-primary-light);
    color: var(--color-button);
}

.petal-option.selected {
    background: var(--color-primary);
    color: var(--color-button-hover);
    font-weight: 600;
}

/* Magical Sparkles */
.magical-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FFF;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #FFD700;
    animation: sparkleFloat 3s infinite ease-in-out;
    opacity: 0;
}

@keyframes sparkleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }

    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }

    100% {
        transform: translateY(-40px) scale(0);
        opacity: 0;
    }
}

.signboard-overlay-text {
    position: absolute;
    left: 15%;
    top: 60%;
    transform: translate(-50%, -50%);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #4a3424;
    font-weight: 700;
    text-align: center;
    width: 20%;
    max-width: 200px;
    z-index: 10;
    padding: 12px;
    line-height: 1.3;
    background: url('https://www.transparenttextures.com/patterns/wood-pattern.png'), #eed8bd;
    border: 3px solid #8b5a2b;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.signboard-overlay-text::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 80px;
    background: #8b5a2b;
    border-radius: 0 0 4px 4px;
    z-index: -1;
    box-shadow: 3px 0 5px rgba(0, 0, 0, 0.1);
}

.top-saei-signboard {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    background: url('https://www.transparenttextures.com/patterns/wood-pattern.png'), #c2996d;
    border: 4px solid #8B5A2B;
    border-radius: 15px;
    padding: 10px 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(139, 90, 43, 0.5);
    z-index: 15;
}

.top-saei-signboard h1 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.top-saei-signboard p {
    font-size: 0.8rem;
    color: #fff;
    margin: 0;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .signboard-overlay-text {
        font-size: 0.75rem;
        top: 80%;
        left: 50%;
        width: 60%;
        max-width: 250px;
    }

    .signboard-overlay-text::after {
        display: none;
    }

    .top-saei-signboard h1 {
        font-size: 1.5rem;
    }
}

/* Shop Sidebar Styling */
.shop-sidebar {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px;
    padding-bottom: 0px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(217, 123, 154, 0.15);
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
}

.shop-sidebar-header {
    flex-shrink: 0;
}

.shop-sidebar-content {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 5px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(217, 123, 154, 0.2) transparent;
}

.shop-sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.shop-sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.shop-sidebar-content::-webkit-scrollbar-thumb {
    background-color: rgba(217, 123, 154, 0.25);
    border-radius: 10px;
}

.shop-sidebar-content::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-button);
}

.shop-sidebar::-webkit-scrollbar {
    width: 6px;
}

.shop-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(217, 123, 154, 0.25);
    border-radius: 10px;
}

.shop-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-button);
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-dark);
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input~.checkmark {
    background-color: #e2e8f0;
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--color-sage);
    border-color: var(--color-sage);
}

.custom-checkbox .checkmark:after {
    content: '';
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Custom Price Inputs Styling */
.price-input-wrapper {
    width: 70px;
}

.price-currency {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.85rem;
    pointer-events: none;
}

.price-input {
    padding-left: 20px !important;
    padding-right: 5px !important;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #ced4da;
    background: transparent;
    color: var(--color-dark);
}

.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.price-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.btn-sage {
    background-color: var(--color-sage);
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-sage:hover {
    background-color: #6b8f71;
    color: #fff;
}

/* Premium Animation Refinements */
.organic-blob {
    position: absolute;
    background: radial-gradient(circle, rgba(248, 221, 230, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 12s ease-in-out infinite alternate;
}

.blob-1 {
    width: 450px;
    height: 450px;
    top: -120px;
    left: -120px;
}

.blob-2 {
    width: 550px;
    height: 550px;
    bottom: -180px;
    right: -120px;
    animation-delay: -6s;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.15) translate(40px, 30px);
        opacity: 0.85;
    }
}

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

.age-card:hover .age-circle {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(217, 123, 154, 0.22) !important;
    border-color: var(--color-button) !important;
}

.category-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(217, 123, 154, 0.18) !important;
}

.category-card img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-card:hover img {
    transform: scale(1.08);
}

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

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(217, 123, 154, 0.14) !important;
}

.product-card .product-img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

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

/* --- NEW PREMIUM LAYOUT STYLES --- */
/* Trust Bar */
.trust-bar-section {
    background-color: #8B9E7B;
    /* Sage green from logo */
    color: white;
    padding: 30px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(47, 124, 86, 0.2);
}

.trust-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1.4rem;
}

/* About Collage Section */
.premium-about-section {
    padding: 100px 0;
    background-color: var(--color-primary-light);
    /* Changed to soft pink */
}

.collage-wrapper {
    position: relative;
    height: 550px;
}

.collage-main {
    position: absolute;
    width: 70%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    top: 0;
    left: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.collage-secondary {
    position: absolute;
    width: 55%;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    bottom: 0;
    right: 0;
    border: 10px solid white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.collage-experience {
    position: absolute;
    top: 40%;
    right: -20px;
    transform: rotate(-90deg);
    transform-origin: right bottom;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    color: var(--color-dark);
}

.collage-experience .exp-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.collage-experience .exp-text {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.premium-section-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.2;
}

.premium-section-title .highlight {
    color: #D97B9A;
    font-style: italic;
}

.premium-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-left: 4px solid #D97B9A;
}

.premium-feature-card .icon-box {
    font-size: 1.8rem;
    color: #D97B9A;
}

.premium-feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.premium-feature-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Top Categories */
.premium-categories-section {
    background-color: #8B9E7B;
    /* Sage green from logo */
    padding: 100px 0 120px;
    color: white;
    position: relative;
    overflow: hidden;
}

.categories-left-title {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.categories-left-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-view-cats {
    background: white;
    color: #8B9E7B;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
}

.btn-view-cats:hover {
    background: var(--color-dark);
    color: white;
}

.categories-huge-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 0.9;
    color: rgba(255, 255, 255, 0.15);
    /* Transparent huge text */
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin: 0;
}

.premium-cat-card {
    display: block;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-dark);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.premium-cat-card:hover {
    transform: translateY(-10px);
    color: var(--color-dark);
}

.cat-img-wrap {
    height: 300px;
    overflow: hidden;
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-cat-card:hover img {
    transform: scale(1.05);
}

.cat-card-body {
    padding: 20px;
    text-align: center;
}

.cat-card-body h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Premium Bestsellers (Fleet style) */
.premium-bestsellers-section {
    padding: 100px 0;
    background-color: var(--color-sage-light);
    /* Changed to soft green */
}

.bestsellers-main-title {
    font-size: 3rem;
    font-family: var(--font-heading);
}

.bestsellers-main-title .highlight {
    color: var(--color-button);
    /* Match the pink theme */
}

.fleet-card {
    display: block;
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fleet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fleet-card:hover .fleet-img {
    transform: scale(1.08);
}

.fleet-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--color-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fleet-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 25px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    z-index: 2;
}

.fleet-rating {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.fleet-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.fleet-price {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    display: flex;
    justify-content: space-between;
    color: white;
}

/* Instagram & Newsletter Pink/Green overrides */
.instagram-section {
    background-color: var(--color-primary-light);
    padding: 80px 0;
}

.newsletter-section {
    background-color: var(--color-button);
    padding: 100px 0;
    color: white;
}

.newsletter-title {
    color: white;
}