/* ALIGC components: chrome, cards, overlays, widgets */

/* ============ Promise ticker ============ */
.ticker {
  background: linear-gradient(90deg, var(--brand-950), var(--brand-700) 45%, var(--brand-800));
  color: #EFE9FF;
  font-size: var(--fs-2xs);
  overflow: hidden;
}
.ticker__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 34px;
}
.ticker__track {
  display: flex;
  gap: var(--sp-8);
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker__run {
  display: flex;
  gap: var(--sp-8);
  flex: none;
  animation: marquee 34s linear infinite;
  white-space: nowrap;
}
.ticker:hover .ticker__run { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 7px; letter-spacing: 0.02em; }
.ticker__item svg { width: 14px; height: 14px; color: var(--gold-500); }
.ticker__links { display: flex; align-items: center; gap: var(--sp-4); flex: none; }
.ticker__links a { opacity: 0.82; }
.ticker__links a:hover { opacity: 1; color: #fff; }
@media (max-width: 900px) { .ticker__links { display: none; } }

/* ============ Header ============ */
.site-chrome-sticky {
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header {
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-3) var(--ease), background var(--dur-3) var(--ease);
}
.site-chrome-sticky.is-stuck .site-header { box-shadow: var(--sh-md); }
.header__main {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 74px;
  transition: height var(--dur-3) var(--ease);
}
.site-chrome-sticky.is-stuck .header__main { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ink); }
.brand__logo { display: block; line-height: 0; }
.brand__logo img,
.brand__logo svg {
  display: block;
  height: 36px;
  width: auto;
}
.site-chrome-sticky.is-stuck .brand__logo img,
.site-chrome-sticky.is-stuck .brand__logo svg { height: 30px; }
@media (max-width: 720px) {
  .brand__logo img,
  .brand__logo svg { height: 30px; }
}
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  display: block;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__tld { color: var(--brand-400); }
.brand__claim {
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 700;
}
[data-theme="dark"] .site-header .brand__logo img,
[data-theme="dark"] .drawer__head .brand__logo img,
[data-theme="dark"] .auth-modal__brand .brand__logo img {
  filter: brightness(0) invert(1);
}
@media (max-width: 1080px) { .brand__claim { display: none; } }

/* Search */
.searchbox { position: relative; flex: 1; max-width: 620px; }
.searchbox__form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 14px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.searchbox__form:focus-within {
  background: var(--surface);
  border-color: var(--brand-400);
  box-shadow: var(--ring);
}
.searchbox__icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.searchbox__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: var(--fs-sm);
  padding: 8px 0;
}
.searchbox__input:focus { outline: none; }
.searchbox__submit { flex: none; min-height: 38px; padding: 8px 18px; }
.searchbox__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: var(--sp-4);
  display: none;
  z-index: 5;
  animation: pop-in var(--dur-2) var(--ease-out);
  max-height: 72vh;
  overflow: auto;
}
.searchbox.is-open .searchbox__panel { display: block; }
.searchbox__group + .searchbox__group { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); }
.searchbox__title {
  font-size: var(--fs-3xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.searchbox__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.searchbox__hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--r-sm);
  width: 100%;
  text-align: left;
  transition: background var(--dur-1) var(--ease);
}
.searchbox__hit:hover, .searchbox__hit.is-active { background: var(--brand-050); }
.searchbox__hit img, .searchbox__hit .thumb {
  width: 46px; height: 46px;
  border-radius: var(--r-xs);
  object-fit: cover;
  flex: none;
  background: var(--surface-3);
}
.searchbox__hit b { display: block; font-size: var(--fs-sm); font-weight: 650; }
.searchbox__hit span { font-size: var(--fs-2xs); color: var(--muted); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.header__act {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.header__act:hover { background: var(--surface-3); color: var(--brand-600); }
.header__act svg { width: 21px; height: 21px; flex: none; }
.header__act-text { display: flex; flex-direction: column; line-height: 1.15; }
.header__act-text small { font-size: 10px; color: var(--muted); }
.header__act-text b { font-size: var(--fs-xs); font-weight: 700; }
@media (max-width: 1180px) { .header__act-text { display: none; } }

.count-bubble {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--deal-500);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
  transition: transform var(--dur-3) var(--ease-spring);
}
.count-bubble[data-empty="1"] { display: none; }
.count-bubble.is-bump { transform: scale(1.35); }

/* Locale popover */
.popover { position: relative; }
.popover__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: var(--sp-4);
  display: none;
  z-index: 20;
  animation: pop-in var(--dur-2) var(--ease-out);
}
.popover.is-open .popover__panel { display: block; }
.popover__panel--menu { width: 250px; padding: 8px; }
.menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  width: 100%;
  text-align: left;
}
.menu-link:hover { background: var(--brand-050); color: var(--brand-700); }
.menu-link svg { width: 17px; height: 17px; color: var(--muted); }
.menu-sep { height: 1px; background: var(--line); margin: 6px 0; }

