/* 

// Created :: 2025-02-23
// Updated :: 2025-02-23

*/

/* BODY */

* { margin: 0px; padding: 0px; }
body {  }

/* Scroll lock */
body.no_scroll { overflow: hidden; }

/* OBECNÉ PRVKY */

img { max-width: 100%; height: auto; }

/* RESPO PRIPRAVA */

#menu_burger_btn { display: none; }

/* LAYOUT */

#content { padding: 0px 0px 0px 0px; }

.obsah.obsah_uvod { max-width: 70%; margin: 50px auto; }
.obsah.kategorie { max-width: 70%; margin: 50px auto; }
.obsah.dekujeme { max-width: 70%; margin: 50px auto; }
.obsah.chyba { max-width: 70%; margin: 50px auto; }
.obsah.s404 { max-width: 70%; margin: 50px auto; }
.obsah.obsah_blogmag { max-width: 50%; }
.produkt.produkt_uvod { max-width: 85%; margin: 50px auto 0px auto; }

/* OBECNÉ */

.breaker { clear: both; border: 0px; }

/* ERRORS */

div.error_box, div.success_box, div.info_box, div.warning_box
{ 
  padding: 20px; margin: 20px 0px;
  border-radius: 16px;
}

/* LISTA :: UKLIDIT */

