/* ==========================================================================
   Arcadian storefront - single stylesheet
   Sections: 1 tokens/fonts  2 reset/base  3 layout utils  4 header/nav
             5 hero  6 sections/carousel  7 product card/grid  8 collection
             9 product page  10 quick view  11 footer  12 misc/responsive
   ========================================================================== */

/* 1. Tokens + self-hosted font ------------------------------------------- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ink: #1a1d21;
  --text: #2b2f36;
  --muted: #6b7079;
  --line: #e5e7ea;
  --line-strong: #cfd3d8;
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-2: #ededed;
  --sale: #d0021b;
  --badge-new: #1d6ce0;
  --badge-sale: #e02020;
  --badge-soldout: #6b7079;
  --focus: #1d6ce0;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --container: 1440px;
  --gutter: 20px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --gutter: 40px; --header-h: 80px; } }

/* 2. Reset + base --------------------------------------------------------- */
*, *::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.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; }
.icon--solid { fill: currentColor; stroke: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }

/* 3. Layout utilities ----------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 1100px; }
.section { padding: 40px 0; }
@media (min-width: 900px) { .section { padding: 64px 0; } }
.section--tight { padding-top: 16px; }
.section__head { text-align: center; margin-bottom: 24px; }
.section__title { font-size: 26px; font-weight: 400; letter-spacing: .01em; }
@media (min-width: 900px) { .section__title { font-size: 34px; } }
.section__sub { color: var(--muted); margin-top: 8px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section--grey { background: var(--surface); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: var(--radius); font-size: 13px; letter-spacing: .06em;
  border: 1px solid var(--ink); background: var(--ink); color: #fff; transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 50px; font-size: 14px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.link { text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* 4. Header + navigation -------------------------------------------------- */
.announce {
  background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .04em; text-align: center; height: 34px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.announce__item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; opacity: 0; transition: opacity .5s var(--ease); }
.announce__item.is-active { opacity: 1; }

.header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.header.is-stuck { box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 12px; }
.header__left, .header__right { display: flex; align-items: center; gap: 4px; }
.header__right { justify-content: flex-end; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); position: relative; transition: background .2s var(--ease); }
.icon-btn:hover { background: var(--surface); }
.icon-btn .icon { width: 24px; height: 24px; }
.icon-btn__label { display: none; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .header__search-btn { width: auto; padding: 0 12px; border-radius: 22px; gap: 10px; }
  .header__search-btn .icon-btn__label { display: inline; }
}
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 500; display: flex; align-items: center; justify-content: center;
}
.cart-count.is-zero { display: none; }
.logo { display: inline-flex; align-items: center; justify-content: center; }
.logo img { height: 40px; width: auto; }
@media (min-width: 900px) { .logo img { height: 52px; } }
.nav-toggle { display: inline-flex; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

/* Desktop nav */
.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: block; border-top: 1px solid var(--line); }
  .nav__list { display: flex; justify-content: center; gap: 8px; }
  .nav__item { position: relative; }
  .nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 14px 16px; font-size: 15px; color: var(--ink); position: relative; }
  .nav__link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
  .nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__item:hover > .nav__link::after, .nav__item.is-open > .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .nav__item:hover > .nav__link .icon, .nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }
  .mega {
    position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(6px); min-width: 280px; background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow); padding: 24px 28px; display: flex; gap: 40px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    z-index: 70; white-space: nowrap;
  }
  .nav__item:hover > .mega, .nav__item.is-open > .mega, .nav__item:focus-within > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
  .mega--wide { left: 0; right: 0; transform: translateY(6px); border-left: 0; border-right: 0; justify-content: flex-start; flex-wrap: wrap; gap: 32px 48px; padding: 28px var(--gutter); }
  .nav__item:hover > .mega--wide, .nav__item.is-open > .mega--wide, .nav__item:focus-within > .mega--wide { transform: translateY(0); }
  .nav__item--wide { position: static; }
  .mega__col { min-width: 160px; }
  .mega__title { font-size: 14px; color: var(--ink); margin-bottom: 10px; display: block; }
  .mega__title:hover { text-decoration: underline; }
  .mega__col a:not(.mega__title) { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; }
  .mega__col a:not(.mega__title):hover { color: var(--ink); }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 380px); background: #fff; transform: translateX(-100%);
  transition: transform .3s var(--ease); display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); min-height: 56px; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__link, .drawer__acc > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-size: 16px; color: var(--ink); list-style: none; cursor: pointer; }