.locale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.locale-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-xs);
  text-align: left;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.locale-opt:hover { background: var(--surface-2); }
.locale-opt.is-active { border-color: var(--brand-300); background: var(--brand-050); color: var(--brand-700); font-weight: 700; }
.flag {
  width: 24px; height: 17px;
  border-radius: 3px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* ============ Nav / mega menu ============ */
.header__nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  overflow: visible;
  position: relative;
  z-index: 2;
}
.site-chrome-sticky.is-stuck .header__nav {
  border-top-color: transparent;
}
.site-chrome-sticky.is-stuck .nav {
  height: 44px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 48px;
  overflow: visible;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__item { position: relative; flex: none; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open .nav__link { background: var(--brand-050); color: var(--brand-700); }
.nav__link svg { width: 15px; height: 15px; }
.nav__link--hot { color: var(--deal-600); }
.nav__link--hot:hover { background: var(--deal-050); color: var(--deal-700); }
.nav__link--new {
  color: var(--brand-700) !important;
  font-weight: 700;
  background: linear-gradient(180deg, #FFFBF2 0%, #FFF4DC 100%);
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 7px 12px 7px 10px;
  gap: 6px;
}
.nav__link--new svg { color: var(--brand-600); opacity: 0.9; }
.nav__link--new:hover {
  background: linear-gradient(180deg, #FFF8E8 0%, #FFEEC4 100%);
  border-color: rgba(201, 162, 39, 0.45);
  color: var(--brand-800) !important;
}
.nav__new-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 4px;
  background: var(--brand-600);
  color: #fff;
}
[data-theme="dark"] .nav__link--new {
  background: linear-gradient(180deg, rgba(91, 63, 196, 0.18) 0%, rgba(91, 63, 196, 0.08) 100%);
  border-color: rgba(155, 135, 245, 0.25);
  color: #E8E0FF !important;
}
[data-theme="dark"] .nav__link--new:hover {
  background: linear-gradient(180deg, rgba(91, 63, 196, 0.28) 0%, rgba(91, 63, 196, 0.14) 100%);
  color: #fff !important;
}
[data-theme="dark"] .nav__new-tag { background: var(--brand-500); }
.nav__caret { transition: transform var(--dur-2) var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: -8px;
  width: min(880px, calc(100vw - 48px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: var(--sp-6);
  display: none;
  z-index: 40;
}
.nav__item.is-open .mega { display: grid; animation: pop-in var(--dur-3) var(--ease-out); }
.mega { grid-template-columns: 1fr 1fr 1fr 250px; gap: var(--sp-6); }
.mega__col h6 {
  font-size: var(--fs-3xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.mega__col ul { list-style: none; padding: 0; display: grid; gap: 3px; }
.mega__col a {
  display: block;
  padding: 5px 8px;
  margin-left: -8px;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.mega__col a:hover { background: var(--brand-050); color: var(--brand-700); }
.mega__cats { max-height: 360px; overflow-y: auto; }
.mega__cat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-left: -8px;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
}
.mega__cat svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
.mega__cat.is-active,
.mega__cat:hover { background: var(--brand-050); color: var(--brand-700); }
.mega__col--sub ul { max-height: 360px; overflow-y: auto; }
.mega--brands {
  width: min(920px, calc(100vw - 48px));
  grid-template-columns: 1fr;
}
.mega__col--brands { min-width: 0; }
.mega__brands {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  max-height: 360px;
  overflow-y: auto;
}
.mega__brand a {
  display: block;
  padding: 8px 10px;
  margin-left: -8px;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--ink);
  min-width: 0;
}
.mega__brand a:hover { background: var(--brand-050); color: var(--brand-700); }
.mega__brand span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mega__brands-all { margin-top: 12px; }
@media (max-width: 1080px) {
  .mega__brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .mega__brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mega__promo {
  border-radius: var(--r-md);
  padding: var(--sp-5);
  background: linear-gradient(160deg, var(--brand-900), var(--brand-600));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 200px;
}
.mega__promo b { font-family: var(--font-display); font-size: var(--fs-xl); display: block; }
.mega__promo p { font-size: var(--fs-xs); opacity: 0.85; margin-top: 6px; }
@media (max-width: 1080px) { .mega { grid-template-columns: 1fr 1fr; } .mega__promo { display: none; } }
@media (max-width: 900px) { .header__nav { display: none; } }

/* Mobile menu button */
.burger { display: none; }
@media (max-width: 900px) {
  .burger { display: inline-grid; }
  .searchbox { order: 4; flex-basis: 100%; max-width: none; }
  .header__main { flex-wrap: wrap; height: auto; padding-block: 10px 12px; gap: var(--sp-3); }
  .site-chrome-sticky.is-stuck .header__main { height: auto; }
}

/* ============ Drawer ============ */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 34, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-3) var(--ease);
  z-index: var(--z-drawer);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: min(430px, 100vw);
  background: var(--surface);
  box-shadow: var(--sh-xl);
  transform: translateX(102%);
  transition: transform var(--dur-4) var(--ease-out);
  z-index: calc(var(--z-drawer) + 1);
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: none; }
.drawer--left { right: auto; left: 0; transform: translateX(-102%); width: min(360px, 88vw); }
.drawer__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__head .brand__logo img,
.drawer__head .brand__logo svg { height: 28px; }
.drawer__head h3 { font-size: var(--fs-lg); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-5); }
.drawer__foot {
  flex: none;
  padding: var(--sp-5);
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.drawer-line + .drawer-line,
.drawer-line { border-bottom: 1px solid var(--line); }
.drawer-line:last-child { border-bottom: 0; }
.drawer-line__remove {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-2xs);
  font-weight: 600;
  color: var(--muted);
  padding: 2px 0;
  transition: color var(--dur-2) var(--ease);
}
.drawer-line__remove svg { width: 14px; height: 14px; flex: none; }
.drawer-line__remove:hover { color: var(--deal-600); }
.drawer-line .line-item__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 8px;
}

.mobile-nav { list-style: none; padding: 0; display: grid; gap: 2px; }
.mobile-nav a, .mobile-nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-md);
  font-weight: 600;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: var(--brand-050); color: var(--brand-700); }
.mobile-nav__sub { list-style: none; padding: 0 0 8px 12px; display: none; }
.mobile-nav__sub.is-open { display: grid; }
.mobile-nav__sub a { font-size: var(--fs-sm); font-weight: 500; color: var(--muted); padding: 8px 12px; }

/* ============ Modal ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  place-items: center;
  padding: var(--sp-4);
  background: rgba(20, 12, 36, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal.is-open { display: grid; }
.modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  animation: pop-in var(--dur-3) var(--ease-out);
}
.modal__panel--sm { width: min(480px, 100%); }
.modal__panel--auth { width: min(440px, 100%); }
.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: var(--surface);
  box-shadow: var(--sh-sm);
}

/* ============ Toast ============ */
.toaster {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: var(--z-toast);
  display: grid;
  gap: 10px;
  width: min(370px, calc(100vw - 32px));
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mint-500);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-lg);
  animation: pop-in var(--dur-3) var(--ease-out);
  font-size: var(--fs-sm);
}
.toast.is-out { animation: fade-in var(--dur-3) var(--ease) reverse forwards; }
.toast--info { border-left-color: var(--sky-500); }
.toast--warn { border-left-color: var(--gold-500); }
.toast--error { border-left-color: var(--deal-500); }
.toast__icon { flex: none; width: 20px; height: 20px; color: var(--mint-600); }
.toast--info .toast__icon { color: var(--sky-500); }
.toast--error .toast__icon { color: var(--deal-600); }
.toast b { display: block; font-weight: 700; }
.toast p { color: var(--muted); font-size: var(--fs-2xs); }
.toast img { width: 42px; height: 42px; border-radius: var(--r-xs); flex: none; }

