/* Ponožky Lípa — design system */
:root{
  --plum:#3b1f33;
  --plum-dark:#241220;
  --blush:#f3dfe3;
  --blush-deep:#e8b8c2;
  --gold:#f2c14e;
  --ink:#231923;
  --paper:#fbf4ee;
  --line:#d8c6cc;
  --max:1240px;
  --gap:1.5rem;
  --radius:14px;
  --serif:"Iowan Old Style","Georgia","Times New Roman",serif;
  --sans:"Avenir Next","Segoe UI",system-ui,-apple-system,sans-serif;
  --mono:"SF Mono","Consolas",monospace;
}
*{box-sizing:border-box}
html,body{overflow-x:clip}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--sans);color:var(--ink);background:var(--paper);
  font-size:1rem;line-height:1.5;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--serif);margin:0 0 .5em;line-height:1.05}
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:-999px;top:0;background:var(--gold);color:var(--plum-dark);padding:.5em 1em;z-index:999}
.skip-link:focus{left:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
button{font-family:inherit;cursor:pointer}

.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--paper);border-bottom:2px solid var(--plum)}
.header-inner{max-width:var(--max);margin:0 auto;padding:.9rem 1.25rem;display:flex;align-items:center;gap:1.5rem}
.logo{display:flex;align-items:center;gap:.6rem;color:var(--plum)}
.logo-mark{flex:none}
.logo-word{font-family:var(--serif);font-size:1.3rem;letter-spacing:.01em}
.logo-word em{font-style:normal;color:var(--gold);background:var(--plum);padding:0 .15em;border-radius:3px}
.main-nav{display:flex;gap:1.4rem;margin-left:auto;font-size:.95rem}
.main-nav a{position:relative;padding:.3em 0}
.main-nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.main-nav a:hover::after,.main-nav a.active::after{transform:scaleX(1)}
.main-nav a.active{color:var(--plum);font-weight:600}
.header-actions{display:flex;align-items:center;gap:1rem}
.cart-link{position:relative;display:flex;color:var(--plum)}
.cart-count{position:absolute;top:-8px;right:-10px;background:var(--gold);color:var(--plum-dark);font-size:.68rem;font-weight:700;border-radius:50%;width:18px;height:18px;display:flex;align-items:center;justify-content:center}
.cart-count.bump{animation:bump .35s ease}
@keyframes bump{0%{transform:scale(1)}40%{transform:scale(1.5)}100%{transform:scale(1)}}
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:30px;height:30px;background:none;border:none;padding:0}
.burger span{display:block;height:2px;background:var(--plum);transition:transform .25s,opacity .25s}

@media (max-width:860px){
  .main-nav{position:fixed;top:0;right:0;height:100vh;width:min(78vw,320px);background:var(--plum);flex-direction:column;padding:6rem 2rem;gap:1.6rem;
    transform:translateX(100%);visibility:hidden;transition:transform .3s ease,visibility .3s;z-index:60}
  .main-nav.open{transform:translateX(0);visibility:visible}
  .main-nav a{color:var(--blush);font-size:1.1rem}
  .main-nav a.active{color:var(--gold)}
  .burger{display:flex}
  .burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .burger.open span:nth-child(2){opacity:0}
  .burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease, transform .6s ease, clip-path .6s ease}
.reveal.in-view{opacity:1;transform:none}
.reveal-1.in-view{transition-delay:.05s}
.reveal-2.in-view{transition-delay:.15s}
.reveal-3.in-view{transition-delay:.25s}
.reveal-4.in-view{transition-delay:.35s}
@media (prefers-reduced-motion: reduce){
  .reveal{transition:none;opacity:1;transform:none}
}

/* ---------- buttons ---------- */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  padding:.85em 1.6em;border:2px solid var(--plum);border-radius:999px;background:var(--plum);color:var(--paper);
  font-weight:600;font-size:.95rem;overflow:hidden;isolation:isolate;min-height:44px}
