/* ============================================================
   Ultra Label — component library (BEM-ish). Signature: ink strip.
   ============================================================ */

/* ---------- Ink Strip (signature element) ---------- */
.ink { position: relative; }
.ink::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; background: var(--clr-accent); border-radius: var(--radius-full);
  transition: height .28s cubic-bezier(.2,.8,.2,1);
}
.ink:hover::before, .ink.is-active::before { height: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 600;
  background: color-mix(in srgb, var(--clr-surface) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
  transition: height .25s ease;
}
.header__inner { display: flex; align-items: center; gap: var(--space-4); height: var(--header-h); }
.header.is-compact .header__inner { height: var(--header-h-compact); }
.header__brand { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); }
.header__brand img { width: 34px; height: 34px; border-radius: var(--radius-sm); object-fit: cover; }
.header__nav { display: none; gap: var(--space-5); font-weight: 600; font-size: var(--text-sm); }
.header__nav a { padding: var(--space-2) 0; }
.header__nav a.is-active { color: var(--clr-accent); }
@media (min-width: 1024px) { .header__nav { display: flex; } }
.header__actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.header__icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--radius-full); font-size: 1.2rem;
}
.header__icon-btn:hover { background: var(--clr-surface-2); }
.header__badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--clr-accent); color: var(--clr-on-accent); font-size: 11px; font-weight: 700;
  border-radius: var(--radius-full); display: grid; place-items: center;
}

/* search */
.search { position: relative; flex: 1; max-width: 520px; display: none; }
@media (min-width: 768px) { .search { display: block; } }
.search--mobile { display: block; max-width: none; margin: var(--space-3) 0; }
@media (min-width: 768px) { .search--mobile { display: none; } }
.search__input {
  width: 100%; height: 44px; padding: 0 var(--space-4) 0 42px;
  background: var(--clr-surface-2); border: 1px solid transparent; border-radius: var(--radius-full);
  transition: border .2s, background .2s;
}
.search__input:focus { outline: 0; border-color: var(--clr-accent); background: var(--clr-surface); }
.search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--clr-text-muted); }
.search__suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 700;
  background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal); overflow: hidden; display: none;
}
.search__suggest.is-open { display: block; }
.search__suggest a { display: block; padding: var(--space-3) var(--space-4); font-size: var(--text-sm); }
.search__suggest a:hover { background: var(--clr-surface-2); }

/* ---------- Bottom nav (mobile app pattern) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--clr-surface); border-top: 1px solid var(--clr-border);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
@media (min-width: 768px) { .bottom-nav { display: none; } }
.bottom-nav__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: var(--text-xs); color: var(--clr-text-secondary); position: relative;
}
.bottom-nav__item .ico { font-size: 1.25rem; line-height: 1; }
.bottom-nav__item.is-active { color: var(--clr-accent); font-weight: 700; }
.bottom-nav__item .header__badge { top: 2px; right: calc(50% - 22px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-6); border-radius: var(--radius-md);
  font-weight: 700; font-size: var(--text-sm); letter-spacing: .01em;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--clr-accent); color: var(--clr-on-accent); box-shadow: var(--shadow-float); }
.btn--primary:hover { background: color-mix(in srgb, var(--clr-accent) 88%, black); }
.btn--dark { background: var(--clr-primary); color: var(--clr-on-primary); }
.btn--outline { border: 1.5px solid var(--clr-primary); color: var(--clr-text-primary); background: transparent; }
.btn--outline:hover { background: var(--clr-primary); color: var(--clr-on-primary); }
.btn--ghost { background: var(--clr-surface-2); color: var(--clr-text-primary); }
.btn--ghost:hover { background: var(--clr-border); }
.btn--danger { background: var(--clr-danger); color: #fff; }
.btn--sm { min-height: 36px; padding: 0 var(--space-4); font-size: var(--text-xs); border-radius: var(--radius-sm); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::before {
  content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-top-color: transparent;
  border-radius: var(--radius-full); animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: var(--space-4); }
.field__label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); }
.field__input, .field__select, .field__textarea {
  width: 100%; min-height: 48px; padding: var(--space-3) var(--space-4);
  background: var(--clr-surface); border: 1.5px solid var(--clr-border); border-radius: var(--radius-md);
  transition: border .2s;
}
.field__textarea { min-height: 0; }
.field__input:focus, .field__select:focus, .field__textarea:focus { outline: 0; border-color: var(--clr-accent); }
.field__error { display: none; color: var(--clr-danger); font-size: var(--text-xs); margin-top: var(--space-1); }
.field.has-error .field__input { border-color: var(--clr-danger); }
.field.has-error .field__error { display: block; }
.form-alert {
  display: none; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--clr-danger) 12%, var(--clr-surface)); color: var(--clr-danger);
  font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-4);
}
.form-alert.is-show { display: block; }

/* stepper (qty) */
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--clr-border); border-radius: var(--radius-md); overflow: hidden; }
.stepper button { width: 44px; height: 44px; font-size: 1.1rem; font-weight: 700; }
.stepper button:hover { background: var(--clr-surface-2); }
.stepper input { width: 48px; text-align: center; border: 0; height: 44px; background: transparent; }
.stepper input:focus { outline: 0; }

