/* ============ Nogavice Zvezda — design system ============ */
html, body { overflow-x: clip; }
:root {
  --sky: #2E86AB;
  --sky-dark: #1d5c78;
  --sun: #FFD23F;
  --sun-soft: #FFF3CC;
  --paper: #FBF8F1;
  --ink: #1C2B33;
  --ink-soft: #4C5E67;
  --line: #E4DCC9;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 40px -20px rgba(28,43,51,.28);
  --font-display: "Avenir Next", "Futura", "Century Gothic", Avenir, Corbel, "URW Gothic", source-sans-pro, sans-serif;
  --font-body: "Segoe UI", Corbel, Avenir, Verdana, sans-serif;
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--sky-dark); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--sun); color: var(--ink); padding: .6em 1em; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.grid { display: grid; gap: 24px; }
.flow > * + * { margin-top: 1em; }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:40px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:40px}

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,241,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; aspect-ratio: 1/1; flex-shrink: 0; }
.logo__wordmark { font-family: var(--font-display); font-size: 15px; line-height: 1.15; color: var(--ink); }
.logo__wordmark strong { display: block; color: var(--sky-dark); font-size: 17px; }
.logo--footer .logo__wordmark { color: var(--white); }
.logo--footer .logo__wordmark strong { color: var(--sun); }

.nav-toggle { display: none; background: none; border: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-close { display: none; background: none; border: none; position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; position: relative; padding: 4px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--sky); transition: width .25s ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--ink); }
.nav-cart { display: inline-flex; align-items: center; gap: 6px; background: var(--sky); color: var(--white) !important; padding: 8px 14px; border-radius: 999px; }
.nav-cart::after { display: none; }
.cart-count { background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--paper); flex-direction: column; align-items: flex-start; gap: 18px; padding: 80px 28px 28px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease; box-shadow: -10px 0 30px rgba(0,0,0,.1); }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-close { display: flex; }
  .nav-cart { margin-top: 10px; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); background: var(--ink); color: var(--white); padding: 13px 26px; border-radius: 999px; font-weight: 700; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; min-height: 44px; }
.btn--sweep::before { content:""; position:absolute; inset:0; left:-100%; width:100%; background: var(--sky); z-index:-1; transition: left .3s ease; }
.btn--sweep:hover::before, .btn--sweep:focus-visible::before { left: 0; }
.btn--primary { background: var(--sky); border-color: var(--sky); }
.btn--accent { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost.btn--small { color: var(--ink); }
.btn--outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--small { padding: 9px 18px; font-size: 14px; min-height: 40px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---- hero (home) ---- */
.hero { position: relative; padding: clamp(40px,7vw,80px) 0 clamp(40px,8vw,100px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--sky-dark); background: linear-gradient(transparent 60%, var(--sun) 60%); padding: 0 .1em; }
.hero__lede { font-size: clamp(1.05rem,1.4vw,1.25rem); color: var(--ink-soft); max-width: 42ch; }
.hero__art { position: relative; aspect-ratio: 1/1; }
.hero__art img { position: absolute; inset: 10% 8% 8% 14%; width: 78%; height: 78%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.hero__art svg.hero__blob { position: absolute; inset: 0; width: 100%; height: 100%; animation: float 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero__art svg.hero__blob { animation: none; } }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.ticker { overflow: hidden; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--sun); padding: 10px 0; }
.ticker__track { display: inline-flex; white-space: nowrap; gap: 28px; animation: scroll-left 22s linear infinite; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.ticker__track span.dot { color: var(--sky-dark); }
@keyframes scroll-left { from{ transform: translateX(0) } to{ transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---- decorative dividers / grain ---- */
.divider { width: 100%; height: auto; display: block; }
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .5; mix-blend-mode: soft-light; z-index: 1; }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1{ transition-delay: .08s } .reveal.d2{ transition-delay: .16s } .reveal.d3{ transition-delay: .24s } .reveal.d4{ transition-delay: .32s }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- section headers ---- */
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem,3.4vw,2.6rem); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--sky-dark); }

/* ---- product cards / strip ---- */
.product-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; }
.product-strip .product-card { scroll-snap-align: start; }
.product-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); }
.product-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sun-soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__body h3 { font-size: 1.05rem; margin: 0; }
.product-card__price { font-weight: 800; color: var(--sky-dark); font-size: 1.1rem; }
.product-card__price .old { color: var(--ink-soft); text-decoration: line-through; font-weight: 500; font-size: .9em; margin-right: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; align-self: flex-start; }

