/* ============================================================
   NOVA STORE — neo-brutalist design system
   ============================================================ */

@font-face {
  font-family: 'YekanBakh';
  src: url('/fonts/yekanbakh-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('/fonts/yekanbakh-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('/fonts/yekanbakh-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('/fonts/yekanbakh-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('/fonts/yekanbakh-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200D, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/space-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/space-mono-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #141412;
  --ink-soft: #2e2e29;
  --paper: #fbf4e6;
  --paper-2: #f3ead6;
  --white: #fffbf2;

  --pink: #ff5c8a;
  --blue: #3a5bff;
  --yellow: #ffd43b;
  --mint: #86e6a8;
  --orange: #ff7a45;
  --lavender: #cbb9ff;
  --lime: #d2f26b;
  --cream: #ffe9b8;
  --red: #ff3b30;

  --bw: 2px;
  --shadow-sm: 2px 2px 0 var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);

  --r-sm: 6px;
  --r: 12px;
  --r-lg: 16px;

  --font: 'YekanBakh', 'Space Grotesk', 'Segoe UI', Tahoma, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --display: 'Space Grotesk', 'YekanBakh', sans-serif;

  --header-h: 88px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }

/* colour-block tones used by cards, art panels and icons */
.tone-pink { --tone: var(--pink); }
.tone-blue { --tone: var(--blue); }
.tone-yellow { --tone: var(--yellow); }
.tone-mint { --tone: var(--mint); }
.tone-orange { --tone: var(--orange); }
.tone-lavender { --tone: var(--lavender); }
.tone-lime { --tone: var(--lime); }
.tone-cream { --tone: var(--cream); }
.tone-white { --tone: var(--white); }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--ink); }

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: 0.85em; direction: ltr; unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.ic { display: inline-block; vertical-align: -0.16em; flex-shrink: 0; }
.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-block-start: -80px; inset-inline-start: 16px; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border: var(--bw) solid var(--ink);
  border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { inset-block-start: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 80;
  background: var(--paper);
  padding: 14px 26px 10px;
}
.header-inner {
  position: relative;
  max-width: var(--wrap); margin: 0 auto; padding: 0 22px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #ffffff;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 24px -16px rgba(20, 20, 18, 0.55);
}
.header-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-center { position: absolute; left: 50%; transform: translateX(-50%); }
.brand-center .brand-word { font-size: 1.55rem; letter-spacing: 0.04em; -webkit-text-stroke: 0.7px var(--ink); }
.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border: var(--bw) solid var(--ink); border-radius: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.brand:hover .brand-mark { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.brand-word {
  font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: -0.04em; line-height: 1;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 11px; border: 0; border-radius: 999px;
  font-size: 0.88rem; font-weight: 700; color: var(--ink);
  transition: 0.12s;
}
.main-nav a:hover { background: var(--paper); }
.main-nav a.is-active {
  background: transparent; color: var(--ink);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
}

.header-actions { display: flex; align-items: center; gap: 4px; }
.site-header .icon-btn {
  width: 40px; min-width: 40px; height: 40px; padding: 0;
  background: transparent; border-color: transparent; border-radius: 50%;
}
.site-header .icon-btn:hover { background: var(--paper); }
.site-header .icon-btn:active { background: var(--paper-2); }
.site-header .cart-btn {
  background: transparent; color: var(--ink); border-color: transparent;
  height: 40px; padding: 0 8px;
}
.site-header .cart-btn:hover { background: var(--paper); }
.header-actions .cart-label { display: none; }

.account-wrap, .search-wrap { position: static; }
.account-menu, .search-pop {
  position: absolute; inset-block-start: calc(100% + 10px); inset-inline-end: 0; z-index: 90;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.account-menu[hidden], .search-pop[hidden] { display: none; }
.account-menu {
  min-width: 210px; padding: 7px; display: flex; flex-direction: column; gap: 2px;
}
.account-menu a {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px;
  border-radius: 7px; font-weight: 700; font-size: 0.84rem;
}
.account-menu a:hover { background: var(--paper); }
.search-pop { display: flex; gap: 8px; width: min(340px, calc(100vw - 36px)); padding: 9px; }
.search-pop .input { height: 40px; min-width: 0; }
.icon-btn {
  height: 42px; min-width: 42px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 8px;
  font-weight: 700; font-size: 0.82rem; cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn:active { background: var(--paper-2); }
.menu-btn { display: none; }

.cart-btn {
  position: relative; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper); border: var(--bw) solid var(--ink); border-radius: 8px;
  font-weight: 800; font-size: 0.85rem; cursor: pointer;
  transition: background 0.12s;
}
.cart-btn:hover { background: var(--ink-soft); }
.cart-btn:active { background: var(--ink-soft); }
.cart-count {
  position: absolute; inset-block-start: -3px; inset-inline-start: -2px;
  min-width: 19px; height: 19px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--pink); color: #fff; border: 2px solid #fff; border-radius: 999px;
  font-family: var(--mono); font-size: 0.6rem; font-weight: 700;
}
.cart-count[hidden] { display: none; }

.mobile-nav {
  display: none; position: sticky; inset-block-start: var(--header-h); z-index: 79;
  padding: 14px 20px 18px; gap: 8px; flex-wrap: wrap;
  background: #ffffff; border-block-end: var(--bw) solid var(--ink);
}
.mobile-nav a {
  padding: 10px 16px; border: var(--bw) solid var(--ink); border-radius: 9px;
  background: var(--white); font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow-sm);
}
.mobile-nav a.is-active { background: var(--ink); color: var(--paper); }

