/* ============================================================
   Veltriva — style.css
   Sports & outdoor accessories store. Dark charcoal + orange DNA.
   Naming: vx- BEM blocks, is-* states. System JP body, M PLUS 1 headings.
   ============================================================ */

/* ---- Fonts (self-hosted subsets — headings only, one weight each) ---- */
@font-face {
  font-family: 'M PLUS 1 Head';
  src: url('../fonts/m-plus-1-700-subset.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Latin';
  src: url('../fonts/archivo-600-subset.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --bg: #f2f3f5;
  --bg-alt: #e9ebef;
  --surface: #ffffff;
  --ink: #1a1d23;
  --muted: #565d68;
  --faint: #8a909b;
  --line: #d8dde3;
  --line-soft: #e8ebef;
  --charcoal: #23272f;
  --charcoal-2: #2e333d;
  --accent: #ec5a2a;
  --accent-deep: #c2431b;
  --accent-ink: #a7380f;
  --accent-soft: #fbe6dd;
  --star: #e8a23a;
  --ok: #1f7a4d;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(26, 29, 35, .06);
  --shadow-md: 0 8px 24px rgba(26, 29, 35, .10);
  --shadow-lg: 0 18px 46px rgba(26, 29, 35, .16);

  --sp-xs: .5rem;
  --sp-sm: .85rem;
  --sp-md: 1.4rem;
  --sp-lg: 2.6rem;
  --sp-xl: 4.2rem;

  --nav-h: 66px;
  --fast: .15s;
  --base: .25s;
  --slow: .45s;

  --f-head: 'M PLUS 1 Head', 'Hiragino Sans', 'Yu Gothic UI', 'Noto Sans JP', sans-serif;
  --f-latin: 'Archivo Latin', 'Hiragino Sans', sans-serif;
  --f-body: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', YuGothic, Meiryo, 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.3; font-weight: 700; letter-spacing: .01em; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.vx-wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.vx-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.vx-skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--accent-deep); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0; }
.vx-skip:focus { left: 0; }

/* ---- Buttons ---- */
.vx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: var(--r-sm);
  font-family: var(--f-latin); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  background: var(--accent-deep); color: #fff; transition: background var(--base), transform var(--base), box-shadow var(--base);
  text-align: center;
}
.vx-btn:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vx-btn:active { transform: translateY(0); }
.vx-btn--fill { background: var(--accent-deep); color: #fff; }
.vx-btn--line { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.vx-btn--line:hover { background: var(--ink); color: #fff; }
.vx-btn--light { background: #fff; color: var(--ink); }
.vx-btn--light:hover { background: var(--bg-alt); color: var(--ink); }
.vx-btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.vx-btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.vx-btn--sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .85rem; }
.vx-btn--block { width: 100%; }

/* ---- Chips (payment) ---- */
.vx-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 26px; padding: .18rem .55rem; border-radius: var(--r-sm);
  font-family: var(--f-latin); font-weight: 600; font-size: .68rem; letter-spacing: .02em;
  background: #eef0f3; color: #3a4049; border: 1px solid var(--line);
}
.vx-chip--visa { background: #1a1f71; color: #fff; border-color: #1a1f71; }
.vx-chip--mc { background: #1a1d23; color: #fff; border-color: #1a1d23; }
.vx-chip--jcb { background: #0a7d3c; color: #fff; border-color: #0a7d3c; }
.vx-chip--amex { background: #1174c4; color: #fff; border-color: #1174c4; }
.vx-chip--pp { background: #e60012; color: #fff; border-color: #e60012; }
.vx-chip--rk { background: #bf0000; color: #fff; border-color: #bf0000; }
.vx-chip--mer { background: #0a66ad; color: #fff; border-color: #0a66ad; }

/* ---- Topbar (announcement) ---- */
.vx-top {
  background: var(--accent-deep); color: #fff; text-align: center;
  font-size: .78rem; letter-spacing: .02em; padding: .45rem 16px; line-height: 1.5;
}
.vx-top code {
  font-family: var(--f-latin); font-weight: 700; color: #fff; background: rgba(0,0,0,.34);
  padding: .05rem .4rem; border-radius: 4px; letter-spacing: .05em;
}

/* ---- Header (dark, sticky) ---- */
.vx-header {
  position: sticky; top: 0; z-index: 300; background: var(--charcoal);
  box-shadow: 0 1px 0 rgba(255,255,255,.04); transition: box-shadow var(--base);
}
.vx-header.is-scrolled { box-shadow: var(--shadow-md); }
.vx-nav { display: flex; align-items: center; gap: 1rem; min-height: var(--nav-h); }
.vx-nav__logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.vx-nav__logo img { height: 34px; width: auto; }
.vx-nav__menu { display: flex; align-items: center; gap: .3rem; margin-left: .6rem; }
.vx-nav__link {
  position: relative; color: #d7dbe2; font-size: .9rem; font-weight: 500;
  padding: .5rem .7rem; border-radius: var(--r-sm); transition: color var(--base), background var(--base);
}
.vx-nav__link:hover { color: #fff; background: rgba(255,255,255,.07); }
.vx-nav__link.is-on { color: #fff; }
.vx-nav__link.is-on::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .22rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.vx-nav__tools { margin-left: auto; display: flex; align-items: center; gap: .35rem; }

.vx-search { display: flex; align-items: center; background: rgba(255,255,255,.1); border-radius: var(--r-pill); overflow: hidden; }
.vx-search input { width: 150px; background: transparent; border: none; color: #fff; padding: .5rem .3rem .5rem .95rem; font-size: .85rem; outline: none; }
.vx-search input::placeholder { color: #a7adb8; }
.vx-search button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 40px; color: #d7dbe2; }
.vx-search button:hover { color: #fff; }

.vx-ic-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-sm); color: #d7dbe2; transition: color var(--base), background var(--base);
}
.vx-ic-btn:hover { color: #fff; background: rgba(255,255,255,.07); }
.vx-badge {
  position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--accent); color: #fff; font-family: var(--f-latin); font-size: .64rem; font-weight: 600;
  border-radius: var(--r-pill); display: none; align-items: center; justify-content: center; line-height: 1;
}
.vx-badge.is-shown { display: inline-flex; }
.vx-burger { display: none; }

/* ---- Left drawer (mobile menu) ---- */
/* Full-screen overlay menu with numbered large-type links */
.vx-drawer { position: fixed; inset: 0; z-index: 420; visibility: hidden; }
.vx-drawer.is-on { visibility: visible; }
.vx-drawer__scrim { position: absolute; inset: 0; background: rgba(16,18,22,.82); opacity: 0; transition: opacity var(--base); }
.vx-drawer.is-on .vx-drawer__scrim { opacity: 1; }
.vx-drawer__panel {
  position: absolute; inset: 0; width: 100%; background: var(--charcoal); color: #fff;
  display: flex; flex-direction: column; transform: translateY(14px);
  transition: transform var(--slow) cubic-bezier(.22,1,.36,1);
  padding: 1.1rem clamp(1.1rem, 6vw, 3rem) 1.6rem; overflow-y: auto;
}
.vx-drawer.is-on .vx-drawer__panel { transform: translateY(0); }
.vx-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1rem; }
.vx-drawer__head img { height: 34px; }
.vx-drawer__close { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: #d7dbe2; font-size: 1.2rem; }
.vx-drawer nav { counter-reset: vxmenu; display: flex; flex-direction: column; }
.vx-drawer__link {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem .2rem;
  color: #e9ebef; font-weight: 700; font-family: var(--f-head); font-size: clamp(1.4rem, 6vw, 2rem);
  border-bottom: 1px solid rgba(255,255,255,.09); min-height: 56px;
}
.vx-drawer__link::before {
  counter-increment: vxmenu; content: counter(vxmenu, decimal-leading-zero);
  font-family: var(--f-latin); font-weight: 600; font-size: .78rem; color: var(--accent); min-width: 2ch;
}
.vx-drawer__link:hover { color: var(--accent); }
.vx-drawer__link .vx-ico { margin-left: auto; opacity: .5; font-size: 1rem; }
.vx-drawer__foot { margin-top: auto; padding-top: 1.2rem; color: #a7adb8; font-size: .85rem; font-family: var(--f-latin); }
.vx-drawer__promo { margin-top: 1.2rem; background: rgba(236,90,42,.16); border: 1px solid rgba(236,90,42,.4); border-radius: var(--r-md); padding: .9rem 1rem; font-size: .85rem; color: #ffd9c9; }
.vx-drawer__promo code { font-family: var(--f-latin); font-weight: 600; color: #fff; }

/* ---- Hero slider ---- */
.vx-hero { position: relative; background: var(--charcoal); overflow: hidden; }
.vx-hero__track { position: relative; }
.vx-hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none;
}
.vx-hero__slide.is-active { position: relative; opacity: 1; pointer-events: auto; }
.vx-hero__media { position: relative; }
.vx-hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,22,27,.88) 0%, rgba(20,22,27,.55) 45%, rgba(20,22,27,.15) 100%);
}
.vx-hero__media img { width: 100%; height: clamp(380px, 54vw, 560px); object-fit: cover; }
.vx-hero__inner { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.vx-hero__card { max-width: 560px; color: #fff; }
.vx-hero__eyebrow {
  display: inline-block; font-family: var(--f-latin); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: #ffb699; margin-bottom: .9rem;
}
.vx-hero__title { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.12; margin-bottom: 1rem; }
.vx-hero__title span { color: var(--accent); }
.vx-hero__sub { font-size: 1rem; color: #d7dbe2; max-width: 460px; margin-bottom: 1.6rem; }
.vx-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.3rem; }
.vx-hero__chip {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: #e4e7ec;
  background: rgba(255,255,255,.1); padding: .4rem .9rem; border-radius: var(--r-pill);
}
.vx-hero__chip .vx-ico { color: var(--accent); }
.vx-hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: .5rem; z-index: 3; }
.vx-hero__dot { width: 30px; height: 4px; padding: 20px 7px; background-clip: content-box; box-sizing: content-box; border-radius: 2px; background-color: rgba(255,255,255,.35); transition: background-color var(--base); }
.vx-hero__dot.is-on { background-color: var(--accent); }

/* ---- Benefits strip (marquee) ---- */
.vx-strip { background: var(--accent-deep); color: #fff; overflow: hidden; }
.vx-strip__row {
  display: flex; align-items: center; gap: 2.4rem; white-space: nowrap;
  padding: .7rem 0; animation: vx-marq 26s linear infinite; width: max-content;
}
.vx-strip__item { display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 500; }
.vx-strip__item .vx-ico { opacity: .9; }
@keyframes vx-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .vx-strip__row { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; width: auto; } }

/* ---- Sections ---- */
.vx-sec { padding: var(--sp-xl) 0; }
.vx-sec--alt { background: var(--bg-alt); }
.vx-sec--tight { padding: var(--sp-lg) 0; }
.vx-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-lg); }
.vx-eyebrow {
  display: inline-block; font-family: var(--f-latin); font-weight: 600; font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .6rem;
}
.vx-head__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.vx-head__lead { color: var(--muted); margin-top: .7rem; font-size: .96rem; }

/* ---- Product grid + cards (shadow-only) ---- */
.vx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.vx-prod {
  background: var(--surface); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--base), box-shadow var(--base);
  display: flex; flex-direction: column;
}
.vx-prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vx-prod__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-alt); cursor: pointer; }
.vx-prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow); }
.vx-prod:hover .vx-prod__media img { transform: scale(1.05); }
.vx-prod__tag {
  position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--accent-deep); color: #fff;
  font-family: var(--f-latin); font-weight: 600; font-size: .68rem; letter-spacing: .04em;
  padding: .2rem .6rem; border-radius: var(--r-pill);
}
.vx-prod__tag--rank { background: var(--charcoal); }
.vx-save {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); color: var(--muted); box-shadow: var(--shadow-sm); transition: color var(--base), transform var(--base);
}
.vx-save:hover { transform: scale(1.08); color: var(--accent-deep); }
.vx-save.is-on { color: var(--accent-deep); }
.vx-prod__body { padding: .95rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.vx-prod__cat { font-family: var(--f-latin); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vx-prod__name { font-size: 1.02rem; margin: .2rem 0 .35rem; }
.vx-prod__desc { font-size: .83rem; color: var(--muted); line-height: 1.7; margin-bottom: .7rem; flex: 1; }
.vx-prod__price { font-family: var(--f-latin); font-weight: 600; font-size: 1.2rem; color: var(--ink); margin-bottom: .75rem; }
.vx-prod__price small { font-size: .7rem; color: var(--muted); font-weight: 400; }
.vx-prod__foot { display: flex; flex-direction: column; gap: .55rem; }
.vx-prod__link { font-size: .8rem; color: var(--accent-deep); text-align: center; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Category tiles ---- */
.vx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.vx-tile { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--shadow-sm); }
.vx-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow); }
.vx-tile:hover img { transform: scale(1.06); }
.vx-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,22,27,.78), rgba(20,22,27,.08) 60%); }
.vx-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem; color: #fff; }
.vx-tile__en { font-family: var(--f-latin); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.vx-tile__jp { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; }

/* ---- Features ---- */
.vx-feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.vx-feat__card { background: var(--surface); border-radius: var(--r-md); padding: 1.6rem 1.3rem; box-shadow: var(--shadow-sm); }
.vx-feat__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); background: var(--accent-soft);
  color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.vx-feat__card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.vx-feat__card p { font-size: .86rem; color: var(--muted); }

/* ---- CTA band ---- */
.vx-cta {
  background: linear-gradient(120deg, var(--charcoal), var(--charcoal-2)); color: #fff;
  border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.4rem); text-align: center; position: relative; overflow: hidden;
}
.vx-cta::before { content: ""; position: absolute; top: -40%; right: -10%; width: 320px; height: 320px; background: radial-gradient(circle, rgba(236,90,42,.35), transparent 70%); }
.vx-cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: .7rem; position: relative; }
.vx-cta p { color: #d7dbe2; max-width: 560px; margin: 0 auto 1.4rem; position: relative; font-size: .95rem; }

/* ---- Reviews ---- */
.vx-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.vx-review { background: var(--surface); border-radius: var(--r-md); padding: 1.4rem 1.3rem; box-shadow: var(--shadow-sm); }
.vx-review__stars { color: var(--star); letter-spacing: .1em; font-size: 1rem; margin-bottom: .6rem; }
.vx-review__text { font-size: .9rem; color: var(--ink); margin-bottom: .8rem; }
.vx-review__meta { font-size: .78rem; color: var(--muted); }
.vx-review__meta strong { font-family: var(--f-latin); color: var(--ink); }
.vx-review__note { font-size: .72rem; color: var(--muted); margin-top: .5rem; }

/* ---- Page hero ---- */
.vx-phero { background: var(--bg-alt); padding: var(--sp-lg) 0 var(--sp-md); border-bottom: 1px solid var(--line-soft); }
.vx-crumbs { font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.vx-crumbs a { color: var(--accent-ink); }
.vx-crumbs a:hover { text-decoration: underline; }
.vx-phero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.vx-phero p { color: var(--muted); max-width: 680px; font-size: .95rem; }

/* ---- Filter ---- */
.vx-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: var(--sp-lg); }
.vx-filter__btn {
  min-height: 44px; padding: .45rem 1.1rem; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--muted); font-size: .85rem; font-weight: 500; transition: all var(--base);
}
.vx-filter__btn:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.vx-filter__btn.is-sel { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* ---- Product detail ---- */
.vx-pd { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.vx-pd__gallery { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg-alt); position: sticky; top: calc(var(--nav-h) + 16px); }
.vx-pd__gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.vx-pd__cat { font-family: var(--f-latin); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vx-pd__name { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: .3rem 0 .5rem; }
.vx-pd__price { font-family: var(--f-latin); font-weight: 600; font-size: 1.7rem; color: var(--accent-deep); margin-bottom: .6rem; }
.vx-pd__price small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.vx-pd__desc { color: var(--muted); margin: .8rem 0 1.2rem; font-size: .92rem; }
.vx-stock { font-size: .82rem; font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; }
.vx-stock--in { color: var(--ok); }
.vx-stock--in::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.vx-stock--low { color: var(--accent-deep); }
.vx-stock--low::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-deep); display: inline-block; }