/* ---- feature / advisor ---- */
.advisor { background: var(--sky); color: var(--white); border-radius: var(--radius-lg); padding: clamp(28px,5vw,56px); position: relative; overflow: hidden; }
.advisor h2 { color: var(--white); }
.advisor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; position: relative; z-index: 1; }
.advisor label { font-weight: 700; display: block; margin-bottom: 6px; }
.advisor input[type="range"] { width: 100%; accent-color: var(--sun); }
.advisor select { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: none; font: inherit; }
.advisor__result { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-md); padding: 20px; min-height: 120px; }
.advisor__result ul { margin: 10px 0 0; padding-left: 18px; }
.advisor__result a { color: var(--sun); font-weight: 700; }
.advisor__field + .advisor__field { margin-top: 20px; }

/* ---- generic page hero (inner pages) ---- */
.page-hero { padding: clamp(40px,6vw,72px) 0 40px; text-align: center; background: linear-gradient(180deg, var(--sun-soft), transparent); }
.page-hero h1 { font-size: clamp(2.1rem,4.4vw,3.2rem); }
.page-hero p { max-width: 56ch; margin: 0 auto; color: var(--ink-soft); }

/* ---- breadcrumbs ---- */
.breadcrumbs { font-size: 13px; color: var(--ink-soft); display: flex; gap: 6px; flex-wrap: wrap; margin: 16px auto 0; max-width: 1180px; padding: 0 24px; }
.breadcrumbs a { color: var(--ink-soft); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 700; }

/* ---- prose (legal pages) ---- */
.prose { max-width: var(--measure); margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.2em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.3em; }

/* ---- legal-toc ---- */
.legal-toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 24px; max-width: var(--measure); margin: 0 auto 32px; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.legal-toc ol { margin: 0; padding-left: 1.2em; }
.legal-toc a { font-weight: 600; }

/* ---- notice ---- */
.notice { border-radius: var(--radius-md); padding: 16px 20px; border: 1px solid var(--line); background: var(--white); display: flex; gap: 12px; align-items: flex-start; }
.notice--info { background: var(--sun-soft); border-color: #F0D98A; }
.notice--success { background: #E4F5E6; border-color: #BFE4C4; }
.notice--error { background: #FBE6E6; border-color: #E8B9B9; }

/* ---- forms ---- */
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); max-width: 720px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--row { flex-direction: row; gap: 10px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--white); accent-color: var(--sky); min-height: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); }
.field-error { color: #B3261E; font-size: 13px; min-height: 1.2em; margin: 0; }
.form-error { margin-top: 10px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-thanks { background: var(--sun-soft); border-radius: var(--radius-md); padding: 24px; text-align: center; }

/* ---- faq ---- */
.faq { max-width: var(--measure); margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--sky); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; color: var(--ink-soft); }

/* ---- product detail ---- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); aspect-ratio: 4/3; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; font-weight: 800; color: var(--sky-dark); }
.product-detail__sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.product-detail__sizes label { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.product-detail__sizes input { position: absolute; opacity: 0; }
.product-detail__sizes input:checked + span { color: var(--white); }
.product-detail__sizes label:has(input:checked) { background: var(--sky); border-color: var(--sky); color: var(--white); }

/* ---- cart ---- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-table .qty-input { width: 64px; padding: 8px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); }
.cart-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; max-width: 360px; margin-left: auto; }
.cart-summary dl { display: flex; justify-content: space-between; margin: 0 0 10px; }
.cart-summary dl.total { font-weight: 800; font-size: 1.2rem; border-top: 1px solid var(--line); padding-top: 12px; }

/* ---- contact layout ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #D8DEE2; margin-top: 60px; }
.site-footer__grid { max-width: 1180px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-brand p { color: #AAB6BC; }
.footer-mail a { color: var(--sun); }
.footer-col h3 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #C7CFD3; }
.footer-col a:hover { color: var(--sun); }
.newsletter-form .field { flex-direction: row; }
.newsletter-form input { flex: 1; border: none; min-width: 0; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; text-align: center; font-size: 13px; color: #8E9BA1; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2,1fr); } }

/* ---- cookie banner ---- */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: var(--ink); color: var(--white); border-radius: var(--radius-md); padding: 20px 22px; box-shadow: var(--shadow-soft); z-index: 200; }
.cookie-banner a { color: var(--sun); }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-banner .btn--ghost { border-color: var(--white); color: var(--white); }