/* ---------------- typography helpers ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border: var(--bw) solid var(--ink); border-radius: 999px;
  background: var(--white); font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.05em; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--ink); }
.lead { font-size: 1.06rem; color: var(--ink-soft); max-width: 48ch; }
.muted { color: #5c5a50; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border: var(--bw) solid var(--ink); border-radius: 10px;
  background: var(--white); color: var(--ink);
  font-weight: 800; font-size: 0.9rem; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--ink-soft); }
.btn.pink { background: var(--pink); }
.btn.yellow { background: var(--yellow); }
.btn.mint { background: var(--mint); }
.btn.blue { background: var(--blue); color: var(--paper); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 14px 24px; font-size: 1rem; border-radius: 12px; }
.btn.sm { padding: 7px 12px; font-size: 0.8rem; box-shadow: 2px 2px 0 var(--ink); }
.btn.full { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }
.btn .ic { transition: transform 0.15s; }
.btn:hover .ic.arrow { transform: translateX(-3px); }

/* ---------------- stickers & chips ---------------- */
/* one fixed tag colour for every status badge: flat ink, no tilt */
.sticker {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border: 1.5px solid var(--ink); border-radius: 5px;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 0.62rem;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap;
}

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border: var(--bw) solid var(--ink); border-radius: 999px;
  background: var(--white); font-size: 0.84rem; font-weight: 700; cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.chip:hover { background: var(--yellow); transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); }

/* ---------------- hero ---------------- */
.hero {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 46px; align-items: center;
  padding-block: 58px 46px; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset-block: 0; left: 50%;
  width: 100vw; transform: translateX(-50%);
  background-image: radial-gradient(rgba(20, 20, 18, 0.16) 1.1px, transparent 1.1px);
  background-size: 20px 20px;
  opacity: 0.5; z-index: -1;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, #000 30%, transparent 75%);
}
.hero h1 { margin-block: 16px 18px; }
.hero .lead { margin-block-end: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-block-end: 34px; }