.btn span,.btn svg{position:relative;z-index:1}
.btn::before{content:"";position:absolute;inset:0;width:100%;left:-100%;background:var(--gold);transition:left .3s ease;z-index:0}
.btn:hover::before{left:0}
.btn:hover{color:var(--plum-dark)}
.btn-outline{background:transparent;color:var(--plum)}
.btn-outline::before{background:var(--plum)}
.btn-outline:hover{color:var(--paper)}
.btn-ghost{background:transparent;border-color:var(--blush);color:var(--paper)}
.btn-ghost::before{background:var(--blush)}
.btn-ghost:hover{color:var(--plum-dark)}
.btn-small{padding:.6em 1.1em;font-size:.85rem;min-height:40px}
.btn-block{width:100%}
.btn[disabled]{opacity:.5;cursor:not-allowed}

/* ---------- hero / page-hero ---------- */
.hero{position:relative;padding:4rem 0 3rem;overflow:hidden}
.hero-grid{max-width:var(--max);margin:0 auto;padding:0 1.25rem;display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem;align-items:center}
.hero-eyebrow{font-family:var(--mono);letter-spacing:.14em;text-transform:uppercase;font-size:.78rem;color:var(--plum);display:inline-flex;align-items:center;gap:.5em}
.hero-title{font-size:clamp(2.6rem,7vw,5.4rem);color:var(--plum);margin:.3em 0}
.hero-title .sweep{position:relative;display:inline-block}
.hero-title .sweep svg{position:absolute;left:0;bottom:-.1em;width:100%;height:.3em;overflow:visible}
.hero-title .sweep path{stroke-dasharray:300;stroke-dashoffset:300;animation:draw 1.1s .3s ease forwards}
@media (prefers-reduced-motion:reduce){.hero-title .sweep path{animation:none;stroke-dashoffset:0}}
@keyframes draw{to{stroke-dashoffset:0}}
.hero-lede{font-size:1.1rem;max-width:36ch;color:var(--plum-dark)}
.hero-art{position:relative;aspect-ratio:4/5}
.hero-art img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius);filter:sepia(.1) saturate(1.1)}
.hero-art .deco{position:absolute;z-index:2}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.6rem}

.page-hero{position:relative;padding:3.4rem 0 2rem;border-bottom:2px solid var(--plum);background:var(--blush)}
.page-hero .wrap{display:flex;flex-direction:column;gap:.5rem}
.page-hero h1{font-size:clamp(2.2rem,5vw,3.4rem);color:var(--plum)}
.page-hero p{max-width:60ch;color:var(--plum-dark)}

/* ---------- breadcrumbs ---------- */
.breadcrumbs{font-family:var(--mono);font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:var(--plum);display:flex;gap:.4em;flex-wrap:wrap}
.breadcrumbs a{text-decoration:underline}
.breadcrumbs span{opacity:.5}

