/* ==========================================================================
   Los Unicos — store stylesheet
   Brand colours (unchanged): teal #059E84, deep teal #048B6A, slate #2d465e,
   ink #212529, mist #f5f8fc, white.
   Type: Bodoni Moda (display) + Archivo (text and interface). Both self-hosted.
   ========================================================================== */

@font-face {
  font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("../fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Bodoni Moda"; font-style: italic; font-display: swap; font-weight: 400 900;
  src: url("../fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --teal: #059E84;
  --teal-deep: #048B6A;
  --teal-tint: #e9f6f3;
  --slate: #2d465e;
  --slate-deep: #22384c;
  --ink: #212529;
  --muted: #66707a;
  --line: #e4e8ec;
  --line-strong: #cfd6dd;
  --mist: #f5f8fc;
  --paper: #ffffff;
  --danger: #a8261d;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-0: 1rem;
  --fs-1: 1.25rem;
  --fs-2: 1.75rem;
  --fs-3: 2.5rem;
  --fs-4: 3.5rem;

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 5rem; --s9: 8rem;

  --container: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;

  /* compatibility aliases used by inline styles in templates */
  --space-1: var(--s1); --space-2: var(--s2); --space-3: var(--s3); --space-4: var(--s4);
  --space-5: var(--s5); --space-6: var(--s6); --space-7: var(--s7); --space-8: var(--s8); --space-9: var(--s9);
  --fs--1: var(--fs-xs);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-0); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
main, .section, .story { overflow-x: clip; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 var(--s4); color: var(--slate); line-height: 1.15; font-weight: 600; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--teal-tint); color: var(--slate); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--slate); color: #fff; padding: var(--s2) var(--s4); }
.skip-link:focus { top: var(--s4); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.muted { color: var(--muted); }
.lede { font-size: var(--fs-1); line-height: 1.55; color: var(--muted); max-width: 52ch; }

/* Display serif: the voice of the brand */
.display, .section-title {
  font-family: var(--serif); font-weight: 400; color: var(--slate);
  font-optical-sizing: auto; letter-spacing: -0.015em; line-height: 1.04;
}
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin: 0; font-weight: 500; }

.text-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--fs-s); font-weight: 500; letter-spacing: 0.02em; color: var(--slate);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: var(--teal-deep); }

.section { padding: var(--s8) 0; }
.section--tight { padding-top: var(--s7); }
.section--mist { background: var(--mist); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s6); }
.section__head h2 { margin: 0; }
.section__head--center { justify-content: center; text-align: center; }

/* --------------------------------------------------------------------------
   Buttons and fields
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s6);
  border: 1px solid var(--slate); border-radius: 0;
  background: var(--slate); color: #fff;
  font-size: var(--fs-s); font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--slate); }
.btn--ghost:hover { background: var(--slate); border-color: var(--slate); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--slate); }
.btn--light:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--block { width: 100%; }
.btn--small { min-height: 42px; padding: 0 var(--s5); }
.btn--link { background: none; border: 0; padding: 0; min-height: 0; color: var(--muted); font-weight: 400; letter-spacing: 0; text-decoration: underline; }
.btn--link:hover { background: none; color: var(--danger); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; color: var(--slate); border-radius: 50%;
  font-size: 1.15rem; cursor: pointer; text-decoration: none; transition: background .15s;
}
.icon-btn:hover { background: var(--mist); color: var(--slate); }
.icon-btn--line { border: 1px solid var(--line-strong); }
.icon-btn--line:hover { border-color: var(--slate); }

.field { display: grid; gap: var(--s1); margin-bottom: var(--s5); align-content: start; }
.field label { font-size: var(--fs-s); font-weight: 500; color: var(--slate); }
.field small { color: var(--muted); font-size: var(--fs-xs); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: var(--s3) var(--s4);
  border: 1px solid var(--line-strong); border-radius: 0; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px var(--teal-tint); }
.field-row { display: grid; gap: 0 var(--s4); grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.alert { padding: var(--s4) var(--s5); margin-bottom: var(--s5); border-left: 2px solid; font-size: var(--fs-s); }
.alert ul { padding-left: 1.1rem; }
.alert--error { background: #fbf0ef; border-color: var(--danger); color: #6e1510; }
.alert--ok { background: var(--teal-tint); border-color: var(--teal); color: #034a3e; }

/* --------------------------------------------------------------------------
   Prices
   -------------------------------------------------------------------------- */