.drawer__acc > summary::-webkit-details-marker { display: none; }
.drawer__acc > summary .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.drawer__acc[open] > summary .icon { transform: rotate(180deg); }
.drawer__sub { background: var(--surface); padding: 6px 0 10px; }
.drawer__sub-title { display: block; padding: 10px 20px 4px; font-size: 14px; color: var(--ink); }
.drawer__sub a:not(.drawer__sub-title) { display: block; padding: 7px 20px 7px 32px; font-size: 14px; color: var(--muted); }
.drawer__foot { margin-top: auto; padding: 16px 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.drawer__foot a { display: flex; gap: 10px; align-items: center; }

/* Search overlay */
.search { position: fixed; inset: 0; z-index: 95; background: rgba(255, 255, 255, .97); display: none; padding-top: 12vh; }
.search.is-open { display: block; }
.search__close { position: absolute; top: 14px; right: 14px; }
.search__form { position: relative; max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.search__input { width: 100%; border: 0; border-bottom: 2px solid var(--ink); padding: 14px 44px 14px 0; font-size: clamp(20px, 3vw, 28px); background: transparent; outline: none; }
.search__submit { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
.search__results { max-width: 720px; margin: 24px auto 0; padding: 0 var(--gutter); display: grid; gap: 10px; }
.search__result { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: var(--radius); }
.search__result:hover { background: var(--surface); }
.search__result img { width: 48px; height: 60px; object-fit: cover; border-radius: 3px; }
.search__result span { color: var(--sale); font-size: 13px; }
.search__hint { max-width: 720px; margin: 20px auto 0; padding: 0 var(--gutter); color: var(--muted); font-size: 14px; }

/* Breadcrumbs */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); padding: 14px 0; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb .icon { width: 12px; height: 12px; }
.breadcrumb [aria-current] { color: var(--ink); }

/* 5. Hero slider ---------------------------------------------------------- */
.hero { position: relative; }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.hero__slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 700px) { .hero__slide img { aspect-ratio: 16 / 7; } }
.hero__content { position: absolute; left: var(--gutter); bottom: 12%; max-width: 560px; }
.hero__content .btn { margin-top: 0; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 1px solid rgba(0, 0, 0, .25); transition: transform .2s, background .2s; }
.hero__dot.is-active { background: var(--ink); transform: scale(1.15); }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--ink); display: none; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.hero__arrow:hover { background: #fff; }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }
@media (min-width: 900px) { .hero__arrow { display: inline-flex; } }

.intro { text-align: center; padding: 40px 0 8px; }
.intro__title { font-size: 26px; margin-bottom: 12px; }
@media (min-width: 900px) { .intro__title { font-size: 34px; } }
.intro__text { color: var(--muted); max-width: 820px; margin: 0 auto 20px; }

/* 6. Carousel + promo blocks ---------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2); gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; scroll-behavior: smooth;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .carousel__track { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; } }
@media (min-width: 1024px) { .carousel__track { grid-auto-columns: calc((100% - 48px) / 4); } }
@media (min-width: 1300px) { .carousel__track { grid-auto-columns: calc((100% - 64px) / 5); } }
.carousel__arrow {
  position: absolute; top: 34%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .15); display: none; align-items: center; justify-content: center; transition: opacity .2s;
}
.carousel__arrow--prev { left: -8px; }
.carousel__arrow--next { right: -8px; }
.carousel__arrow[disabled] { opacity: .3; cursor: default; }
@media (min-width: 900px) { .carousel__arrow { display: inline-flex; } .carousel__arrow--prev { left: -20px; } .carousel__arrow--next { right: -20px; } }

.promo-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .promo-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.promo { display: grid; gap: 16px; }
.promo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.promo__body { text-align: center; padding: 0 12px; }
.promo__text { color: var(--muted); margin-bottom: 14px; }
.promo--overlay { position: relative; }
.promo--overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 60%); pointer-events: none; }
.promo--overlay .promo__body { position: absolute; inset: auto 0 10%; color: #fff; z-index: 1; }
.promo--overlay .promo__text { color: rgba(255, 255, 255, .9); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(9, 1fr); } }
.tile { text-align: center; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform .3s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile span { display: block; margin-top: 10px; font-size: 13px; color: var(--ink); }

.wide-banner { position: relative; }
.wide-banner img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 700px) { .wide-banner img { aspect-ratio: 16 / 7; } }
.wide-banner__body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gutter); gap: 12px; }
.wide-banner__body h2 { font-size: clamp(24px, 4vw, 40px); }
.wide-banner--dark .wide-banner__body { color: #fff; }
.wide-banner--dark .wide-banner__body h2 { color: #fff; }

.trio { display: grid; gap: 20px; }
@media (min-width: 700px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.trio__item img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; margin-bottom: 14px; }
.trio__item h3 { font-size: 20px; margin-bottom: 6px; }
.trio__item p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* 7. Product card + grid -------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.card__img--alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img--alt { opacity: 1; }
  .card:hover .card__img--main { transform: scale(1.02); }
}
.card__link { position: absolute; inset: 0; z-index: 1; }
.badge { position: absolute; top: 10px; z-index: 2; font-size: 10px; letter-spacing: .04em; padding: 3px 7px; color: #fff; border-radius: 2px; line-height: 1.4; }
.badge--new { left: 10px; background: var(--badge-new); }
.badge--sale { right: 10px; background: var(--badge-sale); }
.badge--soldout { right: 10px; background: var(--badge-soldout); }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; min-height: 40px; background: rgba(255, 255, 255, .95); color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--radius); font-size: 12px; letter-spacing: .06em; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.card__quick:hover { background: var(--ink); color: #fff; }
@media (hover: hover) {
  .card__quick { opacity: 0; transform: translateY(8px); }
  .card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
}
.card__body { padding: 12px 4px 0; text-align: center; }
.card__title { font-size: 13px; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { text-decoration: underline; }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px; margin-top: 6px; font-size: 13px; }
.price__from { color: var(--muted); }
.price__now { color: var(--sale); font-weight: 500; }
.price__now--regular { color: var(--ink); }
.price__was { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.card__swatches { display: flex; justify-content: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.swatch-thumb { width: 44px; padding-bottom: 6px; border-bottom: 2px solid transparent; transition: border-color .2s; }
.swatch-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.swatch-thumb.is-active { border-color: var(--ink); }
.swatch-thumb:hover { border-color: var(--line-strong); }
.card--soldout .card__media img { opacity: .75; }

.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 640px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; } }
@media (min-width: 1024px) { .grid-products { grid-template-columns: repeat(4, 1fr); gap: 40px 20px; } }
.grid-products--related { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid-products--related { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-products--related { grid-template-columns: repeat(5, 1fr); } }

.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.skeleton-card .card__media { aspect-ratio: 4 / 5; }
.skeleton-card .skeleton-line { height: 12px; margin: 12px auto 0; width: 70%; border-radius: 3px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h2 { margin-bottom: 8px; }

/* 8. Collection page ------------------------------------------------------ */
.collection__head { text-align: center; padding: 8px 0 20px; }
.collection__head h1 { font-size: 28px; }
@media (min-width: 900px) { .collection__head h1 { font-size: 36px; } }
.collection__head p { color: var(--muted); margin-top: 8px; max-width: 700px; margin-left: auto; margin-right: auto; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; position: relative; z-index: 5; }
.toolbar__filters { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.toolbar__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.toolbar__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.filter { position: relative; }
.filter > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; cursor: pointer; background: #fff; user-select: none; }
.filter > summary::-webkit-details-marker { display: none; }
.filter > summary .icon { width: 14px; height: 14px; }
.filter[open] > summary { border-color: var(--ink); }
.filter[open] > summary .icon { transform: rotate(180deg); }
.filter__count { background: var(--ink); color: #fff; border-radius: 10px; font-size: 10px; padding: 0 6px; line-height: 16px; }
.filter__panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 220px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px; display: grid; gap: 6px; }
.filter__panel label { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 4px 2px; cursor: pointer; }
.filter__panel input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--ink); }
.filter__range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter__range input { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.filter__actions { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; }
.filter__actions button { text-decoration: underline; text-underline-offset: 3px; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; -webkit-appearance: none; padding: 8px 32px 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 13px; cursor: pointer; }
.select .icon { position: absolute; right: 10px; width: 14px; height: 14px; pointer-events: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 10px; background: var(--surface); border-radius: 20px; font-size: 12px; }
.chip .icon { width: 12px; height: 12px; }
.chip button { display: inline-flex; }
.load-more { text-align: center; margin-top: 40px; }
.load-more p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

/* 9. Product detail page -------------------------------------------------- */
.pdp { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; } }
.pdp__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pdp__prevnext { display: flex; gap: 12px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.pdp__prevnext a { display: inline-flex; align-items: center; gap: 4px; }
.pdp__prevnext a:hover { color: var(--ink); }
.pdp__prevnext .icon { width: 12px; height: 12px; }
.gallery { display: grid; gap: 10px; }
.gallery__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
@media (hover: hover) and (min-width: 900px) { .gallery__main:hover img { transform: scale(1.35); } .gallery__main { cursor: zoom-in; } }
.gallery__main .badge { top: 12px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery__thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border: 1px solid transparent; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink); }
.pdp__title { font-size: 24px; line-height: 1.25; }
@media (min-width: 900px) { .pdp__title { font-size: 28px; } }
.pdp__price { margin: 10px 0 6px; }
.pdp__price .price { font-size: 22px; gap: 10px; }
.pdp__price .price__was { font-size: 15px; }
.pdp__sku { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.opt { margin-top: 22px; }
.opt__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--muted); margin-bottom: 8px; letter-spacing: .02em; }
.opt__label strong { color: var(--ink); font-weight: 400; margin-left: 6px; }
.opt__label a { text-decoration: underline; text-underline-offset: 3px; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 13px; color: var(--ink); background: #fff; display: inline-flex; align-items: center; justify-content: center; position: relative; transition: all .15s var(--ease); }
.pill:hover { border-color: var(--ink); }
.pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill--color { padding: 0 18px; }
.pill.is-unavailable { color: var(--muted); border-style: dashed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)); }
.pill.is-unavailable.is-active { background: var(--ink); color: #fff; }
.more-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.more-colors a { width: 56px; border-bottom: 2px solid transparent; padding-bottom: 4px; }
.more-colors a img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); }
.more-colors a.is-active { border-color: var(--ink); }
.stock { font-size: 13px; margin-top: 22px; display: flex; align-items: center; gap: 8px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2eaa5e; }
.stock--low { color: var(--sale); }
.stock--low::before { background: var(--sale); }
.stock--out { color: var(--muted); }
.stock--out::before { background: var(--muted); }
.qty { margin-top: 16px; }
.qty .select, .qty select { width: 100%; }
.qty select { min-height: 48px; padding-left: 14px; }
.qty__label { position: absolute; top: 4px; left: 14px; font-size: 10px; color: var(--muted); letter-spacing: .06em; pointer-events: none; }
.qty select { padding-top: 14px; }
.pdp__actions { display: grid; gap: 10px; margin-top: 14px; }
.pdp__desc { margin-top: 28px; font-size: 14px; color: var(--text); }
.pdp__desc p { margin-bottom: 12px; }
.pdp__desc ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; }
.pdp__help { margin-top: 24px; font-size: 12px; color: var(--muted); }
.pdp__help strong { display: block; color: var(--ink); font-weight: 500; letter-spacing: .06em; margin-bottom: 4px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-size: 14px; opacity: 0; pointer-events: none; z-index: 200; transition: all .3s var(--ease); display: flex; gap: 10px; align-items: center; max-width: 92vw; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 18px; height: 18px; }

