/* =============================================================
   Daniel Teodor — prémiový minimalistický e-shop
   „Gallery of Light" — editorial, tmavé akcenty, mnoho prostoru
   ============================================================= */
:root {
  --bg: #f5f2ec;          /* teplý papír */
  --bg-2: #ece6db;
  --ink: #17140f;         /* teple černá */
  --ink-soft: #6c6457;
  --line: #ddd5c7;
  --accent: #9c7c4d;      /* mosaz */
  --accent-2: #b8975c;
  --accent-deep: #7d6238;
  --dark: #141009;        /* espresso sekce */
  --dark-2: #211a11;
  --cream: #ece4d6;       /* text na tmavém */
  --cream-soft: #a9a08e;
  --white: #fcfbf8;
  --shadow: 0 30px 80px -40px rgba(20, 16, 9, 0.55);
  --shadow-soft: 0 16px 44px -28px rgba(20, 16, 9, 0.4);
  --display: "Jost", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--white); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

/* labels */
.eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.eyebrow.on-dark { color: var(--accent); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
  padding: 17px 34px; border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  cursor: pointer; transition: all 0.35s var(--ease); border-radius: 0;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-light:hover { background: transparent; color: var(--cream); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-accent:hover { background: transparent; color: var(--accent); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; color: var(--ink); padding-bottom: 4px;
  border-bottom: 1px solid var(--accent); transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 16px; }
.link-arrow.on-dark { color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 242, 236, 0.82); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand-logo { height: 40px; width: auto; }
.nav-links { display: flex; gap: 40px; align-items: center; list-style: none; }
.nav-links a {
  position: relative; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500; transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--accent); transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.cart-link { display: inline-flex; align-items: center; gap: 7px; }
.cart-count {
  background: var(--accent); color: var(--white); font-size: 10px; min-width: 18px; height: 18px;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; letter-spacing: 0;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Hero (dark, cinematic) ---------- */
.hero {
  position: relative; background: var(--dark); color: var(--cream);
  min-height: 90vh; display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(1.05); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 75% 50%, rgba(20,16,9,0.1), rgba(20,16,9,0.85) 75%),
  linear-gradient(90deg, rgba(20,16,9,0.92) 0%, rgba(20,16,9,0.5) 55%, rgba(20,16,9,0.2) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 120px 0; max-width: 720px; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 300; letter-spacing: -0.02em; margin: 26px 0 28px; color: var(--white); }
.hero h1 em { font-style: italic; font-weight: 300; color: var(--accent); }
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--cream-soft); max-width: 50ch; font-weight: 300; }
.hero-actions { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--cream-soft); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 34px; background: var(--cream-soft); margin: 12px auto 0; opacity: 0.5; }