/* ---------- section index (home composition) ---------- */
.index-strip{padding:2.5rem 0;border-bottom:1px solid var(--line)}
.index-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}
.index-item{display:flex;align-items:baseline;gap:.6rem;padding:1rem 0;border-top:1px solid var(--line)}
.index-num{font-family:var(--mono);font-size:.85rem;color:var(--gold);background:var(--plum);border-radius:50%;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.index-item h3{font-size:1rem;margin:0;font-family:var(--sans);font-weight:600}

/* ---------- sections generic ---------- */
.section{padding:4rem 0}
.section-head{max-width:60ch;margin-bottom:2rem}
.section-tag{font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;color:var(--plum)}
.section-title{font-size:clamp(1.8rem,4vw,2.8rem);color:var(--plum)}
.section-alt{background:var(--plum);color:var(--blush)}
.section-alt .section-title{color:var(--gold)}
.section-alt .section-tag{color:var(--blush-deep)}

/* ---------- divider ---------- */
.divider{display:block;width:100%;height:40px;margin:0 auto}

/* ---------- product grid / card ---------- */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:var(--gap)}
.product-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .25s ease, box-shadow .25s ease}
.product-card:hover{transform:translateY(-6px);box-shadow:0 18px 32px -16px rgba(59,31,51,.35)}
.product-media{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--blush)}
.product-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.product-card:hover .product-media img{transform:scale(1.08)}
.product-badge{position:absolute;top:.7rem;left:.7rem;background:var(--gold);color:var(--plum-dark);font-size:.7rem;font-weight:700;padding:.3em .7em;border-radius:999px}
.product-body{padding:1rem}
.product-body h3{font-size:1.05rem;margin-bottom:.2em}
.product-price{font-family:var(--mono);color:var(--plum);font-weight:700}
.product-strip-scroll{display:flex;gap:var(--gap);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem}
.product-strip-scroll .product-card{flex:0 0 240px;scroll-snap-align:start}
@media (min-width:860px){.product-strip-scroll{overflow:visible;display:grid;grid-template-columns:repeat(4,1fr)}}

/* ---------- product detail ---------- */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
.product-detail .pd-media{position:relative;aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;background:var(--blush)}
.product-detail .pd-media img{width:100%;height:100%;object-fit:cover}
.pd-price{font-family:var(--mono);font-size:1.6rem;color:var(--plum)}
.pd-sizes{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}
.pd-sizes label{border:1.5px solid var(--plum);border-radius:999px;padding:.4em 1em;cursor:pointer;font-size:.9rem}
.pd-sizes input{position:absolute;opacity:0}
.pd-sizes input:checked + span{background:var(--plum);color:var(--paper);display:inline-block;margin:-.4em -1em;padding:.4em 1em;border-radius:999px}
@media (max-width:760px){.product-detail{grid-template-columns:1fr}}

/* ---------- cart ---------- */
.cart-table{width:100%;border-collapse:collapse;margin-bottom:2rem}
.cart-table th{text-align:left;font-family:var(--mono);font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;border-bottom:2px solid var(--plum);padding:.6em}
.cart-table td{padding:.8em .6em;border-bottom:1px solid var(--line);vertical-align:middle}
.cart-row-product{display:flex;align-items:center;gap:.8rem}
.cart-row-product img{width:56px;height:56px;object-fit:cover;border-radius:8px}
.cart-qty{display:inline-flex;align-items:center;border:1px solid var(--plum);border-radius:999px;overflow:hidden}
.cart-qty button{background:none;border:none;width:32px;height:32px}
.cart-qty input{width:36px;text-align:center;border:none;background:none;font:inherit}
.cart-remove{color:var(--plum);text-decoration:underline;font-size:.85rem;background:none;border:none}
.cart-summary{max-width:360px;margin-left:auto;background:var(--blush);border-radius:var(--radius);padding:1.5rem}
.cart-summary-row{display:flex;justify-content:space-between;margin-bottom:.6em}
.cart-summary-total{font-weight:700;font-size:1.2rem;border-top:1px solid var(--plum);padding-top:.6em}

