/* Nadaliora — hrvatska čokolaterija. Self-contained stylesheet, no external fonts/CDN. */

:root{
  --bg: oklch(96% 0.02 75);
  --bg-hero-top: oklch(94% 0.025 72);
  --text: oklch(24% 0.03 45);
  --text-strong: oklch(26% 0.04 42);
  --text-heading: oklch(28% 0.04 42);
  --text-muted: oklch(42% 0.02 45);
  --text-muted-2: oklch(38% 0.02 45);
  --brown: oklch(32% 0.05 45);
  --brown-strong: oklch(30% 0.05 44);
  --brown-darker: oklch(24% 0.035 44);
  --red: oklch(48% 0.13 40);
  --red-hover: oklch(40% 0.13 40);
  --red-strong: oklch(58% 0.13 40);
  --red-strong-2: oklch(55% 0.13 40);
  --olive: oklch(52% 0.09 110);
  --olive-2: oklch(50% 0.08 110);
  --olive-circle: oklch(90% 0.03 100);
  --green-ok: oklch(45% 0.09 120);
  --green-ok-2: oklch(52% 0.09 110);
  --warn: oklch(50% 0.1 40);
  --cream: oklch(97% 0.01 75);
  --card: oklch(93% 0.02 60);
  --card-2: oklch(92% 0.025 65);
  --line: oklch(85% 0.03 55);
  --line-2: oklch(80% 0.02 55);
  --footer-text: oklch(84% 0.015 75);
  --footer-text-2: oklch(76% 0.015 75);
  --footer-text-3: oklch(72% 0.015 75);
  --footer-text-4: oklch(62% 0.015 75);
  --footer-line: oklch(35% 0.03 44);
  --input-bg: oklch(98% 0.01 75);
}

:root{
  --font-sans: 'Segoe UI', 'Work Sans', Roboto, Arial, sans-serif;
  --font-serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-sans);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
h1,h2,.serif{
  font-family:var(--font-serif);
  font-weight:500;
}
a{color:var(--red);text-decoration:none}
a:hover{color:var(--red-hover)}
::selection{background:oklch(84% 0.06 45)}
img{max-width:100%;display:block}
button{font-family:inherit}

.site-wrap{display:flex;flex-direction:column;min-height:100vh}
.main{flex:1}

/* top announcement bar */
.announce{
  background:var(--brown);color:oklch(92% 0.015 75);
  text-align:center;font-size:13px;padding:8px 16px;letter-spacing:.02em;
}

/* header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:oklch(96% 0.02 75 / 0.97);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 32px;gap:16px;
}
.logo{
  cursor:pointer;font-family:var(--font-serif);font-style:italic;font-weight:600;
  font-size:28px;color:var(--brown-strong);letter-spacing:.01em;
}
.logo:hover{color:var(--brown-strong)}
.nd-nav{display:flex;gap:26px;align-items:center;flex-wrap:wrap}
.nd-nav a{
  font-size:15px;font-weight:500;color:var(--text-muted-2);
  border-bottom:2px solid transparent;padding-bottom:4px;white-space:nowrap;
}
.nd-nav a.active{color:var(--red);border-bottom-color:var(--red)}
.header-right{display:flex;align-items:center;gap:18px}
.cart-link{
  cursor:pointer;position:relative;font-size:15px;font-weight:600;
  color:var(--brown-strong);white-space:nowrap;
}
.cart-badge{
  position:absolute;top:-10px;right:-16px;background:var(--red-strong-2);
  color:var(--cream);font-size:11px;font-weight:700;border-radius:10px;
  padding:1px 6px;min-width:16px;text-align:center;display:none;
}
.cart-badge.show{display:inline-block}
.nav-toggle{display:none;background:transparent;border:1px solid var(--line-2);border-radius:4px;padding:8px 10px;cursor:pointer;font-size:16px;color:var(--brown-strong)}
.nd-navmob{display:none;overflow-x:auto;gap:16px;padding:10px 16px;border-bottom:1px solid var(--line);background:var(--bg)}
.nd-navmob a{cursor:pointer;font-size:13px;font-weight:600;color:var(--text-muted-2);white-space:nowrap}
.nd-navmob a.active{color:var(--red)}

/* cookie banner */
.cookie-banner{
  position:fixed;bottom:0;left:0;right:0;z-index:100;
  background:oklch(28% 0.04 45);color:oklch(94% 0.015 75);
  padding:16px 24px;display:flex;gap:20px;align-items:center;justify-content:space-between;
  flex-wrap:wrap;box-shadow:0 -4px 20px oklch(0% 0 0 / 0.2);
}
.cookie-banner.hidden{display:none}
.cookie-text{font-size:14px;max-width:640px}
.cookie-text a{text-decoration:underline;color:oklch(94% 0.015 75)}
.cookie-actions{display:flex;gap:10px;flex-shrink:0}
.btn-ghost-dark{background:transparent;border:1px solid oklch(70% 0.02 75);color:oklch(94% 0.015 75);padding:9px 16px;border-radius:4px;font-size:13px;cursor:pointer}
.btn-accent{background:var(--red-strong);border:none;color:oklch(98% 0.01 75);padding:9px 18px;border-radius:4px;font-size:13px;font-weight:600;cursor:pointer}

