/*
 * cav-sopuch.sk - celý vzhľad webu (čisté CSS namiesto Divi + Divi Pixel). Hodnoty sú z deklarovaného CSS pôvodného webu
 * (customizer Divi, nastavenia modulov stránok, Divi Pixel), nie z pixelov jednej šírky.
 * Zlomy ako pôvodný web: ≥ 1046 menu počítača (Divi Pixel), ≤ 1045 hamburger, ≤ 980 tablet, ≤ 767 mobil, ≤ 479 úzky mobil,
 * ≥ 1800 väčšie odsadenia sekcií a riadkov (customizer Divi).
 * Hodnoty, ktoré sa líšia po stránkach, idú do CSS premenných v atribúte style (data/pages/*.php), nie do nových tried:
 *   sekcia --pt/--pb (+t ≤ 980, m ≤ 767), riadok --rpt/--rpb (+t, m), --rmt (+t, m)/--rmb, modul --mt/--mb (+t, m), --mw.
 * Spoločný súbor - vo fáze 2 ho mení len agent A (pozri README).
 */

/* ---------- písma (lokálne, rovnaké súbory ako pôvodný web z Google Fonts - latin + latin-ext v jednom súbore) ---------- */
@font-face { font-family: Mulish; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/mulish-300.woff2) format('woff2'); }
@font-face { font-family: Mulish; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/mulish-500.woff2) format('woff2'); }
@font-face { font-family: Mulish; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/mulish-500i.woff2) format('woff2'); }
@font-face { font-family: Mulish; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/mulish-600.woff2) format('woff2'); }
@font-face { font-family: Mulish; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/mulish-700.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format('woff2'); }

