/**
 * Floral Closet — Premium Shop Page Stylesheet
 * Fresh Professional Design · Sidebar Filters · Luxury Grid
 */

/* ═══════════════════════════════════════════════════════════════════════════
   0. LOCAL TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    --fcs-bg:           #FDFCFA;
    --fcs-bg-alt:       #F8F4F0;
    --fcs-bg-sidebar:   #FEFDFB;
    --fcs-gold:         #C5A47E;
    --fcs-gold-dark:    #A6845A;
    --fcs-gold-light:   #DFC9A8;
    --fcs-ivory:        #F5EFE6;
    --fcs-text:         #1E1410;
    --fcs-text-mid:     #5A4A42;
    --fcs-text-muted:   #9E8E84;
    --fcs-border:       rgba(197, 164, 126, 0.18);
    --fcs-border-dark:  rgba(197, 164, 126, 0.35);
    --fcs-black:        #1A1210;
    --fcs-white:        #FFFFFF;
    --fcs-terracotta:   #B85A42;
    --fcs-shadow-card:  0 4px 24px rgba(90,58,42,0.07);
    --fcs-shadow-float: 0 12px 48px rgba(90,58,42,0.12);
    --fcs-ease:         cubic-bezier(0.16, 1, 0.3, 1);
    --fcs-sidebar-w:    280px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   1. PAGE WRAPPER
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-wrap {
    background: var(--fcs-bg);
    min-height: 80vh;
    padding-top: 140px; /* Offset for fixed header navigation + announcement bar */
}

/* ═══════════════════════════════════════════════════════════════════════════
   2. SHOP HEADER — Compact strip
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-header {
    background: var(--fcs-bg-alt);
    border-bottom: 1px solid var(--fcs-border);
    padding: 0;
    position: relative;
}

.fcs-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 48px);
}

/* Breadcrumb — small single line */
.fcs-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 0 10px;
    font-family: var(--fc-font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fcs-text-muted);
    border-bottom: 1px solid var(--fcs-border);
}

.fcs-breadcrumb a {
    color: var(--fcs-text-muted);
    transition: color 0.2s;
}

.fcs-breadcrumb a:hover { color: var(--fcs-gold-dark); }

.fcs-breadcrumb svg {
    opacity: 0.35;
    flex-shrink: 0;
}

/* Header meta — compact horizontal layout */
.fcs-header__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 14px;
}

.fcs-header__text {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hide eyebrow in compact mode */
.fcs-header__eyebrow { display: none; }

.fcs-header__title {
    font-family: var(--fc-font-heading);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--fcs-text);
    margin: 0;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.fcs-header__desc {
    font-family: var(--fc-font-body);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--fcs-text-muted);
    margin: 0;
    /* hide on smaller screens, show inline on desktop */
    display: none;
}

@media (min-width: 900px) {
    .fcs-header__desc { display: block; }
}

.fcs-header__banner {
    width: clamp(140px, 16vw, 220px);
    aspect-ratio: 3/4;
    border-radius: 8px 2px 8px 2px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: var(--fcs-shadow-float);
}

.fcs-header__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fcs-header__banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(30,20,16,0.3));
}