/* ---------- forms ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.field{display:flex;flex-direction:column;gap:.35em}
.field.field-wide{grid-column:1 / -1}
.field label{font-size:.85rem;font-weight:600}
.field input,.field textarea,.field select{
  font:inherit;padding:.75em .9em;border:1.5px solid var(--line);border-radius:10px;background:#fff;accent-color:var(--plum);min-height:44px}
.field textarea{min-height:120px}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--plum)}
.field-error{color:#8c2a3f;font-size:.8rem;min-height:1.2em}
.field-inline{display:flex;gap:.5rem}
.field-inline input{flex:1}
.hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-msg{min-height:1.4em;font-size:.9rem;margin-top:.6em}
.form-msg-ok{color:#2a6b45}
.form-msg-err{color:#8c2a3f}
@media (max-width:640px){.form-grid{grid-template-columns:1fr}}

/* ---------- notice ---------- */
.notice{border-left:4px solid var(--gold);background:var(--blush);padding:1rem 1.2rem;border-radius:0 10px 10px 0;margin:1.5rem 0}
.notice-warn{border-color:#8c2a3f;background:#f6e3e7}

/* ---------- prose / legal ---------- */
.prose{max-width:68ch;margin:0 auto}
.prose h2{margin-top:2em;font-size:1.5rem;color:var(--plum)}
.prose h3{font-size:1.2rem}
.prose ul,.prose ol{padding-left:1.3em}
.legal-layout{display:grid;grid-template-columns:240px 1fr;gap:2.5rem;align-items:start}
.legal-toc{position:sticky;top:6rem;border-left:2px solid var(--line);padding-left:1rem;font-size:.9rem}
.legal-toc a{display:block;padding:.3em 0;color:var(--plum)}
@media (max-width:860px){.legal-layout{grid-template-columns:1fr}.legal-toc{position:static}}

/* ---------- faq ---------- */
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{cursor:pointer;padding:1.1em 0;font-weight:600;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.4rem;color:var(--plum);transition:transform .2s}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{padding-bottom:1.1em;color:var(--plum-dark);max-width:65ch}

/* ---------- contact ---------- */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem}
.contact-info{display:flex;flex-direction:column;gap:1.2rem}
.contact-info .ci-item{display:flex;gap:.8rem;align-items:flex-start}
.contact-info svg{color:var(--plum);flex:none;margin-top:.1em}
@media (max-width:860px){.contact-layout{grid-template-columns:1fr}}

/* ---------- advisor (signature feature) ---------- */
.advisor{background:var(--plum);color:var(--paper);border-radius:var(--radius);padding:2.4rem;position:relative;overflow:hidden}
.advisor-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
.advisor input[type=range]{width:100%;accent-color:var(--gold);height:36px}
.advisor-readout{font-family:var(--mono);font-size:3rem;color:var(--gold)}
.advisor-result{margin-top:1rem;padding:1rem;border:1px solid var(--blush-deep);border-radius:10px;background:rgba(255,255,255,.06)}
.advisor-result strong{color:var(--gold)}
@media (max-width:760px){.advisor-grid{grid-template-columns:1fr}}

/* ---------- 404 ---------- */
.page-404{text-align:center;padding:5rem 0}
.page-404 .big-num{font-family:var(--serif);font-size:clamp(5rem,20vw,10rem);color:var(--plum);line-height:1}

/* ---------- footer ---------- */
.site-footer{background:var(--plum);color:var(--blush);padding:3.5rem 0 1.5rem}
.footer-grid{max-width:var(--max);margin:0 auto;padding:0 1.25rem;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:2rem}
.footer-logo{color:var(--blush)}
.footer-logo em{background:var(--gold);color:var(--plum-dark)}
.footer-addr{display:flex;gap:.4em;align-items:center;color:var(--blush-deep);font-size:.9rem}
.footer-col h3{font-family:var(--sans);font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);margin-bottom:.8em}
.footer-col{display:flex;flex-direction:column;gap:.5em}
.footer-col a{color:var(--blush);display:flex;gap:.4em;align-items:center;font-size:.92rem}
.footer-col a:hover{text-decoration:underline}
.footer-newsletter input{min-height:44px;border-radius:8px;border:none;padding:0 .8em}
.footer-bottom{max-width:var(--max);margin:2rem auto 0;padding:1.5rem 1.25rem 0;border-top:1px solid rgba(255,255,255,.15);font-size:.8rem;color:var(--blush-deep)}
@media (max-width:860px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:540px){.footer-grid{grid-template-columns:1fr}}