.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 108px; padding: 12px 14px;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.stat b {
  display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em;
}
.stat span { font-family: var(--mono); font-size: 0.62rem; color: #5c5a50; letter-spacing: 0.03em; }

.hero-stage { display: flex; flex-direction: column; justify-content: flex-end; min-height: 490px; padding-block-end: 40px; }
.hc-main {
  flex: 0 0 auto;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.hc-art {
  flex: 0 0 auto; overflow: hidden;
  background: color-mix(in srgb, var(--tone, var(--pink)) 45%, var(--paper));
  border-block-end: var(--bw) solid var(--ink);
  display: grid; place-items: center; padding: 18px;
}
.hc-art .product-art { width: 78%; max-height: 230px; }
.hc-art .hero-illustration {
  width: 100%; height: auto; max-height: 320px;
  object-fit: contain; object-position: center;
  display: block;
}
.hc-body { padding: 14px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hc-body strong { font-size: 1.02rem; font-weight: 800; display: block; line-height: 1.3; }
.hc-body small { font-family: var(--mono); font-size: 0.62rem; color: #5c5a50; }
.hc-price {
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 6px;
  padding: 4px 9px; font-weight: 800; font-size: 0.8rem; white-space: nowrap;
}
/* ---------------- sections ---------------- */
.section { padding-block: 60px; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-block-end: 26px;
}
.section-head h2 { margin: 0; }
.section-head .sh-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sec-index {
  width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 8px;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
}
.sec-note { font-family: var(--mono); font-size: 0.66rem; color: #5c5a50; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.88rem;
  border-block-end: 2px solid var(--ink); padding-block-end: 2px;
}
.link-arrow:hover { color: var(--blue); border-color: var(--blue); }

/* ---------------- product grid ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* the demo catalog has six items: 3 + 3 reads better than 4 + 2 */
@media (min-width: 1081px) {
  .catalog-page .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.p-card {
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform 0.16s, box-shadow 0.16s;
}
.p-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.p-card:active { transform: translate(1px, 1px); box-shadow: var(--shadow-sm); }
.p-art {
  position: relative; aspect-ratio: 4 / 3.2; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone, var(--yellow)) 42%, var(--paper));
  border-block-end: var(--bw) solid var(--ink); padding: 16px;
}
.p-art .product-art { width: 88%; height: auto; }
.p-art .sticker { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; }
.p-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.p-meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 0.6rem; color: #6b685c; }
.p-name { font-size: 0.98rem; font-weight: 800; margin: 0; line-height: 1.45; }
.p-rating { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: #5c5a50; }
.stars { display: inline-flex; gap: 1px; color: #cfc6b2; }
.stars .on { color: var(--ink); }
.p-foot { margin-block-start: auto; padding-block-start: 9px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.p-price { font-weight: 800; font-size: 0.94rem; line-height: 1.4; }
.p-price span { font-family: var(--mono); font-size: 0.6rem; font-weight: 400; color: #6b685c; }
.p-price s { display: block; font-size: 0.68rem; font-weight: 400; color: #8a8576; }
.add-btn {
  width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border: var(--bw) solid var(--ink);
  border-radius: 9px; cursor: pointer; transition: 0.14s;
}
.add-btn:hover { background: var(--ink-soft); color: var(--paper); }

/* ---------------- features / manifesto ---------------- */
.manifesto {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding-block: 20px 60px;
}
.feature {
  display: flex; gap: 14px; align-items: center;
  padding: 20px; background: var(--white);
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.feature .fi {
  width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone, var(--yellow)) 30%, var(--paper));
  border: var(--bw) solid var(--ink); border-radius: 10px;
}
.feature h3 { margin: 0 0 2px; font-size: 1rem; }
.feature p { margin: 0; font-size: 0.84rem; color: #5c5a50; line-height: 1.65; }

/* ---------------- newsletter ---------------- */
.newsletter {
  margin-block: 10px 64px; padding: 38px;
  background: var(--ink); color: var(--paper);
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.newsletter::after {
  content: ""; position: absolute; inset-block-end: -70px; inset-inline-start: -50px;
  width: 180px; height: 180px; pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.08); border-radius: 50%;
  box-shadow: inset 0 0 0 30px rgba(255, 255, 255, 0.03);
}
.newsletter h3 { font-size: 1.7rem; margin-block-end: 4px; color: var(--white); }
.newsletter p { margin: 0; color: #b9b3a3; font-size: 0.88rem; }
.newsletter p code { color: var(--yellow); }
.newsletter form { display: flex; gap: 10px; flex: 1; min-width: 290px; max-width: 470px; }
.newsletter .input { background: var(--paper); color: var(--ink); }

/* ---------------- forms ---------------- */
.input, .select, .textarea {
  width: 100%; padding: 11px 14px;
  background: var(--white); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: 10px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.input::placeholder, .textarea::placeholder { color: #8a8576; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; box-shadow: 4px 4px 0 var(--blue);
}
.select { cursor: pointer; appearance: none; padding-inline-end: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(0% + 16px) 52%, calc(0% + 21px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.textarea { resize: vertical; min-height: 118px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > label { font-size: 0.8rem; font-weight: 700; }
.field .err { display: none; color: var(--red); font-size: 0.72rem; font-weight: 700; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }

/* ---------------- page heads ---------------- */
.page { padding-block: 34px 74px; animation: fadeUp 0.35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.page-head { margin-block-end: 26px; }
.breadcrumb {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.66rem; color: #6b685c; margin-block-end: 12px;
}
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb .sep { color: #a8a190; }
.page-head h1 { margin-block-end: 6px; }
.page-head p { color: #5c5a50; margin: 0; }

/* ---------------- product detail ---------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: start; }
.pdp-art {
  position: relative;
  background: color-mix(in srgb, var(--tone, var(--yellow)) 38%, var(--paper));
  border: var(--bw) solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 34px;
  display: grid; place-items: center; min-height: 420px;
}
.pdp-art .product-art { width: 86%; max-height: 340px; }
.pdp-art .sticker { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; font-size: 0.68rem; padding: 4px 10px; }
.pdp-note {
  position: absolute; inset-block-end: 14px; inset-inline-end: 16px;
  font-family: var(--mono); font-size: 0.6rem; color: rgba(20,20,18,.65);
}
.pdp-info .p-meta { font-size: 0.68rem; margin-block-end: 8px; }
.pdp-info h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-block-end: 6px; }
.pdp-tagline { color: #5c5a50; margin-block-end: 16px; }
.price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block: 10px 18px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 8px;
  padding: 6px 13px;
  font-weight: 800; font-size: 1.4rem;
}
.price-tag span { font-family: var(--mono); font-size: 0.64rem; font-weight: 400; }
.price-tag s { font-size: 0.76rem; font-weight: 400; color: rgba(20,20,18,.6); }
.opt-label { font-family: var(--mono); font-size: 0.66rem; color: #5c5a50; margin-block: 16px 8px; }
.qty {
  display: inline-flex; align-items: center; overflow: hidden;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.qty button { width: 40px; height: 40px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.qty button:hover { background: var(--yellow); }
.qty span { min-width: 42px; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 0.9rem; }
.pdp-buy { display: flex; gap: 10px; flex-wrap: wrap; margin-block: 22px 18px; }
.pdp-buy .btn.primary { flex: 1; min-width: 190px; }
.trust-row { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-row span {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 0.62rem; color: #4a4840;
  background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 7px; padding: 5px 9px;
}
.accordion { margin-block-start: 26px; border-block-start: var(--bw) solid var(--ink); }
.acc-item { border-block-end: var(--bw) solid var(--ink); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: none; border: 0; padding: 14px 2px; cursor: pointer;
  font-weight: 800; font-size: 0.94rem; text-align: start;
}
.acc-btn .plus { transition: transform 0.2s; }
.acc-item.open .acc-btn .plus { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.acc-item.open .acc-panel { max-height: 460px; }
.acc-panel ul { margin: 0 0 14px; padding-inline-start: 18px; color: #4a4840; font-size: 0.88rem; }
.acc-panel li { margin-block-end: 5px; }
.acc-panel li strong { color: var(--ink); }

/* ---------------- cart ---------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-line {
  display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; align-items: center;
  padding: 12px; background: var(--white);
  border: var(--bw) solid var(--ink); border-radius: 12px; box-shadow: var(--shadow-sm);
}
.cart-thumb {
  width: 82px; height: 82px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone, var(--yellow)) 28%, var(--paper));
  border: var(--bw) solid var(--ink); border-radius: 9px;
  padding: 7px;
}
.cart-line h4 { margin: 0 0 2px; font-size: 0.94rem; }
.cart-line .meta { font-family: var(--mono); font-size: 0.62rem; color: #6b685c; }
.cart-line .line-price { font-weight: 800; font-size: 0.9rem; white-space: nowrap; }
.cart-line .line-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.remove-btn {
  background: none; border: 0; cursor: pointer; font-size: 0.72rem; color: #6b685c;
  display: inline-flex; align-items: center; gap: 4px; padding: 2px;
}
.remove-btn:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.summary {
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 20px; position: sticky; inset-block-start: calc(var(--header-h) + 18px);
}
.summary h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-block-end: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; padding-block: 6px; color: #4a4840; }
.sum-row strong { color: var(--ink); font-family: var(--mono); font-size: 0.82rem; }
.sum-row.total {
  margin-block-start: 10px; padding: 12px 14px; background: var(--ink); color: var(--paper);
  border-radius: 9px; font-weight: 800; align-items: center;
}
.sum-row.total strong { color: var(--yellow); font-size: 1.02rem; }
.summary .btn { margin-block-start: 14px; }
.summary .note { font-size: 0.68rem; color: #6b685c; text-align: center; margin: 10px 0 0; }
.empty-state {
  text-align: center; padding: 64px 22px; background: var(--white);
  border: var(--bw) dashed var(--ink); border-radius: var(--r-lg);
}
.empty-state .big {
  width: 72px; height: 72px; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--paper-2); border: var(--bw) solid var(--ink); border-radius: 14px;
}
.empty-state p { color: #5c5a50; }

/* ---------------- checkout ---------------- */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.panel {
  padding: 22px; background: var(--white);
  border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-block-start: 16px; }
.panel h3 { display: flex; align-items: center; gap: 9px; margin-block-end: 16px; font-size: 1rem; }
.panel h3 .num {
  width: 26px; height: 26px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--paper-2); border: 1.5px solid var(--ink); border-radius: 6px;
  font-family: var(--mono); font-size: 0.7rem;
}
.radio-cards { display: grid; gap: 10px; }
.radio-card {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  background: var(--paper); border: var(--bw) solid var(--ink); border-radius: 10px;
  cursor: pointer; transition: 0.13s;
}
.radio-card:hover { background: var(--white); }
.radio-card input { accent-color: var(--ink); width: 17px; height: 17px; flex-shrink: 0; }
.radio-card .rc-main { flex: 1; }
.radio-card strong { display: block; font-size: 0.88rem; }
.radio-card small { color: #6b685c; font-size: 0.72rem; }
.radio-card .rc-price { font-family: var(--mono); font-size: 0.7rem; color: #4a4840; white-space: nowrap; }
.radio-card:has(input:checked) { background: color-mix(in srgb, var(--yellow) 26%, var(--white)); }
.checkout-summary .mini-line {
  display: flex; align-items: center; gap: 8px; padding-block: 7px;
  border-block-end: 1.5px dashed #c9c0ad; font-size: 0.8rem;
}
.checkout-summary .mini-line:last-of-type { border-block-end: 0; }
.checkout-summary .mini-line .p { margin-inline-start: auto; font-family: var(--mono); font-size: 0.72rem; }
.checkout-summary .mini-line .q { font-family: var(--mono); font-size: 0.66rem; color: #6b685c; }
.coupon-row { display: flex; gap: 7px; margin-block: 12px; }
.coupon-row .input { padding: 8px 11px; font-size: 0.82rem; }

/* ---------------- success ---------------- */
.success-wrap { max-width: 660px; margin: 0 auto; text-align: center; padding-block: 20px; }
.success-stamp {
  width: 88px; height: 88px; margin: 0 auto 20px; display: grid; place-items: center;
  background: var(--mint); border: var(--bw) solid var(--ink); border-radius: 50%;
  box-shadow: var(--shadow-sm);
  animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes pop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.receipt {
  margin-block: 24px; padding: 24px; text-align: start;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--shadow-lg); position: relative;
}
.receipt::before {
  content: ""; position: absolute; inset: 7px; border: 1.5px dashed #cfc6b2; border-radius: 9px; pointer-events: none;
}
.receipt-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-block-end: 16px; margin-block-end: 12px; border-block-end: 1.5px dashed #cfc6b2;
}
.receipt-meta span { display: block; font-family: var(--mono); font-size: 0.6rem; color: #6b685c; }
.receipt-meta strong { font-family: var(--mono); font-size: 0.82rem; }
.order-line { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; padding-block: 6px; }
.order-line .p { margin-inline-start: auto; font-family: var(--mono); font-size: 0.78rem; }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------------- blog ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform 0.16s, box-shadow 0.16s;
}
.post-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.post-cover {
  height: 150px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone, var(--yellow)) 30%, var(--paper));
  border-block-end: var(--bw) solid var(--ink);
}
.post-cover .ic { width: 54px; height: 54px; }
.post-body { padding: 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.post-body h3 { font-size: 1rem; margin: 0; line-height: 1.45; }
.post-body p { color: #5c5a50; font-size: 0.82rem; margin: 0; }
.post-meta {
  margin-block-start: auto; padding-block-start: 10px; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 0.62rem; color: #6b685c;
}
.article { max-width: 760px; margin: 0 auto; }
.article-cover {
  height: 230px; display: grid; place-items: center; margin-block-end: 24px;
  background: color-mix(in srgb, var(--tone, var(--yellow)) 30%, var(--paper));
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.article-cover .ic { width: 84px; height: 84px; }
.article-body { font-size: 1rem; color: #38362f; }
.article-body h2 { margin-block-start: 30px; font-size: 1.35rem; }
.article-body p { margin-block-end: 14px; }
.article-body ul { padding-inline-start: 20px; }
.article-body li { margin-block-end: 7px; }
.article-body blockquote {
  margin: 20px 0; padding: 14px 18px; background: var(--white);
  border: var(--bw) solid var(--ink); border-inline-start-width: 8px;
  border-radius: 0 10px 10px 0; box-shadow: var(--shadow-sm);
}
.article-body pre {
  background: var(--ink); color: var(--mint); border-radius: 10px; padding: 14px 16px;
  overflow-x: auto; direction: ltr; text-align: left; font-family: var(--mono);
  font-size: 0.76rem; line-height: 1.7; border: var(--bw) solid var(--ink);
}
.article-body code { background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.article-body pre code { background: none; padding: 0; color: inherit; }

/* ---------------- contact ---------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.info-card {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.info-card .fi {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tone, var(--yellow)) 30%, var(--paper));
  border: 1.5px solid var(--ink); border-radius: 9px;
}
.info-card strong { display: block; font-size: 0.88rem; }
.info-card span { font-family: var(--mono); font-size: 0.68rem; color: #5c5a50; direction: ltr; display: block; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--ink); color: var(--paper); border-block-start: var(--bw) solid var(--ink); }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 46px 26px 30px;
  display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 40px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { box-shadow: 3px 3px 0 var(--pink); background: var(--paper); color: var(--ink); }
.footer-brand strong { font-family: var(--display); font-size: 1.1rem; letter-spacing: -0.03em; }
.footer-brand p { color: #a8a190; font-size: 0.8rem; margin: 4px 0 0; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h4 { font-family: var(--mono); font-size: 0.64rem; color: #8a8576; font-weight: 400; margin-block-end: 8px; letter-spacing: 0.05em; }
.footer-cols a, .footer-cols code {
  display: block; font-size: 0.82rem; color: #c9c2b2; padding-block: 3px;
  transition: color 0.15s;
}
.footer-cols a:hover { color: var(--yellow); }
.footer-contact { text-align: left; }
.footer-contact a, .footer-contact span { text-align: left; }
.footer-cols code { font-size: 0.68rem; color: #8a8576; direction: ltr; text-align: end; }
/* ---------------- drawers ---------------- */
.scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(20, 20, 18, 0.55);
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer {
  position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 100;
  width: min(430px, 100vw); display: flex; flex-direction: column;
  background: var(--paper); border-inline-end: var(--bw) solid var(--ink);
  transform: translateX(-101%); visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.3, 0.9, 0.3, 1), visibility 0.28s;
}
html[dir="rtl"] .drawer { transform: translateX(101%); }
.drawer.open { transform: translateX(0); visibility: visible; }
html[dir="rtl"] .drawer.open { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; background: var(--white);
  border-block-end: var(--bw) solid var(--ink);
}
.drawer-head h2 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.drawer-head .mono { color: #6b685c; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.drawer-foot { padding: 14px 18px; background: var(--white); border-block-start: var(--bw) solid var(--ink); }

.cart-drawer .cart-line { grid-template-columns: 62px 1fr auto; padding: 9px; box-shadow: none; }
.cart-drawer .cart-thumb { width: 62px; height: 62px; padding: 5px; }
.cart-drawer .cart-line h4 { font-size: 0.84rem; }
.cart-drawer .qty { box-shadow: none; }
.cart-drawer .qty button { width: 28px; height: 30px; }
.cart-drawer .qty span { min-width: 26px; font-size: 0.76rem; }
.cart-drawer .cart-line .line-actions { align-items: flex-end; }
.drawer-totals {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; margin-block-end: 10px; background: var(--ink); color: var(--paper);
  border: var(--bw) solid var(--ink); border-radius: 8px; font-weight: 800;
}
.drawer-totals strong { font-family: var(--mono); font-size: 0.86rem; color: var(--yellow); }
.drawer-empty { text-align: center; padding-block: 54px; color: #5c5a50; }
.drawer-empty .big {
  width: 60px; height: 60px; margin: 0 auto 12px; display: grid; place-items: center;
  background: var(--paper-2); border: var(--bw) solid var(--ink); border-radius: 12px;
}
.cart-drawer .btn { box-shadow: var(--shadow-sm); }

/* ---------------- toasts ---------------- */
.toasts {
  position: fixed; inset-block-start: 120px; inset-inline-end: 16px;
  z-index: 120; display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 9px; min-width: 230px; max-width: 350px;
  padding: 10px 13px; background: var(--white); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: 10px; box-shadow: var(--shadow-sm);
  font-size: 0.82rem; font-weight: 600;
  animation: toastIn 0.25s cubic-bezier(0.2, 1.2, 0.4, 1); pointer-events: auto;
}
.toast.out { animation: toastOut 0.2s forwards; }
.toast .ti {
  width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--mint); border: 1.5px solid var(--ink); border-radius: 6px;
}
.toast.err .ti { background: var(--pink); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-14px); } }

/* ---------------- product art ---------------- */
.product-art { display: block; width: 100%; height: auto; }

/* real studio photography: a white print on the colour block, with a hard shadow */
.product-photo {
  width: 88%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}
.hc-art .product-photo {
  width: auto;
  max-width: 92%;
  max-height: 200px;
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--ink);
}
.pdp-art .product-photo {
  width: min(82%, 400px);
  max-height: none;
  border-radius: 10px;
  box-shadow: 6px 6px 0 var(--ink);
}
.cart-thumb .product-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  transform: none;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { gap: 30px; }
  .hero-stage { min-height: 480px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: flex; }
  .mobile-nav[hidden] { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 40px 30px; }
  .hero-stage { min-height: 0; order: -1; max-width: 480px; width: 100%; margin-inline: auto; justify-content: center; padding-block-end: 0; }
  .hero-copy { max-width: 620px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .manifesto { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .header-inner, .wrap, .footer-inner { padding-inline: 18px; }
  .newsletter { padding: 26px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .cart-label { display: none; }
  .site-header { padding: 9px 14px 7px; }
  .header-inner { gap: 10px; height: 58px; padding: 0 12px; }
  :root { --header-h: 74px; }
  .brand-center .brand-word { font-size: 1.2rem; letter-spacing: 0.04em; -webkit-text-stroke: 0.55px var(--ink); }
  .header-side, .header-actions { gap: 4px; }
  .site-header .icon-btn, .site-header .cart-btn { height: 38px; min-width: 38px; }
  .cart-btn { padding: 0 11px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.9rem); }
  .hero-stats { gap: 8px; }
  .stat { min-width: 92px; padding: 9px 11px; }
  .stat b { font-size: 1.35rem; }
  .hc-art .hero-illustration { max-height: 230px; }
  .hc-art .product-art { max-height: 175px; }
  .hc-art .product-photo { max-height: 140px; }
  .product-grid { gap: 12px; }
  .p-art .sticker { font-size: 0.52rem; padding: 2px 6px; }
  .chip-row { flex-wrap: nowrap; overflow-x: auto; padding-block-end: 4px; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row .chip { flex-shrink: 0; }
  .p-body { padding: 10px 11px 12px; }
  .p-name { font-size: 0.86rem; }
  .p-meta { font-size: 0.52rem; }
  .p-price { font-size: 0.84rem; }
  .add-btn { width: 34px; height: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .newsletter form { flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-line .line-actions { grid-column: span 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .receipt-meta { grid-template-columns: 1fr; gap: 8px; }
  .pdp-art { min-height: 320px; padding: 20px; }
  .pdp-art .product-art { max-height: 240px; }
  .pdp-art .product-photo { max-height: none; width: 94%; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .toasts { inset-inline: 10px; }
  .toast { max-width: none; }
  .toast .ti { display: none; }
  .mobile-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .mobile-nav a { text-align: center; }
  .mobile-nav a:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
