/* ===== Centrum Bolotova — brand design system (wine/gold, from brand-style.html) ===== */
/* Fonts on our own server (speed pass 2026-11-15: the Google Fonts @import was a render-blocking chain,
   brand.css → fonts.googleapis.com → fonts.gstatic.com). Same families, weights and styles as the old import
   (Montserrat 600–900, Open Sans 400–700, PT Serif 400 / 700 / 400 italic), subset to Latin + Latin-1 + Latin
   Extended-A (every Czech, Slovak and Polish letter) + punctuation, € and arrows; tools/build-fonts.sh makes them.
   A changed font goes up under a new -vN name (the files are cached for a year). OFL licences sit next to them. */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600 900;font-display:swap;src:url(media/fonts/montserrat-v1.woff2) format('woff2')}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(media/fonts/opensans-v1.woff2) format('woff2')}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;font-display:swap;src:url(media/fonts/ptserif-regular-v1.woff2) format('woff2')}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;font-display:swap;src:url(media/fonts/ptserif-bold-v1.woff2) format('woff2')}
@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;font-display:swap;src:url(media/fonts/ptserif-italic-v1.woff2) format('woff2')}

:root{
  --wine:#7B2D4E; --wine-dark:#5E2039; --magenta:#9C2A6E;
  --gold:#C9A86A; --gold-light:#E6D4A8;
  --sage:#DCE6C8; --sage-deep:#C4D3A3;
  --cream:#FAF7F2; --ink:#2B2B2B;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Open Sans',system-ui,sans-serif;color:var(--ink);background:var(--cream);line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{max-width:1140px;margin:0 auto;padding:0 20px}
.section{padding:64px 0}

/* Typography */
h1,h2,h3,.mont{font-family:'Montserrat',sans-serif}
.kicker{font-family:'Montserrat';font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--magenta);font-size:13px}
h1{font-weight:800;text-transform:uppercase;line-height:1.08;letter-spacing:-.015em;font-size:clamp(28px,3.6vw,40px)}
h2.title{font-weight:800;text-transform:uppercase;color:var(--wine);font-size:clamp(22px,2.6vw,31px);line-height:1.12;letter-spacing:-.01em;text-align:center}
.serif{font-family:'PT Serif',serif}
.accent{font-family:'PT Serif',serif;color:var(--magenta);font-weight:700}
.lead{font-size:18px;max-width:680px}
.center{text-align:center}
.muted{color:#6b5b62}

/* Pills / buttons */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:'Montserrat';font-weight:700;text-transform:uppercase;
     letter-spacing:1px;border:none;border-radius:12px;padding:14px 28px;font-size:14px;cursor:pointer;transition:.18s;white-space:nowrap}
