/* KUBETOL layout — header, category bar, mobile menu, benefits strip and global mobile standards.
   Rules are copied from design/Main.dc.html (<helmet><style>), shared by every page mockup. */

/* base */
body{margin:0;background:#ffffff;color:#000000;font-family:Gilroy, Manrope, system-ui, sans-serif}
a{color:#000000}a:where(:not(.kb-btn)):hover{color:#3a3a3a}
/* white link hover only on dark blocks; :where keeps it weaker than component hover colours */
:where(.kb-dark,.kb-footer,.kb-hero,.kb-cta:not(.kb-cta--yellow),.sh-cats,.sh-benefits,.sh-steps,.kv-hero,.kn-form-sec,.kn-person--b,.ck-done) a:where(:not(.kb-btn)):hover{color:#ffffff}
img{max-width:100%;height:auto}
.kb-skip:focus{position:fixed;top:8px;left:8px;z-index:100;width:auto;height:auto;clip:auto;padding:12px 16px;background:#f8bc16;color:#000000;font-weight:700;border-radius:12px}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid #000000;outline-offset:3px}
/* text fields: the focus ring sits exactly on the 2 px border instead of a wide halo around it */
:where(input:not([type=checkbox],[type=radio],[type=range]),select,textarea,.kb-field):focus,:where(input:not([type=checkbox],[type=radio],[type=range]),select,textarea,.kb-field):focus-visible{outline:2px solid #f8bc16;outline-offset:-2px}
.kb-dark :where(a,button):focus-visible{outline-color:#f8bc16}

/* header (Main.dc.html) */
.sh-wrap{max-width:1180px;margin:0 auto;padding-inline:16px}
.sh-bar{position:sticky;top:0;z-index:50;transition:top .25s ease}
/* scrolling down (main.js): the grey top bar slides out above the screen and the category bar fades, only .sh-head stays */
.sh-bar--compact{top:calc(-1 * var(--sh-top-h, 0px))}
/* mobile menu open: the header may be taller than the screen, let it scroll */
.sh-bar--open,.sh-bar:has(.sh-menu-cb:checked){max-height:100vh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
/* mobile menu open: the page under it does not scroll (class from main.js, :has() without JS) */
html.sh-lock,html:has(.sh-menu-cb:checked){overflow:hidden}
.sh-bar .sh-cats{transition:opacity .2s ease,visibility .2s}
.sh-bar--compact .sh-cats{opacity:0;visibility:hidden;pointer-events:none}
html{scroll-padding-top:calc(var(--sh-offset, 0px) + 16px)}
.sh-top{background:#ececec;font:500 14px/1 Gilroy, Manrope, sans-serif}
.sh-top-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;flex-wrap:wrap}
.sh-top-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.sh-top a{color:#000000;text-decoration:none}
.sh-top a:hover{text-decoration:underline;text-decoration-color:#f8bc16;text-decoration-thickness:2px}
.sh-cur{display:inline-flex;border-radius:9999px;background:#ffffff;padding:3px}
.sh-cur span{padding:5px 10px;border-radius:9999px;font-weight:700;font-size:12px}
.sh-cur .on{background:#f8bc16}
.sh-head{background:#ffffff;border-bottom:1px solid #ececec}
.sh-head-in{display:flex;align-items:center;gap:32px;min-height:76px;flex-wrap:wrap}
.sh-logo img,.sh-logo video{height:66px;width:auto;display:block}
.sh-logo video{aspect-ratio:328/134;pointer-events:none}
.sh-search{flex:1 1 360px;display:flex;align-items:center;gap:8px;height:52px;border:2px solid #000000;border-radius:30px;padding:0 4px 0 24px;box-sizing:border-box;min-width:0}
.sh-search input{flex:1;border:0;outline:0;font:400 18px/1 Gilroy, Manrope, sans-serif;min-width:0;background:transparent}
.sh-search button{height:40px;padding:0 24px;border:0;border-radius:30px;background:#f8bc16;color:#000000;font:700 16px/1 Gilroy, Manrope, sans-serif;text-transform:uppercase;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.sh-tools{display:flex;align-items:center;gap:24px}
.sh-tool{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#000000;font:600 16px/1.2 Gilroy, Manrope, sans-serif}
.sh-tool:hover,.sh-tool:hover small{color:#f8bc16}
.sh-tool small{display:block;font:500 13px/1.2 Gilroy, Manrope, sans-serif;color:#3a3a3a}
.sh-tool-ico{position:relative;width:48px;height:48px;border-radius:50%;background:#ececec;display:inline-flex;align-items:center;justify-content:center;font-size:24px;flex:none}
.sh-tool-ico--cart{background:#000000;color:#f8bc16}
.sh-count{position:absolute;top:-2px;right:-4px;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border-radius:9999px;background:#f8bc16;color:#000000;font:800 12px/20px Gilroy, Manrope, sans-serif;text-align:center}
.sh-cats{background:#000000}
.sh-cats-in{display:flex;align-items:center;gap:4px;min-height:56px;overflow-x:auto}
.sh-cats a{flex:none;color:#ffffff;text-decoration:none;font:700 15px/1 Gilroy, Manrope, sans-serif;text-transform:uppercase;padding:10px 14px;border-radius:30px;white-space:nowrap}
.sh-cats a:hover{background:#3a3a3a}
.sh-cats a.all{background:#f8bc16;color:#000000}
.sh-cats a.hot,.sh-cats a.new{color:#f8bc16}
.sh-cats a.cur{background:#3a3a3a}
/* currency switch: links instead of mockup spans */
.sh-cur a{padding:5px 10px;border-radius:9999px;font-weight:700;font-size:12px;line-height:1;color:#000000;text-decoration:none}
.sh-cur a:hover{text-decoration:none;background:#ececec}
.sh-cur a.on,.sh-cur a.on:hover{background:#f8bc16}
.sh-search input::-webkit-search-cancel-button{display:none}
.sh-search:focus-within{outline:0;border-color:#f8bc16}
.sh-search input:focus,.sh-search input:focus-visible{outline:0}
.sh-tool-ico .kb-icon{width:24px;height:24px}

/* benefits strip (home) */
.sh-benefits{background:#000000;color:#ffffff}
.sh-benefits-in{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding-block:40px}
.sh-benefit{display:flex;gap:14px;align-items:flex-start}
.sh-benefit-ico{width:48px;height:48px;border-radius:50%;background:#f8bc16;color:#000000;display:flex;align-items:center;justify-content:center;font-size:24px;flex:none}
.sh-benefit b{display:block;font:800 16px/1.3 Gilroy, Manrope, sans-serif;text-transform:uppercase;color:#f8bc16}
.sh-benefit div > span{display:block;font:500 15px/1.4 Gilroy, Manrope, sans-serif;color:#ececec;margin-top:4px}
.sh-benefit-ico svg{width:24px;height:24px;display:block}
@media (max-width:1100px){.sh-benefits-in{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* header – mobile (Main.dc.html @760) */
@media (max-width:760px){
.sh-top-links a:not(.keep){display:none}
.sh-head-in{gap:12px;padding-block:12px}
.sh-logo img,.sh-logo video{height:48px}
.sh-search{order:3;flex-basis:100%}
/* scrolling down (main.js): the search row is cut off, only logo + icons stay */
.sh-bar .sh-head{transition:clip-path .35s cubic-bezier(.4,0,.2,1)}
.sh-bar .sh-search{transition:opacity .3s ease,transform .35s cubic-bezier(.4,0,.2,1),visibility .3s}
.sh-bar--compact .sh-head{clip-path:inset(0 0 var(--sh-clip, 0px) 0)}
.sh-bar--compact .sh-search{opacity:0;visibility:hidden;transform:translateY(-8px)}
.sh-bar .sh-head{position:relative}
.sh-bar--compact .sh-head::after{content:"";position:absolute;left:0;right:0;bottom:var(--sh-clip, 0px);height:1px;background:#ececec}
.sh-tools{margin-left:auto;gap:12px}
.sh-tool-text{display:none}
.sh-benefits-in{grid-template-columns:minmax(0,1fr)}
}

/* mobilní menu (hamburger) */
.sh-menu-cb{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.sh-burger{display:none}
@media (max-width:760px){
.sh-bar{display:flex;flex-direction:column}
.sh-bar .sh-head{order:1}
.sh-bar .sh-cats{order:2;display:none}
.sh-bar .sh-top{order:3;display:none}
.sh-menu-cb:checked ~ .sh-cats,.sh-menu-cb:checked ~ .sh-top,.sh-bar--open .sh-cats,.sh-bar--open .sh-top{display:block}
.sh-bar--open .sh-burger{background:#000000}
.sh-bar--open .sh-burger i{background:#f8bc16}
.sh-bar--open .sh-burger i:nth-of-type(1){transform:translateY(7px) rotate(45deg)}
.sh-bar--open .sh-burger i:nth-of-type(2){opacity:0}
.sh-bar--open .sh-burger i:nth-of-type(3){transform:translateY(-7px) rotate(-45deg)}
.sh-burger{display:inline-flex;position:relative;width:48px;height:48px;border-radius:50%;background:#f8bc16;align-items:center;justify-content:center;cursor:pointer;flex:none}
.sh-burger i{position:absolute;left:14px;width:20px;height:2.5px;border-radius:2px;background:#000000;transition:transform .2s,opacity .2s}
.sh-burger i:nth-of-type(1){top:16px}.sh-burger i:nth-of-type(2){top:23px}.sh-burger i:nth-of-type(3){top:30px}
.sh-menu-cb:checked ~ .sh-head .sh-burger{background:#000000}
.sh-menu-cb:checked ~ .sh-head .sh-burger i{background:#f8bc16}
.sh-menu-cb:checked ~ .sh-head .sh-burger i:nth-of-type(1){transform:translateY(7px) rotate(45deg)}
.sh-menu-cb:checked ~ .sh-head .sh-burger i:nth-of-type(2){opacity:0}
.sh-menu-cb:checked ~ .sh-head .sh-burger i:nth-of-type(3){transform:translateY(-7px) rotate(-45deg)}
.sh-menu-cb:focus-visible ~ .sh-head .sh-burger{outline:3px solid #000000;outline-offset:3px}
.sh-bar .sh-cats-in{flex-direction:column;align-items:stretch;gap:0;padding-block:8px;overflow:visible}
.sh-bar .sh-cats a{padding:16px 4px;border-radius:0;border-bottom:1px solid #3a3a3a;font-size:16px}
.sh-bar .sh-cats a:last-child{border-bottom:0}
.sh-bar .sh-cats a.all{background:transparent;color:#f8bc16}
.sh-bar .sh-top-in{flex-direction:column;align-items:flex-start;gap:16px;padding-block:20px 24px}
.sh-bar .sh-top-links{flex-direction:column;align-items:flex-start;gap:14px;font-size:16px}
.sh-bar .sh-top-links a:not(.keep){display:inline}
.sh-bar .sh-top-links a{font-weight:600}
/* open menu: dark top bar under the dark categories, menu links first, contacts below */
.sh-bar .sh-top{background:#000000;color:#ececec;border-top:1px solid #3a3a3a}
.sh-bar .sh-top a{color:#ffffff}
.sh-bar .sh-cur a{color:#000000}
.sh-bar .sh-top-links:first-child{order:2;padding-top:16px;border-top:1px solid #3a3a3a;align-self:stretch}
}

@media (max-width:760px){
/* mobil: pole formulářů – menší boční odsazení a zaoblení */
.kb-field{padding-inline:16px;border-radius:15px}
textarea.kb-field{padding-inline:16px;border-radius:15px}
.sh-search{padding-left:12px;border-radius:15px}
.sh-search button{border-radius:11px}
}
@media (max-width:760px){
/* mobil: jednotná tlačítka – hlavní 48px / boky 16px, malá 36px / boky 12px, zaoblení 15px */
body .kb-btn:where(:not(.kb-btn--round)){height:48px;padding-left:16px;padding-right:16px;border-radius:15px;min-width:0}
body .kb-btn--sm:where(:not(.kb-btn--round)){height:36px;padding-left:12px;padding-right:12px}
body .kt-reg .kb-btn,body .kt-more .kb-btn,body .kt-modal-foot .kb-btn,body .ks-side .kb-btn,body aside .kb-btn,body .kt-side .kb-btn,body .od-card .kb-btn,body .od-acts .kb-btn,body .hp-tile .kb-btn,body .rg-stepnav .kb-btn{height:48px;padding-left:16px;padding-right:16px;border-radius:15px}
body .pd-row--2 .kb-btn,body .nf-req-btns .kb-btn{height:48px;padding-left:16px;padding-right:16px;border-radius:15px;font-size:12px}
body .ck-btn,body .ks-ares,body .rg-ares,body .uc-nav-btn,body .kt-filter-btn{height:48px;padding-left:16px;padding-right:16px;border-radius:15px}
body .uc-mini,body .od-mini,body .ck-done button{height:36px;padding-left:12px;padding-right:12px;border-radius:15px}
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* generic text pages (until each page gets its mockup template) */
.kt-page{padding-block:48px 96px}
.kt-page__title{margin:0 0 24px;font:800 40px/1.1 Gilroy, Manrope, sans-serif;text-transform:uppercase}
.kt-page__content{font:500 17px/1.6 Gilroy, Manrope, sans-serif;max-width:820px}
@media (max-width:760px){.kt-page{padding-block:24px 64px}.kt-page__title{font-size:28px}}

/* honeypot field of front-end forms (hidden from people, filled by bots) */
.pp-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Header cart count + toast after "Do košíku" (main.js) */
.sh-count[hidden]{display:none}
.sh-toast{position:fixed;left:50%;bottom:24px;z-index:1000;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:calc(100% - 32px);box-sizing:border-box;padding:14px 22px;border-radius:30px;background:#000000;color:#f8bc16;font:700 15px/1.3 Gilroy, Manrope, sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.25);transition:opacity .2s,transform .2s}
.sh-toast.on{opacity:1;transform:translate(-50%,0)}
.sh-toast--err{background:#c62828;color:#ffffff}
@media (max-width:760px){.sh-toast{bottom:16px;border-radius:15px;padding:12px 16px}}
@media (prefers-reduced-motion:reduce){.sh-toast{transition:none}}

/* Header search: clear button + suggestions (Hledat.dc.html, stav=naseptavac), main.js */
.sh-search{position:relative}
.sh-search--open{border-color:#f8bc16}
.sh-search .sh-clear{width:44px;height:40px;border-radius:30px;border:0;background:#ececec;cursor:pointer;flex:none;display:inline-flex;align-items:center;justify-content:center;padding:0;color:#000000}
.sh-clear svg{width:1em;height:1em;font-size:16px}
.ac{position:absolute;left:-2px;right:-2px;top:calc(100% + 10px);background:#ffffff;border-radius:24px;box-shadow:0 18px 48px rgba(0,0,0,.22),0 4px 12px rgba(0,0,0,.10);padding:12px;display:flex;flex-direction:column;gap:4px;z-index:10}
.ac-label{font:800 12px/1 Gilroy, Manrope, sans-serif;text-transform:uppercase;letter-spacing:.04em;color:#3a3a3a;padding:10px 12px 6px}
.ac-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 12px;border-radius:16px;text-decoration:none;color:#000000}
.ac-item:hover,.ac-item[aria-selected="true"]{background:#ececec}
.ac-item img{width:48px;height:48px;border-radius:12px;object-fit:cover;border:1px solid #ececec}
.ac-item b{font:700 15px/1.25 Gilroy, Manrope, sans-serif}
.ac-item small{display:block;font:500 13px/1.2 Gilroy, Manrope, sans-serif;color:#3a3a3a}
.ac-cats{display:flex;gap:8px;flex-wrap:wrap;padding:4px 12px 8px}
.ac-cat{height:36px;padding:0 14px;border-radius:30px;background:#ececec;display:inline-flex;align-items:center;gap:6px;font:700 14px/1 Gilroy, Manrope, sans-serif;text-decoration:none;color:#000000}
.ac-all{margin-top:6px;height:48px;border-radius:30px;background:#000000;color:#f8bc16;display:flex;align-items:center;justify-content:center;gap:8px;font:700 15px/1 Gilroy, Manrope, sans-serif;text-transform:uppercase;text-decoration:none}
mark{background:#f8bc16;color:#000000;border-radius:2px;padding:0}.sh-search .sh-clear[hidden],.ac[hidden]{display:none}
.sh-search .sh-clear .kb-icon{width:16px;height:16px}
.ac-item .kt-noimg{width:48px;height:48px;border-radius:12px;background:#ececec;display:flex;align-items:center;justify-content:center}
.ac-item .kb-badge{height:24px;font-size:12px;padding:0 10px}
.ac-empty{padding:12px;font:500 15px/1.4 Gilroy, Manrope, sans-serif;color:#3a3a3a}
.ac-all .kb-icon{width:16px;height:16px}
@media (max-width:760px){
.sh-search .sh-clear{border-radius:11px;width:40px}
.ac{border-radius:12px;padding:8px}
.ac-item{border-radius:8px;padding:6px 8px;grid-template-columns:44px minmax(0,1fr)}
.ac-item img,.ac-item .kt-noimg{width:44px;height:44px}
.ac-item .kb-badge{display:none}
.ac-cat{border-radius:15px;padding:0 11px}
.ac-all{border-radius:15px}
}
/* Footer links: comfortable touch targets on phones (WCAG 2.5.8). Decorative hero flower keeps its shape. */
@media (max-width:760px){.kb-footer__col p a{display:inline-block;padding:4px 0}}
.kb-hero__disc img{object-fit:contain}
/* footer: 5 columns — logo / Informace pro vás / company / Kontakt / Sklad */
.kb-footer__in{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-areas:"logo info company contact store";gap:12px 28px;align-items:start}
.kb-footer__logo{grid-area:logo}
.kb-footer__contact{grid-area:contact}
.kb-footer__info{grid-area:info}
.kb-footer__company{grid-area:company}
.kb-footer__store{grid-area:store}
.kb-footer__map{position:relative;margin-top:12px;height:140px;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:repeating-linear-gradient(45deg,#2a2a2a 0 14px,#333333 14px 28px);font:600 14px/1.2 Gilroy, Manrope, sans-serif}
.kb-footer__map a{color:#f8bc16}
.kb-footer__pin{width:36px;height:36px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#f8bc16;display:flex;align-items:center;justify-content:center}
.kb-footer__pin i{width:12px;height:12px;border-radius:50%;background:#000000;display:block}
.kb-footer__map-btn{height:36px;padding:0 16px;border-radius:30px;border:0;background:#f8bc16;color:#000000;font:700 13px/1 Gilroy, Manrope, sans-serif;text-transform:uppercase;cursor:pointer}
.kb-footer__map.is-on{height:220px;background:#2a2a2a}
.kb-footer__map iframe{width:100%;height:100%;border:0;display:block}
@media (max-width:1000px){
.kb-footer__in{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"logo logo" "info company" "contact store"}
}
@media (max-width:760px){
.kb-footer__in{grid-template-columns:minmax(0,1fr);grid-template-areas:"logo" "info" "company" "store" "contact"}
.kb-footer__logo{height:56px;width:auto}
}
@media (max-width:760px){
/* mobile: search box and its text 20 % smaller (52 → 42 px) */
.sh-search{height:42px;padding-right:4px;border-radius:13px}
.sh-search input{font-size:16px} /* 16 px: iOS Safari does not zoom on focus */
.sh-search button{height:32px;padding:0 16px;font-size:13px;gap:6px;border-radius:9px}
.sh-search button .kb-icon,.sh-search button svg{width:14px;height:14px}
.sh-search .sh-clear{width:32px;height:32px;border-radius:9px}
.sh-search .sh-clear .kb-icon{width:13px;height:13px}
}
@media (max-width:760px){
/* mobile: every text field looks like the header search (#sh-q): 2 px black border, 13 px radius, 16 px text; heights stay */
body .kb-field,body .uc-in{border:2px solid #000000;border-radius:13px;padding-inline:12px;font:400 16px/1.3 Gilroy, Manrope, sans-serif;color:#000000}
body textarea.kb-field{padding:12px}
body .kb-field--dark{border-color:#ececec;color:#ffffff}
}