/* ---------- cookie banner ---------- */
.cookie-banner{position:fixed;bottom:1rem;left:1rem;right:1rem;max-width:560px;margin:0 auto;background:var(--plum-dark);color:var(--paper);border-radius:var(--radius);padding:1.2rem 1.4rem;box-shadow:0 20px 40px -10px rgba(0,0,0,.4);z-index:80;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between}
.cookie-banner p{margin:0;font-size:.88rem;flex:1 1 260px}
.cookie-banner a{text-decoration:underline;color:var(--gold)}
.cookie-actions{display:flex;gap:.6rem;flex:none}

/* ---------- utility ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap)}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}
@media (max-width:760px){.grid-2,.grid-3{grid-template-columns:1fr}}
.center{text-align:center}
@media (max-width:760px){.hero-grid{grid-template-columns:1fr}}

/* COMPONENTS:
.wrap - centered max-width container
.site-header/.header-inner/.logo/.main-nav/.header-actions/.cart-link/.cart-count/.burger - header & nav
.reveal/.reveal-1..4/.in-view - scroll reveal animation hooks
.btn/.btn-outline/.btn-ghost/.btn-small/.btn-block - button variants with fill-sweep
.hero/.hero-grid/.hero-eyebrow/.hero-title/.sweep/.hero-lede/.hero-art/.hero-actions - home hero
.page-hero - inner page hero band with h1+intro
.breadcrumbs - small uppercase trail of links
.index-strip/.index-list/.index-item/.index-num - numbered section index (home composition)
.section/.section-head/.section-tag/.section-title/.section-alt - generic content section
.divider - decorative full-width SVG divider
.product-grid/.product-card/.product-media/.product-badge/.product-body/.product-price - catalog cards
.product-strip-scroll - horizontal scroll-snap strip on mobile, grid on desktop
.product-detail/.pd-media/.pd-price/.pd-sizes - product detail page layout
.cart-table/.cart-row-product/.cart-qty/.cart-remove/.cart-summary/.cart-summary-row/.cart-summary-total - cart & checkout
.form-grid/.field/.field-wide/.field-error/.field-inline/.hp/.form-msg/.form-msg-ok/.form-msg-err - forms
.notice/.notice-warn - callout boxes
.prose/.legal-layout/.legal-toc - long-form legal text with sticky TOC
.faq-item - details/summary accordion row
.contact-layout/.contact-info/.ci-item - contact page split layout
.advisor/.advisor-grid/.advisor-readout/.advisor-result - Teploměr Lípa signature feature
.page-404/.big-num - 404 page
.site-footer/.footer-grid/.footer-col/.footer-newsletter/.footer-bottom - footer
.cookie-banner/.cookie-actions - cookie consent banner
.grid-2/.grid-3/.center/.mt-0/.mb-0 - layout utilities
*/

/* ---------- footer brand ---------- */
.footer-brand{font-family:var(--serif);font-size:.9rem;line-height:1.4;color:var(--blush-deep);margin-top:.5rem}

/* ---------- newsletter form ---------- */
.newsletter-form{display:flex;gap:.6rem;flex-wrap:wrap;align-items:stretch}
.newsletter-form input{flex:1;min-width:140px}
.newsletter-form button{flex:none;white-space:nowrap}
@media (max-width:540px){.newsletter-form{flex-direction:column;align-items:stretch}.newsletter-form input,.newsletter-form button{min-width:auto}}

/* ---------- faq container ---------- */
.faq{display:flex;flex-direction:column}

/* ---------- reveal animation (0 delay) ---------- */
.reveal-0.in-view{transition-delay:0s}

/* ---------- quantity input ---------- */
.qty-input{width:70px;padding:.6em .8em;text-align:center;border:1.5px solid var(--line);border-radius:10px;font-family:inherit;background:#fff;accent-color:var(--plum);font-size:.95rem;min-height:40px}
.qty-input:focus{border-color:var(--plum)}

/* ---------- size options ---------- */
.size-options{display:flex;gap:.6rem;flex-wrap:wrap}
@media (max-width:390px){.size-options{gap:.5rem}}