.price { display: flex; align-items: baseline; gap: var(--s3); margin: 0; font-variant-numeric: tabular-nums; }
.price__now { font-size: var(--fs-s); color: var(--ink); }
.price__now--sale { color: var(--teal-deep); }
.price__was { font-size: var(--fs-s); color: var(--muted); }
.price--lg .price__now { font-family: var(--serif); font-size: 1.75rem; color: var(--slate); }
.price--lg .price__now--sale { color: var(--teal-deep); }
.price--lg .price__was { font-size: var(--fs-1); }

/* --------------------------------------------------------------------------
   Announcement + header
   -------------------------------------------------------------------------- */
.announce { background: var(--slate); color: #e6edf3; font-size: var(--fs-xs); letter-spacing: 0.03em; text-align: center; }
.announce p { margin: 0; padding-top: 9px; padding-bottom: 9px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); gap: var(--s5); }
.site-header__left { display: flex; align-items: center; }
.site-header__menu { display: none; margin-left: -10px; }
.brand { justify-self: center; }
.brand img { width: 104px; height: auto; }
.primary-nav ul { list-style: none; display: flex; gap: var(--s5); }
.primary-nav a { position: relative; display: block; padding: var(--s2) 0; font-size: var(--fs-s); letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--slate); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover { color: var(--slate); }
.primary-nav a:hover::after, .primary-nav a[aria-current]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--s1); }
.bag-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 var(--s2) 0 var(--s3); color: var(--slate); text-decoration: none; font-size: var(--fs-s); }
.bag-link i { display: none; font-size: 1.15rem; }
.bag-link__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--slate); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bag-link:hover { color: var(--teal-deep); }
.bag-link.is-bumped .bag-link__count { animation: bump .45s var(--ease); background: var(--teal); }
@keyframes bump { 40% { transform: scale(1.25); } }

.site-search { border-top: 1px solid var(--line); background: #fff; }
.site-search__form { display: flex; align-items: center; gap: var(--s4); padding-top: var(--s4); padding-bottom: var(--s4); }
.site-search__form input { flex: 1; border: 0; border-bottom: 1px solid var(--line-strong); min-height: 48px; font-family: var(--serif); font-size: var(--fs-2); background: transparent; }
.site-search__form input:focus { outline: none; border-color: var(--slate); }

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .site-header__menu { display: inline-grid; }
  .primary-nav { display: none; }
  .brand img { width: 88px; }
  .bag-link__label { display: none; }
  .bag-link i { display: inline; }
  .site-header__account { display: none; }
}

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(33,37,41,.4); }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); background: #fff; padding: var(--s4) var(--s6) var(--s7); overflow-y: auto; animation: drawer-in .3s var(--ease); }
@keyframes drawer-in { from { transform: translateX(-100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s6); }
.drawer__links { list-style: none; }
.drawer__links a { display: block; padding: var(--s3) 0; font-family: var(--serif); font-size: 2rem; line-height: 1.2; color: var(--slate); text-decoration: none; }
.drawer__meta { list-style: none; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); display: grid; gap: var(--s2); }
.drawer__meta a { color: var(--muted); text-decoration: none; }

/* --------------------------------------------------------------------------
   Home: hero
   -------------------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: min(calc(100svh - var(--header-h) - 36px), 900px);
  background: var(--mist);
}
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s8) clamp(1.5rem, 5vw, 5.5rem) var(--s8) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hero__title { font-size: clamp(3rem, 6.4vw, 6.6rem); margin: 0 0 var(--s5); max-width: 9ch; }
.hero__text { font-size: var(--fs-1); line-height: 1.55; color: #47515b; max-width: 40ch; margin-bottom: var(--s6); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); }
.hero__notes { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s7); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em; }
.hero__notes i { color: var(--teal); margin-right: 4px; }
.hero__media { margin: 0; position: relative; overflow: hidden; background: #dfe5ea; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__text, .hero__actions, .hero__notes { animation: rise .9s var(--ease) both; }
  .hero__text { animation-delay: .12s; }
  .hero__actions { animation-delay: .22s; }
  .hero__notes { animation-delay: .32s; }
  .hero__media img { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes settle { from { transform: scale(1.06); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; width: 100%; height: min(125vw, 72svh); }
  .hero__copy { padding: var(--s7) var(--gutter) var(--s7); }
  .hero__notes { margin-top: var(--s6); }
}

/* --------------------------------------------------------------------------
   Product cards, grid, carousel
   -------------------------------------------------------------------------- */
