/* ==========================================================================
   Ragistani Nagra — Storefront Theme
   ========================================================================== */

:root {
    --ink: #111111;
    --ink-soft: #333333;
    --muted: #6f6f6f;
    --line: #e6e6e6;
    --soft: #f5f5f3;
    --white: #ffffff;
    --brand: #7a2131;
    --brand-dark: #5e1824;
    --gold: #bfa06a;
    --sale: #d71920;
    --success: #1f7a3f;
    --font: "Jost", "Helvetica Neue", Arial, sans-serif;
    --container: 1320px;
    --radius: 0px;
    --header-h: 84px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }
.site-main { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; }
p { margin: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 34px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--brand); border-color: var(--brand); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--accent { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn--accent:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: 12px; }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    position: relative;
    color: var(--ink);
    transition: color .2s;
}
.icon-btn:hover { color: var(--brand); }

.link-btn { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft); }

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--white);
}
.badge--sale { background: var(--sale); }
.badge--new { background: var(--ink); }
.badge--out { background: #9a9a9a; }

/* ==========================================================================
   Top bar & Header
   ========================================================================== */

.topbar { background: var(--ink); color: var(--white); font-size: 12px; letter-spacing: .04em; }
.topbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 38px; gap: 16px; }
.topbar__side a { opacity: .8; transition: opacity .2s; }
.topbar__side a:hover { opacity: 1; }
.topbar__side--right { text-align: right; }
.topbar__ticker { position: relative; height: 38px; min-width: 380px; text-align: center; overflow: hidden; }
.topbar__ticker span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    white-space: nowrap;
}
.topbar__ticker span.is-active { opacity: 1; transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.admin-bar .site-header { top: 32px; }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--header-h);
}
.site-logo img { height: 56px; width: auto; }
.mobile-menu-toggle { display: none; }

.main-nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 30px 0;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
.main-nav__sale { color: var(--sale) !important; }

.header-icons { display: flex; align-items: center; gap: 4px; }
.cart-counter-badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--brand);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

/* ==========================================================================
   Overlays, Drawers, Modal, Search, Toast
   ========================================================================== */

.overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.side-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 100;
    width: min(420px, 92vw);
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease);
}
.side-drawer--right { right: 0; transform: translateX(100%); }
.side-drawer--left { left: 0; transform: translateX(-100%); width: min(340px, 86vw); }
.side-drawer.is-open { transform: none; }

