/* ============================================================
   CocoSmooth™ — store stylesheet
   Fonts: Fraunces (display) + Inter (body), loaded per-page.
   ============================================================ */

:root {
  --bg: #FBF8F2;
  --bg-alt: #F3EDE2;
  --surface: #FFFFFF;
  --ink: #1C1B17;
  --muted: #6F6A5E;
  --line: #E7DFD1;
  --green: #1C5B3B;
  --green-dark: #123F28;
  --green-soft: #E4EFE7;
  --gold: #C8A24B;
  --danger: #B3402A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(28, 27, 23, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 27, 23, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(760px, 92%); margin: 0 auto; }

section { padding: clamp(56px, 8vw, 96px) 0; }

section.alt {
  background:
    radial-gradient(640px 340px at 92% 0%, rgba(28, 91, 59, 0.08), transparent 62%),
    radial-gradient(560px 320px at 0% 100%, rgba(200, 162, 75, 0.12), transparent 62%),
    var(--bg-alt);
}

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 14px; }
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  margin: 18px auto 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* Oversized typographic watermark behind a section (set data-watermark="WORD") */
.wm { position: relative; }
.wm::before {
  content: attr(data-watermark);
  content: attr(data-watermark) / ""; /* skriveno za čitače ekrana gde je podržano */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 24vw, 22rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.wm > * { position: relative; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, #27754E, var(--green) 55%, var(--green-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(28, 91, 59, 0.32);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(28, 91, 59, 0.4); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-block { width: 100%; }
.btn-lg { padding: 19px 40px; font-size: 1.06rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-microcopy {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 16px;
}
.announce span { opacity: 0.75; margin: 0 10px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.logo em { font-style: normal; color: var(--green); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
}
.cart-btn:hover { background: #000; }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---------- Cart drawer ---------- */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 12, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
  touch-action: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(430px, 94vw);
  background: var(--surface);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-lg);
}

body.cart-open .cart-drawer { transform: translateX(0); }
body.cart-open .drawer-overlay { opacity: 1; pointer-events: auto; }
body.cart-open { overflow: hidden; }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head h3 { font-size: 1.15rem; }

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -8px -10px -8px 0;
}
.drawer-close:hover { color: var(--ink); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 24px; overscroll-behavior: contain; }

.cart-empty { text-align: center; padding: 48px 12px; color: var(--muted); }
.cart-empty .btn { margin-top: 18px; }

.cart-line { display: flex; gap: 16px; }
.cart-line-img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-line-info { flex: 1; }
.cart-line-info h4 { font-size: 0.95rem; font-weight: 600; line-height: 1.35; }
.cart-line-price { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-top: 12px;
  overflow: hidden;
}
.qty-stepper button {
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.05rem;
  color: var(--ink);
}
.qty-stepper button:hover { background: var(--bg-alt); }
.qty-stepper .qty-value {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  margin-top: 4px;
  padding: 10px 6px 10px 0;
}
.cart-remove:hover { color: var(--danger); }

.cart-upsell {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 500;
}

.cart-drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; }

.totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.94rem;
  padding: 4px 0;
  color: var(--muted);
}
.totals-row.discount { color: var(--green); font-weight: 600; }
.totals-row.grand {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.12rem;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.cart-drawer-foot .btn { margin-top: 16px; }
.checkout-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 12px; }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(56px, 8vw, 104px) 0;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(200, 162, 75, 0.28), transparent 62%),
    radial-gradient(760px 520px at -12% 112%, rgba(64, 145, 104, 0.30), transparent 62%),
    linear-gradient(150deg, #0E3520, #17492E 55%, var(--green-dark));
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy .btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.hero-copy p.lead { color: var(--muted); font-size: 1.12rem; margin-top: 20px; max-width: 480px; }

.hero-media { position: relative; }

.media-frame {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  background: linear-gradient(145deg, #EFE7D8, #DDEAE0);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
}
.media-frame.wide { aspect-ratio: 16 / 10; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame img.img-contain { object-fit: contain; padding: 8%; box-sizing: border-box; }
.cart-line-img.img-contain, img.cart-line-img[src$=".svg"] { object-fit: contain; padding: 6px; box-sizing: border-box; }

.hero-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.hero-badge .stars { color: var(--gold); letter-spacing: 2px; }

/* Dark hero overrides (homepage) */
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .hero-copy p.lead { color: rgba(255, 255, 255, 0.80); }
.hero .btn-microcopy { color: rgba(255, 255, 255, 0.62); }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
.hero .btn-primary {
  background: linear-gradient(135deg, #E2BE6C, var(--gold) 55%, #A8853B);
  color: #241D0D;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.hero .media-frame {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(200, 162, 75, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero .hero-badge { color: var(--ink); }

/* Product jar silhouette behind hero copy */
.hero-jar {
  position: absolute;
  left: -56px;
  bottom: -96px;
  width: clamp(230px, 27vw, 400px);
  opacity: 0.15;
  transform: rotate(-12deg);
  pointer-events: none;
  user-select: none;
}

/* ---------- Photo banner (image behind text) ---------- */

.photo-banner {
  position: relative;
  background:
    linear-gradient(155deg, rgba(10, 40, 24, 0.88), rgba(14, 53, 32, 0.55) 55%, rgba(10, 40, 24, 0.84)),
    url("../img/banner.jpg") center / cover no-repeat,
    url("../img/hero.jpg") center / cover no-repeat,
    var(--green-dark);
  color: #fff;
  text-align: center;
  padding: clamp(76px, 12vw, 148px) 0;
}
.photo-banner .eyebrow { color: var(--gold); }
.photo-banner h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.photo-banner p { color: rgba(255, 255, 255, 0.85); max-width: 520px; margin: 16px auto 0; font-size: 1.05rem; }
.photo-banner .btn { margin-top: 30px; }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.marquee-track span { margin: 0 26px; }
.marquee-track .dot { color: var(--gold); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Benefit cards ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.benefit-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.benefit-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Steps (How it works) ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Before / After ---------- */

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ba-item { position: relative; }
.ba-item .media-frame { aspect-ratio: 1 / 1; }
.ba-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Video ---------- */

.video-frame {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.review-card .stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }
.review-card blockquote { margin: 14px 0 18px; font-size: 0.97rem; line-height: 1.65; }
.review-card figcaption { font-size: 0.86rem; font-weight: 600; }
.review-card figcaption span {
  display: inline-block;
  margin-left: 8px;
  color: var(--green);
  font-weight: 600;
  font-size: 0.78rem;
}

/* ---------- Guarantee band ---------- */

.band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 90% -20%, rgba(200, 162, 75, 0.28), transparent 62%),
    radial-gradient(520px 360px at 0% 120%, rgba(64, 145, 104, 0.35), transparent 62%),
    var(--green-dark);
  color: #fff;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin: 16px auto 0; }
.band .btn { margin-top: 30px; background: #fff; color: var(--green-dark); }
.band .btn:hover { background: var(--bg); }

/* ---------- Trust row ---------- */

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  font-size: 0.87rem;
  color: var(--muted);
  font-weight: 500;
}
.trust-row li { list-style: none; display: flex; align-items: center; gap: 8px; }
.trust-row .tick { color: var(--green); font-weight: 700; }

/* ---------- Product page ---------- */

.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 22px 0 0; }
.breadcrumb a:hover { color: var(--ink); }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: 32px 0 64px;
}

.gallery-main { margin-bottom: 16px; }
.gallery-main .media-frame { aspect-ratio: 1 / 1; }

.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  padding: 0;
  aspect-ratio: 1 / 1;
  transition: border-color 0.15s;
}
.gallery-thumbs button.active { border-color: var(--green); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy-box { position: sticky; top: 96px; }
.buy-box h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
  font-size: 0.9rem;
  color: var(--muted);
}
.rating-row .stars { color: var(--gold); letter-spacing: 2px; }

.price-row { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 20px; }
.price-current { font-size: 1.9rem; font-weight: 700; font-family: var(--font-display); }
.price-compare { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }
.price-save {
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.benefit-ticks { list-style: none; margin: 0 0 26px; }
.benefit-ticks li { display: flex; gap: 10px; padding: 5px 0; font-size: 0.97rem; }
.benefit-ticks .tick { color: var(--green); font-weight: 700; }

/* Bundle selector */

.bundle-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }

.bundles { display: grid; gap: 12px; margin-bottom: 22px; }

.bundle {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  width: 100%;
}
.bundle:hover { border-color: var(--green); }
.bundle.active { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }

.bundle-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line);
  position: relative;
  flex-shrink: 0;
}
.bundle.active .bundle-radio { border-color: var(--green); }
.bundle.active .bundle-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
}

