/* =========================================================
   MADMAX — STYLE
   Tông chính: TRẮNG · chữ đen · đỏ crimson chỉ làm điểm nhấn
   ========================================================= */
:root {
  color-scheme: only light;   /* web luôn sáng — không cho trình duyệt tự chuyển nền tối */
  --red: #B5212B;          /* đỏ nhấn — dùng ít, cho sale & chi tiết nhỏ */
  --red-hi: #C8323B;
  --red-deep: #7A151C;
  --ink: #0C0C0C;
  --ink-2: #151515;
  --ink-3: #222;
  --line-dark: rgba(0,0,0,.12);
  --paper: #F7F7F5;
  --paper-2: #EDECE9;
  --white: #FFFFFF;
  --mute-dark: #6A655F;

  /* theme sáng (mặc định) — vùng tối dùng lớp .is-dark */
  --bg: #FFFFFF;
  --fg: #0C0C0C;
  --fg-soft: rgba(12,12,12,.72);
  --line: rgba(12,12,12,.12);
  --line-strong: rgba(12,12,12,.32);
  --hover: rgba(12,12,12,.05);
  --mute: #76716B;
  --accent: var(--red);

  --f-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --f-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Space Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 3vw, 40px);
  --max: 1480px;
  --hdr: 68px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* vùng tối: hero video, footer, dải chữ chạy, ảnh lookbook… */
.is-dark, .manifesto__stamp, .card__quick, .shop-hero--collection.has-video, .about-hero.has-video {
  --bg: var(--ink); --fg: #FFFFFF; --fg-soft: rgba(255,255,255,.8);
  --line: rgba(255,255,255,.14); --line-strong: rgba(255,255,255,.35); --hover: rgba(255,255,255,.08);
  --mute: #8C8781; --accent: var(--red-hi);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 15px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 2px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--mute); }
.small { font-size: 12px; }
.is-red { color: var(--accent) !important; }
.link { text-decoration: underline; text-underline-offset: 3px; }
.h-sm { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.only-mobile { display: none !important; }
@media (max-width: 960px) { .only-mobile { display: inline-flex !important; } .only-desktop { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border: 1px solid currentColor;
  font: 700 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hi); border-color: var(--accent); }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--white:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--ghost { border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); border-color: var(--red); }
.btn--block { width: 100%; }

.icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; position: relative; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--hover); }
.icon-btn svg, .cur-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.chip {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line);
  font: 400 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; transition: .2s;
}
.chip:hover, .chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip.on--red { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Announcement / marquee ---------- */
.announce { background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--line); height: 34px; overflow: hidden; display: flex; align-items: center; }
.marquee { overflow: hidden; width: 100%; }
.marquee__track { display: inline-flex; white-space: nowrap; animation: marquee 38s linear infinite; }
.announce .marquee__track span, .announce .marquee__track b { font: 400 11px/34px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 0 22px; }
.announce .marquee__track b { opacity: .55; padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 var(--line); }
.header__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; color: var(--fg); transition: color .2s; }
.brand:hover { color: var(--accent); }
.logo { height: 24px; width: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 14px;
  font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
}
.nav-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.nav-link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-item:hover .nav-link::after, .nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-link--sale { color: var(--accent); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: var(--max); margin: 0 auto; padding: 34px var(--gutter) 40px; display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.2fr; gap: 32px; }
.mega--small .mega__inner { grid-template-columns: 1fr 2fr; }
.mega h4 { margin: 0 0 18px; font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega li a { display: inline-flex; align-items: baseline; gap: 8px; font: 400 28px/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .01em; transition: color .2s, transform .25s var(--ease); }
.mega li a:hover { color: var(--accent); transform: translateX(6px); }
.mega li a sup { font: 400 10px/1 var(--f-mono); color: var(--accent); }
.mega li a em { font: normal 400 10px/1 var(--f-mono); letter-spacing: .1em; color: var(--mute); }
.mega li a .mono { color: var(--accent); font-size: 11px; }
.mega__cols { grid-template-columns: 1fr; }
.mega__tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; }
.mega__tile--wide { aspect-ratio: 16/9; }
.mega__tile .ph { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.mega__tile:hover .ph { transform: scale(1.04); }
.mega__cap { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 3; font: 400 34px/1 var(--f-display); text-transform: uppercase; }
.mega__cap em { display: block; font: normal 400 10px/1 var(--f-mono); letter-spacing: .14em; margin-bottom: 8px; color: var(--mute); }
.mega__cap small { display: block; margin-top: 10px; font: 400 11px/1 var(--f-mono); letter-spacing: .14em; color: var(--fg); }

/* Menu Shop — editorial */
.mega--shop .mega__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 330px; gap: 0; padding-top: 0; padding-bottom: 0; }
.mega__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 10px; color: var(--mute); }
.mega--shop .mega__col { padding: 26px 32px 30px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.mega--shop .mega__col--cats { padding-left: 32px; }
.mega--shop h4 { margin-bottom: 20px; }
.feat { gap: 2px !important; }
.feat li a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(34px, 3.2vw, 48px) !important; line-height: 1.02 !important; }
.feat li a sup, .cat-list li a sup { font: 400 10px/1 var(--f-mono); color: var(--mute); margin-left: 2px; align-self: flex-start; margin-top: 6px; }
.feat li a.is-red sup { color: inherit; }
.mega__no { font: 400 10px/1 var(--f-mono); letter-spacing: .1em; color: var(--mute); width: 18px; flex: none; transform: translateY(-4px); }
.feat li a:hover .mega__no { color: var(--accent); }
.cat-list { gap: 0 !important; border-top: 1px solid var(--line); }
.cgroup { border-bottom: 1px solid var(--line); }
.cgroup__head { width: 100%; display: flex; align-items: center; gap: 4px; padding: 12px 0; font: 400 clamp(24px, 2.1vw, 32px)/1 var(--f-display) !important; text-transform: uppercase; text-align: left; transition: color .2s; transform: none !important; }
.cgroup__head svg { width: 18px; height: 18px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.cgroup__head sup { font: 400 10px/1 var(--f-mono); color: var(--mute); align-self: flex-start; margin-top: 2px; }
.cgroup__sub { list-style: none; margin: 0; padding: 0 0 0 2px; display: grid; gap: 2px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s, padding .3s; }
.cgroup__sub li a { font: 400 15px/1.5 var(--f-body) !important; text-transform: none !important; letter-spacing: 0 !important; display: inline-flex; gap: 4px; color: var(--fg-soft); }
.cgroup__sub li a:hover { color: var(--accent); }
.cgroup__sub sup { font: 400 9px/1 var(--f-mono); color: var(--mute); margin-top: 3px; }
.cgroup.is-open .cgroup__sub { max-height: 200px; opacity: 1; padding-bottom: 12px; }
.cgroup.is-open .cgroup__head svg { transform: rotate(45deg); }
.cgroup__head:hover, .cgroup.is-open .cgroup__head { color: var(--accent); }
.cgroup--single .cgroup__head:hover svg { transform: translateX(4px); }
@media (hover: hover) {
  .cgroup:hover .cgroup__sub, .cgroup:focus-within .cgroup__sub { max-height: 200px; opacity: 1; padding-bottom: 12px; }
  .cgroup:hover .cgroup__head svg { transform: rotate(45deg); }
  .cgroup--single:hover .cgroup__head svg { transform: translateX(4px); }
  .cgroup:hover .cgroup__head { color: var(--accent); }
}
.mega__note { margin: auto 0 0; padding-top: 20px; font-size: 10px; line-height: 1.7; color: var(--mute); }
.lookshow { position: relative; height: 430px; margin: 22px 0 26px 32px; overflow: hidden; background: var(--paper); }
.lookshow__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .6s var(--ease), transform 2.4s var(--ease); }
.lookshow__slide.on { opacity: 1; transform: none; z-index: 1; }
.lookshow__slide .ph { position: absolute; inset: 0; }
.lookshow__slide .ph__tag, .lookshow__slide .crop { display: none; }
.lookshow__slide .ph__file { bottom: auto; top: 34px; }
.lookshow__cap { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 6; display: grid; gap: 4px; color: var(--ink); }
.lookshow__cap em { font: normal 400 10px/1 var(--f-mono); letter-spacing: .14em; color: var(--mute); }
.lookshow__cap b { font: 400 34px/.95 var(--f-display); text-transform: uppercase; font-weight: 400; }
.lookshow__cap small { font: 400 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.lookshow__slide:hover .lookshow__cap small { color: var(--accent); }
.lookshow__hud { position: absolute; left: 16px; right: 16px; top: 14px; z-index: 6; display: flex; justify-content: space-between; font-size: 10px; color: var(--ink); pointer-events: none; }
.lookshow__side { position: absolute; right: 8px; top: 50%; z-index: 6; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: 9px; letter-spacing: .2em; color: var(--mute); pointer-events: none; }
.lookshow__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: 2px; background: rgba(12,12,12,.1); }
.lookshow__bar i { display: block; height: 100%; width: 0; background: var(--ink); }
.lookshow__bar.run i { animation: lsbar 2s linear forwards; }
@keyframes lsbar { to { width: 100%; } }
@media (max-width: 1180px) { .mega--shop .mega__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 280px; } .lookshow { height: 380px; } }

