/* Roast'n Berry — Specialty Coffee E-Commerce */

:root {
    --sf-primary: #163A2D;
    --sf-primary-deep: #10281F;
    --sf-brown: #8B5E3C;
    --sf-gold: #C8A063;
    --sf-bg: #F8F5EF;
    --sf-surface: #FFFFFF;
    --sf-muted: #EFE6D6;
    --sf-cream: #FAF7F0;
    --sf-text: #1a2420;
    --sf-text-muted: #5c6b64;
    --sf-border: rgba(22, 58, 45, 0.08);
    --sf-radius: 4px;
    --sf-radius-lg: 2px;
    --sf-shadow: 0 24px 64px rgba(16, 40, 31, 0.12);
    --sf-container: min(1280px, calc(100% - 2.5rem));
    --sf-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sf-font-body: "DM Sans", system-ui, -apple-system, sans-serif;
    --section-gap-desktop: 72px;
    --section-gap-tablet: 48px;
    --section-gap-mobile: 32px;
    --sf-space-section: var(--section-gap-desktop);
}

*, *::before, *::after { box-sizing: border-box; }

body.storefront-body {
    margin: 0;
    font-family: var(--sf-font-body);
    font-size: 1rem;
    color: var(--sf-text);
    background: var(--sf-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.storefront-container { width: var(--sf-container); margin-inline: auto; }
.storefront-main { overflow-x: clip; }
.storefront-home { padding-bottom: 0; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a { color: inherit; text-decoration: none; }

/* Typography */
.storefront-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sf-brown);
}
.storefront-eyebrow--light { color: var(--sf-gold); }

.storefront-section { padding: var(--sf-space-section) 0; }
.storefront-section--compact { padding: calc(var(--sf-space-section) * 0.55) 0; }
.storefront-section--after-hero { padding-top: min(40px, 2.5rem); }
.storefront-section__header { margin-bottom: 2rem; max-width: 36rem; }
.storefront-section__header--compact { margin-bottom: 1.25rem; }
.storefront-section__header--editorial { max-width: 28rem; }
.storefront-section__header--center { text-align: center; margin-inline: auto; max-width: 40rem; }
.storefront-section__title {
    margin: 0;
    font-family: var(--sf-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--sf-primary);
    letter-spacing: -0.02em;
}
.storefront-section__title--compact { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.storefront-section__subtitle {
    margin: 0.75rem 0 0;
    font-size: 1.05rem;
    color: var(--sf-text-muted);
    line-height: 1.65;
}
.storefront-section__subtitle--compact { margin-top: 0.45rem; font-size: 0.95rem; }

.storefront-home--tight .storefront-section + .storefront-section { padding-top: min(var(--section-gap-desktop), 3rem); }
.storefront-home--tight .category-editorial + .product-showcase { padding-top: min(48px, 3rem); }
.storefront-home--tight .product-showcase + .homepage-media-block,
.storefront-home--tight .homepage-media-block + .product-showcase { padding-top: min(48px, 3rem); }

/* Buttons */
.storefront-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--sf-radius);
    border: 1px solid transparent;
    font-family: var(--sf-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.storefront-btn:hover { transform: translateY(-1px); }
.storefront-btn-primary { background: var(--sf-primary); color: #fff; }
.storefront-btn-primary:hover { background: var(--sf-primary-deep); color: #fff; }
.storefront-btn-gold { background: var(--sf-gold); color: var(--sf-primary-deep); }
.storefront-btn-gold:hover { background: #d4ad6f; color: var(--sf-primary-deep); }
.storefront-btn-ghost {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,0.45);
}
.storefront-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.storefront-btn-outline {
    background: transparent; color: var(--sf-primary);
    border-color: var(--sf-border);
}

/* Topbar */
.storefront-topbar { position: relative; font-size: 0.8rem; z-index: 60; }
.storefront-topbar__viewport { position: relative; }
.storefront-topbar__slide { display: none; }
.storefront-topbar__slide.is-active { display: block; }
.storefront-topbar__slide[hidden] { display: none !important; }
.storefront-topbar__content {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 2.35rem; padding: 0.4rem 2.5rem 0.4rem 1rem; flex-wrap: wrap;
}
.storefront-topbar__icon { display: inline-flex; opacity: 0.9; }
.storefront-topbar__svg { width: 1rem; height: 1rem; }
.storefront-topbar__message { margin: 0; display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; justify-content: center; }
.storefront-topbar__message strong { font-weight: 600; }
.storefront-topbar__sep { opacity: 0.55; }
.storefront-topbar__link { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: inherit; }
.storefront-topbar__dots {
    position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
    display: flex; gap: 0.3rem;
}
.storefront-topbar__dot {
    width: 0.35rem; height: 0.35rem; border: 0; border-radius: 999px;
    background: rgba(255,255,255,0.35); cursor: pointer; padding: 0;
}
.storefront-topbar__dot.is-active { background: #fff; }

/* Header */
.storefront-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(248, 245, 239, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sf-border);
}
.storefront-header__inner {
    display: grid; grid-template-columns: auto 1fr auto;
    align-items: center; gap: 1rem;
    padding: 0.55rem 0;
    min-height: 3.5rem;
}
.storefront-header__logo { max-height: 36px; width: auto; display: block; }
.storefront-header__logo-text {
    font-family: var(--sf-font-display);
    font-size: 1.25rem; font-weight: 600; color: var(--sf-primary);
}
.storefront-header__center { display: flex; justify-content: center; min-width: 0; flex: 1; }
.storefront-nav__list {
    display: flex; flex-wrap: nowrap; gap: 0.35rem 1.25rem; list-style: none; margin: 0; padding: 0;
}
.storefront-nav__link {
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--sf-primary);
    padding: 0.2rem 0; opacity: 0.85; white-space: nowrap;
    transition: opacity 0.15s;
}
.storefront-nav__link:hover { opacity: 1; }
.storefront-header__actions { display: flex; align-items: center; gap: 0.35rem; }
.storefront-search {
    display: flex; align-items: center;
    border-bottom: 1px solid var(--sf-border);
    max-width: 150px; margin-right: 0.25rem;
}
.storefront-search__input {
    border: 0; background: transparent; padding: 0.35rem 0;
    font: inherit; font-size: 0.85rem; width: 100%; outline: none;
}
.storefront-search__submit {
    border: 0; background: transparent; color: var(--sf-primary);
    padding: 0.25rem; cursor: pointer; display: inline-flex;
}
.storefront-search__submit svg { width: 1rem; height: 1rem; }
.storefront-header__action {
    position: relative; display: inline-flex; align-items: center;
    color: var(--sf-primary); padding: 0.4rem;
}
.storefront-header__action svg { width: 1.2rem; height: 1.2rem; }
.storefront-header__action-label { display: none; }
.storefront-header__badge {
    position: absolute; top: 0; right: 0;
    min-width: 0.95rem; height: 0.95rem; padding: 0 0.2rem;
    border-radius: 999px; background: var(--sf-gold); color: var(--sf-primary-deep);
    font-size: 0.6rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.storefront-header__locale select {
    border: 0; background: transparent; font: inherit;
    font-size: 0.72rem; color: var(--sf-text-muted); cursor: pointer;
}
.storefront-header__menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    border: 0; background: transparent; padding: 0.35rem; cursor: pointer;
}
.storefront-header__menu-bar { display: block; width: 1.25rem; height: 1.5px; background: var(--sf-primary); }
.storefront-header__mobile-nav {
    border-top: 1px solid var(--sf-border); background: var(--sf-bg); padding: 1rem 0;
}
.storefront-nav--mobile .storefront-nav__list { flex-direction: column; gap: 0.75rem; }

/* Hero — compact controlled height with CMS overlay */
.hero-section,
.hero {
    position: relative;
    margin: 0;
    overflow: hidden;
    color: var(--hero-text-color, #fff);
}
.hero--compact,
.hero-section--height-compact { min-height: 420px; max-height: 420px; }
.hero--standard,
.hero-section--height-standard { min-height: 520px; max-height: 520px; }
.hero--large,
.hero-section--height-large { min-height: 620px; max-height: 620px; }
.hero-section--layout-contained { padding: 0 clamp(0.75rem, 2vw, 1.25rem); }
.hero-section--layout-contained .hero-section__track {
    max-width: var(--sf-container);
    margin-inline: auto;
    border-radius: calc(var(--sf-radius) + 2px);
    overflow: hidden;
}
.hero-section--layout-split .hero-section__slide.is-active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.hero-section--layout-split .hero-section__media { position: relative; grid-column: 2; }
.hero-section--layout-split .hero-section__scrim,
.hero-section--layout-split .hero__overlay { grid-column: 1 / -1; grid-row: 1; }
.hero-section--layout-split .hero-section__content,
.hero-section--layout-split .hero__content { grid-column: 1; grid-row: 1; z-index: 2; justify-content: center; max-width: none; }
.hero__overlay,
.hero-section__scrim {
    position: absolute; inset: 0; z-index: 1;
    background-color: var(--hero-overlay-color, #10281F);
    opacity: var(--hero-overlay-opacity, 0.45);
    pointer-events: none;
}
.hero__image-el {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero--focus-left .hero__image-el { object-position: left center; }
.hero--focus-right .hero__image-el { object-position: right center; }
.hero--focus-center .hero__image-el { object-position: center center; }
.hero--focus-top .hero__image-el { object-position: center top; }
.hero--focus-bottom .hero__image-el { object-position: center bottom; }
.hero__content,
.hero-section__content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    min-height: inherit; max-height: inherit;
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem);
    max-width: 38rem;
    color: var(--hero-text-color, #fff);
}
.hero--text-left .hero__content { justify-content: center; align-items: flex-start; text-align: left; }
.hero--text-center .hero__content { justify-content: center; align-items: center; text-align: center; max-width: 44rem; margin-inline: auto; }
.hero--text-right .hero__content { justify-content: center; align-items: flex-end; text-align: right; margin-left: auto; }
.hero--text-bottom-left .hero__content { justify-content: flex-end; align-items: flex-start; text-align: left; }
.hero--text-bottom-center .hero__content { justify-content: flex-end; align-items: center; text-align: center; max-width: 44rem; margin-inline: auto; }
.hero--text-bottom-right .hero__content { justify-content: flex-end; align-items: flex-end; text-align: right; margin-left: auto; }
.hero-section--cms-positioned .hero-section__slide .hero-section__content,
.hero-section--cms-positioned .hero-section__slide .hero__content {
    position: absolute;
    width: min(100% - 2rem, var(--hero-content-max-width, 620px));
    min-height: 0;
    max-height: none;
    margin-inline: 0;
    padding: clamp(1rem, 3vw, 2rem);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    transform: none;
}
.hero-section--cms-x-left .hero-section__slide .hero-section__content,
.hero-section--cms-x-left .hero-section__slide .hero__content { left: 8%; right: auto; }
.hero-section--cms-x-center .hero-section__slide .hero-section__content,
.hero-section--cms-x-center .hero-section__slide .hero__content { left: 50%; right: auto; transform: translateX(-50%); }
.hero-section--cms-x-right .hero-section__slide .hero-section__content,
.hero-section--cms-x-right .hero-section__slide .hero__content { right: 8%; left: auto; }
.hero-section--cms-y-top .hero-section__slide .hero-section__content,
.hero-section--cms-y-top .hero-section__slide .hero__content { top: 18%; bottom: auto; }
.hero-section--cms-y-center .hero-section__slide .hero-section__content,
.hero-section--cms-y-center .hero-section__slide .hero__content { top: 50%; bottom: auto; transform: translateY(-50%); }
.hero-section--cms-y-bottom .hero-section__slide .hero-section__content,
.hero-section--cms-y-bottom .hero-section__slide .hero__content { bottom: 12%; top: auto; }
.hero-section--cms-x-center.hero-section--cms-y-center .hero-section__slide .hero-section__content,
.hero-section--cms-x-center.hero-section--cms-y-center .hero-section__slide .hero__content { transform: translate(-50%, -50%); }
.hero-section--cms-x-center.hero-section--cms-y-top .hero-section__slide .hero-section__content,
.hero-section--cms-x-center.hero-section--cms-y-top .hero-section__slide .hero__content { transform: translateX(-50%); }
.hero-section--cms-x-center.hero-section--cms-y-bottom .hero-section__slide .hero-section__content,
.hero-section--cms-x-center.hero-section--cms-y-bottom .hero-section__slide .hero__content { transform: translateX(-50%); }
.hero-section--cms-x-left.hero-section--cms-y-center .hero-section__slide .hero-section__content,
.hero-section--cms-x-left.hero-section--cms-y-center .hero-section__slide .hero__content { transform: translateY(-50%); }
.hero-section--cms-x-right.hero-section--cms-y-center .hero-section__slide .hero-section__content,
.hero-section--cms-x-right.hero-section--cms-y-center .hero-section__slide .hero__content { transform: translateY(-50%); }
.hero-section--cms-positioned.hero-section--align-left .hero-section__slide .hero-section__content,
.hero-section--cms-positioned.hero-section--align-left .hero-section__slide .hero__content { text-align: left; align-items: flex-start; }
.hero-section--cms-positioned.hero-section--align-center .hero-section__slide .hero-section__content,
.hero-section--cms-positioned.hero-section--align-center .hero-section__slide .hero__content { text-align: center; align-items: center; }
.hero-section--cms-positioned.hero-section--align-right .hero-section__slide .hero-section__content,
.hero-section--cms-positioned.hero-section--align-right .hero-section__slide .hero__content { text-align: right; align-items: flex-end; }
.hero-section--cms-positioned .hero__image-el,
.hero-section--cms-positioned .hero-section__media img {
    object-position: var(--hero-image-object-position, center center);
}
.hero__content-box,
.hero-section__content-box {
    width: min(100%, 36rem);
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border-radius: calc(var(--sf-radius) + 2px);
    background: color-mix(in srgb, var(--hero-box-color, #10281F) calc(var(--hero-box-opacity, 0.55) * 100%), transparent);
    backdrop-filter: blur(6px);
    box-shadow: 0 16px 40px rgba(16, 40, 31, 0.18);
}
.hero-section__track { position: relative; height: 100%; min-height: inherit; }
.hero-section__slide,
.hero__slide {
    position: absolute; inset: 0;
    display: none; overflow: hidden;
}
.hero-section__slide.is-active { display: block; }
.hero__image,
.hero-section__media { position: absolute; inset: 0; }
.hero-section__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-section__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sf-gold);
}
.hero-section__title {
    margin: 0 0 0.75rem;
    font-family: var(--sf-font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 600; line-height: 1.05;
    letter-spacing: -0.02em;
}
.hero-section__subtitle {
    margin: 0 0 1.25rem;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    max-width: 32rem;
}
.hero-section__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-section__cta { min-width: 10rem; }
.hero-section__controls {
    position: absolute; inset: 50% 0 auto 0; z-index: 3;
    display: flex; justify-content: space-between;
    transform: translateY(-50%); pointer-events: none;
}
.hero-section__control {
    pointer-events: auto; width: 2.75rem; height: 2.75rem;
    border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
    background: rgba(255,255,255,0.12); color: #fff;
    font-size: 1.25rem; cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.15s;
}
.hero-section__control:hover { background: rgba(255,255,255,0.25); }
.hero-section__progress {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.4rem; z-index: 3;
}
.hero-section__progress-dot {
    width: 2rem; height: 2px; background: rgba(255,255,255,0.35);
    border-radius: 1px;
}
.hero-section__progress-dot.is-active { background: var(--sf-gold); }

/* Promo editorial */
.promo-editorial__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; min-height: 420px;
}
.promo-editorial__card {
    position: relative; display: block; overflow: hidden;
    min-height: 380px;
    transition: transform 0.4s ease;
}
.promo-editorial__card:hover { transform: scale(1.02); z-index: 1; }
.promo-editorial__image {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.6s ease;
}
.promo-editorial__card:hover .promo-editorial__image { transform: scale(1.06); }
.promo-editorial__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(16,40,31,0.85) 100%);
}
.promo-editorial__content {
    position: absolute; inset: auto 0 0 0; z-index: 1;
    padding: 2rem 1.75rem;
    color: #fff;
}
.promo-editorial__title {
    margin: 0 0 0.35rem;
    font-family: var(--sf-font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 600; line-height: 1.15;
}
.promo-editorial__subtitle {
    margin: 0 0 0.75rem; font-size: 0.9rem;
    color: rgba(255,255,255,0.82); line-height: 1.5;
}
.promo-editorial__cta {
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sf-gold);
}

/* Campaign boxes (homepage promo grid) */
.campaign-box {
    --campaign-overlay-color: #10281F;
    --campaign-overlay-opacity: 0.35;
    --campaign-fallback-bg: #C8A063;
    --campaign-text-color: #10281F;
    --campaign-image-position: center center;
    background-color: var(--campaign-fallback-bg);
    background-image: linear-gradient(
        145deg,
        color-mix(in srgb, var(--campaign-fallback-bg) 88%, #ffffff 12%),
        color-mix(in srgb, var(--campaign-fallback-bg) 72%, #000000 28%)
    );
}
.campaign-box--theme-green {
    --campaign-fallback-bg: #163A2D;
}
.campaign-box--theme-brown {
    --campaign-fallback-bg: #6B4E2E;
}
.campaign-box--theme-gold {
    --campaign-fallback-bg: #C8A063;
}
.campaign-box--theme-dark {
    --campaign-fallback-bg: #10281F;
}
.campaign-box--has-image {
    background-image: var(--campaign-bg-image-mobile);
    background-size: cover;
    background-position: var(--campaign-image-position);
    background-repeat: no-repeat;
}
@media (min-width: 768px) {
    .campaign-box--has-image {
        background-image: var(--campaign-bg-image);
    }
}
.campaign-box__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--campaign-overlay-color);
    opacity: var(--campaign-overlay-opacity);
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.campaign-box--has-image .campaign-box__overlay {
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--campaign-overlay-color) 25%, transparent) 0%,
        color-mix(in srgb, var(--campaign-overlay-color) 92%, transparent) 100%
    );
    opacity: 1;
}
.campaign-box__content {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 88%;
    color: var(--campaign-text-color);
}
.campaign-box--text-left .campaign-box__content {
    top: 50%; left: 1.75rem; right: auto; bottom: auto;
    transform: translateY(-50%); text-align: left; align-items: flex-start;
}
.campaign-box--text-center .campaign-box__content {
    top: 50%; left: 50%; right: auto; bottom: auto;
    transform: translate(-50%, -50%); text-align: center; align-items: center;
}
.campaign-box--text-right .campaign-box__content {
    top: 50%; right: 1.75rem; left: auto; bottom: auto;
    transform: translateY(-50%); text-align: right; align-items: flex-end;
}
.campaign-box--text-bottom-left .campaign-box__content {
    inset: auto auto 0 0; padding: 2rem 1.75rem;
    text-align: left; align-items: flex-start;
}
.campaign-box--text-bottom-center .campaign-box__content {
    inset: auto 0 0 0; padding: 2rem 1.75rem;
    text-align: center; align-items: center;
}
.campaign-box--text-bottom-right .campaign-box__content {
    inset: auto 0 0 auto; padding: 2rem 1.75rem;
    text-align: right; align-items: flex-end;
}
.campaign-box--has-image .campaign-box__subtitle {
    color: color-mix(in srgb, var(--campaign-text-color) 82%, transparent);
}
.campaign-box--has-image .campaign-box__cta {
    color: var(--campaign-text-color);
}
.campaign-box:hover .campaign-box__overlay {
    opacity: calc(var(--campaign-overlay-opacity) + 0.08);
}

/* Product showcase */
.product-showcase--warm { background: var(--sf-cream); }
.product-showcase__header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.product-showcase__header--compact { margin-bottom: 1.15rem; }
.product-showcase__title {
    margin: 0;
    font-family: var(--sf-font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 600; color: var(--sf-primary);
    line-height: 1.1;
}
.product-showcase__title--compact { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.product-showcase__subtitle {
    margin: 0.5rem 0 0; color: var(--sf-text-muted); font-size: 0.95rem;
    max-width: 32rem; line-height: 1.55;
}
.product-showcase__subtitle--compact { margin-top: 0.35rem; font-size: 0.9rem; }
.product-showcase__view-all {
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--sf-brown); white-space: nowrap;
    border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.product-showcase__view-all:hover { color: var(--sf-primary); }

.product-grid--premium {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
}

/* Product card — specialty retail */
.product-card--premium { background: transparent; border: 0; box-shadow: none; }
.product-card--premium:hover { transform: none; box-shadow: none; }
.product-card__media-wrap { position: relative; margin-bottom: 1rem; }
.product-card__media-link {
    display: block; aspect-ratio: 4 / 5;
    overflow: hidden; background: var(--sf-muted);
}
.product-card__image {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card__media-link:hover .product-card__image { transform: scale(1.04); }

.product-card__actions {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.product-card__action-form { margin: 0; }
.product-card__action {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(16, 40, 31, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--sf-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(16, 40, 31, 0.1);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.product-card__action .storefront-icon { width: 1.15rem; height: 1.15rem; }
.product-card__action:hover,
.product-card__action:focus-visible {
    background: var(--sf-primary);
    color: #fff;
    border-color: var(--sf-primary);
    transform: translateY(-1px);
    outline: none;
}
.product-card__action--active {
    background: var(--sf-primary);
    color: #fff;
    border-color: var(--sf-primary);
}
.product-card__action--wishlist.product-card__action--active { cursor: default; }
.product-card--premium:hover .product-card__actions .product-card__action { opacity: 1; }

.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}
.product-card__badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(200, 160, 99, 0.18);
    color: var(--sf-brown);
}
.product-card__badge--muted {
    background: rgba(16, 40, 31, 0.06);
    color: var(--sf-text-muted);
}

.product-card__wishlist-slot { display: none; }
.product-card__compare-slot { display: none; }
.product-card__wishlist { display: none; }
.product-card__compare { display: none; }

.product-card__category {
    margin: 0 0 0.35rem; font-size: 0.68rem;
    font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sf-brown);
}
.product-card__category a { color: inherit; }
.product-card__title {
    margin: 0 0 0.75rem;
    font-family: var(--sf-font-display);
    font-size: 1.2rem; font-weight: 600; line-height: 1.25;
}
.product-card__title a { color: var(--sf-primary); }
.product-card__title a:hover { color: var(--sf-brown); }
.product-card__footer { display: flex; flex-direction: column; gap: 0.75rem; }
.product-card__pricing {
    display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem;
}
.product-card__price {
    font-size: 1rem; font-weight: 600; color: var(--sf-primary);
}
.product-card__stock { font-size: 0.72rem; color: var(--sf-text-muted); }
.product-card__stock--out_of_stock,
.product-card__stock--unavailable { color: #9a4b4b; font-weight: 600; }
.product-card__stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(232, 221, 204, 0.65);
    color: #7a6f63;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.product-card__cart { width: 100%; }
.product-card__cart--disabled { opacity: 1; }
.product-card__cart-form { margin: 0; width: 100%; }
.product-card__add {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.7rem 1.15rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 0;
    border-radius: 999px;
    background: #163A2D;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(22, 58, 45, 0.14);
}
.product-card__add .storefront-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.product-card__add:hover,
.product-card__add:focus-visible {
    background: #0f2a21;
    color: #fff;
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 58, 45, 0.2);
}
.product-card__add--view { background: #163A2D; color: #fff; }
.product-card__add--disabled,
.product-card__add.product-card__stock-badge {
    background: #EDE8DF;
    color: #7A7268;
    border: 1px solid #E8DDCC;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.product-card__add--disabled:hover,
.product-card__add--disabled:focus-visible,
.product-card__add.product-card__stock-badge:hover,
.product-card__add.product-card__stock-badge:focus-visible {
    background: #EDE8DF;
    color: #7A7268;
    transform: none;
    box-shadow: none;
}

/* Category showcase — premium carousel cards */
.category-editorial__carousel-wrap { position: relative; }
.category-editorial__carousel { position: relative; }
.category-editorial__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
}
.category-editorial__track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.storefront-carousel--static .category-editorial__track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    overflow: visible;
    scroll-snap-type: none;
}
.category-editorial__item {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
}
.storefront-carousel--static .category-editorial__item { flex: initial; }
.category-editorial__card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    min-height: 280px;
    max-height: 360px;
    overflow: hidden;
    border-radius: var(--sf-radius);
    box-shadow: 0 12px 32px rgba(16, 40, 31, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.category-editorial__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(16, 40, 31, 0.18);
}
.category-editorial__image {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.category-editorial__card:hover .category-editorial__image { transform: scale(1.05); }
.category-editorial__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(16,40,31,0.88) 100%);
}
.category-editorial__content {
    position: absolute; inset: auto 0 0 0; padding: 1.25rem 1.35rem;
    color: #fff;
}
.category-editorial__title {
    margin: 0 0 0.2rem;
    font-family: var(--sf-font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}
.category-editorial__desc {
    margin: 0 0 0.45rem; font-size: 0.82rem;
    color: rgba(255,255,255,0.82); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.category-editorial__cta {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--sf-gold);
}

/* Brand editorial — full bleed split */
.brand-editorial {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    min-height: 520px; background: var(--sf-primary-deep);
}
.brand-editorial__media { position: relative; min-height: 360px; }
.brand-editorial__media img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; min-height: inherit;
}
.brand-editorial__panel {
    display: flex; align-items: center;
    padding: clamp(2rem, 5vw, 4rem) 0;
}
.brand-editorial__inner { max-width: 28rem; color: #fff; }
.brand-editorial__title {
    margin: 0 0 1.25rem;
    font-family: var(--sf-font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600; line-height: 1.1;
}
.brand-editorial__text {
    margin-bottom: 2rem; font-size: 1.05rem;
    line-height: 1.75; color: rgba(255,255,255,0.82);
}

/* Trust / social proof */
.trust-editorial { background: var(--sf-surface); }
.trust-editorial__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.trust-editorial__card {
    padding: 2rem 1.75rem;
    background: var(--sf-bg);
    border: 1px solid var(--sf-border);
    text-align: center;
}
.trust-editorial__title {
    margin: 0 0 0.75rem;
    font-family: var(--sf-font-display);
    font-size: 1.25rem; color: var(--sf-primary);
}
.trust-editorial__card p {
    margin: 0; font-size: 0.95rem; color: var(--sf-text-muted); line-height: 1.6;
}
.trust-editorial__quote-mark {
    font-family: var(--sf-font-display);
    font-size: 3rem; line-height: 1; color: var(--sf-gold);
    margin-bottom: 0.5rem;
}
.trust-editorial__meta { margin-top: 0.5rem !important; font-weight: 600; color: var(--sf-brown) !important; }

/* Footer */
.storefront-footer {
    margin-top: 0; background: var(--sf-primary-deep); color: rgba(255,255,255,0.88);
}
.storefront-footer a { color: var(--sf-gold); }
.storefront-footer a:hover { color: #fff; }
.storefront-footer__inner {
    display: grid; grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 2.5rem; padding: 3.5rem 0 2rem;
}
.storefront-footer__logo {
    font-family: var(--sf-font-display);
    font-size: 1.5rem; font-weight: 600; color: #fff;
}
.storefront-footer__tagline {
    margin: 0.65rem 0 0; font-size: 0.9rem;
    color: rgba(255,255,255,0.6); max-width: 20rem; line-height: 1.55;
}
.storefront-footer__column-title {
    margin: 0 0 1rem; font-size: 0.75rem;
    font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
}
.storefront-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.storefront-footer__links a { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.storefront-footer__links a:hover { color: #fff; }
.storefront-footer__contact p { margin: 0 0 0.4rem; font-size: 0.88rem; }
.storefront-footer__label { font-weight: 600; color: #fff; }
.storefront-footer__social-list {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    list-style: none; margin: 0.35rem 0 0; padding: 0;
}
.storefront-footer__menu ul {
    display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
    list-style: none; margin: 0; padding: 0;
}
.storefront-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 0; }
.storefront-footer__copyright { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Legacy */
.store-layout .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

/* Shop page */
.shop-page {
    --shop-sidebar-width: 300px;
    --shop-border: #E8DDCC;
    --shop-surface: #FFFFFF;
    --shop-bg-soft: #F8F5EF;
}

.shop-hero {
    min-height: 220px; border-radius: var(--sf-radius-lg); margin-bottom: 2rem;
    background-size: cover; background-position: center; overflow: hidden;
}
.shop-hero__overlay {
    min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2rem; background: linear-gradient(180deg, rgba(26,18,12,0.15) 0%, rgba(26,18,12,0.72) 100%);
}
.shop-hero__title { margin: 0; font-family: var(--sf-font-display); font-size: clamp(2rem, 4vw, 2.75rem); color: #fff; }
.shop-hero__subtitle { margin: 0.5rem 0 0; color: rgba(255,255,255,0.88); max-width: 36rem; }

.shop-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem; margin-bottom: 1.5rem;
}
.shop-toolbar__actions {
    display: flex; align-items: center; gap: 0.75rem; margin-left: auto;
}

.shop-active-filters {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; flex: 1 1 100%;
}
.filter-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 0.9rem; border-radius: 999px;
    background: var(--shop-surface); border: 1px solid var(--shop-border);
    color: #163A2D; font-size: 0.84rem; font-weight: 600; text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(22, 58, 45, 0.05);
}
.filter-chip:hover {
    border-color: #C8A063;
    background: rgba(200, 160, 99, 0.1);
    box-shadow: 0 4px 12px rgba(22, 58, 45, 0.08);
}
.filter-chip__remove {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.1rem; height: 1.1rem; border-radius: 999px;
    font-size: 0.95rem; line-height: 1; color: #8B5E3C; background: rgba(139, 94, 60, 0.1);
}
.filter-chip--clear {
    border-style: dashed; color: #8B5E3C; background: rgba(248, 245, 239, 0.9);
}

.shop-layout {
    display: grid; grid-template-columns: var(--shop-sidebar-width) minmax(0, 1fr);
    gap: 2rem; align-items: start;
}
.shop-sidebar {
    position: sticky; top: 1.25rem; min-width: 0;
}
.shop-filter-panel {
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(22, 58, 45, 0.07);
    overflow: hidden;
}
.shop-filter-panel__body {
    max-height: calc(100vh - 8rem);
    overflow: auto;
    padding: 0.35rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 94, 60, 0.45) transparent;
}
.shop-filter-panel__body::-webkit-scrollbar { width: 6px; }
.shop-filter-panel__body::-webkit-scrollbar-track { background: transparent; }
.shop-filter-panel__body::-webkit-scrollbar-thumb {
    background: rgba(139, 94, 60, 0.35);
    border-radius: 999px;
}
.shop-filter-section { border-bottom: 1px solid rgba(232, 221, 204, 0.85); }
.shop-filter-section:last-child { border-bottom: 0; }
.shop-filter-section__header { padding: 0; }
.shop-filter-section__toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    gap: 0.75rem; padding: 0.95rem 1.15rem;
    border: 0; background: transparent; cursor: pointer; text-align: left;
    color: #163A2D; font: inherit;
    transition: background-color 0.15s ease;
}
.shop-filter-section__toggle:hover,
.shop-filter-section__toggle:focus-visible {
    background: rgba(248, 245, 239, 0.85);
    outline: none;
}
.shop-filter-section__title {
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em;
    text-transform: uppercase; color: #8B5E3C;
}
.shop-filter-section__chevron {
    width: 0.55rem; height: 0.55rem;
    border-right: 2px solid #8B5E3C;
    border-bottom: 2px solid #8B5E3C;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: -0.15rem;
}
.shop-filter-section.is-open .shop-filter-section__chevron {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
}
.shop-filter-section__body { padding: 0 1.15rem 1.1rem; }
.shop-filter-section:not(.is-open) .shop-filter-section__body { display: none; }
.shop-filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.filter-option-wrap { margin: 0; }
.filter-option {
    display: flex; align-items: center; gap: 0.65rem;
    min-height: 2.5rem; padding: 0.45rem 0.65rem;
    border-radius: 12px; cursor: pointer;
    transition: background-color 0.15s ease;
}
.filter-option:hover { background: rgba(248, 245, 239, 0.95); }
.filter-option__input {
    position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.filter-option__checkbox {
    width: 1.1rem; height: 1.1rem; flex-shrink: 0;
    border: 1.5px solid #C8A063; border-radius: 4px; background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.filter-option__checkbox::after {
    content: '';
    width: 0.35rem; height: 0.6rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) scale(0);
    margin-top: -0.1rem;
    transition: transform 0.15s ease;
}
.filter-option__input:checked + .filter-option__checkbox {
    background: #163A2D; border-color: #163A2D;
}
.filter-option__input:checked + .filter-option__checkbox::after {
    transform: rotate(45deg) scale(1);
}
.filter-option__input:focus-visible + .filter-option__checkbox {
    outline: 2px solid rgba(200, 160, 99, 0.45); outline-offset: 2px;
}
.filter-option__label {
    flex: 1; font-size: 0.9rem; color: #163A2D; line-height: 1.3;
}
.filter-option__count {
    min-width: 1.5rem; padding: 0.15rem 0.45rem; border-radius: 999px;
    background: rgba(200, 160, 99, 0.16); color: #8B5E3C;
    font-size: 0.75rem; font-weight: 700; text-align: center;
}
.shop-filter-control { display: block; }
.shop-filter-control__input {
    width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--shop-border);
    border-radius: 14px; background: var(--shop-bg-soft); font: inherit; color: #163A2D;
}
.shop-filter-control__input:focus {
    outline: 2px solid rgba(22, 58, 45, 0.12); border-color: #163A2D;
}
.price-range { display: grid; gap: 0.9rem; }
.price-range__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.price-range__field { display: grid; gap: 0.35rem; }
.price-range__label {
    font-size: 0.75rem; font-weight: 600; color: #8B5E3C; letter-spacing: 0.03em;
}
.price-range__input { width: 100%; }
.price-range__slider {
    position: relative; height: 2rem; margin-top: 0.15rem;
}
.price-range__track {
    position: absolute; left: 0; right: 0; top: 50%;
    height: 6px; transform: translateY(-50%);
    border-radius: 999px; background: #EDE8DF;
}
.price-range__track-fill {
    position: absolute; top: 0; bottom: 0; left: 0; width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #163A2D 0%, #C8A063 100%);
}
.price-range__range {
    position: absolute; left: 0; right: 0; top: 50%;
    width: 100%; margin: 0; transform: translateY(-50%);
    appearance: none; background: transparent; pointer-events: none;
    height: 6px;
}
.price-range__range::-webkit-slider-thumb {
    appearance: none; pointer-events: auto;
    width: 18px; height: 18px; border-radius: 999px;
    border: 2px solid #fff; background: #163A2D;
    box-shadow: 0 2px 8px rgba(22, 58, 45, 0.25);
    cursor: pointer;
}
.price-range__range::-moz-range-thumb {
    pointer-events: auto;
    width: 18px; height: 18px; border-radius: 999px;
    border: 2px solid #fff; background: #163A2D;
    box-shadow: 0 2px 8px rgba(22, 58, 45, 0.25);
    cursor: pointer;
}
.price-range__range--max { z-index: 2; }
.shop-filter-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
    padding: 1rem 1.15rem 1.15rem;
    border-top: 1px solid var(--shop-border);
    background: linear-gradient(180deg, rgba(248,245,239,0.35) 0%, rgba(248,245,239,0.9) 100%);
}
.shop-filter-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 2.75rem; padding: 0.7rem 1rem;
    border-radius: 999px; font-size: 0.84rem; font-weight: 700;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.shop-filter-btn--primary {
    background: #163A2D; color: #fff; border-color: #163A2D;
}
.shop-filter-btn--primary:hover,
.shop-filter-btn--primary:focus-visible {
    background: #0f2a21; outline: none; transform: translateY(-1px);
}
.shop-filter-btn--secondary {
    background: #fff; color: #8B5E3C; border-color: #C8A063;
}
.shop-filter-btn--secondary:hover,
.shop-filter-btn--secondary:focus-visible {
    background: rgba(200, 160, 99, 0.1); outline: none;
}

.shop-products { min-width: 0; }
.shop-product-grid { margin-bottom: 0.5rem; }
.shop-results-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; color: var(--sf-text-muted); font-weight: 500;
}
.shop-compare-link { font-weight: 600; color: var(--sf-primary); }
.shop-pagination { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; justify-content: center; }
.shop-pagination__info { font-weight: 600; color: var(--sf-brown); }

.shop-sort { margin: 0; }
.shop-sort__select {
    min-width: 11rem; padding: 0.65rem 2rem 0.65rem 0.9rem;
    border: 1px solid var(--shop-border); border-radius: 999px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238B5E3C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
    appearance: none; font: inherit; color: #163A2D; font-weight: 600;
}
.shop-mobile-filter-button {
    display: none; align-items: center; justify-content: center;
    min-height: 2.65rem; padding: 0.65rem 1.15rem; border-radius: 999px;
    border: 1px solid var(--shop-border); background: #163A2D; color: #fff;
    font-weight: 700; cursor: pointer;
    box-shadow: 0 6px 18px rgba(22, 58, 45, 0.18);
}
.shop-mobile-filter-button:hover,
.shop-mobile-filter-button:focus-visible {
    background: #0f2a21; outline: none;
}
.shop-filter-overlay {
    position: fixed; inset: 0; background: rgba(22, 58, 45, 0.42); z-index: 1200;
}
.shop-filter-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(92vw, 380px);
    background: #fff; z-index: 1210; display: flex; flex-direction: column;
    box-shadow: 0 16px 48px rgba(22, 58, 45, 0.2);
}
.shop-filter-drawer[hidden],
.shop-filter-overlay[hidden] { display: none !important; }
body.shop-filter-drawer-open { overflow: hidden; }
.shop-filter-drawer__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.15rem; border-bottom: 1px solid var(--shop-border);
    background: var(--shop-bg-soft);
}
.shop-filter-drawer__title { margin: 0; font-size: 1.1rem; color: #163A2D; font-weight: 700; }
.shop-filter-drawer__close {
    width: 2.35rem; height: 2.35rem; border: 0; border-radius: 999px;
    background: #fff; color: #8B5E3C; font-size: 1.35rem; cursor: pointer;
    border: 1px solid var(--shop-border);
}
.shop-filter-drawer__body {
    flex: 1; overflow: auto; padding: 0;
    scrollbar-width: thin; scrollbar-color: rgba(139, 94, 60, 0.45) transparent;
}
.shop-filter-drawer__body .shop-filter-panel {
    border: 0; border-radius: 0; box-shadow: none;
}
.shop-filter-drawer__body .shop-filter-panel__body { max-height: none; }
.shop-filter-drawer__footer,
.shop-filter-actions--drawer {
    position: sticky; bottom: 0; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
    padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--shop-border);
    background: rgba(248, 245, 239, 0.98);
    backdrop-filter: blur(6px);
}
.shop-empty-state {
    padding: 3rem 1.5rem; text-align: center; border-radius: 20px;
    background: #fff; border: 1px dashed var(--shop-border);
}
.shop-empty-state__message { margin: 0 0 1.25rem; color: var(--sf-text-muted); font-size: 1.05rem; }
.shop-empty-state__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.shop-product-grid.product-grid--premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1280px) {
    .shop-product-grid.product-grid--premium {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; }
    .shop-mobile-filter-button { display: inline-flex; }
    .shop-toolbar__actions { margin-left: 0; width: 100%; justify-content: space-between; }
}