/* Category pills — tighter row */
.fcs-pills {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0 12px;
    border-top: 1px solid var(--fcs-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.fcs-pills::-webkit-scrollbar { display: none; }

.fcs-pill {
    font-family: var(--fc-font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fcs-text-mid);
    padding: 5px 14px;
    border: 1px solid var(--fcs-border-dark);
    border-radius: 40px;
    background: transparent;
    transition: all 0.22s var(--fcs-ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.fcs-pill:hover {
    border-color: var(--fcs-gold);
    color: var(--fcs-gold-dark);
    background: rgba(197,164,126,0.06);
}

.fcs-pill--active {
    background: var(--fcs-black);
    color: var(--fcs-ivory);
    border-color: var(--fcs-black);
}

.fcs-pill--active:hover {
    background: var(--fcs-text);
    color: var(--fcs-ivory);
}

/* ═══════════════════════════════════════════════════════════════════════════
   3. BODY LAYOUT — Sidebar + Main
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-body {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.fcs-body__inner {
    display: grid;
    grid-template-columns: var(--fcs-sidebar-w) 1fr;
    gap: 40px;
    padding: 28px 0 80px;
    align-items: start;
    /* Critical: do NOT put overflow here — breaks sticky */
}

/* ═══════════════════════════════════════════════════════════════════════════
   4. SIDEBAR FILTERS — sticky scroll fix
   Key rule: position:sticky on .fcs-sidebar itself, overflow-y on the SAME element.
   The PARENT (.fcs-body__inner) must NOT have overflow set.
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-sidebar {
    /* Sticky position on the sidebar column itself */
    position: sticky;
    top: 130px; /* Positioned below the fixed header navigation */
    /* Height = viewport minus header height + safe margins */
    height: calc(100vh - 160px);
    /* Scroll happens on the sidebar */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 164, 126, 0.3) transparent;
    /* Pad right so scrollbar doesn't overlap content */
    padding-right: 6px;
}

.fcs-sidebar::-webkit-scrollbar { width: 3px; }
.fcs-sidebar::-webkit-scrollbar-thumb { background: rgba(197,164,126,0.3); border-radius: 3px; }
.fcs-sidebar::-webkit-scrollbar-track { background: transparent; }

/* .fcs-sidebar__sticky is now just a non-sticky wrapper — remove sticky from it */
.fcs-sidebar__sticky {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

/* Sidebar header */
.fcs-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--fcs-border);
}

.fcs-sidebar__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fc-font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fcs-text);
}

.fcs-sidebar__title svg {
    color: var(--fcs-gold);
    flex-shrink: 0;
}

.fcs-sidebar__reset {
    font-family: var(--fc-font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--fcs-terracotta);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.fcs-sidebar__reset:hover { opacity: 0.7; }

/* Active chips in sidebar */
.fcs-active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid var(--fcs-border);
    margin-bottom: 4px;
}

.fcs-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--fc-font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--fcs-gold-dark);
    background: rgba(197,164,126,0.1);
    border: 1px solid rgba(197,164,126,0.3);
    border-radius: 30px;
    padding: 4px 10px 4px 10px;
    transition: all 0.2s;
}

.fcs-active-chip svg { opacity: 0.7; }
.fcs-active-chip:hover { background: rgba(184,90,66,0.08); color: var(--fcs-terracotta); border-color: rgba(184,90,66,0.3); }

/* ── Filter Group ──────────────────────────────────────────────────────────── */
.fcs-filter-group {
    border-bottom: 1px solid var(--fcs-border);
}

.fcs-filter-group__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--fc-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--fcs-text);
    text-align: left;
    transition: color 0.2s;
}

.fcs-filter-group__toggle:hover { color: var(--fcs-gold-dark); }

.fcs-chevron {
    transition: transform 0.3s var(--fcs-ease);
    flex-shrink: 0;
    color: var(--fcs-text-muted);
}

.fcs-filter-group--collapsed .fcs-chevron { transform: rotate(-90deg); }

.fcs-filter-group__body {
    overflow: hidden;
    max-height: 600px;
    transition: max-height 0.4s var(--fcs-ease);
    padding-bottom: 16px;
}

.fcs-filter-group__body--collapsed { max-height: 0 !important; padding-bottom: 0; }

/* Filter rows (text-based: price, fabric, category) */
.fcs-filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-family: var(--fc-font-body);
    font-size: 0.82rem;
    color: var(--fcs-text-mid);
    transition: color 0.2s, transform 0.2s;
    position: relative;
}

.fcs-filter-row:hover {
    color: var(--fcs-gold-dark);
    transform: translateX(2px);
}

.fcs-filter-row__check {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1.5px solid var(--fcs-border-dark);
    background: var(--fcs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.fcs-filter-row__check svg { opacity: 0; transition: opacity 0.2s; }

.fcs-filter-row--active { color: var(--fcs-text); font-weight: 600; }
.fcs-filter-row--active .fcs-filter-row__check {
    background: var(--fcs-black);
    border-color: var(--fcs-black);
}
.fcs-filter-row--active .fcs-filter-row__check svg { opacity: 1; color: var(--fcs-white); }

.fcs-filter-row__badge {
    margin-left: auto;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--fcs-terracotta);
    color: #fff;
    border-radius: 2px;
    padding: 2px 6px;
}

/* Colour swatches */
.fcs-color-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.fcs-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s var(--fcs-ease), box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    position: relative;
}