.vx-spec { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; margin: 1.2rem 0; border-top: 1px solid var(--line-soft); }
.vx-spec dt { font-weight: 600; color: var(--ink); font-size: .85rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); }
.vx-spec dd { color: var(--muted); font-size: .85rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); }

.vx-pd h3, .vx-pd__h { font-size: 1.05rem; margin: 1.4rem 0 .7rem; font-family: var(--f-head); font-weight: 700; }
.vx-restock .vx-pd__h { margin-top: 0; }
.vx-care { display: flex; flex-wrap: wrap; gap: .5rem; }
.vx-care span { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted); background: var(--bg-alt); padding: .35rem .7rem; border-radius: var(--r-pill); }
.vx-care .vx-ico { color: var(--accent-deep); }

.vx-field-label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .45rem; }
.vx-sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.vx-size { min-width: 48px; min-height: 48px; padding: 0 .6rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--surface); font-family: var(--f-latin); font-weight: 600; font-size: .9rem; transition: all var(--base); }
.vx-size:hover { border-color: var(--accent-deep); }
.vx-size.is-sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.vx-sizes-wrap { margin-top: var(--sp-md); }

.vx-swatches { display: flex; gap: .5rem; }
.vx-swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; transition: transform var(--base); position: relative; }
.vx-swatch.is-sel { border-color: var(--accent-deep); transform: scale(1.1); }

