/* =============================================================
   MAHIDA — Design System v4 "Warm Linen"
   Women's Homewear & Loungewear Boutique
   ============================================================= */

/* ─── 1. EXTERNAL FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

/* ─── 2. IRANSANS FONT FACES ────────────────────────────────── */
@font-face {
    font-family: IRANSans;
    src: url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-UltraLight-web.woff2') format('woff2'),
         url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-UltraLight-web.woff') format('woff');
    font-weight: 200; font-display: swap;
}
@font-face {
    font-family: IRANSans;
    src: url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-Light-web.woff2') format('woff2'),
         url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-Light-web.woff') format('woff');
    font-weight: 300; font-display: swap;
}
@font-face {
    font-family: IRANSans;
    src: url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-web.woff2') format('woff2'),
         url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-web.woff') format('woff');
    font-weight: 400; font-display: swap;
}
@font-face {
    font-family: IRANSans;
    src: url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-Medium-web.woff2') format('woff2'),
         url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-Medium-web.woff') format('woff');
    font-weight: 500; font-display: swap;
}
@font-face {
    font-family: IRANSans;
    src: url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-Bold-web.woff2') format('woff2'),
         url('/fonts/IRANSans Family Typeface/WebFonts/IRANSans-Bold-web.woff') format('woff');
    font-weight: 700; font-display: swap;
}

/* ─── 3. DESIGN TOKENS ──────────────────────────────────────── */
:root {
    /* ── Color Palette ── */
    --ivory:              #FDFAF5;
    --cream:              #F5EFE6;
    --blush:              #F2D5D0;
    --blush-light:        #FBF2F0;
    --dusty-rose:         #C9968A;
    --mauve:              #A0717B;
    --warm-gray:          #9A9189;
    --warm-gray-light:    #D4CEC8;
    --charcoal:           #2E2925;
    --charcoal-mid:       #4A4540;
    --charcoal-light:     #6B6560;
    --white:              #FFFFFF;
    --gold:               #C4A55A;
    --gold-light:         #F0E6CC;
    --danger-soft:        #c55a5a;
    --border:             #EDE8E0;
    --border-dark:        #D8D0C8;

    /* ── Semantic Aliases ── */
    --bg-page:            var(--ivory);
    --bg-section:         var(--cream);
    --bg-card:            var(--white);
    --text-primary:       var(--charcoal);
    --text-secondary:     var(--charcoal-mid);
    --text-muted:         var(--warm-gray);
    --brand:              var(--dusty-rose);
    --brand-dark:         var(--mauve);

    /* ── Typography ── */
    --font-display:       'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:          IRANSans, Tahoma, Arial, sans-serif;

    /* ── Spacing ── */
    --section-py:         5rem;
    --section-py-sm:      3rem;

    /* ── Shadows ── */
    --shadow-xs:          0 1px 4px rgba(46,41,37,.05);
    --shadow-sm:          0 2px 8px rgba(46,41,37,.07);
    --shadow-md:          0 4px 20px rgba(46,41,37,.10);
    --shadow-lg:          0 8px 40px rgba(46,41,37,.13);
    --shadow-card:        0 2px 12px rgba(201,150,138,.10);
    --shadow-hover:       0 12px 40px rgba(201,150,138,.22);
    --shadow-nav:         0 4px 24px rgba(46,41,37,.09);

    /* ── Border Radius ── */
    --radius-xs:          2px;
    --radius-sm:          4px;
    --radius-md:          8px;
    --radius-lg:          16px;
    --radius-xl:          24px;
    --radius-pill:        50px;

    /* ── Transitions ── */
    --ease-fast:          .15s ease;
    --ease-base:          .25s ease;
    --ease-slow:          .4s ease;

    /* ── Layout ── */
    --navbar-h:           72px;
    --announcement-h:     38px;
}

/* ─── 4. BASE RESET ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-page);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--warm-gray-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--dusty-rose); }

/* ─── 5. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.3;
}
.display-serif {
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
}
.text-muted { color: var(--warm-gray) !important; }
.text-brand { color: var(--dusty-rose) !important; }
.text-gold  { color: var(--gold) !important; }
.text-charcoal { color: var(--charcoal) !important; }

/* ─── 6. ANNOUNCEMENT BAR ───────────────────────────────────── */
.announcement-bar {
    background: var(--charcoal);
    color: rgba(255,255,255,.85);
    text-align: center;
    font-size: .78rem;
    font-weight: 500;
    padding: .55rem 1rem;
    letter-spacing: .03em;
    line-height: 1.4;
}
.announcement-bar a {
    color: var(--blush);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ─── 7. NAVBAR ─────────────────────────────────────────────── */
.site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--blush);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow var(--ease-base), border-color var(--ease-base);
    will-change: box-shadow;
}
.site-nav.is-scrolled {
    border-bottom-color: transparent;
    box-shadow: var(--shadow-nav);
}
.site-nav__inner {
    display: flex;
    align-items: center;
    height: var(--navbar-h);
    gap: 1rem;
}

/* Brand */
.site-nav__brand {
    display: flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    flex-shrink: 0;
}
.site-nav__brand-logo {
    height: 38px;
    width: 38px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 50%;
    transition: transform var(--ease-base);
}
.site-nav__brand:hover .site-nav__brand-logo {
    transform: scale(1.05);
}
.site-nav__brand-name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: .01em;
    line-height: 1;
}

