/* Periny Tatra — design system. Aurora mesh: lavender/graphite/mint. */
:root{
  --lavender:#c9bbe8;
  --lavender-deep:#8f7bc4;
  --graphite:#2f3b3a;
  --graphite-soft:#44524f;
  --mint:#bfe3d6;
  --mint-deep:#79b6a1;
  --paper:#f7f4f1;
  --paper-2:#efe9f2;
  --ink:#242b2a;
  --line:#ddd6e6;
  --radius:1.1rem;
  --radius-sm:.6rem;
  --shadow-1:0 1px 2px rgba(36,43,42,.08), 0 10px 24px -12px rgba(36,43,42,.18);
  --shadow-2:0 20px 48px -20px rgba(47,59,58,.35);
  --font-display:"Iowan Old Style","Palatino Linotype",Georgia,serif;
  --font-body:"Avenir Next","Segoe UI",system-ui,-apple-system,sans-serif;
  --font-mono:"Courier New",ui-monospace,monospace;
  --container:72rem;
}
html,body{overflow-x:clip}
*{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;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-display);margin:0 0 .5em;line-height:1.1;font-weight:600}
p{margin:0 0 1em}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-999px;top:0;background:var(--graphite);color:#fff;padding:.6em 1em;z-index:200}
.skip-link:focus{left:0}
:focus-visible{outline:3px solid var(--mint-deep);outline-offset:2px}
button{font-family:inherit}
input,textarea,select{font-family:inherit;accent-color:var(--mint-deep)}

.wrap{max-width:var(--container);margin:0 auto;padding:0 1.25rem}
@media (min-width:60rem){.wrap{padding:0 2rem}}