.vx-qtywrap { display: flex; align-items: center; gap: 1rem; margin-top: var(--sp-md); }
.vx-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.vx-qty button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--ink); }
.vx-qty button:hover { background: var(--bg-alt); }
.vx-qty input { width: 48px; height: 44px; text-align: center; border: none; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); outline: none; font-weight: 600; }

.vx-pd__actions { display: flex; gap: .6rem; align-items: center; margin-top: var(--sp-md); }

.vx-sizetable { width: 100%; border-collapse: collapse; margin: .6rem 0; font-size: .85rem; }
.vx-sizetable th, .vx-sizetable td { border: 1px solid var(--line); padding: .55rem .6rem; text-align: center; }
.vx-sizetable thead th { background: var(--charcoal); color: #fff; font-weight: 600; }
.vx-sizetable tbody th { background: var(--bg-alt); }
.vx-sizetable tr.is-hl td, .vx-sizetable tr.is-hl th { background: var(--accent-soft); }

.vx-pd__reviews { margin-top: var(--sp-lg); }
.vx-note { font-size: .82rem; color: var(--muted); }

/* ---- Restock form ---- */
.vx-restock { background: var(--bg-alt); border-radius: var(--r-md); padding: 1.3rem; margin-top: var(--sp-md); }
.vx-restock h3 { margin-top: 0; }
.vx-restock__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.vx-restock__row input { flex: 1; min-width: 200px; min-height: 48px; padding: .6rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.vx-restock__msg { font-size: .82rem; margin-top: .5rem; color: var(--ok); }

/* ---- Recently viewed ---- */
.vx-recent__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.vx-recent__card { background: var(--surface); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .8rem; transition: transform var(--base); }
.vx-recent__card:hover { transform: translateY(-3px); }
.vx-recent__card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.vx-recent__card span { display: block; padding: .5rem .6rem; color: var(--ink); font-family: var(--f-latin); }

/* ---- Quick view ---- */
.vx-quick { position: fixed; inset: 0; z-index: 440; display: none; }
.vx-quick.is-on { display: block; }
.vx-quick__scrim { position: absolute; inset: 0; background: rgba(16,18,22,.6); }
.vx-quick__dialog {
  position: relative; max-width: 820px; margin: 5vh auto; background: var(--surface); border-radius: var(--r-lg);
  max-height: 90vh; overflow: auto; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg);
}
.vx-quick__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.9); border-radius: var(--r-pill); font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.vx-quick__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.vx-quick__body { padding: 1.6rem 1.5rem; }
.vx-quick__cat { font-family: var(--f-latin); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vx-quick__name { font-size: 1.4rem; margin: .3rem 0 .4rem; }
.vx-quick__price { font-family: var(--f-latin); font-weight: 600; font-size: 1.4rem; color: var(--accent-deep); margin-bottom: .5rem; }
.vx-quick__price small { font-size: .75rem; color: var(--muted); font-weight: 400; }
.vx-quick__desc { font-size: .86rem; color: var(--muted); margin: .7rem 0 1rem; }
.vx-quick__sizes { margin-bottom: 1rem; }
.vx-quick__actions { display: flex; gap: .6rem; align-items: center; margin-top: 1rem; }
.vx-quick__link { display: inline-block; margin-top: 1rem; font-size: .83rem; color: var(--accent-deep); text-decoration: underline; }

/* ---- Bag panel (right) ---- */
.vx-bag-ov { position: fixed; inset: 0; z-index: 430; background: rgba(16,18,22,.5); opacity: 0; visibility: hidden; transition: opacity var(--base); }
.vx-bag-ov.is-on { opacity: 1; visibility: visible; }
.vx-bag-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(410px, 92vw); z-index: 435;
  background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform var(--slow) cubic-bezier(.22,1,.36,1); box-shadow: var(--shadow-lg);
}
.vx-bag-panel.is-on { transform: translateX(0); }
.vx-bag-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line-soft); }
.vx-bag-panel__head h2 { font-size: 1.15rem; }
.vx-bag-panel__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.vx-bag-panel__body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.vx-bag-panel__foot { padding: 1.1rem 1.3rem; border-top: 1px solid var(--line-soft); }

