/* Pretty Little Baby — osnovni stil
   Dan: krem / pesak / topla braon. Noć: duboka topla teget-braon sa krem tekstom. */

:root {
  --bg: #F7F1E8;
  --surface: #FBF7F1;
  --sand: #E8DCCB;
  --sand-deep: #D9C7AF;
  --text: #4A3B32;
  --muted: #7A6A5E;
  --accent: #9A5B36;        /* karamel / prigušena terakota — dugmad */
  --accent-soft: #E9CDB6;
  --on-accent: #FBF7F1;
  --line: rgba(74, 59, 50, .14);
  --shadow: 0 10px 30px -12px rgba(74, 59, 50, .25);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --max: 1160px;
  color-scheme: light;
}

html[data-theme="night"] {
  --bg: #1E1A22;
  --surface: #282330;
  --sand: #342D3B;
  --sand-deep: #433A4B;
  --text: #F2E8DA;
  --muted: #C9BBAA;
  --accent: #E0A878;
  --accent-soft: #4A3C3A;
  --on-accent: #241E28;
  --line: rgba(242, 232, 218, .14);
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  transition: background-color .6s ease, color .6s ease;
  /* zrnasta tekstura papira */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.29 0 0 0 0 0.23 0 0 0 0 0.2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); }
p { margin: 0 0 1em; }