.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}
.flow > * + *{margin-top:1em}
.mt-1{margin-top:.75rem}.mt-2{margin-top:1.5rem}.mt-3{margin-top:2.5rem}.mt-4{margin-top:4rem}
.mb-0{margin-bottom:0}
.section{padding:clamp(3rem,6vw,6rem) 0}
.center{text-align:center}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(24px);clip-path:inset(0 0 12% 0);transition:opacity .7s ease, transform .7s ease, clip-path .7s ease}
.reveal.in-view{opacity:1;transform:none;clip-path:inset(0 0 0 0)}
.reveal--stagger > *{opacity:0;transform:translateY(20px);transition:opacity .6s ease, transform .6s ease}
.reveal--stagger.in-view > *{opacity:1;transform:none}
.reveal--stagger.in-view > *:nth-child(1){transition-delay:.02s}
.reveal--stagger.in-view > *:nth-child(2){transition-delay:.12s}
.reveal--stagger.in-view > *:nth-child(3){transition-delay:.22s}
.reveal--stagger.in-view > *:nth-child(4){transition-delay:.32s}
.reveal--stagger.in-view > *:nth-child(5){transition-delay:.42s}
@media (prefers-reduced-motion: reduce){
  .reveal,.reveal--stagger > *{transition:none;opacity:1;transform:none;clip-path:none}
}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:rgba(247,244,241,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header__bar{display:flex;align-items:center;gap:1rem;padding:.9rem 0;position:relative}
.logo{display:flex;align-items:center;gap:.6rem;margin-right:auto}
.logo__mark{flex:none}
.logo__word{width:150px;height:21px}
.menu-toggle{display:none;background:none;border:none;color:var(--graphite);padding:.5rem;min-width:44px;min-height:44px;cursor:pointer}
.site-nav{display:flex;align-items:center;gap:1.4rem;font-size:.95rem}
.site-nav a{position:relative;padding:.3rem 0;color:var(--graphite-soft)}
.site-nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--mint-deep);transition:width .25s ease}
.site-nav a:hover::after,.site-nav a.is-active::after{width:100%}
.site-nav a.is-active{color:var(--graphite)}
.site-nav__cart{display:flex;align-items:center;gap:.4rem;font-weight:600}
.cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.4em;height:1.4em;border-radius:50%;background:var(--mint-deep);color:#fff;font-size:.75rem;padding:0 .3em}
.cart-count.is-empty{background:var(--line);color:var(--graphite-soft)}
.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:56rem){
  .menu-toggle{display:flex;align-items:center;justify-content:center}
  .site-nav{position:fixed;inset:0 0 0 auto;width:min(80vw,20rem);height:100vh;background:var(--graphite);color:#fff;flex-direction:column;align-items:flex-start;justify-content:center;gap:1.4rem;padding:2rem;transform:translateX(100%);visibility:hidden;transition:transform .35s ease;font-size:1.1rem}
  .site-nav.is-open{transform:translateX(0);visibility:visible}
  .site-nav a{color:#f0ece7}
  .site-nav a.is-active{color:var(--mint)}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:.8em 1.6em;border-radius:3em;border:1px solid transparent;font-weight:600;font-size:.95rem;cursor:pointer;min-height:44px;position:relative;overflow:hidden;isolation:isolate;transition:color .25s ease,border-color .25s ease}
.btn--primary{background:var(--graphite);color:#fff}
.btn--mint{background:var(--mint-deep);color:var(--graphite)}
.btn--ghost{background:transparent;border-color:var(--graphite);color:var(--graphite)}
.btn--sm{padding:.55em 1.2em;font-size:.85rem;min-height:38px}
.btn--sweep::before{content:"";position:absolute;inset:0;left:-100%;width:100%;background:var(--lavender-deep);z-index:-1;transition:left .3s ease}
.btn--sweep:hover::before{left:0}
.btn--sweep:hover{color:#fff}
.btn--block{width:100%}
.btn[disabled]{opacity:.6;cursor:not-allowed}

/* ---------- hero (home) ---------- */
.hero{position:relative;padding:clamp(2.5rem,6vw,5rem) 0 clamp(3rem,8vw,7rem);overflow:hidden}
.hero__mesh{position:absolute;inset:0;z-index:-2;background:
  radial-gradient(60% 50% at 15% 10%, color-mix(in srgb, var(--lavender) 65%, transparent), transparent 70%),
  radial-gradient(55% 45% at 85% 20%, color-mix(in srgb, var(--mint) 55%, transparent), transparent 70%),
  linear-gradient(180deg, var(--paper-2), var(--paper));
}
.hero__grain{position:absolute;inset:0;z-index:-1;width:100%;height:100%;opacity:.5;pointer-events:none;mix-blend-mode:multiply}
.hero__layout{display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem;align-items:center}
@media (max-width:56rem){.hero__layout{grid-template-columns:1fr}}
.hero__eyebrow{display:inline-flex;align-items:center;gap:.5em;font-family:var(--font-mono);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;color:var(--graphite-soft);background:rgba(255,255,255,.6);border:1px solid var(--line);padding:.35em .9em;border-radius:2em}
.hero__title{font-size:clamp(2.4rem,6vw,4.3rem);letter-spacing:-.01em}
.hero__lede{max-width:34ch;font-size:1.1rem;color:var(--graphite-soft)}
.hero__art{position:relative;aspect-ratio:1/1}
.hero__art svg{width:100%;height:100%}
.hero__art-layer{position:absolute;inset:0;transition:transform .6s ease}
.hero:hover .hero__art-layer--back{transform:translate(-6px,-4px) rotate(-1deg)}
.hero:hover .hero__art-layer--front{transform:translate(4px,6px) rotate(1deg)}
.hero__cta{display:flex;gap:1rem;flex-wrap:wrap}

/* ---------- map composition (home) ---------- */
.map-canvas{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--paper-2);min-height:28rem;padding:2rem}
.map-canvas__paths{position:absolute;inset:0;width:100%;height:100%;opacity:.5}
.pin-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:var(--shadow-1);padding:1.4rem;max-width:18rem}
.map-canvas .pin-card{position:absolute}
.pin-card__icon{color:var(--mint-deep);margin-bottom:.6rem}
@media (max-width:56rem){
  .map-canvas{min-height:auto;display:flex;flex-direction:column;gap:1.2rem}
  .map-canvas .pin-card{position:static;max-width:none}
}

/* ---------- product strip / cards ---------- */
.strip{display:flex;gap:1.3rem;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem;margin:0 -1.25rem;padding-left:1.25rem;padding-right:1.25rem}
@media (min-width:60rem){.strip{margin:0;padding:0;overflow:visible;flex-wrap:wrap}}
.strip .product-card{scroll-snap-align:start;flex:0 0 16rem}
@media (min-width:60rem){.strip .product-card{flex:1 1 15rem}}

.product-card{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-1);transition:transform .3s ease, box-shadow .3s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-2)}
.product-card__media{aspect-ratio:4/3;overflow:hidden;background:var(--paper-2)}
.product-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.product-card:hover .product-card__media img{transform:scale(1.06)}
.product-card__body{padding:1.1rem 1.2rem 1.3rem}
.product-card__cat{font-family:var(--font-mono);font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:var(--mint-deep)}
.product-card__name{margin:.3rem 0;font-size:1.1rem}
.product-card__price{font-weight:700}
.product-card__price del{opacity:.5;font-weight:400;margin-right:.4em}