/* Main nav links */
.site-nav__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: .1rem;
    flex: 1;
}
.site-nav__links li a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--charcoal-mid);
    text-decoration: none;
    padding: .45rem .8rem;
    border-radius: var(--radius-pill);
    transition: color var(--ease-fast), background var(--ease-fast);
    white-space: nowrap;
    display: block;
}
.site-nav__links li a:hover,
.site-nav__links li a.is-active {
    color: var(--dusty-rose);
    background: var(--blush-light);
}
.site-nav__links li a.is-active {
    font-weight: 600;
}

/* Actions cluster */
.site-nav__actions {
    display: flex;
    align-items: center;
    gap: .15rem;
    margin-right: auto;
}
.site-nav__icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--charcoal-mid);
    font-size: 1.15rem;
    cursor: pointer;
    text-decoration: none;
    transition: color var(--ease-fast), background var(--ease-fast);
    -webkit-tap-highlight-color: transparent;
}
.site-nav__icon-btn:hover {
    color: var(--dusty-rose);
    background: var(--blush-light);
}
.site-nav__icon-btn.has-badge::after {
    content: attr(data-count);
    position: absolute;
    top: 5px;
    left: 6px;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    background: var(--dusty-rose);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: .6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: badgePop .3s ease;
}
.site-nav__toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--charcoal);
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: background var(--ease-fast);
    -webkit-tap-highlight-color: transparent;
}
.site-nav__toggler:hover { background: var(--blush-light); }

/* Dropdown user */
.site-nav__user-avatar {
    width: 32px;
    height: 32px;
    background: var(--blush);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    color: var(--mauve);
    border: 2px solid var(--border);
}
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    font-size: .875rem;
    background: var(--white);
}
.dropdown-item {
    border-radius: var(--radius-md);
    padding: .6rem .9rem;
    color: var(--charcoal-mid);
    transition: background var(--ease-fast), color var(--ease-fast);
    display: flex;
    align-items: center;
    gap: .6rem;
}
.dropdown-item:hover { background: var(--blush-light); color: var(--charcoal); }
.dropdown-item i { color: var(--dusty-rose); font-size: .95rem; }
.dropdown-divider { border-color: var(--border); margin: .3rem 0; }

/* ─── 8. SEARCH BAR (SLIDE-DOWN) ────────────────────────────── */
.site-search-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: .85rem 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
}
.site-search-bar.is-open {
    max-height: 90px;
    opacity: 1;
}
.site-search-bar .container { display: flex; align-items: center; gap: .75rem; }
.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    padding: .5rem 1.25rem;
    gap: .75rem;
    transition: border-color var(--ease-fast), background var(--ease-fast);
}
.search-input-group:focus-within {
    border-color: var(--dusty-rose);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,150,138,.12);
}
.search-input-group i { color: var(--warm-gray); font-size: 1rem; flex-shrink: 0; }
.search-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--charcoal);
    outline: none;
    direction: rtl;
}
.search-input-group input::placeholder { color: var(--warm-gray); }
.search-input-group button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--dusty-rose);
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: color var(--ease-fast);
}
.search-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--warm-gray);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--ease-fast), background var(--ease-fast);
    flex-shrink: 0;
}
.search-close-btn:hover { color: var(--charcoal); background: var(--cream); }