/* buttons */
.btn{
  border:none;padding:15px 30px;border-radius:4px;font-size:15px;font-weight:600;
  cursor:pointer;font-family:inherit;display:inline-block;text-align:center;
}
.btn-primary{background:var(--brown);color:var(--cream)}
.btn-primary:hover{background:var(--brown-strong);color:var(--cream)}
.btn-outline{background:transparent;color:var(--brown);border:1.5px solid var(--brown)}
.btn-outline:hover{color:var(--brown)}
.btn-cta{background:var(--red-strong);color:oklch(98% 0.01 75);padding:13px 26px}
.btn-cta:hover{color:oklch(98% 0.01 75)}
.btn-sm{padding:9px 16px;font-size:13px}
.btn:disabled{opacity:.55;cursor:not-allowed}

/* hero */
.hero{
  padding:90px 32px 80px;text-align:center;
  background:linear-gradient(180deg, var(--bg-hero-top), var(--bg));
  max-width:880px;margin:0 auto;
}
.eyebrow{font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--olive);margin-bottom:18px;font-weight:600}
.hero h1{font-size:56px;line-height:1.08;margin:0 0 22px;color:var(--text-strong)}
.hero p.lead{font-size:19px;line-height:1.6;color:var(--text-muted-2);margin:0 0 34px;max-width:600px;margin-inline:auto}
.hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* sections / layout helpers */
.section{padding:64px 32px;max-width:1180px;margin:0 auto}
.section-title{font-size:30px;margin:0 0 30px;color:var(--text-strong)}
.section-title.center{text-align:center}
.section-head-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:30px;flex-wrap:wrap;gap:10px}
.section-head-row h2{margin:0}
.link-arrow{font-weight:600;font-size:14px;cursor:pointer;border-bottom:1px solid currentColor}

.nd-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.nd-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.nd-2col{display:grid;grid-template-columns:1fr 1fr;gap:48px}

/* category tiles */
.cat-tile{cursor:pointer;border-radius:6px;overflow:hidden;background:var(--card);display:block}
.cat-tile .tile-img{aspect-ratio:1/1;background-size:cover;background-position:center}
.cat-tile .tile-label{padding:14px 16px;font-weight:600;font-size:15px;color:var(--text-heading)}

/* product card */
.product-card{background:var(--card);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;height:100%}
.product-card .p-img{aspect-ratio:1/1;background-size:cover;background-position:center;display:block}
.product-card .p-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1}
.product-card .p-name{font-weight:600;font-size:14px;color:var(--text-heading);line-height:1.35;min-height:38px}
.product-card .p-weight{font-size:12px;color:var(--text-muted)}
.product-card .p-row{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:6px}
.product-card .p-price{font-weight:700;font-size:16px;color:var(--red)}
.product-card .p-add{background:var(--brown);color:var(--cream);border:none;padding:8px 14px;border-radius:4px;font-size:12px;font-weight:600;cursor:pointer}
.product-card.unavailable .p-add{opacity:.5;cursor:not-allowed}

