/* ==========================================================================
   uzrokas.lv · components.css
   Product cards, hero, rails, tiles, filters, toasts, accordions
   ========================================================================== */

/* ---------- Product card ---------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: transform .4s var(--ease);
}
.product-card:hover { transform: translateY(-3px); }

.product-card__media {
  position: relative;
  overflow: hidden;
  background: var(--bone);
  aspect-ratio: 4 / 5;
  display: block;
}
.product-card__media svg,
.product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out), opacity .5s var(--ease);
}
.product-card:hover .art--main { transform: scale(1.025); }

/* Real studio photos: a white plate and the whole watch in frame. */
.product-card--photo .product-card__media { background: #fff; }
.product-card__media img.art--photo { object-fit: contain; padding: 5%; }

/* The photo box plus its hover overlay. The overlay is clipped to this box, so
   "add to bag" never sits on top of the brand, price and
   stock lines in the card body below. */
.product-card__stage { position: relative; overflow: hidden; }

.product-card__badges {
  position: absolute;
  top: .8rem;
  left: .8rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  align-items: flex-start;
  z-index: 3;
}

.product-card__fav {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.product-card__fav svg { width: 17px; height: 17px; }
.product-card__fav:hover { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.product-card__fav.is-active { background: var(--wine); color: #fff; }
.product-card__fav.is-active svg { fill: currentColor; }

.product-card__quick {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 3;
  display: grid;
  gap: .4rem;
  transform: translateY(130%);
  opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease);
}
.product-card:hover .product-card__quick,
.product-card:focus-within .product-card__quick { transform: none; opacity: 1; }
.product-card__quick .btn { width: 100%; }

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-top: var(--sp-4);
}
.product-card__brand {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--ink);
}
.product-card__name a:hover { color: var(--gold-ink); }

.product-card__meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}
.product-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: .15rem;
}
.price { font-size: var(--fs-md); letter-spacing: .02em; }
.price--sale { color: var(--wine); }
.price--was { color: var(--muted-2); font-size: var(--fs-sm); text-decoration: line-through; }
.price--from { font-size: var(--fs-sm); color: var(--muted); }

.product-card__swatches { display: flex; gap: .3rem; margin-top: .45rem; }
.swatch-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1.5px var(--paper);
}
button.swatch-dot { padding: 0; cursor: pointer; flex-shrink: 0; }
button.swatch-dot:hover,
button.swatch-dot[aria-pressed="true"] { outline: 1px solid var(--gold-ink); outline-offset: 2px; }
button.swatch-dot:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.product-card__stock { font-size: var(--fs-xs); color: var(--sage); }
.product-card__stock--low { color: var(--wine); }
.product-card__stock--out { color: var(--wine); font-weight: 600; }
.product-card__stock--unknown { color: var(--muted); }

/* ---------- Rating ---------- */
.rating { display: inline-flex; align-items: center; gap: .35rem; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.rating__stars svg { width: 13px; height: 13px; }
.rating__stars svg.is-empty { color: var(--sand); }
.rating__count { font-size: var(--fs-xs); color: var(--muted-2); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bone); }
.hero__viewport { position: relative; height: clamp(460px, 76vh, 780px); }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease);
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide__media { position: absolute; inset: 0; }
.hero-slide__media svg { width: 100%; height: 100%; }
.hero-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18, 18, 26, .78) 0%, rgba(18, 18, 26, .4) 46%, rgba(18, 18, 26, .05) 80%);
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-slide__content { max-width: 620px; color: var(--bone); }
.hero-slide__content .eyebrow { color: var(--gold-soft); }
.hero-slide__content h1, .hero-slide__content h2 { color: var(--bone); margin-top: var(--sp-4); }
.hero-slide__content p {
  color: rgba(247, 244, 239, .82);
  margin-top: var(--sp-5);
  max-width: 46ch;
  font-size: var(--fs-md);
}
.hero-slide__content .btn-row { margin-top: var(--sp-6); }