/* ─── 9. MOBILE NAV OFFCANVAS ───────────────────────────────── */
.offcanvas-nav {
    --bs-offcanvas-width: 300px;
    --bs-offcanvas-bg: var(--white);
    border-left: 1px solid var(--border);
}
.offcanvas-nav .offcanvas-header {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
}
.offcanvas-nav .offcanvas-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal);
}
.offcanvas-nav .btn-close { opacity: .5; }
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 1rem 0;
}
.mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1.5rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--charcoal);
    text-decoration: none;
    border-bottom: 1px solid var(--cream);
    transition: color var(--ease-fast), background var(--ease-fast);
}
.mobile-nav-list li a:hover { color: var(--dusty-rose); background: var(--blush-light); }
.mobile-nav-list li a i { font-size: 1.05rem; color: var(--dusty-rose); width: 20px; }
.mobile-nav-divider {
    height: 1px;
    background: var(--border);
    margin: .5rem 1.5rem;
}
.mobile-nav-auth {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

/* ─── 10. ALERT / FLASH MESSAGES ────────────────────────────── */
.flash-container { position: fixed; top: calc(var(--navbar-h) + .75rem); left: 1rem; right: 1rem; z-index: 1050; pointer-events: none; }
.flash-alert {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid;
    font-size: .9rem;
    font-weight: 500;
    pointer-events: all;
    box-shadow: var(--shadow-md);
    animation: alertSlideIn .3s ease;
    backdrop-filter: blur(8px);
}
.flash-alert i { font-size: 1.1rem; flex-shrink: 0; }
.flash-alert .btn-close { margin-right: auto; opacity: .6; }
.flash-alert.alert-success {
    background: rgba(245,250,246,.95);
    border-color: rgba(100,180,120,.3);
    color: #2a6e40;
}
.flash-alert.alert-success i { color: #3fa05c; }
.flash-alert.alert-danger {
    background: rgba(253,247,247,.95);
    border-color: rgba(200,100,100,.3);
    color: #8a2a2a;
}
.flash-alert.alert-danger i { color: var(--danger-soft); }
.flash-alert.alert-warning {
    background: rgba(255,252,240,.95);
    border-color: rgba(220,180,60,.3);
    color: #7a5a10;
}

/* Inline page alerts */
.alert {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: .9rem 1.2rem;
    font-size: .9rem;
}
.alert-success { background: #f0faf4; border-color: rgba(100,180,120,.3); color: #2a6e40; }
.alert-danger  { background: #fdf5f5; border-color: rgba(200,100,100,.3); color: #8a2a2a; }
.alert-warning { background: #fffbf0; border-color: rgba(220,180,60,.3);  color: #7a5a10; }
.alert-info    { background: var(--blush-light); border-color: var(--blush); color: var(--mauve); }

/* ─── 11. BREADCRUMB ────────────────────────────────────────── */
.breadcrumb-wrap {
    padding: .6rem 0;
    margin-bottom: 1.5rem;
}
.breadcrumb {
    margin: 0;
    font-size: .8rem;
}
.breadcrumb-item a {
    color: var(--warm-gray);
    text-decoration: none;
    transition: color var(--ease-fast);
}
.breadcrumb-item a:hover { color: var(--dusty-rose); }
.breadcrumb-item.active { color: var(--charcoal-mid); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--warm-gray-light); }

/* ─── 12. SECTION HEADERS ───────────────────────────────────── */
.section-header {
    margin-bottom: 3rem;
}
.section-header--center { text-align: center; }
.section-header--center .section-header__line { margin: 0 auto; }
.section-header__eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dusty-rose);
    margin-bottom: .65rem;
}
.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: .75rem;
    line-height: 1.25;
}
.section-header__title em { font-style: italic; color: var(--dusty-rose); }
.section-header__sub {
    font-size: .95rem;
    color: var(--warm-gray);
    line-height: 1.7;
    max-width: 540px;
}
.section-header--center .section-header__sub { margin: 0 auto; }
.section-header__line {
    width: 44px;
    height: 2px;
    background: linear-gradient(90deg, var(--dusty-rose), var(--blush));
    border-radius: 2px;
    margin-top: .75rem;
}
.section-header__actions { margin-top: 1.5rem; }

/* ─── 13. BUTTONS ───────────────────────────────────────────── */

/* Primary */
.btn-rose,
.btn-mahida {
    background: var(--dusty-rose);
    color: var(--white);
    border: 2px solid var(--dusty-rose);
    border-radius: var(--radius-sm);
    padding: .65rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .03em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background var(--ease-base), border-color var(--ease-base), transform var(--ease-fast), box-shadow var(--ease-base);
    line-height: 1.4;
    white-space: nowrap;
}
.btn-rose:hover,
.btn-mahida:hover {
    background: var(--mauve);
    border-color: var(--mauve);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(160,113,123,.3);
}
.btn-rose:active,
.btn-mahida:active { transform: translateY(0); box-shadow: none; }
.btn-rose.btn-lg { padding: .8rem 2.5rem; font-size: 1rem; }
.btn-rose.btn-sm { padding: .45rem 1.4rem; font-size: .8rem; }

/* Secondary outlined */
.btn-rose-outline,
.btn-outline-mahida {
    background: transparent;
    color: var(--dusty-rose);
    border: 2px solid var(--dusty-rose);
    border-radius: var(--radius-sm);
    padding: .6rem 1.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .03em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: all var(--ease-base);
    white-space: nowrap;
}
.btn-rose-outline:hover,
.btn-outline-mahida:hover {
    background: var(--dusty-rose);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(201,150,138,.3);
}
.btn-rose-outline.btn-sm,
.btn-outline-mahida.btn-sm { padding: .45rem 1.4rem; font-size: .8rem; }

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--charcoal-mid);
    border: none;
    padding: .55rem 1rem;
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: color var(--ease-fast);
    border-bottom: 1px solid transparent;
}
.btn-ghost:hover {
    color: var(--dusty-rose);
    border-bottom-color: var(--dusty-rose);
}

/* Hero buttons */
.btn-hero-primary {
    background: var(--white);
    color: var(--charcoal);
    border: none;
    border-radius: var(--radius-sm);
    padding: .8rem 2.25rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .03em;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all var(--ease-base);
}
.btn-hero-primary:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.55);
    border-radius: var(--radius-sm);
    padding: .75rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all var(--ease-base);
}
.btn-hero-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.12);
    transform: translateY(-1px);
}

/* Icon circle button */
.btn-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--charcoal-mid);
    cursor: pointer;
    transition: all var(--ease-fast);
    text-decoration: none;
}
.btn-icon-circle:hover {
    border-color: var(--dusty-rose);
    color: var(--dusty-rose);
    background: var(--blush-light);
}

/* Bootstrap overrides */
.btn-primary { background: var(--dusty-rose); border-color: var(--dusty-rose); font-family: var(--font-body); }
.btn-primary:hover { background: var(--mauve); border-color: var(--mauve); }
.btn-outline-primary { color: var(--dusty-rose); border-color: var(--dusty-rose); font-family: var(--font-body); }
.btn-outline-primary:hover { background: var(--dusty-rose); border-color: var(--dusty-rose); }
.btn-dark { background: var(--charcoal); border-color: var(--charcoal); font-family: var(--font-body); }
.btn-dark:hover { background: var(--charcoal-mid); border-color: var(--charcoal-mid); }

/* ─── 14. FORMS ─────────────────────────────────────────────── */
.form-control, .form-select {
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--charcoal);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: .6rem .9rem;
    background: var(--white);
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
}
.form-control:focus, .form-select:focus {
    border-color: var(--dusty-rose);
    box-shadow: 0 0 0 3px rgba(201,150,138,.15);
    outline: none;
}
.form-control::placeholder { color: var(--warm-gray); }
.form-label {
    font-weight: 500;
    font-size: .875rem;
    color: var(--charcoal-mid);
    margin-bottom: .35rem;
}
.form-text { font-size: .78rem; color: var(--warm-gray); }
.input-group { gap: 0; }
.input-group .form-control { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.input-group .btn { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.invalid-feedback { font-size: .78rem; }
.form-check-input:checked {
    background-color: var(--dusty-rose);
    border-color: var(--dusty-rose);
}
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(201,150,138,.2); }

/* ─── 15. PRODUCT CARDS ─────────────────────────────────────── */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform var(--ease-base), box-shadow var(--ease-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blush);
}

