/* Tokens */
:root {
  --primary: #000000;
  --primary-dark: #000000;
  --primary-soft: #f1f1f1;
  --dark: #000000;
  --text: #4a4a4a;
  --muted: #6e6e6e;
  --light: #f4f3f1;
  --line: #e2e2e2;
  --white: #ffffff;
  --sale: #000000;
  --ok: #000000;
  --star: #000000;
  --head: "Sofia Sans", system-ui, sans-serif;
  --body: "Sofia Sans", system-ui, sans-serif;
  --radius: 0;
  --radius-sm: 0;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.2);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --pad: clamp(16px, 2vw, 28px);
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 58px; }
body { font-family: var(--body); color: var(--text); background: var(--white); font-size: 15.5px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: #000; }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 600; color: #000; line-height: 1.15; }
:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
[hidden] { display: none !important; }

/* Shared */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; background: #000; color: #fff; font-size: 14px; font-weight: 600; transition: background 0.2s, transform 0.15s; }
.btn:hover { background: #333; }
.btn:active { transform: scale(0.98); }
.btn--full { width: 100%; }
.btn--grow { flex: 1; }
.txt-btn { display: inline-flex; align-items: center; gap: 3px; font-size: 14px; color: #000; background: linear-gradient(#000, #000) left bottom / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.txt-btn:hover { background-size: 100% 1px; }
.count { font-weight: 500; }
.count::before { content: "("; }
.count::after { content: ")"; }
.count.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); } }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; font-size: 21px; color: #000; transition: background 0.2s; }
.icon-btn:hover { background: #f1f1f1; }
.link-btn { font-size: 14px; font-weight: 600; color: #000; text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { display: block; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.price { color: #000; font-size: 14.5px; font-weight: 500; }
.price del { margin-left: 6px; color: var(--muted); font-weight: 400; }
.card__brand { display: block; font-size: 12.5px; color: var(--muted); }
.flag { display: inline-block; padding: 1px 7px; background: #000; color: #fff; font-size: 12px; font-weight: 600; }
.flag--sale { background: #000; }
.stars { position: relative; display: inline-block; color: #d4d4d4; font-size: 12px; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.stars span { position: absolute; left: 0; top: 0; overflow: hidden; color: #000; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 600; color: #000; }
.field input, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid #bdbdbd; background: #fff; transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: #000; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }
.form-ok { display: flex; gap: 6px; margin-top: 12px; color: #000; font-size: 14px; font-weight: 600; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.header.sticky { border-color: var(--line); }
.header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 58px; padding-inline: var(--pad); }
.logo { font-size: 21px; font-weight: 700; letter-spacing: 0.26em; margin-right: -0.26em; color: #000; line-height: 1; }
.nav { display: flex; gap: 20px; }
.nav a { font-size: 14px; color: #000; background: linear-gradient(#000, #000) left bottom / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.nav a:hover { background-size: 100% 1px; }
.burger { display: none; }
.tools { display: flex; justify-content: flex-end; gap: 20px; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; height: calc(100vh - 58px); min-height: 560px; max-height: 920px; overflow: hidden; background: #e9e6e1; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.hero__text { position: relative; z-index: 1; width: min(520px, 42%); margin-left: clamp(24px, 6vw, 96px); color: #000; }
.hero__text > span { display: block; margin-bottom: 12px; font-size: 14px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.hero p { max-width: 400px; margin: 16px 0 26px; font-size: 17px; color: #222; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tag { position: absolute; z-index: 1; right: var(--pad); bottom: var(--pad); display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; background: #fff; color: #000; font-size: 14px; transition: background 0.2s, color 0.2s; }
.hero__tag:hover { background: #000; color: #fff; }
/* Opening: the photo settles in and the words follow, about a second */
.js .hero__media { opacity: 0; transform: scale(1.05); }
.js .ready .hero__media { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 1.3s var(--ease); }
.js .hero__text > *, .js .hero__tag { opacity: 0; transform: translateY(16px); }
.js .ready .hero__text > *, .js .ready .hero__tag { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background 0.2s, color 0.2s; }
.js .ready .hero__text > *:nth-child(1) { transition-delay: 0.25s; }
.js .ready .hero__text > *:nth-child(2) { transition-delay: 0.33s; }
.js .ready .hero__text > *:nth-child(3) { transition-delay: 0.41s; }
.js .ready .hero__text > *:nth-child(4) { transition-delay: 0.49s; }
.js .ready .hero__tag { transition-delay: 0.6s, 0.6s, 0s, 0s; }

/* Statement */
.statement { padding: clamp(60px, 8vw, 110px) var(--pad); }
.statement p { max-width: 900px; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.22; letter-spacing: -0.015em; color: #000; }
.statement a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.statement a:hover { text-decoration-thickness: 2px; }

/* Product wall */
.bar { position: sticky; top: 58px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px var(--pad); background: #fff; border-block: 1px solid var(--line); }
.tabs { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar, .tabs__line { display: none; }
.tab { flex: none; font-size: 14px; color: var(--muted); transition: color 0.2s; }
.tab small { display: none; }
.tab:hover { color: #000; }
.tab.on { color: #000; text-decoration: underline; text-underline-offset: 5px; }
.bar__end { flex: none; display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 4px; color: #000; }
.sort select { border: 0; background: transparent; font-size: 14px; cursor: pointer; max-width: 150px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px var(--pad) 0; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; background: #f1f1f1; color: #000; font-size: 13px; transition: background 0.2s; }
.chip:hover { background: #e2e2e2; }
.chip--clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.chip--clear:hover { background: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 2px; padding-top: 2px; }
.card { min-width: 0; animation: cardIn 0.6s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
.card.still { animation: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--light); }
.card__open { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s, transform 1s var(--ease); }
.card__img2 { opacity: 0; }
.card__flags { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; pointer-events: none; }
.save { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; display: grid; place-items: center; background: #fff; font-size: 17px; color: #000; transition: transform 0.2s var(--ease); }
.save:hover { transform: scale(1.15); }
.save:active { transform: scale(0.9); }
.pick { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: #fff; transform: translateY(101%); transition: transform 0.35s var(--ease); }
.pick small { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--muted); }
.pick__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.pick__sizes button { min-width: 36px; height: 32px; padding: 0 6px; border: 1px solid #cfcfcf; font-size: 13px; color: #000; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.pick__sizes button:hover { background: #000; border-color: #000; color: #fff; }
.pick .btn { width: 100%; min-height: 36px; }
.card__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; padding: 9px var(--pad) 0 10px; }
.card__info h3 { font-family: var(--body); font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.card__info h3 button { text-align: left; font: inherit; color: #000; }
.card__info h3 button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__info .price { white-space: nowrap; text-align: right; }
.card__info .price del { display: block; margin: 0; font-size: 12.5px; }
.card__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.dots { display: flex; gap: 5px; }
.dot { position: relative; width: 13px; height: 13px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, 0.25); }
.card__add { display: none; position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; place-items: center; background: #000; color: #fff; font-size: 19px; }
@media (hover: hover) {
  .card:hover .card__img2 { opacity: 1; }
  .card:hover .pick, .pick:focus-within { transform: none; }
}
@media (hover: none) {
  .pick { display: none; }
  .card__add { display: grid; }
}
.empty { grid-column: 1 / -1; padding: 70px 20px; text-align: center; }
.empty h3 { font-size: 22px; margin-bottom: 4px; }
.empty .btn { margin-top: 16px; }
.more { width: 260px; margin: 54px auto 0; padding-bottom: 80px; text-align: center; font-size: 13.5px; }
.more__bar { height: 1px; margin: 8px 0 18px; background: var(--line); }
.more__bar span { display: block; height: 1px; background: #000; transition: width 0.5s var(--ease); }

/* Looks */
.look { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; background: var(--light); }
.look--flip { grid-template-columns: 1fr 1.25fr; }
.look--flip .look__img { order: 2; }
.look__img { height: clamp(520px, 90vh, 860px); overflow: hidden; }
.look__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.4s var(--ease); }
.look:hover .look__img img { transform: scale(1.025); }
.look__body { padding: clamp(32px, 5vw, 80px); }
.look__body h2 { font-size: clamp(30px, 3.4vw, 50px); letter-spacing: -0.02em; }
.look__body > p { max-width: 420px; margin: 12px 0 22px; font-size: 16.5px; }
.look__list { border-top: 1px solid #cfcdc8; }
.lk { display: grid; grid-template-columns: 56px 1fr 40px; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid #cfcdc8; }
.lk__img { width: 56px; height: 70px; overflow: hidden; background: #fff; }
.lk__img img { width: 100%; height: 100%; object-fit: cover; }
.lk__name { text-align: left; font-size: 14.5px; font-weight: 500; color: #000; }
.lk__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.lk__name small { display: block; font-size: 13.5px; font-weight: 400; color: var(--text); }
.lk__add { width: 40px; height: 40px; display: grid; place-items: center; background: #000; color: #fff; font-size: 20px; transition: background 0.2s, transform 0.15s; }
.lk__add:hover { background: #333; }
.lk__add:active { transform: scale(0.92); }

/* Sale bar */
.salebar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 28px; padding: 16px var(--pad); background: #000; color: #fff; font-size: 15.5px; }
.salebar strong { font-weight: 700; }
.salebar__time { display: flex; gap: 12px; font-variant-numeric: tabular-nums; }
.salebar__time b { font-weight: 700; font-size: 18px; }
.salebar a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Reviews */
.words { display: grid; grid-template-columns: 0.8fr repeat(3, 1fr); gap: 34px; padding: clamp(60px, 7vw, 100px) var(--pad); }
.words__head strong { display: block; font-size: clamp(42px, 5vw, 70px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #000; }
.words__head strong span { font-size: 0.4em; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.words__head p { margin-top: 8px; font-size: 14px; }
.words blockquote { font-size: 18px; line-height: 1.35; color: #000; }
.words blockquote:nth-of-type(2) { transition-delay: 90ms; }
.words blockquote:nth-of-type(3) { transition-delay: 180ms; }
.words cite { display: block; margin-top: 12px; font-size: 13.5px; font-style: normal; color: var(--muted); }

/* Journal */
.story { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 0 var(--pad) clamp(60px, 7vw, 100px); }
.story__lead { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--light); }
.story__lead img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__lead:hover img { transform: scale(1.03); }
.story__list button { display: block; width: 100%; padding: 16px 0; text-align: left; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -0.01em; color: #000; border-top: 1px solid var(--line); transition: padding 0.3s var(--ease); }
.story__list button:hover { padding-left: 8px; }
.story__list small { display: block; margin-bottom: 3px; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.article { padding: 26px 34px 34px; }
.article__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article h2 { font-size: 30px; letter-spacing: -0.015em; margin-bottom: 12px; }
.article p { margin-bottom: 12px; }

/* Customer care */
.care { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 64px); padding: clamp(50px, 6vw, 84px) var(--pad); border-top: 1px solid var(--line); }
.care h2 { margin-bottom: 18px; font-size: 22px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; text-align: left; font-size: 16px; color: #000; }
.faq__item i { flex: none; transition: transform 0.3s var(--ease); }
.faq__item.open i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { max-width: 640px; padding-bottom: 16px; font-size: 14.5px; }
.care__visit p { margin-bottom: 14px; color: #000; }
.care__visit a:hover { text-decoration: underline; text-underline-offset: 3px; }
.open-pill { margin-left: 4px; font-size: 12.5px; font-weight: 500; color: var(--muted); }

/* Footer */
.footer { background: var(--light); font-size: 14px; color: #000; }
.footer__perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px var(--pad); border-bottom: 1px solid #d9d7d2; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 44px var(--pad); }
.footer h4 { margin-bottom: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.footer__grid > div > a { display: block; padding: 2px 0; }
.footer__grid > div > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.news label { display: block; max-width: 340px; margin-bottom: 10px; font-size: 16px; line-height: 1.3; }
.news > div { display: flex; max-width: 400px; }
.news input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #000; border-right: 0; background: #fff; }
.news input:focus { outline: 0; }
.news p { margin-top: 8px; font-weight: 600; }
.footer__end { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 16px var(--pad); border-top: 1px solid #d9d7d2; }
.footer__end .logo { font-size: 17px; }
.pay { display: flex; gap: 10px; font-size: 22px; }
.to-top { position: fixed; z-index: 40; right: 16px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; background: #000; color: #fff; font-size: 19px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }

/* Overlays */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.45); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; z-index: 70; right: 0; top: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--white); transform: translateX(102%); visibility: hidden; transition: transform 0.42s var(--ease), visibility 0.42s; box-shadow: var(--shadow-lg); }
.drawer--left { right: auto; left: 0; width: min(340px, 88%); transform: translateX(-102%); }
.drawer.open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 24px; font-weight: 800; }
.drawer__head small { font-size: 16px; font-weight: 600; color: var(--muted); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 14px 24px 20px; border-top: 1px solid var(--line); }
.drawer__foot:empty { display: none; }
.drawer__empty { height: 100%; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.drawer__empty i { font-size: 40px; color: var(--primary); }
.drawer__empty h4 { font-size: 21px; }
.drawer__empty .btn { margin-top: 12px; }
.drawer__note { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--muted); }
.mnav { overflow-y: auto; padding: 8px 12px; }
.mnav a { display: block; padding: 11px 12px; font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--dark); border-radius: 0; }
.mnav a:hover { background: var(--primary-soft); color: var(--primary); }
.mnav__sale { color: var(--sale) !important; }
.ship { padding: 12px 24px; background: var(--primary-soft); font-size: 13.5px; color: var(--dark); }
.ship i { color: var(--ok); }
.ship__bar { height: 5px; margin-top: 7px; background: rgba(0, 0, 0, 0.2); border-radius: 0; overflow: hidden; }
.ship__bar span { display: block; height: 100%; background: var(--primary); border-radius: 0; transition: width 0.5s var(--ease); }
.line { position: relative; display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); animation: cardIn 0.4s var(--ease) both; }
.line:last-child { border-bottom: 0; }
.line__img { flex: none; width: 86px; height: 108px; border-radius: 0; overflow: hidden; background: var(--light); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { flex: 1; min-width: 0; padding-right: 26px; }
.line__info h4 { font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.line__info p { font-size: 13px; margin-top: 2px; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.line__price { color: var(--dark); }
.line__rm { position: absolute; right: 0; top: 13px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: background 0.2s, color 0.2s; }
.line__rm:hover { background: #f1f1f1; color: var(--sale); }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: 0; flex: none; }
.qty button { width: 40px; height: 100%; display: grid; place-items: center; color: var(--dark); transition: color 0.2s; }
.qty button:hover { color: var(--primary); }
.qty b { min-width: 20px; text-align: center; color: var(--dark); }
.qty--sm { height: 34px; }
.qty--sm button { width: 30px; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; text-transform: uppercase; font-size: 13.5px; }
.promo input::placeholder { text-transform: none; }
.promo input:focus { outline: 0; border-color: var(--primary); }
.promo button { padding: 0 18px; border: 1px solid var(--dark); border-radius: 0; font-weight: 600; font-size: 13.5px; color: var(--dark); transition: background 0.2s, color 0.2s; }
.promo button:hover { background: var(--dark); color: var(--white); }
.promo__msg { font-size: 12.5px; color: var(--sale); min-height: 16px; margin-top: 3px; }
.sum { margin: 6px 0 14px; font-size: 14.5px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.sum dd { color: var(--dark); font-weight: 600; }
.sum__disc dt, .sum__disc dd { color: var(--ok); }
.sum__total { margin-top: 6px; padding-top: 10px !important; border-top: 1px solid var(--line); font-size: 18px; font-family: var(--head); font-weight: 800; color: var(--dark); }
.sum__total dd { font-weight: 800; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(720px, 100%); max-height: 100%; overflow-y: auto; background: var(--white); border-radius: 0; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(0.98); transition: transform 0.38s var(--ease); }
.modal.open .modal__box { transform: none; }
.modal__box--wide { width: min(1080px, 100%); }
.modal__box--small { width: min(440px, 100%); }
.modal__close { position: sticky; float: right; top: 10px; margin: 10px 10px -54px 0; z-index: 4; background: var(--white); }
.modal__close--float { box-shadow: var(--shadow); }
.account { padding: 36px 32px 32px; }
.account h3 { font-size: 28px; font-weight: 800; }
.account > p { margin: 5px 0 20px; font-size: 14.5px; }

/* Search */
.search { position: fixed; z-index: 70; left: 0; right: 0; top: 0; max-height: 100%; overflow-y: auto; padding: 22px 0 28px; background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-102%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s; }
.search.open { transform: none; visibility: visible; }
.search__form { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--dark); font-size: 24px; }
.search__form > i { color: var(--muted); }
.search__form input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-family: var(--head); font-size: clamp(20px, 3vw, 30px); font-weight: 700; }
.search__popular { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; font-size: 14px; }
.search__popular button { padding: 5px 13px; border-radius: 0; background: var(--light); font-weight: 500; transition: background 0.2s, color 0.2s; }
.search__popular button:hover { background: var(--primary-soft); color: var(--primary); }
.search__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.hit { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 0; text-align: left; font-size: 14.5px; font-weight: 600; color: var(--dark); transition: background 0.2s; }
.hit:hover { background: var(--light); }
.hit img { width: 58px; height: 72px; flex: none; object-fit: cover; border-radius: 0; }
.hit small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.hit b { display: block; margin-top: 2px; font-weight: 700; }
.search__all { display: block; margin-top: 12px; }
.search__none { margin-top: 18px; }

/* Checkout */
.co { display: grid; grid-template-columns: 1.3fr 1fr; }
.co__form { padding: 34px 34px 28px; }
.co__form h2 { font-size: 32px; font-weight: 800; margin-right: 44px; }
.co__form h4 { font-size: 17px; font-weight: 800; margin: 22px 0 10px; }
.radio { display: flex; align-items: center; gap: 11px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 0; font-size: 14px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.radio:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.radio input { accent-color: var(--primary); width: 17px; height: 17px; flex: none; }
.radio span { flex: 1; }
.radio b { display: block; color: var(--dark); }
.radio em { font-style: normal; font-weight: 700; color: var(--dark); font-size: 15px; }
.co__form .btn { margin-top: 12px; }
.co__sum { padding: 34px 28px; background: var(--light); }
.co__sum h4 { font-size: 20px; font-weight: 800; margin: 0 40px 14px 0; }
.co__line { display: flex; gap: 11px; align-items: center; padding: 9px 0; font-size: 13.5px; }
.co__line img { width: 52px; height: 64px; object-fit: cover; border-radius: 0; flex: none; }
.co__line div { flex: 1; min-width: 0; }
.co__line h5 { font-size: 15px; font-weight: 700; }
.co__line p { font-size: 12.5px; }
.co__line b { color: var(--dark); }
.co__lines { border-bottom: 1px solid var(--line); margin-bottom: 12px; padding-bottom: 6px; }
.done { padding: 70px 30px; text-align: center; max-width: 560px; margin: auto; }
.done__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--primary); color: var(--white); font-size: 36px; animation: pop 0.6s var(--ease); margin-bottom: 18px; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } }
.done h2 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.done p { margin-bottom: 6px; }
.done b { color: var(--dark); }
.done .btn { margin-top: 18px; }



/* Overlay design */
.fbody { padding-top: 16px; }
.fgroup { margin-top: 18px; }
.fgroup h4 { margin-bottom: 8px; font-family: var(--body); font-size: 13.5px; font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; padding: 3px; }
.swatch { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.swatch:hover { transform: scale(1.1); }
.swatch.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #000; }
.opts { display: flex; flex-wrap: wrap; gap: 5px; }
.opt { padding: 5px 11px; border: 1px solid #cfcfcf; font-size: 13.5px; color: #000; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.opt:hover { border-color: #000; }
.opt.on { background: #000; border-color: #000; color: #fff; }
.drawer__head h3, .account h3, .co__form h2, .done h2 { font-weight: 600; letter-spacing: -0.01em; }
.line__info h4 { font-family: var(--body); font-size: 14.5px; font-weight: 500; }

/* Product view: a full page sheet with stacked photos */
#qv { padding: 0; }
#qv .modal__box { width: 100%; height: 100%; max-height: 100%; box-shadow: none; }
#qv .modal__close { position: fixed; top: 10px; right: 12px; margin: 0; float: none; z-index: 5; }
.pv { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.pv__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pv__photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--light); }
.pv__photos img:first-child:last-child { grid-column: 1 / -1; }
.pv__photos img:nth-child(3):last-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.pv__info { position: sticky; top: 0; padding: clamp(44px, 6vw, 80px) clamp(20px, 4vw, 56px) 30px; }
.pv__info h2 { margin: 3px 0 6px; font-size: clamp(25px, 2.4vw, 34px); letter-spacing: -0.015em; }
.pv__rate { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.pv__price { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 18px; color: #000; }
.pv__price del { color: var(--muted); font-size: 15px; }
.pv__desc { margin: 14px 0 18px; }
.pv__opt { margin-bottom: 16px; }
.pv__opt h4 { margin-bottom: 7px; font-family: var(--body); font-size: 13.5px; font-weight: 600; }
.pv__opt h4 span { font-weight: 400; color: var(--text); }
.pv__opt.need h4 span { color: #000; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.size { min-width: 46px; height: 42px; padding: 0 10px; border: 1px solid #cfcfcf; font-size: 14px; color: #000; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.size:hover { border-color: #000; }
.size.on { background: #000; border-color: #000; color: #fff; }
.pv__opt.need .size { border-color: #000; }
.pv__buy { display: flex; gap: 6px; }
.pv__buy .btn { min-height: 50px; }
.pv__save { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #000; font-size: 20px; color: #000; }
.pv__meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.pv__meta li { padding: 2px 0; }
.pv__meta li:first-child { color: #000; }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .words { grid-template-columns: repeat(3, 1fr); }
  .words__head { grid-column: 1 / -1; }
  .footer__perks { grid-template-columns: 1fr 1fr; }
  .bar { flex-wrap: wrap; }
  .tabs { width: 100%; }
  .bar__end { width: 100%; justify-content: space-between; }
}
@media (max-width: 1240px) {
  .hero__text { width: 300px; margin-left: clamp(24px, 4vw, 56px); }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
}
@media (max-width: 900px) {
  .hero { display: block; height: auto; max-height: none; min-height: 0; background: #fff; }
  .hero__media { position: relative; height: min(112vw, 620px); }
  .hero__media img { object-position: 74% 20%; }
  .hero__text { width: auto; margin: 0; padding: 24px var(--pad) 30px; }
  .hero h1 { font-size: 38px; }
  .hero p { max-width: 460px; margin: 10px 0 18px; }
  .hero__tag { top: calc(min(112vw, 620px) - 52px); bottom: auto; right: 10px; }
  .nav a { display: none; }
  .burger { display: inline-flex; }
  .look, .look--flip { grid-template-columns: 1fr; }
  .look--flip .look__img { order: 0; }
  .look__img { height: 110vw; max-height: 720px; }
  .story, .care { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .news { grid-column: 1 / -1; }
  .pv { grid-template-columns: 1fr; }
  .pv__photos { grid-template-columns: repeat(2, 72%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .pv__photos img, .pv__photos img:nth-child(3):last-child { grid-column: auto; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .pv__info { position: static; padding-top: 20px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .tools { gap: 14px; }
  .logo { font-size: 18px; }
  .hero h1 { font-size: 36px; }
  .hero__btns .btn { flex: 1; }
  .hero__btns .btn { flex: 1; }
  .bar { position: static; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 2px; }
  .card__info { grid-template-columns: 1fr; padding-right: 8px; padding-left: 8px; }
  .card__info .price { text-align: left; }
  .card__info .price del { display: inline; margin-left: 5px; }
  .salebar { justify-content: flex-start; }
  .salebar p { width: 100%; }
  .words { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; gap: 0; }
  .modal { padding: 0; align-items: flex-end; }
  .article { padding: 20px; }
  .search__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
}