.header__actions { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.switch { display: inline-flex; border: 1px solid var(--line); height: 30px; }
.switch button { padding: 0 10px; font: 400 10px/1 var(--f-mono); letter-spacing: .12em; color: var(--mute); transition: .2s; }
.switch button.on { background: var(--fg); color: var(--bg); }
.cur-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; font: 400 10px/1 var(--f-mono); letter-spacing: .12em; color: var(--mute); border: 1px solid var(--line); margin-right: 4px; }
.cur-btn:hover { color: var(--fg); }
.cur-btn svg { width: 14px; height: 14px; }
.bag-count {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--red); color: #fff; font: 700 10px/17px var(--f-mono); text-align: center;
}
.bag-count.is-zero { display: none; }
.bag-btn.bump .bag-count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

@media (max-width: 1180px) { .nav-link { padding: 0 10px; letter-spacing: .1em; } .mega__inner { grid-template-columns: 1fr 1fr 1fr; } .mega__inner > .mega__tile:last-child { display: none; } .mega--small .mega__inner { grid-template-columns: 1fr 1.6fr; } .mega--small .mega__inner > .mega__tile:last-child { display: block; } }
@media (max-width: 960px) {
  :root { --hdr: 58px; }
  .main-nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .brand { justify-self: center; }
  .logo { height: 20px; }
}