.product-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s7) clamp(1rem, 2vw, 1.75rem); }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s3); } }

.product-card { position: relative; }
.product-card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mist); }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.product-card__alt { opacity: 0; }
.product-card:hover .product-card__media img { transform: scale(1.025); }
.product-card:hover .has-alt .product-card__alt { opacity: 1; }
.product-card__flag { position: absolute; left: 12px; top: 12px; padding: 3px 10px; background: #fff; color: var(--teal-deep); font-size: var(--fs-xs); letter-spacing: 0.04em; }
.product-card__body { padding-top: var(--s4); display: grid; gap: 2px; }
.product-card__cat { margin: 0; font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.03em; }
.product-card__name { margin: 0 0 4px; font-family: var(--sans); font-size: var(--fs-s); font-weight: 500; line-height: 1.4; color: var(--ink); }
.product-card__name a { text-decoration: none; }
.product-card__name a::after { content: ""; position: absolute; inset: 0; }
.product-card__name a:hover { color: var(--ink); }

.carousel__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); margin-bottom: var(--s6); }
.carousel__nav { display: flex; align-items: center; gap: var(--s2); }
.carousel__nav .text-link { margin-right: var(--s4); }
.carousel__track {
  --bleed: calc((100vw - min(100vw, var(--container))) / 2 + var(--gutter));
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.75rem) / 4);
  gap: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-right: calc(var(--bleed) * -1); padding-right: var(--bleed); padding-bottom: var(--s4);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; }
@media (max-width: 1024px) { .carousel__track { grid-auto-columns: 38%; gap: 1rem; } }
@media (max-width: 640px)  { .carousel__track { grid-auto-columns: 68%; } .carousel__nav .icon-btn { display: none; } .carousel__nav .text-link { margin: 0; } }

/* --------------------------------------------------------------------------
   Home: shop by, story, services
   -------------------------------------------------------------------------- */
.shop-by { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.25rem); }
@media (max-width: 900px) { .shop-by { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shop-by__item { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--slate); color: #fff; text-decoration: none; }
.shop-by__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shop-by__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(25, 40, 55, .62)); }
.shop-by__item:hover img { transform: scale(1.04); }
.shop-by__label { position: absolute; left: var(--s5); right: var(--s5); bottom: var(--s5); z-index: 1; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.shop-by__label strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1; }
.shop-by__label span { font-size: var(--fs-xs); letter-spacing: 0.04em; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 2px; }
.shop-by__item:hover { color: #fff; }

.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--slate); color: #dfe7ee; }
.story__media { margin: 0; min-height: 520px; position: relative; overflow: hidden; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: var(--s8) clamp(1.5rem, 6vw, 6rem); }
.story__title { color: #fff; font-size: clamp(2.4rem, 4.2vw, 4rem); max-width: 11ch; margin-bottom: var(--s5); }
.story__copy p { font-size: var(--fs-1); line-height: 1.6; max-width: 40ch; margin-bottom: var(--s6); }
.story__copy .text-link { color: #fff; }
.story__copy .text-link:hover { color: #9de0d3; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__media { min-height: 0; aspect-ratio: 4 / 3; } .story__copy { padding: var(--s7) var(--gutter); } }

.services { border-top: 1px solid var(--line); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s7); }
.services h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: var(--s2); }
.services p { margin: 0; font-size: var(--fs-s); color: var(--muted); }
.services a { color: var(--slate); }
@media (max-width: 900px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .services__grid { grid-template-columns: 1fr; gap: var(--s5); } }

/* Legacy home helpers still used elsewhere */
.cat-index { list-style: none; border-top: 1px solid var(--slate); }
.cat-index a { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cat-index__name { font-family: var(--serif); font-size: clamp(1.75rem, 4vw, 3rem); color: var(--slate); }
.cat-index__count { color: var(--muted); font-size: var(--fs-s); }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.promise i { color: var(--teal); font-size: 1.4rem; }
.promise h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: var(--s3) 0 var(--s2); }
.promise p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .promise { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Page heads, breadcrumbs, shop toolbar, pagination
   -------------------------------------------------------------------------- */
.page-head { padding: var(--s7) 0 var(--s6); }
.page-head h1 { font-size: clamp(2.6rem, 5.5vw, 4.75rem); margin: 0; }
.page-head p { margin: var(--s3) 0 0; }
.crumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em; margin-bottom: var(--s4); }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: #b4bdc6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--slate); text-decoration: underline; }

.toolbar { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; padding: var(--s4) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: var(--s7); }
.chips { list-style: none; display: flex; gap: var(--s5); overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-block; padding: var(--s2) 0; white-space: nowrap; color: var(--muted); text-decoration: none; font-size: var(--fs-s); border-bottom: 1px solid transparent; }
.chip:hover { color: var(--slate); }
.chip[aria-current] { color: var(--slate); border-color: var(--slate); }
.sort { display: flex; align-items: center; gap: var(--s2); }
.sort label { color: var(--muted); font-size: var(--fs-s); }
.sort select { min-height: 40px; border: 0; border-bottom: 1px solid var(--line-strong); padding: 0 var(--s5) 0 var(--s2); background: transparent; font-size: var(--fs-s); }

.pager { list-style: none; padding: 0; display: flex; gap: var(--s2); justify-content: center; margin-top: var(--s8); }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 var(--s3); text-decoration: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.pager a:hover { color: var(--slate); }
.pager [aria-current] { color: var(--slate); border-bottom: 1px solid var(--slate); }

.empty { padding: var(--s8) 0; max-width: 52ch; }
.empty h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-3); }

