/* ============================================================
   Okviri za Slike Kadar — Gothic-revival coastal style system
   Palette: duboko morsko zelena / pijesak / drvo nošeno morem
   ============================================================ */

:root {
  --sea-900: #142e2a;
  --sea-800: #1c3f39;
  --sea-700: #275149;
  --sea-600: #336e62;
  --sea-500: #4a8c7b;
  --sand-100: #faf4e7;
  --sand-200: #f1e6cf;
  --sand-300: #e6d6b2;
  --drift-400: #b99a74;
  --drift-600: #8a6b4b;
  --drift-700: #6b5138;
  --candle-400: #e4ad5a;
  --candle-300: #efc884;
  --ink: #1b2622;
  --paper: var(--sand-100);
  --ok: #3f7a5b;
  --err: #a8403a;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: -apple-system, "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  --font-label: "Courier New", ui-monospace, monospace;

  --radius-s: 6px;
  --radius-m: 14px;
  --shadow-1: 0 1px 2px rgba(20, 30, 27, 0.12);
  --shadow-2: 0 14px 34px -14px rgba(20, 30, 27, 0.35);
  --shadow-3: 0 26px 60px -20px rgba(20, 30, 27, 0.45);

  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,40 Q0,6 50,2 Q100,6 100,40 L100,100 Z'/%3E%3C/svg%3E");
}

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

:focus-visible {
  outline: 3px solid var(--candle-400);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  left: -9999px;
}

/* honeypot field */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  font-family: var(--font-display);
  font-size: 1rem;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--sea-800);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  min-height: 44px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--sea-800);
  z-index: -1;
  transition: left 0.35s cubic-bezier(.65,0,.35,1);
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--sand-100); }
.btn-primary {
  background: var(--sea-800);
  color: var(--sand-100);
  border-color: var(--sea-800);
}
.btn-primary::before { background: var(--candle-400); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--sea-900); }
.btn-ghost-dark { color: var(--sand-100); border-color: var(--sand-200); }
.btn-ghost-dark::before { background: var(--sand-100); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { color: var(--sea-900); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.9rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Icon sprite usage ---------- */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; flex: none; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--sand-100);
  border-bottom: 1px solid var(--sand-300);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__word { width: 118px; height: 26px; flex: none; color: var(--sea-800); }

.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  gap: 1.9rem;
  list-style: none;
}
.nav-desktop a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  position: relative;
  padding-bottom: 4px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--candle-400);
  transition: right 0.3s ease;
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { right: 0; }
.nav-desktop a.is-active { color: var(--sea-800); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--sea-800);
}
.cart-link:hover { background: var(--sand-200); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--candle-400);
  color: var(--sea-900);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
}
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

.nav-toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sea-800);
}

.nav-mobile {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(84vw, 360px);
  background: var(--sea-900);
  color: var(--sand-100);
  padding: 1.5rem 1.5rem 2.5rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(.65,0,.35,1), visibility 0.35s;
  z-index: 80;
  overflow-y: auto;
}
.nav-mobile.is-open { transform: translateX(0); visibility: visible; }
.nav-mobile__top { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
.nav-mobile__close { background: none; border: none; color: var(--sand-100); width: 44px; height: 44px; cursor: pointer; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  padding: 0.65rem 0.2rem;
  border-bottom: 1px solid rgba(250, 244, 231, 0.15);
}
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 27, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  z-index: 70;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

@media (min-width: 880px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
}

/* ============================================================
   Hero / split screen / blob
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sea-900);
  color: var(--sand-100);
}
.hero__grid {
  display: grid;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3rem, 8vw, 6rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; }
}
.hero__eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--candle-300);
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 0.6rem;
}
.hero__lede { font-size: 1.15rem; max-width: 34ch; color: var(--sand-200); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

.hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; }
.hero__blob {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--sea-700);
  animation: blobmorph 14s ease-in-out infinite;
  transform-origin: center;
}
.hero__photo {
  position: absolute;
  inset: 8% 8% 8% 8%;
  width: 84%;
  height: 84%;
  object-fit: cover;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-3);
  -webkit-mask-image: var(--arch);
  mask-image: var(--arch);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero__rose {
  position: absolute;
  top: -8%; right: -10%;
  width: 46%;
  height: 46%;
  opacity: 0.35;
  color: var(--candle-400);
}
@keyframes blobmorph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  33% { border-radius: 63% 37% 41% 59% / 51% 62% 38% 49%; }
  66% { border-radius: 38% 62% 55% 45% / 60% 35% 65% 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__blob { animation: none; }
}

/* ---------- divider ornament ---------- */
.divider-arches {
  width: 100%;
  height: clamp(26px, 5vw, 48px);
  color: var(--sand-300);
  display: block;
}
.section-dark .divider-arches { color: var(--sea-800); }

/* ============================================================
   Split-screen slider (home composition)
   ============================================================ */
.split {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  touch-action: pan-y;
  user-select: none;
}
.split img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__after { clip-path: inset(0 0 0 50%); }
.split__label {
  position: absolute;
  bottom: 14px;
  padding: 0.3em 0.8em;
  background: rgba(20, 30, 27, 0.72);
  color: var(--sand-100);
  font-family: var(--font-label);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
}
.split__label--before { left: 14px; }
.split__label--after { right: 14px; }
.split__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--candle-400);
  transform: translateX(-50%);
  cursor: ew-resize;
}
.split__handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--candle-400);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-2);
}
.split__handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  background: none;
  border-left: 2px solid var(--sea-900);
  border-right: 2px solid var(--sea-900);
  border-top: none; border-bottom: none;
}