/* Image area */
.product-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--cream);
    flex-shrink: 0;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
    display: block;
}
.product-card:hover .product-card__img img {
    transform: scale(1.05);
}
.product-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-gray-light);
    font-size: 3rem;
}

/* Wishlist */
.product-card__wish {
    position: absolute;
    top: .7rem;
    right: .7rem;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--warm-gray);
    cursor: pointer;
    transition: color var(--ease-fast), background var(--ease-fast), transform var(--ease-fast);
    z-index: 2;
}
.product-card__wish:hover { color: #e05c6e; transform: scale(1.12); }
.product-card__wish.is-wished { color: #e05c6e; }
.product-card__wish.is-wished i::before { content: "\f415"; } /* bi-heart-fill */

/* Ribbon badge */
.product-card__ribbon {
    position: absolute;
    top: .7rem;
    left: .7rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .25rem .65rem;
    border-radius: var(--radius-pill);
    z-index: 2;
    text-transform: uppercase;
}
.product-card__ribbon--new     { background: var(--dusty-rose); color: var(--white); }
.product-card__ribbon--sale    { background: var(--danger-soft); color: var(--white); }
.product-card__ribbon--hot     { background: var(--gold); color: var(--white); }

/* Quick add CTA (slides from bottom) */
.product-card__cta {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    background: rgba(46,41,37,.88);
    color: var(--white);
    text-align: center;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    padding: .75rem;
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.25,.46,.45,.94);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: none;
    width: 100%;
    cursor: pointer;
}
.product-card:hover .product-card__cta { transform: translateY(0); }

/* Card body */
.product-card__body {
    padding: .875rem .875rem .8rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    flex: 1;
}
.product-card__cat {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dusty-rose);
    text-decoration: none;
    transition: color var(--ease-fast);
}
.product-card__cat:hover { color: var(--mauve); }
.product-card__name {
    font-size: .9rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
    margin: 0;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--ease-fast);
}
.product-card__name:hover { color: var(--dusty-rose); }
.product-card__stars {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    color: var(--gold);
}
.product-card__stars .review-count { color: var(--warm-gray); font-size: .68rem; }
.product-card__price-row {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin-top: auto;
    padding-top: .25rem;
}
.product-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
}
.product-card__price .unit { font-size: .72rem; font-weight: 400; color: var(--warm-gray); }
.product-card__price-old {
    font-size: .78rem;
    color: var(--warm-gray);
    text-decoration: line-through;
}
.product-card__sizes {
    display: flex;
    gap: .25rem;
    flex-wrap: wrap;
    margin-top: .15rem;
}
.sz-pill {
    font-size: .62rem;
    font-weight: 600;
    color: var(--warm-gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    padding: .1rem .35rem;
    cursor: pointer;
    transition: border-color var(--ease-fast), color var(--ease-fast);
}
.sz-pill:hover { border-color: var(--dusty-rose); color: var(--dusty-rose); }

/* Backward compat: old class names used in existing views */
.img-wrap { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--cream); flex-shrink: 0; }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.product-card:hover .img-wrap img { transform: scale(1.05); }
.ribbon {
    position: absolute; top: .7rem; right: .7rem;
    background: var(--dusty-rose); color: var(--white);
    font-size: .65rem; font-weight: 700; padding: .25rem .65rem;
    border-radius: var(--radius-pill); z-index: 2; text-transform: uppercase;
}
.card-overlay {
    position: absolute; bottom: 0; inset-inline: 0;
    background: rgba(46,41,37,.85); padding: .75rem;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--ease-base);
}
.product-card:hover .card-overlay { opacity: 1; }
.cat-name { font-size: .7rem; color: var(--dusty-rose); margin-bottom: .15rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.prod-name { font-size: .9rem; font-weight: 600; color: var(--charcoal); margin-bottom: .25rem; }
.price { font-size: 1rem; font-weight: 700; color: var(--charcoal); }
.price .unit { font-size: .72rem; font-weight: 400; color: var(--warm-gray); }

/* ─── 16. TRUST BAR ─────────────────────────────────────────── */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: .75rem 0;
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.trust-bar__icon {
    width: 40px;
    height: 40px;
    background: var(--blush-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--dusty-rose);
    flex-shrink: 0;
}
.trust-bar__text strong {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.3;
}
.trust-bar__text small {
    font-size: .7rem;
    color: var(--warm-gray);
}

/* ─── 17. HERO SECTION ──────────────────────────────────────── */
.site-hero {
    position: relative;
    width: 100%;
    min-height: min(100svh, 860px);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.site-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    will-change: transform;
    animation: heroZoom 14s ease-out forwards;
}
.site-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(46,41,37,.72) 0%,
        rgba(46,41,37,.28) 45%,
        rgba(46,41,37,.05) 100%
    );
}
.site-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 4.5rem;
    padding-top: 4rem;
}
.site-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-pill);
    padding: .38rem 1.1rem;
    font-size: .75rem;
    font-weight: 500;
    color: rgba(255,255,255,.92);
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
    animation: fadeSlideUp .6s .2s both;
}
.site-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 1rem;
    animation: fadeSlideUp .65s .35s both;
}
.site-hero__title em {
    font-style: italic;
    color: var(--blush);
}
.site-hero__sub {
    font-size: clamp(.9rem, 2vw, 1.1rem);
    color: rgba(255,255,255,.78);
    max-width: 400px;
    line-height: 1.75;
    margin-bottom: 2rem;
    animation: fadeSlideUp .65s .48s both;
}
.site-hero__cta {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    animation: fadeSlideUp .65s .6s both;
}
.site-hero__scroll-hint {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    animation: fadeSlideUp .6s .8s both;
}
.site-hero__scroll-hint i { animation: bounceDown 2s ease-in-out infinite; }