@media (max-width: 768px) {
    .shop-product-grid.product-grid--premium:not(.product-grid--carousel) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .shop-active-filters { gap: 0.45rem; }
}

@media (max-width: 480px) {
    .shop-product-grid.product-grid--premium:not(.product-grid--carousel) {
        grid-template-columns: 1fr;
    }
    .price-range__inputs { grid-template-columns: 1fr; }
    .shop-filter-actions { grid-template-columns: 1fr; }
    .shop-filter-actions--drawer { grid-template-columns: 1fr 1fr; }
}

/* Legacy shop filters (unused) */
.shop-filters { margin-bottom: 1.5rem; }
.storefront-filters__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.shop-empty { padding: 2rem 0; color: var(--sf-text-muted); }

/* Compare page */
.compare-table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--sf-border); vertical-align: top; text-align: left; }
.compare-table th { width: 11rem; font-weight: 600; color: var(--sf-brown); background: rgba(245,240,232,0.5); }
.compare-table__image { max-width: 120px; height: auto; border-radius: var(--sf-radius-sm); }
.compare-table__actions { display: grid; gap: 0.5rem; }
.compare-table__form { margin: 0; }
.compare-clear-form { margin-top: 1rem; }

.product-detail-page__admin-edit { font-weight: 600; color: var(--sf-gold); }