/* ============================================================
   Sections / typography blocks
   ============================================================ */
section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-dark { background: var(--sea-900); color: var(--sand-100); }
.section-sand { background: var(--sand-200); }
.section-head { max-width: 640px; margin: 0 0 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--drift-600);
  display: block;
  margin-bottom: 0.6rem;
}
.section-dark .kicker { color: var(--candle-300); }

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

/* ============================================================
   Cards
   ============================================================ */
.grid-cards {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.card {
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand-200);
  -webkit-mask-image: var(--arch);
  mask-image: var(--arch);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__cat { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--drift-600); }
.card__title { font-size: 1.15rem; margin: 0; }
.card__price { font-family: var(--font-display); font-size: 1.15rem; color: var(--sea-800); margin-top: auto; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.4rem; }

/* ---------- feature cards (non generic: asymmetric list) ---------- */
.feature-list { display: grid; gap: 1.4rem; }
@media (min-width: 760px) {
  .feature-list { grid-template-columns: repeat(3, 1fr); }
  .feature-list .feature:nth-child(2) { transform: translateY(1.6rem); }
}
.feature {
  background: var(--sand-100);
  border-radius: var(--radius-m);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-1);
  position: relative;
}
.feature__icon { width: 34px; height: 34px; color: var(--drift-600); margin-bottom: 0.8rem; }
.feature h3 { font-size: 1.15rem; }

/* ============================================================
   Gallery planner (signature feature)
   ============================================================ */
.planner {
  background: var(--sand-100);
  color: var(--ink);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  padding: clamp(1.2rem, 4vw, 2.2rem);
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 920px) {
  .planner { grid-template-columns: 300px 1fr; }
}
.planner__controls { display: flex; flex-direction: column; gap: 1.1rem; }
.planner__dims { display: flex; gap: 0.8rem; }
.planner__dims label { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.82rem; }
.planner__frames { display: flex; flex-direction: column; gap: 0.5rem; }
.planner__frame-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-s);
  background: var(--sand-200);
  cursor: pointer;
  min-height: 44px;
}
.planner__frame-btn:hover { border-color: var(--drift-600); }
.planner__frame-swatch { width: 26px; height: 20px; border: 2px solid var(--drift-700); flex: none; }
.planner__frame-name { flex: 1; font-size: 0.86rem; }
.planner__frame-price { font-family: var(--font-label); font-size: 0.78rem; color: var(--sea-800); }
.planner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.planner .btn-ghost-dark { color: var(--sea-800); border-color: var(--sand-300); }
.planner .btn-ghost-dark::before { background: var(--sea-800); }
.planner__canvas-wrap {
  position: relative;
  background: var(--sand-300);
  border-radius: var(--radius-s);
  overflow: hidden;
  background-image:
    linear-gradient(rgba(27,38,34,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,38,34,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  touch-action: none;
}
.planner__piece {
  position: absolute;
  background: var(--sand-100);
  border: 3px solid var(--drift-700);
  box-shadow: var(--shadow-1);
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-family: var(--font-label);
  color: var(--sea-800);
  text-align: center;
  padding: 2px;
}
.planner__piece:active { cursor: grabbing; }
.planner__piece.is-dragging { z-index: 5; box-shadow: var(--shadow-3); }
.planner__summary { margin-top: 0.4rem; font-size: 0.85rem; }
.planner__list { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; margin-top: 0.5rem; }
.planner__list li { display: flex; justify-content: space-between; gap: 0.6rem; }
.planner__hint { font-size: 0.8rem; color: var(--drift-600); }

/* ============================================================
   Forms
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 560px; }
.form-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-row > * { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-s);
  background: var(--sand-100);
  color: var(--ink);
  min-height: 44px;
  accent-color: var(--sea-700);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sea-700); }
.field--checkbox { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field--checkbox input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-msg { font-size: 0.9rem; padding: 0.7em 1em; border-radius: var(--radius-s); display: none; }
.form-msg.is-ok { display: block; background: rgba(63, 122, 91, 0.14); color: var(--ok); }
.form-msg.is-err { display: block; background: rgba(168, 64, 58, 0.12); color: var(--err); }
.form:has(.form-msg.is-ok) .field,
.form:has(.form-msg.is-ok) button[type="submit"] { opacity: 0.55; }
.field-error { font-size: 0.78rem; color: var(--err); min-height: 1em; }

/* newsletter */
.newsletter { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 200px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--sea-900);
  color: var(--sand-200);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}
.footer__grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer__brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; color: var(--sand-100); }
.footer__brand .logo__word { color: var(--sand-100); }
.footer p { color: var(--sand-300); font-size: 0.92rem; }
.footer h4 {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--candle-300);
  margin-bottom: 0.9rem;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer a { color: var(--sand-200); font-size: 0.92rem; }