/* 10. Quick view modal ---------------------------------------------------- */
.qv { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 4vh 12px; overflow-y: auto; }
.qv.is-open { display: flex; }
.qv__backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); }
.qv__dialog { position: relative; width: 100%; max-width: 680px; background: #fff; border-radius: 6px; box-shadow: var(--shadow); animation: qv-in .25s var(--ease); }
@keyframes qv-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.qv__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 24px; }
.qv__more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--ink); }
.qv__more .icon { width: 14px; height: 14px; }
.qv__strip { position: relative; margin: 0 24px; }
.qv__images { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.qv__images::-webkit-scrollbar { display: none; }
.qv__images img { flex: 0 0 auto; height: 260px; width: auto; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; background: var(--surface); }
@media (min-width: 640px) { .qv__images img { height: 300px; } }
.qv__tag { position: absolute; left: 0; bottom: 0; background: var(--sale); color: #fff; font-size: 11px; padding: 4px 8px; }
.qv__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 24px 0; }
.qv__title { font-size: 14px; color: var(--ink); }
.qv__title a:hover { text-decoration: underline; }
.qv__meta .price { justify-content: flex-start; margin-top: 4px; font-size: 15px; }
.qv__nav { display: flex; gap: 6px; }
.qv__nav button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.qv__nav button[disabled] { opacity: .3; cursor: default; }
.qv__form { background: var(--surface); margin-top: 18px; padding: 20px 24px 24px; border-radius: 0 0 6px 6px; display: grid; gap: 16px; }
.qv__options { display: grid; gap: 16px; }
@media (min-width: 640px) { .qv__options { grid-template-columns: 1fr 1fr; } }
.qv__form .opt { margin-top: 0; }
.qv__form .pill { background: #fff; }
.qv__form .pill.is-active { background: var(--ink); }
.qv__actions { display: grid; gap: 10px; }
@media (min-width: 640px) { .qv__actions { grid-template-columns: 1fr 1fr 1fr; align-items: end; } }
.qv__actions .qty { margin-top: 0; }
.qv__actions .qty select { background: #fff; }

/* 11. Footer -------------------------------------------------------------- */
.newsletter { background: var(--surface); padding: 40px 0; text-align: center; }
.newsletter h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.newsletter p { color: var(--muted); font-size: 14px; margin: 8px 0 18px; }
.newsletter__form { display: flex; max-width: 460px; margin: 0 auto; border-bottom: 1px solid var(--line-strong); gap: 8px; }
.newsletter__form input { flex: 1; border: 0; background: transparent; padding: 10px 4px; font-size: 14px; outline: none; }
.newsletter__form .btn { min-height: 40px; background: #fff; color: var(--ink); border-color: var(--line-strong); }
.newsletter__form .btn:hover { background: var(--ink); color: #fff; }
.newsletter__msg { font-size: 13px; margin-top: 10px; min-height: 1.4em; color: var(--ink); }
.footer { background: var(--surface); padding: 12px 0 28px; font-size: 12px; color: var(--muted); }
.footer__inner { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.footer__follow { margin-bottom: 40px; }
.footer__follow h3 { font-size: 13px; font-weight: 400; margin-bottom: 10px; color: var(--ink); }
.social { display: flex; gap: 14px; }
.social a { display: inline-flex; color: var(--ink); }
.social .icon { width: 20px; height: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 8px; }
.footer__links a { color: var(--ink); padding: 0 10px; border-left: 1px solid var(--line-strong); }
.footer__links li:first-child a { padding-left: 0; border-left: 0; }
.footer__links a:hover { text-decoration: underline; }

/* 12. Cart page ----------------------------------------------------------- */
.page-title { font-size: 28px; margin: 8px 0 24px; }
@media (min-width: 900px) { .page-title { font-size: 36px; } }
.cart-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cart-table th { text-align: left; font-weight: 400; color: var(--muted); font-size: 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.cart-table th:not(:first-child), .cart-table td:not(:first-child) { text-align: right; }
.cart-table td { padding: 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-item { display: flex; gap: 18px; align-items: flex-start; }
.cart-item img { width: 90px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface); flex: none; }
.cart-item__title { color: var(--ink); font-size: 14px; }
.cart-item__title:hover { text-decoration: underline; }
.cart-item__meta { color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.7; }
.cart-item__mobile-price { display: none; color: var(--ink); margin-top: 8px; }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty-ctrl button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.qty-ctrl button:hover { background: var(--surface); }
.qty-ctrl input { width: 40px; height: 34px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); -moz-appearance: textfield; }
.qty-ctrl input::-webkit-outer-spin-button, .qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-remove { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.cart-remove:hover { color: var(--ink); }
.cart-remove .icon { width: 12px; height: 12px; }
.cart-foot { display: grid; gap: 24px; padding: 28px 0 40px; }
@media (min-width: 800px) { .cart-foot { grid-template-columns: 1fr 360px; align-items: start; } }
.cart-note label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cart-note textarea { width: 100%; min-height: 110px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; resize: vertical; }
.cart-summary { border: 1px solid var(--line); padding: 22px; border-radius: 6px; display: grid; gap: 12px; font-size: 14px; }
.cart-summary__row { display: flex; justify-content: space-between; }
.cart-summary__row--total { font-size: 18px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }
.cart-summary small { color: var(--muted); font-size: 12px; }
.cart-empty { text-align: center; padding: 60px 0 80px; }
.cart-empty .icon { width: 56px; height: 56px; color: var(--line-strong); margin: 0 auto 16px; }
.cart-empty h2 { margin-bottom: 8px; }
.cart-empty p { color: var(--muted); margin-bottom: 20px; }
@media (max-width: 639px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .cart-table td:not(:first-child) { text-align: left; }
  .cart-table td.cart-col-price { display: none; }
  .cart-table td.cart-col-total { text-align: right; align-self: center; color: var(--ink); }
  .cart-item__mobile-price { display: block; }
}

/* 13. Checkout / confirmation (minimal chrome) ---------------------------- */
.mini-header { border-bottom: 1px solid var(--line); background: #fff; }
.mini-header .container { display: flex; align-items: center; justify-content: center; height: 66px; }
.mini-header .logo img { height: 44px; }
.checkout { display: grid; }
@media (min-width: 1000px) {
  .checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 66px); }
  .checkout__main { border-right: 1px solid var(--line); padding: 36px clamp(24px, 5vw, 80px) 48px; display: flex; justify-content: flex-end; }
  .checkout__aside { background: #fafafa; padding: 36px clamp(24px, 5vw, 80px) 48px; }
  .checkout__main > form, .checkout__main > .confirm { width: 100%; max-width: 520px; }
  .checkout__aside > div { max-width: 460px; position: sticky; top: 24px; }
}
@media (max-width: 999px) {
  .checkout__aside { order: -1; background: #fafafa; border-bottom: 1px solid var(--line); padding: 20px var(--gutter); }
  .checkout__main { padding: 28px var(--gutter) 48px; }
}
.co-section { margin-bottom: 30px; }
.co-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.co-section h2 { font-size: 20px; }
.co-section__sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; padding: 18px 12px 6px; font-size: 14px; background: #fff; min-height: 50px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { padding-top: 22px; min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; }
.field > label { position: absolute; left: 13px; top: 15px; font-size: 14px; color: var(--muted); pointer-events: none; transition: all .15s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field select + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: 11px; }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.field .icon--chev { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--sale); box-shadow: 0 0 0 1px var(--sale); }
.field__error { display: none; font-size: 12px; color: var(--sale); margin-top: 4px; }
.field.is-invalid .field__error { display: block; }
.field-row { display: grid; gap: 12px; }
@media (min-width: 560px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }
.fields { display: grid; gap: 12px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-top: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.choice-group { border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.choice { display: flex; align-items: center; gap: 12px; padding: 14px; border-top: 1px solid var(--line-strong); font-size: 14px; cursor: pointer; background: #fff; transition: background .15s; }
.choice:first-child { border-top: 0; }
.choice input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.choice.is-active { background: #f6f6fb; box-shadow: inset 0 0 0 1px var(--ink); position: relative; z-index: 1; }
.choice__label { flex: 1; }
.choice__price { color: var(--ink); }
.choice__note { font-size: 12px; color: var(--muted); margin-left: 30px; }
.card-brands { display: flex; gap: 4px; }
.card-brands span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 22px; border-radius: 3px; font-size: 9px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.brand-visa { background: #1a1f71; }
.brand-mc { background: #eb001b; }
.brand-up { background: #0f6db3; }
.choice-body { padding: 14px; background: var(--surface); border-top: 1px solid var(--line-strong); font-size: 13px; color: var(--muted); display: grid; gap: 12px; }
.choice-body[hidden] { display: none; }
.co-footer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; }
.co-footer a { color: var(--badge-new); text-decoration: underline; }
.summary-item { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 13px; }
.summary-item__img { position: relative; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 6px; background: #fff; flex: none; }
.summary-item__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.summary-item__qty { position: absolute; top: -8px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #666; color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.summary-item__body { flex: 1; color: var(--ink); }
.summary-item__meta { color: var(--muted); font-size: 12px; }
.summary-item__price { color: var(--ink); white-space: nowrap; }
.discount { display: flex; gap: 10px; margin: 16px 0; }
.discount .field { flex: 1; }
.discount .field input { padding: 12px; min-height: 48px; }
.discount .field > label { display: none; }
.discount .field input::placeholder { color: var(--muted); }
.discount .btn { min-height: 48px; background: #f0f0f0; color: var(--muted); border-color: #f0f0f0; }
.discount .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.discount__msg { font-size: 12px; margin: -8px 0 12px; min-height: 1.2em; }
.discount__msg.is-ok { color: #1a8a45; }
.discount__msg.is-err { color: var(--sale); }
.totals { display: grid; gap: 8px; font-size: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.totals__row { display: flex; justify-content: space-between; }
.totals__row--total { font-size: 18px; color: var(--ink); font-weight: 500; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.totals__row--total small { font-size: 11px; color: var(--muted); font-weight: 400; margin-right: 6px; }

.confirm__head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.confirm__check { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.confirm__check .icon { width: 24px; height: 24px; }
.confirm__head small { display: block; font-size: 12px; color: var(--muted); }
.confirm__head h1 { font-size: 20px; }
.box { border: 1px solid var(--line-strong); border-radius: 6px; padding: 18px; margin-bottom: 14px; font-size: 13px; }
.box h2 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.box p { color: var(--muted); }
.box__grid { display: grid; gap: 18px; margin-top: 14px; }
@media (min-width: 560px) { .box__grid { grid-template-columns: 1fr 1fr; } }
.box__grid h3 { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.box__grid p { color: var(--text); line-height: 1.6; }
.confirm__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; font-size: 13px; }
.confirm__actions a.link { color: var(--badge-new); }

/* 14. Info / static pages -------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; padding: 8px 0 40px; font-size: 14px; color: var(--text); }
.prose h1 { font-size: 30px; margin-bottom: 20px; }
@media (min-width: 900px) { .prose h1 { font-size: 36px; } }
.prose h2 { font-size: 24px; margin: 30px 0 12px; }
.prose h3 { font-size: 18px; margin: 24px 0 10px; }
.prose h4 { font-size: 14px; font-weight: 500; margin: 20px 0 8px; }
.prose p { margin-bottom: 12px; line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; display: grid; gap: 4px; }
.prose strong { font-weight: 500; color: var(--ink); }
.prose .lead { font-size: 16px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 12px 0 24px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 480px; }
.size-table th, .size-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: center; }
.size-table th { background: var(--surface); font-weight: 500; }
.size-table td:first-child, .size-table th:first-child { text-align: left; font-weight: 500; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tab { padding: 10px 16px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tab.is-active { color: var(--ink); border-color: var(--ink); }
.tab-panel[hidden] { display: none; }

.stores { display: grid; gap: 24px; }
@media (min-width: 900px) { .stores { grid-template-columns: 280px 1fr; align-items: start; } }
.stores__filters { display: grid; gap: 10px; }
.store-list { display: grid; gap: 14px; }
@media (min-width: 640px) { .store-list { grid-template-columns: 1fr 1fr; } }
.store { border: 1px solid var(--line); border-radius: 6px; padding: 18px; font-size: 13px; }
.store h3 { font-size: 15px; margin-bottom: 6px; }
.store p { color: var(--muted); line-height: 1.7; }
.store a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.store__city { display: inline-block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

.contact { display: grid; gap: 40px; padding-bottom: 40px; }
.contact__form { max-width: 680px; margin: 0 auto; width: 100%; }
.contact__form h1 { font-size: 30px; margin-bottom: 26px; }
.contact__info { background: var(--surface); padding: 40px var(--gutter); }
.contact__info-inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 30px; align-items: center; text-align: center; }
@media (min-width: 800px) { .contact__info-inner { grid-template-columns: 1fr 1fr; } }
.contact__info img { max-width: 220px; margin: 0 auto; }
.contact__info h2 { font-size: 26px; margin-bottom: 8px; }
.contact__info p { color: var(--text); font-size: 14px; line-height: 1.9; }
.contact__info a { color: var(--ink); }
.contact__info a:hover { text-decoration: underline; }
.form-msg { margin-top: 12px; font-size: 13px; min-height: 1.4em; }
.form-msg.is-ok { color: #1a8a45; }
.form-msg.is-err { color: var(--sale); }

/* 15. Account (sign in / register) ---------------------------------------- */
.auth { min-height: calc(100vh - 66px); display: flex; justify-content: center; padding: 48px var(--gutter) 80px; }
.auth__card { width: 100%; max-width: 420px; }
.auth__card h1 { font-size: 22px; margin-bottom: 4px; }
.auth__card .sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.auth__or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 16px 0; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth__legal { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }
.auth__legal a { text-decoration: underline; }
.auth__switch { text-align: center; font-size: 13px; margin-top: 22px; }
.auth__switch button { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.auth__foot { text-align: center; margin-top: 40px; font-size: 12px; }
.auth__foot a { color: var(--badge-new); text-decoration: underline; }
.auth-panel[hidden] { display: none; }
.field--btn { display: flex; gap: 8px; }
.field--btn .field { flex: 1; }
.btn--icon { width: 50px; min-height: 50px; padding: 0; }
.account-menu { display: grid; gap: 8px; margin-top: 20px; font-size: 14px; }
.account-menu a, .account-menu button { display: flex; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; text-align: left; }
.account-menu a:hover, .account-menu button:hover { background: var(--surface); }

/* 16. Misc ---------------------------------------------------------------- */
.noscript-nav { padding: 20px var(--gutter); background: #fff3cd; color: #6b5300; font-size: 14px; }
.noscript-nav a { text-decoration: underline; margin-right: 10px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
