/* 

// Created :: 2025-02-23
// Updated :: 2025-10-30
// Unified light design for forms and cart

*/

/* BODY */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { }

/* OBECNÉ PRVKY */

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

/* RESPO PRIPRAVA */

#menu_burger_btn { display: none; }

/* LAYOUT */

#content { padding: 0; }
#content_obsah.system { margin: 0 auto; max-width: 60%; padding: 80px 0; }

#content .profil_container { max-width: 90%; margin: 0 auto; padding: 40px 0; }

/* OBECNÉ */

.breaker { clear: both; border: 0; }
.respobr { display: none; border: 0; }

/* ERRORS */

div.error_box, div.success_box, div.info_box, div.warning_box, div#js_flash { 
    padding: 16px 20px; 
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid;
    max-width: 90%; padding: 30px; box-sizing: border-box; margin-left: auto; margin-right: auto;
}
div.error_box ul,
div.success_box ul,
div.info_box ul,
div.warning_box ul,
div#js_flash ul {
  list-style-type: none !important;
  margin-left: 0;
  padding-left: 0;
}
div.error_box li,
div.success_box li,
div.info_box li,
div.warning_box li,
div#js_flash li {
  line-height: 135%;
}
div.error_box .html-error { line-height: 135% }
div.error_box .html-error p { margin-bottom: 8px; }
div.error_box .html-error p:last-child { margin-bottom: 0px; }
div#js_flash { display: none; max-width: 90%; padding: 30px; box-sizing: border-box; margin-left: auto; margin-right: auto; }

div.error_box .payment-error {  }
div.error_box .payment-error { line-height: 135% }
div.error_box .payment-error p { margin-bottom: 8px; }
div.error_box .payment-error p:last-child { margin-bottom: 0px; }

div.error_box .payment-error p.buttons {
  display: flex;
  gap: 10px;
  justify-content: left;
  margin-top: 12px;
}

div.error_box .payment-error p.buttons a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* 1) hlavní tlačítko – zopakovat platbu */
div.error_box .payment-error p.buttons a:first-child {
  background-color: #d32f2f;   /* červená */
  color: #fff;
}
div.error_box .payment-error p.buttons a:first-child:hover {
  background-color: #b71c1c;
}

/* 2) sekundární tlačítko – zpět do obchodu */
div.error_box .payment-error p.buttons a:last-child {
  background-color: #fff;
  color: #b71c1c;
  border: 1px solid #b71c1c;
}
div.error_box .payment-error p.buttons a:last-child:hover {
  background-color: #fbe9e7;
}

/* NADPISY */

h1 { padding: 0; }

/* ZAHLAVI */

#header_zahlavi { padding-bottom: 40px; }

#zahlavi_top { display: flex; align-items: center; gap: 16px; max-width: 80%; margin: 0 auto; padding: 30px 0; }

#box_kontakty { display: flex; align-items: center; }
#box_kontakty ul { margin: 0; padding: 0; list-style: none; }
#box_kontakty li.email { position: relative; transition: color 0.3s ease; }
#box_kontakty li.email a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; transition: width 0.3s ease; }
#box_kontakty li.email a:hover::after { width: 100%; }

#actions_right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

#lang_switch { display: flex; align-items: center; gap: 8px; }
#lang_switch .lang { display: inline-block; padding: 6px 12px; border-radius: 16px; text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }

#currency_switch { display: flex; align-items: center; gap: 8px; margin-right: 25px; }
#currency_switch .cur { display: inline-block; padding: 6px 12px; border-radius: 16px; text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }

#cart { margin-left: 20px; display: flex; align-items: center; position: relative; display: inline-block; overflow: visible; }
#cart a { display: flex; align-items: center; justify-content: center; border-radius: 30px; text-decoration: none;
    padding: 6px 14px; position: relative; transition: all 0.2s ease-in-out; }
#cart svg { width: 22px; height: 22px; }
#cart .cart_count { position: absolute; top: -6px; right: -6px; border-radius: 50%; padding: 2px 6px; line-height: 1; font-size: 11px; font-weight: 600; }

/* MINI KOŠÍK - Světlé pozadí */