.hand { font-family: var(--font-hand); font-size: 1.5em; line-height: 1.1; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.eyebrow::before { content: "☾"; font-size: 1rem; letter-spacing: 0; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--sand { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 10px; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn--primary:hover { color: var(--on-accent); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--soft { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn--soft:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { min-height: 38px; padding: .45em 1em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: .25em; }

/* ---------- Heder ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color .6s ease;
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { color: inherit; }
.logo-moon { width: 38px; height: 38px; flex: none; transition: filter .6s ease; }
html[data-theme="night"] .logo-moon { filter: drop-shadow(0 0 10px rgba(240, 200, 140, .65)); }
.logo-text { font-family: var(--font-hand); font-size: 1.65rem; line-height: 1; color: var(--text); white-space: nowrap; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.main-nav a::after {
  content: "✦"; position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) scale(0);
  font-size: .6rem; color: var(--accent); transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 0; color: var(--text); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--sand); color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: var(--on-accent);
  font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count:empty, .cart-count[data-zero] { display: none; }
.theme-toggle .sun { display: none; }
html[data-theme="night"] .theme-toggle .sun { display: block; }
html[data-theme="night"] .theme-toggle .moon { display: none; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 8px 20px 24px;
    transform: translateY(-110%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .logo-text { font-size: 1.4rem; }
}

/* ---------- Zvezdice (noćni režim) ---------- */
.stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1s ease; }
html[data-theme="night"] .stars { opacity: 1; }
.stars i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #F6DDB4; box-shadow: 0 0 6px #F6DDB4;
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Prikaz zavisno od režima */
html[data-theme="night"] [data-show="day"],
html:not([data-theme="night"]) [data-show="night"] { display: none !important; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 9vw, 110px) 0 clamp(56px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead { font-size: 1.2rem; max-width: 34ch; color: var(--muted); margin-bottom: 1.8em; }
.hero-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
.path-card {
  display: block; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1.5px solid var(--line); text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.path-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.path-card strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.path-card span { font-size: .9rem; color: var(--muted); }
.path-card--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.path-card--primary span { color: inherit; opacity: .85; }
.path-card--primary:hover { color: var(--on-accent); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}
@media (max-width: 420px) { .hero-paths { grid-template-columns: 1fr; } }

/* ---------- Placeholder fotografije ---------- */
.photo {
  position: relative; display: grid; place-items: center; text-align: center;
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(160deg, var(--sand) 0%, var(--sand-deep) 100%);
  color: var(--muted); padding: 24px; box-shadow: var(--shadow);
}
.photo.has-photo { background-size: cover; background-position: center; }
.photo.has-photo .photo-label, .photo.has-photo .moon-deco { display: none; }
.photo--wide { aspect-ratio: 16 / 10; }
.brand-card { gap: 10px; align-content: center; }
.brand-moon { width: 46%; max-width: 220px; filter: drop-shadow(0 10px 30px rgba(199, 154, 99, .35)); }
.brand-tag { margin: 0; font-size: 2rem; }
.photo--square { aspect-ratio: 1; }
.photo-label {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  padding: 6px 12px; border-radius: 999px; max-width: 90%;
}
.photo .moon-deco { position: absolute; width: 44%; opacity: .35; right: -6%; top: -6%; }
.hero-media { position: relative; }
.hero-badge {
  position: absolute; left: -14px; bottom: 28px;
  background: var(--surface); border-radius: var(--radius-sm); padding: 14px 18px;
  box-shadow: var(--shadow); max-width: 220px; font-size: .92rem;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; color: var(--accent); }
@media (max-width: 860px) { .hero-badge { left: 12px; } }

/* ---------- Traka poverenja ---------- */
.trust { border-block: 1px solid var(--line); padding: 18px 0; background: var(--surface); }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.trust li::before { content: "✦"; color: var(--accent); font-size: .8rem; }

/* ---------- Kartice ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.moment { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.moment .photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.moment-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.moment-time { font-family: var(--font-hand); font-size: 1.6rem; color: var(--accent); line-height: 1; margin-bottom: .4rem; }
.moment h3 { margin-bottom: .4em; }
.moment .price { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-tag { font-family: var(--font-display); font-size: 1.25rem; }

/* ---------- Alati (kartice i widgeti) ---------- */
.tool-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.tool-card:hover { color: inherit; }
.tool-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 8px; font-size: 1.4rem;
}
.tool-card .link-arrow { margin-top: auto; color: var(--accent); }

.widget {
  background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.widget + .widget { margin-top: 32px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field output { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); }

input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input:not([type]), textarea, select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }

.result {
  margin-top: 8px; padding: 22px 24px; border-radius: var(--radius-sm);
  background: var(--sand); border-left: 4px solid var(--accent);
}
.result-big { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg);
  cursor: pointer; font-weight: 600; transition: all .2s;
}
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Bela buka */
.sound-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 560px) { .sound-grid { grid-template-columns: repeat(2, 1fr); } }
.sound-btn {
  display: grid; gap: 6px; justify-items: center; padding: 18px 10px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--bg);
  color: var(--text); font: 600 .95rem var(--font-body); cursor: pointer; transition: all .25s;
}
.sound-btn .ico { font-size: 1.6rem; }
.sound-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.player-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.player-bar .volume { flex: 1 1 180px; }
.wave { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.wave i { width: 4px; height: 30%; background: var(--accent); border-radius: 2px; }
.is-playing .wave i { animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .15s; } .wave i:nth-child(3) { animation-delay: .3s; }
.wave i:nth-child(4) { animation-delay: .45s; } .wave i:nth-child(5) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* Ček-lista */
.checklist-progress { height: 10px; border-radius: 5px; background: var(--sand); overflow: hidden; margin: 8px 0 24px; }
.checklist-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s ease; }
.checklist-groups { columns: 2 320px; column-gap: 32px; }
.checklist-group { break-inside: avoid; margin-bottom: 28px; }
.checklist-group h3 { font-size: 1.2rem; display: flex; justify-content: space-between; align-items: baseline; }
.checklist-group h3 small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); }
.checklist-group ul { list-style: none; padding: 0; margin: 0; }
.checklist-group label { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.checklist-group input { margin-top: 4px; flex: none; }
.checklist-group input:checked + span { text-decoration: line-through; color: var(--muted); }

/* ---------- Utisci ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reviews--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .reviews, .reviews--two { grid-template-columns: 1fr; } }
.review {
  background: var(--surface); border-radius: 20px 20px 20px 6px; padding: 22px 24px;
  border: 1px solid var(--line); position: relative;
}
.review p { font-size: 1rem; }
.review footer { font-size: .88rem; color: var(--muted); font-weight: 600; }
.placeholder-note { font-size: .8rem; color: var(--muted); font-style: italic; }

/* ---------- Instagram traka ---------- */
.ig-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 760px) { .ig-strip { grid-template-columns: repeat(3, 1fr); } }
.ig-strip a { display: block; text-decoration: none; }
.ig-strip .photo { aspect-ratio: 1; border-radius: 12px; padding: 8px; box-shadow: none; transition: transform .3s; }
.ig-strip a:hover .photo { transform: scale(.97); }
.ig-strip .photo-label { font-size: .62rem; }