/* ---------- Cards ---------- */
.card { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius-lg); padding: var(--space-5); }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  position: relative; background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.product-card::before { /* ink strip */
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 3px; height: 0; background: var(--clr-accent); transition: height .28s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover::before { height: 100%; }
.product-card__media { position: relative; aspect-ratio: 3/4; background: var(--clr-surface-2); overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__wish {
  position: absolute; top: var(--space-2); right: var(--space-2); z-index: 2;
  width: 38px; height: 38px; border-radius: var(--radius-full); display: grid; place-items: center;
  background: color-mix(in srgb, var(--clr-surface) 80%, transparent); backdrop-filter: blur(6px);
  color: var(--clr-text-muted); font-size: 1.1rem; transition: transform .2s, color .2s;
}
.product-card__wish:hover { transform: scale(1.12); }
.product-card__wish.is-on { color: var(--clr-accent); }
.product-card__badges { position: absolute; top: var(--space-2); left: var(--space-2); z-index: 2; display: flex; flex-direction: column; gap: var(--space-1); }
.product-card__body { padding: var(--space-3) var(--space-4) var(--space-4); }
.product-card__vendor { font-size: var(--text-xs); color: var(--clr-text-muted); font-weight: 600; }
.product-card__name {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--text-sm); line-height: 1.35;
  margin: var(--space-1) 0 var(--space-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.product-card__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.product-card__price { font-weight: 800; font-size: var(--text-lg); }
.product-card__was { font-size: var(--text-xs); color: var(--clr-text-muted); text-decoration: line-through; margin-left: var(--space-1); }
.product-card__cart {
  width: 38px; height: 38px; border-radius: var(--radius-full); display: grid; place-items: center;
  background: var(--clr-primary); color: var(--clr-on-primary); transition: background .2s, transform .15s;
}
.product-card__cart:hover { background: var(--clr-accent); }
.product-card__cart:active { transform: scale(.92); }

/* badge */
.badge { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: var(--radius-sm); font-size: var(--text-xs); font-weight: 700; }
.badge--sale { background: var(--clr-accent); color: var(--clr-on-accent); }
.badge--low { background: var(--clr-warning); color: #fff; }
.badge--out { background: var(--clr-text-muted); color: #fff; }

/* rating */
.stars { display: inline-flex; align-items: center; gap: var(--space-1); font-size: var(--text-xs); color: var(--clr-text-secondary); }
.stars__icons { color: var(--clr-gold); letter-spacing: 1px; }

/* status pill */
.pill { display: inline-block; padding: 3px 10px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; text-transform: capitalize; }
.pill--success { background: color-mix(in srgb, var(--clr-success) 15%, var(--clr-surface)); color: var(--clr-success); }
.pill--warn    { background: color-mix(in srgb, var(--clr-warning) 15%, var(--clr-surface)); color: var(--clr-warning); }
.pill--danger  { background: color-mix(in srgb, var(--clr-danger) 15%, var(--clr-surface)); color: var(--clr-danger); }
.pill--info    { background: color-mix(in srgb, var(--clr-info) 15%, var(--clr-surface)); color: var(--clr-info); }
.pill--muted   { background: var(--clr-surface-2); color: var(--clr-text-secondary); }

/* ---------- Hero ---------- */
.hero {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--clr-primary); color: var(--clr-on-primary);
  padding: clamp(var(--space-8), 7vw, var(--space-20)) clamp(var(--space-5), 5vw, var(--space-16));
  margin-top: var(--space-5);
}
.hero::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--clr-accent) 35%, transparent), transparent 65%);
  pointer-events: none;
}
.hero__eyebrow { display: inline-block; padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--clr-on-primary) 30%, transparent); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--space-4); }
.hero__title { font-size: var(--text-display-xl); max-width: 14ch; }
.hero__sub { margin-top: var(--space-4); max-width: 44ch; color: color-mix(in srgb, var(--clr-on-primary) 75%, transparent); }
.hero__cta { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }

/* ---------- Category pills ---------- */
.cat-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); min-height: 44px;
  border: 1.5px solid var(--clr-border); border-radius: var(--radius-full);
  background: var(--clr-surface); font-weight: 600; font-size: var(--text-sm); white-space: nowrap;
  transition: background .2s, color .2s, border .2s;
}
.cat-pill:hover, .cat-pill.is-active { background: var(--clr-primary); color: var(--clr-on-primary); border-color: var(--clr-primary); }

/* ---------- Vendor card ---------- */
.vendor-card {
  position: relative; width: 240px; padding: var(--space-5);
  background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s; overflow: hidden;
}
.vendor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.vendor-card::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0; background: var(--clr-accent); transition: height .28s; }
.vendor-card:hover::before { height: 100%; }
.vendor-card__logo { width: 56px; height: 56px; border-radius: var(--radius-md); object-fit: cover; background: var(--clr-surface-2); margin-bottom: var(--space-3); }
.vendor-card__name { font-weight: 700; }
.vendor-card__meta { font-size: var(--text-xs); color: var(--clr-text-secondary); margin: var(--space-1) 0 var(--space-3); }

/* ---------- Toast ---------- */
.toast-host { position: fixed; bottom: calc(var(--bottomnav-h) + var(--space-4)); left: 50%; transform: translateX(-50%); z-index: 900; display: flex; flex-direction: column; gap: var(--space-2); width: min(92vw, 380px); }
@media (min-width: 768px) { .toast-host { bottom: auto; top: var(--space-5); left: auto; right: var(--space-5); transform: none; } }
.toast {
  display: flex; gap: var(--space-2); align-items: flex-start;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  color: #fff; font-size: var(--text-sm); font-weight: 600; box-shadow: var(--shadow-modal);
  animation: rise .25s ease;
}
.toast--success { background: var(--clr-success); }
.toast--error   { background: var(--clr-danger); }
.toast--info    { background: var(--clr-primary); }

/* ---------- Modal / bottom sheet ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 800; background: rgba(0,0,0,.45); backdrop-filter: blur(3px);
  display: grid; place-items: end center;
}
.modal {
  width: 100%; max-height: 88vh; overflow: auto;
  background: var(--clr-surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-6); animation: sheet-up .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 768px) {
  .modal-overlay { place-items: center; }
  .modal { max-width: 480px; border-radius: var(--radius-lg); }
}
.modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.modal__title { font-size: var(--text-xl); }
.modal__close { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--clr-surface-2); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: var(--space-5); border-bottom: 1.5px solid var(--clr-border); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn { padding: var(--space-3) 0; font-weight: 600; font-size: var(--text-sm); color: var(--clr-text-secondary); border-bottom: 2px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tabs__btn.is-active { color: var(--clr-text-primary); border-bottom-color: var(--clr-accent); }

/* ---------- Pager ---------- */
.pager { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-8); flex-wrap: wrap; }
.pager__btn { min-width: 44px; height: 44px; border-radius: var(--radius-md); border: 1.5px solid var(--clr-border); display: grid; place-items: center; font-weight: 600; font-size: var(--text-sm); }
.pager__btn.is-active { background: var(--clr-primary); color: var(--clr-on-primary); border-color: var(--clr-primary); }
.pager__btn:hover:not(.is-active) { background: var(--clr-surface-2); }