.bundle-info h4 { font-size: 0.98rem; font-weight: 700; }
.bundle-info p { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

.bundle-price { text-align: right; }
.bundle-price .now { font-weight: 700; font-size: 1.05rem; display: block; }
.bundle-price .was { font-size: 0.82rem; color: var(--muted); text-decoration: line-through; }

.bundle-tag {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.bundle-tag.best { background: var(--green); color: #fff; }

.buy-box .trust-row { margin: 22px 0 6px; padding: 0; }

/* Accordions */

.accordion { border-top: 1px solid var(--line); margin-top: 26px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 4px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); transition: transform 0.2s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 4px 20px; color: var(--muted); font-size: 0.94rem; }
.accordion .acc-body ul, .accordion .acc-body ol { padding-left: 20px; margin: 8px 0; }
.accordion .acc-body li { margin: 4px 0; }

.patch-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #FBF3E4;
  border: 1px solid #EEDFC0;
  font-size: 0.85rem;
  color: #7A6231;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list .accordion { border-top: 1px solid var(--line); margin-top: 0; }

/* ---------- Cart page ---------- */

.page-title { padding: clamp(36px, 6vw, 64px) 0 0; }

.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0 80px;
}

.cart-items-panel, .summary-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.summary-panel { position: sticky; top: 96px; }
.summary-panel h3 { margin-bottom: 14px; }

/* ---------- Checkout ---------- */

.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0 80px;
}