.fcs-swatch:hover { transform: scale(1.18); }

.fcs-swatch--active {
    box-shadow: 0 0 0 2.5px var(--fcs-white), 0 0 0 4.5px var(--fcs-black);
    transform: scale(1.08);
}

.fcs-color-labels {
    display: none; /* screen reader only */
}

/* Size grid */
.fcs-size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 12px;
}

.fcs-size-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border: 1.5px solid var(--fcs-border-dark);
    border-radius: 4px;
    font-family: var(--fc-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--fcs-text-mid);
    background: transparent;
    transition: all 0.2s;
}

.fcs-size-btn:hover {
    border-color: var(--fcs-gold);
    color: var(--fcs-gold-dark);
    background: rgba(197,164,126,0.06);
}

.fcs-size-btn--active {
    background: var(--fcs-black);
    border-color: var(--fcs-black);
    color: var(--fcs-ivory);
}

.fcs-size-guide-link {
    font-family: var(--fc-font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--fcs-gold-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.fcs-size-guide-link:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════════════════════
   5. CONTROL BAR
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-controlbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: var(--fcs-white);
    border: 1px solid var(--fcs-border);
    border-radius: 8px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s, border-color 0.3s;
    position: relative;
    z-index: 20;
}

.fcs-controlbar--sticky {
    position: sticky;
    top: 72px;
    box-shadow: 0 4px 20px rgba(30,20,16,0.08);
    border-color: var(--fcs-border-dark);
}

.fcs-controlbar__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fcs-controlbar__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile filter button (hidden on desktop) */
.fcs-mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 8px;
    font-family: var(--fc-font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fcs-text);
    background: none;
    border: 1.5px solid var(--fcs-border-dark);
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.fcs-mobile-filter-btn:hover { border-color: var(--fcs-gold); color: var(--fcs-gold-dark); }

.fcs-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--fcs-black);
    color: var(--fcs-ivory);
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
}

.fcs-controlbar__count {
    font-family: var(--fc-font-body);
    font-size: 0.78rem;
    color: var(--fcs-text-muted);
    white-space: nowrap;
}

/* Grid view toggle */
.fcs-view-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--fcs-border-dark);
    border-radius: 6px;
    padding: 3px;
}

.fcs-view-btn {
    width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 4px;
    color: var(--fcs-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.fcs-view-btn--active {
    background: var(--fcs-black);
    color: var(--fcs-white);
}

.fcs-view-btn:not(.fcs-view-btn--active):hover {
    background: var(--fcs-bg-alt);
    color: var(--fcs-text);
}

/* Sort form */
.fcs-sort-form { display: flex; }

.fcs-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcs-sort-label {
    font-family: var(--fc-font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--fcs-text-muted);
    white-space: nowrap;
}

.fcs-sort-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.fcs-sort-select {
    font-family: var(--fc-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fcs-text);
    background: var(--fcs-bg-alt);
    border: 1.5px solid var(--fcs-border-dark);
    border-radius: 6px;
    padding: 8px 32px 8px 12px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    min-width: 160px;
}

.fcs-sort-select:hover,
.fcs-sort-select:focus { border-color: var(--fcs-gold); }

.fcs-sort-arrow {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: var(--fcs-gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   6. CHIPS BAR (active filters, below control bar)
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-chips-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 10px 16px;
    background: rgba(197,164,126,0.05);
    border: 1px solid var(--fcs-border);
    border-radius: 8px;
}

.fcs-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--fc-font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--fcs-gold-dark);
    background: var(--fcs-white);
    border: 1px solid rgba(197,164,126,0.35);
    border-radius: 30px;
    padding: 5px 12px;
    transition: all 0.2s;
}

.fcs-chip:hover { color: var(--fcs-terracotta); border-color: rgba(184,90,66,0.35); background: rgba(184,90,66,0.04); }

.fcs-chip--clear {
    color: var(--fcs-text-muted);
    border-color: var(--fcs-border);
    margin-left: auto;
}

.fcs-chip--clear:hover { color: var(--fcs-text); border-color: var(--fcs-border-dark); background: var(--fcs-bg-alt); }

/* ═══════════════════════════════════════════════════════════════════════════
   7. PRODUCT GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-grid {
    display: grid;
    gap: clamp(20px, 2.5vw, 32px);
    grid-template-columns: repeat(4, 1fr);
}

/* Dynamic column switching via data-cols */
.fcs-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
.fcs-grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
.fcs-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }

/* ─── Product Card ──────────────────────────────────────────────────────── */
.fc-shop-product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: transparent;
    transition: transform 0.45s var(--fcs-ease);
}

.fc-shop-product-card:hover { transform: translateY(-3px); }

/* Image area */
.fc-shop-product-card__media {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 6px 2px 6px 2px;
    background: var(--fcs-bg-alt);
    border: 1px solid rgba(197,164,126,0.1);
}

.fc-shop-product-card__link {
    display: block;
    width: 100%;
    height: 100%;
}

.fc-shop-product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.55s var(--fcs-ease), transform 0.7s var(--fcs-ease);
}

.fc-shop-product-card__img--hover {
    opacity: 0;
    z-index: 1;
}

.fc-shop-product-card:hover .fc-shop-product-card__img--hover { opacity: 1; transform: scale(1.03); }
.fc-shop-product-card:hover .fc-shop-product-card__img--main { transform: scale(1.03); }

/* Subtle vignette on hover */
.fc-shop-product-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(20,12,8,0.22));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
}

.fc-shop-product-card:hover .fc-shop-product-card__media::after { opacity: 1; }

/* Badges */
.fc-shop-product-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.fc-shop-product-card__badge {
    font-family: var(--fc-font-body);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 2px;
}

.fc-shop-product-card__badge--new { background: var(--fcs-black); color: var(--fcs-ivory); }
.fc-shop-product-card__badge--sale { background: var(--fcs-terracotta); color: #fff; }

/* Wishlist */
.fc-shop-product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(197,164,126,0.2);
    color: var(--fcs-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s var(--fcs-ease);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.fc-shop-product-card:hover .fc-shop-product-card__wishlist {
    opacity: 1;
    transform: translateY(0);
}

.fc-shop-product-card__wishlist:hover {
    background: var(--fcs-white);
    color: var(--fcs-terracotta);
    border-color: var(--fcs-terracotta);
}

.fc-shop-product-card__wishlist.is-active {
    opacity: 1;
    color: var(--fcs-terracotta);
}

.fc-shop-product-card__wishlist.is-active svg { fill: var(--fcs-terracotta); }

/* Quick buy slide-up bar */
.fc-shop-product-card__quick-buy {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    transform: translateY(100%);
    transition: transform 0.38s var(--fcs-ease);
}

.fc-shop-product-card:hover .fc-shop-product-card__quick-buy { transform: translateY(0); }

.fc-shop-product-card__buy-btn {
    display: block;
    width: 100%;
    background: rgba(26, 18, 14, 0.93);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--fcs-ivory);
    text-align: center;
    padding: 13px;
    font-family: var(--fc-font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    transition: background 0.25s;
    border-radius: 0 0 6px 2px;
}

.fc-shop-product-card__buy-btn:hover { background: var(--fcs-gold-dark); color: #fff; }

.fc-shop-product-card__buy-btn--out {
    background: rgba(240,234,224,0.92);
    color: var(--fcs-text-muted);
    cursor: not-allowed;
}

/* Card details */
.fc-shop-product-card__details {
    padding: 14px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fc-shop-product-card__category {
    font-family: var(--fc-font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fcs-text-muted);
}

.fc-shop-product-card__title {
    font-family: var(--fc-font-heading);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
}

.fc-shop-product-card__title a {
    color: var(--fcs-text);
    transition: color 0.2s;
}

.fc-shop-product-card__title a:hover { color: var(--fcs-gold-dark); }

.fc-shop-product-card__price {
    font-family: var(--fc-font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--fcs-gold-dark);
    margin-top: 2px;
}

.fc-shop-product-card__price del { color: var(--fcs-text-muted); font-size: 0.82rem; margin-right: 6px; text-decoration: line-through; }
.fc-shop-product-card__price ins { text-decoration: none; font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════════
   8. PAGINATION
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--fcs-border);
    flex-wrap: wrap;
}

.fcs-page-item { display: contents; }

.fcs-pagination a,
.fcs-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border: 1.5px solid var(--fcs-border-dark);
    border-radius: 6px;
    font-family: var(--fc-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--fcs-text-mid);
    background: var(--fcs-white);
    padding: 0 10px;
    transition: all 0.22s;
    text-decoration: none;
}

.fcs-pagination a:hover {
    border-color: var(--fcs-gold);
    color: var(--fcs-gold-dark);
    background: rgba(197,164,126,0.05);
}

.fcs-page-item--current span {
    background: var(--fcs-black);
    border-color: var(--fcs-black);
    color: var(--fcs-ivory);
    font-weight: 700;
}

/* Dots */
.fcs-pagination .dots {
    background: none;
    border: none;
    color: var(--fcs-text-muted);
    min-width: 28px;
    cursor: default;
}

/* ═══════════════════════════════════════════════════════════════════════════
   9. EMPTY STATE
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-empty {
    text-align: center;
    padding: 100px 40px;
    max-width: 480px;
    margin: 0 auto;
}

.fcs-empty__ornament {
    margin-bottom: 24px;
    color: var(--fcs-gold-light);
}

.fcs-empty__title {
    font-family: var(--fc-font-heading);
    font-size: 2rem;
    font-weight: 300;
    color: var(--fcs-text);
    margin-bottom: 12px;
}

.fcs-empty__desc {
    font-family: var(--fc-font-body);
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--fcs-text-muted);
    margin-bottom: 32px;
}

.fcs-empty__btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--fc-font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fcs-gold-dark);
    border: 1.5px solid var(--fcs-gold);
    padding: 14px 28px;
    border-radius: 4px;
    transition: all 0.25s;
}

.fcs-empty__btn:hover {
    background: var(--fcs-black);
    border-color: var(--fcs-black);
    color: var(--fcs-ivory);
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. MOBILE DRAWER OVERLAY
   ═══════════════════════════════════════════════════════════════════════════ */
.fcs-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20,14,10,0.5);
    z-index: 300;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(2px);
}

