/* ============================================================
   Čokolada Zvijezda — Chalkboard design system
   Palette: ink navy (bg), sand (chalk/text), coral (accent)
   ============================================================ */

@media (prefers-color-scheme: light) { :root { color-scheme: dark; } }

:root {
  --ink: #171c26;
  --ink-2: #1f2633;
  --ink-3: #272f3e;
  --sand: #f1e6d2;
  --sand-dim: #cbbfa8;
  --coral: #e8724f;
  --coral-light: #f0a07f;
  --chalk: #e9e2d6;
  --line: rgba(241, 230, 210, 0.18);
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --radius: 14px;
  --shadow-paper: 0 18px 40px -20px rgba(0,0,0,0.6), 0 2px 0 rgba(241,230,210,0.04);
  --max: 1200px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 0.5em; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--coral-light); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--coral); color: var(--ink); padding: 0.6em 1em; z-index: 100; }
.skip-link:focus { left: 1em; top: 1em; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 40px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-md { display: flex; flex-direction: column; gap: 16px; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23,28,38,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--sand); }
.logo__mark { width: 36px; height: 36px; color: var(--coral-light); flex-shrink: 0; }
.logo__word { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-display); }
.logo__word strong { font-size: 1.1rem; }
.logo__word em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-dim); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { font-size: 0.95rem; position: relative; padding: 4px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--coral-light); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--coral-light); }
.site-nav__close, .site-nav__toggle { background: none; border: none; color: var(--sand); cursor: pointer; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.cart-link { position: relative; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--sand); }
.cart-badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 0.65rem; line-height: 16px; text-align: center; opacity: 0; transform: scale(0.6); transition: transform 0.2s, opacity 0.2s; }
.cart-badge.is-visible { opacity: 1; transform: scale(1); }
.cart-badge.bump { animation: bump 0.4s ease; }
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.5); } }

@media (max-width: 860px) {
  .site-nav__toggle { display: flex; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--ink-2); padding: 90px 28px 28px; transform: translateX(100%); visibility: hidden; transition: transform 0.3s ease, visibility 0.3s; z-index: 60; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 20px; }
  .site-nav__close { display: flex; position: absolute; top: 14px; right: 14px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-size: 0.95rem; font-weight: 600; position: relative; overflow: hidden; isolation: isolate; transition: color 0.25s, border-color 0.25s; }
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: currentColor; z-index: -1; transition: left 0.3s ease; }
.btn-primary { background: var(--coral); color: var(--ink); }
.btn-primary:hover { background: var(--coral-light); }
.btn-outline { border-color: var(--sand-dim); color: var(--sand); background: transparent; }
.btn-outline::before { background: var(--sand); }
.btn-outline:hover { color: var(--ink); }
.btn-outline:hover::before { left: 0; }
.btn-ghost { background: transparent; color: var(--sand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sand); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- reveal / motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 12% 0); transition: opacity 0.7s ease, transform 0.7s ease, clip-path 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
.reveal-1 { transition-delay: 0.05s; } .reveal-2 { transition-delay: 0.15s; } .reveal-3 { transition-delay: 0.25s; } .reveal-4 { transition-delay: 0.35s; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.in-view { transition: none; transform: none; clip-path: none; opacity: 1; } }

.divider { width: 100%; height: 40px; color: var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-light); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.hero__title { font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.02; margin-bottom: 20px; }
.hero__title span { color: var(--coral-light); }
.hero__lead { font-size: 1.1rem; color: var(--sand-dim); max-width: 42ch; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { position: relative; aspect-ratio: 1 / 1; }
.hero__blob { position: absolute; inset: -10%; width: 120%; height: 120%; color: var(--coral); opacity: 0.35; animation: blobMorph 14s ease-in-out infinite; }
.hero__photo { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-paper); aspect-ratio: 4/5; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) contrast(1.05); }
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 61% 39% / 44% 46% 54% 56%; transform: rotate(0deg) scale(1); }
  33% { border-radius: 60% 40% 35% 65% / 55% 65% 35% 45%; transform: rotate(8deg) scale(1.04); }
  66% { border-radius: 35% 65% 55% 45% / 40% 35% 65% 60%; transform: rotate(-6deg) scale(0.98); }
}
@media (prefers-reduced-motion: reduce) { .hero__blob { animation: none; } }