/* ─── 18. COLLECTION GRID ───────────────────────────────────── */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: .85rem;
}
.collection-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--cream);
    cursor: pointer;
}
.collection-grid__item:first-child {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}
.collection-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 200px;
    transition: transform .55s ease;
    display: block;
}
.collection-grid__item:hover img { transform: scale(1.05); }
.collection-grid__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(46,41,37,.65) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}
.collection-grid__label {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
    text-decoration: none;
}
.collection-grid__label small {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    opacity: .8;
    margin-top: .2rem;
}

/* ─── 19. LIFESTYLE BANNER ──────────────────────────────────── */
.lifestyle-banner {
    background: var(--cream);
    overflow: hidden;
    border-radius: var(--radius-xl);
}
.lifestyle-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
    display: block;
}
.lifestyle-banner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem;
    height: 100%;
}
.lifestyle-banner__quote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    font-style: italic;
    color: var(--charcoal);
    line-height: 1.35;
    margin-bottom: 1.25rem;
}
.lifestyle-banner__quote em { color: var(--dusty-rose); font-style: normal; }
.lifestyle-banner__text {
    font-size: .95rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ─── 20. INSTAGRAM GALLERY ─────────────────────────────────── */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .5rem;
}
.insta-grid__item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}
.insta-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    display: block;
}
.insta-grid__overlay {
    position: absolute;
    inset: 0;
    background: rgba(46,41,37,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--ease-base);
}
.insta-grid__item:hover img { transform: scale(1.08); }
.insta-grid__item:hover .insta-grid__overlay { opacity: 1; }
.insta-grid__overlay i { color: var(--white); font-size: 1.6rem; }

/* ─── 20b. ARTICLE CARDS ─────────────────────────────────────── */
.article-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--ease-base), transform var(--ease-base);
}
.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.article-card__img {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--cream);
    flex-shrink: 0;
}
.article-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.article-card:hover .article-card__img img {
    transform: scale(1.05);
}
.article-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--warm-gray);
}
.article-card__tag {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: var(--dusty-rose);
    color: var(--white);
    font-size: .72rem;
    font-weight: 600;
    padding: .25rem .7rem;
    border-radius: var(--radius-pill);
    letter-spacing: .02em;
}
.article-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card__date {
    font-size: .75rem;
    color: var(--warm-gray);
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.article-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: .6rem;
    line-height: 1.5;
}
.article-card__summary {
    font-size: .875rem;
    color: var(--charcoal-mid);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}
.article-card__read {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dusty-rose);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: auto;
    transition: gap var(--ease-fast);
}
.article-card:hover .article-card__read {
    gap: .55rem;
}

/* article-card as <a> — reset link color */
a.article-card, a.article-card:hover { color: inherit; }

/* ─── Article Detail Page ────────────────────────────────────── */
.article-body {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--charcoal-mid);
}
.article-body br { display: block; margin-bottom: .6rem; }

/* ─── Related Article Sidebar Cards ─────────────────────────── */
.related-article-card {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    padding: .85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: box-shadow var(--ease-base), transform var(--ease-base);
    color: inherit;
}
.related-article-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
    color: inherit;
}
.related-article-card__img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--cream);
}
.related-article-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-article-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--warm-gray);
}
.related-article-card__body { flex: 1; min-width: 0; }
.related-article-card__tag {
    font-size: .68rem;
    font-weight: 600;
    color: var(--dusty-rose);
    background: var(--blush-light);
    border-radius: 50px;
    padding: .15rem .55rem;
    display: inline-block;
    margin-bottom: .3rem;
}
.related-article-card__title {
    font-size: .875rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── 21. REVIEW CARDS ──────────────────────────────────────── */
.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow var(--ease-base), transform var(--ease-base);
}
.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.review-card__stars {
    color: var(--gold);
    font-size: .9rem;
    margin-bottom: .9rem;
    display: flex;
    gap: .2rem;
}
.review-card__quote {
    font-size: .9rem;
    font-style: italic;
    color: var(--charcoal-mid);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    position: relative;
    padding-right: 1.25rem;
}
.review-card__quote::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--blush);
    position: absolute;
    right: -0.25rem;
    top: -1rem;
    line-height: 1;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blush);
}
.review-card__avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    font-weight: 700;
    color: var(--mauve);
    flex-shrink: 0;
}
.review-card__name { font-size: .875rem; font-weight: 600; color: var(--charcoal); }
.review-card__date { font-size: .72rem; color: var(--warm-gray); }

/* ─── 22. NEWSLETTER SECTION ────────────────────────────────── */
.newsletter-section {
    background: linear-gradient(135deg, var(--blush) 0%, var(--cream) 60%, var(--gold-light) 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    pointer-events: none;
}
.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(201,150,138,.12);
    pointer-events: none;
}
.newsletter-section__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}
.newsletter-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: .6rem;
}
.newsletter-section__sub {
    font-size: .9rem;
    color: var(--charcoal-light);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-inline: auto;
    line-height: 1.7;
}
.newsletter-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    gap: .5rem;
    position: relative;
    z-index: 1;
}
.newsletter-form .form-control {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
    border-color: rgba(255,255,255,.7);
    border-radius: var(--radius-pill);
    padding: .7rem 1.4rem;
    font-size: .9rem;
}
.newsletter-form .form-control:focus {
    background: var(--white);
    border-color: var(--dusty-rose);
}
.newsletter-form .btn-rose {
    border-radius: var(--radius-pill);
    padding: .7rem 1.75rem;
    flex-shrink: 0;
}