/* ============ Live purchase proof (homepage) ============ */
.live-buy {
  position: fixed;
  left: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 80;
  width: min(340px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}
.live-buy.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.live-buy.is-out {
  opacity: 0;
  transform: translateY(10px);
}
.live-buy__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 40px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-lg);
  color: inherit;
  text-decoration: none;
}
.live-buy__card:hover { border-color: var(--brand-300); }
.live-buy__card img {
  width: 52px;
  height: 52px;
  border-radius: var(--r-xs);
  object-fit: cover;
  flex: none;
  background: var(--surface-3);
}
.live-buy__body { min-width: 0; flex: 1; }
.live-buy__who {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  margin: 0;
  font-size: var(--fs-xs);
}
.live-buy__who b { font-weight: 800; }
.live-buy__who span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-2xs);
}
.live-buy__what {
  margin: 4px 0 0;
  font-size: var(--fs-2xs);
  color: var(--ink-2);
  line-height: 1.35;
}
.live-buy__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 6px 0 0;
}
.live-buy__ago {
  font-size: var(--fs-2xs);
  color: var(--muted);
}
.live-buy__save {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--mint-600);
}
.live-buy__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 50%;
  cursor: pointer;
}
.live-buy__close:hover { color: var(--ink); background: var(--surface-3); }
.live-buy__close svg { width: 14px; height: 14px; }
body:has(.cookiebar.is-open) .live-buy { bottom: 210px; }
@media (max-width: 760px) {
  .live-buy { display: none !important; }
}