/* Responsive */
@media (max-width: 1100px) {
    .product-grid--premium { grid-template-columns: repeat(3, 1fr); }
    .promo-editorial__grid { grid-template-columns: 1fr; }
    .promo-editorial__card { min-height: 300px; }
    .brand-editorial { grid-template-columns: 1fr; }
    .storefront-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .storefront-header__inner { grid-template-columns: 1fr auto; }
    .storefront-header__center { display: none; }
    .storefront-header__menu-toggle { display: flex; }
    .storefront-search { display: none; }
    .product-grid--premium:not(.product-grid--carousel) { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .trust-editorial__grid { grid-template-columns: 1fr; }
    .hero-section__content { max-width: none; }
    .hero-section__title { font-size: clamp(1.85rem, 7vw, 2.5rem); }
    .storefront-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .product-grid--premium:not(.product-grid--carousel) { grid-template-columns: 1fr; }
    .product-card__media-link { aspect-ratio: 1; }
}

/* F1-A2 / F1-B2 Header promo strip */
.header-promo-strip {
    background: var(--sf-surface);
    border-bottom: 1px solid var(--sf-border);
    padding: 0.5rem 0 max(0.5rem, env(safe-area-inset-bottom, 0));
}
.header-promo-strip__carousel { position: relative; }
.header-promo-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}
.storefront-carousel--promo .header-promo-strip__grid {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.15rem;
}
.storefront-carousel--promo .header-promo-strip__grid::-webkit-scrollbar { display: none; }
.header-promo-strip__card {
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: 0.55rem;
    color: var(--promo-text-color, #fff);
    padding: 0;
    text-decoration: none;
    min-height: 110px;
    max-height: 140px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 40, 31, 0.1);
}
.header-promo-strip__card.header-promo-strip--compact { min-height: 90px; max-height: 110px; }
.header-promo-strip__card.header-promo-strip--standard { min-height: 110px; max-height: 140px; }
.header-promo-strip__card.header-promo-strip--tall { min-height: 140px; max-height: 180px; }
.header-promo-strip__card--has-image { background: var(--promo-fallback-bg, var(--sf-primary-deep)); }
.storefront-carousel--promo .header-promo-strip__card {
    flex: 0 0 min(88vw, 340px);
    scroll-snap-align: start;
}
.header-promo-strip__icon {
    flex: 0 0 auto;
    width: 2.25rem; height: 2.25rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    font-size: 1.1rem;
}
.header-promo-strip__text { min-width: 0; flex: 1 1 auto; }
.header-promo-strip__image-wrap,
.header-promo-strip__image,
.header-promo-strip__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
}
.header-promo-strip__image,
.header-promo-strip__bg {
    object-fit: cover;
    object-position: center center;
}
.header-promo-strip--focus-left .header-promo-strip__image,
.header-promo-strip--focus-left .header-promo-strip__bg { object-position: left center; }
.header-promo-strip--focus-right .header-promo-strip__image,
.header-promo-strip--focus-right .header-promo-strip__bg { object-position: right center; }
.header-promo-strip--focus-center .header-promo-strip__image,
.header-promo-strip--focus-center .header-promo-strip__bg { object-position: center center; }
.header-promo-strip--focus-top .header-promo-strip__image,
.header-promo-strip--focus-top .header-promo-strip__bg { object-position: center top; }
.header-promo-strip--focus-bottom .header-promo-strip__image,
.header-promo-strip--focus-bottom .header-promo-strip__bg { object-position: center bottom; }
.header-promo-strip__overlay,
.header-promo-strip__bg-overlay {
    position: absolute; inset: 0;
    background-color: var(--promo-overlay-color, #10281F);
    opacity: var(--promo-overlay-opacity, 0.35);
}
.header-promo-strip__gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--promo-fallback-bg, #163A2D) 0%, color-mix(in srgb, var(--promo-fallback-bg, #163A2D) 75%, #000) 100%);
}
.header-promo-strip__content {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 0.75rem;
    width: 100%; height: 100%; padding: 0.85rem 1rem;
    box-sizing: border-box;
}
.header-promo-strip--text-left .header-promo-strip__content { justify-content: flex-start; text-align: left; align-items: center; }
.header-promo-strip--text-center .header-promo-strip__content { justify-content: center; text-align: center; align-items: center; }
.header-promo-strip--text-right .header-promo-strip__content { justify-content: flex-end; text-align: right; align-items: center; }
.header-promo-strip--text-bottom-left .header-promo-strip__content { justify-content: flex-start; text-align: left; align-items: flex-end; }
.header-promo-strip--text-bottom-center .header-promo-strip__content { justify-content: center; text-align: center; align-items: flex-end; }
.header-promo-strip--text-bottom-right .header-promo-strip__content { justify-content: flex-end; text-align: right; align-items: flex-end; }
.header-promo-strip__card--align-center .header-promo-strip__content { justify-content: center; text-align: center; }
.header-promo-strip__card--align-right .header-promo-strip__content { justify-content: flex-end; text-align: right; }
.header-promo-strip__card--align-left .header-promo-strip__content { justify-content: flex-start; text-align: left; }
.header-promo-strip__badge,
.header-promo-strip__eyebrow {
    margin: 0 0 0.12rem;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}