.footer a:hover { color: var(--candle-300); }
.footer__bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(250, 244, 231, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--sand-300);
}

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 560px;
  margin: 0 auto;
  background: var(--sea-900);
  color: var(--sand-100);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-3);
  padding: 1.3rem 1.4rem;
  z-index: 90;
  display: none;
  gap: 1rem;
}
.cookie-banner.is-visible { display: flex; flex-direction: column; }
.cookie-banner p { color: var(--sand-200); font-size: 0.88rem; margin-bottom: 0.3rem; }
.cookie-banner a { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ============================================================
   Grain overlay
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  opacity: 0.035;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 5;
}

/* ============================================================
   Pages: generic hero-banner (sub pages)
   ============================================================ */
.page-banner {
  background: var(--sea-900);
  color: var(--sand-100);
  padding: clamp(2.6rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}
.page-banner h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 0.4rem; }
.page-banner p { color: var(--sand-200); max-width: 48ch; }
.breadcrumb { font-family: var(--font-label); font-size: 0.78rem; color: var(--candle-300); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; display: block; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; list-style: disc; }
.prose li { margin-bottom: 0.4em; }

/* ---------- two-col info blocks (delivery/returns/faq) ---------- */
.info-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .info-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .info-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.info-card {
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-m);
  padding: 1.6rem;
}
.info-card__icon { width: 30px; height: 30px; color: var(--drift-600); margin-bottom: 0.7rem; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--sand-300); }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 0.3s ease; flex: none; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.1rem; color: var(--sea-800); }

/* ---------- product detail ---------- */
.product-view {
  display: grid;
  gap: 2.4rem;
}
@media (min-width: 880px) {
  .product-view { grid-template-columns: 1fr 1fr; align-items: start; }
}
.product-view__media {
  position: relative;
  aspect-ratio: 4 / 5;
  -webkit-mask-image: var(--arch);
  mask-image: var(--arch);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.product-view__media img { width: 100%; height: 100%; object-fit: cover; }
.product-view__price { font-size: 1.8rem; font-family: var(--font-display); color: var(--sea-800); margin: 0.4rem 0 1.2rem; }
.qty-row { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.3rem; }
.qty-row input { width: 70px; text-align: center; padding: 0.6em; border: 1.5px solid var(--sand-300); border-radius: var(--radius-s); min-height: 44px; }
.product-view__meta { display: flex; flex-direction: column; gap: 0.4rem; margin: 1.2rem 0; font-size: 0.92rem; color: var(--sea-800); }

/* ---------- cart / checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; }
.cart-table th { text-align: left; font-family: var(--font-label); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--drift-600); padding: 0.6rem 0.4rem; border-bottom: 1px solid var(--sand-300); }
.cart-table td { padding: 0.9rem 0.4rem; border-bottom: 1px solid var(--sand-300); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 0.8rem; }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-s); flex: none; }
.cart-qty { width: 60px; padding: 0.4em; border: 1.5px solid var(--sand-300); border-radius: var(--radius-s); text-align: center; min-height: 40px; }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--err); min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
.cart-totals { display: flex; justify-content: flex-end; }
.cart-totals dl { display: grid; grid-template-columns: auto auto; gap: 0.4rem 1.4rem; font-size: 1rem; }
.cart-totals dt { color: var(--drift-600); }
.cart-totals .grand dt, .cart-totals .grand dd { font-family: var(--font-display); font-size: 1.3rem; color: var(--sea-800); }
.cart-empty { text-align: center; padding: 3rem 1rem; }

.checkout-grid { display: grid; gap: 2.4rem; }
@media (min-width: 920px) { .checkout-grid { grid-template-columns: 1.2fr 1fr; } }
.order-summary { background: var(--sand-200); border-radius: var(--radius-m); padding: 1.5rem; }
.order-summary li { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1px solid var(--sand-300); font-size: 0.9rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(4rem,10vw,7rem) 1rem; }
.notfound svg { width: 160px; height: 160px; margin: 0 auto 1.5rem; color: var(--drift-600); }

/* ---------- misc ---------- */
.badge-seal { width: 110px; height: 110px; color: var(--drift-600); }
.scroll-strip {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
}
.scroll-strip .card { min-width: 240px; scroll-snap-align: start; }
@media (min-width: 880px) {
  .scroll-strip { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); }
}

.table-of-contents { background: var(--sand-200); border-radius: var(--radius-s); padding: 1rem 1.3rem; font-size: 0.9rem; }