/* ============ Badges / chips / pills ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: var(--fs-3xs);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--surface-3);
  color: var(--ink-2);
  white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; }
.badge--deal { background: var(--deal-500); color: #fff; }
.badge--gold { background: var(--gold-100); color: var(--gold-600); }
.badge--mint { background: var(--mint-100); color: var(--mint-600); }
.badge--brand { background: var(--brand-100); color: var(--brand-700); }
.badge--sky { background: var(--sky-100); color: var(--sky-500); }
.badge--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.badge--lowest { background: linear-gradient(100deg, var(--gold-500), #F5C169); color: #4A2F00; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-2);
  transition: all var(--dur-2) var(--ease);
}
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-050); }
.chip.is-active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.chip--x { padding-right: 9px; }
.chip--x svg { width: 13px; height: 13px; opacity: 0.7; }

/* ============ Price ============ */
.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--price);
  letter-spacing: -0.02em;
}
.price__was { font-size: var(--fs-xs); color: var(--muted-2); text-decoration: line-through; }
.price__off {
  font-size: var(--fs-3xs);
  font-weight: 800;
  color: var(--deal-600);
  background: var(--deal-100);
  padding: 2px 6px;
  border-radius: var(--r-xs);
}
.price--lg .price__now { font-size: var(--fs-3xl); }
.price--sm .price__now { font-size: var(--fs-md); }

/* ============ Rating ============ */
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-2xs); color: var(--muted); }
.stars { display: inline-flex; gap: 1.5px; color: var(--gold-500); }
.stars svg { width: 13px; height: 13px; }
.stars--lg svg { width: 18px; height: 18px; }
.stars .is-off { color: var(--line-strong); }