.btn-primary{background:var(--wine);color:#fff}
.btn-primary:hover{background:var(--wine-dark)}
.btn-gold{background:linear-gradient(90deg,var(--gold),var(--gold-light));color:var(--wine-dark)}
.btn-gold:hover{filter:brightness(1.05)}
.btn-ghost{background:var(--sage);color:var(--wine-dark)}
.btn-ghost:hover{background:var(--sage-deep)}
.btn-wa{background:#178540;color:#fff}   /* WhatsApp green, same hue, darker: white text 4.7:1 (was #25D366, 2.0:1 — 2026-11-15) */
.btn-wa:hover{filter:brightness(.95)}
.tag{display:inline-block;font-family:'Montserrat';font-weight:700;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;
     color:#fff;background:var(--magenta);border-radius:40px;padding:6px 14px}
.ribbon{height:6px;background:linear-gradient(90deg,var(--gold-light),var(--gold),var(--wine));border-radius:40px}
.card{background:#fff;border-radius:18px;box-shadow:0 6px 22px rgba(94,32,57,.08);overflow:hidden}

/* Header */
.site-header{position:sticky;top:0;z-index:40;background:rgba(250,247,242,.96);backdrop-filter:blur(6px);border-bottom:1px solid #ecdfe4;transition:transform .25s ease}
/* Phones and tablets: cart.js adds .hdr-hide while scrolling down, removes it on the way up (owner, 2026-11-01). */
@media (max-width:1100px){ .site-header.hdr-hide{transform:translateY(-100%)} }
/* `gap` matters even with space-between: it is the MINIMUM distance, so the last menu item can
   never end up touching the WhatsApp circle the way «Kontakty» did (owner, 2026-08-15). */
.site-header .container{display:flex;align-items:center;justify-content:space-between;height:72px;gap:20px}
.brand{display:flex;align-items:center;gap:12px;font-family:'Montserrat';font-weight:800;text-transform:uppercase;letter-spacing:1px;color:var(--wine);font-size:17px}
.brand img.logo{width:52px;height:52px;object-fit:contain}
/* Header: the name always sits on two lines next to the logo and never shrinks under the menu.
   A flex row let the text overflow its box straight into «Katalog» (owner's screenshot 2026-10-27). */
.site-header .brand{display:grid;grid-template-columns:auto min-content;flex-shrink:0;line-height:1.15}
/* Czech menu labels are much longer than the Polish ones this design came from («Bolotovův
   balzám», «Užitečné informace»), and the header container is capped at 1140 px — at 17px/14px
   the seven items filled it exactly, leaving no room between the menu and the buttons. Tighter
   spacing and one point less type buy that room back without dropping a menu item. */
.nav{display:flex;gap:12px;font-family:'Montserrat';font-weight:600;font-size:13px;color:var(--wine-dark)}
/* Czech menu labels are longer than the Polish ones ("O centru", "Užitečné informace") and were
   wrapping onto two lines inside the header. Keep each item on one line. */
.nav a{white-space:nowrap}
.nav a:hover{color:var(--magenta)}
.header-actions{display:flex;align-items:center;gap:14px}
.wa-ic{width:40px;height:40px;border-radius:50%;background:#25D366;display:grid;place-items:center}
.wa-ic svg{width:22px;height:22px;fill:#fff}
/* Below this the seven items no longer fit next to the logo and the buttons — measured, not
   guessed: brand 236 + nav 633 + actions 146 + padding 40 + two 24px gaps ≈ 1103. */
@media(max-width:1100px){.nav{display:none}}

/* Hero */
.hero{position:relative;color:#fff;overflow:hidden}
.hero>img,.hero>picture>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(100deg,rgba(94,32,57,.94),rgba(123,45,78,.82) 45%,rgba(123,45,78,.25))}
.hero .inner{position:relative;padding:120px 0;max-width:620px}

/* Product card tabs */
.tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:2px solid #ecdfe4;margin-bottom:26px}
.tabs button{font-family:'Montserrat';font-weight:700;font-size:15px;color:#9a8791;background:none;border:none;
     padding:12px 18px;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:.15s}
.tabs button.active{color:var(--wine);border-bottom-color:var(--gold)}
.tab-panel{display:none}.tab-panel.active{display:block}
.tab-panel h3{color:var(--wine);font-size:18px;margin:18px 0 8px}
.tab-panel ul{margin:8px 0 8px 20px}.tab-panel li{margin-bottom:6px}
.info-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:14px}
.info-table td{padding:7px 10px;border-bottom:1px solid #f0e6ea}
.info-table td:last-child{text-align:right;white-space:nowrap;color:var(--wine)}

/* Footer */
.site-footer{background:var(--wine-dark);color:#e7d6dd;font-size:14px}
.site-footer a:hover{color:var(--gold-light)}
/* Footnotes: #caa9b6 was made for the dark footer; on the white/cream pages it read 2.1:1. Same hue, darker there
   (4.7:1 on cream, 5.0:1 on white — PageSpeed contrast, 2026-11-15); the footer keeps the pale shade (5.7:1 on wine-dark). */
.fnote{font-size:12px;color:#985e75;line-height:1.5}
.site-footer .fnote{color:#caa9b6}
.disclaimer-bar{background:#efe3e8;color:#6b4a57;font-size:12px;text-align:center;padding:12px 20px;line-height:1.5}

/* WhatsApp float */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:50;width:56px;height:56px;border-radius:50%;background:#25D366;
     display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:.18s}
.wa-float:hover{transform:scale(1.06)}.wa-float svg{width:28px;height:28px;fill:#fff}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
@media(max-width:820px){.grid3{grid-template-columns:1fr}.grid2{grid-template-columns:1fr;gap:28px}}

/* nav dropdown */
.nav-dd{position:relative}
.nav-dd-menu{position:absolute;top:100%;left:0;background:#fff;border:1px solid #ecdfe4;border-radius:12px;box-shadow:0 8px 24px rgba(94,32,57,.14);padding:8px;display:none;flex-direction:column;min-width:230px;z-index:50}
.nav-dd:hover .nav-dd-menu{display:flex}
.nav-dd-menu a{padding:9px 14px;border-radius:8px;white-space:nowrap;color:var(--wine-dark)}
.nav-dd-menu a:hover{background:var(--cream);color:var(--magenta)}

/* product gallery */
.gthumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.gthumb{width:70px;height:70px;border-radius:10px;border:2px solid #ecdfe4;object-fit:contain;background:#fff;cursor:pointer}
#gmain{cursor:zoom-in}
/* Breadcrumb links — visibly clickable */
.crumb a{color:var(--magenta);font-weight:600}
.crumb a:hover{text-decoration:underline;text-underline-offset:2px}
.gthumb:hover{border-color:var(--gold)}

/* mobile menu */
.burger{display:none;background:none;border:none;cursor:pointer;font-size:24px;color:var(--wine);line-height:1;padding:10px;margin:-10px;-webkit-tap-highlight-color:transparent}
@media(max-width:1100px){
 .burger{display:block}
 .nav{display:none;position:fixed;top:72px;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:16px 22px;box-shadow:0 10px 24px rgba(0,0,0,.15);gap:10px;z-index:45;max-height:80vh;overflow:auto}
 .nav.open{display:flex}
 .nav-dd{width:100%}.nav-dd-menu{position:static;display:flex;box-shadow:none;border:none;padding:4px 0 4px 14px;min-width:0}
 .nav-dd:hover .nav-dd-menu{display:flex}
}
/* mobile header fit (phones) */
@media(max-width:600px){
 .brand{font-size:13.5px;gap:8px;line-height:1.1}
 .brand img.logo{width:42px;height:42px}
 .header-actions{gap:8px}
 .header-actions .wa-ic{display:none}              /* redundant with floating WhatsApp button */
 .header-actions .btn{padding:11px 16px;font-size:12px;letter-spacing:.5px}
}
/* ===== Cart ===== */
.cart-toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);
  background:var(--wine-dark);color:#fff;font-family:'Montserrat';font-weight:700;font-size:14px;
  padding:13px 22px;border-radius:40px;box-shadow:0 10px 30px rgba(94,32,57,.35);z-index:200;
  opacity:0;pointer-events:none;transition:.25s;max-width:90vw;text-align:center}
.cart-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

.cart-row{display:grid;grid-template-columns:96px 1fr auto auto 32px;gap:16px;align-items:center;
  padding:16px 0;border-bottom:1px solid #efe5e9}
.cart-row .cart-thumb{width:96px;height:96px;border-radius:12px;object-fit:contain;background:#fff;padding:6px}
.cart-row .cart-thumb.ph{display:grid;place-items:center;color:var(--gold);font-family:'Montserrat';font-weight:800;font-size:22px}
.cart-name{font-weight:700;color:var(--wine-dark)}
.cart-unit{font-size:13px;color:#6b5b62;margin-top:3px}
.cart-contents{font-size:12.5px;color:#6b5b62;margin-top:3px;line-height:1.4}
/* Set upsell plate (product pages) */
.set-upsell{display:block;margin-top:16px;background:linear-gradient(90deg,#fff,var(--sage));border:1px solid var(--gold);border-radius:12px;padding:12px 16px;font-size:14px;color:var(--wine-dark);line-height:1.5;transition:.18s}
.set-upsell:hover{box-shadow:0 6px 18px rgba(94,32,57,.12)}
.set-upsell .ss-go{color:var(--magenta);font-weight:700;white-space:nowrap}

/* Closing call-to-action band (info / dead-end pages) */
.cta-band{background:var(--wine)}
.cta-band .title{color:#fff}
.cta-band .lead{color:#f0dfe6}

/* Trust strip under the add-to-cart button (product & set pages) */
.buy-trust{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px;font-size:13px;color:#6b5b62}
.buy-trust span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}

/* Discreet promo-code entry */
.promo-toggle{background:none;border:none;color:var(--wine);font-family:'Montserrat',sans-serif;font-weight:700;font-size:14px;cursor:pointer;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
.promo-toggle:hover{color:var(--magenta)}
.promo-collapse{margin-top:10px}
.promo-link{border:none;background:none;color:var(--magenta);cursor:pointer;text-decoration:underline;font-size:13px;font-family:inherit}
.qty{display:inline-flex;align-items:center;border:1px solid #e0d3d9;border-radius:40px;overflow:hidden}
.qty button{width:34px;height:34px;border:none;background:#fff;color:var(--wine);font-size:18px;cursor:pointer;line-height:1}
.qty button:hover{background:var(--cream)}
.qty span{min-width:34px;text-align:center;font-weight:700;font-family:'Montserrat'}
.cart-line{font-family:'Montserrat';font-weight:800;color:var(--wine);white-space:nowrap}
.cart-del{background:none;border:none;color:#b08;cursor:pointer;font-size:20px;line-height:1;opacity:.6}
.cart-del:hover{opacity:1}
#cod-fee-label{white-space:nowrap}
/* Header cart button: the word hides on narrow phones so the sum never pushes into the logo. */
@media(max-width:400px){.header-actions .cart-word{display:none}.header-actions .cart-sum::before{content:"🛒 "}}
.sum-row{display:flex;justify-content:space-between;padding:7px 0;font-size:15px}
.sum-row.total{border-top:1px solid #e0d3d9;margin-top:8px;padding-top:14px;font-family:'Montserrat';font-weight:800;font-size:20px;color:var(--wine)}
@media(max-width:600px){
  /* The line total gets its own row under the quantity, spanning to the right edge. It used to sit in
     the 28px × column, and «4 450 CZK» was cut to «4 450» behind the card's overflow:hidden; widening
     that column instead squeezed the product name to one word per line (mobile QA 2026-09-15). */
  .cart-row{grid-template-columns:80px 1fr 28px;grid-template-areas:"img name del" "img qty qty" "img line line";row-gap:10px}
  .cart-row .cart-thumb{grid-area:img;width:92px;height:92px;padding:0}
  .cart-row .cart-info{grid-area:name}
  .cart-row .qty{grid-area:qty;justify-self:start}
  .cart-row .cart-line{grid-area:line;text-align:right}
  .cart-row .cart-del{grid-area:del}
}

/* Cart on a phone (2026-10-29, order-page review): a chat buyer lands here first, so the form has to start on the
   first screen — less air above the basket, a smaller title, and «Dokončit objednávku» closer. */
.cart-was{font-weight:600;font-size:.85em;color:var(--muted,#8a7a80);margin-right:4px}
@media(max-width:600px){
  .cart-section{padding-top:18px}
  .cart-section .cart-title{font-size:22px}
  .cart-section .cart-name{font-size:15px;line-height:1.3}
  /* a set's contents: two lines, a tap opens the rest (the Christmas sets ran to seven lines) */
  .cart-section .cart-contents{font-size:12.5px;line-height:1.35;color:var(--muted,#8a7a80);margin-top:3px;cursor:pointer;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .cart-section .cart-contents.open{display:block;-webkit-line-clamp:unset}
  .cart-section .cart-hint{font-size:12px;line-height:1.35;padding:5px 9px;margin-top:5px}
  .cart-section .cart-save{font-size:12.5px;margin-top:3px}
  .cart-section #cart-items{margin-top:12px !important}
  .cart-section .order-title{margin-top:22px !important;font-size:21px !important}
  /* «Balzám Bolotova 500 ml» on one line: the × leaves the grid for the top-right corner, the card loses some side padding */
  .cart-section #cart-items{padding:4px 10px !important}
  .cart-row{position:relative;padding:12px 0;grid-template-columns:92px 1fr auto;column-gap:12px;grid-template-areas:"img name name" "img qty line"}
  .cart-row .cart-info{padding-right:26px}
  .cart-row .cart-del{position:absolute;top:10px;right:0}
  .cart-row .cart-line{text-align:right}
  .cart-row .cart-line{align-self:center;line-height:1.2}
  .cart-row .cart-line .cart-was{display:block;margin:0}
  .cart-section #promo-box{margin-top:10px !important}
  .cart-section #promo-msg{font-size:12.5px !important;margin-top:4px !important}
  .cart-section .cart-trust{font-size:12.5px;line-height:1.45;padding:8px 12px}
  .cart-section #order-form{margin-top:12px !important;gap:16px !important}
  .cart-section #order-form > .card{padding:16px !important}
}

/* ===== Reviews grid (customer screenshots) ===== */
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.reviews-grid img{width:100%;border-radius:14px;box-shadow:0 4px 14px rgba(94,32,57,.08);border:1px solid #efe5e9;background:#fff}
.benefit-ico{height:54px;width:auto;margin-bottom:12px}

/* Cart discount visibility */
.cart-old{color:#9a8a90;text-decoration:line-through;font-size:13px;margin-right:4px}
.cart-save{font-size:12.5px;color:var(--magenta);font-weight:700;margin-top:3px}
.cart-omnibus{font-size:11.5px;color:#9a8a90;margin-top:2px}
.cart-hint{font-size:12.5px;color:var(--wine);background:var(--sage);border-radius:8px;padding:5px 9px;margin-top:6px;display:inline-block}

/* Quantity stepper on product/set pages */
.qsel{display:inline-flex;align-items:center;border:1px solid #e0d3d9;border-radius:40px;overflow:hidden;vertical-align:middle;background:#fff}
.qsel button{width:40px;height:48px;border:none;background:#fff;color:var(--wine);font-size:20px;cursor:pointer;line-height:1}
.qsel button:hover{background:var(--cream)}
.qsel input{width:46px;height:48px;text-align:center;border:none;font-family:'Montserrat';font-weight:700;font-size:16px;color:var(--wine-dark);-moz-appearance:textfield}
.qsel input::-webkit-outer-spin-button,.qsel input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Catalog Produkty/Komplety toggle */
.catalog-toggle{display:inline-flex;gap:6px;background:#fff;border:1px solid #ecdfe4;border-radius:40px;padding:5px;margin:0 auto 8px}
.catalog-toggle button{border:none;background:none;font-family:'Montserrat';font-weight:700;text-transform:uppercase;letter-spacing:1px;font-size:13px;color:var(--wine);padding:10px 24px;border-radius:40px;cursor:pointer;transition:.18s}
.catalog-toggle button.active{background:var(--wine);color:#fff}
/* Catalog head: a light band, title + one line left, the switch right; stacks centred on phones. */
.cat-head{background:#f4ece1;border-bottom:1px solid #eadfcf;padding:26px 0}
.cat-head .container{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.cat-head h1{font-family:'Montserrat';font-weight:800;text-transform:uppercase;color:var(--wine);font-size:clamp(24px,2.6vw,32px);line-height:1.1;margin:0}
.cat-head p{margin:6px 0 0;font-size:15px}
.cat-head .catalog-toggle{margin:0}
@media(max-width:640px){.cat-head{padding:16px 0}.cat-head .container{justify-content:center;text-align:center;gap:12px}.cat-head p{display:none}}

/* Certificates grid */
.cert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
.cert-grid img{width:100%;height:200px;object-fit:contain;background:#fff;border:1px solid #efe5e9;border-radius:12px;padding:8px;box-shadow:0 4px 14px rgba(94,32,57,.07);transition:.18s}
.cert-grid a:hover img{box-shadow:0 8px 22px rgba(94,32,57,.16);transform:translateY(-2px)}

/* Reviews carousel (balzam landing) */
.rev-carousel{position:relative;margin-top:34px}
.rev-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:6px;-webkit-overflow-scrolling:touch}
.rev-track::-webkit-scrollbar{height:8px}
.rev-track::-webkit-scrollbar-thumb{background:#e0d3d9;border-radius:8px}
.rev-track img{flex:0 0 280px;width:280px;scroll-snap-align:center;border-radius:14px;border:1px solid #efe5e9;background:#fff;box-shadow:0 4px 14px rgba(94,32,57,.08)}
.rev-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:none;background:var(--wine);color:#fff;font-size:22px;cursor:pointer;box-shadow:0 6px 18px rgba(94,32,57,.3);z-index:2;display:grid;place-items:center}
.rev-nav:hover{background:var(--wine-dark)}
.rev-nav.prev{left:-10px}.rev-nav.next{right:-10px}
@media(max-width:600px){.rev-track img{flex-basis:230px;width:230px}.rev-nav{display:none}}

/* Add-to-cart popup */
.cart-pop{position:fixed;inset:0;background:rgba(43,12,28,.45);display:none;align-items:center;justify-content:center;z-index:300;padding:20px}
.cart-pop.show{display:flex}
.cart-pop-box{background:#fff;border-radius:18px;max-width:420px;width:100%;padding:26px;position:relative;box-shadow:0 24px 60px rgba(43,12,28,.4);animation:cartpop .22s ease}
@keyframes cartpop{from{transform:translateY(14px);opacity:0}to{transform:translateY(0);opacity:1}}
.cart-pop-x{position:absolute;top:12px;right:14px;border:none;background:none;font-size:26px;line-height:1;color:#9a8a90;cursor:pointer}
.cart-pop-head{display:flex;align-items:center;gap:10px;font-family:'Montserrat';font-weight:800;color:var(--wine);font-size:18px}
.cart-pop-tick{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#3aaf5d;color:#fff;font-size:15px}
.cart-pop-prod{display:flex;align-items:center;gap:14px;margin:16px 0 20px}
.cart-pop-prod img{width:60px;height:60px;object-fit:contain;background:#fff;border-radius:12px;padding:5px}
.cart-pop-prod strong{color:var(--wine-dark)}
.cart-pop-actions{display:grid;gap:10px}
.cart-pop-actions .btn{justify-content:center;text-align:center}
.cart-pop-sum{font-size:13px;font-weight:700;color:var(--wine);margin-top:2px}
.cart-pop-go:focus-visible,.cart-pop-cont:focus-visible,.cart-pop-x:focus-visible{outline:3px solid var(--wine);outline-offset:2px}

/* Footer social icons */
.foot-social{display:flex;gap:10px;margin-top:14px}
.foot-social a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);transition:.18s}
.foot-social a:hover{background:var(--gold)}
.foot-social svg{width:18px;height:18px;fill:#fff}

/* Unified footer columns (responsive) */
.foot-cols{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px;padding:54px 20px}
@media(max-width:780px){.foot-cols{grid-template-columns:1fr 1fr;gap:24px}}
@media(max-width:480px){.foot-cols{grid-template-columns:1fr}}

/* Catalog card image — uniform size (no layout jump) */
/* White under the product photo, like the card itself (owner 2026-10-28: the cream box looked dirty, and the
   white-backed pictures — the book, the set artwork — sat on it as white rectangles). */
.cat-card-img{height:240px;width:100%;object-fit:contain;background:#fff;padding:16px;display:block}
.card h3 a{color:inherit}
.card h3 a:hover{color:var(--magenta)}

/* Certificate thumbnail zoom hint + lightbox */
.cert-grid a{position:relative;display:block;cursor:zoom-in}
.cert-grid a::after{content:'🔍';position:absolute;right:10px;bottom:10px;background:var(--wine);color:#fff;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:14px;opacity:.85}
.lightbox{position:fixed;inset:0;background:rgba(43,12,28,.85);display:none;align-items:center;justify-content:center;z-index:400;padding:30px}
.lightbox.show{display:flex}
.lightbox img{max-width:95%;max-height:92vh;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5);background:#fff}
.lightbox .lb-x{position:absolute;top:18px;right:24px;font-size:38px;color:#fff;cursor:pointer;line-height:1;background:none;border:none}

/* Footer visual separation from preceding section */
.site-footer{border-top:4px solid var(--gold)}

/* Experts carousel (balzam landing) */
.exp-carousel{position:relative}
.exp-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 8px}
.exp-track::-webkit-scrollbar{height:8px}
.exp-track::-webkit-scrollbar-thumb{background:#e0d3d9;border-radius:8px}
.exp-card{flex:0 0 330px;max-width:330px;scroll-snap-align:center;padding:14px;font-size:13px}
@media(max-width:600px){.exp-card{flex-basis:280px}.exp-carousel .rev-nav{display:none}}

/* Back-to-top button */
.to-top{position:fixed;right:20px;bottom:84px;width:46px;height:46px;border-radius:50%;border:none;background:var(--wine);color:#fff;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 8px 22px rgba(94,32,57,.35);opacity:0;pointer-events:none;transition:.22s;z-index:120;display:grid;place-items:center}
.to-top.show{opacity:1;pointer-events:auto}
.to-top:hover{background:var(--wine-dark)}

/* Review images are zoomable */
.rev-track img, .reviews-grid img{cursor:zoom-in}

/* Certificates carousel (balzam landing) */
.cert-carousel{position:relative}
.cert-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 8px}
.cert-track::-webkit-scrollbar{height:8px}
.cert-track::-webkit-scrollbar-thumb{background:#e0d3d9;border-radius:8px}
.cert-track a{flex:0 0 118px;scroll-snap-align:center;position:relative;display:block;cursor:zoom-in}
.cert-track img{width:100%;height:148px;object-fit:contain;background:#fff;border:1px solid #efe5e9;border-radius:12px;padding:6px}
@media(max-width:600px){.cert-track a{flex-basis:140px}.cert-carousel .rev-nav{display:none}}

/* Articles accordion (kolagen) */
.art-acc{border:1px solid #efe5e9;border-radius:12px;margin-bottom:12px;background:#fff;overflow:hidden}
.art-acc>summary{cursor:pointer;list-style:none;padding:16px 20px;font-family:var(--font-head,'Montserrat',sans-serif);font-weight:700;color:var(--wine);display:flex;justify-content:space-between;align-items:center;gap:12px}
.art-acc>summary::-webkit-details-marker{display:none}
.art-acc>summary::after{content:'+';font-size:22px;color:var(--gold,#b8893b);line-height:1;flex:0 0 auto}
.art-acc[open]>summary::after{content:'–'}
.art-acc[open]>summary{border-bottom:1px solid #efe5e9}
.art-acc>p{padding:0 20px;margin:12px 0}
.art-acc>p:first-of-type{margin-top:16px}
.art-acc>p:last-child{margin-bottom:18px}

/* Product cards in 3-col grids: equal height + ZOBACZ button bottom-aligned */
.grid3 article.card{display:flex;flex-direction:column}
.grid3 article.card>div{display:flex;flex-direction:column;flex:1 1 auto}
.grid3 article.card .btn{margin-top:auto;align-self:flex-start}

/* Article author byline */
.art-acc>p.art-by{margin:16px 20px 4px;font-style:italic;font-size:13.5px;color:#8a7a80}

/* Cart set cross-sell banner */
.set-suggest-box{display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,#fff,var(--sage));border:1px solid var(--gold);border-radius:14px;padding:14px 40px 14px 18px;position:relative;box-shadow:0 4px 16px rgba(94,32,57,.08)}
.set-suggest-box .ss-ico{font-size:24px;flex:0 0 auto;line-height:1}
.set-suggest-box .ss-txt{font-size:14.5px;color:var(--wine-dark);flex:1 1 auto;line-height:1.5}
.set-suggest-box .ss-act{flex:0 0 auto}
.set-suggest-box .ss-x{position:absolute;top:6px;right:12px;border:none;background:none;font-size:20px;line-height:1;color:#9a8a90;cursor:pointer}
.set-suggest-box .ss-x:hover{color:var(--wine)}
@media(max-width:600px){
  .set-suggest-box{flex-wrap:wrap;gap:10px}
  .set-suggest-box .ss-act{width:100%}
  .set-suggest-box .ss-act .btn{width:100%;justify-content:center}
}

/* Recently viewed row */
.recent-sec{background:#fff;border-top:1px solid #efe5e9}
.recent-row{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px;-webkit-overflow-scrolling:touch}
.recent-row::-webkit-scrollbar{height:8px}
.recent-row::-webkit-scrollbar-thumb{background:#e0d3d9;border-radius:8px}
.recent-card{flex:0 0 180px;scroll-snap-align:start;background:#fff;border:1px solid #efe5e9;border-radius:14px;overflow:hidden;transition:.18s;display:flex;flex-direction:column}
.recent-card:hover{box-shadow:0 8px 22px rgba(94,32,57,.14);transform:translateY(-2px)}
.recent-img{height:150px;background:#fff;display:flex;align-items:center;justify-content:center;padding:12px;overflow:hidden}
.recent-img img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.recent-name{font-family:'Montserrat';font-weight:700;font-size:13.5px;color:var(--wine-dark);padding:10px 12px 2px;line-height:1.3;flex:1 1 auto}
.recent-price{padding:4px 12px 12px;color:var(--wine);font-size:14px}
.recent-old{color:#9a8a90;text-decoration:line-through;font-size:12.5px;margin-right:5px}
@media(max-width:600px){.recent-card{flex-basis:150px}.recent-img{height:120px}}

/* Exit-intent popup */
.exit-pop{position:fixed;inset:0;background:rgba(43,12,28,.55);display:none;align-items:center;justify-content:center;z-index:350;padding:20px;opacity:0;transition:opacity .22s}
.exit-pop.show{display:flex;opacity:1}
.exit-box{background:#fff;border-radius:18px;max-width:440px;width:100%;padding:30px 26px 26px;position:relative;box-shadow:0 24px 60px rgba(43,12,28,.45);animation:cartpop .25s ease}
.exit-box-guide{max-width:640px;padding:0;display:flex;overflow:hidden}
.exit-cover{flex:0 0 42%;background:var(--wine-dark);display:grid;place-items:center;padding:22px}
.exit-cover img{max-width:100%;max-height:320px;width:auto;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.exit-body{flex:1 1 auto;padding:30px 26px 26px}
.exit-x{position:absolute;top:10px;right:14px;border:none;background:none;font-size:28px;line-height:1;color:#9a8a90;cursor:pointer;z-index:2}
.exit-x:hover{color:var(--wine)}
.exit-h{font-family:'Montserrat';font-weight:800;color:var(--wine);font-size:21px;line-height:1.2}
.exit-p{margin-top:10px;color:var(--ink);font-size:14.5px;line-height:1.55}
.exit-form{margin-top:16px;display:grid;gap:10px}
.exit-form input[type=email]{border:1px solid #e0d3d9;border-radius:40px;padding:13px 18px;font-size:16px}
.exit-consent{display:flex;gap:8px;font-size:12px;color:#6b5b62;line-height:1.4}
.exit-form .btn{justify-content:center}
.exit-mini{margin-top:10px;font-size:11.5px;color:#9a8a90}
.exit-actions{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
.exit-actions .btn{flex:1 1 auto;justify-content:center}
@media(max-width:600px){
  .exit-box-guide{flex-direction:column;max-width:420px}
  .exit-cover{flex-basis:auto;padding:18px}
  .exit-cover img{max-width:150px}
  .exit-body{padding:22px 20px}
  .exit-box-guide .exit-x{color:#fff}
}

/* ===== Mobile reading & layout pass (phones ≤600px) =====
   Goal: comfortable reading, less scrolling, bigger tap targets, no horizontal overflow.
   Use class="mobile-hide" on bulky/decorative images or icons to drop them on phones. */
@media(max-width:600px){
  .mobile-hide{display:none!important}
  .container{padding:0 16px}
  .section{padding:40px 0}
  /* hero: shorter and readable, CTAs stack full-width */
  .hero .inner{padding:54px 0;max-width:none}
  .hero .inner .btn{width:100%;justify-content:center}
  h1{font-size:clamp(25px,7.4vw,31px)}
  h2.title{font-size:clamp(21px,6.2vw,26px)}
  /* readability */
  body{line-height:1.7}
  .lead{font-size:16.5px;line-height:1.7}
  p,li{line-height:1.72}
  /* product tabs: scroll on one line instead of wrapping into many rows */
  .tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;position:relative}
  .tabs::-webkit-scrollbar{display:none}
  /* right-edge fade hinting there are more tabs to scroll to (sticky pseudo
     pins to the visible right edge; negative margin keeps it out of layout) */
  .tabs::after{content:'';position:sticky;right:0;flex:0 0 30px;align-self:stretch;
   margin-left:-30px;background:linear-gradient(to right,rgba(255,255,255,0),#fff);pointer-events:none}
  .tabs button{white-space:nowrap;font-size:14px}
  /* comfortable tap targets + tidy trust strip */
  .btn{padding:13px 22px}
  .buy-trust{font-size:12.5px;gap:6px 14px}
  /* prevent flex/grid children from forcing the page wider than the screen */
  .grid2>*,.grid3>*{min-width:0}
  .gthumbs{max-width:100%}
  /* a long button label wraps instead of pushing the page wider (returns page, 2026-10-26 audit) */
  main .btn,section .btn{max-width:100%;white-space:normal;text-align:center;justify-content:center}
  /* price row: keep numbers intact, drop the description to its own line */
  .price-row{flex-wrap:wrap;column-gap:12px}
  .price-row .muted{flex-basis:100%;margin-top:2px}
  /* founder card: stack photo over text (no narrow text column) */
  .founder-card{grid-template-columns:1fr!important;gap:16px;padding:24px!important}
  .founder-card>img{justify-self:center}
}
/* price numbers never split "1 010" / "CZK" (any width) */
.price-row .cart-old,.price-row .mont{white-space:nowrap}

/* ── Form validation (lead / inquiry / review; the cart keeps its own inline copy) ────── */
/* Red highlight overrides the pill inputs' inline border:none, so !important is needed. */
.cb-invalid{border:1px solid #d23b5e !important;background:#fdf2f5 !important;color:var(--wine-dark)}
/* Hint is a solid red chip → readable on ANY section background (dark hero or white page). */
.cb-field-err{display:inline-block;align-self:start;margin-top:-2px;padding:3px 9px;border-radius:7px;
  background:#d23b5e;color:#fff;font-size:12px;font-weight:600;line-height:1.35;text-align:left}
.cb-consent-invalid input{outline:2px solid #d23b5e;outline-offset:2px}

/* ── Form thank-you card — self-contained colours so it reads on any background ─────── */
.form-thanks{max-width:420px;margin:6px 0;padding:22px 24px;border-radius:16px;background:#fff;
  border:1px solid #eadfe4;box-shadow:0 12px 34px rgba(0,0,0,.18);color:var(--wine-dark);text-align:left}
.form-thanks h3{margin:0 0 6px;font-size:20px;font-weight:800;color:var(--wine)}
.form-thanks p{margin:0;font-size:15px;line-height:1.5;color:#5a4650}

/* intl-tel-input dial code ("+48"): force dark text so it stays visible on the light phone
   input even inside dark sections — the hero sets color:#fff, which made it invisible. 2026-07-23 */
.iti__selected-dial-code,.iti__selected-flag{color:var(--wine-dark)}

/* Checkout — a phone-only bar with the total and the order button (kosik.html, 2026-10-26). */
.m-paybar{display:none}
@media (max-width:768px){
  .m-paybar:not([hidden]){display:flex;position:fixed;left:0;right:0;bottom:0;z-index:55;background:#fff;
    box-shadow:0 -4px 16px rgba(94,32,57,.15);padding:10px 16px;gap:12px;align-items:center;justify-content:space-between}
  .m-paybar small{display:block;font-size:12px;color:var(--muted,#6b5b62)}
  .m-paybar strong{font-family:'Montserrat';font-size:18px;color:var(--wine)}
  .m-paybar .btn{padding:10px 14px;font-size:12px;line-height:1.25;white-space:normal;max-width:60%;text-align:center}
  .m-paybar > span{flex:none}
  body.has-paybar .wa-float{display:none}
}

/* WhatsApp review stories — vertical cards in a sideways strip (hodnoceni / index, 2026-10-26). */
.story-strip{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:18px 2px 10px;margin-top:6px}
.story-strip img{flex:0 0 auto;width:min(230px,62vw);height:auto;border-radius:16px;scroll-snap-align:start;box-shadow:0 6px 18px rgba(94,32,57,.12)}

/* Checkout — address suggestions under the street field (kosik.html, 2026-10-26). */
.addr-list{position:absolute;left:0;right:0;top:100%;z-index:30;background:#fff;border:1px solid #e0d3d9;border-radius:12px;
  box-shadow:0 8px 24px rgba(94,32,57,.14);margin-top:4px;overflow:hidden;max-height:320px;overflow-y:auto}
.addr-opt,.addr-manual{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #f1e8ec;
  padding:11px 14px;font:inherit;font-size:15px;color:var(--ink,#2b2b2b);cursor:pointer}
.addr-opt:hover,.addr-opt:focus{background:#faf4f6}
.addr-manual{font-size:13px;color:var(--magenta);font-weight:600;border-bottom:0}

/* Seasonal delivery notice under the top bar (Christmas cut-offs, holidays) — small on purpose. */
.hol-note{margin:0;background:#f7efe2;color:var(--wine-dark);font-size:12.5px;line-height:1.45;text-align:center;padding:6px 16px;border-bottom:1px solid #ecdcc4}
@media (max-width:640px){.hol-note{font-size:11.5px;padding:5px 12px}}
/* «Your code starts on …» pop-up for card-QR arrivals — cart.js (2026-11-01). */
.promo-wait-modal{position:fixed;inset:0;z-index:70;background:rgba(43,12,28,.55);display:flex;align-items:center;justify-content:center;padding:20px}
.promo-wait-modal .pwm-card{background:#fff;border-radius:18px;max-width:420px;width:100%;padding:28px 24px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.35);border-top:6px solid var(--wine-dark)}
.promo-wait-modal .pwm-ic{font-size:44px;line-height:1}
.promo-wait-modal p{margin:14px 0 20px;font-size:18px;line-height:1.45;color:var(--wine-dark);font-weight:600}
.promo-wait-modal .btn{width:100%;display:flex;justify-content:center;text-align:center}

/* Shop version switch in the header — Česko · Slovensko · Polska as ONE pill, the current shop filled (owner
   2026-10-29: a lone «Slovensko» flag did not read as «switch the shop»). Each link leads to the SAME page on the
   other shop; CZ ↔ SK carries the cart along (cart.js, data-cb-switch), Poland is a separate shop and opens empty.
   Always CZ · SK · PL in this order on both storefronts, so the control does not shuffle between sites. */
.mkt{position:relative;z-index:1;display:inline-flex;align-items:center;gap:2px;border:1.5px solid #e0d3d9;border-radius:999px;padding:2px;background:#fff}
.mkt-opt{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 10px;font-size:13px;font-weight:600;
  color:var(--wine-dark);text-decoration:none;white-space:nowrap;line-height:1}
a.mkt-opt:hover{background:var(--cream)}
.mkt-opt.is-current{background:var(--wine);color:#fff}
.mkt-flag{width:18px;height:12px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.12);flex:none}
.mkt-short{display:none}
/* Without the two-row desktop header there is no room for the words — flag + code. */
@media (max-width:1100px){.mkt-opt{padding:5px 8px}.mkt-long{display:none}.mkt-short{display:inline}}
/* Phones: the switch has to fit between the brand and the cart without touching either. */
@media (max-width:480px){
  /* Three codes do not fit between the brand and the burger — flags only; the current one stays filled. */
  .mkt-opt{padding:6.5px 6px}.mkt-short{display:none}.mkt{margin-right:4px}   /* 6.5 px: a 24 px tap target (a11y, 2026-11-15) */
  .mkt-flag{width:16px;height:11px}
  .header-actions{gap:6px}
  .header-actions .btn{padding:10px 11px}
  .brand{letter-spacing:.5px}
}
@media (max-width:380px){ .brand{font-size:12.5px} .brand .logo{width:34px;height:auto} }
/* Narrow phones with a cart sum in the header («🛒 1 450 CZK»): the three flags, the burger and the cart button ran
   17 px past a 375 px screen and the page scrolled sideways (2026-10-29). Tighter flags, gaps and cart button. */
@media (max-width:420px){
  .mkt{gap:0;padding:1px;margin-right:0}
  .mkt-opt{padding:6.5px 4px}   /* 24×24 px tap target (PageSpeed target-size, 2026-11-15) */
  .mkt-flag{width:16px;height:11px}
  .header-actions{gap:4px}
  .header-actions .btn{padding:10px 8px;font-size:11px;letter-spacing:.2px}
}
@media (max-width:370px){ .site-header .brand{font-size:11.5px;gap:6px;letter-spacing:.3px} .site-header .brand .logo{width:30px;height:auto} }
/* Desktop header on two rows (owner 2026-10-29, «налеплено»): logo, CZ · SK · PL, WhatsApp and the cart on the first row,
   the whole menu on its own strip below, so no item has to squeeze next to the buttons. The markup is unchanged —
   `order` moves the menu last and `flex-basis:100%` puts it on its own line; phones keep the burger. */
@media (min-width:1101px){
  html{scroll-padding-top:116px}
  .site-header .container{flex-wrap:wrap;height:auto;row-gap:0;padding-top:10px}
  .site-header .brand{order:1;grid-template-columns:auto max-content}
  .header-actions{order:2}
  .nav{order:3;flex-basis:100%;justify-content:center;gap:36px;font-size:14px;margin-top:10px;padding:10px 0;position:relative}
  /* The full-width line over the menu is a box-shadow clipped to 1 px: a shadow adds no scrollable width, so the header
     needs no overflow clip. `.site-header{overflow-x:clip}` (2026-10-29) hid the «Užitečné informace» dropdown under the
     header in the owner's browser (2026-11-10) — never clip an element a dropdown opens out of. */
  .nav::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:#ecdfe4;box-shadow:0 0 0 100vmax #ecdfe4;clip-path:inset(0 -100vmax)}
}
/* Product and set pages on a phone (2026-10-26, as on Bitrix 23.10): name — the set's contents — price — button —
   «dobírka / doprava» first, the photo and the long description after. A real START card on Bitrix had its
   button on the 2nd screen and 3 of 32 visitors reached the cart. The columns dissolve (display:contents) so
   their children can be ordered; the desktop layout is untouched. */
@media (max-width:767px){
  .pd-hero{display:flex !important;flex-direction:column;gap:0}
  .pd-hero>div{display:contents}
  .pd-hero>div>*{order:6;max-width:100%;min-width:0}
  .pd-hero .tag{order:1;align-self:flex-start}
  .pd-hero h1{order:2;font-size:28px}
  .pd-hero .accent{order:3;font-size:17px !important}
  .pd-hero .pd-contents{order:4;margin:12px 0 0 !important}
  .pd-hero .price-row{margin:16px 0 !important}
  .pd-hero .buy-trust{order:7}
  .pd-hero .set-upsell{order:8}
  .pd-hero .pd-extra{order:9}
  .pd-hero>div:first-child>.card:first-child{order:10;margin-top:20px;align-self:stretch}
  /* the photo card's own max-width:340px + 20px padding made it 380 px wide in this column (2026-10-26 audit) */
  .pd-hero .card img{max-width:100% !important;height:auto}
  .pd-hero .gthumbs{order:11}
  .pd-hero>div:last-child>p:not(.accent){order:12;margin-top:16px !important}
}
/* Product pages on a phone, 2026-11-01 (owner: «сверху маленькую фотку, а внизу уже пусть будут большие фотки… 4 самые
   прикольные»): a compact photo first, then name — price — button as before; the gallery at the bottom becomes four
   big photos that swipe sideways (the first is already on top). The bar with price + button: cart.js «buybar». */
@media (max-width:767px){
  .pd-hero>div:first-child>.card:first-child{order:0;margin:0 0 14px;min-height:0 !important;padding:10px !important}
  .pd-hero #gmain{max-height:230px;width:auto !important;max-width:100% !important;margin:0 auto;display:block}
  .pd-hero .gthumbs{order:11;flex-wrap:nowrap !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin-top:18px;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  .pd-hero .gthumbs img{flex:0 0 84%;width:84% !important;height:auto !important;max-width:none !important;aspect-ratio:1/1;object-fit:cover;scroll-snap-align:center;border-radius:14px;border:1px solid #efe5e9;background:#fff}
  .pd-hero .gthumbs img:first-child,.pd-hero .gthumbs img:nth-child(n+6){display:none}
  .buybar{position:fixed;left:0;right:0;bottom:0;z-index:55;display:flex;align-items:center;gap:12px;background:#fff;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -6px 20px rgba(0,0,0,.15);transform:translateY(110%);transition:transform .2s ease}
  .buybar.show{transform:none}
  .buybar-price{font-family:'Montserrat';font-weight:800;font-size:20px;color:var(--wine);white-space:nowrap}
  .buybar .btn{flex:1;justify-content:center;padding:13px 10px;font-size:13px}
  body.has-buybar .wa-float{display:none}
  body.has-buybar .to-top{bottom:84px}
}
@media (min-width:768px){.buybar{display:none}}
/* …and the same page tidied (owner 2026-11-01: «разбросано»): the photo edge to edge with no frame, the subtitle under
   the name, the claim as one quiet line instead of a green pill, the two sizes as one segmented switch, the price and
   the buy row close together, the delivery facts as a neat 2×2 grid. */
@media (max-width:767px){
  .pd-hero>div:first-child>.card:first-child{margin:0 calc(50% - 50vw) 18px !important;width:100vw;max-width:none !important;align-self:auto !important;padding:0 !important;border-radius:0 !important;box-shadow:none !important;background:#f7f1e6 !important}
  section:has(>.pd-hero){padding-top:0 !important}
  .pd-hero{align-items:stretch !important}
  .pd-hero .price-row{justify-content:flex-start !important;align-items:baseline !important;margin:4px 0 14px !important}
  .pd-hero #gmain{width:100% !important;max-width:100% !important;max-height:none !important;aspect-ratio:1/1;object-fit:cover;border-radius:0 !important}
  .pd-hero h1{font-size:24px !important;letter-spacing:.3px;margin:0 0 2px !important}
  /* one line under the name, green; the ✓ pill below said the same and is hidden (owner 2026-11-01) */
  .pd-hero .accent{order:2 !important;margin:0 0 14px !important;font-size:16px !important;color:#4d7a4a !important}
  .pd-hero>div>div:has(>span[style*="--sage"]){display:none !important}
  .pd-hero #variants{display:grid !important;width:100%;align-self:stretch;grid-template-columns:1fr 1fr;gap:0 !important;background:#f1e7ec;border-radius:12px;padding:4px;margin:0 0 14px !important}
  .pd-hero #variants .btn{border:0 !important;box-shadow:none !important;padding:11px 6px !important;font-size:13px !important;border-radius:9px !important;justify-content:center}
  .pd-hero #variants .btn-ghost{background:transparent !important;color:var(--wine) !important}
  .pd-hero .buy-trust{display:grid !important;grid-template-columns:1fr 1fr;gap:6px 12px !important;font-size:12px;line-height:1.35;margin-top:12px !important}
  .pd-hero .buy-trust{width:100%;min-width:0}
  .pd-hero .buy-trust span{font-weight:500 !important;color:#5a4a52 !important;white-space:normal !important;min-width:0}
}
/* The cookie bar on a phone: one compact strip, not a quarter of the screen (Bitrix lesson, 2026-10). */
@media (max-width:640px){
  /* owner 2026-11-19 «первый экран куки везде сделать меньше»: one line of text + one row of buttons, ~75 px */
  #cb-banner{font-size:12px !important;line-height:1.35;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px)) !important;border-top-width:2px !important}
  #cb-banner .cb-in{gap:7px !important}
  #cb-banner .cb-btns{width:100%;flex-wrap:nowrap !important;gap:8px !important}
  #cb-banner button{flex:1;padding:9px 6px !important;font-size:11px !important}
}
@media (max-width:767px){
  .pd-hero .accent{font-size:15px !important;line-height:1.4}
  .pd-hero .pd-contents{padding:10px 14px !important}
  .pd-hero .pd-contents .info-table td{padding:5px 0;font-size:14px}
  .pd-hero .pd-contents p.muted{display:none}
  .pd-hero .price-row{flex-wrap:wrap;row-gap:4px}
  .crumb{display:none}
  /* Audit 2026-10-26: the button still sat at 759 px on START CZ (Bitrix after 23.10: 457 px) and the
     «dobírka / doprava» lines at 819 px — below the first screen of a phone browser. Tighter top, no tag
     line, the subtitle under the buy block, stepper and button on one row. */
  section:has(>.pd-hero){padding-top:10px !important}
  .pd-hero .tag{display:none}
  .pd-hero h1{margin:2px 0 4px !important}
  .pd-hero .accent{order:8;margin-top:14px !important}
  .pd-hero .pd-contents .info-table td{padding:3px 0;line-height:1.35}
  .pd-hero .price-row{margin:12px 0 !important}
  .pd-hero .price-row .mont{font-size:28px !important}
  .pd-hero .price-row .muted{font-size:12.5px !important;line-height:1.4}
  .pd-hero div:has(>.qsel){gap:8px !important}
  .pd-hero div:has(>.qsel)>.btn{flex:1 1 150px;padding:13px 10px;font-size:13px;letter-spacing:.5px}
  .pd-hero .qsel button{width:36px}
  .pd-hero .qsel input{width:40px}
  .pd-hero .buy-trust{margin-top:10px;flex-direction:column;gap:3px}
  .pd-hero .buy-trust span:nth-child(-n+2){font-weight:600;color:var(--wine-dark)}
}

/* Cart: «pay on delivery · delivery from · phone» under the items; the birthday folded on phones. */
.cart-trust{margin-top:12px;font-size:13.5px;line-height:1.55;color:var(--wine-dark);background:#f3efe6;border-radius:12px;padding:10px 14px}
.cart-trust a{color:var(--magenta);font-weight:600;white-space:nowrap}
.bday-open{display:none}
@media (max-width:767px){.bday-open{display:block;margin:4px 0 0;text-align:left}.bday-field.bday-closed{display:none}}
@media (max-width:767px){.bday-hint.bday-closed{display:none}}

/* Product/set page: the active code's price under the price row (cart.js paintCards, 2026-10-26 audit). */
.card-promo{margin:-4px 0 14px;padding:10px 14px;border-radius:12px;background:#fdf3f7;border:1px solid #f0d3df;color:var(--wine-dark);font-size:14px;line-height:1.5}
.card-promo s{color:#8a7a82;margin-left:4px}
.card-promo .card-omnibus{font-size:12px;color:#6b5b62;margin-top:2px}
.card-promo .btn{margin-top:8px;padding:10px 14px;font-size:12px}
@media (max-width:767px){.pd-hero .card-promo{order:6}}

/* Product photo magnifier (as on the HataVia landing, 2026-10-27): with a mouse the photo zooms under the
   cursor inside its card, a magnifier badge in the corner fades out while zooming. JS: cart.js «magnifier». */
@media (hover:hover) and (pointer:fine){
  .gzoom{position:relative;overflow:hidden}
  .gzoom #gmain{transition:transform .3s ease}
  .gzoom.hz #gmain{transform:scale(2.2)}
  .gzoom:after{content:"";position:absolute;top:14px;right:14px;z-index:2;width:40px;height:40px;border-radius:50%;pointer-events:none;
    background:rgba(255,255,255,.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='M20 20l-4.4-4.4M10.8 8v5.6M8 10.8h5.6'/%3E%3C/svg%3E") center/20px no-repeat;
    box-shadow:0 4px 14px rgba(0,0,0,.1);opacity:.9;transition:opacity .2s}
  .gzoom.hz:after{opacity:0}
}

/* ---- Phone pass, 2026-10-28 (owner: «из-за больших плашек люди уходят», «мобильную версию оптимизируй») ---- */

/* «Do košíku» right on the catalog and home cards; the balsam card has one button per volume. */
.cb-card-buy{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.grid3 article.card .cb-card-buy{margin-top:auto}
.cb-card-buy .btn{margin-top:0;align-self:center}
.cb-add-row{display:flex;gap:8px;flex-wrap:wrap}
.cb-card-buy--vol .btn{padding-left:14px;padding-right:14px}

/* The three figures: the numbers on one line across the cards, captions in even lines. */
.cb-stats .card{padding:30px 26px!important}
.cb-stats p{margin:8px auto 0!important;text-wrap:balance}

@media (max-width:640px){
  /* One strip above the header, not three: when seasonal notices are on,
     only the first notice shows, and it is one line — a tap opens the whole sentence. */
  .hol-note.hol-more{display:none}
  .hol-note{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
  .hol-note.open{white-space:normal}

  /* The three figures side by side instead of three cards a screen tall. */
  .cb-stats{grid-template-columns:repeat(3,1fr)!important;gap:8px!important;margin-top:22px!important}
  .cb-stats .card{padding:14px 6px!important}
  .cb-stats .mont{font-size:22px!important}
  .cb-stats p{font-size:11.5px;line-height:1.35}

  /* The catalog in two columns: picture, name, price, button — the description stays on the product page. */
  .cb-cat{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .cb-cat .cat-card-img{height:150px;padding:10px}
  .cb-cat article.card>div{padding:12px!important}
  .cb-cat h3{font-size:15px!important;line-height:1.25}
  .cb-cat p.muted{display:none}
  .cb-cat .cb-card-buy{flex-direction:column;align-items:stretch;gap:8px;margin-top:auto}
  .cb-cat .cb-card-buy .btn{width:100%;justify-content:center;padding:10px 8px;font-size:12px}
  .cb-cat .cb-add-row{flex-direction:column;gap:6px}
  .cb-cat .card-promo,.cb-cat .badge{font-size:11px}

  /* A lower first screen: the mission paragraph waits for the «O centru» page. */
  .hero .inner p.lead{display:none}
  .hero .inner{padding:36px 0}

  /* The «complete the set» hint in the cart: a compact strip, not a screen. */
  .set-suggest-box{padding:10px 34px 10px 12px;gap:8px}
  .set-suggest-box .ss-ico{display:none}
  .set-suggest-box .ss-txt{font-size:13px;line-height:1.4}
  .set-suggest-box .ss-act .btn{padding:9px 12px;font-size:12px}
}

/* The 2026-11-01 catalog photos (one style, cream backdrop) fill their card edge to edge; the old cut-outs kept padding. */
.cat-card-img[src*="img/cat/"],.cat-card-img[src*="kniha-cat"]{padding:0 !important;object-fit:cover !important;aspect-ratio:1/1;width:100% !important;height:auto !important;max-height:none !important;background:#f7f1e6}

/* Phone product page — the final word on spacing and type (owner 2026-11-01: «почему так тесно и какие-то другие шрифты?
   делай везде одинаково красиво»). Last in the file on purpose: older phone blocks above set the same properties. */
@media (max-width:767px){
  .pd-hero .tag{display:none !important}
  .pd-hero h1{margin:0 0 8px !important;line-height:1.15 !important}
  .pd-hero .accent{order:2 !important;font-family:'Open Sans',system-ui,sans-serif !important;font-weight:600 !important;font-size:15px !important;line-height:1.45 !important;color:#4d7a4a !important;margin:0 0 20px !important}
  .pd-hero #variants{margin:0 0 20px !important}
  .pd-hero .price-row{margin:0 0 16px !important}
}

/* Phone: less beige (owner 2026-11-01: «на телефоне ощущение, что сайт весь бежево-жёлтый… может, где-то убрать бежевый»).
   The page, the header and the delivery strip go white / near-white; the cream stays only inside the product photos,
   where it belongs to the picture. Desktop keeps its cream. */
@media (max-width:767px){
  body{background:#fff !important}
  .site-header{background:rgba(255,255,255,.97) !important}
  .hol-note{background:#fbf6f8 !important;border-bottom-color:#f0e4ea !important}
  .card{box-shadow:0 4px 16px rgba(94,32,57,.07)}
  .cat-head{background:#fff !important;border-bottom-color:#f0e4ea !important}
}

/* Set cards: the saving drawn in code over a photo with no text (2026-11-01) — cart.js decorateSetCards(). */
.set-ph{position:relative;display:block}
.set-pct{position:absolute;top:10px;left:10px;background:var(--magenta);color:#fff;font-family:'Montserrat',sans-serif;font-weight:800;border-radius:40px;padding:5px 11px;font-size:13px;line-height:1.2}
/* The tag as the green ribbon of the old set banners (owner 2026-11-01: «плашечка, как у меня была, зелёненькая»):
   bright green, white italic capitals, an arrow notch on the left, flush with the right edge. */
.set-tag{position:absolute;top:12px;right:0;background:linear-gradient(90deg,#00b956,#14d672);color:#fff;font-family:'Montserrat',sans-serif;font-weight:800;font-style:italic;font-size:11.5px;line-height:1.15;text-transform:uppercase;letter-spacing:.3px;padding:7px 12px 7px 20px;clip-path:polygon(12px 0,100% 0,100% 100%,12px 100%,0 50%);text-shadow:0 1px 1px rgba(0,0,0,.18);max-width:62%}
.set-prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}
.set-old{color:#7a6a72;/* 5.1:1 on white (was #8a7a82, 4.0 — PageSpeed contrast, 2026-11-15) */font-size:14px;font-weight:400}
.set-save{flex-basis:100%;color:var(--magenta);font-weight:700;font-size:13px}
.cat-card-img[src$="-cat.webp"]{padding:0 !important;object-fit:cover !important;aspect-ratio:1/1;width:100% !important;height:auto !important;max-height:none !important;background:#f7f1e6}
@media (max-width:640px){.set-tag{font-size:9.5px;padding:5px 8px 5px 15px;top:9px;clip-path:polygon(9px 0,100% 0,100% 100%,9px 100%,0 50%)}.set-pct{font-size:12px;top:8px;left:8px}.set-old{font-size:12px}.set-save{font-size:12px}}

/* intl-tel-input's flag sprite on high-density screens: its own CSS swaps in flags@2x.png — 184 KB on every page with a
   phone field (home guide form, cart; audit 2026-11-10 item 19b). The 1x sprite (70 KB, the same 5762×15 layout, so the
   library's background-size still fits) serves those screens too; a 20×15 flag is a touch softer, nothing else changes.
   «html» in front wins over the library's rule whatever the load order (its CSS is added later by forms.js). */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  html .iti__flag { background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png?1"); }
}

/* Review cards — the screenshot beside the buyer's words as text (owner 2026-11-10; cards written by
   shops/reviews/gen-reviews.py from shops/reviews/*.json). Inside .rev-track = the home / balm carousels (a swipe row on
   phones, long texts folded to ~7 lines with a CSS-only «read more»); inside .reviews-grid.rv-grid = the reviews page
   (columns, full text). The thumbnail is the same picture as before and still opens full size in the lightbox. */
.rv-card{position:relative;display:flex;flex-direction:column;gap:12px;margin:0;padding:16px 16px 14px;background:#fff;border:1px solid #efe5e9;border-radius:16px;box-shadow:0 4px 14px rgba(94,32,57,.08);min-width:0}
.rv-head{display:flex;align-items:center;gap:12px;min-width:0}
.rv-shot{position:relative;flex:0 0 auto;width:84px;height:84px;border-radius:12px;overflow:hidden;background:#f5eef1;border:1px solid #efe5e9}
.rv-shot img,.rev-track .rv-shot img,.reviews-grid .rv-shot img{display:block;flex:none;width:100%;height:100%;object-fit:cover;object-position:50% 0;border:0;border-radius:0;box-shadow:none;background:none;cursor:zoom-in}
.rv-shot::after{content:"";position:absolute;right:5px;bottom:5px;width:22px;height:22px;border-radius:50%;pointer-events:none;
  background:rgba(123,45,78,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15.2 15.2 20 20'/%3E%3C/svg%3E") center/12px no-repeat}
.rv-who{display:flex;flex-direction:column;gap:3px;min-width:0;font-family:'Montserrat',sans-serif;line-height:1.3}
.rv-who strong{font-size:14px;font-weight:700;color:var(--wine)}
.rv-src{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a6b78}
.rv-cut,.rv-tr{font-family:'Open Sans',sans-serif;font-size:12px;font-style:italic;color:#6b5b62}
.rv-text{font-family:'PT Serif',serif;font-size:15px;line-height:1.55;color:var(--ink);overflow-wrap:anywhere}
.rv-text blockquote{margin:0}
.rv-text blockquote+blockquote,.rv-text .rv-by+blockquote{margin-top:10px}
.rv-by{margin-top:3px;font:700 12px/1.3 'Montserrat',sans-serif;color:var(--wine)}
.rv-cb{position:absolute;left:16px;bottom:16px;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.rv-more{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;margin:-10px 0 -12px;font:700 13px/1 'Montserrat',sans-serif;color:var(--magenta);cursor:pointer}
.rv-more span+span,.rv-cb:checked~.rv-more span:first-child{display:none}
.rv-cb:checked~.rv-more span+span{display:inline}
.rv-cb:focus-visible~.rv-more{outline:2px solid var(--gold);outline-offset:2px;border-radius:4px}
.rev-track>.rv-card{flex:0 0 340px;width:340px;scroll-snap-align:start}
.rev-track .rv-long{max-height:10.9em;overflow:hidden;position:relative}
.rev-track .rv-long::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.4em;background:linear-gradient(rgba(255,255,255,0),#fff)}
.rv-cb:checked+.rv-long{max-height:none}
.rv-cb:checked+.rv-long::after{display:none}
.reviews-grid.rv-grid{display:block;column-count:3;column-gap:18px}
.rv-grid>.rv-card{break-inside:avoid;margin-bottom:18px}
.rv-grid .rv-shot{width:104px;height:104px}
@media(max-width:960px){.reviews-grid.rv-grid{column-count:2}}
@media(max-width:640px){.reviews-grid.rv-grid{column-count:1}.rv-grid .rv-shot{width:88px;height:88px}}
@media(min-width:601px){.rev-carousel:has(>.rev-nav):has(.rv-card){padding:0 40px}}
@media(max-width:600px){.rev-track>.rv-card{flex-basis:84vw;width:84vw;max-width:330px}.rv-text{font-size:14.5px}}
/* Story cards — the WhatsApp story with the buyer's words under it (shops/reviews/, owner 2026-11-10). */
.story-strip>.rv-story{flex:0 0 auto;width:min(230px,62vw);padding:0 0 12px;gap:0;overflow:hidden;scroll-snap-align:start}
.rv-story>.rv-shot{width:100%;height:auto;aspect-ratio:9/16;border:0;border-radius:0}
.story-strip .rv-story .rv-shot img{width:100%;height:100%;border-radius:0;box-shadow:none;cursor:zoom-in}
.rv-story>.rv-shot::after{display:none}
.rv-story>.rv-who,.rv-story>.rv-text,.rv-story>.rv-more{margin-left:14px;margin-right:14px}
.rv-story>.rv-who{margin-top:12px}
.rv-story>.rv-text{margin-top:6px;font-size:14px;line-height:1.5}
.story-strip .rv-story .rv-long{max-height:9em;overflow:hidden;position:relative}
.story-strip .rv-story .rv-long::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.2em;background:linear-gradient(rgba(255,255,255,0),#fff)}
.story-strip .rv-cb:checked+.rv-long{max-height:none}
.story-strip .rv-cb:checked+.rv-long::after{display:none}
.rv-story>.rv-more{margin-top:2px;margin-bottom:-10px}