/* gift band */
.gift-band{padding:56px 32px;background:var(--brown-strong);color:oklch(94% 0.015 75)}
.gift-band-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.gift-band-text{max-width:520px}
.gift-band .eyebrow{color:oklch(72% 0.08 90)}
.gift-band h2{margin:0 0 14px}
.gift-band p{font-size:15px;line-height:1.6;color:oklch(88% 0.015 75);margin:0 0 22px}
.gift-band-img{width:280px;aspect-ratio:4/3;border-radius:6px;flex-shrink:0;background-size:cover;background-position:center}

/* why-us */
.why-item{text-align:center;padding:0 8px}
.why-icon{width:52px;height:52px;border-radius:50%;background:var(--olive-circle);margin:0 auto 16px;display:flex;align-items:center;justify-content:center}
.why-icon span{width:20px;height:20px;border-radius:50%;background:var(--olive-2);display:block}
.why-item .why-title{font-weight:600;font-size:16px;margin-bottom:8px;color:var(--text-heading)}
.why-item .why-text{font-size:14px;line-height:1.55;color:var(--text-muted)}

/* story band */
.story{padding:64px 32px;background:var(--card-2)}
.story-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.story-img{aspect-ratio:5/4;border-radius:6px;background-size:cover;background-position:center}
.story h2{margin:0 0 16px;color:var(--text-strong)}
.story p{font-size:15px;line-height:1.7;color:var(--text-muted-2);margin:0 0 20px}

/* article cards */
.article-card{cursor:pointer;background:var(--card);border-radius:6px;overflow:hidden;display:block}
.article-card .a-img{aspect-ratio:16/9;background-size:cover;background-position:center}
.article-card .a-body{padding:18px}
.article-card .a-title{font-weight:600;font-size:15px;color:var(--text-heading);line-height:1.4}
.article-card .a-excerpt{font-size:13px;color:oklch(44% 0.02 45);line-height:1.5;margin-top:8px}

/* delivery strip */
.delivery-strip{background:var(--card);border-radius:8px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.delivery-strip .dt{font-weight:600;font-size:18px;margin-bottom:6px;color:var(--text-heading)}
.delivery-strip .dd{font-size:14px;color:var(--text-muted)}

/* chips (catalog filters) */
.chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:34px}
.chip{cursor:pointer;font-size:13px;font-weight:600;padding:9px 16px;border-radius:20px;background:transparent;color:var(--text-muted-2);border:1px solid var(--line-2)}
.chip.active{background:var(--brown);color:var(--cream);border-color:var(--brown)}

/* product detail */
.back-link{cursor:pointer;font-size:13px;font-weight:600;color:var(--text-muted);border-bottom:1px solid currentColor}
.pd-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:26px}
.pd-img{aspect-ratio:1/1;border-radius:8px;background-size:cover;background-position:center}
.pd-cat{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--olive-2);font-weight:600;margin-bottom:10px}
.pd-name{font-size:32px;margin:0 0 12px;color:var(--text-strong)}
.pd-price{font-size:26px;font-weight:700;color:var(--red);margin-bottom:6px}
.pd-vat{font-size:13px;color:var(--text-muted);margin-bottom:20px}
.pd-desc{font-size:15px;line-height:1.6;color:var(--text-muted-2);margin:0 0 22px}
.pd-avail{font-size:13px;font-weight:600;margin-bottom:16px}
.pd-avail.ok{color:var(--green-ok)}
.pd-avail.no{color:var(--warn)}
.qty-stepper{display:flex;align-items:center;border:1px solid var(--line-2);border-radius:4px}
.qty-stepper button{width:38px;height:40px;border:none;background:transparent;font-size:16px;cursor:pointer}
.qty-stepper .qty-val{width:34px;text-align:center;font-weight:600}
.pd-actions{display:flex;align-items:center;gap:14px;margin-bottom:24px}
.pd-actions .btn{flex:1}
.pd-facts{border-top:1px solid var(--line);padding-top:20px;display:flex;flex-direction:column;gap:12px}
.pd-facts .fact strong{font-weight:600;font-size:13px;color:var(--text-heading)}
.pd-facts .fact span{font-size:13px;color:var(--text-muted)}