.breadcrumbs { display:block; font-size:12px; line-height:1.6; padding-bottom:5px; color:#666; }
.breadcrumbs .crumb { white-space:nowrap; }
.breadcrumbs .sep { margin:0 8px; }
.breadcrumbs a { color:#666; text-decoration:none; }
.breadcrumbs a:hover span[itemprop="name"] { text-decoration:underline; }
.breadcrumbs span[itemprop="name"] { display:inline-block; }
.breadcrumbs span[itemprop="name"]::first-letter { text-transform:uppercase; }
.breadcrumbs [aria-current="page"] { color:#000; }

/* NADPISY */

h1 { padding: 0px 0px 30px 0px; }
h1::first-letter { text-transform: uppercase; }

/* ZAHLAVI */

#zahlavi_lista { width: 100%; box-sizing: border-box; } 
#zahlavi_lista .zl_wrap { position: relative; max-width: 85%; margin: 0 auto; padding: 20px 12px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#zahlavi_lista .zl_left { display: flex; align-items: center; gap: 16px; } 
#zahlavi_lista .zl_center { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; flex: none; }
#zahlavi_lista .zl_right { display: flex; align-items: center; gap: 16px; } 
#zahlavi_lista .zl_item { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; } 
#zahlavi_lista .zl_item span { position: relative; display: inline-block; } 
#zahlavi_lista .zl_link { position: relative; display: inline-block; text-decoration: none; } 
#zahlavi_lista .icon { width: 16px; height: 16px; flex: 0 0 16px; } 
#zahlavi_lista .zl_link::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0%; height: 1px; transition: width 0.3s ease; } 
#zahlavi_lista .zl_item span::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0%; height: 1px; transition: width 0.3s ease; } 
#zahlavi_lista .zl_link:hover::after { width: 100%; } 
#zahlavi_lista .zl_item:hover span::after { width: 100%; }

#zahlavi { width: 100%; box-sizing: border-box; }
#zahlavi .zh_wrap { max-width: 85%; margin: 0px auto; padding: 22px 0px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#zahlavi .zh_left { display: flex; align-items: center; }
#zahlavi .zh_logo img { display: block; max-height: 75px; width: auto; }
#zahlavi .zh_center { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
#zahlavi .zh_search { display: flex; align-items: stretch; gap: 0px; width: min(560px, 100%); border-radius: 10px; overflow: hidden; box-sizing: border-box; }
#zahlavi .zh_search input { flex: 1 1 auto; border: 0px; padding: 14px 16px; outline: none; box-sizing: border-box; }
#zahlavi .zh_search .zh_btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 0px 18px; border: 0px; cursor: pointer; }
#zahlavi .zh_right { display: flex; align-items: center; gap: 28px; }
#zahlavi .zh_icon { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
#zahlavi .zh_icon .zh_label { position: relative; display: inline-block; }
#zahlavi .zh_icon .zh_label::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0%; height: 1px; transition: width 0.3s ease; }
#zahlavi .zh_icon:hover .zh_label::after { width: 100%; }
#zahlavi .icon { width: 35px; height: 35px; stroke-linecap: round;  }
#zahlavi .zh_badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0px 5px; border-radius: 999px; text-align: center; box-sizing: border-box; }

/* MENU */

#zahlavi_menu { width: 100%; box-sizing: border-box; line-height: 1; }
#zahlavi_menu * {  }

#zahlavi_menu .in { max-width: 85%; margin: 0px auto; padding: 0px 0px; box-sizing: border-box; }

#zahlavi_menu .cat_toggle { all: unset; display: inline; cursor: pointer; -webkit-appearance: none; appearance: none;  }
#zahlavi_menu .cat_toggle::-moz-focus-inner { border: 0; padding: 0; }

#zahlavi_menu nav { display: flex; align-items: center; }
#zahlavi_menu .category { position: relative; display: inline-block; width: 240px; }
#zahlavi_menu .cat_toggle { width: 240px; display: inline-block; padding: 16px 10px 12px 10px; box-sizing: border-box; }

#zahlavi_menu .menu { flex: 0; margin-left: 50px; }
#zahlavi_menu .menu ul { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 16px 0px 12px 0px; }
#zahlavi_menu .menu li { display: inline-block; }

#zahlavi_menu .menu_right { margin-left: auto; }
#zahlavi_menu .menu_right ul { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 16px 0px 12px 0px; }
#zahlavi_menu .menu_right li { display: inline-block; }

#zahlavi_menu .cat_panel { position: absolute; left: 0; top: 100%; width: 100%; box-sizing: border-box; padding: 8px 0; z-index: 100; display: none; }
#zahlavi_menu .category.open .cat_panel { display: block; }
#zahlavi_menu .cat_list { list-style: none; margin: 0; padding: 0; }
#zahlavi_menu .cat_list li a { display: block; padding: 8px 12px; text-decoration: none; }

#zahlavi_menu #menu li a span, #zahlavi_menu .menu_right a span { position: relative; display: inline-block; padding: 0px; line-height: 1; }
#zahlavi_menu #menu li a span::after, #zahlavi_menu .menu_right a span::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0%; height: 1px; transition: width 0.3s ease; }
#zahlavi_menu #menu li a:hover span::after, #zahlavi_menu .menu_right a:hover span::after { width: 100%; }

#zahlavi_menu .burger { display: inline-block; vertical-align: middle; width: 18px; height: 12px; position: relative; top: -1px; margin-right: 8px; }
#zahlavi_menu .burger span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 1px; }
#zahlavi_menu .burger span:nth-child(1) { top: 0; }
#zahlavi_menu .burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
#zahlavi_menu .burger span:nth-child(3) { bottom: 0; }
#zahlavi_menu .cat_title { display: inline-block; vertical-align: middle; line-height: 1; }

/* GALERIE */

.galerie_mini { gap: 0px; }
.galerie_mini { display: flex; flex-wrap: wrap; align-items: flex-start; }
.galerie_mini a { height: 100px; display: block; flex: 0 0 auto; }
.galerie_mini img { height: 100px; width: auto; display: block; object-fit: cover; }
.galerie_mini a:focus, .galerie_mini a:active, .galerie_mini a:focus-visible { outline: none; box-shadow: none; border: none; }
.galerie_mini img:focus, .galerie_mini img:active, .galerie_mini img:focus-visible { outline: none; box-shadow: none; border: none; }
.galerie_mini a.is-selected { outline: none !important; box-shadow: none !important; }

/* SLOUPEC */

/* CONTAINERS OBSAH UVOD */

.obsah img.uvod { max-width: 100%; margin-bottom: 20px; }

/* CONTAINERS VYPISY */

.obsah_vypis_box img { height: 100px; }
.obsah_vypis_box_hp img { height: 100px; }

/* CONTAINERS DETAILY */

/* PRVKY */

/* ARTICLES */

/* PRVKY */

._prvky img.uvod { height: 100px; }

/* JINE  */

/* 
#sitemap { margin: 0; padding: 0;  line-height: 125%; }
#sitemap ul { list-style: none; margin: 0; padding-left: 0em; }
#sitemap li { position: relative; margin: .25em 0; padding-left: 0em; }
#sitemap ul.sub { margin-top: .15em; padding-left: 1.1em; }
#sitemap ul > li { padding-left: .1em; }
*/

/* ARTICLES */

/* TINYMCE */

.tinymce p { padding: 10px 0px 0px 0px; }
.tinymce > p:first-child { padding: 0px 0px 0px 0px; }
.tinymce p:last-child { padding-bottom: 0px; }

.tinymce {  }
.tinymce h2 { padding: 30px 0px 0px 0px; }
.tinymce h3 { padding: 30px 0px 0px 0px; }
.tinymce h2+h3 { padding-top: 10px }

.tinymce > h2:first-child { padding-top: 0; }

.tinymce ul { list-style: none; list-style-type: square; padding: 10px 0 0 1.4em; }
.tinymce li { padding-bottom: 5px }
.tinymce ul li:last-child { padding-bottom: 0px }

.tinymce table { border-collapse: collapse; border-spacing: 0; border: 0; margin: 10px 0px 0px 0px; padding: 0; width: auto; }
.tinymce table * { border: 0; margin: 0; padding: 0; background: none; box-shadow: none; vertical-align: top; }
.tinymce table td { padding-right: 20px; }

/* PATICKA */

#paticka { width: 100%; box-sizing: border-box; }
#paticka .in { max-width: 80%; margin: 0px auto; padding: 30px 0px; box-sizing: border-box; }
#paticka .ft_info { text-align: center; padding: 15px 0px 35px 0px; margin: 0px 0px 65px 0px; }
#paticka .ft_grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; column-gap: 60px; row-gap: 28px; align-items: start; padding-bottom: 40px;}
#paticka .column h4 { margin: 0px 0px 25px 0px; }
#paticka .column p { margin: 0px 0px 15px 0px; }
#paticka .column_menu ul { list-style: none; margin: 0px; padding: 0px; display: grid; gap: 15px; }
#paticka .column_menu li { }
#paticka .column_menu a { display: inline-block; padding: 0px 0px; position: relative; }
#paticka .ft_news_form { display: flex; align-items: stretch; gap: 4px; }
#paticka .ft_news_form input { flex: 1 1 auto; padding: 10px 12px; border: 0px; outline: none; box-sizing: border-box; }
#paticka .ft_news_form .btn_red { flex: 0 0 auto; padding: 0px 14px; border: 0px; cursor: pointer; }
#paticka .ft_socials { display: flex; align-items: center; gap: 10px; margin: 24px 0px 0px 0px; }
#paticka .social { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; }
#paticka .social svg { width: 20px; height: 20px; }

#paticka .column_menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0%; height: 1px; transition: width 0.25s ease; }
#paticka .column_menu a:hover::after { width: 100%; }

#paticka .column.column_contact div {  }
#paticka .column.column_contact { line-height: 150% }
#paticka .column.column_contact ul { padding-bottom: 20px; }
#paticka .column.column_contact li { list-style-type: none; }
#paticka .column.column_contact {  }
#paticka .column.column_contact {  }

/* COPYRIGHT */

#copyright { width: 100%; box-sizing: border-box; }
#copyright .in { max-width: 80%; margin: 0px auto; padding: 30px 0px; box-sizing: border-box; display: flex; flex-wrap: wrap; justify-content: center; text-align: center; 
  gap: 3px 20px; align-items: center; }
#copyright span { display: inline-flex; gap: 4px; align-items: baseline; }
#copyright a { text-decoration: none; position: relative; }
#copyright .break_line { flex-basis: 100%; height: 0; }

/* TINYMCE */

/* SITEMAP */

div#sitemap ul.sub li {  }

/* FORM */

#form_control_point { display: none; }

fieldset#zajem {  }

/* FORM :: PATIČKA  */

/* PROFIL */

#content_obsah_profil { width: 75%; float: right; }
#column_left_profil { width: 20%; float: left; }

/* PRODUKTY :: VÝPIS */

#products_label { max-width: 85%; margin: 0px auto; padding: 7px; }

#products { width: 100%; box-sizing: border-box; padding: 40px 0px 40px 0px; margin: 0px 0px; }
#products .in { max-width: 85%; margin: 0px auto; padding: 0px 0px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; box-sizing: border-box; }
#products .prd { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px; box-sizing: border-box; }
#products .prd_img { display: flex; align-items: center; justify-content: center; width: 100%; height: 200px; overflow: hidden; text-align: center; box-sizing: border-box; }
#products .prd_img img { max-width: 90%; max-height: 90%; object-fit: contain; object-position: center; display: block; }
#products .prd_title { margin: 0px; height: 35px; }
#products .prd_title a { display: inline-block; text-decoration: none; }
#products .prd_price { text-align: center; margin: 4px 0px 6px 0px; }
#products .btn_add { display: inline-flex; align-items: center; justify-content: center; padding: 11px 10px 10px 10px; 
  border-radius: 1px; border: 1px solid; text-decoration: none; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }



/* HP :: KATEGORIE  */

#featured_cats { width: 100%; box-sizing: border-box; }
#featured_cats .in { max-width: 95%; margin: 0px auto; padding: 50px 0px 40px 0px; box-sizing: border-box; }
#featured_cats .fc_head { text-align: center; margin: 0px 0px 60px 0px; }
#featured_cats .fc_head h2 { margin: 0px 0px 8px 0px; }
#featured_cats .fc_head p { margin: 0px; }
#featured_cats .fc_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
#featured_cats .fc_item { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; padding: 16px 0px; box-sizing: border-box; }
#featured_cats .fc_img { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
#featured_cats .fc_img img { width: 100%; height: 100%; object-fit: contain; display: block; }
#featured_cats .fc_body { display: flex; flex-direction: column; gap: 12px; }
#featured_cats .fc_title { margin: 0px; }
#featured_cats .fc_title a { display: inline-block; }
#featured_cats .fc_list { list-style: none; margin: 0px; padding: 0px; display: grid; gap: 10px; }
#featured_cats .fc_list li { position: relative; padding-left: 16px; }
#featured_cats .fc_list li::before { content: "›"; position: absolute; left: 0px; top: 0px;  }
#featured_cats .fc_list a { text-decoration: none; }
#featured_cats .fc_shop { margin-top: 20px; display: inline-block; align-self: flex-start; padding: 6px 10px; border-radius: 2px; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }

/* HP :: BENEFITS */

#benefits { width: 100%; box-sizing: border-box; }
#benefits .in { max-width: 85%; margin: 0 auto; padding: 50px 0px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; box-sizing: border-box; }
#benefits .benefit_item { display: flex; align-items: flex-start; gap: 26px; align-items: center; }
#benefits .benefit_icon { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; transition: background-color 0.3s ease, color 0.3s ease; }
#benefits .benefit_icon svg { width: 28px; height: 28px; }
#benefits .benefit_text { display: flex; flex-direction: column; justify-content: center; }
#benefits .benefit_text h3 { margin: 0px 0px 2px 0px; line-height: 1.3; }
#benefits .benefit_text p { margin: 0px; line-height: 1.5; }

/* HP :: BENEFITS NEWS */

#featured_cats_new { width: 100%; box-sizing: border-box; padding: 50px 0px; }
#featured_cats_new .in { max-width: 85%; margin: 0px auto; padding: 0px 0px; box-sizing: border-box;  }
#featured_cats_new .fc_head { text-align: center; margin: 0px 0px 50px 0px; }
#featured_cats_new .fc_head h2 { margin: 0px 0px 8px 0px; }
#featured_cats_new .fc_head p { margin: 0px; }
#featured_cats_new .fc_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#featured_cats_new .fc_card { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 9 / 9; display: flex; }
#featured_cats_new .fc_bg { position: absolute; inset: 0; background-image: var(--bg); background-size: contain; background-position: center; background-repeat: no-repeat; transform: scale(1); transition: transform 0.5s ease; }
#featured_cats_new .fc_card:hover .fc_bg { transform: scale(1.08); }
#featured_cats_new .fc_content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; width: 100%; padding: 18px 18px; }
#featured_cats_new .fc_title { margin: 0px; }
#featured_cats_new .fc_btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 2px; text-decoration: none; align-self: flex-start; }


/* --- Obrázky podle pořadí --- */
#featured_cats_new .fc_card:nth-child(1) .fc_bg { background-image: url('../../bnrs/bg-ba-1.jpg'); }
#featured_cats_new .fc_card:nth-child(2) .fc_bg { background-image: url('../../bnrs/bg-ba-1.jpg'); }
#featured_cats_new .fc_card:nth-child(3) .fc_bg { background-image: url('../../bnrs/bg-ba-1.jpg'); }

/* HP :: BRAND */ 

#brands { width: 100%; box-sizing: border-box; padding: 10px 0px 50px 0px; }
#brands .in { max-width: 85%; margin: 0px auto; padding: 0px 0px; box-sizing: border-box; }
#brands .brands_title { text-align: center; margin: 0px 0px 40px 0px; }
#brands .brands_grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; box-sizing: border-box; }
#brands .brand_box { display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 15px 0px; }
#brands .brand_box img { max-width: 80%; max-height: 80%; width: auto; height: auto; object-fit: contain; }

/* HP :: HERO BNRS :: UKLIDIT */

#hp_prm { width: 100%; box-sizing: border-box; }
#hp_prm .prm_view { position: relative; width: 100%; overflow: hidden; }
#hp_prm .prm_track { display: flex; width: 100%; transition: transform 0.3s ease; will-change: transform; }
#hp_prm .prm_slide { position: relative; flex: 0 0 100%; width: 100%; }
#hp_prm .prm_slide picture,
#hp_prm .prm_slide img { display: block; width: 100%; height: auto; }
#hp_prm .prm_slide img { max-height: 520px; object-fit: cover; }
#hp_prm .prm_nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: transparent; border: 2px solid currentColor; color: #fff;
  opacity: 0; transition: opacity .2s ease, border-color .2s ease;
  z-index: 2; pointer-events: auto; }