/* ---------- home composition: sticky left / scroll right ---------- */
.story { padding: 20px 0 80px; }
.story__layout { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 56px; align-items: start; }
.story__sticky { position: sticky; top: 100px; }
.story__sticky .chalk-underline { width: 64px; }
.story__chapters { display: flex; flex-direction: column; gap: 90px; }
.story__chapter h3 { font-size: 1.6rem; margin-bottom: 10px; }
.story__chapter p { color: var(--sand-dim); max-width: 48ch; }
@media (max-width: 920px) {
  .story__layout { grid-template-columns: 1fr; }
  .story__sticky { position: static; }
  .story__chapters { gap: 48px; }
}

.chalk-underline { height: 10px; color: var(--coral-light); margin: 10px 0 18px; }

/* ---------- cards / products ---------- */
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-paper); }
.product-card { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-paper); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.08); }
.product-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-light); }
.product-card__name { font-size: 1.1rem; margin: 0; }
.product-card__meta { font-size: 0.85rem; color: var(--sand-dim); margin: 4px 0; }
.product-card__price { margin-top: auto; font-weight: 700; font-size: 1.05rem; color: var(--sand); }
.product-strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.product-strip .product-card { min-width: 260px; scroll-snap-align: start; }
@media (min-width: 760px) { .product-strip { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; } }

/* ---------- box creator (signature feature) ---------- */
.box-creator { background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-paper); position: relative; overflow: hidden; }
.box-creator__grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
@media (max-width: 860px) { .box-creator__grid { grid-template-columns: 1fr; } }
.flavor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 500px) { .flavor-list { grid-template-columns: 1fr; } }
.flavor-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--ink); transition: border-color 0.2s, background 0.2s; }
.flavor-item:hover { border-color: var(--coral-light); }
.flavor-item input { accent-color: var(--coral); width: 18px; height: 18px; }
.flavor-item.is-checked { border-color: var(--coral); background: var(--ink-3); }
.flavor-item__name { font-weight: 600; }
.flavor-item__meta { color: var(--sand-dim); font-size: 0.8rem; margin-left: auto; }
.box-preview { background: var(--ink); border: 1px dashed var(--line); border-radius: 18px; padding: 24px; text-align: center; }
.box-preview__svg { width: 100%; height: 160px; }
.box-preview__list { text-align: left; min-height: 72px; color: var(--sand-dim); font-size: 0.9rem; }
.box-preview__total { font-size: 1.4rem; font-weight: 700; margin: 12px 0; }
.box-preview__empty { color: var(--sand-dim); font-size: 0.85rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--sand-dim); max-width: 60ch; }

.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--sand-dim); margin-bottom: 18px; }
.breadcrumbs a { color: var(--coral-light); }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 70ch; line-height: 1.75; color: var(--sand); }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--coral-light); text-decoration: underline; }

.legal-toc { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.legal-toc h2 { font-size: 1rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.legal-toc ol { padding-left: 1.2em; }
.legal-toc a { color: var(--sand-dim); }
.legal-toc a:hover { color: var(--coral-light); }

/* ---------- notices ---------- */
.notice { padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); font-size: 0.92rem; }
.notice--success { border-color: #6a9c7a; color: #bfe3cb; background: rgba(106,156,122,0.12); }
.notice--error { border-color: var(--coral); color: var(--coral-light); background: rgba(232,114,79,0.12); }
.notice--info { border-color: var(--line); color: var(--sand-dim); background: var(--ink-2); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; color: var(--sand-dim); }
.field input, .field select, .field textarea { background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; color: var(--sand); font: inherit; min-height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral-light); }
.field-error { color: var(--coral-light); font-size: 0.8rem; min-height: 1em; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-feedback { min-height: 1.2em; margin-top: 10px; }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 70ch; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--ink-2); overflow: hidden; }
.faq-item summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--coral-light); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item__body { padding: 0 20px 18px; color: var(--sand-dim); }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-weight: 700; margin: 10px 0 20px; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-control button { width: 40px; height: 40px; background: none; border: none; color: var(--sand); cursor: pointer; font-size: 1.1rem; }
.qty-control input { width: 44px; height: 40px; text-align: center; border: none; background: none; color: var(--sand); font: inherit; }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.cart-table th, .cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--sand-dim); }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.cart-row__name { font-weight: 600; }
.cart-summary { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 360px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cart-summary__row--total { font-weight: 700; font-size: 1.15rem; border-bottom: none; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--sand-dim); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info__item { display: flex; gap: 12px; align-items: flex-start; }
.contact-info__item svg { color: var(--coral-light); flex-shrink: 0; margin-top: 2px; }

/* ---------- decorative ornaments ---------- */
.badge-seal { width: 72px; height: 72px; color: var(--coral-light); }
.ornament-dots { width: 100%; height: 14px; color: var(--line); }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay; z-index: 1; }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: -200px; z-index: 90; background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-paper); max-width: 760px; margin: 0 auto; transition: bottom 0.4s ease; }
.cookie-banner.is-visible { bottom: 16px; }
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; color: var(--sand); }
.cookie-banner a { color: var(--coral-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); margin-top: 60px; padding-top: 10px; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 20px 24px 40px; display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.4fr; gap: 32px; }
@media (max-width: 920px) { .site-footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }
.footer-col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sand-dim); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--coral-light); }
.footer-tagline { color: var(--sand-dim); max-width: 30ch; margin: 14px 0; }
.footer-contact { display: flex; gap: 8px; align-items: center; color: var(--sand-dim); font-size: 0.9rem; }
.newsletter-form__row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type=email] { flex: 1; min-width: 160px; background: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; color: var(--sand); min-height: 44px; }
.site-footer__bottom { max-width: var(--max); margin: 0 auto; padding: 18px 24px; border-top: 1px solid var(--line); color: var(--sand-dim); font-size: 0.85rem; }