/* ============ Product card ============ */
.product-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.product-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .product-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .product-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.product-grid--compact { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: var(--sp-4); }
.list-more { display: flex; justify-content: center; margin: var(--sp-8) 0 var(--sp-4); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--brand-200); }
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface-3);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out), opacity var(--dur-3) var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__media img.card__alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img.card__alt { opacity: 1; }
.card__flags {
  position: absolute;
  top: 9px; left: 9px;
  display: grid;
  gap: 5px;
  justify-items: start;
  z-index: 2;
}
.card__fav {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 2;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(6px);
  box-shadow: var(--sh-sm);
  color: var(--ink-2);
  transform: translateY(-6px);
  opacity: 0;
  transition: all var(--dur-2) var(--ease-out);
}
.card:hover .card__fav, .card__fav.is-on { opacity: 1; transform: none; }
.card__fav:hover { color: var(--deal-500); }
.card__fav.is-on { color: var(--deal-500); }
.card__fav.is-on svg { fill: currentColor; }
.card__fav svg { width: 17px; height: 17px; }
.card__quick {
  position: absolute;
  left: 9px; right: 9px; bottom: 9px;
  z-index: 2;
  display: flex;
  gap: 6px;
  transform: translateY(14px);
  opacity: 0;
  transition: all var(--dur-3) var(--ease-out);
}
.card:hover .card__quick { transform: none; opacity: 1; }
.card__quick .btn { flex: 1; min-height: 38px; padding: 8px 12px; font-size: var(--fs-2xs); box-shadow: var(--sh-md); }
.card__body { padding: 13px 14px 15px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__brand {
  font-size: var(--fs-3xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.card__title {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  min-height: 2.8em;
}
.card__title a:hover { color: var(--brand-600); }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.card__ship { font-size: var(--fs-3xs); color: var(--mint-600); font-weight: 700; display: flex; align-items: center; gap: 4px; }
.card__ship svg { width: 12px; height: 12px; }
.card__bar { height: 4px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.card__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--deal-500), var(--gold-500)); border-radius: 99px; }

/* list layout variant */
.card--row { flex-direction: row; }
.card--row .card__media { width: 210px; flex: none; aspect-ratio: 1/1; }
.card--row .card__body { padding: var(--sp-5); gap: 10px; }
.card--row .card__title { font-size: var(--fs-lg); min-height: 0; }
.card--row .card__desc { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 640px) { .card--row { flex-direction: column; } .card--row .card__media { width: 100%; } }

/* ============ Countdown ============ */
.countdown { display: inline-flex; align-items: center; gap: 5px; }
.countdown__unit {
  min-width: 38px;
  padding: 6px 4px;
  border-radius: var(--r-xs);
  background: var(--brand-950);
  color: #fff;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-md);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__unit small { display: block; font-size: 8.5px; opacity: 0.65; margin-top: 3px; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-sans); }
.countdown__sep { color: var(--muted); font-weight: 800; }
.countdown--deal .countdown__unit { background: var(--deal-500); }
.countdown--sm .countdown__unit { min-width: 30px; font-size: var(--fs-sm); padding: 4px 3px; }

/* ============ Tabs / accordion ============ */
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  padding: 13px 4px;
  margin-right: var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--brand-600); }
.tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand-500);
}
.tab__count { font-size: var(--fs-3xs); color: var(--muted-2); font-weight: 700; }
.tabpanel { display: none; padding-top: var(--sp-6); animation: fade-up var(--dur-3) var(--ease-out); }
.tabpanel.is-active { display: block; }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: 18px 0;
  text-align: left;
  font-size: var(--fs-md);
  font-weight: 650;
}
.accordion__btn:hover { color: var(--brand-600); }
.accordion__icon {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-600);
  transition: transform var(--dur-3) var(--ease), background var(--dur-2) var(--ease);
}
.accordion__icon svg { width: 15px; height: 15px; }
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); background: var(--brand-500); color: #fff; }
.accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-3) var(--ease);
}
.accordion__item.is-open .accordion__body { grid-template-rows: 1fr; }
.accordion__inner { overflow: hidden; }
.accordion__inner > div { padding-bottom: 20px; color: var(--muted); font-size: var(--fs-sm); max-width: 78ch; }

/* ============ Breadcrumb / pagination ============ */
.crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: var(--fs-2xs);
  color: var(--muted);
  padding-block: var(--sp-4);
}
.crumbs a:hover { color: var(--brand-600); }
.crumbs svg { width: 12px; height: 12px; opacity: 0.5; }
.crumbs [aria-current] { color: var(--ink); font-weight: 650; }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pager button, .pager span {
  min-width: 40px; height: 40px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 650;
  transition: all var(--dur-2) var(--ease);
}
.pager button:hover { border-color: var(--brand-400); color: var(--brand-600); }
.pager button.is-active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.pager button[disabled] { opacity: 0.4; pointer-events: none; }
.pager span { border: 0; background: none; color: var(--muted); }

