/* CSS návrhu 11 (navrhy.py → CSS11) — postavené postav_temu.py */
:root { --pozadie: #faf7f1; --plocha: #f1ebe0; --hlavicka: rgba(250,247,241,.94); }
/* ---------- slideshow bannerov ---------- */
.bannery { position: relative; isolation: isolate; height: min(84vh, 56.25vw, 860px); min-height: 480px; overflow: hidden; background: #efe6d7; touch-action: pan-y; outline: none; }
.bannery-draha, .banner { position: absolute; inset: 0; }
.banner { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.banner.aktivny { opacity: 1; visibility: visible; }
.banner picture, .banner img { width: 100%; height: 100%; display: block; }
.banner img { object-fit: cover; object-position: 70% center; transform: scale(1.07); transition: transform 7.5s cubic-bezier(.2,.6,.3,1); user-select: none; -webkit-user-drag: none; }
.banner.aktivny img { transform: scale(1); }
.banner-text { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; pointer-events: none; }
.banner-text > div { max-width: min(600px, 46%); pointer-events: auto; }
.banner-text > div > * { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.banner.aktivny .banner-text > div > * { opacity: 1; transform: none; }
.banner.aktivny .banner-text > div > :nth-child(2) { transition-delay: .12s; } .banner.aktivny .banner-text > div > :nth-child(3) { transition-delay: .24s; } .banner.aktivny .banner-text > div > :nth-child(4) { transition-delay: .36s; }
.banner-nadpis { font-size: clamp(34px, 3.7vw, 58px); line-height: 1.05; letter-spacing: -.015em; margin-bottom: 16px; text-wrap: balance; }
.banner-pod { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; margin-bottom: 28px; max-width: 40ch; }
.tema-svetla { color: var(--tma); } .tema-svetla .nad { color: var(--jantar); } .tema-svetla em { color: var(--jantar); } .tema-svetla .banner-pod { color: rgba(34,34,34,.72); }
.tema-tmava { color: #fff; } .tema-tmava .nad { color: var(--med); } .tema-tmava em { color: var(--med); } .tema-tmava .banner-pod { color: rgba(255,255,255,.78); }
.tl-biele { background: #fff; color: var(--tma); }
.bannery-ovladanie { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 34px); z-index: 5; display: flex; justify-content: space-between; align-items: flex-end; color: var(--tma); transition: color .6s; }
.bannery[data-tema="tmava"] .bannery-ovladanie { color: #fff; }
.bannery-body { display: flex; gap: 18px; }
.bannery-body button { display: flex; flex-direction: column; gap: 9px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .55; transition: opacity .3s; }
.bannery-body button.aktivny, .bannery-body button:hover { opacity: 1; }
.bannery-body i { display: block; width: clamp(60px, 8vw, 110px); height: 2px; background: currentColor; opacity: .3; position: relative; }
.bannery-body i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: 0 0; transform: scaleX(0); }
.bannery-body button.aktivny i { opacity: 1; background: color-mix(in srgb, currentColor 30%, transparent); }
.bannery-body button.aktivny i::after { transform: scaleX(var(--p, 0)); }
.bannery-sipky { display: flex; gap: 10px; }
.bannery-sipky button { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.55); color: var(--tma); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 18px; transition: transform .2s, background .2s; }
.bannery-sipky button:hover { transform: scale(1.06); background: #fff; }
/* ---------- kto sme ---------- */
.kto-sme { padding: clamp(70px, 9vw, 130px) 0; }
.kto-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.kto-vlavo h2 { font-size: clamp(30px, 3.5vw, 52px); line-height: 1.1; }
.kto-vlavo h2 em { color: var(--jantar); }
.kto-vpravo { padding-top: 34px; }
.kto-vpravo p { color: var(--tlmene); font-size: 17px; line-height: 1.65; margin-bottom: 14px; }
.kto-vpravo p b { color: var(--text); }
.kto-vpravo .zaver { color: var(--text); font-weight: 700; }
.kto-vpravo .vsetko { display: inline-block; margin-top: 8px; }
.kto-vyhody { grid-column: 1 / -1; margin-top: clamp(34px, 4.6vw, 64px); }  /* karty = .folia v spolocne.css (návrh 10, Leo 14. 11.) */
/* číslo poradia nad najpredávanejším produktom (Leo 14. 11.: „nad produktom číslom… číslo jedna, dva…") */
.obluk-poradie { position: absolute; left: 50%; z-index: 2; transform: translate(-50%, calc(-100% - 10px)); display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none; }
.obluk-poradie b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: #fff;
  background: radial-gradient(circle at 35% 30%, #e7c48f, #b4874f 70%); box-shadow: 0 8px 20px rgba(120, 80, 30, .3), inset 0 0 0 2px rgba(255,255,255,.35); }
.obluk-poradie b::before { content: "№"; font-size: 11px; margin-right: 1px; align-self: center; opacity: .85; }
.obluk-poradie small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6e5233; white-space: nowrap; }
.obluk-poradie b { display: flex; align-items: center; justify-content: center; }
/* ---------- oblúky produktov ---------- */
/* isolation: vlastná vrstva — inak tlačidlá oblúka (z-index 150) prekrývali lepiacu hlavičku pri rolovaní (6. 11.) */
.obluk-scena { position: relative; isolation: isolate; height: clamp(720px, calc(100vh - 76px), 980px);  /* PC: celá obrazovka pod hlavičkou (väčšie produkty, Leo 14. 11.) */ min-height: 0; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none;
  background-color: var(--poz, #efe6d7); transition: background-color 1.1s ease; }
.obluk-scena::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 48% at 50% 40%, rgba(255,255,255,.62), rgba(255,255,255,0) 72%); pointer-events: none; }
.obluk-scena.tahane { cursor: grabbing; }
.obluk-scena:focus-visible { box-shadow: inset 0 0 0 2px var(--jantar); }
.obluk-podlaha { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(0,0,0,.035) 35%, rgba(0,0,0,.07) 100%); box-shadow: 0 -1px 0 rgba(255,255,255,.45); pointer-events: none; }
.obluk-meno { position: absolute; left: 0; right: 0; top: 17%; height: 1px; pointer-events: none; }
.obluk-meno span { position: absolute; left: 50%; top: 0; transform: translate(-50%, 24px); white-space: nowrap; font-family: var(--serif); font-weight: 700; line-height: .9; letter-spacing: -.035em; color: var(--meno, rgba(0,0,0,.08)); opacity: 0; transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1), color 1.1s; }
.obluk-meno span.ukaz { opacity: 1; transform: translate(-50%, 0); }
.obluk-hlava { position: absolute; z-index: 160; top: clamp(22px, 3vw, 40px); left: max(var(--okraj), calc((100% - var(--sirka)) / 2 + var(--okraj))); right: max(var(--okraj), calc((100% - var(--sirka)) / 2 + var(--okraj))); display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
.obluk-hlava > * { pointer-events: auto; }
.obluk-hlava h2 { font-size: clamp(30px, 3.4vw, 50px); }
.obluk-polozka { position: absolute; left: 50%; bottom: 35%; aspect-ratio: 1; transform-origin: 50% 90%; -webkit-tap-highlight-color: transparent; }
.obluk-polozka img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.obluk-polozka::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: 7.5%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 28, 16, .32), rgba(40, 28, 16, 0)); }
.obluk-polozka.stred { cursor: pointer; }
.obluk-sip { position: absolute; z-index: 160; top: 42%; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 19px; transition: transform .2s, background .2s; }
.obluk-sip:hover { transform: scale(1.07); background: #fff; }
.obluk-sip.vlavo { left: max(var(--okraj), calc((100% - var(--sirka)) / 2)); } .obluk-sip.vpravo { right: max(var(--okraj), calc((100% - var(--sirka)) / 2)); }
.obluk-info { position: absolute; z-index: 150; left: 50%; bottom: clamp(30px, 5vh, 56px); transform: translateX(-50%); width: min(620px, 90%); text-align: center; }
.obluk-info-in { animation: info .55s cubic-bezier(.2,.7,.2,1); }
@keyframes info { from { opacity: 0; transform: translateY(10px); } }
.obluk-kat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(34,34,34,.6); display: flex; justify-content: center; align-items: center; gap: 10px; }
.obluk-kat .stitok { position: static; }
.obluk-info h3 { font-size: clamp(26px, 2.6vw, 38px); margin: 6px 0 8px; }
.obluk-popis { color: rgba(34,34,34,.66); font-size: 15px; line-height: 1.5; max-width: 52ch; margin: 0 auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.obluk-kup { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 16px; }
.obluk-kup .karta-cena { font-family: var(--serif); font-size: 24px; }
.obluk-kup .karta-kosik { height: 50px; padding: 0 30px; font-size: 15px; }
.obluk-detail { font-weight: 700; font-size: 15px; border-bottom: 1.5px solid currentColor; }
.obluk-cislo { position: absolute; z-index: 150; bottom: clamp(30px, 5vh, 56px); right: max(var(--okraj), calc((100% - var(--sirka)) / 2 + var(--okraj))); display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(34,34,34,.55); }
.obluk-cislo b { color: var(--tma); }
.obluk-ciara { width: 70px; height: 2px; background: rgba(34,34,34,.15); overflow: hidden; }
.obluk-ciara i { display: block; height: 100%; background: var(--tma); transform-origin: 0 0; transition: transform .5s; }
/* ---------- zvyšok ---------- */
.kategoria { background: var(--plocha); }
.newsletter-sekcia .newsletter { background: var(--plocha); padding: clamp(28px, 4vw, 56px); border-radius: 28px; }
@media (max-width: 900px) {
  .kto-in { grid-template-columns: 1fr; } .kto-vpravo { padding-top: 0; }
  .obluk-cislo { display: none; }
}
@media (max-width: 700px) {
  .bannery { height: calc(100vw * 1.25); min-height: 0; }
  .banner img { object-position: center bottom; }
  .banner-text { align-items: flex-start; padding-top: 26px; }
  .banner-text > div { max-width: 100%; }
  .banner-nadpis { font-size: 30px; margin-bottom: 10px; }
  .banner-pod { font-size: 15px; margin-bottom: 18px; }
  .banner-text .tl { min-height: 44px; padding: 0 20px; font-size: 14px; }
  .bannery-body span, .bannery-sipky { display: none; }
  .bannery-body { gap: 8px; } .bannery-body i { width: 34px; }
  .obluk-scena { height: max(600px, 158vw); min-height: 0; }
  .obluk-polozka { bottom: 44%; }
  .obluk-meno { top: 20%; }
  .obluk-sip { display: none; }
  .obluk-hlava h2 { font-size: 28px; }
  .obluk-info { bottom: 22px; width: calc(100% - 32px); }
  .obluk-info h3 { font-size: 24px; }
  .obluk-popis { font-size: 14px; }
  .obluk-kup { flex-wrap: wrap; gap: 10px 16px; }
  .obluk-kup .karta-kosik { flex: 1 1 100%; order: 3; }
}