.header-promo-strip__title {
    margin: 0;
    font-size: 0.92rem;
    font-family: var(--sf-font-display);
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.header-promo-strip__subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    opacity: 0.9;
    line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.header-promo-strip__cta {
    flex: 0 0 auto;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}
.header-promo-strip__nav {
    display: none;
}
.header-promo-strip__dots { display: none; }

/* F1-A2 Homepage media block */
.homepage-media-block {
    background: linear-gradient(135deg, var(--sf-primary-deep) 0%, var(--sf-primary) 55%, #1f4d3c 100%);
    color: #fff;
}
.homepage-media-block__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
    align-items: center;
}
.homepage-media-block__title {
    font-family: var(--sf-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0.35rem 0;
}
.homepage-media-block__subtitle {
    opacity: 0.9;
    max-width: 34ch;
}
.homepage-media-block__media,
.homepage-media-block__embed {
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}
.homepage-media-block__embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}
.homepage-media-block__image,
.homepage-media-block__video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* F1-A2 Review trust block */
.review-trust-block {
    background: var(--sf-surface);
    border-top: 1px solid var(--sf-border);
}
.review-trust-block__inner {
    text-align: center;
    padding: 2.5rem 0;
}
.review-trust-block__stars {
    color: var(--sf-gold);
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}
.review-trust-block__title {
    font-family: var(--sf-font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 0;
    color: var(--sf-primary);
}
.review-trust-block__subtitle {
    color: var(--sf-text-muted);
    margin: 0.5rem auto 1.25rem;
    max-width: 40ch;
}
.review-trust-block__cta { margin-top: 0.5rem; }

/* F1-B2 Storefront carousel system */
.storefront-carousel { position: relative; }
.storefront-carousel-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.storefront-carousel-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.storefront-carousel-prev,
.storefront-carousel-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--sf-border);
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: var(--sf-primary);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 40, 31, 0.12);
    transition: opacity 0.2s, background 0.2s;
}
.storefront-carousel-prev { left: -0.35rem; }
.storefront-carousel-next { right: -0.35rem; }
.storefront-carousel-prev.is-disabled,
.storefront-carousel-next.is-disabled,
.storefront-carousel-prev:disabled,
.storefront-carousel-next:disabled {
    opacity: 0.35;
    cursor: default;
}
.storefront-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
}
.storefront-carousel-dot {
    width: 1.5rem;
    height: 2px;
    border-radius: 1px;
    background: rgba(22, 58, 45, 0.2);
}
.storefront-carousel-dot.is-active { background: var(--sf-gold); }
.product-showcase__carousel { margin-top: 0.15rem; }
.product-grid--carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
}
.product-showcase__carousel-item {
    flex: 0 0 calc(25% - 0.94rem);
    min-width: 220px;
    scroll-snap-align: start;
}
.storefront-carousel--static .product-grid--premium { overflow: visible; }