/* ─── 23. CATEGORY PILLS ────────────────────────────────────── */

/* ── Filter Bar ── */
.shop-filter-bar {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: var(--navbar-h);
    z-index: 100;
    padding: .9rem 0;
    backdrop-filter: blur(6px);
}
.shop-filter-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    direction: rtl;
}

/* ── Search ── */
.shop-search-form { flex-shrink: 0; }
.shop-search-group {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--white);
    border: 1.5px solid var(--border-dark);
    border-radius: var(--radius-pill);
    padding: .45rem 1.1rem;
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
    min-width: 210px;
}
.shop-search-group:focus-within {
    border-color: var(--dusty-rose);
    box-shadow: 0 0 0 3px rgba(201,150,138,.13);
}
.shop-search-group i {
    color: var(--dusty-rose);
    font-size: .95rem;
    flex-shrink: 0;
}
.shop-search-group input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--charcoal);
    outline: none;
    direction: rtl;
    min-width: 0;
}
.shop-search-group input::placeholder { color: var(--warm-gray); }
.shop-search-group button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: var(--dusty-rose);
    font-size: .85rem;
    font-weight: 600;
    font-family: var(--font-body);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color var(--ease-fast);
}
.shop-search-group button:hover { color: var(--charcoal); }

/* ── Pills ── */
.category-pills {
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    flex: 1;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    direction: rtl;
}
.category-pills::-webkit-scrollbar { display: none; }
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem 1.2rem;
    background: var(--white);
    border: 1.5px solid var(--border-dark);
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--ease-base);
    color: var(--charcoal-mid);
    font-size: .875rem;
    font-weight: 500;
}
.cat-pill:hover {
    background: var(--blush-light);
    border-color: var(--dusty-rose);
    color: var(--dusty-rose);
}
.cat-pill.active {
    background: var(--blush-light);
    border-color: var(--dusty-rose);
    color: var(--dusty-rose);
    font-weight: 600;
}
.cat-pill i {
    font-size: 1rem;
    color: var(--dusty-rose);
}
.cat-pill img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid var(--border);
    transition: border-color var(--ease-base);
}
.cat-pill:hover img, .cat-pill.active img {
    border-color: var(--dusty-rose);
}

/* ─── 24. CART & CHECKOUT ───────────────────────────────────── */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--cream);
}
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 600; font-size: .95rem; color: var(--charcoal); margin-bottom: .25rem; }
.cart-item__meta { font-size: .8rem; color: var(--warm-gray); }
.cart-item__price { font-weight: 700; color: var(--charcoal); font-size: 1rem; }
.cart-item__remove {
    background: transparent;
    border: none;
    color: var(--warm-gray);
    cursor: pointer;
    font-size: .85rem;
    padding: .25rem;
    transition: color var(--ease-fast);
}
.cart-item__remove:hover { color: var(--danger-soft); }
.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: fit-content;
}
.qty-control button {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--cream);
    color: var(--charcoal-mid);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--ease-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-control button:hover { background: var(--blush); }
.qty-control span {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: .9rem;
}

.cart-summary {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
}
.cart-summary__title { font-weight: 700; margin-bottom: 1.25rem; font-size: 1.05rem; }
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    color: var(--charcoal-mid);
    padding: .45rem 0;
    border-bottom: 1px solid var(--border-dark);
}
.cart-summary__row:last-of-type { border-bottom: none; }
.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    padding-top: .75rem;
    margin-top: .25rem;
    border-top: 2px solid var(--border-dark);
}

