/* Pasjisalon Lučka — Winter frost / chocolate-pink-cream design system */

:root {
  --choc-900: #2b1710;
  --choc-700: #3a2317;
  --choc-500: #5c3a27;
  --pink-500: #c97b93;
  --pink-300: #e8aebb;
  --pink-100: #f7dde3;
  --cream-100: #fbf3ea;
  --cream-50: #fffaf4;
  --ice-400: #9fd3e8;
  --ice-200: #d7edf6;
  --ink: #2b1710;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(43, 23, 16, 0.08);
  --shadow-m: 0 14px 34px rgba(43, 23, 16, 0.14);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--pink-500); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--choc-700); margin: 0 0 .5em; line-height: 1.12; }
p { margin: 0 0 1em; }
.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(--choc-700); color: #fff; padding: .6em 1em; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--ice-400); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- layout helpers ---------- */
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.section { padding-block: clamp(3rem, 6vw, 6rem); }
.text-center { text-align: center; }

/* ---------- reveal ---------- */
.reveal { opacity: 1; }
.reveal.js-armed { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.js-armed.in-view { opacity: 1; transform: none; }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 243, 234, .92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--pink-100); height: var(--header-h); display: flex; align-items: center; }
.site-header__inner { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo__mark { aspect-ratio: 1/1; }
.logo__word { width: 168px; height: 24px; }
.nav-toggle { display: none; background: none; border: none; color: var(--choc-700); padding: .4rem; min-width: 44px; min-height: 44px; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--choc-700); font-weight: 600; font-size: .95rem; position: relative; padding-block: .3rem; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--pink-500); transition: width .25s ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--pink-500); }
.nav-cart { display: inline-flex; align-items: center; gap: .4rem; background: var(--choc-700); color: #fff !important; padding: .5rem .9rem; border-radius: 999px; }
.cart-count { background: var(--pink-500); color: #fff; border-radius: 999px; padding: 0 .45em; font-size: .78rem; min-width: 1.4em; display: inline-block; text-align: center; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 auto; width: min(78vw, 320px); background: var(--cream-100); flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 2rem 1.5rem; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; box-shadow: var(--shadow-m); }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: none; border-radius: 999px; font-weight: 700; font-size: .95rem; padding: .85rem 1.6rem; min-height: 44px; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; }
.btn--small { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--primary { background: var(--choc-700); color: #fff; }
.btn--primary::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: var(--pink-500); z-index: -1; transition: left .3s ease; }
.btn--primary:hover::before { left: 0; }
.btn--outline { background: transparent; color: var(--choc-700); border: 2px solid var(--choc-700); }
.btn--outline:hover { background: var(--choc-700); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.65); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- hero / magazine home ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero__inner { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.hero__headline { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: .5rem; }
.hero__kicker { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-500); font-size: .85rem; }
.hero__lead { font-size: 1.15rem; max-width: 36ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero__media { position: relative; aspect-ratio: 4/5; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-l); clip-path: circle(0% at 50% 50%); animation: reveal-mask 1.1s .15s cubic-bezier(.2,.9,.3,1) forwards; }
@keyframes reveal-mask { to { clip-path: circle(75% at 50% 50%); } }
.hero__blob { position: absolute; inset: -6% -10% auto auto; width: 60%; z-index: -1; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .hero__media img { clip-path: circle(75% at 50% 50%); animation: none; } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16/10; }
}

/* ---------- section index (numbered, magazine) ---------- */
.section-index { display: flex; flex-wrap: wrap; gap: .75rem 2rem; padding: 1.2rem 0; border-top: 1px solid var(--pink-100); border-bottom: 1px solid var(--pink-100); font-size: .9rem; }
.section-index a { color: var(--choc-500); font-weight: 600; }
.section-index span { color: var(--pink-500); font-family: var(--font-display); margin-right: .35em; }

/* ---------- snow sparkle continuous element ---------- */
.snowfield { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.snowfield svg { position: absolute; width: 100%; height: 100%; opacity: .5; }
.snowfield .flake { animation: drift linear infinite; }
@keyframes drift { from { transform: translateY(-10%); } to { transform: translateY(110%); } }
@media (prefers-reduced-motion: reduce) { .snowfield { display: none; } }

/* ---------- cards ---------- */
.card { background: var(--cream-100); border-radius: var(--radius-m); padding: 1.6rem; box-shadow: var(--shadow-s); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }

.product-card { background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-s); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pink-500); font-weight: 700; }
.product-card__price { font-weight: 800; color: var(--choc-700); font-size: 1.15rem; }
.product-card__meta { font-size: .85rem; color: var(--choc-500); }

.product-strip { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
.product-strip .product-card { min-width: 260px; scroll-snap-align: start; }

/* ---------- signature feature: Zimski pregled dlake ---------- */
.coat-check { background: linear-gradient(160deg, var(--choc-700), var(--choc-900)); color: var(--cream-50); border-radius: var(--radius-l); padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden; }
.coat-check h2 { color: #fff; }
.coat-check__grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; mix-blend-mode: soft-light; }
.coat-check__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; position: relative; z-index: 1; }
.coat-check .field label { color: var(--cream-100); }
.coat-check select, .coat-check input { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.coat-check select option { color: #000; }
.coat-result { margin-top: 1.5rem; background: rgba(255,255,255,.1); border-radius: var(--radius-m); padding: 1.2rem 1.4rem; }
.coat-result__urgency { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.coat-result__urgency--nujno { color: var(--pink-300); }
.coat-result__urgency--priporočeno { color: var(--ice-400); }
.coat-result__urgency--redno { color: var(--cream-100); }
@media (max-width: 700px) { .coat-check__grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--cream-100); padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--pink-100); position: relative; overflow: hidden; }
.page-hero__inner { max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page-hero p { max-width: 54ch; font-size: 1.05rem; color: var(--choc-500); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { display: flex; gap: .4rem; font-size: .85rem; color: var(--choc-500); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--choc-500); text-decoration: underline; }
.breadcrumbs span[aria-hidden] { color: var(--pink-300); }

/* ---------- prose (legal) ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.legal-toc { background: var(--cream-100); border-radius: var(--radius-m); padding: 1.2rem 1.4rem; margin-bottom: 2rem; max-width: var(--measure); }
.legal-toc p { font-weight: 700; margin-bottom: .5em; }
.legal-toc ol { margin: 0; padding-left: 1.3em; }

/* ---------- notice ---------- */
.notice { border-radius: var(--radius-m); padding: 1rem 1.3rem; border-left: 4px solid var(--pink-500); background: var(--pink-100); margin-bottom: 1.5rem; }
.notice--info { border-left-color: var(--ice-400); background: var(--ice-200); }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { font: inherit; padding: .7rem .9rem; border-radius: var(--radius-s); border: 1px solid var(--pink-300); background: #fff; accent-color: var(--pink-500); min-height: 44px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--choc-700); }
.field-error { color: #9c2b40; font-size: .82rem; min-height: 1.2em; }
.form-msg { font-size: .9rem; min-height: 1.2em; }
.form-msg--ok { color: #2a7a4a; }
.form-msg--error { color: #9c2b40; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.newsletter-form { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; }
.newsletter-form input[type="email"] { flex: 1; min-width: 160px; padding: .6rem .9rem; border-radius: var(--radius-s); border: 1px solid var(--pink-300); min-height: 44px; }

/* ---------- product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.product-detail__media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; }
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-size: 1.8rem; font-weight: 800; color: var(--choc-700); }
.product-detail__bullets { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: .5rem; }
.product-detail__bullets li { display: flex; gap: .6rem; align-items: flex-start; }
.product-detail__bullets svg { flex-shrink: 0; margin-top: .15em; color: var(--pink-500); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- cart / booking basket ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { text-align: left; padding: .9rem .6rem; border-bottom: 1px solid var(--pink-100); }
.cart-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--choc-500); }
.cart-table__qty { width: 70px; padding: .4rem; border-radius: var(--radius-s); border: 1px solid var(--pink-300); min-height: 40px; }
.cart-table__remove { background: none; border: none; color: #9c2b40; cursor: pointer; font-weight: 700; }
.cart-summary { background: var(--cream-100); border-radius: var(--radius-m); padding: 1.5rem; max-width: 360px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.cart-summary__total { font-weight: 800; font-size: 1.2rem; border-top: 1px solid var(--pink-300); padding-top: .6rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; }

/* ---------- contact layout ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info__item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-info__item svg { color: var(--pink-500); flex-shrink: 0; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: var(--measure); display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--cream-100); border-radius: var(--radius-m); padding: .3rem 1.2rem; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--pink-500); transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1rem; color: var(--choc-500); }

/* ---------- divider / badges ---------- */
.ornament-divider { width: 100%; height: 36px; color: var(--pink-300); }
.seal-badge { width: 110px; height: 110px; }

/* ---------- footer ---------- */
.site-footer { background: var(--choc-900); color: var(--cream-100); margin-top: 4rem; position: relative; }
.footer-divider { width: 100%; height: 30px; display: block; max-width: 100%; }
.site-footer__inner { max-width: 1180px; margin-inline: auto; padding: 1rem 1.25rem 2.5rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem; }
.footer-col { min-width: 0; }
.footer-col a { color: var(--cream-100); opacity: .85; display: block; margin-bottom: .5rem; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-name { font-family: var(--font-display); font-size: 1.1rem; color: #fff; margin: .4rem 0 .2rem; }
.footer-news__title { font-weight: 700; color: #fff; margin-bottom: .3rem; }
.site-footer__bottom { text-align: center; padding: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; opacity: .75; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- cookie banner ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 640px; margin-inline: auto; background: var(--choc-900); color: #fff; border-radius: var(--radius-m); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-m); z-index: 300; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner p { margin: 0; flex: 1 1 260px; font-size: .9rem; }
.cookie-banner a { color: var(--pink-300); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; }

@media (max-width: 390px) {
  .hero__headline { font-size: 2.3rem; }
}

/* COMPONENTS:
.wrap - centered max-width content wrapper
.section - vertical page section padding
.reveal - scroll-reveal element (add .js-armed via JS to enable hidden-state)
.site-header / .site-nav / .nav-cart / .cart-count - header & nav bar
.btn / .btn--primary / .btn--outline / .btn--ghost / .btn--small - buttons
.hero / .hero__inner / .hero__headline / .hero__media / .hero__blob - home hero
.section-index - numbered magazine-style section index on home
.snowfield - fixed continuous snow sparkle overlay
.card - generic content card
.product-card / .product-card__media / .product-card__body - catalog/product card
.product-strip - horizontal scroll-snap row of product cards (mobile)
.coat-check / .coat-check__grid / .coat-result - signature "Zimski pregled dlake" feature
.page-hero - inner page hero/header band
.breadcrumbs - breadcrumb trail
.prose - long-form legal/readable text block
.legal-toc - table of contents box for legal pages
.notice / .notice--info - callout box
.form-grid / .field / .field--full / .field-error / .form-msg - form layout and feedback
.hp-field - visually hidden honeypot field
.newsletter-form - footer newsletter signup
.product-detail / .product-detail__media / .product-detail__bullets - product/service detail page
.cart-table / .cart-table__qty / .cart-table__remove / .cart-summary / .cart-empty - booking basket page
.contact-layout / .contact-info - contact page two-column layout
.faq / .faq-item - FAQ accordion (details/summary)
.ornament-divider / .seal-badge - decorative SVG dividers and seals
.site-footer / .footer-col / .footer-name / .footer-news - footer
.cookie-banner - GDPR cookie consent banner
*/

/* ---------- footer brand and links ---------- */
.footer-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.footer-brand svg {
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* ---------- product detail body ---------- */
.product-detail__body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ---------- quantity input ---------- */
.qty-input {
  width: 70px;
  padding: .4rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--pink-300);
  min-height: 40px;
  font: inherit;
  background: #fff;
  accent-color: var(--pink-500);
}

.qty-input:focus {
  border-color: var(--choc-700);
}

/* ---------- remove button ---------- */
.remove-btn {
  background: none;
  border: none;
  color: #9c2b40;
  cursor: pointer;
  font-weight: 700;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  opacity: 0.8;
}