/* --------------------------------------------------------------------------
   Product page
   -------------------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); padding-bottom: var(--s8); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gallery__main { aspect-ratio: 3 / 4; background: var(--mist); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { list-style: none; display: flex; gap: var(--s3); margin-top: var(--s3); overflow-x: auto; }
.gallery__thumbs button { width: 84px; aspect-ratio: 3 / 4; padding: 0; border: 1px solid transparent; background: var(--mist); cursor: pointer; opacity: .65; transition: opacity .2s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--slate); opacity: 1; }
.gallery__thumbs button:hover { opacity: 1; }

.pdp__info { align-self: start; position: sticky; top: calc(var(--header-h) + var(--s5)); padding-top: var(--s4); }
@media (max-width: 900px) { .pdp__info { position: static; } }
.pdp__cat { color: var(--muted); font-size: var(--fs-xs); letter-spacing: 0.04em; margin-bottom: var(--s3); }
.pdp__info h1 { font-size: clamp(2.2rem, 3.6vw, 3.25rem); margin-bottom: var(--s4); }
.pdp__desc { margin: var(--s6) 0; color: #47515b; line-height: 1.75; }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: var(--s3); margin: var(--s6) 0 var(--s5); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; color: var(--slate); }
.qty input { width: 40px; height: 100%; border: 0; text-align: center; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty--sm { height: 40px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 32px; }

.facts { list-style: none; border-top: 1px solid var(--line); margin-top: var(--s6); }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.facts i { color: var(--slate); }
.facts strong { display: block; font-weight: 500; color: var(--ink); }
.facts span { color: var(--muted); }

/* --------------------------------------------------------------------------
   Bag + checkout
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; padding-bottom: var(--s8); }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }

.bag-lines { list-style: none; border-top: 1px solid var(--slate); }
.bag-line { display: grid; grid-template-columns: 110px 1fr auto; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: start; }
.bag-line__img { aspect-ratio: 3 / 4; background: var(--mist); overflow: hidden; }
.bag-line__img img { width: 100%; height: 100%; object-fit: cover; }
.bag-line__name { display: block; margin-bottom: var(--s1); font-family: var(--serif); font-size: 1.35rem; color: var(--slate); text-decoration: none; line-height: 1.2; }
.bag-line__unit { color: var(--muted); font-size: var(--fs-s); margin-bottom: var(--s4); }
.bag-line__controls { display: flex; gap: var(--s5); align-items: center; }
.bag-line__total { font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .bag-line { grid-template-columns: 84px 1fr; } .bag-line__total { grid-column: 2; } }

.summary { background: var(--mist); padding: var(--s6); position: sticky; top: calc(var(--header-h) + var(--s5)); }
@media (max-width: 980px) { .summary { position: static; } }
.summary h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-2); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: var(--s2) 0; margin: 0 0 var(--s5); font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; padding-left: var(--s4); }
.summary .summary__total { color: var(--slate); font-size: var(--fs-1); padding-top: var(--s4); margin-top: var(--s2); border-top: 1px solid var(--line-strong); }
dd.summary__total { font-family: var(--serif); }
.summary__note { font-size: var(--fs-xs); color: var(--muted); margin: var(--s4) 0 0; }
.summary__items { list-style: none; margin-bottom: var(--s5); display: grid; gap: var(--s4); }
.summary__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s3); align-items: center; font-size: var(--fs-s); }
.summary__items img { width: 56px; aspect-ratio: 3/4; object-fit: cover; background: #fff; }
.summary__items .qty-badge { color: var(--muted); }

.checkout-block { padding: var(--s6) 0; border-top: 1px solid var(--line-strong); }
.checkout-block:first-of-type { border-top-color: var(--slate); }
.checkout-block h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-2); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); }
.checkout-block h2 small { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 400; }

.pay-choice { display: grid; gap: var(--s3); }
.pay-option { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: var(--s4); align-items: start; padding: var(--s5); border: 1px solid var(--line-strong); cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.pay-option:hover { border-color: var(--slate); }
.pay-option:has(input:checked) { border-color: var(--slate); background: var(--mist); }
.pay-option input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--slate); }
.pay-option strong { display: block; font-weight: 500; color: var(--ink); }
.pay-option span { color: var(--muted); font-size: var(--fs-s); }
.pay-option > i { font-size: 1.4rem; color: var(--slate); }
.pay-option__more { grid-column: 2 / -1; display: none; padding-top: var(--s3); margin-top: var(--s1); border-top: 1px solid var(--line); font-size: var(--fs-s); color: #47515b; }
.pay-option:has(input:checked) .pay-option__more { display: block; }
.pay-option__more strong { display: inline; color: var(--slate); }
.secure-note { display: flex; gap: var(--s2); align-items: center; justify-content: center; color: var(--muted); font-size: var(--fs-xs); margin-top: var(--s3); }

/* Order confirmation */
.confirm { max-width: 860px; }
.confirm__status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; font-size: var(--fs-xs); letter-spacing: 0.03em; }
.confirm__status--paid { background: var(--teal-tint); color: #04604f; }
.confirm__status--pending { background: #fbf3e2; color: #7a4f00; }
.etransfer { border: 1px solid var(--slate); padding: var(--s6); margin: var(--s6) 0; background: var(--mist); }
.etransfer h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-2); }
.etransfer dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--s3) var(--s5); margin: var(--s5) 0; align-items: center; }
.etransfer dt { color: var(--muted); font-size: var(--fs-s); }
.etransfer dd { margin: 0; display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
.etransfer code { font-family: var(--serif); font-size: 1.4rem; color: var(--slate); word-break: break-all; }
.copy-btn { border: 1px solid var(--line-strong); background: #fff; padding: 3px 10px; font-size: var(--fs-xs); cursor: pointer; color: var(--slate); }
.copy-btn:hover { border-color: var(--slate); }
@media (max-width: 520px) { .etransfer dl { grid-template-columns: 1fr; gap: 0; } .etransfer dd { margin-bottom: var(--s3); } }

.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: var(--fs-s); }
.table th { text-align: left; font-weight: 500; color: var(--muted); padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--slate); }
.table td { padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table .num { text-align: right; padding-right: 0; }

/* --------------------------------------------------------------------------
   Auth + account
   -------------------------------------------------------------------------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.auth__art { background: var(--slate) center / cover no-repeat; }
.auth__panel { padding: var(--s8) clamp(1.5rem, 6vw, 6rem); max-width: 640px; align-self: center; }
.auth__panel h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); }
.auth__switch { margin-top: var(--s5); color: var(--muted); font-size: var(--fs-s); }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth__art { display: none; } }

.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 5vw, 5rem); padding-bottom: var(--s8); align-items: start; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.account-card { background: var(--mist); padding: var(--s6); }
.account-card h2 { font-family: var(--serif); font-weight: 400; }
.account-card dl { margin: 0; display: grid; gap: var(--s1); }
.account-card dt { color: var(--muted); font-size: var(--fs-xs); margin-top: var(--s3); }
.account-card dd { margin: 0; word-break: break-word; }
.pill { display: inline-block; padding: 2px 10px; font-size: var(--fs-xs); background: var(--mist); color: var(--slate); }
.pill--ok { background: var(--teal-tint); color: #04604f; }
.pill--wait { background: #fbf3e2; color: #7a4f00; }
.pill--bad { background: #fbf0ef; color: #8a1c14; }

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */
.about-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; padding: var(--s7) 0 var(--s8); }
.about-hero h1 { font-size: clamp(2.8rem, 6.5vw, 6rem); margin: 0; }
.about-hero img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.prose { max-width: 66ch; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-2); margin-top: var(--s7); }
.prose h3 { font-size: var(--fs-1); font-weight: 500; margin-top: var(--s5); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose p, .prose li { color: #3c444c; }
.prose a { color: var(--slate); }

.values { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7); }
.values li { border-top: 1px solid var(--slate); padding-top: var(--s5); }
.values h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.values p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; gap: var(--s5); } }