.fcs-mobile-overlay--visible {
    display: block;
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   11. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Large desktop */
@media (min-width: 1400px) {
    .fcs-grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); }
}

/* Medium desktop */
@media (max-width: 1280px) {
    :root { --fcs-sidebar-w: 240px; }
    .fcs-grid[data-cols="4"] { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet landscape — sidebar becomes a slide-in drawer */
@media (max-width: 1024px) {
    .fcs-wrap { padding-top: 120px; }
    .fcs-body__inner { grid-template-columns: 1fr; gap: 0; }

    .fcs-sidebar {
        /* Reset sticky positioning for mobile drawer mode */
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: 100vh !important;
        width: min(320px, 90vw);
        background: var(--fcs-white);
        z-index: 400;
        transform: translateX(-100%);
        transition: transform 0.4s var(--fcs-ease);
        box-shadow: var(--fcs-shadow-float);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 24px 20px;
    }

    .fcs-sidebar--open { transform: translateX(0); }
    .fcs-sidebar__sticky { position: relative; top: auto; max-height: none; overflow: visible; }
    .fcs-mobile-overlay { display: block; pointer-events: none; }
    .fcs-mobile-overlay--visible { pointer-events: auto; }
    .fcs-mobile-filter-btn { display: inline-flex !important; }
    .fcs-grid[data-cols="4"] { grid-template-columns: repeat(3, 1fr); }
    .fcs-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .fcs-wrap { padding-top: 110px; }
    .fcs-header__banner { display: none; }
    .fcs-header__title { font-size: clamp(1.2rem, 4vw, 1.6rem); }
    .fcs-header__desc { display: none !important; }
    .fcs-grid[data-cols="4"],
    .fcs-grid[data-cols="3"] { grid-template-columns: repeat(2, 1fr); }
    .fcs-sort-label { display: none; }
    .fcs-body { padding: 0 16px; }
    .fcs-header__inner { padding: 0 16px; }
    .fcs-controlbar__right .fcs-view-toggle { display: none; }
}

/* Mobile */
@media (max-width: 480px) {
    .fcs-wrap { padding-top: 100px; }
    .fcs-grid[data-cols="4"],
    .fcs-grid[data-cols="3"],
    .fcs-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fcs-sidebar { width: 100vw; }
    .fcs-controlbar { padding: 10px 12px; gap: 10px; }
    .fcs-sort-select { min-width: 130px; font-size: 0.72rem; }
}