/* article detail */
.article-hero-img{aspect-ratio:16/8;border-radius:6px;margin-bottom:30px;background-size:cover;background-position:center}
.article-body p{font-size:16px;line-height:1.75;color:oklch(32% 0.02 45);margin:0 0 20px}

/* about / legal blocks */
.text-block{margin-bottom:32px}
.text-block h2{font-size:22px;margin:0 0 10px;color:var(--brown-strong)}
.text-block p{font-size:15px;line-height:1.75;color:oklch(34% 0.02 45);margin:0}
.legal-block{margin-bottom:26px}
.legal-block h2{font-size:19px;margin:0 0 8px;color:var(--brown-strong)}
.legal-block p{font-size:14px;line-height:1.75;color:oklch(36% 0.02 45);margin:0}

/* faq */
.faq-item{border-bottom:1px solid var(--line);padding:20px 0}
.faq-item .fq{font-weight:600;font-size:16px;color:var(--text-heading);margin-bottom:8px}
.faq-item .fa{font-size:14px;line-height:1.65;color:var(--text-muted)}

/* contact */
.contact-card{background:var(--card);border-radius:8px;padding:28px;display:flex;flex-direction:column;gap:14px;font-size:14px;color:oklch(34% 0.02 45)}
.contact-card strong{color:var(--text-heading)}
.map-photo{margin-top:20px;aspect-ratio:16/9;border-radius:6px;background-size:cover;background-position:center}

/* forms */
.form-col{display:flex;flex-direction:column;gap:14px}
.field{padding:13px 14px;border:1px solid var(--line-2);border-radius:4px;font-size:14px;font-family:inherit;background:var(--input-bg);width:100%}
textarea.field{resize:vertical}
.checkbox-row{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--text-muted)}
.checkbox-row input{margin-top:2px}
.radio-row{display:flex;gap:10px;align-items:center;font-size:14px;padding:12px;border:1px solid var(--line-2);border-radius:4px;cursor:pointer}
.two-fields{display:flex;gap:12px}
.two-fields .field.postal{width:140px;flex:none}
.form-note{font-weight:600;font-size:15px;color:var(--text-heading);margin:14px 0 4px}
.success-box{background:oklch(90% 0.04 110);border-radius:8px;padding:28px;font-size:15px;color:oklch(28% 0.06 110);font-weight:600}

/* cart */
.cart-line{display:flex;gap:18px;align-items:center;padding:16px;background:var(--card);border-radius:8px}
.cart-line .ci-img{width:74px;height:74px;flex-shrink:0;border-radius:4px;background-size:cover;background-position:center}
.cart-line .ci-info{flex:1}
.cart-line .ci-name{font-weight:600;font-size:15px;color:var(--text-heading)}
.cart-line .ci-meta{font-size:13px;color:var(--text-muted)}
.cart-line .ci-sub{width:80px;text-align:right;font-weight:700;font-size:15px;color:var(--text-muted-2)}
.cart-line .ci-remove{cursor:pointer;font-size:13px;color:oklch(50% 0.02 45);margin-left:6px;background:none;border:none}
.cart-summary{width:320px;display:flex;flex-direction:column;gap:10px;margin-left:auto}
.summary-row{display:flex;justify-content:space-between;font-size:14px;color:var(--text-muted)}
.summary-row.small{font-size:12px;color:oklch(52% 0.02 45)}
.summary-row.total{font-size:18px;font-weight:700;color:var(--text-heading);border-top:1px solid var(--line-2);padding-top:10px;margin-top:6px}