/* ---------- catalog filters ---------- */
.catalog-toolbar{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-bottom:1.5rem}
.catalog-toolbar select, .catalog-toolbar input{padding:.6em .9em;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff}

/* ---------- page hero (inner pages) ---------- */
.page-hero{padding:clamp(2.5rem,5vw,4rem) 0 2.5rem;background:linear-gradient(160deg, var(--paper-2), var(--paper));position:relative}
.page-hero__title{font-size:clamp(2rem,4.5vw,3rem)}
.page-hero__lede{max-width:40ch;color:var(--graphite-soft)}

/* ---------- breadcrumbs ---------- */
.breadcrumbs{display:flex;gap:.5em;flex-wrap:wrap;font-size:.85rem;color:var(--graphite-soft);margin-bottom:1rem}
.breadcrumbs a{text-decoration:underline;text-decoration-color:var(--line)}
.breadcrumbs li{display:inline-flex;gap:.5em;list-style:none}
.breadcrumbs ol{display:flex;gap:.5em;padding:0;margin:0;flex-wrap:wrap}
.breadcrumbs li:not(:last-child)::after{content:"/";margin-left:.5em;opacity:.5}

/* ---------- prose (legal pages) ---------- */
.prose{max-width:38rem;font-size:1.02rem}
.prose h2{margin-top:2em;font-size:1.4rem}
.prose h3{margin-top:1.4em;font-size:1.1rem}
.prose ul,.prose ol{padding-left:1.3em}
.prose li{margin-bottom:.4em}
.legal-toc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.4rem;max-width:20rem}
.legal-toc h2{font-size:1rem;margin-bottom:.6em}
.legal-toc ol{margin:0;padding-left:1.1em;font-size:.92rem}
.legal-layout{display:grid;grid-template-columns:1fr 20rem;gap:3rem;align-items:start}
@media (max-width:56rem){.legal-layout{grid-template-columns:1fr}.legal-toc{order:-1}}