.hero-slide.is-active .hero-slide__content > * { animation: fadeUp .9s var(--ease-out) both; }
.hero-slide.is-active .hero-slide__content > *:nth-child(1) { animation-delay: .1s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(2) { animation-delay: .2s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(3) { animation-delay: .3s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(4) { animation-delay: .4s; }

.hero__nav {
  position: absolute;
  z-index: 5;
  bottom: clamp(1rem, 3vw, 2.25rem);
  left: 0;
  right: 0;
}
.hero__nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.hero__dots { display: flex; gap: .5rem; }
.hero__dot {
  width: 34px;
  height: 2px;
  background: rgba(247, 244, 239, .35);
  position: relative;
  overflow: hidden;
}
.hero__dot span {
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active span { animation: heroProgress 6s linear forwards; }
@keyframes heroProgress { to { transform: scaleX(1); } }

.hero__arrows { display: flex; gap: .5rem; }
.hero-arrow {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 244, 239, .4);
  color: var(--bone);
  border-radius: 50%;
  transition: all .25s var(--ease);
}
.hero-arrow:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.hero-arrow svg { width: 16px; height: 16px; }

/* Hero side stats */
.hero__stats {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 4vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: var(--sp-5);
}
.hero-stat { color: var(--bone); text-align: right; }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--gold-soft);
}
.hero-stat span {
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .7);
}
@media (max-width: 1024px) { .hero__stats { display: none; } }

/* ---------- Marquee strip ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: .9rem;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  padding-inline: 1.4rem;
  font-size: var(--fs-xs);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- Category tile ---------- */
.cat-tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bone);
  aspect-ratio: 3 / 4;
}
.cat-tile--wide { aspect-ratio: auto; min-height: 300px; }
.cat-tile__art { position: absolute; inset: 0; }
.cat-tile__art svg { width: 100%; height: 100%; transition: transform .9s var(--ease-out); }
.cat-tile:hover .cat-tile__art svg { transform: scale(1.06); }
.cat-tile__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 18, 26, .66) 0%, rgba(18, 18, 26, .12) 55%, transparent 100%);
  transition: opacity .4s var(--ease);
}
.cat-tile:hover .cat-tile__veil { opacity: .85; }
.cat-tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.1rem, 2.5vw, 1.9rem);
  color: var(--bone);
  z-index: 2;
}
.cat-tile__eyebrow {
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.cat-tile__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-top: .35rem;
  color: var(--bone);
}
.cat-tile__count {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .85;
}
.cat-tile__count svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.cat-tile:hover .cat-tile__count svg { transform: translateX(4px); }

/* ---------- Value props ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value {
  background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  transition: background .3s var(--ease);
}
.value:hover { background: var(--bone); }
.value svg { width: 26px; height: 26px; color: var(--gold-ink); flex: 0 0 auto; }
.value h4 {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
}
.value p { font-size: var(--fs-sm); margin-top: .3rem; }

/* ---------- Rail (horizontal scroller) ---------- */
.rail { position: relative; }
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__controls { display: flex; gap: .5rem; }
.rail-btn {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 50%;
  transition: all .25s var(--ease);
}
.rail-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-btn svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .rail__controls { display: none; } }