/* ---------- Step progress (checkout / tracking) ---------- */
.steps { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-6); }
.steps__dot { width: 32px; height: 32px; border-radius: var(--radius-full); display: grid; place-items: center; font-size: var(--text-xs); font-weight: 700; background: var(--clr-surface-2); color: var(--clr-text-secondary); flex-shrink: 0; }
.steps__dot.is-done, .steps__dot.is-active { background: var(--clr-accent); color: var(--clr-on-accent); }
.steps__bar { flex: 1; height: 2px; background: var(--clr-border); }
.steps__bar.is-done { background: var(--clr-accent); }

/* ---------- Empty / error state ---------- */
.empty { text-align: center; padding: var(--space-16) var(--space-4); color: var(--clr-text-secondary); }
.empty__icon { font-size: 2.5rem; margin-bottom: var(--space-3); }
.empty__title { font-family: var(--font-ui); font-weight: 700; color: var(--clr-text-primary); margin-bottom: var(--space-2); }

/* ---------- Footer ---------- */
.footer { margin-top: var(--space-20); background: var(--clr-primary); color: var(--clr-on-primary); padding: var(--space-12) 0 var(--space-8); }
.footer__cols { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__cols { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand { font-family: var(--font-display); font-weight: 800; font-size: var(--text-xl); }
.footer__muted { color: color-mix(in srgb, var(--clr-on-primary) 65%, transparent); font-size: var(--text-sm); line-height: 1.9; }
.footer__title { font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-3); }
.footer__bottom { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid color-mix(in srgb, var(--clr-on-primary) 15%, transparent); font-size: var(--text-xs); color: color-mix(in srgb, var(--clr-on-primary) 55%, transparent); }

/* ---------- Misc commerce ---------- */
.price-row { display: flex; align-items: baseline; gap: var(--space-3); }
.price-row__now { font-size: var(--text-display-md); font-weight: 800; font-family: var(--font-ui); }
.price-row__was { color: var(--clr-text-muted); text-decoration: line-through; }
.stock-dot { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; }
.stock-dot::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--clr-success); animation: pulse 1.6s infinite; }
.stock-dot.is-out::before { background: var(--clr-danger); animation: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--clr-success) 40%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }

.cart-line { display: flex; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--clr-border); }
.cart-line__img { width: 76px; height: 76px; border-radius: var(--radius-md); object-fit: cover; background: var(--clr-surface-2); flex-shrink: 0; }

.radio-card { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border: 1.5px solid var(--clr-border); border-radius: var(--radius-md); cursor: pointer; margin-bottom: var(--space-3); transition: border .2s, background .2s; }
.radio-card:has(input:checked) { border-color: var(--clr-accent); background: color-mix(in srgb, var(--clr-accent) 6%, var(--clr-surface)); }
.radio-card input { accent-color: var(--clr-accent); width: 18px; height: 18px; }

.shop-layout { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 260px 1fr; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + var(--space-4)); height: fit-content; } }
.filters--sheet { display: block; }
.filter-group { margin-bottom: var(--space-5); }
.filter-group__title { font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-3); }
.filter-check { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-1) 0; font-size: var(--text-sm); cursor: pointer; }
.filter-check input { accent-color: var(--clr-accent); width: 16px; height: 16px; }

.gallery__main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--clr-surface-2); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-3); overflow-x: auto; }
.gallery__thumbs img { width: 64px; height: 64px; border-radius: var(--radius-md); object-fit: cover; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.gallery__thumbs img.is-active { border-color: var(--clr-accent); }

.rating-bars { display: grid; gap: var(--space-2); }
.rating-bars__row { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); }
.rating-bars__track { flex: 1; height: 8px; background: var(--clr-surface-2); border-radius: var(--radius-full); overflow: hidden; }
.rating-bars__fill { height: 100%; background: var(--clr-gold); border-radius: var(--radius-full); }