:root {
  --red: #e31e24;          /* hlavná farba (tlačidlá, nadpisy, odkazy) */
  --green: #009846;        /* zelená z loga (prejdenie myšou v pätičke, maska) */
  --yellow: #f9d615;       /* žltý pás v pätičke, odkaz Aio */
  --dark: rgba(7, 7, 7, .8);   /* závoj fotiek a pätička */
  --text: #333;
  --ff: Mulish, Helvetica, Arial, Lucida, sans-serif;
  --fh: Poppins, Helvetica, Arial, Lucida, sans-serif;
  --hh: 110px;             /* výška hlavičky, ktorú JS Divi pripočíta k odsadeniu prvej sekcie (≥ 1046: 110, 981–1045: 80, ≤ 980: 79 px) */
}
@media (max-width: 1045px) { :root { --hh: 80px; } }
@media (max-width: 980px) { :root { --hh: 79px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 14px/1.9em var(--ff); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; border: 0; vertical-align: top; }
a { color: var(--red); text-decoration: none; }
p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding-bottom: 10px; font-family: var(--fh); font-weight: 500; line-height: 1em; color: #000; }
h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 18px; } h5 { font-size: 16px; } h6 { font-size: 14px; }
ul { margin: 0; }
strong { font-weight: 700; }
button { font: inherit; }
.ico { display: inline-block; height: 1em; fill: currentColor; }
.preskocit { position: absolute; left: -9999px; top: 0; z-index: 100000; background: #fff; color: #000; padding: 10px 16px; }
.preskocit:focus { left: 10px; top: 10px; }

/* ---------- stránka: Divi posúva obsah o 1 px hore; ≤ 1045 px je pod pevnou hlavičkou 80 px ---------- */
.page { margin-top: -1px; }
@media (max-width: 1045px) { .page { padding-top: 80px; } }

/* ---------- sekcia, riadok, stĺpce, moduly (mriežka Divi) ---------- */
.sec { position: relative; padding: var(--pt, 4%) 0 var(--pb, 4%); background-color: #fff; }
.sec.hero, .sec.hero-home, .sec-bg { background-color: transparent; }
@media (min-width: 1800px) { .sec { padding-top: var(--pt, 72px); padding-bottom: var(--pb, 72px); } }
@media (max-width: 980px) { .sec { padding-top: var(--ptt, var(--pt, 50px)); padding-bottom: var(--pbt, var(--pb, 50px)); } }
@media (max-width: 767px) { .sec { padding-top: var(--ptm, var(--ptt, var(--pt, 50px))); padding-bottom: var(--pbm, var(--pbt, var(--pb, 50px))); } }
.row { position: relative; width: 80%; max-width: 1440px; margin: var(--rmt, 0) auto var(--rmb, 0); padding: var(--rpt, 2%) 0 var(--rpb, 2%); z-index: 1; }
.row::after { content: ""; display: block; clear: both; }
@media (min-width: 1800px) { .row { padding-top: var(--rpt, 36px); padding-bottom: var(--rpb, 36px); } }
@media (max-width: 980px) { .row { padding-top: var(--rptt, var(--rpt, 30px)); padding-bottom: var(--rpbt, var(--rpb, 30px)); margin-top: var(--rmtt, var(--rmt, 0)); } }
@media (max-width: 767px) { .row { padding-top: var(--rptm, var(--rptt, var(--rpt, 30px))); padding-bottom: var(--rpbm, var(--rpbt, var(--rpb, 30px))); margin-top: var(--rmtm, var(--rmtt, var(--rmt, 0))); } }

/* stĺpce: ≥ 981 vedľa seba (šírka a medzera ako Divi gutters 2 = 3 %, 3 = 5,5 %), ≤ 980 pod sebou (1/4: 2 vedľa seba do 768 px) */
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; }
.cols.cols-eq { align-items: stretch; }
.col { position: relative; min-width: 0; z-index: 2; }
@media (min-width: 981px) {
  .cols > .col { margin-right: 5.5%; }
  .cols.g2 > .col { margin-right: 3%; }
  .cols > .col:last-child { margin-right: 0; }
  .c4_4 > .col { width: 100%; }
  .c1_2 > .col { width: 47.25%; }
  .c1_3 > .col { width: 29.6667%; }
  .c1_4 > .col { width: 20.875%; }
  .g2.c1_3 > .col { width: 31.3333%; }
  .g2.c1_2 > .col { width: 48.5%; }
  .g2.c1_4 > .col { width: 22.75%; }
  /* okraj modulu ako Divi (percento zo šírky stĺpca) */
  .col > * { margin-bottom: var(--mb, 2.75%); }
  .c1_2 > .col > * { margin-bottom: var(--mb, 5.82%); }
  .c1_3 > .col > * { margin-bottom: var(--mb, 9.27%); }
  .g2.c1_3 > .col > * { margin-bottom: var(--mb, 4.787%); }
  .g2.c1_4 > .col > * { margin-bottom: var(--mb, 6.593%); }
  .c1_4 > .col > * { margin-bottom: var(--mb, 13.174%); }
  .cols > .col > :last-child { margin-bottom: 0; }
}
@media (max-width: 980px) {
  .cols > .col { width: 100%; margin-bottom: 30px; }
  .cols > .col:last-child { margin-bottom: 0; }
  .col > * { margin-bottom: var(--mbt, var(--mb, 30px)); }
}
@media (min-width: 480px) and (max-width: 980px) {
  .c1_4 > .col { width: 47.25%; margin-right: 5.5%; }
  .c1_4 > .col:nth-child(2n) { margin-right: 0; }
  .c1_4 > .col:nth-last-child(-n+2):nth-child(odd), .c1_4 > .col:nth-last-child(-n+2):nth-child(odd) + .col { margin-bottom: 0; }
}
@media (max-width: 767px) { .col > * { margin-bottom: var(--mbm, var(--mbt, var(--mb, 30px))); } }
.col > :last-child, .row > :last-child { margin-bottom: 0; }
.row > * { margin-bottom: var(--mb, 2.75%); }
@media (max-width: 980px) { .row > * { margin-bottom: var(--mbt, var(--mb, 30px)); } }
@media (max-width: 767px) { .row > * { margin-bottom: var(--mbm, var(--mbt, var(--mb, 30px))); } }
.row > .cols { margin-bottom: 0; }

/* fotka na pozadí sekcie so závojom rgba(7,7,7,.8) (Divi: background-size cover, pozícia dole v strede) */
.bg-img { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.bg-img img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.bg-img::after { content: ""; position: absolute; inset: 0; background: var(--dark); }

/* text modul */
.txt { position: relative; max-width: var(--mw, none); }
.txt p { padding-bottom: 1em; }
.txt p:last-child { padding-bottom: 0; }
/* malý nadpis + H2 („Zaoberáme sa / PRODUKTY A SLUŽBY“) */
.ttl { font-family: var(--fh); text-transform: uppercase; letter-spacing: 3px; color: #000; text-align: center; margin-bottom: var(--mb, 15px) !important; }
.ttl p { padding-bottom: 0; }
.ttl h2 { font-size: 30px; color: var(--red); text-align: center; }

/* tlačidlá Divi (text veľkými písmenami, Poppins 15 px, rám 2 px) */
.btn-wrap { text-align: center; }
.btn { display: inline-block; position: relative; padding: 15px; border: 2px solid var(--red); background: var(--red); color: #fff; font: 500 15px/1.7em var(--fh); text-transform: uppercase; transition: color .3s, background-color .3s, border .3s; }
.btn:hover, .btn:focus-visible { background: transparent; color: var(--red); }
.btn-o { background: #fff; color: var(--red); }
.btn-o:hover, .btn-o:focus-visible { background: var(--red); color: #fff; }

/* ---------- hlavička (Divi „left“ + Divi Pixel: CTA tlačidlo, hamburger, celoobrazovkové menu) ---------- */
.hdr { position: fixed; top: 0; left: 0; width: 100%; z-index: 99999; background: transparent; font-weight: 500; line-height: 23px; transition: background-color .4s ease-in-out, box-shadow .4s; }
.hdr-in { position: relative; width: 80%; max-width: 1440px; margin: 0 auto; z-index: 99; }
.hdr-logo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hdr-logo-h { display: inline-block; height: 100%; vertical-align: middle; }
.hdr-logo img { display: inline-block; vertical-align: middle; width: auto; height: 85%; max-height: 100%; transition: all .4s ease-in-out; }
.hdr-logo a { position: relative; z-index: 1; }
.hdr-nav { position: relative; display: flex; justify-content: flex-end; align-items: flex-start; padding: 30px 0 22.5px; font-weight: 600; pointer-events: none; transition: padding .4s ease-in-out; }
.hdr-nav > * { pointer-events: auto; }
.menu { float: left; padding: 0; list-style: none; line-height: 0; white-space: nowrap; }
.menu > li { position: relative; display: inline-block; padding-right: 22px; font-size: 14px; line-height: 1em; white-space: normal; }
.menu > li:last-child { padding-right: 0; }
.menu > li > a { position: relative; display: block; padding-bottom: 22.5px; color: #fff; font-weight: 700; line-height: 1.7em; transition: all .3s ease-in-out; }
.menu > li > a > span { position: relative; }
/* podčiarknutie aktuálnej stránky (Divi Pixel grow_below_left) */
.menu > li:not(.has-sub):not(.menu-cta) > a > span::after { content: ""; position: absolute; left: 0; top: 25px; display: block; width: 0; height: 2px; background: var(--red); opacity: 0; transition: all .3s ease-in-out; }
.menu > li.is-current > a > span::after, .menu > li:not(.has-sub):not(.menu-cta):hover > a > span::after { width: 100%; opacity: 1; }
.menu > li.is-current > a, .menu > li.is-parent > a { color: var(--red); }
.menu > li.has-sub > a { padding-right: 20px; }
.menu .caret { position: absolute; right: 0; top: calc((1.7em - 16px) / 2); width: 16px; height: 16px; font-size: 16px; }
.menu .caret path { stroke: currentColor; stroke-width: 45; }   /* ETmodules „3“ s font-weight 800 = Chrome šípku umelo stučnie */
/* podmenu Prevádzky */
.menu .sub { position: absolute; left: 0; z-index: 9999; width: 290px; padding: 20px 0; margin: 0; list-style: none; text-align: left; background: #fff; border-top: 3px solid #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .1); visibility: hidden; opacity: 0; transition: all .2s ease-in-out; }
.menu > li:hover > .sub, .menu > li:focus-within > .sub { visibility: visible; opacity: 1; animation: grow .4s ease-in-out; transform-origin: 0 0; }
@keyframes grow { 0% { opacity: 0; transform: scaleY(.5); } 100% { opacity: 1; } }
.menu .sub li { display: block; width: 100%; margin: 0; padding: 0 20px; font-size: 14px; line-height: 2em; }
.menu .sub a { display: block; width: 100%; padding: 6px 20px; color: #000; font: 500 14px/2em var(--fh); transition: all .2s ease-in-out; }
.menu .sub a:hover, .menu .sub a:focus-visible { color: var(--red); transform: scale(1.1); }
/* tlačidlo Kontakt (písmo „none, sans-serif“ = systémové bezpätkové ako pôvodný web) */
.menu-cta .cta { display: block; padding: 15px 20px; background: var(--red); color: #fff; font: 600 11px/1.7em none, sans-serif; letter-spacing: 2px; text-transform: uppercase; transition: transform .3s; }
.menu-cta .cta span { position: relative; display: flex; justify-content: center; align-items: center; }
.menu-cta .cta:hover, .menu-cta .cta:focus-visible { transform: translateY(-5px); }
.ham { display: none; }
/* po posune (≥ 1046 px): čierna hlavička, nižšia, menšie logo */
.hdr.is-fixed { background: #070707; box-shadow: 0 0 7px rgba(0, 0, 0, .1); }
.hdr.is-fixed .hdr-nav { padding: 15px 0 11.25px; }
.hdr.is-fixed .menu > li > a { padding-bottom: 18.75px; }

@media (max-width: 1045px) {
  .hdr, .hdr.is-fixed { display: flex; flex-direction: column; height: 80px; background: rgba(0, 0, 0, .95); z-index: 9999999; }
  .hdr-in { display: flex; flex-direction: column; justify-content: center; height: 100%; }
  .hdr-logo img { height: auto; max-height: 70px; max-width: 50%; }
  .hdr-nav, .hdr.is-fixed .hdr-nav { justify-content: flex-end; padding: 0; }
  .hdr-nav nav { display: none; }
  .ham { position: relative; z-index: 2; display: inline-block; padding: 12px 10px 11px; border: 0; border-radius: 100px; background: var(--red); line-height: 1em; cursor: pointer; }
  .ham-box { position: relative; display: inline-block; width: 20px; height: 14px; vertical-align: top; }
  .ham-in, .ham-in::before, .ham-in::after { position: absolute; display: block; width: 20px; height: 2px; border-radius: 4px; background: #fff; }
  .ham-in { top: 50%; margin-top: -1px; transition: transform .2s cubic-bezier(.19, 1, .22, 1); }
  .ham-in::before, .ham-in::after { content: ""; transition: all 0s linear .1s; }
  .ham-in::before { top: -6px; }
  .ham-in::after { bottom: -6px; }
  .ham[aria-expanded="true"] .ham-in { transform: rotate(765deg); }
  .ham[aria-expanded="true"] .ham-in::before { top: 0; opacity: 0; transition-delay: 0s; }
  .ham[aria-expanded="true"] .ham-in::after { bottom: 0; transform: rotate(90deg); transition-delay: 0s; }
  /* celoobrazovkové menu (Divi Pixel fullscreen): biele, položky v šírke obsahu (80 %) */
  .mm { position: fixed; inset: 0; z-index: 1; overflow-y: auto; background: #fff; scrollbar-width: none; }
  .mm-list { position: relative; width: 80%; max-width: 1440px; margin: 0 auto; padding: 4vw 0 calc(4vw + 20px); list-style: none; }
  .mm-list::before { content: ""; display: block; height: 80px; }
  .mm-list > li { position: relative; }
  .mm-list a { display: block; padding: 15px 10px; margin-bottom: 10px; background: rgba(44, 61, 73, .03); color: #333; font: 500 16px/23px none, sans-serif; text-align: center; }
  .mm-list > li:last-child > a { margin-bottom: 0; }
  .mm-list .sub { padding: 15px 10px; list-style: none; }
  .mm-list .sub a { background: #f5f5f5; font-family: var(--ff); }
  .mm-tog { position: absolute; top: 13.7px; right: 15px; display: flex; align-items: center; justify-content: center; width: 25.6px; height: 25.6px; padding: 0; border: 0; border-radius: 50%; background: rgba(44, 61, 73, .05); color: rgba(44, 61, 73, .5); font-size: 18px; cursor: pointer; transition: all .4s ease-in-out; }
  .mm-tog .ico { width: 18px; height: 18px; vertical-align: top !important; transition: all .4s ease-in-out; }
  .mm-tog .tog-u { position: absolute; opacity: 0; transform: rotate(-90deg); }
  .mm-tog[aria-expanded="true"] { background: rgba(255, 255, 255, 0); }
  .mm-tog[aria-expanded="true"] .tog-p { opacity: 0; transform: rotate(90deg); }
  .mm-tog[aria-expanded="true"] .tog-u { opacity: 1; transform: none; }
  .mm-list .menu-cta .cta { padding: 12px; margin: 0; background: var(--red); color: #fff; font: 500 16px/1.7em var(--fh); letter-spacing: 2px; text-transform: uppercase; }
}
@media (min-width: 981px) and (max-width: 1045px) { .hdr-logo img { max-width: 50%; } }
@media (max-width: 980px) { .hdr-logo img { max-width: 100%; } }
body.mm-open { overflow: hidden; }
body.mm-open .hdr-logo { visibility: hidden; }

/* ---------- úvod Domov (fotka na celú výšku okna) ---------- */
.hero-home { min-height: 100vh; }
.hero-hdr { padding-top: calc(var(--pt, 4%) + var(--hh)); }
@media (min-width: 1800px) { .hero-hdr { padding-top: calc(var(--pt, 72px) + var(--hh)); } }
@media (max-width: 980px) { .hero-hdr { padding-top: calc(var(--ptt, var(--pt, 50px)) + var(--hh)); } }
@media (max-width: 767px) { .hero-hdr { padding-top: calc(var(--ptm, var(--ptt, var(--pt, 50px))) + var(--hh)); } }
.kicker { font-family: var(--fh); color: var(--red); text-transform: uppercase; letter-spacing: 3px; text-align: center; margin-bottom: var(--kmb, 0) !important; }
.hero-home .kicker { --kmb: 20px; }
.hero-home-t { max-width: 850px; margin: 0 auto 40px !important; color: #fff; text-align: center; }
.hero-home-t h1 { font: 700 44px/1.4em var(--fh); color: #fff; text-align: center; }
@media (max-width: 980px) { .hero-home-t { max-width: 100%; } .hero-home-t h1 { font-size: 30px; } }
.ico-down { height: 99px; text-align: center; line-height: 0; }
.ico-down span { display: inline-block; width: 96px; height: 96px; color: var(--red); font-size: 96px; line-height: 0; }
.ico-down .ico { vertical-align: top; }

/* ---------- úvod podstránky (nadpis, H1, omrvinky) ---------- */
.hero .row { z-index: 1; }
.hero-h1 { max-width: var(--hmw, 1000px); margin: 0 var(--hml, auto) 2.75% !important; }
.hero-h1 h1 { font: 700 var(--h1, 60px)/1.4em var(--fh); color: #fff; text-align: center; }
@media (max-width: 980px) { .hero-h1 { max-width: 100%; margin-bottom: 30px !important; } .hero-h1 h1 { font-size: var(--h1t, var(--h1, 60px)); } }
@media (max-width: 767px) { .hero-h1 h1 { font-size: var(--h1m, var(--h1t, var(--h1, 60px))); } }
.crumbs ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0; padding: 0; list-style: none; }
.crumbs li { margin-bottom: 5px; line-height: var(--bclh, 26px); }
.crumb, .crumb a { display: block; color: var(--bcc, #8e8e8e); transition: all .3s ease-in-out; }
.crumb a span { display: flex; align-items: center; }
.crumb a:hover { color: #fff; }
.crumb-cur, .crumb-cur span { color: #fff; }
.crumb-sep { display: flex; align-items: center; margin: 0 3px 5px; color: #7d8aa1; }
.crumb-sep .ico { width: 16px; height: 16px; margin: 0 5px; font-size: 16px; vertical-align: top !important; }

/* ---------- karty prevádzok na Domov ---------- */
.sec-cards .col { padding: 30px; background: #fff; box-shadow: 0 2px 18px 0 rgba(0, 0, 0, .3); }
.card { position: relative; max-width: 550px; margin-left: auto; margin-right: auto; font-size: 16px; text-align: center; }
.card-img { margin-bottom: 30px; line-height: 0; }
.card-img img { width: 120px; }
.card h3 { padding-bottom: 10px; font: 600 20px/1.4em var(--fh); color: var(--red); text-align: center; }
.card-t { text-align: center; }
.btn.btn-s { padding: 5px 15px; }
@media (min-width: 981px) { .sec-cards .col > .card { margin-bottom: var(--cmb, 4.787%); } }
@media (max-width: 980px) { .sec-cards .col > .card { margin-bottom: 30px; } }

/* ---------- produkty a služby: text, odrážky s fajkou, tlačidlo, maska ---------- */
.prod .row { padding: 0; }
.prod .col > * { margin-bottom: 0; }
@media (max-width: 980px) { .prod .cols > .col { margin-bottom: 30px; } .prod .cols > .col:last-child { margin-bottom: 0; } }
.prod-in { padding: 5.82% 0; }
.prod-in.prod-checks { padding: 0; }
@media (max-width: 980px) { .prod-in { padding: 30px 0; } .prod-in.prod-first { padding-top: 0; } .prod-in.prod-checks { padding: 0; } }
.prod-txt { max-width: 850px; margin: 79px 0 50px !important; color: #000; }
@media (max-width: 980px) { .prod-txt { max-width: 100%; margin-top: 1px !important; } }
@media (max-width: 767px) { .prod-txt { text-align: justify; } }
.prod .checks { display: flex; flex-wrap: wrap; }
.prod .checks > div { width: 46.9072%; margin-right: 6.186%; }
.prod .checks > div:last-child { margin-right: 0; }
@media (min-width: 480px) and (max-width: 980px) { .prod .checks > div { width: 47.25%; margin-right: 5.5%; } }
@media (max-width: 479px) { .prod .checks > div { width: 100%; margin-right: 0; margin-bottom: 30px; } .prod .checks > div:last-child { margin-bottom: 0; } }
.check { display: table; width: 100%; margin-bottom: 15px; }
.checks > div > .check:last-child { margin-bottom: 0; }
.check-i { display: table-cell; width: 32px; line-height: 0; vertical-align: top; color: var(--red); font-size: 15px; }
.check-i .ico { vertical-align: top !important; }
.check-c { display: table-cell; padding-left: 15px; vertical-align: top; }
.check h4 { margin-left: -20px; font-size: 14px; line-height: 1.1em; color: #333; }
.prod-btns { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; }
.prod-btns .btn { margin: .5em; padding: 15px; font-size: 14px; line-height: 1.7em; }
@media (max-width: 980px) { .prod-btns { justify-content: center; align-items: center; } }
@media (max-width: 767px) { .prod-btns { flex-wrap: nowrap; } }
.mask svg { display: block; width: 100%; height: auto; overflow: visible; }
.mask-bg polygon { fill: var(--green); }
.prod-mask { padding: 2.855% 0; }
@media (max-width: 980px) { .prod-mask { padding: 0; } }

/* ---------- filtrovateľná galéria (Divi Pixel) ---------- */
.fg { position: relative; }
.fg-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.fg-f { padding: 5px 15px; border: 0; background: transparent; color: var(--text); font: 500 14px/1.9em var(--ff); cursor: pointer; }
.fg-f:hover, .fg-f:focus-visible { color: var(--red); }
.fg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fg-it { position: relative; display: block; overflow: hidden; cursor: pointer; }
.fg-it img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .5s; }
.fg-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 30px; background: rgba(10, 0, 0, .45); color: var(--red); font-size: 28px; opacity: 0; transition: opacity .6s; }
.fg-ov .ico { width: 28px; height: 28px; margin-bottom: 20px; vertical-align: top !important; }
@media (min-width: 981px) { .fg-it:hover .fg-ov, .fg-it:focus-visible .fg-ov { opacity: 1; } }
/* tablet a mobil: dotykové zariadenie (bez myši) má prekrytie s lupou stále (ako Divi Pixel) */
@media (max-width: 980px) { .fg-it:hover .fg-ov, .fg-it:focus-visible .fg-ov { opacity: 1; } }
@media (max-width: 980px) and (hover: none) { .fg-ov { opacity: 1; } }
@media (max-width: 767px) { .fg-ov { padding-top: 0; padding-bottom: 0; } }
@media (max-width: 980px) { .fg { padding-top: 20px; } .fg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .fg-grid { grid-template-columns: 1fr; } .fg-it img { height: 100px; } }

/* ---------- kontakty s ikonou (stránka Kontakt) ---------- */
.cblurb { display: table; width: 100%; color: #000; line-height: 1em; margin-bottom: 50px !important; }
.cblurb-i { display: table-cell; width: 32px; line-height: 0; vertical-align: top; color: var(--red); font-size: 25px; }
.cblurb-i .ico { vertical-align: top !important; }
.cblurb-c { display: table-cell; padding-left: 15px; vertical-align: top; }
.cblurb h4 { font: 600 16px/1em var(--fh); color: #000; }
.cblurb p { line-height: 1em; }
.cblurb a { color: #000; font-size: 16px; line-height: 1.3em; transition: color .3s; }
.cblurb a:hover { color: var(--red); }
@media (max-width: 767px) { .cblurb p { line-height: 1.5em; } }
.cols > .col > .cblurb:last-child { margin-bottom: 50px !important; }

/* mapa Google (načíta sa po súhlase) */
.map { position: relative; height: 440px; background: #e5e3df; }
@media (max-width: 980px) { .map { height: 350px; } }
@media (max-width: 767px) { .map { height: 220px; } }
@media (max-width: 479px) { .map { height: 200px; } }
.map-notice { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; color: #333; line-height: 1.5em; }
.map-notice p { padding: 0; max-width: 520px; }
.map-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 0; list-style: none; font-size: 13px; }
.map-links a { color: #333; text-decoration: underline; }
.map.is-loaded .map-notice { display: none; }
.map-canvas { position: absolute; inset: 0; }
.map-iw h3 { margin-top: 10px; font-size: 16px; }
.map-iw p { text-align: center; padding: 0; }
@media (max-width: 767px) { .map-links { display: none; } .map-notice { gap: 10px; } }

/* ---------- 404 ---------- */
.nf .row { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.nf-c { padding: 20px; text-align: center; }
.nf-t { padding-bottom: 10px; font: 600 40px/1em var(--fh); color: #000; }
.nf-d { padding-bottom: 30px; color: #333; line-height: 2.4em; }
.nf-b { display: inline; padding: 15px 35px; background: var(--red); color: #fff; font: 600 15px/1.7em var(--fh); letter-spacing: 3px; text-transform: uppercase; transition: background-color .3s; }
.nf-b:hover { background: #00235a; }
/* pasca Divi: stránka 404 je <article class="et_pb_post"> a .et_pb_post h2 nemá pod 480 px odsadenie */
@media (max-width: 479px) { .tpl-404 main h2 { padding-bottom: 0; } }
@media (max-width: 767px) { .nf-t { font-size: 30px; } .nf-d { font-size: 12px; } .nf-b { font-size: 13px; padding: 13px 20px; } }

/* stránka v príprave (fáza 2) */
.stub-t { text-align: center; }

/* ---------- pätička ---------- */
.foot { position: relative; margin-top: 120px; padding: 4% 0 0; background: var(--dark); color: #fff; }
@media (min-width: 1800px) { .foot { padding-top: 72px; } }
@media (max-width: 980px) { .foot { padding-top: 50px; } }
.foot-cta { display: flex; margin: -175px auto 50px; padding: 80px 50px; background: var(--yellow); color: #000; }
.row.foot-cta > .foot-cta-t { width: 66.667%; margin: auto; }
.row.foot-cta > .foot-cta-b { width: 33.3333%; margin: auto; text-align: right; }
.foot-cta h5 { margin-bottom: 5px; font-size: 30px; font-weight: 700; color: var(--red); }
.foot-cta .btn { padding: 15px 35px; }
.foot-cta .btn:hover { background: #fff; color: var(--red); }
@media (max-width: 980px) {
  .foot-cta { flex-direction: column; padding: 80px 50px; }
  .row.foot-cta > .foot-cta-t, .row.foot-cta > .foot-cta-b { width: 100%; }
  .foot-cta h5 { line-height: 1.5em; text-align: center; }
  .foot-cta-t { text-align: center; }
  .foot-cta-t p { margin-bottom: 20px; }
  .row.foot-cta > .foot-cta-b { text-align: center; }
}
@media (max-width: 767px) { .foot-cta { padding: 50px 20px; } }
.foot-main { display: flex; flex-wrap: wrap; align-items: flex-start; }
.row > .foot-col { margin-bottom: 0; }
.foot-col { width: 29.6667%; margin-right: 5.5%; }
.foot-col:last-child { margin-right: 0; }
@media (max-width: 980px) { .row > .foot-col { width: 100%; margin: 0 0 30px; } .row > .foot-col:last-child { margin-bottom: 0; } }
.foot-logo { display: block; width: 280px; max-width: 280px; margin-bottom: 20px; line-height: 0; }
.foot-logo img { width: auto; }
.foot h4 { margin-bottom: 15px; font-size: 20px; font-weight: 600; color: #fff; }
.foot-list { padding: 0 0 1em 1em; list-style: disc; line-height: 26px; color: #fff; }
.foot-list a { color: #fff; transition: color .3s; }
.foot-list a:hover { color: var(--green); }
.foot-copy { text-align: center; color: #fff; font-size: 13px; font-weight: 300; }
.foot-copy a { color: var(--yellow); }
.foot-copy a.foot-pravne { color: #fff; }
.foot-copy a:hover { text-decoration: underline; }

/* ---------- tlačidlo hore (Divi Pixel back to top) ---------- */
.to-top { position: fixed; right: 0; bottom: 20px; z-index: 99999; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; padding: 20px; border-radius: 5px 0 0 5px; background: rgba(227, 30, 36, .87); color: #fff; font-size: 20px; opacity: 0; visibility: hidden; transform: translateX(60px); transition: all .3s ease-in-out; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(0, 152, 70, .86); }
.to-top .ico { width: 20px; height: 20px; vertical-align: top !important; }

/* ---------- zväčšenie fotky (galéria) ---------- */
.lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(11, 11, 11, .9); }
.lb img { max-width: 90vw; max-height: 85vh; width: auto; height: auto; box-shadow: 0 0 8px rgba(0, 0, 0, .6); }
.lb button { position: absolute; border: 0; background: transparent; color: #fff; cursor: pointer; font: 300 44px/1 Arial, sans-serif; opacity: .75; }
.lb button:hover, .lb button:focus-visible { opacity: 1; }
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 64px !important; padding: 20px 10px; }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 64px !important; padding: 20px 10px; }
.lb-cap { position: absolute; bottom: 12px; left: 0; right: 0; color: #ccc; text-align: center; font-size: 13px; padding: 0; }

/* ---------- zásady ochrany osobných údajov (nová stránka) ---------- */
.zasady { color: #333; }
.zasady h2 { margin-top: 30px; font-size: 24px; color: var(--red); }
.zasady h2:first-child { margin-top: 0; }
.zasady ul { padding: 0 0 1em 1.2em; }
.zasady table { width: 100%; border-collapse: collapse; margin-bottom: 1em; font-size: 13px; }
.zasady th, .zasady td { padding: 6px 8px; border: 1px solid #ddd; text-align: left; vertical-align: top; line-height: 1.5em; }

/* ---------- cookie lišta (vlastný dizajn webu, nie kópia CookieYes) ---------- */
.cookie-lista { position: fixed; left: 20px; bottom: 20px; z-index: 100001; width: 440px; max-width: calc(100% - 40px); padding: 24px 26px; background: #fff; color: #333; box-shadow: 0 2px 18px rgba(0, 0, 0, .3); border-top: 4px solid var(--red); font-size: 14px; line-height: 1.6em; }
.cookie-lista__nadpis { padding: 0 0 6px; font: 600 18px/1.3em var(--fh); color: #000; }
.cookie-lista__text { padding-bottom: 12px; }
.cookie-lista a { color: var(--red); text-decoration: underline; }
.cookie-lista__volby { display: grid; gap: 8px; margin-bottom: 14px; }
.cookie-volba { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5em; }
.cookie-volba input { margin-top: 3px; accent-color: var(--red); }
.cookie-lista__tlacidla { display: flex; flex-wrap: wrap; gap: 8px; }
.tlacidlo { flex: 1 1 auto; padding: 10px 14px; border: 2px solid var(--red); background: var(--red); color: #fff; font: 500 13px/1.4em var(--fh); text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s; }
.tlacidlo:hover, .tlacidlo:focus-visible { background: #fff; color: var(--red); }
.tlacidlo--druhe { background: #fff; color: var(--red); }
.tlacidlo--druhe:hover { background: var(--red); color: #fff; }
@media (max-width: 479px) { .cookie-lista { left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 18px; } }

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