.vx-bag-line { display: grid; grid-template-columns: 76px 1fr; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.vx-bag-line__img { border-radius: var(--r-sm); object-fit: cover; width: 76px; height: 95px; }
.vx-bag-line__name { font-weight: 600; font-size: .9rem; }
.vx-bag-line__opt { font-size: .76rem; color: var(--muted); margin: .15rem 0; }
.vx-bag-line__price { font-family: var(--f-latin); font-weight: 600; font-size: .95rem; }
.vx-bag-line__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.vx-bag-line__rm { font-size: .76rem; color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.vx-bag-line__rm:hover { color: var(--accent-deep); }
.vx-qty--sm { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.vx-bag-line .vx-qty, .vx-bag-line__foot .vx-qty { border: 1px solid var(--line); border-radius: var(--r-sm); }
.vx-bag-line__foot .vx-qty button { width: 32px; height: 32px; font-size: 1rem; }
.vx-bag-line__foot .vx-qty input { width: 34px; height: 32px; }
#vxWishItems { min-height: 52vh; }
.vx-bag-empty, .vx-empty { text-align: center; color: var(--muted); padding: 2.4rem 1rem; }
.vx-bag-empty .vx-ico, .vx-empty .vx-ico { font-size: 2.2rem; color: var(--muted); display: block; margin: 0 auto .6rem; }
.vx-bag-sub { display: flex; justify-content: space-between; align-items: center; margin: .7rem 0; font-size: .95rem; }
.vx-bag-sub strong { font-family: var(--f-latin); font-size: 1.15rem; }

/* ---- Free-ship progress ---- */
.vx-ship { margin: .8rem 0; }
.vx-ship__track { height: 7px; background: var(--line-soft); border-radius: var(--r-pill); overflow: hidden; }
.vx-ship__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); border-radius: var(--r-pill); transition: width var(--slow); }
.vx-ship__label { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
.vx-ship__label strong { color: var(--accent-deep); font-family: var(--f-latin); }

/* ---- Back to top ---- */
.vx-totop { position: fixed; right: 18px; bottom: 18px; z-index: 390; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--charcoal); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity var(--base), transform var(--base); }
.vx-totop.is-shown { opacity: 1; visibility: visible; }
.vx-totop:hover { background: var(--accent-deep); transform: translateY(-3px); }

/* ---- Footer ---- */
.vx-footer { background: var(--charcoal); color: #cfd4db; padding: var(--sp-lg) 0 1.6rem; }
.vx-news { background: var(--charcoal-2); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center; margin-bottom: var(--sp-lg); }
.vx-news h2 { color: #fff; font-size: 1.4rem; margin-bottom: .5rem; }
.vx-news p { color: #aeb4be; font-size: .9rem; margin-bottom: 1.1rem; }
.vx-news__form { display: flex; gap: .5rem; max-width: 440px; margin: 0 auto; }
.vx-news__form input { flex: 1; min-height: 48px; padding: .6rem 1rem; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-sm); background: rgba(255,255,255,.06); color: #fff; }
.vx-news__form input::placeholder { color: #8a909b; }
.vx-news__hint { font-size: .78rem; color: #8a909b; margin-top: .9rem; margin-bottom: 0; }
.vx-news__hint code { font-family: var(--f-latin); color: #ff9a6e; font-weight: 600; }

.vx-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: var(--sp-md); border-bottom: 1px solid rgba(255,255,255,.1); }
.vx-foot-brand img { height: 34px; margin-bottom: .9rem; }
.vx-foot-brand p { font-size: .85rem; color: #aeb4be; max-width: 260px; }
.vx-foot-col h2 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.vx-foot-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.vx-foot-col a { font-size: .85rem; color: #aeb4be; }
.vx-foot-col a:hover { color: var(--accent); }
.vx-foot-pay { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: var(--sp-md) 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.vx-foot-pay__label { font-size: .8rem; color: #8a909b; margin-right: .5rem; }
.vx-paylist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.vx-foot-bottom { padding-top: var(--sp-md); font-size: .8rem; color: #8a909b; }
.vx-foot-bottom p { margin-bottom: .4rem; }
.vx-foot-disc { font-size: .76rem; line-height: 1.7; }

/* ---- Forms (contact / fields) ---- */
.vx-field { margin-bottom: 1rem; }
.vx-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.vx-field input, .vx-field select, .vx-field textarea {
  width: 100%; min-height: 48px; padding: .65rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface); color: var(--ink); transition: border-color var(--base);
}
.vx-field textarea { min-height: 120px; resize: vertical; }
.vx-field input:focus, .vx-field select:focus, .vx-field textarea:focus { outline: none; border-color: var(--accent-deep); }
.vx-field.is-bad input, .vx-field.is-bad select, .vx-field.is-bad textarea { border-color: #d23b2a; }
.vx-err { display: none; font-size: .76rem; color: #d23b2a; margin-top: .3rem; }
.vx-field.is-bad .vx-err { display: block; }
.vx-req { color: var(--accent-deep); }
.vx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vx-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; }
.vx-check input { margin-top: .2rem; width: 18px; height: 18px; min-height: 0; padding: 0; flex: 0 0 auto; accent-color: var(--accent-deep); }
.vx-formdone { text-align: center; padding: 2rem 1rem; }
.vx-formdone .vx-ico { font-size: 2.6rem; color: var(--ok); display: block; margin: 0 auto .8rem; }
.vx-formdone h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.vx-formdone p { color: var(--muted); margin-bottom: 1.2rem; }

/* ---- Contact layout + map ---- */
.vx-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.4rem; align-items: start; }
.vx-infobox { background: var(--surface); border-radius: var(--r-md); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.vx-infobox h2, .vx-infobox h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.vx-infobox dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .85rem; margin: .8rem 0; }
.vx-infobox dt { color: var(--muted); }
.vx-map { margin-top: 1rem; border-radius: var(--r-md); overflow: hidden; background: var(--bg-alt); }
.vx-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.vx-map__facade { width: 100%; height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; color: var(--muted); cursor: pointer; background: var(--bg-alt); }
.vx-map__facade .vx-ico { font-size: 2rem; color: var(--accent-deep); }

/* ---- Legal / content ---- */
.vx-legal { max-width: 860px; }
.vx-legal h2 { font-size: 1.3rem; margin: 1.8rem 0 .7rem; }
.vx-legal h3 { font-size: 1.05rem; margin: 1.2rem 0 .5rem; }
.vx-legal p, .vx-legal li { color: var(--muted); font-size: .92rem; }
.vx-legal ul, .vx-legal ol { margin: .6rem 0 1rem 1.3rem; }
.vx-legal li { margin-bottom: .4rem; }
.vx-legal strong { color: var(--ink); }
.vx-legal a { color: var(--accent-deep); text-decoration: underline; }
.vx-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .88rem; }
.vx-table th, .vx-table td { border: 1px solid var(--line); padding: .75rem .9rem; text-align: left; vertical-align: top; }
.vx-table th[scope="row"] { background: var(--bg-alt); width: 32%; font-weight: 600; color: var(--ink); }

/* ---- Accordion (FAQ) ---- */
.vx-acc { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-sm); margin-bottom: .7rem; overflow: hidden; }
.vx-acc__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; text-align: left; font-weight: 600; font-size: .95rem; }
.vx-acc__head .vx-ico { flex: 0 0 auto; color: var(--accent-deep); transition: transform var(--base); }
.vx-acc.is-on .vx-acc__head .vx-ico { transform: rotate(180deg); }
.vx-acc__body { max-height: 0; overflow: hidden; transition: max-height var(--slow) ease; }
.vx-acc__body-in { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .9rem; }

/* ---- Opt-out block ---- */
.vx-optout { background: var(--accent-soft); border: 1px solid #f0c3b2; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); margin: var(--sp-md) 0; }
.vx-optout h2 { margin-top: 0; }
.vx-optout__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.vx-optout__card { background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm); }
.vx-optout__card h3 { font-size: .95rem; margin-bottom: .4rem; }
.vx-optout__card p { font-size: .84rem; color: var(--muted); }

/* ---- About / story ---- */
.vx-story { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; margin-bottom: var(--sp-lg); }
.vx-story img { border-radius: var(--r-md); box-shadow: var(--shadow-sm); aspect-ratio: 5/3.5; object-fit: cover; width: 100%; }
.vx-story--rev .vx-story__text { order: 2; }
.vx-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.vx-value { background: var(--surface); border-radius: var(--r-md); padding: 1.5rem; box-shadow: var(--shadow-sm); text-align: center; }
.vx-value__icon { width: 50px; height: 50px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .8rem; }
.vx-value h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.vx-value p { font-size: .85rem; color: var(--muted); }

/* ---- Reveal motion ---- */
.vx-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.vx-reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .vx-reveal { opacity: 1; transform: none; transition: none; } .vx-hero__slide { transition: none; } }

/* ---- 404 ---- */
.vx-404 { text-align: center; padding: var(--sp-xl) 0; }
.vx-404 h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--accent-deep); }
.vx-404 p { color: var(--muted); margin: .5rem 0 1.5rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1120px) {
  .vx-search { display: none; }
}
@media (max-width: 1080px) {
  .vx-grid { grid-template-columns: repeat(3, 1fr); }
  .vx-recent__row { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 961px) and (max-width: 1080px) {
  .vx-nav__menu { gap: .1rem; }
  .vx-nav__link { padding: .5rem .55rem; font-size: .85rem; }
}
@media (max-width: 960px) {
  .vx-nav__menu, .vx-search { display: none; }
  .vx-burger { display: inline-flex; }
  .vx-feat, .vx-foot-grid { grid-template-columns: repeat(2, 1fr); }
  .vx-tiles { grid-template-columns: repeat(2, 1fr); }
  .vx-reviews { grid-template-columns: 1fr; }
  .vx-pd { grid-template-columns: 1fr; gap: 1.4rem; }
  .vx-pd__gallery { position: static; max-width: 460px; }
  .vx-contact, .vx-story, .vx-story--rev .vx-story__text { grid-template-columns: 1fr; order: 0; }
  .vx-values { grid-template-columns: 1fr; }
  .vx-optout__grid { grid-template-columns: 1fr; }
  .vx-quick__dialog { grid-template-columns: 1fr; }
  .vx-quick__media img { aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  .vx-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .vx-recent__row { grid-template-columns: repeat(2, 1fr); }
  .vx-feat, .vx-tiles, .vx-foot-grid { grid-template-columns: 1fr; }
  .vx-form-row { grid-template-columns: 1fr; }
  .vx-prod__desc { display: none; }
  .vx-sec { padding: var(--sp-lg) 0; }
  .vx-nav__tools { gap: .1rem; }
}
@media (max-width: 420px) {
  .vx-grid { grid-template-columns: 1fr; }
  .vx-recent__row { grid-template-columns: 1fr 1fr; }
}

/* ---- Touch targets ≥44px on small screens ---- */
@media (max-width: 960px) {
  .vx-foot-col a, .vx-crumbs a, .vx-prod__link, .vx-quick__link, .vx-legal a { display: inline-block; min-height: 44px; line-height: 44px; }
  .vx-foot-col li { line-height: 1.2; }
}