/* COMPONENTS: .class - what it is
   .wrap - centered max-width content wrapper
   .section / .section--tight - vertical page section spacing
   .grid / .grid-2 / .grid-3 / .grid-4 - responsive CSS grid rows
   .stack-sm / .stack-md - vertical flex stack with gap
   .site-header / .site-nav / .cart-link / .cart-badge - sticky header, nav, cart indicator
   .btn / .btn-primary / .btn-outline / .btn-ghost / .btn-sm - button variants with fill-sweep hover
   .reveal / .reveal.in-view / .reveal-1..4 - scroll-reveal animation hooks
   .hero / .hero__grid / .hero__title / .hero__art / .hero__blob / .hero__photo - home hero composition
   .story / .story__layout / .story__sticky / .story__chapters / .story__chapter - sticky-left scroll-right narrative
   .chalk-underline - decorative chalk stroke underline
   .card - generic bordered content card
   .product-card / .product-card__media / .product-card__body - catalog product card
   .product-strip - horizontal scroll-snap product row (mobile) / grid (desktop)
   .box-creator / .flavor-list / .flavor-item / .box-preview - signature "Kreator kutije" feature
   .page-hero - inner page hero/title band
   .breadcrumbs - breadcrumb trail
   .prose - long-form legal/readable text block
   .legal-toc - table of contents box for legal pages
   .notice / .notice--success / .notice--error / .notice--info - inline status banners
   .form-grid / .field / .field--full / .field-error / .honeypot / .form-feedback - form layout system
   .faq / .faq-item - details/summary accordion
   .product-detail / .product-detail__media / .qty-control - single product page layout
   .cart-table / .cart-summary / .cart-empty - cart & checkout layout
   .contact-layout / .contact-info - contact page split layout
   .badge-seal / .ornament-dots / .grain-overlay / .divider - decorative SVG ornaments
   .cookie-banner - cookie consent banner
   .site-footer / .footer-col - footer layout
*/

/* ---------- footer modifiers ---------- */
.footer-col--brand {
  display: flex;
  flex-direction: column;
}

.footer-col--newsletter {
  display: flex;
  flex-direction: column;
}

.logo--footer {
  gap: 8px;
}

.logo--footer .logo__mark {
  width: 28px;
  height: 28px;
}

.logo--footer .logo__word strong {
  font-size: 0.95rem;
}

.logo--footer .logo__word em {
  font-size: 0.6rem;
}

/* ---------- cart ---------- */
.cart-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
}

.cart-row img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
}

.qty-input {
  width: 50px;
  min-height: 36px;
  padding: 6px 8px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--sand);
  font: inherit;
  font-size: 0.9rem;
  text-align: center;
}

.qty-input:focus {
  border-color: var(--coral-light);
}

.remove-btn {
  min-height: 36px;
  padding: 6px 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--sand);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.remove-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

@media (max-width: 560px) {
  .cart-row {
    gap: 10px;
    padding: 10px 12px;
  }

  .cart-row img {
    width: 60px;
    height: 60px;
  }
}