.checkout-summary{background:var(--card);border-radius:8px;padding:24px;align-self:start}
.checkout-summary .cs-title{font-weight:600;font-size:15px;color:var(--text-heading);margin-bottom:16px}
.checkout-summary .cs-row{display:flex;justify-content:space-between;font-size:13px;color:var(--text-muted-2);margin-bottom:8px}
.checkout-summary .cs-totals{border-top:1px solid var(--line-2);margin-top:12px;padding-top:12px;display:flex;flex-direction:column;gap:8px}
.checkout-summary .cs-totals .grand{font-size:17px;font-weight:700;color:var(--text-heading)}

.empty-cart{text-align:center;padding:60px 0}
.empty-cart p{font-size:16px;color:var(--text-muted);margin:0 0 24px}

/* confirmation */
.confirm-box{padding:90px 32px;max-width:640px;margin:0 auto;text-align:center}
.confirm-dot{width:60px;height:60px;border-radius:50%;background:var(--green-ok-2);margin:0 auto 26px}
.confirm-box h1{font-size:32px;margin:0 0 14px;color:var(--text-strong)}
.confirm-box p{font-size:15px;line-height:1.6;color:var(--text-muted-2);margin:0 0 8px}

/* footer */
.site-footer{background:var(--brown-darker);color:var(--footer-text);padding:56px 32px 28px}
.nd-footcols{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr 1fr 1.3fr;gap:36px;margin-bottom:36px}
.footer-brand{font-family:var(--font-serif);font-style:italic;font-weight:600;font-size:24px;color:oklch(94% 0.015 75);margin-bottom:14px}
.footer-desc{font-size:13px;line-height:1.7;color:var(--footer-text-3);max-width:260px}
.footer-h{font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:16px;color:oklch(94% 0.015 75)}
.footer-links{display:flex;flex-direction:column;gap:10px}
.footer-links a{font-size:13px;color:var(--footer-text-2)}
.footer-contact{display:flex;flex-direction:column;gap:8px;font-size:13px;color:var(--footer-text-2)}
.footer-bottom{max-width:1180px;margin:0 auto;border-top:1px solid var(--footer-line);padding-top:22px;font-size:12px;color:var(--footer-text-4)}

/* generic page header */
.page-head{padding:48px 32px;max-width:1180px;margin:0 auto}
.page-head h1{font-size:36px;margin:0 0 8px;color:var(--text-strong)}
.page-head .count{font-size:15px;color:var(--text-muted);margin:0 0 30px}
.page-narrow{padding:56px 32px;max-width:760px;margin:0 auto}
.page-narrow-md{padding:56px 32px;max-width:1080px;margin:0 auto}
.page-820{padding:56px 32px;max-width:820px;margin:0 auto}

/* skip link */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--brown);color:#fff;padding:10px 16px;z-index:1000}
.skip-link:focus{left:8px;top:8px}

/* responsive */
@media (max-width:820px){
  .nd-nav{display:none !important}
  .nav-toggle{display:inline-block}
  .nd-navmob.open{display:flex}
  .nd-grid4{grid-template-columns:repeat(2,1fr) !important}
  .nd-grid3{grid-template-columns:1fr !important}
  .hero{padding:56px 20px !important}
  .hero h1{font-size:34px !important}
  .nd-2col{grid-template-columns:1fr !important}
  .nd-footcols{grid-template-columns:1fr 1fr !important}
  .pd-grid{grid-template-columns:1fr !important}
  .story-inner{grid-template-columns:1fr !important}
  .cart-summary{width:100%}
  .two-fields{flex-direction:column}
  .two-fields .field.postal{width:100%}
}
@media (max-width:520px){
  .site-header{padding:14px 16px}
  .section, .page-head, .page-narrow, .page-narrow-md, .page-820{padding-left:16px;padding-right:16px}
  .nd-footcols{grid-template-columns:1fr !important}
  .delivery-strip{flex-direction:column;align-items:flex-start}
  .gift-band-inner{flex-direction:column}
  .gift-band-img{width:100%}
}