.form-section { margin-bottom: 34px; }
.form-section h3 { margin-bottom: 16px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 1rem; /* min 16px — sprečava iOS auto-zoom na fokus */
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}
.field textarea { resize: vertical; min-height: 130px; }

.secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
  justify-content: center;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.form-status.err { display: block; background: #FBE9E4; color: var(--danger); }

/* ---------- Policy / prose pages ---------- */

.prose { padding: 24px 0 90px; }
.prose h1 { margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 0.86rem; margin-bottom: 36px; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.prose p { margin: 12px 0; color: #3E3B33; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; color: #3E3B33; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--green); text-decoration: underline; }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0 90px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 18px;
}
.contact-card h3 { margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 0.94rem; }
.contact-card a { color: var(--green); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .logo { color: #fff; }
.footer-blurb { font-size: 0.9rem; margin-top: 14px; max-width: 300px; }

.footer-company {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 16px;
  line-height: 1.7;
}
.footer-company strong { color: rgba(255, 255, 255, 0.85); }
.footer-company a { color: rgba(255, 255, 255, 0.55); }
.footer-company a:hover { color: #fff; }

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin: 9px 0; }
.footer-col a { font-size: 0.92rem; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.8rem;
}

.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 18px;
  max-width: 720px;
}

/* ---------- Responsive ---------- */

/* ---------- Mobile sticky add-to-cart (product page) ---------- */

.mobile-atc { display: none; }

@media (max-width: 960px) {
  .hero-grid, .product-layout, .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .buy-box, .summary-panel { position: static; }
  .checkout-layout .summary-panel { order: -1; }

  .mobile-atc {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 242, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(28, 27, 23, 0.12);
  }
  .mobile-atc .btn { padding: 14px 28px; flex-shrink: 0; }
  .mobile-atc-info { display: flex; flex-direction: column; line-height: 1.3; }
  .mobile-atc-info strong { font-family: var(--font-display); font-size: 1.2rem; }
  .mobile-atc-info span { font-size: 0.74rem; color: var(--green); font-weight: 600; }
  body.page-product main { padding-bottom: 100px; }
  body.page-product .site-footer { padding-bottom: calc(32px + 100px); }
}

@media (max-width: 620px) {
  section { padding: 46px 0; }
  .announce { font-size: 0.7rem; letter-spacing: 0.05em; padding: 8px 12px; }
  .site-header .container { flex-wrap: wrap; padding: 12px 0; row-gap: 2px; }
  .logo { font-size: 1.3rem; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: 28px; }
  .main-nav a { font-size: 0.92rem; padding: 11px 8px; }
  .cart-btn span.cart-btn-label { display: none; }
  .benefit-grid, .ba-grid, .form-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .hero-copy .btn-row { gap: 10px; }
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: 34px; }
  .benefit-card { padding: 24px 20px; }
  .step-card { padding: 26px 22px; }
  .bundle { padding: 15px 14px; gap: 12px; }
  .buy-box h1 { font-size: 1.65rem; }
  .price-current { font-size: 1.6rem; }
  .qty-stepper button { width: 42px; height: 42px; }
  .cart-drawer { width: 100vw; }
  .cart-drawer-body { padding: 18px; }
  .cart-drawer-foot { padding: 16px 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .band { padding: 36px 22px; }
  .wm::before { -webkit-text-stroke-width: 1px; }
}
