/* ==========================================================================
   Barista Tečaji Pena — "Lantern glow" design system
   ========================================================================== */

:root {
  --cobalt-950: #0b1340;
  --cobalt-900: #121c54;
  --cobalt-800: #1b2a74;
  --cobalt-700: #27399a;
  --cobalt-600: #3450c4;
  --cobalt-500: #4c66d6;
  --lemon-600: #d9a520;
  --lemon-500: #f3c94d;
  --lemon-400: #ffd96b;
  --lemon-300: #ffe9a8;
  --lemon-100: #fff4d2;
  --paper-50: #fffdf7;
  --paper-100: #fff9ec;
  --paper-200: #fcf1d9;
  --ink-900: #16132a;
  --ink-700: #3a3550;
  --ink-500: #645f7a;

  --glow-sm: 0 0 18px rgba(243, 201, 77, .35);
  --glow-md: 0 0 36px rgba(243, 201, 77, .4);
  --glow-cobalt: 0 0 50px rgba(52, 80, 196, .35);

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-paper: 0 2px 0 rgba(22, 19, 42, .04), 0 18px 40px -20px rgba(22, 19, 42, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper-100);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--cobalt-950); }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--lemon-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--cobalt-700);
  display: inline-flex;
  align-items: center;
  gap: .5em;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lemon-500);
  box-shadow: var(--glow-sm);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid var(--cobalt-950);
  background: var(--cobalt-950);
  color: var(--paper-50);
  font-weight: 600;
  font-size: .95rem;
  overflow: hidden;
  min-height: 44px;
  isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--lemon-500);
  z-index: -1;
  transition: left .35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--ink-900); }
.btn.btn-ghost {
  background: transparent;
  color: var(--cobalt-950);
}
.btn.btn-ghost::before { background: var(--cobalt-950); }
.btn.btn-ghost:hover, .btn.btn-ghost:focus-visible { color: var(--paper-50); }
.btn.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

.icon {
  width: 1.3em; height: 1.3em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

/* ---------------------------------- header ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 247, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 19, 42, .08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  color: var(--cobalt-950);
  flex-shrink: 0;
}
.brand-logo {
  width: 168px;
  height: auto;
  aspect-ratio: 220 / 52;
  color: var(--cobalt-950);
  flex-shrink: 0;
}
.footer-brand .brand-logo { color: var(--paper-50); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  position: relative;
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--lemon-500);
  transition: right .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .5em .9em;
  border-radius: 999px;
  border: 1.5px solid var(--cobalt-950);
  font-weight: 600;
  font-size: .85rem;
  min-height: 44px;
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--lemon-500);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  transition: transform .35s var(--ease);
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%{transform:scale(1)} 35%{transform:scale(1.5)} 100%{transform:scale(1)} }
@media (prefers-reduced-motion: reduce) { .cart-count.bump { animation: none; } }

.menu-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    top: 76px;
    width: min(320px, 82vw);
    height: calc(100vh - 76px);
    background: var(--cobalt-950);
    color: var(--paper-50);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 22px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s var(--ease);
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav a { color: var(--paper-50); font-size: 1.1rem; }
  .main-nav a::after { background: var(--lemon-400); }
}

/* ---------------------------------- hero ------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 18% 20%, var(--cobalt-800), var(--cobalt-950) 60%);
  color: var(--paper-50);
  overflow: hidden;
  padding: 56px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  color: var(--paper-50);
  font-size: clamp(2.6rem, 6vw + 1rem, 5rem);
  letter-spacing: -.01em;
  margin-bottom: .3em;
}
.hero-copy h1 em { color: var(--lemon-400); font-style: normal; }
.hero-copy p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--lemon-100);
  max-width: 44ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.hero-illustration { width: min(100%, 420px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.steam path { animation: steamRise 4s ease-in-out infinite; transform-origin: center; }
.steam path:nth-child(2) { animation-delay: .6s; }
.steam path:nth-child(3) { animation-delay: 1.2s; }
@keyframes steamRise {
  0%, 100% { transform: translateY(0) scale(1); opacity: .8; }
  50% { transform: translateY(-10px) scale(1.04); opacity: .35; }
}
@media (prefers-reduced-motion: reduce) { .steam path { animation: none; } }

.ticker-wrap {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 249, 236, .18);
  border-bottom: 1px solid rgba(255, 249, 236, .18);
  background: rgba(11, 19, 64, .55);
  overflow: hidden;
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ticker { animation: none; } }
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lemon-300);
  white-space: nowrap;
}
.ticker span::after { content: "✦"; color: var(--cobalt-500); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.glow-a { width: 220px; height: 220px; background: radial-gradient(circle, rgba(243,201,77,.55), transparent 70%); top: -40px; right: 8%; }
.glow-b { width: 160px; height: 160px; background: radial-gradient(circle, rgba(52,80,196,.6), transparent 70%); bottom: 10%; left: 4%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 240px; }
}

/* --------------------------- grain / texture overlay -------------------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: .05;
  z-index: 500;
  mix-blend-mode: multiply;
}

/* ------------------------------- reveal --------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0% 0);
}
.reveal.js-hidden {
  opacity: 0;
  transform: translateY(26px);
  clip-path: inset(0 0 100% 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0% 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.js-hidden { opacity: 1; transform: none; clip-path: inset(0 0 0% 0); transition: none; }
}

/* ------------------------------- sections -------------------------------- */
.section { padding: 88px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-dark { background: var(--cobalt-950); color: var(--paper-50); }
.section-dark h2, .section-dark h3 { color: var(--paper-50); }
.section-dark .course-card h3 { color: var(--ink-900); }
.section-dark .eyebrow { color: var(--lemon-300); }
.section-cream { background: var(--paper-50); }

.divider { width: 100%; height: auto; display: block; }

/* --------------------------- collage (home) ------------------------------ */
.collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 18px;
  align-items: start;
}
.collage-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}
.collage-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05);
  transition: transform .6s var(--ease);
}
.collage-photo:hover img { transform: scale(1.06); }
.collage-item-1 { grid-column: 1 / 4; grid-row: 1 / 3; aspect-ratio: 4/5; }
.collage-item-2 { grid-column: 4 / 7; grid-row: 1 / 2; aspect-ratio: 16/10; }
.collage-note {
  grid-column: 4 / 7; grid-row: 2 / 3;
  background: var(--lemon-500);
  border-radius: var(--radius-md);
  padding: 22px;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--ink-900);
  position: relative;
}
.collage-note .ornament { position: absolute; top: -18px; right: 14px; width: 46px; height: 46px; }
.collage-item-3 { grid-column: 1 / 3; grid-row: 3 / 5; aspect-ratio: 1/1; }
.collage-badge { grid-column: 3 / 5; grid-row: 3 / 4; display: grid; place-items: center; padding: 10px; }
.collage-badge svg { width: 100%; height: auto; }
.collage-item-4 { grid-column: 3 / 7; grid-row: 4 / 5; aspect-ratio: 20/9; }
.collage-caption {
  grid-column: 5 / 7; grid-row: 3 / 4;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--ink-700);
  display: flex; align-items: center;
  padding: 0 6px;
}