/* ============ Cookie bar ============ */
.cookiebar {
  position: fixed;
  left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4);
  max-width: 560px;
  z-index: 85;
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  transform: translateY(140%);
  transition: transform var(--dur-4) var(--ease-out);
}
.cookiebar.is-open { transform: none; }
.cookiebar h4 { display: flex; align-items: center; gap: 8px; }
.cookiebar h4 svg { width: 20px; height: 20px; color: var(--brand-500); }
.cookiebar p { font-size: var(--fs-xs); color: var(--muted); margin-top: 8px; }
.cookiebar__row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-4); }

/* ============ Footer ============ */
.site-footer { background: var(--brand-950); color: #CFC7E4; margin-top: var(--sp-9); }
.footer__usp {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: var(--sp-6);
}
.footer__usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.footer__usp-item { display: flex; gap: 13px; align-items: flex-start; }
.footer__usp-item svg { width: 26px; height: 26px; color: var(--gold-500); flex: none; }
.footer__usp-item b { color: #fff; display: block; font-size: var(--fs-sm); }
.footer__usp-item span { font-size: var(--fs-2xs); opacity: 0.7; }
@media (max-width: 900px) { .footer__usp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__usp-grid { grid-template-columns: 1fr; } }

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--sp-7);
  padding-block: var(--sp-8);
}
@media (max-width: 1000px) { .footer__main { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer__main { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
.footer__col h6 {
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: var(--fs-xs); }
.footer__col a { opacity: 0.8; }
.footer__col a:hover { opacity: 1; color: #fff; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__logo img,
.footer__brand .brand__logo svg { height: 34px; }
.footer__brand .brand__logo img { filter: brightness(0) invert(1); }
.footer__brand p { font-size: var(--fs-xs); opacity: 0.72; margin-top: var(--sp-4); max-width: 34ch; }
.footer__social { display: flex; gap: 8px; margin-top: var(--sp-5); }
.footer__social a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--dur-2) var(--ease);
}
.footer__social a:hover { background: var(--brand-500); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

.newsletter { display: flex; gap: 8px; margin-top: var(--sp-4); }
.newsletter .input {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.newsletter .input::placeholder { color: rgba(255, 255, 255, 0.45); }

.footer__pay { display: flex; flex-wrap: wrap; gap: 7px; margin-top: var(--sp-4); }
.pay-badge {
  height: 26px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.93);
  color: #21203A;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-2xs);
  opacity: 0.75;
}
.footer__legal { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* ============ Sticky mobile bottom nav ============ */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  .bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 65;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a {
    position: relative;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 9px 0 8px;
    font-size: 10px;
    font-weight: 650;
    color: var(--muted);
  }
  .bottom-nav a.is-active { color: var(--brand-600); }
  .bottom-nav svg { width: 21px; height: 21px; }
  .bottom-nav .count-bubble { top: 2px; right: 22%; }
  body {
    padding-bottom: 62px;
    --mob-nav-h: 62px;
    --mob-float-gap: 10px;
    --mob-cs-size: 48px;
    --mob-rp-size: 56px;
    --mob-float-stack-top: calc(var(--mob-nav-h) + var(--mob-float-gap) + var(--mob-cs-size) + var(--mob-float-gap) + var(--mob-rp-size) + var(--mob-float-gap));
  }
  .toaster { bottom: 74px; }
  .cookiebar { bottom: 70px; }
  body:not(:has(.rp-float:not([hidden]))) {
    --mob-float-stack-top: calc(var(--mob-nav-h) + var(--mob-float-gap) + var(--mob-cs-size) + 14px);
  }
}

/* ============ Customer support widget ============ */
.cs-float {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: calc(var(--z-modal) + 6);
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
  color: #fff;
  box-shadow: 0 8px 22px rgba(91, 63, 196, 0.38);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out);
}
.cs-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(91, 63, 196, 0.48); }
.cs-float.is-open { background: var(--surface); color: var(--brand-600); border: 1px solid var(--brand-200); box-shadow: var(--sh-md); }
.cs-float__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(91, 63, 196, 0.35);
  animation: cs-ring 1.8s ease-out infinite;
  pointer-events: none;
}
.cs-float__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--deal);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.cs-panel {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: calc(var(--z-modal) + 6);
  width: min(360px, calc(100vw - 32px));
  height: min(480px, calc(100vh - 110px));
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(27, 16, 48, 0.18);
  overflow: hidden;
}
.cs-panel__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--brand-700);
  color: #fff;
}
.cs-panel__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cs-panel__brand svg { flex-shrink: 0; opacity: 0.95; }
.cs-panel__head strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 800;
  line-height: 1.2;
}
.cs-panel__status {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  opacity: 0.82;
  font-weight: 500;
}
.cs-panel__close {
  color: #fff;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.cs-panel__close:hover { background: rgba(255, 255, 255, 0.14); }
.cs-panel__body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
}
.cs-panel__intro {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 14px 10px;
}
.cs-panel__lead {
  margin: 0 0 12px;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.5;
}
.cs-form { display: grid; gap: 10px; }
.cs-field { display: grid; gap: 5px; }
.cs-field > span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-field .cs-input {
  min-height: 40px;
  padding: 9px 12px;
  font-size: var(--fs-sm);
}
.cs-panel--intro .cs-messages { display: none; }
.cs-panel:not(.cs-panel--intro) .cs-panel__intro { display: none; }
.cs-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cs-messages:empty::before {
  content: "";
  flex: 1;
  min-height: 40px;
}
.cs-msg { display: flex; flex-direction: column; max-width: 86%; }
.cs-msg--user { align-self: flex-end; align-items: flex-end; }
.cs-msg--agent { align-self: flex-start; align-items: flex-start; }
.cs-msg__bubble {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: var(--fs-sm);
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.cs-msg--user .cs-msg__bubble {
  background: var(--brand-600);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.cs-msg--agent .cs-msg__bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  box-shadow: var(--sh-xs);
}
.cs-msg__time { font-size: 10px; color: var(--muted); margin-top: 3px; }
.cs-compose {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.cs-textarea {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  max-height: 96px;
  resize: none;
  padding: 10px 12px;
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.cs-send {
  flex-shrink: 0;
  min-width: 68px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: var(--r-sm) !important;
  font-size: var(--fs-xs);
}
@keyframes cs-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}
body:has(.cookiebar.is-open) .cs-float { bottom: 210px; }
body:has(.cookiebar.is-open) .cs-panel { bottom: 278px; }
@media (max-width: 760px) {
  /* Left stack — keep bottom-right Bag column tappable */
  .cs-float {
    left: 14px;
    right: auto;
    bottom: calc(var(--mob-nav-h) + var(--mob-float-gap) + env(safe-area-inset-bottom, 0px));
    width: var(--mob-cs-size);
    height: var(--mob-cs-size);
    z-index: 70;
  }
  .cs-panel {
    left: 14px;
    right: 14px;
    width: auto;
    bottom: calc(var(--mob-nav-h) + var(--mob-cs-size) + 22px + env(safe-area-inset-bottom, 0px));
    height: min(420px, calc(100vh - var(--mob-nav-h) - var(--mob-cs-size) - 48px));
  }
  body:has(.cookiebar.is-open) .cs-float {
    left: 14px;
    right: auto;
    bottom: calc(214px + env(safe-area-inset-bottom, 0px));
  }
  body:has(.cookiebar.is-open) .cs-panel {
    left: 14px;
    right: 14px;
    width: auto;
    bottom: calc(278px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 620px) {
  .cs-panel {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: min(520px, 78vh);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }
  body:has(.cookiebar.is-open) .cs-panel {
    bottom: 0;
    height: min(460px, 62vh);
  }
}

/* ============ Misc surfaces ============ */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
}
.panel--flush { padding: 0; overflow: hidden; }
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.panel__body { padding: var(--sp-6); }

.note {
  display: flex;
  gap: 11px;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: var(--brand-050);
  border: 1px solid var(--brand-100);
  font-size: var(--fs-xs);
  color: var(--brand-800);
}
.note svg { width: 18px; height: 18px; flex: none; color: var(--brand-500); }
.note--mint { background: var(--mint-100); border-color: transparent; color: var(--mint-600); }
.note--mint svg { color: var(--mint-600); }
.note--gold { background: var(--gold-100); border-color: transparent; color: var(--gold-600); }
.note--gold svg { color: var(--gold-600); }
.note--deal { background: var(--deal-050); border-color: var(--deal-100); color: var(--deal-700); }
.note--deal svg { color: var(--deal-500); }

.divider-text {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  color: var(--muted);
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.divider-text::before, .divider-text::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface);
}
.qty button {
  width: 40px; height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: background var(--dur-1) var(--ease);
}
.qty button:hover { background: var(--surface-3); color: var(--brand-600); }
.qty button svg { width: 15px; height: 15px; }
.qty input {
  width: 46px;
  height: 42px;
  border: 0;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: none;
}
.qty input:focus { outline: none; }
.qty--sm button { width: 32px; height: 34px; }
.qty--sm input { width: 36px; height: 34px; font-size: var(--fs-sm); }

.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line);
  padding: 3px;
  transition: all var(--dur-2) var(--ease);
}
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.swatch:hover { border-color: var(--brand-300); transform: scale(1.06); }
.swatch.is-active { border-color: var(--brand-500); }
.size-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt {
  min-width: 52px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 650;
  background: var(--surface);
  transition: all var(--dur-2) var(--ease);
}
.size-opt:hover { border-color: var(--brand-400); }
.size-opt.is-active { background: var(--brand-500); border-color: var(--brand-500); color: #fff; }
.size-opt.is-out { opacity: 0.42; text-decoration: line-through; pointer-events: none; }

.timeline { list-style: none; padding: 0; display: grid; gap: 0; }
.timeline li {
  position: relative;
  padding: 0 0 22px 30px;
  border-left: 2px solid var(--line);
  margin-left: 7px;
}
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--line-strong);
}
.timeline li.is-done { border-left-color: var(--mint-500); }
.timeline li.is-done::before { background: var(--mint-500); border-color: var(--mint-100); }
.timeline li.is-current::before { background: var(--brand-500); border-color: var(--brand-100); animation: pulse-ring 2s infinite; }
.timeline b { display: block; font-size: var(--fs-sm); }
.timeline span { font-size: var(--fs-2xs); color: var(--muted); }