/* ---------- Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}
.split__media { position: relative; overflow: hidden; background: var(--bone); min-height: 340px; }
.split__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 5vw, 4.5rem);
}
.split__body p { margin-top: var(--sp-5); max-width: 48ch; }
.split__body .btn-row { margin-top: var(--sp-6); }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Feature list ---------- */
.check-list { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.check-list svg { width: 16px; height: 16px; color: var(--gold-ink); flex: 0 0 auto; margin-top: 4px; }

/* ---------- Catalog toolbar ---------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.toolbar__left { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.toolbar__right { display: flex; align-items: center; gap: var(--sp-3); }
.toolbar__count { font-size: var(--fs-sm); color: var(--muted); }

.filter-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.filter-toggle svg { width: 15px; height: 15px; }
@media (max-width: 1024px) { .filter-toggle { display: inline-flex; } }

/* ---------- Filter panel ---------- */
.filters, .filters__groups { display: grid; gap: var(--sp-5); align-content: start; }

.filter-group { border-bottom: 1px solid var(--line); padding-bottom: var(--sp-5); }
.filter-group:last-child { border-bottom: 0; }
.filter-group__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.filter-group__head svg { width: 11px; height: 7px; color: var(--muted); transition: transform .3s var(--ease); }
.filter-group__head[aria-expanded="true"] svg { transform: rotate(180deg); }
.filter-group__body { display: grid; gap: .5rem; }
.filter-group__body[hidden] { display: none; }

.filter-option {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease);
}
.filter-option:hover { color: var(--ink); }
.filter-option input {
  appearance: none;
  width: 17px; height: 17px;
  flex: 0 0 auto;
  border: 1px solid var(--muted-2);
  border-radius: 2px;
  background: var(--paper);
  transition: all .2s var(--ease);
}
.filter-option input[type="radio"] { border-radius: 50%; }
.filter-option input:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.filter-option input[type="checkbox"]:checked {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.2 3.2L11 1.4' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/11px no-repeat;
}
.filter-option input[type="radio"]:checked {
  box-shadow: inset 0 0 0 3.5px var(--paper);
}
.filter-option__label { flex: 1; }
.filter-option__count { font-size: var(--fs-xs); color: var(--muted-2); }
.filter-option.is-disabled { opacity: .4; pointer-events: none; }