/* ─── 25. ORDER PAGES ───────────────────────────────────────── */
.order-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-xs);
}
.order-card__header {
    background: var(--cream);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    justify-content: space-between;
}
.order-card__body { padding: 1.25rem 1.5rem; }
.order-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 600;
    padding: .3rem .8rem;
    border-radius: var(--radius-pill);
    letter-spacing: .03em;
}
.order-status--pending   { background: var(--gold-light); color: #7a5a10; }
.order-status--paid      { background: #e8f5ee; color: #2a6e40; }
.order-status--shipped   { background: #e8f0f8; color: #2a4a7e; }
.order-status--delivered { background: #e8f5ee; color: #2a6e40; }
.order-status--cancelled { background: #fdf5f5; color: #8a2a2a; }

/* ─── 26. ACCOUNT PAGES ─────────────────────────────────────── */
.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.account-sidebar__nav { list-style: none; margin: 0; padding: .5rem; }
.account-sidebar__nav li a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 500;
    color: var(--charcoal-mid);
    text-decoration: none;
    transition: all var(--ease-fast);
}
.account-sidebar__nav li a:hover { background: var(--blush-light); color: var(--dusty-rose); }
.account-sidebar__nav li a.active { background: var(--blush-light); color: var(--dusty-rose); font-weight: 600; }
.account-sidebar__nav li a i { font-size: 1rem; color: var(--dusty-rose); width: 20px; }

/* ─── 27. BADGES & RIBBONS ──────────────────────────────────── */
.badge-rose   { background: var(--dusty-rose); color: var(--white); border-radius: var(--radius-pill); padding: .25rem .65rem; font-size: .72rem; font-weight: 600; }
.badge-gold   { background: var(--gold); color: var(--white); border-radius: var(--radius-pill); padding: .25rem .65rem; font-size: .72rem; font-weight: 600; }
.badge-cream  { background: var(--cream); color: var(--charcoal-mid); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .25rem .65rem; font-size: .72rem; font-weight: 600; }
.badge-discount { background: var(--danger-soft); color: var(--white); border-radius: var(--radius-pill); padding: .25rem .65rem; font-size: .72rem; font-weight: 600; }

/* ─── 28. STAR RATINGS ──────────────────────────────────────── */
.stars { color: var(--gold); font-size: .9rem; letter-spacing: .05em; }
.stars--sm { font-size: .72rem; }
.stars--lg { font-size: 1.2rem; }

/* ─── 29. PAGINATION ────────────────────────────────────────── */
.pagination { gap: .3rem; }
.page-link {
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    color: var(--charcoal-mid);
    font-family: var(--font-body);
    font-weight: 500;
    padding: .45rem .85rem;
    transition: all var(--ease-fast);
}
.page-link:hover { background: var(--blush-light); border-color: var(--dusty-rose); color: var(--dusty-rose); }
.page-item.active .page-link { background: var(--dusty-rose); border-color: var(--dusty-rose); color: var(--white); }
.page-item.disabled .page-link { opacity: .4; }

/* ─── 30. FOOTER ────────────────────────────────────────────── */
.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,.72);
    padding: 4.5rem 0 0;
    margin-top: auto;
}
.site-footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: .6rem;
}
.site-footer__tagline {
    font-size: .85rem;
    line-height: 1.85;
    color: rgba(255,255,255,.42);
    max-width: 270px;
}
.site-footer__heading {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
    margin-bottom: 1.25rem;
}
.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.site-footer__links a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: .875rem;
    transition: color var(--ease-fast);
    display: inline-block;
}
.site-footer__links a:hover { color: var(--blush); }
.site-footer__socials {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.site-footer__social {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
    background: transparent;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--ease-base);
}
.site-footer__social:hover {
    border-color: var(--dusty-rose);
    color: var(--dusty-rose);
    background: rgba(201,150,138,.1);
    transform: translateY(-2px);
}
.site-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    line-height: 1.5;
}
.site-footer__contact i { color: var(--dusty-rose); font-size: .9rem; flex-shrink: 0; margin-top: .1rem; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 1.5rem 0;
    margin-top: 3.5rem;
}
.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.site-footer__copy { font-size: .78rem; color: rgba(255,255,255,.28); }
.site-footer__heart { color: var(--dusty-rose); font-size: .65rem; }

/* ─── 31. MOBILE BOTTOM NAVIGATION ─────────────────────────── */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 1035;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(46,41,37,.07);
}
.mobile-nav__inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .18rem;
    font-size: .6rem;
    font-weight: 500;
    color: var(--warm-gray);
    text-decoration: none;
    padding: .35rem .6rem;
    border-radius: var(--radius-md);
    transition: color var(--ease-fast);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.mobile-nav__item i { font-size: 1.35rem; line-height: 1; }
.mobile-nav__item.active, .mobile-nav__item:hover { color: var(--dusty-rose); }
.mobile-nav__item.active i { animation: tapPop .2s ease; }
.mobile-nav__cart-badge {
    position: absolute;
    top: .2rem;
    left: calc(50% + .4rem);
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background: var(--dusty-rose);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-size: .55rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── 32. SCROLL TO TOP ─────────────────────────────────────── */
.scroll-top-btn {
    position: fixed;
    bottom: 5rem;
    left: 1.25rem;
    z-index: 1020;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    color: var(--charcoal-mid);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--ease-base), visibility var(--ease-base), transform var(--ease-base), color var(--ease-fast), border-color var(--ease-fast);
}
.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    color: var(--dusty-rose);
    border-color: var(--dusty-rose);
    transform: translateY(-3px);
}

/* ─── 33. FILTER SIDEBAR / SHOP ─────────────────────────────── */
.filter-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--navbar-h) + 1rem);
}
.filter-sidebar__heading {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 1rem;
}
.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .75rem;
    border-radius: var(--radius-md);
    font-size: .875rem;
    font-weight: 500;
    color: var(--charcoal-mid);
    text-decoration: none;
    transition: all var(--ease-fast);
    margin-bottom: .15rem;
}
.filter-link:hover { background: var(--blush-light); color: var(--dusty-rose); }
.filter-link.active { background: var(--blush-light); color: var(--dusty-rose); font-weight: 600; }
.filter-link .count {
    background: var(--cream);
    border-radius: var(--radius-pill);
    font-size: .68rem;
    font-weight: 600;
    padding: .1rem .5rem;
    color: var(--warm-gray);
}
.filter-link.active .count { background: var(--blush); color: var(--mauve); }
.shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.shop-topbar__title { font-weight: 700; font-size: 1.05rem; color: var(--charcoal); margin: 0; }
.shop-topbar__count { font-size: .8rem; color: var(--warm-gray); font-weight: 400; }

/* ─── 34. PRODUCT DETAIL ────────────────────────────────────── */
.detail-img-main {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--cream);
    position: relative;
    cursor: zoom-in;
}
.detail-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.detail-img-main:hover img { transform: scale(1.04); }
.detail-thumbs {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-top: .75rem;
}
.detail-thumb {
    width: 70px;
    height: 84px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--ease-fast);
    flex-shrink: 0;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-thumb.active, .detail-thumb:hover { border-color: var(--dusty-rose); }