/* ---- toast ---- */
.nz-toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: var(--white); padding: 12px 22px; border-radius: 999px; opacity: 0; transition: opacity .3s ease, transform .3s ease; z-index: 300; }
.nz-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---- 404 ---- */
.error-page { text-align: center; padding: clamp(60px,10vw,120px) 0; }
.error-page h1 { font-size: clamp(3rem,10vw,6rem); }

@media (max-width: 860px) {
  .hero__grid, .product-detail, .contact-layout, .advisor__grid { grid-template-columns: 1fr; }
  .cart-summary { margin-left: 0; max-width: none; }
}

/* COMPONENTS: .class - what it is
.wrap - centered max-width content wrapper
.section - vertical page section spacing
.site-header - sticky site header bar
.site-nav - primary navigation list (mobile off-canvas on small screens)
.nav-toggle / .nav-close - mobile menu open/close buttons
.logo / .logo__mark / .logo__wordmark - SVG logo lockup (header + footer variants)
.cart-count - numeric cart badge with .bump animation
.btn / .btn--primary / .btn--accent / .btn--ghost / .btn--outline-light / .btn--small / .btn--sweep - button variants incl. fill-sweep hover
.hero / .hero__grid / .hero__title / .hero__lede / .hero__art / .hero__cta - home hero layout
.ticker / .ticker__track - scrolling product-name ticker
.divider - full-width decorative SVG divider
.grain-overlay - fixed full-viewport SVG grain texture
.reveal (+ .d1-.d4, .in-view) - scroll-reveal animation hooks
.section-head / .kicker - centered section intro block
.product-strip - horizontal scroll-snap product row (mobile)
.product-grid - responsive product card grid
.product-card (+ __media, __body, __price) - product card component
.badge - small pill label (e.g. sale, new)
.advisor (+ __grid, __result, __field) - Nogavični svetovalec interactive widget
.page-hero - inner-page hero/header band
.breadcrumbs - breadcrumb trail
.prose - readable long-form legal/content text column
.legal-toc - table of contents box for legal pages
.notice (+ --info/--success/--error) - callout message box
.form-grid / .field / .field-error / .hp / .form-error / .form-thanks - form layout, validation, honeypot, feedback
.faq / .faq-item - accordion FAQ list (details/summary)
.product-detail (+ __media, __price, __sizes) - single product page layout
.cart-table / .cart-summary - cart listing table and order summary box
.contact-layout / .contact-info - two-column contact page layout
.site-footer (+ __grid, __bottom) / .footer-col / .footer-brand / .newsletter-form - site footer
.cookie-banner - GDPR cookie consent banner
.nz-toast - transient bottom toast notification
.error-page - 404 page layout
*/

/* ---- added: hero__copy, footer-newsletter, product-detail__info, form-control ---- */
.hero__copy { font-size: clamp(0.95rem, 1.3vw, 1.1rem); color: var(--ink-soft); line-height: 1.5; }
.footer-newsletter { display: flex; flex-direction: column; gap: 12px; }
.product-detail__info { display: flex; flex-direction: column; gap: 24px; }
.form-control { font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--white); accent-color: var(--sky); min-height: 44px; width: 100%; cursor: pointer; }
.form-control:focus { border-color: var(--sky); }