@media (max-width: 760px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .collage-item-1, .collage-item-2, .collage-note, .collage-item-3, .collage-badge, .collage-item-4, .collage-caption {
    grid-column: 1 / 3; grid-row: auto;
  }
  .collage-item-1 { aspect-ratio: 5/4; }
}

/* --------------------------- course cards / strip -------------------------- */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
@media (max-width: 720px) {
  .strip {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .strip .course-card { scroll-snap-align: start; }
}

.course-card {
  background: var(--paper-50);
  color: var(--ink-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(22,19,42,.4), var(--glow-sm); }
.course-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.course-card:hover .thumb img { transform: scale(1.08); }
.course-card .level-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--cobalt-950); color: var(--lemon-300);
  font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 10px; border-radius: 999px;
}
.course-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card h3 { font-size: 1.2rem; margin: 0; }
.course-card .meta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: .85rem; color: var(--ink-500); }
.course-card .price { font-weight: 700; color: var(--cobalt-700); font-size: 1rem; }
.course-card .foot { margin-top: auto; display: flex; gap: 10px; }

/* ------------------------------- calculator ------------------------------- */
.calc {
  background: var(--cobalt-950);
  color: var(--paper-50);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-cobalt);
}
.calc::before {
  content: "";
  position: absolute; inset: -40% -10% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(243,201,77,.35), transparent 70%);
  pointer-events: none;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; position: relative; z-index: 1; }
.calc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.calc-field label { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lemon-300); }
.calc input[type="number"], .calc input[type="range"] { width: 100%; }
.calc input[type="number"] {
  background: rgba(255,253,247,.08);
  border: 1.5px solid rgba(255,253,247,.25);
  border-radius: var(--radius-sm);
  padding: .7em .9em;
  color: var(--paper-50);
  font-size: 1.1rem;
  font-family: var(--font-mono);
}
.calc input[type="range"] { accent-color: var(--lemon-500); }
.calc-result {
  background: rgba(255,253,247,.08);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.calc-ratio { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--lemon-400); line-height: 1; }
.calc-verdict { font-weight: 600; font-size: 1.05rem; }
.calc-hint { font-size: .9rem; color: var(--lemon-100); max-width: 34ch; }
.calc-gauge { width: 100%; height: 10px; border-radius: 999px; background: rgba(255,253,247,.15); overflow: hidden; margin: 6px 0; }
.calc-gauge-fill { height: 100%; background: linear-gradient(90deg, var(--cobalt-500), var(--lemon-500)); border-radius: 999px; transition: width .4s var(--ease); width: 50%; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr; } }