.filter-swatch {
  display: flex;
  align-items: center;
  gap: .7rem;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.filter-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.filter-swatch__dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px var(--paper);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.filter-swatch:hover .filter-swatch__dot { transform: scale(1.08); }
.filter-swatch input:checked + .filter-swatch__dot {
  box-shadow: inset 0 0 0 2px var(--paper), 0 0 0 2px var(--gold);
}

/* ---------- Colour swatches, presets and the price slider ------------- */

/* Colour facets pack two swatch rows per line instead of one. */
.filter-group__body--swatches { grid-template-columns: 1fr 1fr; gap: .5rem .8rem; }
.filter-group__body--swatches .filter-swatch { gap: .45rem; min-width: 0; font-size: var(--fs-xs); }
.filter-group__body--swatches .filter-swatch__dot { width: 17px; height: 17px; }
.filter-group__body--swatches .filter-option__label,
.filter-group__body--swatches .filter-option__count {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filter-group__body--swatches .filter-option__label { flex: 0 1 auto; }
.filter-group__body--swatches .filter-option__count { flex: 1 0 auto; text-align: right; }

/* A facet that reads like a select: the header carries the value in force. */
.filter-group--select .filter-group__head {
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  letter-spacing: 0;
  text-transform: none;
  gap: .55rem;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.filter-group--select .filter-group__head:hover,
.filter-group--select .filter-group__head[aria-expanded="true"] { border-color: var(--muted-2); }
.filter-group--select .filter-group__body { padding-top: .85rem; }
.filter-group__body--scroll { max-height: 15rem; overflow-y: auto; padding-right: .2rem; }
.filters-panel, .filter-group__body--scroll { overflow-anchor: none; scroll-behavior: auto; }
.filter-group__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}

/* "Show the rest" row of a capped list. */
.filter-more {
  justify-self: start;
  padding: .15rem 0;
  font-size: var(--fs-xs);
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.filter-more:hover { color: var(--ink); }

/* A long, one-line price filter: values, one rail with two handles, presets. */
.price-range { display: grid; gap: .55rem; padding-top: .2rem; }
.price-range__values {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.price-range__track { position: relative; height: 18px; }
.price-range__rail,
.price-range__fill {
  position: absolute;
  top: 8px;
  height: 2px;
  border-radius: 99px;
}
.price-range__rail { left: 0; right: 0; background: var(--sand); }
.price-range__fill { background: var(--ink); }
.price-range__chips { display: flex; flex-wrap: wrap; gap: .35rem; }

.filter-pill { cursor: pointer; }
.filter-pill input { position: absolute; opacity: 0; pointer-events: none; }
.filter-pill__body {
  display: inline-flex;
  align-items: center;
  padding: .28rem .55rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: var(--fs-xs);
  color: var(--muted);
  white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter-pill:hover .filter-pill__body { border-color: var(--muted-2); color: var(--ink); }
.filter-pill input:checked + .filter-pill__body {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* Both handles live on one rail, so only their thumbs take the pointer. */
.range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.range-input::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.range-input::-moz-range-track { height: 2px; background: transparent; }
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 16px; height: 16px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--sand);
}
.range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--sand);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: var(--sp-5);
}
.active-filters:empty { display: none; }

/* Filter drawer behaviour on mobile */
@media (max-width: 1024px) {
  .filters-panel {
    display: none;
  }
  .filters-panel.is-mobile-open {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(92vw, 400px);
    background: var(--paper);
    z-index: var(--z-drawer);
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: var(--sp-5);
    animation: slideInRight .4s var(--ease-out);
  }
  .filters-panel > .filter-toggle[data-filters-close] {
    position: sticky;
    top: calc(-1 * var(--sp-5));
    z-index: 2;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: var(--sp-5);
    background: var(--paper);
  }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: none; }
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: var(--sp-8);
  flex-wrap: wrap;
}
.pagination__link {
  min-width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  padding-inline: .6rem;
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
  transition: all .22s var(--ease);
}
.pagination__link:hover { border-color: var(--ink); color: var(--ink); }
.pagination__link.is-current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination__link.is-disabled { opacity: .35; pointer-events: none; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.15rem 0;
  text-align: left;
  font-size: var(--fs-sm);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .22s var(--ease);
}
.accordion__btn:hover { color: var(--gold-ink); }
.accordion__icon { position: relative; width: 14px; height: 14px; flex: 0 0 auto; }
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.accordion__icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.accordion__icon::after { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.accordion__panel-inner { padding-bottom: var(--sp-5); font-size: var(--fs-base); color: var(--muted); }
.accordion__panel-inner > * + * { margin-top: var(--sp-4); }
.accordion__panel-inner ul { display: grid; gap: .5rem; list-style: disc; padding-left: 1.2rem; }

/* ---------- Tabs ---------- */
.tabs__list {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  position: relative;
  padding: 1rem 0;
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .22s var(--ease);
}
.tabs__tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab.is-active { color: var(--ink); }
.tabs__tab.is-active::after { transform: scaleX(1); }
.tabs__panel { padding-top: var(--sp-6); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  background: var(--bone);
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.page-hero__art { position: absolute; inset: 0; opacity: .55; }
.page-hero__art svg { width: 100%; height: 100%; }
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { margin-top: var(--sp-3); }
.page-hero p { margin-top: var(--sp-4); font-size: var(--fs-md); max-width: 62ch; }
.page-hero--ink { background: var(--ink); color: var(--bone); }
.page-hero--ink p { color: rgba(247, 244, 239, .7); }
.page-hero--ink .eyebrow { color: var(--gold-soft); }

/* ---------- Brand / category strip ----------------------------------- */
/* One card grid serves "shop by brand" and "popular categories": each card
   carries a title, a model count and the entry price. */
.brand-strip, .cat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.brand-cell, .cat-cell {
  background: var(--paper);
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: var(--sp-4);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.brand-cell:hover, .cat-cell:hover { color: var(--ink); background: var(--bone); }

/* The card grid: model count and entry price per house or category. */
.brand-strip--cards, .cat-strip--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-cell--card, .cat-cell--card {
  place-items: start;
  align-content: center;
  gap: .3rem;
  min-height: 118px;
  padding: clamp(.9rem, 2vw, 1.4rem);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  letter-spacing: 0;
  text-transform: none;
}
.brand-cell__name, .cat-cell__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.brand-cell__meta, .cat-cell__meta {
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.brand-cell__from, .cat-cell__from { font-size: var(--fs-sm); color: var(--gold-ink); }
.brand-cell--card:hover, .cat-cell--card:hover { background: var(--bone); }
.brand-cell--card:hover .brand-cell__name,
.cat-cell--card:hover .cat-cell__name { color: var(--gold-ink); }
@media (max-width: 900px) { .brand-strip--cards, .cat-strip--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .brand-strip--cards, .cat-strip--cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Testimonial ---------- */
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  height: 100%;
}
.quote__stars { color: var(--gold); display: flex; gap: 2px; }
.quote__stars svg { width: 15px; height: 15px; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}
.quote__author { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.gallery-grid > * { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--bone); }
.gallery-grid > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid > *:nth-child(2),
.gallery-grid > *:nth-child(3) { grid-column: span 2; }
.gallery-grid a { display: block; height: 100%; }
.gallery-grid svg { width: 100%; height: 100%; transition: transform .8s var(--ease-out); }
.gallery-grid a:hover svg { transform: scale(1.07); }
@media (max-width: 780px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid > *:nth-child(n) { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Toasts ---------- */
.toast-stack {
  position: fixed;
  right: 1.1rem;
  top: calc(var(--header-h) + 3.4rem + env(safe-area-inset-top));
  z-index: var(--z-toast);
  display: grid;
  gap: .6rem;
  width: min(88vw, 360px);
  max-height: 45dvh;
  overflow-y: auto;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  background: var(--ink);
  color: var(--bone);
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--gold);
  animation: toastIn .4s var(--ease-out) both;
  font-size: var(--fs-sm);
  pointer-events: auto;
}
.toast.is-leaving { animation: toastOut .3s var(--ease) both; }
.toast svg { width: 18px; height: 18px; color: var(--gold-soft); flex: 0 0 auto; margin-top: 2px; }
.toast__body { flex: 1; min-width: 0; }
.toast__body strong { display: block; color: var(--bone); font-size: var(--fs-sm); }
.toast__body span { color: rgba(247, 244, 239, .72); font-size: var(--fs-xs); }
.toast__action { display: table; margin-top: .55rem; padding-block: .2rem; color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-sm); }
.toast__close { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; margin: -.25rem -.35rem 0 0; }
.toast__close svg { width: 14px; height: 14px; margin: 0; color: var(--bone); }
.toast-stack--drawer {
  position: static;
  width: 100%;
  max-height: min(190px, 24dvh);
  overflow-y: auto;
  padding: 1px;
}
.toast-stack--drawer .toast { box-shadow: none; animation: none; padding: .65rem .75rem; }
.toast-stack--drawer .toast__action { margin-top: .2rem; }
.toast-stack--drawer .toast__close { margin: -.2rem -.3rem 0 0; }
@media (max-width: 760px) {
  .toast-stack { top: calc(5rem + env(safe-area-inset-top)); right: 1rem; width: calc(100% - 2rem); max-height: 38dvh; }
  .toast-stack--drawer { width: 100%; max-height: min(170px, 24dvh); }
}
.toast--success { border-left-color: var(--sage); }
.toast--success svg { color: #8fc8a8; }
.toast--error { border-left-color: var(--wine); }
.toast--error svg { color: #e79aa3; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }

/* ---------- Skeleton ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bone) 25%, var(--bone-2) 37%, var(--bone) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
@keyframes shimmer {
  from { background-position: 100% 50%; }
  to { background-position: 0 50%; }
}

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: .6rem; }
.countdown__unit {
  min-width: 62px;
  padding: .6rem .4rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line-dark);
  text-align: center;
}
.countdown__unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--bone);
}
.countdown__unit span {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, .6);
}

/* ---------- Numbered steps ("how to buy") --------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: var(--sp-7);
}
.step {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(1.25rem, 2.4vw, 1.9rem) clamp(1.1rem, 2vw, 1.6rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}
.step__num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold);
}
.step__body { display: grid; gap: .4rem; }
.step__body svg { width: 22px; height: 22px; color: var(--ink); }
.step__body h4 { font-size: 1.05rem; }
.step__text { font-size: var(--fs-sm); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Newsletter block ---------- */
.newsletter {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 4rem);
  text-align: center;
}
.newsletter .eyebrow { color: var(--gold-soft); }
.newsletter h2 { color: var(--bone); margin-top: var(--sp-3); }
.newsletter p { color: rgba(247, 244, 239, .7); margin-top: var(--sp-4); max-width: 56ch; margin-inline: auto; }
.newsletter__form {
  display: flex;
  gap: .5rem;
  max-width: 520px;
  margin: var(--sp-6) auto 0;
}
.newsletter__form .input {
  background: rgba(255, 255, 255, .07);
  border-color: var(--line-dark);
  color: var(--bone);
}
.newsletter__form .input::placeholder { color: rgba(247, 244, 239, .6); }
.newsletter__note { font-size: var(--fs-xs); color: rgba(247, 244, 239, .7); margin-top: var(--sp-4); }
@media (max-width: 520px) { .newsletter__form { flex-direction: column; } }

/* ---------- Lookbook banner ---------- */
.lookbook {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 52vh, 520px);
  display: grid;
  align-items: center;
  background: var(--ink);
}
.lookbook__art { position: absolute; inset: 0; }
.lookbook__art svg { width: 100%; height: 100%; }
.lookbook__body {
  position: relative;
  z-index: 2;
  color: var(--bone);
  max-width: 520px;
}
.lookbook__body h2 { color: var(--bone); }
.lookbook__body p { color: rgba(247, 244, 239, .78); margin-top: var(--sp-4); }
.lookbook__body .btn-row { margin-top: var(--sp-6); }

/* ---------- Editorial photography ----------------------------------- */
/* Real photos dropped into the places that used to hold generated art
   (hero, editorial split, lookbook, contact banner, category tiles). The
   containers are already positioned, so the photo simply fills them. */
.media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Language switch ----------------------------------------- */
/* The compact LV / EN pill: announcement bar, header, search panel, drawer. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  padding: .15rem;
  border: 1px solid var(--line);
  border-radius: 99px;
}
.lang-switch__link {
  padding: .35rem .62rem;
  border-radius: 99px;
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-switch__link:hover { color: var(--ink); }
.lang-switch__link.is-active { background: var(--ink); color: var(--paper); }
.header__lang { display: none; }
@media (min-width: 1025px) { .header__lang { display: inline-flex; } }

/* ---------- Price slider --------------------------------------------- */

.price-range__note { font-size: var(--fs-xs); color: var(--muted-2); margin-top: .2rem; }

/* ---------- Photography placement ------------------------------------ */
/* The hero stays ink-toned: light copy, the stat rail and the arrows all sit
   over the photo, so the veil is strong and even instead of opening up. What
   the photograph adds is real depth — studio light, shadow, material. */
.hero-slide__media--photo { background: var(--ink); }
.hero-slide__media--photo::after {
  background: linear-gradient(100deg, rgba(18, 18, 26, .94) 0%, rgba(18, 18, 26, .82) 46%, rgba(18, 18, 26, .68) 100%);
}
.media-photo--hero { object-position: 50% 44%; }
.media-photo--right { object-position: 74% 46%; }
.media-photo--left { object-position: 26% 50%; }

/* A photo behind a page headline needs a soft screen so the copy stays legible. */
.page-hero__art--photo { opacity: 1; }
.page-hero__art--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bone) 0%, rgba(247, 244, 239, .9) 44%, rgba(247, 244, 239, .2) 100%);
}
/* Same idea for the ink-toned lookbook banner and the "sold out" hero slides. */
.lookbook__art--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(18, 18, 26, .9) 0%, rgba(18, 18, 26, .6) 56%, rgba(18, 18, 26, .24) 100%);
}

/* Photos behave like the generated art they replace: a slow zoom on hover. */
.cat-tile__art img { transition: transform .9s var(--ease-out); }
.cat-tile:hover .cat-tile__art img { transform: scale(1.06); }
.gallery-grid img { transition: transform .8s var(--ease-out); }
.gallery-grid a:hover img { transform: scale(1.07); }