#hp_prm .prm_prev { left: 18px; }
#hp_prm .prm_next { right: 18px; }
#hp_prm .prm_nav:hover { border-color: rgba(255,255,255,.85); }
#hp_prm .prm_nav svg { width: 28px; height: 28px; }
#hp_prm .prm_view:hover .prm_nav,
#hp_prm .prm_nav:focus-visible { opacity: 1; }
#hp_prm.is-touch .prm_nav { opacity: 1; }
#hp_prm .prm_dots {
  position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  gap: 12px; z-index: 1; /* pod šipkami, nad obrázkem */ }
#hp_prm .prm_dot { width: 40px; height: 4px; border-radius: 2px; border: none;
  background: #E0E0E0; cursor: pointer; transition: background-color .3s ease; }
#hp_prm .prm_dot[aria-selected="true"]{ background: rgba(0,0,0,.75); }
#hp_prm .prm_dot:hover{ background: green; }
#hp_prm .visually-hidden{ position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* HP :: BRAND CARS :: VÝVOJ :: UKLIDIT  */

#hp_brand_cars { width: 100%; box-sizing: border-box; background: #f7f7f7; }
#hp_brand_cars .in { max-width: 85%; margin: 0 auto; padding: 28px 0; box-sizing: border-box; }
#hp_brand_cars .brand_grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
#hp_brand_cars .brand a { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
#hp_brand_cars .brand img { display: block; max-width: 110px; max-height: 64px; filter: grayscale(100%); 
  transform: scale(1); transition: filter .25s ease, transform .25s ease; will-change: filter, transform; }