@media (max-width: 1024px) {
    :root { --sf-space-section: var(--section-gap-tablet); }
    .hero--compact,
    .hero-section--height-compact { min-height: 320px; max-height: 380px; }
    .hero--standard,
    .hero-section--height-standard { min-height: 380px; max-height: 460px; }
    .hero--large,
    .hero-section--height-large { min-height: 460px; max-height: 520px; }
    .hero-section--layout-split .hero-section__slide.is-active { grid-template-columns: 1fr; }
    .hero-section--layout-split .hero-section__media { grid-column: 1; grid-row: 1; }
    .hero-section--layout-split .hero-section__content { grid-column: 1; }
    .product-showcase__carousel-item { flex-basis: calc(33.333% - 0.85rem); min-width: 200px; }
}

@media (max-width: 900px) {
    .homepage-media-block__inner { grid-template-columns: 1fr; }
    .storefront-carousel-prev,
    .storefront-carousel-next { display: inline-flex; align-items: center; justify-content: center; }
    .storefront-carousel--promo .header-promo-strip__nav { display: inline-flex; align-items: center; justify-content: center; }
    .storefront-carousel--promo .header-promo-strip__dots { display: flex; }
    .storefront-carousel--promo .header-promo-strip__grid { grid-template-columns: none; }
}

@media (max-width: 768px) {
    :root { --sf-space-section: var(--section-gap-mobile); }
    .hero--compact,
    .hero-section--height-compact { min-height: 280px; max-height: 340px; }
    .hero--standard,
    .hero-section--height-standard { min-height: 320px; max-height: 400px; }
    .hero--large,
    .hero-section--height-large { min-height: 400px; max-height: 460px; }
    .storefront-home--tight .storefront-section + .storefront-section { padding-top: var(--section-gap-mobile); }
    .product-showcase__carousel-item { flex-basis: calc(50% - 0.5rem); min-width: 160px; }
    .category-editorial__item { flex-basis: min(260px, 82vw); }
}

@media (max-width: 480px) {
    .product-showcase__carousel-item { flex-basis: min(88vw, 320px); }
    .storefront-carousel-prev { left: 0.15rem; }
    .storefront-carousel-next { right: 0.15rem; }
}