.detail-info { padding-inline-start: 1rem; }
.detail-category {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dusty-rose);
    text-decoration: none;
    display: inline-block;
    margin-bottom: .4rem;
}
.detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.3;
    margin-bottom: .5rem;
}
.detail-rating {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    margin-bottom: 1.25rem;
}
.detail-price-block { margin-bottom: 1.5rem; }
.detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1;
}
.detail-price .unit { font-size: .9rem; font-weight: 400; color: var(--warm-gray); margin-right: .3rem; }
.detail-price-old { font-size: 1rem; color: var(--warm-gray); text-decoration: line-through; margin-right: .5rem; }
.size-selector { margin-bottom: 1.25rem; }
.size-selector__label { font-size: .82rem; font-weight: 600; color: var(--charcoal-mid); margin-bottom: .6rem; display: block; }
.size-selector__options { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 .75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    color: var(--charcoal-mid);
    cursor: pointer;
    transition: all var(--ease-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.size-btn:hover, .size-btn.active {
    border-color: var(--dusty-rose);
    color: var(--dusty-rose);
    background: var(--blush-light);
}
.size-btn.out-of-stock {
    opacity: .4;
    cursor: not-allowed;
    text-decoration: line-through;
}
.detail-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
}
.detail-accordion .accordion-button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .9rem;
    color: var(--charcoal);
    background: transparent;
    padding: 1rem 0;
    box-shadow: none;
}
.detail-accordion .accordion-button:not(.collapsed) { color: var(--dusty-rose); }
.detail-accordion .accordion-button::after { margin-right: auto; margin-left: 0; }
.detail-accordion .accordion-body { padding: .25rem 0 1rem; font-size: .875rem; color: var(--charcoal-light); line-height: 1.8; }

/* ─── 35. STOCK BADGE ───────────────────────────────────────── */
.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 500;
    padding: .3rem .7rem;
    border-radius: var(--radius-pill);
}
.stock-badge--in   { background: #e8f5ee; color: #2a6e40; }
.stock-badge--low  { background: var(--gold-light); color: #7a5a10; }
.stock-badge--out  { background: #fdf5f5; color: #8a2a2a; }
.stock-badge i { font-size: .7rem; }

/* ─── 36. SECTION WRAPPERS ──────────────────────────────────── */
.section-ivory  { background: var(--ivory); }
.section-cream  { background: var(--cream); }
.section-white  { background: var(--white); }
.section-blush  { background: var(--blush-light); }
.section-py     { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.section-py-sm  { padding-top: var(--section-py-sm); padding-bottom: var(--section-py-sm); }

/* ─── 37. ANIMATION KEYFRAMES ───────────────────────────────── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes heroZoom {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}
@keyframes badgePop {
    0%   { transform: scale(.5); }
    70%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}
@keyframes alertSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    30%      { transform: scale(1.35); }
    60%      { transform: scale(.9); }
}
@keyframes tapPop {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}

/* Scroll-reveal utility (JS adds .is-revealed) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── 38. ADMIN PRESERVED STYLES ───────────────────────────── */
/* Admin has its own _AdminLayout.cshtml — these are for any
   admin-adjacent classes that may appear in shared partials  */
.stat-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.stat-card .stat-number { font-size: 2rem; font-weight: 700; color: var(--charcoal); }
.stat-card .stat-label  { font-size: .85rem; color: var(--warm-gray); }

/* ─── 39. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 991.98px) {
    :root { --navbar-h: 64px; --section-py: 3.5rem; }

    .mobile-nav { display: block; }
    body        { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

    .site-nav__links { display: none; }

    .scroll-top-btn { bottom: calc(64px + 1rem + env(safe-area-inset-bottom, 0px)); }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .collection-grid__item:first-child {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }

    .insta-grid { grid-template-columns: repeat(3, 1fr); }

    .lifestyle-banner__content { padding: 2rem; }
    .newsletter-section { padding: 2.5rem 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn-rose { width: 100%; }

    .detail-info { padding-inline-start: 0; }
    .cart-item__img { width: 70px; height: 86px; }
}

@media (max-width: 575.98px) {
    :root { --section-py: 2.5rem; }

    .site-hero { min-height: min(92svh, 640px); }
    .site-hero__title { font-size: 1.9rem; }
    .site-hero__sub { font-size: .875rem; }
    .site-hero__cta { flex-direction: column; width: 100%; }
    .site-hero__cta .btn-hero-primary,
    .site-hero__cta .btn-hero-outline { width: 100%; justify-content: center; }

    .collection-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
    .collection-grid__item:first-child { grid-column: 1 / 3; }

    .insta-grid { grid-template-columns: repeat(3, 1fr); gap: .3rem; }

    .lifestyle-banner__img { min-height: 240px; }
    .lifestyle-banner__content { padding: 1.75rem 1.25rem; }

    .newsletter-section { border-radius: var(--radius-lg); }
    .review-card { padding: 1.25rem; }

    .product-card__body { padding: .7rem; }
    .product-card__name { font-size: .85rem; }

    .site-footer { padding-top: 3rem; }

    .detail-thumb { width: 58px; height: 70px; }
    .detail-price { font-size: 1.6rem; }
}

@media (min-width: 1400px) {
    :root { --section-py: 6rem; }
    .site-hero { min-height: min(90svh, 940px); }
}

/* ─── 40. PRINT ─────────────────────────────────────────────── */
@media print {
    .site-nav, .mobile-nav, .scroll-top-btn, .site-footer { display: none; }
    body { padding: 0; background: white; }
}