/* ---------- Marquee / strip ---------- */
.strip { background: var(--dark-2); color: var(--cream-soft); border-top: 1px solid rgba(255,255,255,0.06); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 56px; padding-top: 26px; padding-bottom: 26px; justify-content: center; }
.strip span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.strip span::before { content: "✦"; color: var(--accent); font-size: 9px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-sm { padding: 84px 0; }
.section.dark { background: var(--dark); color: var(--cream); }
.section.soft { background: var(--bg-2); }
.section.dark .section-head h2 { color: var(--white); }
.section.dark p { color: var(--cream-soft); }
.section-head { max-width: 60ch; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 300; margin: 16px 0 18px; letter-spacing: -0.02em; }
.section-head p { color: var(--ink-soft); font-size: 18px; font-weight: 300; }

/* ---------- Intro statement (big editorial text) ---------- */
.statement { font-family: var(--display); font-weight: 300; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.3; letter-spacing: -0.015em; max-width: 22ch; }
.statement em { font-style: italic; color: var(--accent); }

/* ---------- Feature rows (editorial) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 130px; }
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.05); }
.feature-media .tagnum { position: absolute; top: 22px; left: 22px; font-family: var(--display); font-size: 13px; letter-spacing: 0.2em; color: var(--white); background: rgba(20,16,9,0.55); padding: 7px 13px; backdrop-filter: blur(4px); }
.feature h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 300; margin: 14px 0 18px; }
.feature p { color: var(--ink-soft); font-size: 17px; font-weight: 300; margin-bottom: 16px; }
.section.dark .feature p { color: var(--cream-soft); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step .num { font-family: var(--display); font-size: 14px; letter-spacing: 0.2em; color: var(--accent); display: block; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section.dark .step .num { border-color: rgba(255,255,255,0.12); }
.step h3 { font-size: 23px; font-weight: 400; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15px; font-weight: 300; }
.section.dark .step p { color: var(--cream-soft); }

/* ---------- Collection grid (premium product cards) ---------- */
.collection { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 12px; }
.collection.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
.piece { position: relative; display: block; background: var(--bg-2); overflow: hidden; }
.piece-media { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.piece-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.piece:hover .piece-media img { transform: scale(1.06); }
.piece-tag { position: absolute; top: 16px; left: 16px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); background: rgba(20,16,9,0.5); padding: 6px 12px; backdrop-filter: blur(4px); }
.piece-overlay {
  position: absolute; inset: auto 0 0 0; padding: 64px 22px 22px; color: var(--cream);
  background: linear-gradient(transparent, rgba(20,16,9,0.86));
  transform: translateY(8px); opacity: 0; transition: all 0.45s var(--ease);
}
.piece:hover .piece-overlay { opacity: 1; transform: none; }
.piece-overlay .add { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.piece-body { padding: 22px 6px 30px; }
.piece-body .cat { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.piece-body h3 { font-size: 25px; font-weight: 400; margin: 8px 0 6px; letter-spacing: -0.01em; }
.piece-body .short { color: var(--ink-soft); font-size: 14px; font-weight: 300; min-height: 2.6em; }
.piece-body .price { font-family: var(--display); font-size: 20px; margin-top: 14px; letter-spacing: 0.01em; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 44px; }
.filter { background: none; border: 0; cursor: pointer; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding: 4px 0; position: relative; transition: color 0.25s; }
.filter::after { content: ""; position: absolute; left: 0; bottom: -19px; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease); }
.filter:hover { color: var(--ink); }
.filter.active { color: var(--ink); }
.filter.active::after { width: 100%; }

/* ---------- Product detail ---------- */
.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; padding-top: 36px; }
.detail-gallery { display: grid; gap: 12px; }
.detail-media { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; }
.detail-thumbs img { width: 84px; height: 84px; object-fit: cover; cursor: pointer; opacity: 0.6; transition: opacity 0.25s; }
.detail-thumbs img.active, .detail-thumbs img:hover { opacity: 1; }
.detail-info { position: sticky; top: 110px; }
.detail-info .cat { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.detail-info h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 300; margin: 14px 0 18px; letter-spacing: -0.02em; }
.detail-info .price { font-family: var(--display); font-size: 30px; display: block; margin-bottom: 8px; }
.detail-info .vat-note { font-size: 12px; color: var(--ink-soft); margin-bottom: 26px; }
.detail-info .desc { color: var(--ink-soft); font-size: 17px; font-weight: 300; margin-bottom: 30px; }
.detail-buy { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.detail-assurance { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--ink-soft); margin: 22px 0 28px; }
.detail-assurance span { display: inline-flex; align-items: center; gap: 8px; }
.detail-assurance span::before { content: "✦"; color: var(--accent); font-size: 9px; }
.detail-meta { border-top: 1px solid var(--line); padding-top: 24px; }
.detail-meta .pay-detail span:last-child { font-weight: 500; }
.breadcrumb { font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 6px; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- qty ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ink); }
.qty button { width: 46px; height: 52px; background: transparent; border: 0; cursor: pointer; font-size: 18px; color: var(--ink); }
.qty span { width: 40px; text-align: center; font-size: 15px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 100px; height: 120px; object-fit: cover; }
.cart-item h4 { font-family: var(--display); font-size: 23px; font-weight: 400; }
.cart-item .meta { color: var(--ink-soft); font-size: 13px; }
.remove { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font-size: 12px; text-decoration: underline; margin-top: 8px; }
.summary { background: var(--white); border: 1px solid var(--line); padding: 34px; position: sticky; top: 110px; }
.summary h3 { font-size: 26px; font-weight: 400; margin-bottom: 20px; }
.summary .row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); font-size: 14px; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; color: var(--ink); font-size: 17px; }
.summary .row.total span:last-child { font-family: var(--display); font-size: 26px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--sans); font-size: 15px; color: var(--ink); border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.check a { color: var(--accent); text-decoration: underline; }
.notice { background: var(--bg-2); border-left: 2px solid var(--accent); padding: 16px 20px; font-size: 14px; color: var(--ink-soft); margin: 20px 0; }
.notice strong { color: var(--ink); }
.empty { text-align: center; padding: 90px 0; color: var(--ink-soft); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; font-weight: 400; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; font-weight: 500; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; font-weight: 300; margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 12px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .meta-line { font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }

/* ---------- Pay details ---------- */
.pay-detail { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pay-detail span:first-child { color: var(--ink-soft); }
.pay-detail span:last-child { text-align: right; }
.confirm-box { background: var(--white); border: 1px solid var(--line); padding: 44px; max-width: 680px; margin: 0 auto; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--white); padding: 15px 26px; font-size: 14px; opacity: 0; pointer-events: none; transition: all 0.35s var(--ease); z-index: 300; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 24px; bottom: 24px; max-width: 380px; background: var(--dark); color: var(--cream); padding: 22px 24px; z-index: 250; box-shadow: var(--shadow); transform: translateY(150%); transition: transform 0.5s var(--ease); }
.cookie.show { transform: none; }
.cookie p { font-size: 13px; color: var(--cream-soft); margin-bottom: 14px; }
.cookie a { color: var(--accent); text-decoration: underline; }
.cookie .row { display: flex; gap: 10px; }
.cookie button { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 11px 18px; cursor: pointer; border: 1px solid var(--cream); background: transparent; color: var(--cream); }
.cookie button.primary { background: var(--cream); color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: 12px; max-width: 440px; margin-top: 22px; }
.newsletter input { flex: 1; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--cream); }
.newsletter input::placeholder { color: var(--cream-soft); }