#hp_brand_cars .brand .label { margin-top: 10px; font-size: 14px; line-height: 1; color: #000; text-align: center; white-space: nowrap; }
#hp_brand_cars .brand a:hover img { filter: grayscale(0%); transform: scale(1.06); }

/* HP BLOG :: VÝVOJ :: UKLIDIT */

#blog_hp { width: 100%; box-sizing: border-box; padding: 50px 0; }
#blog_hp .in { max-width: 85%; margin: 0 auto; box-sizing: border-box; }
#blog_hp h2 { margin: 0 0 24px 0; }
#blog_hp .blog_grid_top { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0 0 32px 0; }

#blog_hp .post_card { display: flex; flex-direction: column; gap: 6px; }
#blog_hp .post_mini { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; }

#blog_hp .post_media { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; }
#blog_hp .post_media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
#blog_hp .post_media:hover img { transform: scale(1.04); }
#blog_hp .post_title { margin: 5px 0px 0px 0px; }
#blog_hp .post_title { line-height: 140%; }
#blog_hp .post_perex { margin: 0px 0 0 0; }
#blog_hp .post_perex { line-height: 140% }
#blog_hp .blog_grid_bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* PRODUKT :: DETAIL :: VYVOJ :: UKLIDIT  */
#produkt_detail { max-width: 95%; gap: 72px; padding: 50px 0; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: start; box-sizing: border-box; }
#produkt_detail * { box-sizing: border-box; }
#produkt_detail .produkt_col { gap: 16px; display: flex; flex-direction: column; }
#produkt_detail .produkt_mainimg { min-height: 360px; margin: 0; display: flex; align-items: center; justify-content: center; }
#produkt_detail .produkt_mainimg img { display: block; max-width: 80%; max-height: 80%; width: auto; height: auto; object-fit: contain; }
#produkt_detail .produkt_mainimg figcaption { margin-top: 8px; }
#produkt_detail .galerie_mini { display: flex; flex-wrap: wrap; gap: 8px; }
#produkt_detail .galerie_mini a { display: block; width: 88px; height: 88px; overflow: hidden; border-radius: 4px; box-sizing: border-box; }
#produkt_detail .galerie_mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
#produkt_detail header h1 { margin: 0px; padding: 0px 20px; }
#produkt_detail .produkt_spec { display: grid; grid-template-columns: 120px 1fr; column-gap: 12px; row-gap: 6px; padding: 0px 20px; }
#produkt_detail .produkt_spec dt { grid-column: 1; }
#produkt_detail .produkt_spec dd { grid-column: 2; margin: 0; }
#produkt_detail .produkt_perex { padding: 0px 20px; line-height: 150%; }
#produkt_detail .produkt_buybox { padding: 20px; border-radius: 8px; display: grid; gap: 12px; margin: 5px 0px 0px 0px; }
#produkt_detail .buybox_status { display: flex; gap: 6px; align-items: baseline; }
#produkt_detail .buybox_status .label { opacity: .8; }
#produkt_detail .buybox_price_row { }
#produkt_detail .buybox_price { }

/* tlačítko koupit – základ */
#produkt_detail .produkt_form .btn_koupit { width: 100%; padding: 0 28px; border: none; border-radius: 4px; cursor: pointer; min-height: 40px; transition: transform .06s ease, background-color .2s ease, opacity .2s ease; }
#produkt_detail .produkt_form .btn_koupit:active { transform: translateY(1px); }

/* Info pod buyboxem */
#produkt_detail .buybox_info { margin-top: 8px; padding: 0px 20px; }

/* Množství + tlačítko koupit */
#produkt_detail .buybox_controls { display: flex; gap: 10px; align-items: stretch; margin-top: 6px; }
#produkt_detail .qty_wrap { flex: 0 0 130px; display: flex; flex-direction: column; gap: 4px; }
#produkt_detail .qty_label { display: none; } /* label necháme jen pro čtečky / HTML, vizuálně schované */
#produkt_detail .qty_input { display: grid; grid-template-columns: 32px 1fr 32px; align-items: stretch; border-radius: 4px; overflow: hidden; border: 1px solid #ccc; background: #fff; height: 40px; }
#produkt_detail .qty_input input[type="number"] { border: none; width: 100%; text-align: center; padding: 0 2px; font-size: 14px; -moz-appearance: textfield; height: 100%; }
#produkt_detail .qty_input input[type="number"]::-webkit-outer-spin-button,
#produkt_detail .qty_input input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#produkt_detail .qty_btn { border: none; background: #f2f2f2; cursor: pointer; font-size: 18px; line-height: 1; padding: 0; display: flex; align-items: center; justify-content: center; transition: background-color .15s ease; height: 100%; }
#produkt_detail .qty_btn:hover { background: #e5e5e5; }