/* ---------- notice ---------- */
.notice{border-radius:var(--radius-sm);padding:1em 1.2em;border:1px solid var(--line);background:#fff;display:flex;gap:.8em;align-items:flex-start}
.notice--info{border-color:var(--mint-deep);background:color-mix(in srgb, var(--mint) 25%, white)}
.notice--warn{border-color:var(--lavender-deep);background:color-mix(in srgb, var(--lavender) 22%, white)}

/* ---------- forms ---------- */
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1.1rem}
.field{display:flex;flex-direction:column;gap:.4em}
.field--full{grid-column:1/-1}
.field label{font-size:.88rem;font-weight:600}
.field input,.field select,.field textarea{padding:.75em .9em;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;font-size:1rem}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--mint-deep)}
.field textarea{resize:vertical;min-height:7rem}
.field-error{color:#a8445c;font-size:.85rem;min-height:1.2em}
.honeypot{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.field-row{display:flex;gap:.6rem;flex-wrap:wrap}
.field-row input{flex:1 1 12rem}

/* ---------- FAQ ---------- */
.faq{max-width:42rem}
.faq-item{border-bottom:1px solid var(--line);padding:.3rem 0}
.faq-item summary{cursor:pointer;font-weight:600;padding:.9em 0;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1em}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:1.4rem;color:var(--mint-deep);transition:transform .25s ease}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{padding-bottom:1em;color:var(--graphite-soft)}

/* ---------- product detail ---------- */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:start}
@media (max-width:56rem){.product-detail{grid-template-columns:1fr}}
.product-detail__media{border-radius:var(--radius);overflow:hidden;aspect-ratio:1/1;background:var(--paper-2)}
.product-detail__media img{width:100%;height:100%;object-fit:cover}
.product-detail__price{font-size:1.6rem;font-weight:700}
.product-detail__price del{font-weight:400;opacity:.5;margin-right:.5em;font-size:1.1rem}
.product-detail__features{list-style:none;padding:0;display:grid;gap:.5em}
.product-detail__features li{display:flex;gap:.6em;align-items:flex-start}
.product-detail__features svg{flex:none;color:var(--mint-deep);margin-top:.15em}
.qty-input{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:3em;overflow:hidden}
.qty-input button{border:none;background:none;width:2.4rem;height:2.4rem;cursor:pointer;font-size:1.1rem}
.qty-input input{width:3rem;border:none;text-align:center;font-size:1rem}