/* ----------------------------------- forms -------------------------------- */
.form-grid { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  padding: .75em .9em;
  border: 1.5px solid rgba(22,19,42,.18);
  border-radius: var(--radius-sm);
  background: var(--paper-50);
  font: inherit;
  color: var(--ink-900);
  accent-color: var(--cobalt-700);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cobalt-700); }
.field textarea { resize: vertical; min-height: 110px; }
.field.error input, .field.error select, .field.error textarea { border-color: #c23b3b; }
.field-error { color: #c23b3b; font-size: .82rem; min-height: 1em; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .85rem; color: var(--ink-500); }
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 14px; display: none; }
.form-status.ok { display: block; background: #e7f3e2; color: #2f5d2a; }
.form-status.fail { display: block; background: #fbe6e6; color: #7a2424; }

/* ------------------------------------- footer ----------------------------- */
.site-footer {
  background: var(--cobalt-950);
  color: var(--lemon-100);
  padding: 64px 0 28px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,249,236,.15);
}
.footer-brand .logo { color: var(--paper-50); }
.footer-brand p { color: rgba(255,249,236,.75); max-width: 32ch; margin-top: 12px; }
.footer-col h4 { color: var(--paper-50); font-family: var(--font-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,249,236,.8); font-size: .92rem; }
.footer-col a:hover { color: var(--lemon-400); }
.footer-newsletter { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer-newsletter input[type="email"] {
  flex: 1; min-width: 180px;
  padding: .7em .9em;
  border-radius: 999px;
  border: 1.5px solid rgba(255,249,236,.3);
  background: rgba(255,249,236,.08);
  color: var(--paper-50);
  font: inherit;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem; color: rgba(255,249,236,.6); }
.footer-bottom a { color: rgba(255,249,236,.8); }
.footer-mail { display: inline-flex; align-items: center; gap: .4em; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------- cookie banner --------------------------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--cobalt-950);
  color: var(--paper-50);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  z-index: 200;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .9rem; color: var(--lemon-100); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.cookie-actions .btn-ghost { color: var(--paper-50); border-color: rgba(255,249,236,.5); }
.cookie-actions .btn-ghost::before { background: var(--paper-50); }
.cookie-actions .btn-ghost:hover { color: var(--ink-900); }

/* ------------------------------------- misc pages ---------------------------- */
.page-hero {
  background: var(--cobalt-950);
  color: var(--paper-50);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--paper-50); font-size: clamp(2.2rem, 4vw, 3.2rem); }
.page-hero p { color: var(--lemon-100); max-width: 60ch; }
.breadcrumbs { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lemon-300); margin-bottom: 18px; }
.breadcrumbs a { color: var(--lemon-300); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose ul { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

.faq-item {
  border-bottom: 1px solid rgba(22,19,42,.12);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--ink-700); }

.table-wrap { overflow-x: auto; }
table.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.price-table th, table.price-table td { padding: 12px 14px; border-bottom: 1px solid rgba(22,19,42,.12); text-align: left; }
table.price-table th { font-family: var(--font-mono); text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--ink-500); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--paper-50);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-paper);
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 16px;
}
.info-card .icon { width: 28px; height: 28px; color: var(--cobalt-700); margin-top: 2px; }

/* -------------------------------- cart / checkout page ------------------------ */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 10px; border-bottom: 1px solid rgba(22,19,42,.1); text-align: left; vertical-align: middle; }
.cart-table th { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.cart-row-name { display: flex; align-items: center; gap: 12px; }
.cart-row-name img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid rgba(22,19,42,.18); border-radius: 999px; overflow: hidden; }
.qty-control button { background: none; border: none; width: 34px; height: 34px; font-size: 1rem; }
.qty-control input { width: 38px; text-align: center; border: none; background: none; font: inherit; }
.remove-btn { background: none; border: none; color: #a33; font-size: .85rem; text-decoration: underline; min-height: 44px; }
.cart-summary { background: var(--paper-50); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-paper); }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.cart-summary .total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid rgba(22,19,42,.12); padding-top: 12px; margin-top: 8px; }
.empty-cart { text-align: center; padding: 60px 20px; }

/* ------------------------------ 404 ------------------------------ */
.notfound { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.notfound svg { width: 220px; margin: 0 auto 24px; }

/* ------------------------------ pattern strip ------------------------ */
.pattern-strip { height: 48px; width: 100%; }

.badge-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.badge-row svg { width: 72px; height: 72px; }

::selection { background: var(--lemon-400); color: var(--ink-900); }