/* v rámci buybox_controls uděláme tlačítko velké – zabere zbytek šířky */
#produkt_detail .buybox_controls .btn_koupit { width: auto; flex: 1 1 auto; }

/* Responsivně: na malých šířkách pod sebe */
@media (max-width: 640px) {
  #produkt_detail .buybox_controls { flex-direction: column; }
  #produkt_detail .qty_wrap { flex: 0 0 auto; }
  #produkt_detail .buybox_controls .btn_koupit { width: 100%; }
}

#produkt_popis { padding: 0px 0px; box-sizing: border-box; } 
#produkt_popis { max-width: 85%; margin: 10px auto 60px; display:grid; grid-template-columns:1fr; row-gap:24px; box-sizing:border-box; }
#produkt_popis .produkt_popis { }
#produkt_popis .produkt_spec { display:grid; grid-template-columns: 120px 1fr; column-gap: 12px; row-gap: 6px; }
#produkt_popis .produkt_spec dt { grid-column:1; }
#produkt_popis .produkt_spec dd { grid-column:2; margin:0; line-height: 135% }
#produkt_popis .tinymce.produkt_text { margin-top: 40px; line-height: 150% }

#produkt_popis .produkt_tabs { }
#produkt_popis .produkt_tabs_nav { display:flex; gap:24px; border-bottom:2px solid var(--grey-light); margin-bottom:0; }
#produkt_popis .produkt_tabs_nav .tab_btn { position:relative; border:none; background:transparent; padding: 10px 20px; font-size:13px; font-weight:400; cursor:pointer; color:#777; outline:none; }
#produkt_popis .produkt_tabs_nav .tab_btn::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:#bbb; transition:width 0.2s ease, background-color 0.2s ease; }
#produkt_popis .produkt_tabs_nav .tab_btn:hover::after { width:100%; }
#produkt_popis .produkt_tabs_nav .tab_btn.is-active { font-size:20px; font-weight:600; color:#000; }
#produkt_popis .produkt_tabs_nav .tab_btn.is-active::after { width:100%; background:#0070c9; }

#produkt_popis .produkt_tabs_body { padding: 0px 40px; box-sizing: border-box; background:#fff; }
#produkt_popis .tab_panel { display:none; padding:50px 0 0; }
#produkt_popis .tab_panel.is-active { display:block; }
#produkt_popis .tab_panel[hidden] { display:none; }

#produkt_popis .product_categories { margin-top:0; }
#produkt_popis .product-assignments { width: 100%; border-collapse:collapse; margin-top:10px; font-size: 12px; }
#produkt_popis .product-assignments th, .product-assignments td { border: 0px solid #ddd; padding: 8px 10px; text-align:left; }
#produkt_popis .product-assignments thead th { background:#f5f5f5; font-weight:600; }
#produkt_popis .product-assignments tbody tr:nth-child(even) { background:#fafafa; }
#produkt_popis .product-assignments a { color:#0070c9; text-decoration:none; }
#produkt_popis .product-assignments a:hover { text-decoration:underline; }

.product_categories_tree { padding: 0px 0; }
.product_categories_tree .category_breadcrumbs { line-height: 1.8;  }
.product_categories_tree .cat_crumb { text-transform: capitalize; }
.product_categories_tree .cat_crumb a { text-transform: capitalize; }
.product_categories_tree .sep { margin: 0 8px; }

@media (max-width:700px) {
  .produkt_tabs_nav { flex-wrap:wrap; gap:16px; }
  .produkt_tabs_nav .tab_btn { font-size:12px; padding:8px 0; }
  .tab_panel { padding:32px 0 0; }
  .product-assignments { font-size:13px; }
  .product-assignments th, .product-assignments td { padding:4px 6px; }
}


/* Admin box (mimo #produkt_detail / #produkt_popis) — sjednocení šířky */
.produkt_full.admin_box {
  max-width: 85%;
  margin: 0 auto 60px;
  box-sizing: border-box;
}


/* KATEGORIE :: VYVOJ :: UKLIDIT  */