.cta-band { background: var(--slate); color: #dfe7ee; }
.cta-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s5); padding-top: var(--s8); padding-bottom: var(--s8); }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.75rem); margin: 0; max-width: 16ch; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--slate); }
.cta-band .btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

.help-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); padding-bottom: var(--s8); align-items: start; }
.help-nav { position: sticky; top: calc(var(--header-h) + var(--s5)); list-style: none; display: grid; gap: var(--s1); }
.help-nav a { display: block; padding: var(--s2) 0; color: var(--muted); text-decoration: none; font-size: var(--fs-s); }
.help-nav a:hover { color: var(--slate); }
@media (max-width: 860px) { .help-layout { grid-template-columns: 1fr; } .help-nav { position: static; display: flex; flex-wrap: wrap; gap: var(--s4); } }
.qa-group { margin-bottom: var(--s7); scroll-margin-top: calc(var(--header-h) + 2rem); }
.qa-group > h2 { font-family: var(--serif); font-weight: 400; font-size: var(--fs-3); margin-bottom: var(--s3); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s5) 0; font-weight: 500; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "\F64D"; font-family: "bootstrap-icons"; color: var(--slate); transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa__body { padding: 0 0 var(--s5); max-width: 64ch; color: #47515b; }
.qa__body a { color: var(--slate); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 6vw, 6rem); padding-bottom: var(--s8); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; border-top: 1px solid var(--slate); margin-bottom: var(--s6); }
.contact-list li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); }
.contact-list i { color: var(--slate); }
.contact-list strong { display: block; font-weight: 500; }
.map { aspect-ratio: 16 / 10; width: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.hp { position: absolute; left: -9999px; }
.policy-meta { color: var(--muted); font-size: var(--fs-s); }
.notfound { padding: var(--s9) 0; }
.notfound h1 { font-size: clamp(3rem, 10vw, 8rem); margin: 0 0 var(--s4); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--slate-deep); color: #b9c6d2; font-size: var(--fs-s); }
.site-footer a { color: #e6edf3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: var(--s7); padding-top: var(--s8); padding-bottom: var(--s7); }
.site-footer__mark { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: #fff; margin-bottom: var(--s5); }
.site-footer__brand p:not(.site-footer__mark) { max-width: 36ch; }
.site-footer h2 { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.06em; color: #fff; margin-bottom: var(--s4); }
.site-footer__col ul { list-style: none; display: grid; gap: var(--s2); }
.social { list-style: none; display: flex; gap: var(--s2); margin-top: var(--s5); }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #4c6378; border-radius: 50%; }
.social a:hover { border-color: #fff; text-decoration: none; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); padding-top: var(--s5); padding-bottom: var(--s5); border-top: 1px solid #3c5367; font-size: var(--fs-xs); }
.site-footer__base p { margin: 0; }
.pay-methods { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); }
.pay-methods > span:first-child { color: #8fa1b2; }
.pay-methods i { color: #9de0d3; margin-right: 4px; }
.legal { display: flex; gap: var(--s5); flex-wrap: wrap; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: var(--s6); } }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--slate); color: #fff; padding: var(--s4) var(--s5); display: flex; gap: var(--s5); align-items: center; font-size: var(--fs-s); box-shadow: 0 12px 32px rgba(34,56,76,.28); animation: toast-in .35s var(--ease); }
.toast a { color: #9de0d3; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