/* ---------- cart / checkout ---------- */
.cart-table{width:100%;border-collapse:collapse}
.cart-table th,.cart-table td{padding:.8em .6em;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.cart-table__product{display:flex;align-items:center;gap:.8em}
.cart-table__product img{width:4rem;height:4rem;object-fit:cover;border-radius:var(--radius-sm)}
.cart-table__remove{color:#a8445c;font-size:.85rem;text-decoration:underline;background:none;border:none;cursor:pointer}
.cart-summary{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;display:grid;gap:.7rem;align-self:start}
.cart-summary__row{display:flex;justify-content:space-between}
.cart-summary__total{font-weight:700;font-size:1.2rem;border-top:1px solid var(--line);padding-top:.6rem}
.cart-empty{text-align:center;padding:3rem 1rem;color:var(--graphite-soft)}

/* ---------- contact ---------- */
.contact-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:2.5rem;align-items:start}
@media (max-width:56rem){.contact-layout{grid-template-columns:1fr}}
.contact-card{display:grid;gap:1rem}
.contact-card__item{display:flex;gap:.8em;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:1em 1.1em}
.contact-card__item svg{flex:none;color:var(--mint-deep)}

/* ---------- signature feature: Snovy teplomer ---------- */
.thermo{background:var(--graphite);color:#f3f0ec;border-radius:var(--radius);padding:clamp(1.6rem,4vw,2.6rem);position:relative;overflow:hidden}
.thermo__grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}
@media (max-width:56rem){.thermo__grid{grid-template-columns:1fr}}
.thermo input[type="range"]{width:100%}
.thermo__result{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-sm);padding:1.2rem;display:grid;gap:.4em}
.thermo__tog{font-size:2.2rem;font-weight:700;font-family:var(--font-display)}
.thermo .btn--ghost{border-color:#f3f0ec;color:#f3f0ec}
.feel-toggle{display:flex;gap:.5rem;flex-wrap:wrap}
.feel-toggle button{flex:1 1 auto;padding:.6em 1em;border-radius:3em;border:1px solid rgba(255,255,255,.3);background:transparent;color:#f3f0ec;cursor:pointer;min-height:44px}
.feel-toggle button.is-active{background:var(--mint);color:var(--graphite);border-color:var(--mint)}

/* ---------- decorative dividers ---------- */
.divider{display:block;width:100%;height:auto}
.footer-wave{display:block;width:100%;height:3.2rem}

/* ---------- cookie banner ---------- */
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:300;background:var(--graphite);color:#f3f0ec;border-radius:var(--radius);padding:1.1rem 1.3rem;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;box-shadow:var(--shadow-2);max-width:40rem;margin:0 auto}
.cookie-banner p{margin:0;font-size:.92rem;max-width:30ch}
.cookie-banner a{text-decoration:underline}
.cookie-banner__actions{display:flex;gap:.6rem;flex-wrap:wrap}

/* ---------- footer ---------- */
.site-footer{background:var(--graphite);color:#e9e5f0;position:relative;padding-top:0}
.footer-wave{margin-bottom:-1px}
.footer__grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr 1.4fr;gap:2rem;padding:1rem 0 2.5rem}
@media (max-width:60rem){.footer__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:30rem){.footer__grid{grid-template-columns:1fr}}
.footer__col h2,.footer__brand p,.footer__newsletter h2{font-size:1rem}
.footer__col{display:flex;flex-direction:column;gap:.5rem}
.footer__col a{color:#cfc8e0}
.footer__col a:hover{color:#fff}
.footer__newsletter input[type="email"]{border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;padding:.7em .9em}
.footer__newsletter .btn{background:var(--mint);color:var(--graphite)}
.footer__bottom{border-top:1px solid rgba(255,255,255,.15);padding:1.2rem 0;font-size:.85rem;color:#b9b2cc}

/* ---------- product card link (catalog grid) ---------- */
.product-card__link{display:block;text-decoration:none;color:inherit;height:100%}
.product-card__link img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- FAQ trigger button (custom) ---------- */
.faq-item__trigger{display:flex;align-items:center;justify-content:space-between;gap:1em;width:100%;padding:.9em 0;background:none;border:none;text-align:left;cursor:pointer;font-weight:600;font-size:1rem;font-family:inherit;color:inherit}
.faq-item__trigger:hover{color:var(--mint-deep)}
.faq-item__trigger svg{flex:none;flex-shrink:0;transition:transform .3s ease}
.faq-item__content{padding:.6em 0 1em;color:var(--graphite-soft);line-height:1.6}
.faq-item__content:not([hidden]) + .faq-item__trigger svg{transform:rotate(45deg)}

/* COMPONENTS: .wrap - max-width content container
   COMPONENTS: .grid/.grid-2/.grid-3 - responsive grid helpers
   COMPONENTS: .section - vertical page section spacing
   COMPONENTS: .reveal/.reveal--stagger - scroll reveal animation hooks
   COMPONENTS: .site-header/.site-nav/.menu-toggle - header and nav
   COMPONENTS: .logo/.logo__mark/.logo__word - SVG logo
   COMPONENTS: .btn, .btn--primary/--mint/--ghost/--sweep/--sm/--block - buttons
   COMPONENTS: .hero/.hero__mesh/.hero__grain/.hero__layout/.hero__art - home hero
   COMPONENTS: .map-canvas/.pin-card - home map composition
   COMPONENTS: .strip/.product-card - product listing strip and card
   COMPONENTS: .catalog-toolbar - catalog filter/sort bar
   COMPONENTS: .page-hero - inner page header band
   COMPONENTS: .breadcrumbs - breadcrumb trail
   COMPONENTS: .prose/.legal-toc/.legal-layout - long legal text layout
   COMPONENTS: .notice/--info/--warn - callout boxes
   COMPONENTS: .form-grid/.field/.field-error/.field-row/.honeypot - form layout
   COMPONENTS: .faq/.faq-item - accordion FAQ
   COMPONENTS: .product-detail/__media/__price/__features/.qty-input - product page
   COMPONENTS: .cart-table/.cart-summary/.cart-empty - cart and checkout
   COMPONENTS: .contact-layout/.contact-card - contact page
   COMPONENTS: .thermo/.feel-toggle - Snový teplomer signature feature
   COMPONENTS: .divider/.footer-wave - decorative SVG dividers
   COMPONENTS: .cookie-banner - cookie consent banner
   COMPONENTS: .site-footer/.footer__grid - site footer
*/

/* wg-contrast-autofix */
div.strip.reveal--stagger a.product-card div.product-card__body p.product-card__cat { color: #111111 !important; }