ul.kategorie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
ul.kategorie li { border: 2px solid #ccc; border-radius: 3px; padding: 12px 30px; text-align: center; transition: all 0.2s ease; background: #fff; }
ul.kategorie li a::first-letter {
    text-transform: uppercase;
}
ul.kategorie li a { text-decoration: none; color: #333; font-weight: 500; display: block; }
ul.kategorie li:hover { border-color: #888; background: #f9f9f9; transform: translateY(-2px); }

#cat_text_full { margin-top: 50px; }

#cat_description { margin-bottom: 20px; }
#cat_description p { padding: 0px 0px 20px 0px; margin: 0px;  }

/* PRDUKT LINES :: VYVOJ UKLIDIT  */

.products_lines { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.products_lines .item { display: flex; align-items: flex-start; gap: 30px; border: 2px solid #ddd; border-radius: 8px; padding: 22px 16px; background: #fff; }
.products_lines .item_img { flex: 0 0 20%; max-width: 20%; display: flex; align-items: center; justify-content: center; }
.products_lines .item_img img { display: block; max-width: 100%; height: auto; max-height: 100px; }
.products_lines .item_body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0px; }

.products_lines .title { margin: 0 0 4px 0; font-size: 20px; font-weight: 600; }
.products_lines .title a { text-decoration: none; color: #000; }
.products_lines .title a:hover { text-decoration: underline; }

.products_lines .item_meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.products_lines .item_meta_left { font-size: 13px; }
.products_lines .stock { margin: 0; font-weight: 600; }
.products_lines .stock.is-yes { color: #0a8a2a; }
.products_lines .stock.is-no { color: #c00; }

.products_lines .item_meta_right { display: flex; align-items: center; gap: 12px; }
.products_lines .price { margin: 0; font-size: 20px; font-weight: 700; white-space: nowrap; }
.products_lines .price .currency { margin-left: 0px; font-weight: 400; font-size: 16px; }

/* FORM + QTY BOX */
.products_lines .produkt_form { display: flex; align-items: center; gap: 12px; }

.products_lines .qty_box { display: inline-flex; align-items: stretch; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; height: 42px; }

.products_lines .qty_btn { width: 32px; border: none; background: #fafafa; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.products_lines .qty_btn:hover { background: #f0f0f0; }

.products_lines .qty_input { width: 48px; border: none; border-left: 1px solid #ddd; border-right: 1px solid #ddd; text-align: center; font-size: 15px; padding: 0 4px; height: 100%; box-sizing: border-box; }
.products_lines .qty_input:focus { outline: none; }

/* schovat šipky jen u qty_input */
.products_lines .qty_input::-webkit-outer-spin-button,
.products_lines .qty_input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.products_lines .qty_input { -moz-appearance: textfield; }

/* TLAČÍTKO DO KOŠÍKU – stejná výška jako qty_box */
.products_lines .btn_buy { height: 42px; padding: 0 20px; border-radius: 4px; border: none; cursor: pointer; font-size: 16px; font-weight: 600; background: #0070c9; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.products_lines .btn_buy:hover { background: #005da3; }

.products_lines .item_extra { margin-top: 4px; font-size: 12px; color: #555; }
.products_lines .item_extra .code { margin: 0; }

.products_lines .btn_buy:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(100%); background-color: #ccc; color: #666; }

/* KOSIK ZAHLAVI */

/* KOSIK ZAHLAVI :: Overlay (ztmavení celé stránky) */

#cart_overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: saturate(120%) blur(1px); z-index: 800; display: block; }
#cart_overlay[hidden] { display: none; }

/* KOSIK ZAHLAVI :: Modal */

#cart_modal { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; }
#cart_modal[hidden] { display: none; }
#cart_modal .cart_modal_inner { background: #111; color: #fff; min-width: min(680px,92vw); max-width: 92vw; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); padding: 18px; }
#cart_modal h3 { margin: 0 0 10px; font-size: 18px; }

.cart_modal_table { width: 100%; border-collapse: collapse; background: #0c0c0c; border-radius: 10px; overflow: hidden; }
.cart_modal_table th, 
.cart_modal_table td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cart_modal_table thead th { font-weight: 600; text-align: left; background: #151515; }
.cart_modal_table td.right, 
.cart_modal_table th.right { text-align: right; }
.cart_modal_table .prod_cell { display: flex; align-items: center; gap: 10px; }
.cart_modal_table .prod_cell img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #222; }
.cart_modal_actions { margin-top: 12px; display: flex; justify-content: flex-end; gap: 10px; }
.btn { display: inline-block; padding: 10px 14px; border-radius: 10px; background: #0090be; color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; }

/* KOSIK ZAHLAVI :: Košík v hlavičce + popup */

#header_cart { position: relative; display: inline-block; overflow: visible; }
#header_cart .cart_link { display: flex; align-items: center; gap: 8px; text-decoration: none; }
#header_cart .cart_icon { font-size: 20px; line-height: 1; }
#header_cart .cart_badge_ { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #222; color: #fff; font-weight: 600; font-size: 12px; }

/* KOSIK ZAHLAVI :: „Most“ přes mezeru, aby neblikalo při přejezdu myší */

#header_cart::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }

/* KOSIK ZAHLAVI :: Popup – defaultně skrytý přes opacity/visibility/pointer-events */

#header_cart .cart_popup { position: absolute; right: 0; left: auto; top: calc(100% + 8px); min-width: 280px; max-width: 360px; background: #111; color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); padding: 14px; z-index: 1000; opacity: 0; transform: translateY(-6px); visibility: hidden; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s step-end; }

/* KOSIK ZAHLAVI :: Zviditelnění popupu při hoveru/focusu rodiče (bez JS) */

#header_cart:hover .cart_popup,
#header_cart:focus-within .cart_popup { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear; }

/* KOSIK ZAHLAVI :: Obsah popupu */

#header_cart .cart_mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#header_cart .cart_mini li { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 8px; align-items: center; }
#header_cart .cart_mini li .img img { width: 36px; height: 36px; object-fit: cover; border-radius: 6px; background: #222; display: block; }
#header_cart .cart_total_row { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed rgba(255, 255, 255, 0.2); padding-top: 10px; margin-top: 10px; }
#header_cart .cart_actions { margin-top: 10px; display: flex; justify-content: flex-end; }
#header_cart .btn { display: inline-block; padding: 8px 12px; border-radius: 10px; background: #0090be; color: #fff; text-decoration: none; font-weight: 600; }

/* KOSIK ZAHLAVI :: Pulz badge po přidání */

#header_cart.cart--pulse .cart_badge { animation: pulse 1s ease; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* KOSIK :: CART STEPS */

.cart-steps { width: 100%; box-sizing: border-box; padding: 30px 0; }
.cart-steps__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 60px; max-width: 85%; margin: 0 auto; }
.cart-steps__item { display: flex; align-items: center; gap: 12px; position: relative; opacity: 0.5; transition: opacity 0.3s ease; }
.cart-steps__item.is-active { opacity: 1; }
.cart-steps__circle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 600; font-size: 16px; flex: 0 0 40px; border: 2px solid; transition: all 0.3s ease; }
.cart-steps__label { font-size: 15px; font-weight: 500; white-space: nowrap; }
.cart-steps__item:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + 12px); top: 20px; width: 48px; height: 2px; transform: translateY(-50%); }

/* KOSIK :: LAYOUT */

.cart-layout { max-width: 85%; margin: 0 auto; padding: 20px 0 60px; box-sizing: border-box; display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }

/* KOSIK :: LEVY SLOUPEC */

.cart-layout .cart-left { display: flex; flex-direction: column; gap: 20px; }
.cart-layout .cart-heading { margin: 30px 0 12px 15px; font-size: 26px; font-weight: 600; }
.cart-layout .cart-table { width: 100%; border-collapse: collapse; }
.cart-layout .cart-table__head { border-bottom: 2px solid; }
.cart-layout .cart-row { display: grid; grid-template-columns: 70px 1fr 120px 140px 120px 50px; gap: 16px; align-items: center; padding: 16px 12px; border-bottom: 1px solid; }
.cart-layout .cart-row--head { padding: 12px 12px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.cart-layout .cart-col { display: flex; flex-direction: column; gap: 4px; }
.cart-layout .cart-col--img { justify-content: center; align-items: center; }
.cart-layout .cart-col--unit, .cart-col--sum { text-align: right; align-items: flex-end; }
.cart-layout .cart-col--qty { justify-content: center; }
.cart-layout .cart-col--rm { justify-content: center; align-items: center; }
.cart-layout .cart-img { display: block; border-radius: 6px; object-fit: cover; }
.cart-layout .cart-title { font-weight: 500; font-size: 15px; line-height: 1.3; }
.cart-layout .cart-meta { font-size: 12px; opacity: 0.7; }
.cart-layout .cart-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; font-size: 16px; opacity: 0.6; }

/* KOSIK :: QUANTITY */

.cart-layout .qty { display: flex; align-items: center; gap: 0; border: 1px solid; border-radius: 6px; overflow: hidden; width: fit-content; }
.cart-layout .qty__btn { width: 32px; height: 36px; border: none; cursor: pointer; font-size: 18px; font-weight: 600; transition: all 0.2s ease; display: grid; place-items: center; }
.cart-layout .qty__input { width: 50px; height: 36px; border: none; text-align: center; font-size: 14px; font-weight: 600; outline: none; -moz-appearance: textfield; }
.cart-layout .qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* KOSIK :: REMOVE BUTTON */

.cart-layout .cart-remove { width: 32px; height: 32px; border-radius: 50%; border: 1px solid; cursor: pointer; font-size: 24px; font-weight: 300; line-height: 1; transition: all 0.2s ease; display: grid; place-items: center; }

/* KOSIK :: PRAVÝ SLOUPEC */

.cart-layout .cart-right { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.cart-layout .cart-box { border-radius: 10px; padding: 20px; box-sizing: border-box; }
.cart-layout .cart-box__title { margin: 0 0 16px 0; font-size: 18px; font-weight: 600; }
.cart-layout .cart-free__text { margin-bottom: 12px; font-size: 14px; line-height: 1.5; }
.cart-layout .progress { width: 100%; height: 8px; border-radius: 999px; overflow: hidden; }
.cart-layout .progress__bar { height: 100%; border-radius: 999px; transition: width 0.4s ease; }

/* KOSIK :: TOTALS */

.cart-layout .totals { display: flex; flex-direction: column; gap: 10px; margin: 0; padding-top: 10px; }
.cart-layout .totals__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.cart-layout .totals__row dt { font-size: 14px; font-weight: 400; }
.cart-layout .totals__row dd { margin: 0; font-size: 15px; font-weight: 600; }

/* KOSIK :: COUPON */

.cart-layout .cart-box.cart-coupon { display: none; }
.cart-layout .coupon-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 500; user-select: none; }
.cart-layout .coupon-toggle__check { width: 18px; height: 18px; cursor: pointer; }
.cart-layout .coupon-panel { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.cart-layout .coupon-row { display: flex; gap: 8px; }
.cart-layout .coupon-input { flex: 1 1 auto; padding: 10px 12px; border: 1px solid; border-radius: 6px; outline: none; font-size: 14px; box-sizing: border-box; }
.cart-layout .coupon-apply { flex: 0 0 auto; padding: 10px 16px; border: none; border-radius: 6px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s ease; }
.cart-layout .coupon-hint { font-size: 12px; opacity: 0.7; }

/* KOSIK :: ACTIONS */

.cart-layout .cart-actions { display: flex; flex-direction: column; gap: 12px; }
.cart-layout .btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; text-align: center; transition: all 0.2s ease; border: none; cursor: pointer; }
.cart-layout .btn--link { background: transparent; padding: 10px 20px; }

/* KOSIK :: ACCESSIBILITY */

.cart-layout .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* KOSIK :: CHECKOUT */





/* ===========================
   CHECKOUT FORM – LAYOUT
   =========================== */
/* =========================== CHECKOUT FORM – LAYOUT =========================== */

#checkout_form { display: flex; flex-direction: column; gap: 24px; max-width: 100%; }

/* Box / fieldset */
#checkout_form .box { border: 3px solid; border-radius: 8px; padding: 20px 20px 22px 20px; margin: 0; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
#checkout_form .box legend { font-size: 17px; font-weight: 600; padding: 0 20px; margin: 0 0 6px 0;  }
#checkout_form .box legend + .form_line,
#checkout_form .box legend + p { margin-top: 10px; }
#checkout_form .box p { margin: 0; line-height: 1.5; }

/* Řádky formuláře – 2 sloupce */
#checkout_form .form_line { display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 1fr); gap: 16px; align-items: flex-start; width: 100%; box-sizing: border-box; }
#checkout_form .form_line label { font-size: 14px; font-weight: 500; display: block; padding-top: 8px; line-height: 1.4; }

/* Checkbox řádky přes celou šířku */
#checkout_form .form_line label.chk { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 400; padding-top: 0; user-select: none; }
#checkout_form .form_line label.chk input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; }
#checkout_form .form_line label.chk span { line-height: 1.4; }

/* Wrapy inputů */
#checkout_form .inputdiv { width: 100%; }
#checkout_form .inputdivokraj { position: relative; width: 100%; }

/* Inputs / selects / textarea */
#checkout_form .form_line input[type="text"],
#checkout_form .form_line input[type="email"],
#checkout_form .form_line input[type="tel"],
#checkout_form .form_line select,
#checkout_form .form_line textarea { width: 100%; padding: 10px 12px; border: 1px solid; border-radius: 6px; font-size: 15px; font-family: inherit; box-sizing: border-box; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
#checkout_form .form_line textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
#checkout_form .form_line select { cursor: pointer; appearance: none; background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 34px; }

/* Kratší pole */
#checkout_form input[name="bill_ico"],
#checkout_form input[name="bill_dic"],
#checkout_form input[name="bill_zip"],
#checkout_form input[name="bill_house_no"],
#checkout_form input[name="ship_zip"],
#checkout_form input[name="ship_house_no"] { max-width: 260px; }
#checkout_form select[name="bill_phone_prefix"] { max-width: 120px !important; flex: 0 0 120px !important; }
#checkout_form select[name="country_id"],
#checkout_form select[name="bill_country_id"] { max-width: 340px; }

/* Disabled */
#checkout_form .form_line input:disabled,
#checkout_form .form_line select:disabled,
#checkout_form .form_line textarea:disabled { cursor: not-allowed; }

/* Chybová hláška */
#checkout_form .field-error { font-size: 13px; margin-top: 4px; min-height: 18px; line-height: 1.4; }
#checkout_form .field-error:empty { display: none; }

/* Hidden bloky */
/* #checkout_form #ship_box[hidden],
#checkout_form #note_box[hidden] { display: none; } */

#checkout_form #ship_box[hidden],
#checkout_form #note_box[hidden],
#checkout_form #company_box[hidden] {
  display: none;
}

/* Firemní blok (Společnost / IČO / DIČ) */
#checkout_form #company_box {
  display: flex;
  flex-direction: column;
  gap: 16px;           /* stejné jako ostatní řádky ve fieldsetu */
  margin-top: 8px;     /* malý odstup pod checkboxem Nakupuji na firmu */
}

/* Ship box – doručovací adresa */
#checkout_form #ship_box { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; padding: 14px 14px 16px 14px; border-radius: 8px; margin-top: 8px; box-sizing: border-box; }

/* Note box – textarea přes šířku */
#checkout_form #note_box { grid-column: 1 / -1; }
#checkout_form #note_box .inputdiv { grid-column: 2; }

/* Flex pro prefix + telefon (inline hack) */
#checkout_form .inputdivokraj[style*="display:flex"] { display: flex !important; align-items: stretch; gap: 8px; }

/* Shipping & Payment boxy */
#checkout_form .box-shipping,
#checkout_form .box-payment { min-height: 80px; }

/* Radio label pro shipping/payment */
#checkout_form .form_line label.radio { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; box-sizing: border-box; width: 100%; }
#checkout_form .form_line label.radio input[type="radio"] { width: 20px; height: 20px; margin: 0; cursor: pointer; flex-shrink: 0; }
#checkout_form .form_line label.radio span { flex: 1; font-size: 15px; font-weight: 500; line-height: 1.3; }
#checkout_form .form_line label.radio strong { font-size: 15px; font-weight: 700; white-space: nowrap; margin-left: auto; float: none !important; }

#checkout_form .form_line label.radio.is-disabled { position: relative; cursor: not-allowed; opacity: 0.6; }
#checkout_form .form_line label.radio.is-disabled span,
#checkout_form .form_line label.radio.is-disabled strong { text-decoration: line-through; }

#checkout_form .box-shipping .form_line,
#checkout_form .box-payment .form_line {
  display: block !important;
  width: 100% !important;
}
#checkout_form .box-shipping .form_line label.radio,
#checkout_form .box-payment .form_line label.radio {
  width: 100% !important;
  display: flex !important;
}

/* Recap list (pravý sloupec – layout) */
.x_recap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.x_recap-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid; box-sizing: border-box; }
.x_recap-row:last-child { border-bottom: none; }
.x_recap-title { font-size: 14px; line-height: 1.3; }
.x_recap-qty { font-size: 13px; }
.x_recap-line { font-weight: 600; font-size: 14px; text-align: right; }

/* Recap list (pravý sloupec – layout) */
.recap-list { list-style: none; margin: 0; padding: 0px 0px; display: flex; flex-direction: column; gap: 4px; border-radius: 8px; box-sizing: border-box; }
.recap-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 15px; border-radius: 6px; box-sizing: border-box; }
.recap-title { font-size: 14px; line-height: 1.3; }
.recap-qty { font-size: 13px; font-weight: 600; }
.recap-line { font-weight: 700; font-size: 14px; text-align: right; }

/* Poznámka k podmínkám */
.terms-note { font-size: 13px; line-height: 1.5; padding: 10px 12px; border-radius: 6px; margin: 0; box-sizing: border-box; }

/* Flash */
.flash { padding: 24px 28px; border-radius: 0px; margin-bottom: 20px; font-size: 16px; line-height: 1.5; display: none; box-sizing: border-box;  }
.flash:not(:empty) { display: block; }

/* Option list (alternativní výpis voleb) */
#checkout_form .option-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; width: 100%; }
#checkout_form .option-item { display: grid; grid-template-columns: 20px 1fr auto; gap: 16px; align-items: start; padding: 14px 16px; border: 2px solid; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; width: 100%; box-sizing: border-box; }
#checkout_form .option-item input[type="radio"] { width: 20px; height: 20px; margin: 2px 0 0 0; cursor: pointer; flex-shrink: 0; }
#checkout_form .option-content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#checkout_form .option-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
#checkout_form .option-desc { font-size: 13px; line-height: 1.4; }
#checkout_form .option-price { font-weight: 700; font-size: 15px; white-space: nowrap; justify-self: end; }

.ship-desc { font-size: 13px; color: #666; display: block; margin-top: 2px; }

/* Vnitřní layout radio boxu pro dopravu */
#checkout_form .form_line label.radio {
  display: flex;
  align-items: flex-start; /* aby se to zarovnalo na horní okraj */
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

#checkout_form .form_line label.radio input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0 0;
  cursor: pointer;
  flex-shrink: 0;
}

/* blok: title + description pod sebou */
#checkout_form .form_line label.radio .radio-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#checkout_form .form_line label.radio .radio-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

/* popis dopravy – pod nadpisem, menší */
#checkout_form .form_line label.radio .ship-desc {
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

/* cena vpravo */
#checkout_form .form_line label.radio strong {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  margin-left: auto;
  float: none !important;
}

#checkout_form .form_line label.radio strong {
  min-width: 100px;     /* minimální šířka pro pohodlí */
  text-align: right;
  margin-left: 20px;    /* odlepení od textu */
}