#cart { position: relative; display: inline-block; overflow: visible; }
#cart::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
#cart .cart_popup {
    position: absolute; right: 0; top: calc(100% + 10px);
    min-width: 280px; max-width: 360px;
    background: #fff;
    color: #2c3e50;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    padding: 16px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s step-end;
    line-height: 1.4;
}
#cart:hover .cart_popup,
#cart:focus-within .cart_popup {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear;
}

/* jednotlivé produkty */
#cart .cart_mini { list-style: none; margin: 0 0 10px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#cart .cart_mini li { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 8px; align-items: center; }
#cart .cart_mini .t { font-size: 13px; color: #2c3e50; }
#cart .cart_mini .q { font-size: 13px; color: #7f8c8d; }
#cart .cart_mini .p { font-size: 13px; font-weight: 600; color: #2c3e50; }

/* mezery okolo celkové částky a tlačítka */
#cart .cart_total_row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e5e5e5; padding-top: 8px; margin-top: 8px; margin-bottom: 8px; }
#cart .cart_total_row span { color: #5a6c7d; font-size: 14px; }
#cart .cart_total_row strong { color: #2c3e50; font-size: 16px; }
#cart .cart_actions { margin-top: 8px; display: flex; justify-content: flex-end; }

#cart .cart_actions .btn { display: inline-block; padding: 10px 16px; border-radius: 8px; background: #4CAF50; color: #fff; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
#cart .cart_actions .btn:hover { background: #45a049; }

#cart .cart_empty { text-align: center; padding: 20px; color: #7f8c8d; font-size: 14px; }

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

/* MENU */

#zahlavi { padding: 20px 40px; box-sizing: border-box; margin: 0 auto; max-width: 95%; border-radius: 200px; }
#zahlavi > .in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#zahlavi .logo { flex-shrink: 0; }
#zahlavi .logo img { display: block; max-width: 220px; height: auto; border: 0; }
#zahlavi nav { display: flex; align-items: center; margin-left: auto; }
#zahlavi #menu { display: flex; align-items: center; justify-content: flex-end; }
#zahlavi #menu ul { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
#zahlavi #menu ul li { display: block; }
#zahlavi #menu ul li a { position: relative; display: inline-block; padding: 4px 0; text-decoration: none; transition: color 0.3s ease; }
#zahlavi #menu ul li a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; transition: width 0.3s ease; }
#zahlavi #menu ul li a:hover::after { width: 100%; }
#zahlavi #menu ul li.active a::after { width: 100%; }
#zahlavi .breaker { display: none; }

/* MENU :: BURGER */