.review { padding: var(--space-4) 0; border-bottom: 1px solid var(--clr-border); }
.review__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-2); }
.review__avatar { width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--clr-primary); color: var(--clr-on-primary); display: grid; place-items: center; font-weight: 700; font-size: var(--text-sm); }

.timeline { display: grid; gap: 0; }
.timeline__item { display: flex; gap: var(--space-3); }
.timeline__rail { display: flex; flex-direction: column; align-items: center; }
.timeline__dot { width: 14px; height: 14px; border-radius: var(--radius-full); background: var(--clr-border); flex-shrink: 0; margin-top: 4px; }
.timeline__item.is-done .timeline__dot { background: var(--clr-success); }
.timeline__line { width: 2px; flex: 1; background: var(--clr-border); min-height: 24px; }
.timeline__item.is-done .timeline__line { background: var(--clr-success); }

/* ---------- Promo strip ---------- */
.promo-strip {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  background: var(--primary-grad, linear-gradient(90deg, var(--clr-primary), var(--clr-accent)));
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  color: #fff; border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); font-weight: 700; font-size: var(--text-sm);
  text-align: center;
}
.promo-strip a { color: #fff; text-decoration: underline; white-space: nowrap; }

/* ---------- Hero slider (auto carousel) ---------- */
.slider { position: relative; }
.slider__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; border-radius: var(--radius-xl); scroll-behavior: smooth;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start;
  min-height: clamp(240px, 42vw, 420px); display: flex; align-items: flex-end;
  background: var(--clr-primary); color: #fff; overflow: hidden;
}
.slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.slide__inner { position: relative; padding: clamp(20px, 4vw, 44px); width: 100%; }
.slide__tag {
  display: inline-block; background: var(--clr-accent); color: var(--clr-on-accent, #fff);
  font-size: var(--text-xs); font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm);
}
.slide__title { font-size: clamp(1.4rem, 4.5vw, 2.4rem); font-weight: 800; line-height: 1.12; margin-top: var(--space-2); max-width: 22ch; }
.slide__price { font-weight: 800; font-size: var(--text-xl); margin-top: var(--space-2); }
.slider__dots { position: absolute; bottom: 12px; right: 16px; display: flex; gap: 6px; }
.slider__dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: rgba(255,255,255,.45); transition: width .25s, background .25s; }
.slider__dot.is-active { width: 22px; background: #fff; }
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: var(--radius-full); display: none;
  place-items: center; background: rgba(255,255,255,.85); color: var(--clr-text-primary);
  font-size: 1.1rem; box-shadow: var(--shadow-card);
}
.slider__arrow:hover { background: #fff; }
.slider__arrow--prev { left: 12px; } .slider__arrow--next { right: 12px; }
@media (min-width: 768px) { .slider__arrow { display: grid; } }

/* ============================================================
   Premium polish pass (token-driven; safe across all themes)
   ============================================================ */
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px color-mix(in srgb, var(--clr-accent) 30%, transparent); }
.btn--primary:active { transform: scale(.98); }
.btn--outline, .btn--ghost { transition: transform .15s, background .2s, color .2s, border-color .2s; }

.product-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.05); }
.product-card__img { will-change: transform; }
.product-card__name:hover { color: var(--clr-accent); }

.card { transition: box-shadow .25s ease; }
.search__input { box-shadow: inset 0 1px 2px rgba(0,0,0,.03); }
.search__input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-accent) 14%, transparent); }
.field__input:focus, .field__select:focus, .field__textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--clr-accent) 12%, transparent); }

.cat-pill, .pager__btn, .vendor-card, .badge { transition: transform .18s ease, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.cat-pill:hover { transform: translateY(-1px); }
.pager__btn:hover:not(.is-active) { transform: translateY(-1px); }

.section__title { letter-spacing: -.015em; }
.tabs__btn { transition: color .18s, border-color .18s; }

.gallery__main img { transition: transform .35s ease; }
.gallery__main:hover img { transform: scale(1.03); }

::selection { background: color-mix(in srgb, var(--clr-accent) 22%, transparent); }