.steps { display: flex; align-items: center; gap: 0; }
.steps__item { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--muted); font-weight: 650; }
.steps__item + .steps__item::before {
  content: "";
  width: clamp(18px, 5vw, 70px);
  height: 2px;
  background: var(--line);
  margin: 0 12px;
  border-radius: 2px;
}
.steps__dot {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--muted);
  font-size: var(--fs-2xs);
  font-weight: 800;
  flex: none;
}
.steps__item.is-active { color: var(--brand-700); }
.steps__item.is-active .steps__dot { background: var(--brand-500); color: #fff; }
.steps__item.is-done .steps__dot { background: var(--mint-500); color: #fff; }
.steps__item.is-done { color: var(--mint-600); }
@media (max-width: 600px) { .steps__label { display: none; } }

.table-clean th, .table-clean td { padding: 11px 14px; text-align: left; font-size: var(--fs-sm); }
.table-clean thead th {
  font-size: var(--fs-2xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.table-clean tbody tr + tr td { border-top: 1px solid var(--line); }
.table-clean tbody tr:hover td { background: var(--surface-2); }
.specs-table th { width: 38%; color: var(--muted); font-weight: 600; vertical-align: top; }
.specs-table tr:nth-child(odd) { background: var(--surface-2); }
.specs-table th, .specs-table td { padding: 10px 14px; font-size: var(--fs-sm); border-radius: var(--r-xs); }

.empty-state { text-align: center; padding: var(--sp-9) var(--sp-4); }
.empty-state__art {
  width: 110px; height: 110px;
  margin: 0 auto var(--sp-5);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-300);
}
.empty-state__art svg { width: 46px; height: 46px; }
.empty-state p { color: var(--muted); max-width: 44ch; margin: 10px auto var(--sp-5); }

.progress { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mint-500), var(--brand-400));
  transition: width var(--dur-4) var(--ease-out);
}

/* Horizontal scroller with snap */
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3);
  scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.scroller-wrap { position: relative; }
.scroller-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  transition: all var(--dur-2) var(--ease);
}
.scroller-nav:hover { color: var(--brand-600); border-color: var(--brand-300); }
.scroller-nav--prev { left: -14px; }
.scroller-nav--next { right: -14px; }
@media (max-width: 900px) { .scroller-nav { display: none; } }