/* ---------- Proizvod ---------- */
.product-hero { padding: clamp(32px, 6vw, 72px) 0; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }
.gallery-main { margin-bottom: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--accent); }
.gallery-thumbs .photo { aspect-ratio: 1; border-radius: 10px; box-shadow: none; padding: 6px; }
.gallery-thumbs .photo-label { font-size: .58rem; padding: 3px 6px; }
.product-info .subtitle { color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-top: -.3em; }
.product-price { font-family: var(--font-display); font-size: 2rem; margin: 18px 0 4px; }
.product-price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.feature-list .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.gift-option { display: flex; gap: 10px; align-items: center; margin: 16px 0; font-weight: 600; }
.dm-row { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.dm-row a { font-weight: 700; color: var(--text); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
.timeline li { position: relative; padding: 0 12px; text-align: center; }
.timeline .dot { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--surface); border: 2px solid var(--accent); position: relative; }
.timeline .time { font-family: var(--font-hand); font-size: 1.7rem; color: var(--accent); line-height: 1; }
.timeline h3 { font-size: 1.1rem; margin: .3em 0; }
.timeline p { font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { left: 29px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
  .timeline li { display: grid; grid-template-columns: 60px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .timeline .dot { grid-row: span 3; margin: 0; }
}

details.spec, details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 18px; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.spec-table th { width: 45%; font-weight: 600; color: var(--text); }

/* Monitor — 4 funkcije */
.modes { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; }
@media (max-width: 860px) { .modes { grid-template-columns: 1fr; } }
.mode-tabs { display: grid; gap: 10px; }
.mode-tab {
  display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; text-align: left;
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: all .25s;
}
.mode-tab .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); font-size: 1.3rem; }
.mode-tab strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.mode-tab span.d { font-size: .9rem; color: var(--muted); }
.mode-tab[aria-selected="true"] { border-color: var(--accent); box-shadow: var(--shadow); }
.mode-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #2A2433, #1B1720); color: #F2E8DA; box-shadow: var(--shadow);
}
.mode-panel { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; opacity: 0; transition: opacity .5s ease; }
.mode-panel.is-active { opacity: 1; }
.mode-panel p { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; font-size: .95rem; opacity: .85; }
.sky i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #F6DDB4; box-shadow: 0 0 8px #F6DDB4; animation: twinkle 2.6s ease-in-out infinite; }
.sky .big-moon { width: 90px; height: 90px; border-radius: 50%; box-shadow: inset -22px -6px 0 0 #F3D9AE; transform: rotate(-20deg); }
.waves-big { display: flex; gap: 6px; align-items: center; height: 120px; }
.waves-big i { width: 8px; border-radius: 4px; background: #E0A878; height: 20%; animation: wave 1.4s ease-in-out infinite; }
.thermo { display: flex; gap: 32px; }
.thermo div { font-family: var(--font-display); font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; }
.thermo small { display: block; font-family: var(--font-body); font-size: .85rem; opacity: .75; margin-top: 6px; }
.talk { display: flex; align-items: center; gap: 22px; font-size: 2.6rem; }
.talk .arrows { font-size: 1.4rem; letter-spacing: 4px; color: #E0A878; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Poklon vodič ---------- */
.guide-step { display: none; }
.guide-step.is-active { display: block; animation: fadeUp .45s ease both; }
.guide-progress { display: flex; gap: 8px; margin-bottom: 22px; }
.guide-progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--sand); transition: background .3s; }
.guide-progress span.done { background: var(--accent); }
.tone-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.note-card {
  font-family: var(--font-hand); font-size: 1.6rem; line-height: 1.3;
  background: var(--bg); border: 1px dashed var(--accent); border-radius: var(--radius-sm);
  padding: 22px 24px; margin: 12px 0 16px; min-height: 120px;
}
.set-contents { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.set-contents li { display: flex; gap: 12px; align-items: baseline; }
.set-contents li::before { content: "✦"; color: var(--accent); font-size: .85rem; }

/* ---------- Porudžbina ---------- */
.order-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .order-grid { grid-template-columns: 1fr; } }
.cart-list { list-style: none; padding: 0; margin: 0 0 16px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item .name { font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 38px; height: 38px; border: 0; background: none; color: var(--text); font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .85rem; text-decoration: underline; padding: 0; }
.totals { display: grid; gap: 6px; padding: 14px 0; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--font-display); font-size: 1.4rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.error { color: #B04A3A; font-size: .88rem; }
html[data-theme="night"] .error { color: #F2A18F; }
.empty-cart { text-align: center; padding: 40px 0; }

/* ---------- Tekst bloga ---------- */
.article-body h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.4em; }
.article-body blockquote { margin: 1em 0; padding: 10px 18px; border-left: 3px solid var(--accent); background: var(--sand); border-radius: 0 10px 10px 0; }
.article-body figure { margin: 1.4em 0; }
.article-body figure img { border-radius: 14px; width: 100%; }
.article-body figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { text-decoration: none; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { color: inherit; }
.post-card .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.post-card .moment-body { padding: 22px 24px 26px; }
.product-grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .product-grid-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid-list { grid-template-columns: 1fr; } }
.is-unavailable { opacity: .55; pointer-events: none; }

/* ---------- Pravni tekst ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.fill { background: var(--accent-soft); padding: 0 .3em; border-radius: 4px; }

/* ---------- Futer ---------- */
.site-footer { background: var(--sand); padding: 64px 0 32px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .85rem; }

/* ---------- Toast / kolačići ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px;
  font-weight: 600; z-index: 80; transition: transform .35s ease; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast a { color: inherit; }
.cookie-bar {
  position: fixed; right: 16px; bottom: 16px; z-index: 70; max-width: 360px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; box-shadow: var(--shadow); font-size: .9rem;
}
.cookie-bar p { margin-bottom: 10px; }
@media (max-width: 480px) { .cookie-bar { left: 16px; max-width: none; } }

/* ---------- Animacije na skrol ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Štampa (ček-lista kao PDF) ---------- */
@media print {
  .site-header, .site-footer, .cookie-bar, .toast, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .widget { box-shadow: none; border: 0; padding: 0; }
  .checklist-groups { columns: 2; }
}