.side-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.side-drawer__head h3 { font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.side-drawer__logo { height: 44px; width: auto; }
.side-drawer__body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.side-drawer__foot { padding: 20px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.side-drawer__note { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.subtotal-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; }

.ship-progress { padding: 14px 22px; background: var(--soft); font-size: 13px; }
.ship-progress__bar { height: 4px; background: var(--line); margin-top: 8px; overflow: hidden; }
.ship-progress__bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .5s var(--ease); }

.drawer-loading { padding: 50px 0; text-align: center; color: var(--muted); }
.drawer-empty { padding: 60px 10px; text-align: center; display: grid; justify-items: center; gap: 16px; color: var(--muted); }

.mini-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.mini-item.is-loading { opacity: .4; pointer-events: none; }
.mini-item img { width: 84px; height: 100px; object-fit: cover; background: var(--soft); }
.mini-item__info { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.mini-item__name { font-weight: 500; }
.mini-item__meta { font-size: 12px; color: var(--muted); }
.mini-item__price { font-weight: 500; }
.mini-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cart-remove-btn { font-size: 12px; color: var(--muted); text-decoration: underline; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.qty button { width: 32px; height: 100%; font-size: 16px; }
.qty span { min-width: 28px; text-align: center; font-size: 13px; }
.qty--lg { height: 50px; }
.qty--lg button { width: 42px; }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.mobile-nav { display: flex; flex-direction: column; padding: 8px 0; overflow-y: auto; flex: 1; }
.mobile-nav a { padding: 14px 22px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.mobile-nav__foot { display: grid; gap: 12px; padding: 22px; background: var(--soft); font-size: 14px; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__card {
    position: relative;
    width: min(920px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    transform: translateY(16px);
    transition: transform .35s var(--ease);
}
.modal.is-open .modal__card { transform: none; }
.modal__close { position: absolute; top: 10px; right: 14px; z-index: 2; font-size: 30px; line-height: 1; }
.modal__media { background: var(--soft); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.modal__body { padding: 40px 34px; display: flex; flex-direction: column; }
.modal__body h2 { font-size: 26px; margin-bottom: 10px; }
.modal__price { font-size: 20px; margin-bottom: 14px; }
.modal__desc { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.modal__link { margin-top: 16px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-align: center; }

.opt-label { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.size-btn {
    min-width: 48px;
    height: 44px;
    padding: 0 10px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    font-size: 14px;
    transition: border-color .2s, background .2s, color .2s;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.size-list--sm .size-btn { min-width: 44px; height: 38px; font-size: 13px; }
.color-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.color-swatch {
    width: 34px;
    height: 34px;
    padding: 3px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: transparent;
    cursor: pointer;
    transition: border-color .2s;
}
.color-swatch::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--swatch, #ccc);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.color-swatch:hover { border-color: var(--muted); }
.color-swatch.is-active { border-color: var(--ink); }

/* Search panel */
.search-panel {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 120;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    transform: translateY(-100%);
    transition: transform .4s var(--ease);
}
.search-panel.is-open { transform: none; }
.search-panel__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 90px;
    border-bottom: 1px solid var(--ink);
}
.search-panel__bar input { flex: 1; border: 0; outline: none; font-size: 22px; background: transparent; }
.search-panel__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; padding: 24px 0 34px; }
.search-panel__empty { color: var(--muted); }
.search-hit { display: flex; gap: 14px; align-items: center; padding: 8px; transition: background .2s; }
.search-hit:hover { background: var(--soft); }
.search-hit img { width: 70px; height: 70px; object-fit: cover; }
.search-hit div { display: grid; gap: 2px; font-size: 14px; }

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 200;
    padding: 14px 24px;
    background: var(--ink);
    color: var(--white);
    font-size: 14px;
    transform: translate(-50%, 20px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s, visibility .35s;
    pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 80;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #25d366;
    color: var(--white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* ==========================================================================
   Home: Hero
   ========================================================================== */

.hero { position: relative; overflow: hidden; background: var(--ink); }
.hero__track { position: relative; height: clamp(460px, 72vh, 680px); }
.hero__slide {
    position: absolute;
    inset: 0;
    background: var(--slide-bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s var(--ease), visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--slide-bg) 0%, transparent 35%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero__copy { max-width: 520px; }
.hero__slide--dark .hero__copy { color: var(--white); }
.hero__eyebrow { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 16px; color: var(--gold); }
.hero__slide--light .hero__eyebrow { color: var(--brand); }
.hero__title { font-size: clamp(36px, 4.6vw, 64px); font-weight: 500; line-height: 1.05; margin-bottom: 18px; }
.hero__text { font-size: 17px; opacity: .85; margin-bottom: 32px; max-width: 440px; }

.hero__slide .hero__copy > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero__slide.is-active .hero__copy > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__copy > *:nth-child(2) { transition-delay: .1s; }
.hero__slide.is-active .hero__copy > *:nth-child(3) { transition-delay: .2s; }
.hero__slide.is-active .hero__copy > *:nth-child(4) { transition-delay: .3s; }

.hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity .3s, background .2s;
}
.hero:hover .hero__arrow { opacity: 1; }
.hero__arrow:hover { background: var(--white); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 28px; height: 3px; background: rgba(255, 255, 255, .45); transition: background .3s, width .3s; }
.hero__dots button.is-active { width: 44px; background: var(--white); }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 70px 0; }
.section--tight { padding: 40px 0 60px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.section-link { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.section-link:hover { color: var(--brand); }
.center-cta { text-align: center; margin-top: 40px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cat-tile__img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--soft);
    border: 1px solid var(--line);
    transition: border-color .3s;
}
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-tile__img { border-color: var(--ink); }
.cat-tile:hover .cat-tile__img img { transform: scale(1.08); }
.cat-tile__name { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-top: 14px; }
.tabs__btn {
    position: relative;
    padding: 6px 0;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .2s;
}
.tabs__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); }
.tabs__btn:hover, .tabs__btn.is-active { color: var(--ink); }
.tabs__btn.is-active::after { transform: scaleX(1); }
.product-grid.tab-panel { display: none; }
.product-grid.tab-panel.is-active { display: grid; animation: fadeUp .5s var(--ease); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 20px; }
.product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: thin;
}
.product-row > * { scroll-snap-align: start; }

.p-card { position: relative; display: flex; flex-direction: column; }
.p-card__media { position: relative; overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; }
.p-card__link { display: block; height: 100%; }
.p-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.p-card__img--hover { opacity: 0; }
.p-card:hover .p-card__img { transform: scale(1.05); }
.p-card:hover .p-card__img--hover { opacity: 1; }
.p-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.p-card__qv {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .3s, transform .3s var(--ease), background .2s, color .2s;
}
.p-card__qv:hover { background: var(--ink); color: var(--white); }
.p-card__add {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    height: 44px;
    background: var(--white);
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s, transform .3s var(--ease), background .2s, color .2s;
}
.p-card__add:hover { background: var(--ink); color: var(--white); }
.p-card:hover .p-card__qv, .p-card:hover .p-card__add { opacity: 1; transform: none; }
.p-card__body { padding-top: 14px; display: grid; gap: 4px; }
.p-card__cat { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-card__title { font-size: 15px; font-weight: 500; line-height: 1.35; }
.p-card__title a:hover { color: var(--brand); }
.p-card__price, .pdp__price, .modal__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.p-card__price { font-size: 15px; }
.p-card__price del, .pdp__price del, .modal__price del { color: var(--muted); font-size: .85em; order: 2; }
.p-card__price ins, .pdp__price ins, .modal__price ins { text-decoration: none; color: var(--sale); font-weight: 500; order: 1; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Promo banners */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; background: var(--ink); }
.promo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, 0) 55%); }
.promo:hover img { transform: scale(1.05); }
.promo__copy { position: absolute; left: 34px; bottom: 34px; z-index: 2; color: var(--white); }
.promo__copy p { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.promo__copy h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 18px; }

/* Wide banner */
.wide-banner { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; background: #120b08; color: var(--white); }
.wide-banner > img, .wide-banner > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.wide-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18, 11, 8, .9) 0%, rgba(18, 11, 8, .2) 70%); }
.wide-banner__copy { position: relative; z-index: 2; }
.wide-banner__copy h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 14px; max-width: 520px; }
.wide-banner__copy > p:not(.hero__eyebrow) { max-width: 440px; opacity: .85; margin-bottom: 28px; }

/* Service highlights */
.usp { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__item { display: flex; align-items: center; gap: 16px; padding: 30px 20px; }
.usp__item + .usp__item { border-left: 1px solid var(--line); }
.usp__item svg { flex-shrink: 0; color: var(--brand); }
.usp__item strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.usp__item span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink); color: #cfcfcf; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 50px; padding-top: 70px; padding-bottom: 50px; }
.site-footer__logo { display: inline-block; background: var(--white); padding: 10px 14px; margin-bottom: 20px; }
.site-footer__logo img { height: 52px; width: auto; }
.site-footer__brand p { max-width: 300px; margin-bottom: 22px; }
.site-footer h4 { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { transition: color .2s; }
.site-footer__col a:hover { color: var(--white); }
.site-footer__col > span { color: #9a9a9a; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border: 1px solid #444; border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

.newsletter-form { display: flex; margin: 6px 0 18px; border: 1px solid #555; }
.newsletter-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; background: transparent; color: var(--white); outline: none; }
.newsletter-form input::placeholder { color: #8a8a8a; }
.newsletter-form button { padding: 0 20px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.newsletter-form button:hover { background: var(--brand); color: var(--white); }
.site-footer__contact { font-size: 13px; color: #9a9a9a; line-height: 1.7; }

.site-footer__bottom { border-top: 1px solid #2a2a2a; font-size: 13px; color: #8a8a8a; }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.made-by { display: inline-flex; align-items: center; gap: 10px; color: #8a8a8a; transition: color .2s, opacity .2s; }
.made-by img { height: 40px; width: auto; opacity: .85; transition: opacity .2s; }
.made-by:hover { color: var(--white); }
.made-by:hover img { opacity: 1; }

/* ==========================================================================
   Shop / Archive
   ========================================================================== */

.page-banner { background: var(--soft); padding: 46px 0 50px; text-align: center; border-bottom: 1px solid var(--line); }
.page-banner h1 { font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; letter-spacing: .04em; margin: 10px 0; }
.page-banner p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.page-banner--slim { padding: 30px 0 34px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); padding: 20px 0; }
.breadcrumbs strong { color: var(--ink); font-weight: 500; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs--center { justify-content: center; padding: 0; }

.shop { display: grid; grid-template-columns: 250px 1fr; gap: 44px; padding-top: 40px; padding-bottom: 80px; }
.shop__filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.shop__filters-head h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
.close-filters-btn { display: none; font-size: 28px; }
.filter { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.filter summary::-webkit-details-marker { display: none; }
.filter summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; }
.filter[open] summary::after { content: "−"; }
.filter ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.filter ul a { color: var(--ink-soft); transition: color .2s; }
.filter ul a span { color: var(--muted); font-size: 12px; }
.filter ul a:hover, .filter ul a.is-active { color: var(--ink); font-weight: 500; }
.filter .check { display: inline-flex; align-items: center; gap: 10px; }
.filter .check::before { content: ""; width: 16px; height: 16px; border: 1px solid #bdbdbd; flex-shrink: 0; }
.filter .check.is-active::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--white); }
.filter .size-list { margin: 14px 0 0; }
.shop__filters .btn { margin-top: 20px; }

.shop__toolbar { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.shop__count { color: var(--muted); font-size: 14px; flex: 1; }
.open-filters-btn { display: none; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
    height: 40px;
    padding: 0 36px 0 14px;
    border: 1px solid var(--line);
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px;
    cursor: pointer;
}

.pagination { margin-top: 50px; }
.pagination ul, .woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 0; border: 0 !important; }
.pagination li { border: 0 !important; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border: 1px solid var(--line); font-size: 14px; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.empty-state { text-align: center; padding: 70px 20px; display: grid; justify-items: center; gap: 12px; color: var(--muted); }
.empty-state h3 { color: var(--ink); font-size: 22px; }

/* ==========================================================================
   Product page
   ========================================================================== */

.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-bottom: 40px; }
.pdp__gallery { display: flex; gap: 14px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__thumbs { display: flex; flex-direction: column; gap: 10px; width: 84px; flex-shrink: 0; }
.pdp__thumb { border: 1px solid var(--line); opacity: .65; transition: opacity .2s, border-color .2s; }
.pdp__thumb img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pdp__thumb.is-active, .pdp__thumb:hover { opacity: 1; border-color: var(--ink); }
.pdp__main { position: relative; flex: 1; background: var(--soft); }
.pdp__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp__main .badge { position: absolute; top: 16px; left: 16px; }

.pdp__info { padding-top: 6px; }
.pdp__title { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 14px; }
.pdp__price { font-size: 24px; margin-bottom: 10px; }
.pdp__stock { font-size: 13px; color: var(--success); margin-bottom: 20px; }
.pdp__stock.is-out { color: var(--sale); }
.pdp__short { color: var(--ink-soft); padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.opt-head { display: flex; justify-content: space-between; align-items: center; }
.opt-head .opt-label strong { font-weight: 600; }
.size-guide { margin-bottom: 14px; overflow-x: auto; }
.size-guide table { border-collapse: collapse; width: 100%; font-size: 13px; text-align: center; }
.size-guide th, .size-guide td { border: 1px solid var(--line); padding: 8px 6px; }
.size-guide th { background: var(--soft); }
.pdp__buy { display: flex; gap: 12px; margin-bottom: 12px; }
.pdp__buy .btn { flex: 1; }
.pdp__perks { list-style: none; padding: 22px 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; font-size: 14px; }
.pdp__perks li { display: flex; align-items: center; gap: 14px; }
.pdp__perks svg { flex-shrink: 0; color: var(--brand); }
.accordion { border-top: 1px solid var(--line); }
.accordion:last-of-type { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 18px 0; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; }
.accordion[open] summary::after { content: "−"; }
.accordion__body { padding-bottom: 20px; color: var(--ink-soft); font-size: 14px; }
.accordion__body p + p { margin-top: 10px; }
.pdp__meta { margin-top: 20px; font-size: 13px; color: var(--muted); }
.pdp__meta a { color: var(--ink); }
.pdp__meta a:hover { text-decoration: underline; }

/* ==========================================================================
   Generic pages (cart, checkout, account)
   ========================================================================== */

.page-content { padding-top: 40px; padding-bottom: 80px; }
.page-content .woocommerce a.button,
.page-content .woocommerce button.button,
.page-content .woocommerce input.button,
.page-content .wc-block-components-button:not(.is-link) {
    background: var(--ink) !important;
    color: var(--white) !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 500;
}
.page-content .woocommerce a.button:hover,
.page-content .woocommerce button.button:hover,
.page-content .wc-block-components-button:not(.is-link):hover { background: var(--brand) !important; }
.page-content .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border: 1px solid var(--line); }
.page-content .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.page-content .woocommerce-MyAccount-navigation li.is-active a { background: var(--ink); color: var(--white); }
.page-content input.input-text, .page-content select, .page-content textarea { border: 1px solid var(--line); padding: 10px 12px; border-radius: 0; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 22px; margin-bottom: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .main-nav { gap: 20px; }
    .main-nav a { font-size: 12px; }
    .product-row { grid-auto-columns: calc((100% - 40px) / 3); }
}

@media (max-width: 1024px) {
    :root { --header-h: 68px; }
    .mobile-menu-toggle { display: inline-grid; }
    .main-nav { display: none; }
    .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; }
    .site-logo { justify-self: center; }
    .site-logo img { height: 46px; }
    .header-icons { justify-self: end; }
    .topbar__side { display: none; }
    .topbar__inner { grid-template-columns: 1fr; }
    .topbar__ticker { min-width: 0; }

    .product-grid, .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .usp__grid { grid-template-columns: repeat(2, 1fr); }
    .usp__item:nth-child(3) { border-left: 0; }
    .usp__item:nth-child(n+3) { border-top: 1px solid var(--line); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .shop { grid-template-columns: 1fr; }
    .shop__filters {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        width: min(320px, 88vw);
        padding: 20px 22px;
        overflow-y: auto;
        background: var(--white);
        transform: translateX(-100%);
        transition: transform .4s var(--ease);
    }
    .shop__filters.is-open { transform: none; }
    .close-filters-btn, .open-filters-btn { display: inline-flex; }

    .pdp { grid-template-columns: 1fr; gap: 30px; }
    .pdp__gallery { position: static; }

    .hero__media { width: 100%; }
    .hero__media::before { background: linear-gradient(90deg, var(--slide-bg) 0%, color-mix(in srgb, var(--slide-bg) 55%, transparent) 60%, transparent 100%); }
}

@media (max-width: 782px) {
    .admin-bar .site-header { top: 0; }
}

@media (max-width: 767px) {
    .container { padding: 0 16px; }
    body { font-size: 14px; }
    .icon-btn--desktop { display: none; }
    .icon-btn { width: 38px; }

    .hero__track { height: auto; }
    .hero__slide { position: relative; display: none; }
    .hero__slide.is-active { display: block; }
    .hero__media { position: relative; width: 100%; height: 300px; }
    .hero__media::before { background: linear-gradient(0deg, var(--slide-bg) 0%, transparent 45%); }
    .hero__content { padding-top: 6px; padding-bottom: 60px; }
    .hero__title { font-size: 32px; }
    .hero__text { font-size: 15px; margin-bottom: 24px; }
    .hero__arrow { display: none; }

    .section { padding: 50px 0; }
    .section--tight { padding: 30px 0 46px; }
    .section-head { margin-bottom: 22px; }
    .cat-grid { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .cat-tile { flex: 0 0 104px; scroll-snap-align: start; }
    .cat-tile__name { font-size: 12px; }

    .product-grid, .product-grid--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
    .tabs { gap: 6px 18px; }
    .tabs__btn { font-size: 12px; }
    .product-row { grid-auto-columns: 46%; gap: 12px; }
    .p-card__add { opacity: 1; transform: none; height: 38px; font-size: 11px; left: 8px; right: 8px; bottom: 8px; background: rgba(255, 255, 255, .94); }
    .p-card__qv { display: none; }
    .p-card__title { font-size: 14px; }

    .promo-grid { grid-template-columns: 1fr; }
    .promo__copy { left: 22px; bottom: 22px; }
    .wide-banner { min-height: 420px; }
    .wide-banner::before { background: linear-gradient(0deg, rgba(18, 11, 8, .92) 10%, rgba(18, 11, 8, .2) 100%); }
    .wide-banner { align-items: flex-end; padding-bottom: 40px; }

    .usp__item { flex-direction: column; text-align: center; padding: 22px 10px; gap: 10px; }
    .usp__item strong { font-size: 12px; }
    .usp__item span { font-size: 12px; }

    .site-footer__grid { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; }
    .site-footer__bottom-inner { flex-direction: column; text-align: center; gap: 6px; }

    .modal { padding: 0; align-items: end; }
    .modal__card { grid-template-columns: 1fr; max-height: 92vh; }
    .modal__media img { aspect-ratio: 4 / 3; }
    .modal__body { padding: 24px 20px; }

    .search-panel__bar { height: 70px; }
    .search-panel__bar input { font-size: 18px; }

    .pdp__thumbs { display: none; }
    .shop { padding-top: 24px; }
    .shop__toolbar { flex-wrap: wrap; }
    .shop__count { order: 3; flex-basis: 100%; }
    .wa-float { width: 48px; height: 48px; right: 16px; bottom: 16px; }
}