/* ===========================================================
   ADMIN
   =========================================================== */
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.tab { background: none; border: 0; cursor: pointer; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); padding: 14px 18px; position: relative; }
.tab.active { color: var(--ink); }
.tab.active::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.admin-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.hint { font-size: 12px; color: var(--ink-soft); }
table.orders { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border: 1px solid var(--line); }
table.orders th, table.orders td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.orders th { background: var(--bg-2); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.badge { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge.new { background: #e8dcc8; color: var(--accent-deep); }
.badge.paid { background: #d8e6d4; color: #3f6b39; }
.badge.sent { background: #d3e0ec; color: #355a7a; }
.prod-row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prod-row img { width: 64px; height: 64px; object-fit: cover; }
.prod-row h4 { font-family: var(--display); font-size: 19px; font-weight: 500; }
.prod-row .meta { font-size: 12px; color: var(--ink-soft); }
.prod-row .price { font-family: var(--display); font-size: 17px; }
.prod-actions { display: flex; gap: 8px; }
.add-btn { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 16px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.add-btn:hover { background: var(--ink); color: var(--white); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(20,16,9,0.55); display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 200; overflow-y: auto; }
.modal-backdrop.open { display: flex; }
.modal { background: var(--white); max-width: 660px; width: 100%; padding: 36px; box-shadow: var(--shadow); }
.modal h3 { font-size: 28px; font-weight: 400; margin-bottom: 22px; }
.img-pick { display: flex; gap: 18px; align-items: center; }
.img-pick img { width: 90px; height: 90px; object-fit: cover; border: 1px solid var(--line); background: var(--bg-2); }
.content-edit { display: grid; gap: 20px; max-width: 780px; }
.content-edit .field label { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 600; }
.content-edit .hint { margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--cream-soft); padding: 88px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-family: var(--display); color: var(--white); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer .f-brand { font-family: var(--display); font-size: 26px; font-weight: 300; color: var(--white); text-transform: none; letter-spacing: 0; }
.site-footer p { font-size: 14px; max-width: 32ch; margin-top: 14px; }
.site-footer a { color: var(--cream-soft); transition: color 0.2s; font-size: 14px; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 11px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 56px; padding-top: 26px; font-size: 12px; color: #8c8473; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 960px) {
  .feature, .detail, .cart-layout, .steps { grid-template-columns: 1fr; }
  .feature { gap: 32px; }
  .feature + .feature { margin-top: 72px; }
  .feature.flip .feature-media { order: 0; }
  .steps { gap: 36px; }
  .collection { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .summary, .detail-info { position: static; }
  .section { padding: 80px 0; }
  .nav { height: 70px; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; background: var(--bg); flex-direction: column;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-135%); transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links li a { display: block; padding: 16px 0; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; padding: 8px; margin: -8px; }
}
@media (max-width: 620px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }
  .hero { min-height: 84vh; }
  .hero-inner { padding: 90px 0; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-actions .btn { justify-content: center; }
  .hero-actions .link-arrow { justify-content: center; }
  .collection { grid-template-columns: 1fr; gap: 16px; }
  .piece-media { aspect-ratio: 4/3; }
  .piece-overlay { opacity: 1; transform: none; padding: 48px 18px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .btn { padding: 16px 28px; }
  .filters { gap: 20px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .filter { white-space: nowrap; }
  .filter::after { bottom: -19px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item img { width: 80px; height: 96px; }
  .cart-item > div:last-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab { white-space: nowrap; }
  [data-orders] { overflow-x: auto; }
  table.orders { min-width: 680px; }
  .prod-row { grid-template-columns: 56px 1fr; row-gap: 8px; }
  .prod-row .price { grid-column: 2; }
  .prod-row .prod-actions { grid-column: 1 / -1; }
  .modal { padding: 24px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (max-width: 380px) {
  .brand-logo { height: 32px; }
}