.nav_toggle { display: none; border: 0; padding: 8px; cursor: pointer; }
.nav_toggle_box { display: inline-block; }
.nav_toggle_bar { display: block; width: 24px; height: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav_toggle[aria-expanded="true"] .nav_toggle_bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav_toggle[aria-expanded="true"] .nav_toggle_bar:nth-child(2) { opacity: 0; }
.nav_toggle[aria-expanded="true"] .nav_toggle_bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav_drawer { position: fixed; inset: 0; z-index: 999; }
.nav_drawer[hidden] { display: none !important; }
.nav_drawer_inner { position: absolute; right: 0; top: 0; bottom: 0; width: min(86vw, 420px); padding: 18px 22px 40px; 
    box-shadow: -8px 0 24px rgba(0,0,0,.2); overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
.nav_drawer.open .nav_drawer_inner { transform: translateX(0); }

.nav_close { border: 0; line-height: 1; position: absolute; right: 12px; top: 8px; cursor: pointer; font-size: 32px; }

.menu_all { list-style: none; margin: 60px 0 0; padding: 0; }
.menu_all li a { display: block; padding: 14px 6px; text-decoration: none; }

body.no_scroll { overflow: hidden; }

/* GALERIE */

.galerie_mini { gap: 0; 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; }

/* CONTAINERS DETAILY */

header.uvod { }
header.uvod .header_obsah { margin: 0 auto; max-width: 80%; padding: 10px 0 57px 0; }

/* PRVKY */

.obsah_uvod { margin: 0 auto; max-width: 60%; padding: 80px 0; }
.produkt_uvod { margin: 0 auto; max-width: 60%; padding: 50px 0 30px 0; }

/* TINYMCE */

.tinymce { }
.tinymce>h2:first-child { padding-top: 0; }
.tinymce>h3 { padding-top: 0; }
.tinymce h2 { padding-bottom: 8px; padding-top: 10px; }
.tinymce h3 { padding-bottom: 5px; padding-top: 10px; }
.tinymce p { padding-bottom: 0; }
.tinymce a { text-decoration: none; }
.tinymce a:hover { text-decoration: underline; }

.tinymce hr { border: 0; clear: both; }

.tinymce img.doleva { float: left; padding: 3px 10px 10px 0; }
.tinymce img.doprava { float: right; padding: 3px 0 10px 10px; }

.tinymce div.imgNaStred { text-align: center; margin-bottom: 10px; }
.tinymce div.imgNaStred img { display: inline-block; vertical-align: middle; }
.tinymce div.imgDoleva { text-align: left; }
.tinymce div.imgDoprava { text-align: right; }

.tinymce div.zvyrazneni { padding: 20px; box-sizing: border-box; text-align: center; }

.tinymce table { width: 100%; border-spacing: 0; border-collapse: separate; }
.tinymce table td { vertical-align: top; padding: 10px; }

.tinymce ul { margin-left: 0; margin-bottom: 20px; padding-left: 0; list-style: none; }
.tinymce ul:last-child { margin-bottom: 0; }
.tinymce ul li { padding-bottom: 14px; display: flex; align-items: flex-start; }
.tinymce ul li::before { content: "✓"; margin-right: 10px; flex-shrink: 0; font-weight: bold; }
.tinymce ul li span { display: block; }

/* PATICKA */

#paticka { padding: 85px 0; }
#paticka .paticka_obsah { max-width: 80%; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }

#paticka .column { flex: 1 1 200px; box-sizing: border-box; }
#paticka .column_popisek { flex: 2 1 400px; padding-right: 20px; }

#paticka .column_popisek img.logo { border: 0; max-width: 250px; margin-bottom: 20px; }
#paticka .column_popisek p { margin-bottom: 20px; }
#paticka .column_popisek ul { list-style: none; margin: 0 0 16px 0; padding: 0; }
#paticka .column_popisek li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
#paticka .column_popisek i { flex: 0 0 22px; text-align: center; margin: 4px 0 0; }
#paticka .column_popisek ul.socials { display: flex; gap: 12px; margin-top: 18px; }
#paticka .column_popisek ul.socials li { margin: 0; }
#paticka .column_popisek ul.socials a { display: inline-flex; line-height: 1; }

#paticka .column h4 { margin-top: 30px; margin-bottom: 30px; }

#paticka .column_menu li { margin-bottom: 10px; }
#paticka .column_menu ul li a { position: relative; display: inline-block; padding: 4px 0; text-decoration: none; transition: color 0.3s ease; }
#paticka .column_menu ul li a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; transition: width 0.3s ease; }
#paticka .column_menu ul li a:hover::after { width: 100%; }
#paticka .column_menu ul li.active a::after { width: 100%; }

/* COPYRIGHT */

#copyright { padding: 30px 20px; box-sizing: border-box; text-align: center; }
#copyright span:not(:first-child)::before { content: " • "; }

/* FORM - Sjednocený design */

#form_control_point { display: none; }

fieldset.standard { 
    display: block; 
    width: 100%; 
    max-width: 720px; 
    margin: 40px auto; 
    padding: 32px; 
    border-radius: 12px; 
    box-sizing: border-box; 
    border: none;
}
fieldset.standard legend { padding: 0 8px; font-weight: 600; margin-bottom: 16px; font-size: 18px; }
fieldset.standard .column { max-width: 600px; margin: 0 auto; }
fieldset.standard .form_line { display: block; margin: 20px 0; }
fieldset.standard .form_line.space_bottom { margin-bottom: 28px; }
fieldset.standard label { display: block; margin: 0 0 8px 2px; font-weight: 500; font-size: 14px; }
fieldset.standard .inputdiv { display: block; }
fieldset.standard .inputdivokraj { display: block; }
fieldset.standard .inputdivokraj input { 
    display: block; 
    width: 100%; 
    height: 46px; 
    padding: 12px 16px; 
    border-radius: 8px; 
    outline: none; 
    box-sizing: border-box;
    border: 1px solid #ddd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

fieldset.standard .inputdivokraj input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.btn_form { 
    padding: 15px 32px; 
    box-sizing: border-box; 
    border-radius: 8px; 
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn_form:active { transform: translateY(1px); }

fieldset .field-error { padding: 4px 2px 2px 15px; }
fieldset .field-error { color: red;  }

/* PROFIL */

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

#column_left_profil { padding: 40px 25px 20px 25px; box-sizing: border-box; border-radius: 12px; }
#column_left_profil ul { list-style: none; margin: 0; padding: 0; }
#column_left_profil li { margin-bottom: 18px; }
#column_left_profil .space_bottom { padding-bottom: 30px; }
#column_left_profil .label { margin-bottom: 10px; display: block; }
#column_left_profil .user { margin-bottom: 5px; }
#column_left_profil .menu_item a { display: block; padding: 10px 0; text-decoration: none; transition: color 0.3s ease, transform 0.2s ease; }
#column_left_profil .menu_item a:hover { transform: translateX(4px); }

/* HP :: Boxies */

#box_header_1 { padding: 60px 0 40px 0; }
#box_header_1 .container { margin: 0 auto; max-width: 80%; padding: 0 0 70px 0; }
#box_header_1 .containerl { max-width: 40%; float: left; }
#box_header_1 .containerr { max-width: 45%; float: right; margin-right: 5%; }
#box_header_1 img.respo { display: none; }
#box_header_1 ul li:first-child { padding-bottom: 15px; }
#box_header_1 ul li i { padding-right: 8px; }
#box_header_1 ul li:nth-child(2){ margin-bottom: 40px; } 
#box_header_1 p { padding-left: 15px; margin-bottom: 60px; }
#box_header_1 .btn { display: inline; }
#box_header_1 .btn a { padding: 15px 25px; box-sizing: border-box; border-radius: 8px; text-decoration: none; transition: background-color 0.25s ease, box-shadow 0.25s ease; }

#header_icons { padding: 50px 0 0 0; margin: 0 auto; max-width: 95%; }
#header_icons .container { display: flex; justify-content: space-between; }
#header_icons .box { flex: 1; padding: 0 10px 60px 10px; text-align: center; box-sizing: border-box; }
#header_icons i { padding: 10px 10px 30px 0; box-sizing: border-box; display: block; }
#header_icons .box i { visibility: visible; }

#box_header_2 { padding: 70px 50px 60px 50px; margin: 0 auto; max-width: 80%; }
#box_header_2 .containerl { max-width: 40%; float: left; }
#box_header_2 .containerr { max-width: 45%; float: right; padding-top: 60px; }
#box_header_2 ul li { list-style-type: none; }
#box_header_2 ul.labels li:first-child { padding-bottom: 15px; } 
#box_header_2 ul.labels li i { padding-right: 8px; }
#box_header_2 ul.labels li:nth-child(2){ margin-bottom: 20px; } 
#box_header_2 p { padding-left: 0; margin-bottom: 20px; }
#box_header_2 ul.checkbox { padding-left: 0; }
#box_header_2 ul.checkbox li { margin-bottom: 12px; display: flex; align-items: flex-start; }
#box_header_2 ul.checkbox li i { margin-right: 8px; flex-shrink: 0; }
#box_header_2 ul.checkbox li span { display: block; }

/* PRODUKTY :: VYPIS */

.next_products { display: flex; flex-direction: column; gap: 16px; max-width: 80%; margin: 0 auto 80px auto; }
.next_products .vypis_box.products { display: grid; grid-template-columns: 200px 1fr auto; gap: 46px; align-items: center; padding: 26px 16px; border-radius: 12px; transition: box-shadow .2s ease, transform .2s ease; position: relative; }
.next_products .vypis_box.products:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
.next_products .vypis_box.products .thumb { width: 100%; flex-shrink: 0; box-sizing: border-box; }
.next_products .vypis_box.products .thumb img { width: 100%; height: auto; display: block; border-radius: 10px; object-fit: contain; }
.next_products .vypis_box.products > img { grid-column: 1; width: 100%; height: auto; display: block; border-radius: 10px; object-fit: contain; }
.next_products .vypis_box.products .info h2 { margin: 0 0 6px 0; }
.next_products .vypis_box.products .info h2 a { text-decoration: none; }
.next_products .vypis_box.products .info .perex { margin: 0; }
.next_products .vypis_box.products .actions { min-width: 140px; display: flex; justify-content: flex-end; }
.next_products .vypis_box.products .btn_detail { display: inline-block; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.next_products .vypis_box.products .admin_box { position: absolute; top: 8px; right: 10px; pointer-events: auto; }

/* PRODUKT :: DETAIL */

.produkt.pd { max-width: 80%; margin: 80px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: start; position: relative; }

.produkt.pd .prod_left { display: flex; flex-direction: column; gap: 16px; }

.produkt.pd .prod_main_img { display: block; border-radius: 12px; overflow: hidden; }
.produkt.pd .prod_main_img img { width: 100%; height: auto; display: block; }

.produkt.pd .prod_gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.produkt.pd .prod_gal_item { display: block; border-radius: 10px; overflow: hidden; }
.produkt.pd .prod_gal_item img { width: 100%; height: auto; display: block; }

.produkt.pd .prod_right { display: grid; gap: 0; align-content: start; }
.produkt.pd .prod_right .prod_section { padding: 16px 0; }
.produkt.pd .prod_right .prod_section:first-child { padding-top: 0; }
.produkt.pd .prod_right .prod_section:last-child { border-bottom: 0; }

.produkt.pd .prod_perex { margin: 0; }

.produkt.pd .prod_price { padding: 20px; box-sizing: border-box; border-top-left-radius: 12px; border-top-right-radius: 12px; }

.produkt.pd .prod_info_box { display: grid; gap: 6px; padding: 0 20px; box-sizing: border-box; }
.produkt.pd .prod_info_box .line .label { margin-right: 6px; }

.produkt.pd .prod_buy { display: grid; gap: 10px; align-content: start; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.produkt.pd .prod_buy .prod_buy_row { display: flex; align-items: flex-end; justify-content: flex-start; gap: 8px; padding: 20px; box-sizing: border-box; }
.produkt.pd .prod_buy .qty_block { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.produkt.pd .prod_buy .buy_block { display: flex; align-items: flex-end; }

.produkt.pd .qty_label { margin-bottom: 4px; }
.produkt.pd .qty_control { display: flex; align-items: stretch; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; height: 44px; padding: 0; box-sizing: border-box; width: 150px; }
.produkt.pd .btn_qty { width: 42px; flex: 0 0 42px; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; margin: 0; }
.produkt.pd .btn_qty.minus { border-right: 1px solid #e5e7eb; }
.produkt.pd .btn_qty.plus { border-left: 1px solid #e5e7eb; }

.produkt.pd .qty_input { flex: 0 0 66px; width: 66px; text-align: center; border: 0; outline: 0; height: 100%; margin: 0; padding: 0; box-sizing: border-box; }
.produkt.pd .qty_input::-webkit-outer-spin-button, .produkt.pd .qty_input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.produkt.pd .qty_input[type=number] { -moz-appearance: textfield; }

.produkt.pd .btn_buy { height: 44px; padding: 0 28px; border-radius: 12px; border: 1px solid transparent; white-space: nowrap; min-width: 180px; cursor: pointer; }

.produkt.pd .admin_box { position: absolute; top: 8px; right: 10px; }

.produkt.pd .prod_long { max-width: 60%; margin: 28px auto 90px auto; }

.produkt.pd .prod_variants .variants_head { margin-bottom: 6px; }
.produkt.pd .prod_variants .variants_list { display: grid; gap: 8px; }
.produkt.pd .prod_variants .variant_item { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #eee; cursor: pointer; }
.produkt.pd .prod_variants .variant_item:last-child { border-bottom: 0; }
.produkt.pd .prod_variants .variant_item input[type="radio"] { width: 16px; height: 16px; margin: 0; }
.produkt.pd .prod_variants .variant_item .v_price { white-space: nowrap; text-align: right; }
.produkt.pd .prod_variants .variant_item .v_avail { white-space: nowrap; text-align: right; }

/* PRODUKT :: WIDGET */

.produkt.pd #widget_kupon { border-radius: 12px; padding: 18px 16px; margin: 16px 0 0 0; }
.produkt.pd #widget_kupon .wk_head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.produkt.pd #widget_kupon .wk_head_right { display: flex; align-items: baseline; gap: 10px; }
.produkt.pd #widget_kupon .wk_body { margin-top: 6px; padding-top: 8px; border-top: 1px dashed; }
.produkt.pd #widget_kupon .wk_timer { display: grid; grid-template-columns: repeat(3, minmax(60px, 1fr)); gap: 8px; text-align: center; }
.produkt.pd #widget_kupon .wk_tcol { padding: 6px 4px; }

/* KOŠÍK :: MODAL - Světlé pozadí */

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

#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: #fff; 
    color: #2c3e50; 
    min-width: min(680px,92vw); 
    max-width: 92vw; 
    border-radius: 12px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.25); 
    padding: 24px; 
}
#cart_modal h3 { margin: 0 0 16px; font-size: 20px; color: #2c3e50; }
.cart_modal_table { width: 100%; border-collapse: collapse; background: #faf9f7; border-radius: 8px; overflow: hidden; }
.cart_modal_table th, 
.cart_modal_table td { padding: 12px; border-bottom: 1px solid #e5e5e5; color: #2c3e50; }
.cart_modal_table thead th { font-weight: 600; text-align: left; background: #f0f0f0; }
.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: #fff; border: 1px solid #e5e5e5; }
.cart_modal_actions { margin-top: 16px; display: flex; justify-content: flex-end; gap: 10px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 8px; background: #4CAF50; color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; transition: all 0.3s ease; }
.btn:hover { background: #45a049; }
.btn--ghost { background: transparent; border: 1px solid #ddd; color: #5a6c7d; }
.btn--ghost:hover { background: #f5f5f5; }

/* ============================================
   CART STEPS - Moderní kroky s kruhy
   ============================================ */

.cart-steps { margin: 40px 0; }
.cart-steps__list { 
    list-style: none; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 0; 
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cart-steps__item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    position: relative; 
    flex: 1;
}

/* Spojovací čára mezi kroky */
.cart-steps__item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e5e5e5;
    z-index: -1;
}

.cart-steps__item.is-active::after {
    background: linear-gradient(to right, #4CAF50 50%, #e5e5e5 50%);
}

.cart-steps__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #e5e5e5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-steps__item.is-active .cart-steps__circle {
    background-color: #4CAF50;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.cart-steps__label {
    font-size: 14px;
    color: #7f8c8d;
    text-align: center;
    font-weight: 500;
}

.cart-steps__item.is-active .cart-steps__label {
    color: #2c3e50;
    font-weight: 600;
}

/* ============================================
   CART LAYOUT - Dvousloupcový
   ============================================ */

.cart-layout { 
    display: grid; 
    grid-template-columns: 1fr 380px; 
    gap: 30px; 
    align-items: start; 
    max-width: 95%; 
    margin: 30px auto; 
}
.cart-layout .cart-left { min-width: 0; }
.cart-layout .cart-right { position: sticky; top: 20px; }

.cart-heading { 
    margin: 8px 0 20px; 
    font-size: 24px; 
    font-weight: 600; 
    color: #2c3e50;
}

/* ============================================
   CART TABLE - Bez borderu, vzdušný
   ============================================ */

.cart-table { width: 100%; }
.cart-table__head { margin-bottom: 12px; }

.cart-row { 
    display: grid; 
    grid-template-columns: 80px 1fr 120px 140px 120px 40px; 
    align-items: center; 
    gap: 16px; 
    padding: 20px 0; 
    border-bottom: 1px solid #f0f0f0; 
}

.cart-row--head { 
    padding: 12px 0; 
    border-bottom: 2px solid #e5e5e5; 
}

.cart-col { display: flex; align-items: center; }
.cart-col--img { justify-content: center; }
.cart-col--title { flex-direction: column; align-items: flex-start; }
.cart-col--unit, .cart-col--sum { justify-content: flex-end; }
.cart-col--qty { justify-content: center; }
.cart-col--rm { justify-content: center; }

.cart-row--head .cart-col { 
    font-weight: 600; 
    font-size: 12px; 
    color: #5a6c7d; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.cart-img { 
    width: 72px; 
    height: 72px; 
    object-fit: cover; 
    border-radius: 8px; 
    border: 1px solid #e5e5e5; 
}

.cart-title { font-weight: 600; color: #2c3e50; margin-bottom: 4px; }
.cart-meta { font-size: 12px; color: #7f8c8d; }
.cart-empty { 
    grid-column: 1 / -1; 
    text-align: center; 
    padding: 40px; 
    color: #7f8c8d; 
    font-size: 16px; 
}

/* ============================================
   QUANTITY - Kulaté buttony
   ============================================ */

.qty { display: inline-flex; align-items: center; gap: 8px; }

.qty__btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    color: #5a6c7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 0;
}

.qty__btn:hover {
    border-color: #4CAF50;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.qty__input {
    width: 50px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
}

.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input { -moz-appearance: textfield; }

/* ============================================
   REMOVE - Minimalistický křížek
   ============================================ */

.cart-remove {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #bbb;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-remove:hover {
    color: #e74c3c;
    transform: scale(1.2);
}

/* ============================================
   RIGHT SIDEBAR - Boxy s béžovým pozadím
   ============================================ */

.cart-box {
    background-color: #faf9f7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e5e5e5;
}

.cart-box__title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

/* ============================================
   FREE SHIPPING
   ============================================ */

.cart-free {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.cart-free__text {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.5;
}

.progress {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* ============================================
   TOTALS
   ============================================ */

.totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.totals__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
}

.totals__row dt {
    color: #5a6c7d;
    font-size: 14px;
}

.totals__row dd {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
}

.totals__row--discount {
    color: #4CAF50;
}

.totals__row--discount dt,
.totals__row--discount dd {
    color: #4CAF50;
}

.totals__row--after {
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
}

/* ============================================
   COUPON
   ============================================ */

.coupon-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #5a6c7d;
}

.coupon-toggle__check {
    width: 18px !important;
    height: 18px !important;
}

.coupon-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

.coupon-row {
    display: flex;
    gap: 8px;
}

.coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.coupon-apply {
    padding: 10px 20px;
    background-color: #5a6c7d;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.coupon-apply:hover {
    background-color: #4a5c6d;
}

.coupon-hint {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 8px;
}

.coupon-applied {
    padding: 12px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.coupon-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.coupon-line .code {
    font-weight: 600;
    color: #4CAF50;
    font-family: monospace;
}

.coupon-remove {
    margin-left: auto;
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    text-decoration: underline;
    font-size: 13px;
}

.coupon-note {
    font-size: 13px;
    color: #5a6c7d;
}

/* ============================================
   BUTTONS - Větší zelená tlačítka
   ============================================ */

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn--primary {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn--primary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.btn--secondary {
    background-color: #5a6c7d;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn--secondary:hover {
    background-color: #4a5c6d;
}

.btn--link {
    background-color: transparent;
    color: #5a6c7d;
    padding: 12px 16px;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn--link:hover {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.05);
}

/* ============================================
   CHECKOUT FORMS - Béžové inputy s labely vlevo
   ============================================ */

.box {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 20px;
    border: 1px solid #e5e5e5;
}

.box legend {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    padding: 0 12px;
    margin-bottom: 24px;
}

/* Layout pro osobní údaje a fakturační údaje - label vlevo */
.box-person .form_line,
.box-billing .form_line,
.box-country .form_line {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 16px;
    align-items: center;
    max-width: 700px;
}

.box-person .form_line > label,
.box-billing .form_line > label,
.box-country .form_line > label {
    margin-bottom: 0;
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
    text-align: left;
}

/* Checkbox má normální layout (label nemusí být vlevo) */
.box-person .form_line:has(.chk),
.box-billing .form_line:has(.chk) {
    display: block;
    max-width: 700px;
}

.box .form_line {
    margin-bottom: 20px;
}

.box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 14px;
}

.box input[type="text"],
.box input[type="email"],
.box input[type="tel"],
.box select,
.box textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    background-color: #faf9f7;
    color: #2c3e50;
    transition: all 0.2s ease;
}

.box input:focus,
.box select:focus,
.box textarea:focus {
    outline: none;
    border-color: #4CAF50;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.box select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="gray"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.box .chk {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.box .chk input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

#ship_box,
#note_box {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

/* Doprava a Platba - radio buttony s lepším spacingem */
.box-shipping .form_line,
.box-payment .form_line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.box-shipping .form_line:last-child,
.box-payment .form_line:last-child {
    border-bottom: none;
}

.box-shipping .form_line label,
.box-payment .form_line label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

.box-shipping .form_line input[type="radio"],
.box-payment .form_line input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.box-shipping .form_line .price,
.box-payment .form_line .price {
    font-weight: 600;
    white-space: nowrap;
    margin-left: 16px;
    color: #2c3e50;
}

/* Sekce Další možnosti - normální layout */
.box-more .form_line {
    max-width: 700px;
}

/* ============================================
   ORDER RECAP
   ============================================ */

.recap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recap-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
}

.recap-row:last-child {
    border-bottom: none;
}

.recap-title {
    color: #2c3e50;
}

.recap-qty {
    color: #7f8c8d;
    font-size: 13px;
}

.recap-line {
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.order-summary {
    max-width: 100%;
    margin: 40px auto;
    padding: 0px;
}

.order-head-table,
.order-items {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

div.container-payment { padding-top: 20px; }
div.container-payment a { margin: 0px auto;  }

.order-head-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.order-head-table .label {
    font-weight: 600;
    color: #5a6c7d;
    width: 150px;
}

.order-head-table .value {
    color: #2c3e50;
}

.order-items {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.order-items thead {
    background-color: #f8f9fa;
}

.order-items th {
    padding: 14px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e5e5e5;
}

.order-items th.right {
    text-align: right;
}

.order-items td {
    padding: 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #5a6c7d;
}

.order-items td.right {
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
}

.order-totals {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.totals-table {
    width: 400px;
}

.totals-table td {
    padding: 10px;
}

.totals-table .label {
    text-align: right;
    color: #5a6c7d;
}

.totals-table .value {
    text-align: right;
    font-weight: 600;
    color: #2c3e50;
}

.totals-table .row-discount .label,
.totals-table .row-discount .value {
    color: #4CAF50;
}

.totals-table .row-grand {
    border-top: 2px solid #e5e5e5;
    padding-top: 16px;
}

.totals-table .row-grand .label,
.totals-table .row-grand .value {
    font-size: 18px;
    color: #2c3e50;
}

.confirmation-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #e8f5e9;
    border-radius: 8px;
    text-align: center;
    color: #2c3e50;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */

.flash {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid;
}

.flash--error {
    background-color: #fee;
    border-left-color: #e74c3c;
    color: #c0392b;
}

.flash--success {
    background-color: #efe;
    border-left-color: #4CAF50;
    color: #27ae60;
}

.flash--warning {
    background-color: #fff3cd;
    border-left-color: #f39c12;
    color: #d68910;
}

.flash--info {
    background-color: #e3f2fd;
    border-left-color: #3498db;
    color: #2980b9;
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* ============================================
   packeta
   ============================================ */

/* ===== Packeta modal facelift ===== */
.packeta-modal{position:fixed;inset:0;z-index:9999}
.packeta-overlay{position:absolute;inset:0;background:rgba(0,0,0,.45);backdrop-filter:saturate(110%) blur(2px)}
.packeta-dialog{
  position:relative; margin:5vh auto 0; width:min(92vw, 820px);
  background:#fff; border-radius:16px; box-shadow:0 20px 60px rgba(0,0,0,.2);
  display:flex; flex-direction:column; overflow:hidden;
}
.packeta-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eee}
.packeta-head strong{font-size:18px}
.packeta-close{
  appearance:none; background:transparent; border:0; cursor:pointer;
  width:40px; height:40px; border-radius:999px; font-size:20px; line-height:40px; text-align:center;
}
.packeta-close:hover{background:#f3f4f6}
.packeta-search{padding:12px 18px; border-bottom:1px solid #f3f4f6}
.packeta-search input{
  display:block; width:100%; padding:12px 14px; font-size:16px;
  border:1px solid #e5e7eb; border-radius:10px; outline:0;
}
.packeta-search input:focus{border-color:#94a3b8; box-shadow:0 0 0 3px rgba(100,116,139,.15)}
.packeta-list{padding:14px 18px; max-height:60vh; overflow:auto; position:relative}
.packeta-item{
  border:1px solid #eee; border-radius:12px; padding:12px 14px; margin-bottom:12px;
  transition:transform .06s ease, box-shadow .06s ease; cursor:pointer;
}
.packeta-item:hover{transform:translateY(-1px); box-shadow:0 6px 18px rgba(0,0,0,.06)}
.packeta-type{font-size:12px; color:#64748b; text-transform:uppercase; letter-spacing:.04em}
.packeta-name{margin-top:6px; font-size:16px}
.packeta-addr{margin-top:4px; color:#475569}

/* jemné potlačení blikání seznamu při update */
.packeta-list.is-updating{opacity:.6; transition:opacity .12s}