/* ---------- Scrim, drawers, search, modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: .3s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 90; width: min(440px, 100vw); background: var(--bg);
  display: flex; flex-direction: column; transition: transform .45s var(--ease); border-left: 1px solid var(--line);
}
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--line); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font: 400 24px/1 var(--f-display); text-transform: uppercase; display: flex; gap: 10px; align-items: baseline; }
.drawer__head h3 .mono { color: var(--accent); }
.drawer__head .logo { height: 20px; }
.drawer__foot { margin-top: auto; padding: 18px 22px 26px; display: flex; gap: 10px; border-top: 1px solid var(--line); }

.m-nav { padding: 8px 22px; overflow-y: auto; }
.m-nav__acc, .m-nav__link {
  width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  font: 400 30px/1 var(--f-display); text-transform: uppercase; border-bottom: 1px solid var(--line); text-align: left;
}
.m-nav__acc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.m-nav__acc.is-open svg { transform: rotate(45deg); }
.m-nav__sub { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.m-nav__acc.is-open + .m-nav__sub { max-height: 600px; }
.m-nav__sub li a { display: block; padding: 10px 0 10px 14px; font-size: 15px; color: var(--fg-soft); border-left: 2px solid var(--fg); }
.m-nav__sub li:first-child a { margin-top: 12px; }
.m-nav__sub li:last-child a { margin-bottom: 14px; }
.m-nav__sub em { font: normal 10px var(--f-mono); color: var(--mute); margin-left: 6px; }

.search-panel {
  position: fixed; left: 0; right: 0; top: 0; z-index: 90; background: var(--bg); border-bottom: 1px solid var(--line);
  transform: translateY(-102%); transition: transform .45s var(--ease); max-height: 92vh; overflow-y: auto;
}
.search-panel.is-open { transform: none; }
.search-panel__inner { padding-top: 22px; padding-bottom: 36px; }
.search-panel__bar { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--fg); padding-bottom: 10px; }
.search-panel__bar > svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2; flex: none; }
.search-panel__bar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font: 400 clamp(26px, 5vw, 52px)/1.1 var(--f-display); text-transform: uppercase; }
.search-panel__bar input::placeholder { color: rgba(12,12,12,.2); }
.search-panel__bar input::-webkit-search-cancel-button { display: none; }
.search-panel__trend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 26px; }
.search-panel__trend .mono { color: var(--mute); margin-right: 8px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 14px; }
.mini { display: grid; gap: 6px; }
.mini .ph { aspect-ratio: 4/5; }
.mini__name { font-size: 13px; font-weight: 600; }
.mini__price { font-size: 13px; }
.mini:hover .mini__name { color: var(--accent); }
@media (max-width: 720px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }

.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: .3s; pointer-events: none; }
.modal.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.modal__box { width: min(640px, 100%); background: var(--bg); border: 1px solid var(--line); transform: translateY(14px); transition: transform .4s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__body { padding: 22px; overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th, .size-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font: 400 10px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.size-table tbody th { font-family: var(--f-display); font-size: 20px; font-weight: 400; color: var(--accent); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--ink); color: #fff; padding: 14px 22px; font: 700 11px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  border-left: 4px solid var(--red); transition: transform .45s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Cart ---------- */
.cart__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.cart__empty { margin: auto; text-align: center; padding: 30px; display: grid; gap: 12px; justify-items: center; }
.cart__empty .btn { width: 240px; }
.cart__emptyicon svg { width: 54px; height: 54px; fill: none; stroke: var(--accent); stroke-width: 1.2; margin-bottom: 6px; }
.ship-meter { padding: 16px 22px; border-bottom: 1px solid var(--line); }
.ship-meter p { margin: 0 0 10px; font-size: 13px; }
.ship-meter b { color: var(--accent); }
.ship-meter__bar { height: 4px; background: var(--line); }
.ship-meter__bar i { display: block; height: 100%; background: var(--fg); transition: width .5s var(--ease); }
.cart__lines { flex: 1; overflow-y: auto; padding: 6px 22px; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img .ph { aspect-ratio: 4/5; }
.line__img .ph__label { display: none; }
.line__info { display: grid; gap: 6px; align-content: start; }
.line__name { font-weight: 600; font-size: 14px; }
.line__var { color: var(--mute); font-size: 10px; }
.line__row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.line__price { font-weight: 600; }
.line__rm { justify-self: start; font: 400 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.line__rm:hover { color: var(--accent); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.stepper button { width: 32px; height: 100%; display: grid; place-items: center; }
.stepper button:hover { color: var(--accent); }
.stepper svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.stepper span { min-width: 26px; text-align: center; font: 700 13px var(--f-mono); }
.cart__foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--paper); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total span { font: 400 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.cart__total b { font: 400 26px/1 var(--f-display); }
.cart__foot .muted { margin: 0 0 4px; }

/* ---------- Placeholder media ---------- */
.ph { position: relative; overflow: hidden; width: 100%; height: 100%; isolation: isolate; }
.ph > img, .ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 5; }
/* nhiễu hạt tĩnh (không animation, không blend-mode → nhẹ máy) */
.grain::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background-image: var(--grain); opacity: .09; }

.ph--product { background: radial-gradient(120% 80% at 50% 35%, #FAFAF9 0%, var(--paper-2) 75%, #E2E0DC 100%); color: var(--ink); }
.ph--product .garment { position: absolute; left: 50%; top: 50%; width: 78%; height: 78%; transform: translate(-50%, -48%); transition: transform .7s var(--ease); }
.ph--product[data-n="2"] .garment, .ph--product[data-n="4"] .garment { transform: translate(-50%, -48%) scale(1.02); }
.ph--product[data-n="3"] .garment { width: 140%; height: 140%; transform: translate(-50%, -38%); }
.ph__label { position: absolute; left: 10px; bottom: 9px; font: 400 9px/1 var(--f-mono); letter-spacing: .1em; color: rgba(0,0,0,.35); z-index: 2; }

.ph--look { background:
  radial-gradient(90% 70% at 70% 15%, #FFFFFF 0%, transparent 65%),
  linear-gradient(170deg, color-mix(in srgb, var(--tone) 10%, #F6F4F0) 0%, color-mix(in srgb, var(--tone) 22%, #E6E2DB) 100%);
}
.ph__ghost {
  position: absolute; left: -2%; top: 50%; z-index: 1; transform: translateY(-50%) rotate(-90deg) translateX(0); transform-origin: center;
  width: 100%; text-align: center; white-space: nowrap;
  font: 400 clamp(60px, 14vw, 200px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(12,12,12,.07);
}
.ph__figure { position: absolute; left: 50%; bottom: 0; z-index: 2; height: 82%; width: auto; transform: translateX(-50%); fill: rgba(12,12,12,.08); }
.ph__tag { position: absolute; left: 12px; top: 12px; z-index: 3; font: 400 9px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(12,12,12,.5); }
.ph__tag b { display: block; color: var(--ink); font-weight: 700; }
.ph__file { position: absolute; right: 12px; bottom: 10px; z-index: 3; font: 400 9px/1 var(--f-mono); letter-spacing: .08em; color: rgba(12,12,12,.35); }
.crop { position: absolute; width: 14px; height: 14px; z-index: 3; border-color: rgba(12,12,12,.25); border-style: solid; }
.crop--tl { right: 10px; top: 10px; border-width: 1px 1px 0 0; }
.crop--br { left: 10px; bottom: 10px; border-width: 0 0 1px 1px; }

.ph--video { background: linear-gradient(160deg, #F7F5F1 0%, color-mix(in srgb, var(--tone) 16%, #E9E5DF) 100%); }
.ph__static { position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(60% 50% at 50% 45%, rgba(255,255,255,.9) 0%, transparent 70%); }
.ph__scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px); }
.ph__rec { position: absolute; left: 14px; top: 14px; z-index: 4; display: flex; align-items: center; gap: 6px; font: 700 10px/1 var(--f-mono); letter-spacing: .14em; }
.ph__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ph__tc { position: absolute; right: 14px; top: 14px; z-index: 4; font: 400 10px/1 var(--f-mono); letter-spacing: .1em; color: rgba(255,255,255,.7); }
.ph__play { position: absolute; left: 50%; top: 50%; z-index: 4; width: 74px; height: 74px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--ink); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.ph__play svg { width: 24px; height: 24px; margin-left: 3px; }
a:hover .ph__play, .ph--video:hover .ph__play { transform: translate(-50%, -50%) scale(1.1); background: var(--ink); color: #fff; }

/* ---------- Section heads ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.sec-title--sm { font-size: clamp(34px, 4vw, 56px); }
.section--tight .sec-head { margin-bottom: 22px; }
.section--paper { background: var(--paper); color: var(--fg); }
.section--paper .muted { color: var(--mute-dark); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--accent); }
.section--paper .sec-head__kicker { color: var(--red); }
.sec-head__kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.sec-title { margin: 0; font: 400 clamp(44px, 7vw, 96px)/.9 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.sec-sub { margin: 12px 0 0; max-width: 420px; }
.sec-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font: 700 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: color .2s, gap .3s var(--ease); }
.sec-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.sec-link:hover { color: var(--accent); gap: 14px; }
.section--paper .sec-link:hover { color: var(--red); }
@media (max-width: 720px) { .sec-head { flex-direction: column; align-items: flex-start; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; height: calc(100svh - var(--hdr) - 34px); min-height: 560px; max-height: 920px; overflow: hidden; background: var(--paper); color: var(--fg); }
.hero__video { position: absolute; inset: 0; }
.hero__video .ph { position: absolute; inset: 0; }
.hero__video .ph__file { display: none; }
.hero__hint { position: absolute; z-index: 5; left: 50%; top: 42%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; text-align: center; color: var(--mute); pointer-events: none; }
.hero__hint svg { width: 54px; height: 54px; padding: 16px; border: 1px solid currentColor; border-radius: 50%; }
.hero__hint b { font: 700 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.hero__hint span { font: 400 10px/1 var(--f-mono); letter-spacing: .06em; }
.hero__shade { position: absolute; inset: 0; z-index: 6; background: linear-gradient(0deg, rgba(255,255,255,.85) 0%, transparent 45%); }
.hero__content { position: absolute; z-index: 8; left: 0; right: 0; bottom: clamp(40px, 7vh, 80px); }
.hero__kicker { display: block; margin-bottom: 12px; }
.hero__title { margin: 0 0 24px; font: 400 clamp(60px, 10vw, 150px)/.85 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
/* Khi video thật đã tải: chữ trắng, nền tối nhẹ phía dưới để dễ đọc */
.hero.has-video .hero__hint { display: none; }
.hero.has-video { color: #fff; }
.hero.has-video .hero__shade { background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 50%); }
.hero.has-video .hero__cta { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 560px) { .hero__cta { width: 100%; } }
.shop-hero--collection.has-video .shop-hero__bg::after, .about-hero.has-video .about-hero__bg::after { background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,.1)); }
.about-hero.has-video h1 .out { -webkit-text-stroke-color: #fff; }

/* ---------- Red marquee band ---------- */
.band { background: #fff; color: var(--ink); overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.band .marquee__track { animation-duration: 30s; }
.band span { font: 400 clamp(34px, 5vw, 64px)/1.25 var(--f-display); text-transform: uppercase; padding: 0 26px; }
.band span.out { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.band--tilt { transform: rotate(-2deg) scale(1.04); margin: 30px 0; box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.band--rev .marquee__track { animation-direction: reverse; }
.band--red { background: var(--red); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat { display: grid; gap: 10px; color: var(--ink); }
.cat__img { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: border-color .25s; }
.cat__img .ph--product { position: absolute; inset: 0; background: #fff; transition: transform .6s var(--ease); }
.cat__img .ph__label { display: none; }
.cat:hover .cat__img { border-color: var(--ink); }
.cat:hover .ph--product { transform: scale(1.05); }
.cat__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 400 clamp(15px, 1.3vw, 19px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.cat__name svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.cat:hover .cat__name svg { transform: translateX(4px); }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .cat { gap: 6px; } .cat__name { font-size: 13px; } .cat__name svg { display: none; } }

/* ---------- Product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 22px 10px; } }

.card { display: grid; gap: 10px; align-content: start; }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.card__link { position: absolute; inset: 0; }
.card__link > .ph { position: absolute; inset: 0; }
.card__alt { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.card:hover .card__alt { opacity: 1; }
.card:hover .ph--product .garment { transform: translate(-50%, -48%) scale(1.04); }
.card__badges { position: absolute; left: 10px; top: 10px; z-index: 6; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.badge { background: var(--ink); color: #fff; padding: 5px 8px; font: 700 9px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.badge--sale { background: var(--red); }
.badge--new { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.card__quick {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 6; background: rgba(12,12,12,.92); color: #fff; padding: 10px;
  transform: translateY(calc(100% + 10px)); transition: transform .45s var(--ease);
}
.card:hover .card__quick, .card__quick:focus-within { transform: none; }
.card__quick > span { display: block; font: 400 9px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.card__quick div { display: flex; gap: 4px; }
.card__quick button { flex: 1; height: 32px; border: 1px solid var(--line); font: 700 10px/1 var(--f-mono); letter-spacing: .06em; transition: .2s; }
.card__quick button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.card__info { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card__name { font-weight: 600; font-size: 14px; line-height: 1.35; transition: color .2s; }
.card__name:hover { color: var(--accent); }
.section--paper .card__name:hover { color: var(--red); }
.card__price { text-align: right; display: grid; justify-items: end; gap: 2px; flex: none; }
.price { font-weight: 600; font-size: 14px; }
.price--sale { color: var(--accent); }
.section--paper .price--sale { color: var(--red); }
.price--was { color: var(--mute); font-weight: 400; font-size: 12px; }
.price__pct { display: none; }
/* Giá đôi: VND chính + USD phụ */
.money { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.money__usd { font: 400 .82em/1 var(--f-mono); letter-spacing: .02em; color: var(--mute); }
.price--sale .money__usd { color: inherit; opacity: .7; }
.price--was .money__usd { display: none; }
.card__price .money { flex-direction: column; align-items: flex-end; gap: 3px; }
.btn .money__usd { color: inherit; opacity: .65; }
.pdp__price .money { gap: 10px; }
.pdp__price .money__usd { font-size: 15px; }
@media (max-width: 560px) { .card__price .money { flex-direction: row; } }
.card__meta { display: flex; align-items: center; gap: 8px; font: 400 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: -2px; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(128,128,128,.45); }
@media (hover: none) { .card__quick { display: none; } }
@media (max-width: 560px) { .card__info { flex-direction: column; gap: 4px; } .card__price { justify-items: start; text-align: left; grid-auto-flow: column; gap: 8px; align-items: baseline; } .card__name { font-size: 13px; } }

/* Rail (cuộn ngang) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail.is-drag { scroll-snap-type: none; cursor: grabbing; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (max-width: 760px) { .rail { grid-auto-columns: 68%; gap: 10px; } }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 46px; height: 46px; border: 1px solid currentColor; display: grid; place-items: center; transition: .2s; opacity: .7; }
.rail-ctrl button:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); opacity: 1; }
.rail-ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.rail-ctrl button:first-child svg { transform: scaleX(-1); }

/* Lookbook rail */
.lookbook { overflow: hidden; }
.lb-rail { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter) 6px; scroll-snap-type: x proximity; cursor: grab; }
.lb-rail::-webkit-scrollbar { display: none; }
.lb-rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.lb-frame { position: relative; flex: none; height: clamp(380px, 62vh, 640px); aspect-ratio: 3/4; scroll-snap-align: start; user-select: none; }
.lb-frame--wide { aspect-ratio: 9/12; }
.lb-frame--video { aspect-ratio: 9/16; }
.lb-frame .ph { position: absolute; inset: 0; }
.lb-frame:nth-child(even) { margin-top: 32px; }
.lb-frame__no { position: absolute; z-index: 7; left: 14px; bottom: 12px; font: 400 54px/1 var(--f-display); color: var(--ink); }
.lb-frame__shop { position: absolute; z-index: 7; right: 12px; bottom: 14px; padding: 8px 12px; background: #fff; color: var(--ink); font: 700 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.lb-frame:hover .lb-frame__shop { opacity: 1; transform: none; }
/* Tách từng món trong look */
/* Khung look: rê chuột → nới rộng, ảnh full look giữ bên trái, các món hiện bên phải */
.lb-frame--look { --h: clamp(300px, 46vh, 460px); aspect-ratio: auto; height: var(--h); width: calc(var(--h) * .75); cursor: pointer; }
.lb-frame--look > .ph { right: auto; width: calc(var(--h) * .75); }
.lb-rail.is-peek { scroll-snap-type: none; }
/* Clip của look lồng trong khung ảnh */
.lb-motion { position: absolute; top: 0; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; z-index: 6; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; background: transparent; }
.lb-frame.is-open.has-motion .lb-motion { opacity: 1; }
.lb-frame__motion { position: absolute; z-index: 7; top: 12px; right: 12px; display: none; align-items: center; gap: 6px; padding: 5px 8px; background: rgba(255,255,255,.9); font-size: 9px; color: var(--ink); }
.lb-frame__motion i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.lb-frame.has-motion .lb-frame__motion { display: inline-flex; }
.lb-frame.is-open.has-motion .lb-frame__motion i { animation: blink 1.2s steps(2) infinite; }
.lb-frame__no { font-size: 44px !important; }
.lb-items { position: absolute; top: auto; left: 0; right: 0; bottom: 0; z-index: 8; display: grid; grid-template-rows: auto repeat(3, minmax(0, 1fr)) auto; gap: 8px; padding: 12px; background: var(--paper);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.lb-frame.is-open .lb-items { opacity: 1; pointer-events: auto; transition-delay: .2s; }
.lb-items__head { display: flex; justify-content: space-between; font-size: 10px; color: var(--mute); padding: 2px 2px 0; }
.lb-item { display: grid; grid-template-columns: 44% 1fr; gap: 12px; align-items: center; min-height: 0; background: #fff; border: 1px solid var(--line); padding: 6px; transition: border-color .2s, transform .45s var(--ease), opacity .45s var(--ease);
  opacity: 0; transform: translateY(14px); transition-delay: 0s; }
.lb-frame.is-open .lb-item { opacity: 1; transform: none; transition-delay: var(--d); }
.lb-item:hover { border-color: var(--ink); }
.lb-item__img { position: relative; height: 100%; min-height: 0; }
.lb-item__img .ph { position: absolute; inset: 0; }
.lb-item__img .ph__label { display: none; }
.lb-item__info { display: grid; gap: 4px; align-content: center; font-size: 13px; line-height: 1.3; }
.lb-item__info b { font-weight: 600; }
.lb-item__info .price { font-size: 13px; }
.lb-item__info .price--was { font-size: 11px; }
.lb-item__info .money { flex-direction: column; align-items: flex-start; gap: 2px; }
.lb-item__info small { font-size: 9px; color: var(--mute); }
.lb-item:hover small { color: var(--accent); }
.lb-items__all { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; background: var(--ink); color: #fff; font-weight: 600; }
.lb-items__all .mono { font-size: 10px; }
.lb-items__all .money__usd { color: rgba(255,255,255,.6); }
.lb-items__all:hover { background: var(--red); }
@media (hover: hover) and (min-width: 761px) { .lb-items { display: none; } }
/* Thẻ món đi theo con trỏ (máy tính) — bản gọn */
.look-pop { position: fixed; left: 0; top: 0; z-index: 70; width: 196px; display: grid; gap: 4px; padding: 7px; background: rgba(255,255,255,.97); border: 1px solid var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; will-change: transform; }
.look-pop.is-on { opacity: 1; visibility: visible; }
.look-pop.is-pinned { pointer-events: auto; }
.look-pop .lb-items__head { padding: 0 18px 1px 1px; font-size: 8px; }
.look-pop .lb-items__head span:last-child { display: none; }
.look-pop .lb-item { opacity: 1; transform: none; grid-template-columns: 38px 1fr; gap: 8px; padding: 3px; }
.look-pop .lb-item__img { height: 42px; }
.look-pop .lb-item__info { gap: 1px; font-size: 11px; line-height: 1.2; }
.look-pop .lb-item__info b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.look-pop .lb-item__info .price { font-size: 11px; }
.look-pop .lb-item__info .price--was, .look-pop .money__usd, .look-pop .lb-item__info small { display: none; }
.look-pop .lb-items__all { padding: 6px 8px; font-size: 12px; }
.look-pop .lb-items__all .mono { font-size: 9px; }
.look-pop__x { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; display: none; place-items: center; }
.look-pop__x svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.look-pop.is-pinned .look-pop__x { display: grid; }
.look-pop__hint { margin: 0; text-align: center; font-size: 8px; color: var(--mute); }
.look-pop.is-pinned .look-pop__hint { display: none; }
/* Điện thoại: không nới rộng — 3 món xếp 1 hàng ngang ở đáy, phần lớn khung vẫn thấy ảnh look */
@media (max-width: 760px), (hover: none) {
  .lb-items { top: auto; left: 0; width: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 6px; padding: 8px; background: rgba(247,247,245,.96); border-top: 1px solid var(--line); }
  .lb-items__head, .lb-items__all { grid-column: 1 / -1; }
  .lb-item { grid-template-columns: 1fr; gap: 4px; padding: 4px; align-items: start; }
  .lb-item__img { height: 64px; }
  .lb-item__info { gap: 2px; font-size: 11px; }
  .lb-item__info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
  .lb-item__info .price { font-size: 12px; }
  .lb-item__info .price--was, .lb-item__info small { display: none; }
  .lb-items__all { padding: 8px 10px; }
}
.lb-frame__shop:hover { background: var(--ink); color: #fff; }
.lb-progress { height: 2px; background: var(--line); margin-top: 26px; }
.lb-progress i { display: block; height: 100%; width: 20%; background: var(--fg); transition: width .15s; }

/* ---------- Sale split ---------- */
.sale { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.sale__box { background: var(--paper); border: 1px solid var(--line); padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; position: relative; overflow: hidden; }
.sale__box::after { content: '%'; position: absolute; right: -4%; bottom: -16%; font: 400 clamp(240px, 30vw, 440px)/1 var(--f-display); color: rgba(0,0,0,.04); pointer-events: none; }
.sale__big { font: 400 clamp(70px, 10vw, 150px)/.85 var(--f-display); text-transform: uppercase; margin: 14px 0; position: relative; z-index: 1; color: var(--red); }
.sale__box > div > .mono { color: var(--red); }
.sale__box p { max-width: 300px; margin: 0 0 24px; position: relative; z-index: 1; }
.sale__box .btn { align-self: flex-start; position: relative; z-index: 1; }
.sale__timer { display: flex; gap: 8px; position: relative; z-index: 1; }
.sale__timer div { background: #fff; border: 1px solid var(--line); padding: 10px 12px; min-width: 64px; text-align: center; }
.sale__timer b { display: block; font: 400 30px/1 var(--f-display); }
.sale__timer span { font: 400 9px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.sale .grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .sale { grid-template-columns: 1fr; } .sale__box { min-height: 0; } }
@media (max-width: 760px) { .sale .grid { grid-template-columns: repeat(2, 1fr); } .sale .grid .card:nth-child(3) { display: none; } }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.manifesto h2 { margin: 0; font: 400 clamp(54px, 8.4vw, 132px)/.86 var(--f-display); text-transform: uppercase; }
.manifesto h2 span { display: block; }
.manifesto h2 .red { color: var(--red); }
.manifesto p { font-size: 17px; max-width: 380px; margin: 0 0 24px; }
.manifesto__img { position: relative; aspect-ratio: 4/5; }
.manifesto__img .ph { position: absolute; inset: 0; }
.manifesto__stamp { position: absolute; z-index: 7; left: -26px; bottom: 36px; background: var(--ink); color: #fff; padding: 14px 18px; transform: rotate(-4deg); font: 400 11px/1.5 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 18px 30px rgba(0,0,0,.25); }
.manifesto__stamp b { display: block; font: 400 26px/1 var(--f-display); color: var(--accent); letter-spacing: .02em; }
.coords { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; color: var(--mute-dark); }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } .manifesto__stamp { left: 12px; } }

/* ---------- Crew grid ---------- */
.crew { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.crew a { position: relative; aspect-ratio: 1; overflow: hidden; }
.crew a .ph { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.crew a:hover .ph { transform: scale(1.06); }
.crew a::after { content: '@madmax.crew'; position: absolute; inset: 0; z-index: 7; display: grid; place-items: center; background: rgba(12,12,12,.7); color: #fff; font: 700 11px var(--f-mono); letter-spacing: .1em; opacity: 0; transition: opacity .3s; }
.crew a:hover::after { opacity: 1; }
.crew .ph__ghost, .crew .ph__tag { display: none; }
@media (max-width: 760px) { .crew { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Newsletter ---------- */
.news { background: var(--paper); position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; padding: clamp(54px, 7vw, 90px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.news h2 { margin: 0; font: 400 clamp(54px, 8vw, 120px)/.85 var(--f-display); text-transform: uppercase; }
.news p { margin: 14px 0 0; font-size: 16px; }
.news form { display: flex; border-bottom: 2px solid var(--fg); }
.news input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 14px 0; font-size: 18px; }
.news input::placeholder { color: var(--mute); }
.news button { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; padding: 0 4px 0 14px; }
.news button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.news button:hover svg { transform: translateX(5px); }
.news small { display: block; margin-top: 12px; font: 400 10px/1.4 var(--f-mono); letter-spacing: .08em; color: var(--mute); }
.news button:hover { color: var(--accent); }
@media (max-width: 860px) { .news__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand .logo--foot { height: 30px; color: var(--fg); }
.footer__brand p { color: var(--mute); max-width: 320px; margin: 18px 0 0; font-size: 14px; }
.footer__tag { color: var(--accent) !important; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; font: 700 10px var(--f-mono); transition: .2s; }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.site-footer h4 { margin: 4px 0 18px; font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { font-size: 14px; color: var(--fg-soft); transition: color .2s; }
.site-footer ul a:hover { color: var(--accent); }
.footer__mega { padding: 56px var(--gutter) 0; color: var(--ink); max-width: var(--max); margin: 0 auto; }
.footer__mega .logo { width: 100%; height: auto; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font-size: 12px; color: var(--mute); }
.pay { display: flex; gap: 6px; flex-wrap: wrap; }
.pay b { border: 1px solid var(--line); padding: 5px 7px; font: 700 9px/1 var(--f-mono); letter-spacing: .08em; color: var(--mute); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- SHOP page ---------- */
.shop-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(26px, 3vw, 36px); border-bottom: 1px solid var(--line); overflow: hidden; }
.shop-hero--collection { min-height: 440px; display: flex; align-items: flex-end; padding-top: 140px; }
.shop-hero__bg { position: absolute; inset: 0; }
.shop-hero__bg .ph { position: absolute; inset: 0; }
.shop-hero__bg::after { content: ''; position: absolute; inset: 0; z-index: 6; background: linear-gradient(0deg, rgba(255,255,255,.94) 10%, rgba(255,255,255,.25)); }
.shop-hero .wrap { position: relative; z-index: 8; }
.crumbs { display: flex; gap: 8px; color: var(--mute); margin-bottom: 18px; }
.crumbs a:hover { color: var(--fg); }
.shop-hero h1 { margin: 0; font: 400 clamp(56px, 10vw, 150px)/.85 var(--f-display); text-transform: uppercase; display: flex; align-items: flex-start; gap: 14px; }
.shop-hero h1 sup { font: 400 12px/1 var(--f-mono); color: var(--accent); margin-top: 10px; letter-spacing: .1em; }
.shop-hero p { margin: 14px 0 0; color: var(--fg-soft); }
.toolbar { position: sticky; top: var(--hdr); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.toolbar__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
/* ô View (dropdown) */
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; max-width: 60vw; }
.dd__btn .mono { font-size: 10px; color: var(--mute); }
.dd__btn b { font: 400 18px/1 var(--f-display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd__btn svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: min(620px, 92vw); padding: 18px; background: #fff; border: 1px solid var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.08);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 20px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
.dd.is-open .dd__panel { opacity: 1; visibility: visible; transform: none; }
.dd__group { display: grid; align-content: start; gap: 2px; }
.dd__group > .mono { font-size: 10px; color: var(--mute); margin-bottom: 6px; }
.dd__opt { text-align: left; padding: 4px 0; font: 400 19px/1.1 var(--f-display); text-transform: uppercase; transition: color .2s, transform .2s; }
.dd__opt:hover { color: var(--accent); transform: translateX(4px); }
.dd__opt.on { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.dd__opt.is-red { color: var(--red); }
.dd__opt em { font: normal 400 9px/1 var(--f-mono); color: var(--mute); margin-left: 4px; }
.dd__panel--view { width: min(460px, 92vw); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dd__all { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
/* Filter dạng ô xổ xuống */
.dd--filter .filter-btn > svg:last-child { width: 14px; height: 14px; transition: transform .25s; }
.dd--filter.is-open .filter-btn { border-color: var(--ink); }
.dd--filter.is-open .filter-btn > svg:last-child { transform: rotate(180deg); }
.dd__panel--filter { width: min(440px, 92vw); grid-template-columns: 1fr; gap: 16px; }
.fx { display: grid; gap: 8px; }
.fx > .mono { font-size: 10px; color: var(--mute); }
.fx__row { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-pill { height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); font: 700 11px/1 var(--f-mono); letter-spacing: .04em; transition: .15s; }
.fx-pill:hover { border-color: var(--ink); }
.fx-pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.fx-pill--red.on { background: var(--red); border-color: var(--red); }
.swatch--sm { width: 24px; height: 24px; }
/* bộ lọc đang chọn */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 14px; }
.active-filters:empty { display: none; }
.af-tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; background: var(--ink); color: #fff; font: 400 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.af-tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.af-tag:hover { background: var(--red); }
.af-clear { font: 700 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; color: var(--mute); }
.af-clear:hover { color: var(--ink); }
.filter-btn__n { display: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 700 10px/18px var(--f-mono); text-align: center; }
.filter-btn__n.is-on { display: inline-block; }
.toolbar__count { color: var(--mute); }
.toolbar__right { display: flex; align-items: center; gap: 10px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); font: 700 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.filter-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 36px 0 14px; background: transparent; border: 1px solid var(--line); font: 700 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.select select option { background: var(--bg); color: var(--fg); }
.select--sort { display: inline-flex; align-items: center; gap: 8px; }
.select__lbl { font-size: 10px; color: var(--mute); }
.select--sort select { height: 40px; }
.select svg { position: absolute; right: 10px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: currentColor; stroke-width: 2; pointer-events: none; }
.shop-layout { padding-top: 24px; padding-bottom: 100px; }
.filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 90; width: min(400px, 92vw); background: var(--bg); padding: 0 24px 24px; overflow-y: auto; transform: translateX(-102%); transition: transform .45s var(--ease); display: grid; gap: 28px; align-content: start; border-right: 1px solid var(--line); }
.filters.is-open { transform: none; }
.filters h4 { margin: 0 0 12px; font: 400 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.f-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.f-sizes button, .size-btn { height: 40px; border: 1px solid var(--line); font: 700 11px var(--f-mono); transition: .2s; }
.f-sizes button:hover, .size-btn:hover { border-color: var(--fg); }
.f-sizes button.on, .size-btn.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.f-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .2s; }
.swatch::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; transition: .2s; }
.swatch:hover { transform: scale(1.08); }
.swatch.on::after { border-color: var(--fg); }
.f-list { display: grid; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-strong); margin: 0; display: grid; place-items: center; }
.check input:checked { background: var(--fg); border-color: var(--fg); }
.check input:checked::after { content: ''; width: 8px; height: 4px; border: solid var(--bg); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.filters__clear { justify-self: start; font: 700 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; color: var(--mute); }
.filters__clear:hover { color: var(--accent); }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin: 0 -24px; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg); z-index: 2; }
.filters__head h3 { margin: 0; font: 400 26px var(--f-display); text-transform: uppercase; }
.filters__apply { display: flex; position: sticky; bottom: 0; padding-top: 8px; background: var(--bg); }
.empty { padding: 80px 0; text-align: center; color: var(--mute); grid-column: 1 / -1; }
@media (max-width: 960px) {
  .shop-layout { padding-top: 16px; }
  .toolbar__count { display: none; }
}
@media (max-width: 560px) {
  .toolbar .wrap { gap: 6px; }
  .toolbar__left { flex: 1 1 auto; }
  .dd { min-width: 0; }
  .dd__btn { padding: 0 10px; max-width: 100%; }
  .filter-btn__txt { display: none; }
  .toolbar__right { flex: none; }
  .dd__btn .mono { display: none; }
  .dd__btn b { font-size: 16px; }
  .filter-btn { padding: 0 10px; }
  .select select { padding: 0 28px 0 10px; }
  .select__lbl { display: none; }
  .select--sort select { width: 112px; text-overflow: ellipsis; }
  .filter-btn svg { width: 18px; height: 18px; flex: none; }
  .toolbar .wrap { position: relative; }
  .dd { position: static; }
  .dd__panel { left: var(--gutter); right: var(--gutter); width: auto; top: calc(100% - 6px); }
  .dd__panel--view { grid-template-columns: 1fr 1fr; }
}

/* ---------- PRODUCT page ---------- */
.pdp { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); padding-top: 24px; padding-bottom: 90px; }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp__gallery > div { position: relative; aspect-ratio: 4/5; }
.pdp__gallery > div:first-child { grid-column: 1 / -1; aspect-ratio: 5/5; }
.pdp__gallery .ph { position: absolute; inset: 0; }
.pdp__info { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; display: grid; gap: 22px; }
.pdp__badges { display: flex; gap: 6px; }
.pdp h1 { margin: 0; font: 400 clamp(40px, 4.6vw, 68px)/.92 var(--f-display); text-transform: uppercase; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; }
.pdp__price .price { font: 400 30px/1 var(--f-display); letter-spacing: .01em; }
.pdp__price .price--was { font: 400 18px var(--f-body); }
.pdp__price .price__pct { display: inline-block; background: var(--red); color: #fff; padding: 4px 8px; font: 700 11px var(--f-mono); }
.pdp__desc { margin: 0; color: var(--fg-soft); }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.opt__head .mono { color: var(--mute); }
.opt__head .mono b { color: var(--fg); font-weight: 400; margin-left: 6px; }
.opt__head button { font: 400 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.opt__head button:hover { color: var(--accent); }
.pdp__sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pdp__sizes--one { grid-template-columns: 1fr; }
.size-btn { height: 50px; font-size: 13px; }
.pdp__sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.pdp__buy .stepper { height: 54px; }
.pdp__buy .stepper button { width: 40px; }
.pdp__buy .btn { height: 54px; }
.perks { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.perks svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; flex: none; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 700 11px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s; }
.acc[open] summary svg { transform: rotate(45deg); }
.acc div { padding: 0 0 18px; color: var(--fg-soft); font-size: 14px; }
.acc div p { margin: 0 0 6px; }
.pdp__collection { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); transition: border-color .2s; }
.pdp__collection:hover { border-color: var(--fg); }
.pdp__collection .thumb { width: 64px; height: 80px; position: relative; flex: none; }
.pdp__collection .thumb .ph { position: absolute; inset: 0; }
.pdp__collection .thumb .ph__tag, .pdp__collection .thumb .ph__file, .pdp__collection .thumb .ph__ghost, .pdp__collection .thumb .crop { display: none; }
.pdp__collection b { display: block; font: 400 24px/1 var(--f-display); text-transform: uppercase; }
.pdp__collection svg.arr { width: 20px; height: 20px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); gap: 8px; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .pdp__gallery > div, .pdp__gallery > div:first-child { flex: none; width: 86%; aspect-ratio: 4/5; scroll-snap-align: center; }
  .pdp__info { position: static; }
}

/* ---------- ABOUT page ---------- */
.about-hero { position: relative; min-height: calc(100svh - var(--hdr) - 34px); display: flex; align-items: flex-end; overflow: hidden; padding: 120px 0 clamp(40px, 6vw, 80px); }
.about-hero__bg { position: absolute; inset: 0; }
.about-hero__bg .ph { position: absolute; inset: 0; }
.about-hero__bg::after { content: ''; position: absolute; inset: 0; z-index: 6; background: linear-gradient(0deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.35) 60%); }
.about-hero .wrap { position: relative; z-index: 8; }
.about-hero h1 { margin: 16px 0 0; font: 400 clamp(64px, 12vw, 190px)/.84 var(--f-display); text-transform: uppercase; }
.about-hero h1 span { display: block; }
.about-hero h1 .out { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.about-hero p { max-width: 520px; font-size: 18px; margin: 24px 0 0; color: var(--fg-soft); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.story__imgs { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: end; }
.story__imgs > div { position: relative; aspect-ratio: 3/4; }
.story__imgs > div:last-child { aspect-ratio: 4/5; margin-bottom: 50px; }
.story__imgs .ph { position: absolute; inset: 0; }
.story h2 { margin: 0 0 20px; font: 400 clamp(48px, 6vw, 92px)/.9 var(--f-display); text-transform: uppercase; }
.story p { font-size: 18px; margin: 0 0 14px; max-width: 460px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.value { padding: 32px 28px 36px 0; border-right: 1px solid var(--line-dark); }
.value + .value { padding-left: 28px; }
.value:last-child { border-right: 0; }
.value .mono { color: var(--red); }
.value h3 { margin: 18px 0 10px; font: 400 clamp(32px, 3.4vw, 48px)/.95 var(--f-display); text-transform: uppercase; }
.value p { margin: 0; color: var(--mute-dark); max-width: 300px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { border: 1px solid var(--line); padding: 28px 24px; }
.stat b { display: block; font: 400 clamp(56px, 7vw, 100px)/.9 var(--f-display); color: var(--fg); }
.stat span { display: block; margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.cta-block { text-align: center; padding: clamp(70px, 10vw, 140px) var(--gutter); }
.cta-block h2 { margin: 0; font: 400 clamp(50px, 8vw, 124px)/.88 var(--f-display); text-transform: uppercase; }
.cta-block p { margin: 16px 0 28px; color: var(--fg-soft); }

/* ---------- TÀI KHOẢN & ĐIỂM ---------- */
.acct-btn { position: relative; }
.acct-dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff; display: none; }
.acct-dot.is-on { display: block; }
.drawer__foot .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.modal__box.auth { width: min(440px, 100%); max-height: 92vh; overflow-y: auto; }
.auth__body, .acct-guest__form .auth { padding: 22px; display: grid; gap: 18px; }
.auth__title { margin: 6px 0 6px; font: 400 clamp(30px, 4vw, 40px)/.95 var(--f-display); text-transform: uppercase; }
.auth__intro p { margin: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); padding: 3px; }
.seg button { height: 38px; font: 700 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: .2s; }
.seg button.on { background: var(--ink); color: #fff; }
.auth__form { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field .mono { color: var(--mute); font-size: 10px; }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input { height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); background: #fff; font-size: 16px; outline: 0; border-radius: 0; transition: border-color .2s; }
.field input:focus { border-color: var(--ink); }
.field input:disabled { background: var(--paper); color: var(--mute); }
.field input.otp { font: 700 26px/1 var(--f-mono); letter-spacing: .5em; text-align: center; padding-left: .5em; }
.field__err { margin: -6px 0 0; min-height: 0; color: var(--red); font-size: 13px; }
.field__err:empty { display: none; }
.auth .check { font-size: 13px; }
.auth__back, .auth__resend { justify-self: start; font-size: 11px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.auth__back:hover, .auth__resend:hover { color: var(--ink); }
.demo-note { padding: 12px 14px; background: var(--paper); border-left: 3px solid var(--ink); font-size: 13px; }
.demo-note .mono { display: inline-block; margin-right: 8px; padding: 3px 6px; background: var(--ink); color: #fff; font-size: 9px; }
.demo-note b { font-family: var(--f-mono); letter-spacing: .15em; }
.perks-mini { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.perks-mini li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.perks-mini svg, .pts-line svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.8; }

/* điểm trong giỏ hàng */
.pts-line { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: #fff; border: 1px solid var(--line); font-size: 13px; text-align: left; }
.pts-line span { flex: 1; }
.pts-line--guest { cursor: pointer; transition: border-color .2s; }
.pts-line--guest:hover { border-color: var(--ink); }
.pts-line--guest > svg:last-child { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.pts-use { font-size: 13px; }
.pts-use b { margin-left: auto; color: var(--red); }
.pts-hint { margin: 0; }
.pts-line--ok { border-color: var(--ink); }
.pts-line--ok > b { color: var(--red); white-space: nowrap; }
.pts-line svg { stroke: var(--red); }
.cap-bar { height: 4px; background: rgba(255,255,255,.15); margin-top: 8px; }
.cap-bar i { display: block; height: 100%; background: var(--red); }
.voucher { display: grid; gap: 4px; padding: 14px 16px; border: 1px dashed var(--ink); background: var(--paper); }
.voucher b { font: 400 34px/1 var(--f-display); color: var(--red); }
.voucher span:last-child { font-size: 13px; }
.voucher .mono { font-size: 10px; color: var(--mute); }
.voucher.is-used { opacity: .5; }
.voucher.is-used b { color: var(--mute); text-decoration: line-through; }
.cart__row { display: flex; justify-content: space-between; font-size: 13px; color: var(--red); }

/* trang tài khoản */
.acct { padding-top: clamp(28px, 4vw, 56px); padding-bottom: 100px; display: grid; gap: 28px; }
.acct-h1 { margin: 6px 0; font: 400 clamp(46px, 7vw, 96px)/.88 var(--f-display); text-transform: uppercase; }
.acct-guest { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 6vw, 90px); align-items: start; }
.acct-guest__copy p { max-width: 380px; margin: 14px 0 22px; }
.acct-guest__copy .perks-mini { max-width: 380px; }
.acct-guest__form { border: 1px solid var(--line); background: #fff; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pts-card { background: var(--ink); color: #fff; padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; align-content: start; }
.pts-card__top { display: flex; justify-content: space-between; align-items: center; }
.tier-badge { padding: 5px 9px; background: var(--red); font: 700 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.pts-card__num { font: 400 clamp(64px, 9vw, 120px)/.9 var(--f-display); }
.pts-card__num small { font: 400 14px var(--f-mono); margin-left: 8px; opacity: .6; }
.pts-card__val { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.pts-card__val .money__usd { color: rgba(255,255,255,.5); }
.pts-card .mono.small { font-size: 10px; color: rgba(255,255,255,.7); margin: 0; }
.tier-bar { height: 4px; background: rgba(255,255,255,.15); margin-top: 8px; }
.tier-bar i { display: block; height: 100%; background: var(--red); }
.acct-box { border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; align-content: start; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tiers div { border: 1px solid var(--line); padding: 10px; display: grid; gap: 4px; font-size: 13px; }
.tiers div.on { border-color: var(--ink); background: var(--paper); }
.tiers .mono { font-size: 9px; color: var(--mute); }
.orders { display: grid; }
.order { display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.order:first-child { border-top: 0; padding-top: 0; }
.order > div:first-child { display: grid; gap: 4px; }
.order .mono { font-size: 10px; }
.order__items em { font-style: normal; color: var(--mute); font-size: 12px; }
.order__right { text-align: right; display: grid; gap: 4px; justify-items: end; }
.pts-plus { color: var(--red); font-size: 10px; }
.empty-box { display: grid; justify-items: start; gap: 12px; }
.empty-box p { margin: 0; }
.acct-profile { max-width: 460px; }
.acct-profile .btn { justify-self: start; }
@media (max-width: 860px) {
  .acct-guest, .acct-grid { grid-template-columns: 1fr; }
  .order { grid-template-columns: 1fr auto; }
  .order__items { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- CHECKOUT ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-top: clamp(20px, 3vw, 40px); padding-bottom: 100px; align-items: start; }
.co-back { font-size: 11px; color: var(--mute); }
.co-back:hover { color: var(--ink); }
.co-h1 { margin: 10px 0 14px; font: 400 clamp(46px, 6vw, 84px)/.9 var(--f-display); text-transform: uppercase; }
.co-acct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; background: var(--paper); font-size: 13px; margin-bottom: 8px; }
.co-acct svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.co-acct .link { font-weight: 600; }
#co-form { display: grid; }
.co-sec { display: grid; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.co-sec:last-child { border-bottom: 0; }
.co-sec h2 { margin: 0; display: flex; align-items: center; gap: 12px; font: 400 26px/1 var(--f-display); text-transform: uppercase; }
.co-sec h2 i { font: 700 11px/22px var(--f-mono); font-style: normal; width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: 50%; text-align: center; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-row--3 { grid-template-columns: 1.3fr 1fr 1fr; }
.field.is-err input { border-color: var(--red); }
.phone { display: flex; }
.phone input { flex: 1; min-width: 0; }
.phone__code { display: grid; place-items: center; min-width: 64px; padding: 0 12px; border: 1px solid var(--line-strong); border-right: 0; background: var(--paper); font: 700 15px var(--f-mono); }
.field.is-err .phone__code { border-color: var(--red); }
.field__msg { color: var(--red); font-size: 12px; }
.field textarea { padding: 12px 14px; border: 1px solid var(--line-strong); font: inherit; font-size: 15px; resize: vertical; outline: 0; border-radius: 0; }
.field textarea:focus { border-color: var(--ink); }
.field .select select { width: 100%; height: 50px; font: 400 16px var(--f-body); letter-spacing: 0; text-transform: none; border-color: var(--line-strong); background: #fff; }
.field .select svg { right: 14px; }
.opt-list { display: grid; border: 1px solid var(--line-strong); }
.opt-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; font-size: 14px; transition: background .15s; }
.opt-card + .opt-card { border-top: 1px solid var(--line); }
.opt-card:hover { background: var(--paper); }
.opt-card.on { background: var(--paper); box-shadow: inset 3px 0 0 var(--ink); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card__dot { width: 18px; height: 18px; flex: none; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; }
.opt-card.on .opt-card__dot { border-color: var(--ink); }
.opt-card.on .opt-card__dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.opt-card input:focus-visible + .opt-card__dot { outline: 2px solid var(--red); outline-offset: 2px; }
.opt-card__txt { flex: 1; display: grid; gap: 3px; }
.opt-card__txt small { color: var(--mute); font-size: 12px; }
.opt-card__right { font-weight: 600; white-space: nowrap; }
.co-place { height: 58px; }
.ship-note { margin: 0; padding: 10px 12px; background: var(--paper); border-left: 3px solid var(--ink); font-size: 13px; line-height: 1.5; }
.done .ship-note { margin-top: 10px; }
.co-legal { margin: 0; text-align: center; }
.co__side { position: sticky; top: calc(var(--hdr) + 20px); }
.co-sum { background: var(--paper); border: 1px solid var(--line); }
.co-sum__toggle { list-style: none; display: none; justify-content: space-between; align-items: center; padding: 16px 18px; cursor: pointer; font-weight: 600; }
.co-sum__toggle::-webkit-details-marker { display: none; }
.co-sum__toggle span { display: inline-flex; align-items: center; gap: 6px; }
.co-sum__toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s; }
.co-sum[open] .co-sum__toggle svg { transform: rotate(180deg); }
.co-sum__body { padding: 20px; display: grid; gap: 14px; }
.sum-lines { display: grid; gap: 12px; }
.sum-line { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; font-size: 13px; }
.sum-line > div:nth-child(2) { display: grid; gap: 3px; }
.sum-line .mono { font-size: 9px; }
.sum-line__img { position: relative; width: 58px; aspect-ratio: 4/5; border: 1px solid var(--line); background: #fff; }
.sum-line__img .ph { position: absolute; inset: 0; }
.sum-line__img .ph__label { display: none; }
.sum-line__img i { position: absolute; top: -7px; right: -7px; z-index: 6; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: #fff; font: 700 10px/20px var(--f-mono); font-style: normal; text-align: center; }
.sum-line__price { text-align: right; font-weight: 600; }
.sum-line__price .money { flex-direction: column; align-items: flex-end; gap: 2px; }
.sum-rows { display: grid; gap: 9px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.sum-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.sum-total { padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.sum-total > span:first-child { font: 400 22px/1 var(--f-display); text-transform: uppercase; }
.sum-total .money { font: 400 28px/1 var(--f-display); }
.sum-total .money__usd { font-size: 13px; }
.sum-earn { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sum-earn svg { width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 1.8; }
.co-empty, .done { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0 100px; display: grid; gap: 18px; }
.co-empty { justify-items: start; }
.done__head { display: grid; gap: 6px; justify-items: start; }
.done__check { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 8px; }
.done__head p { margin: 0; }
.done__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.done .acct-box p { margin: 0; font-size: 14px; line-height: 1.6; }
.qr { display: flex; gap: 16px; align-items: center; }
.qr__img, .qr__ph { width: 150px; height: 150px; flex: none; border: 1px solid var(--line); background: #fff; }
.qr__img { object-fit: contain; }
.qr__ph { display: grid; place-content: center; text-align: center; gap: 6px; padding: 12px; background: repeating-linear-gradient(45deg, var(--paper) 0 8px, #fff 8px 16px); }
.qr__ph .mono { font-size: 22px; font-weight: 700; }
.qr__ph small { font-size: 10px; color: var(--mute); }
.qr p { margin: 0 0 6px; }
.bank { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.bank dt { color: var(--mute); font: 400 11px/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }
.bank dd { margin: 0; }
.done__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .co { grid-template-columns: 1fr; gap: 0; }
  .co__side { position: static; order: -1; margin: 0 calc(var(--gutter) * -1) 8px; }
  .co-sum { border-left: 0; border-right: 0; }
  .co-sum__toggle { display: flex; }
}
@media (max-width: 560px) { .co-row, .co-row--3, .done__grid { grid-template-columns: 1fr; } }

/* Dừng animation khi phần tử nằm ngoài màn hình (JS gắn .is-off) */
.is-off, .is-off * { animation-play-state: paused !important; }
.marquee__track { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}
