/*!
Theme Name: Kadence
Theme URI: https://www.kadencewp.com/kadence-theme/
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Version: 1.2.19
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence
Requires at least: 6.3
Tested up to: 6.7.2
Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/
/****************************************** 
responzivni inner-wrap  
******************************************/
#inner-wrap {
   margin:0px auto;
  }

@media (min-width: 768px) {
  #inner-wrap {
    width: 742px;
    margin-top:20px;
  }
}

@media (min-width: 992px) {
  #inner-wrap {
    width: 972px;
    margin-top:0px;
  }
}

@media (min-width: 1200px) {
  #inner-wrap {
    width: 1178px;
        margin-top:0px;

  }
}

@media (min-width: 1440px) {
  #inner-wrap {
    width: 1394px;
        margin-top:0px;

  }
}










img.hfe-site-logo-img {
  max-height: 60px;
}

/* kosik   */

.kosik small.tax_label{
display:none;
}

.kosik  .wpr-inline-svg {
  display: block;
}

.kosik .wpr-mini-cart-toggle-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px;
}

.kosik .wpr-mini-cart-btn-icon {
  order: 0; /* Ikona jako první */
}

.kosik .wpr-mini-cart-btn-price {
  order: 1; /* Cena jako druhá */
}


span.price {
  min-height:75px;
}

.custom-price-wrapper {
    line-height: 1.4;
  text-align: left;
}
.custom-price-wrapper .price-excl-tax {
    font-size: 0.9em;
    color: #666;
}
.custom-price-wrapper .price-incl-tax {
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
}
.custom-price-wrapper .price-regular {
    font-size: 0.9em;
    color: #999;
    text-decoration: line-through;
}


/* podkategorie box   */

ul.product-archive {
    border-left: 1px solid #E4E4E4;
  border-top: 1px solid #E4E4E4;
}


a.add_to_cart_button {
  
}

.archive-description {
 margin-bottom: 40px;
}

.custom-subcategories-grid {
align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
    margin: 30px 0;
  padding: 0;
}

.subcategory-item {
width: calc(25% - 15px);
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #eee;
    transition: box-shadow 0.3s;                 /* ✅ zachová barvu textu i jako odkaz */
}

.subcategory-item a {
  display: flex;
  align-items: center;
}

.subcategory-item:hover {

}

.subcategory-item img {
width: 70px;
  text-align: center;
  height: 80px !important;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  margin-right: 15px;
}

.subcategory-item h3 {
   width: calc(100% - 90px);
  padding-left: 5px;
  flex-grow: 0;
  text-align: left;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size:14px !important;
}

.subcategory-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: #fafafa;
}

@media (max-width: 1024px) {
    .subcategory-item {
        width: calc(50% - 10px); /* 2 sloupce na tabletu */
    }
}

@media (max-width: 600px) {
    .subcategory-item {
        width: 100%; /* 1 sloupec na mobilu */
    }
}


/* end podkategorie    */

.custom-sorting-tabs ul {
    display: flex;             /* Aktivuje flexbox */
    width: 100%;               /* Roztáhne UL na celou šířku */
    padding: 0;
    margin: 0;
    list-style: none;
  border-top: 1px solid #E4E4E4;
  border-left: 1px solid #E4E4E4;
  margin-bottom:20px;
}

.custom-sorting-tabs li {
    flex: 1;                   /* Každý LI zabírá stejný podíl šířky */
    text-align: center;        /* Vycentruje text uvnitř */
}

.custom-sorting-tabs li a {
    display: block;            /* Umožní nastavit padding a výšku */
    width: 100%;               /* Zabere celou šířku svého LI */
    padding: 10px 0;           /* Svislé odsazení, podle potřeby */
    text-decoration: none;     /* Bez podtržení */
    color: inherit;            /* Dědí barvu textu */
    border-right: 1px solid #E4E4E4;
  border-bottom: 1px solid #E4E4E4;
  padding: 11px;      /* Světlé pozadí (volitelné) */
    transition: background 0.3s;
  font-size: 16px;
}

.custom-sorting-tabs li.active a {
    background: #774e47;          /* Zvýrazněné pozadí pro aktivní */
    font-weight: bold;
  color:#fff;
}

.custom-sorting-tabs li a:hover {
    background: #774e47;   
   color:#fff;/* Hover efekt */
}


h1.archive-title {
margin-bottom:25px;
font-size: 2.8em !important;
}

h2.woocommerce-loop-product__title {
  min-height: 80px;
  display: block;
}

.price-left {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 4px;
  position: relative;
}

.price-left ins {
  display: inline-flex;
  align-items: baseline;
  font-weight: bold;
  color: #e53935;
  font-size: 1.2em;
  line-height: 0;
}

.price-left ins::after {
  content: ' s DPH';
  font-size: 0.8em;
  font-weight: normal;
  color: #666;
  margin-left: 5px;
  display:none;
}

.price-left small.woocommerce-price-suffix {
  display: none; /* Skryj původní "s DPH" */
}


.woocommerce-Price-amount {
  
}

.product-price-cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.price-left {
  font-size: 18px;
  font-weight: bold;
  color: #222;
}

.cart-right .button {
  padding: 8px 16px;
  font-size: 18px;
}


ul.children {
  padding-left:0px !important;
}

.custom-short-description {
  display: -webkit-box;
  -webkit-line-clamp: 5;             /* omezení na 5 řádků */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  max-height: 7.5em;                 /* 5 řádků × 1.5em */
  font-size: 16px;
  color: #55433b;
  margin-bottom: 10px;
  text-align: left;
}





.dgwt-wcas-search-submit {
  background-color: #a51e21 !important;
  padding: 10px 25px !important;
  text-transform: none !important;
  font-weight: 600;
  border-radius: 10px !important;
  box-shadow: none !important;
}


.dgwt-wcas-search-submit::before {
  display:none;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  width: 100%;
  height: 45px !important;
  font-size: 14px;
  line-height: 100%;
  padding: 25px 25px;
  margin: 0;
  background: #fff;
    background-color: rgb(255, 255, 255);
  background-color: rgb(255, 255, 255);
  border: 1px solid #ddd !important;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -webkit-appearance: none;
  box-sizing: border-box;
  border-radius: 10px;
}
#info-box p {
  line-height: 1 !important;
}

.order-total small.includes_tax {
    display: none !important;
}

.order-total bdi {
    color: #000;
    font-weight: 700;       /* Tučný text */
    font-size: 22px;        /* Velikost písma */
}

.vlastni-ceny-produkt {
  margin-bottom: 1em;
  background: #f1f1f1;
  padding: 20px;
  border-radius:5px;
  border: 1px solid #d0cfcf;
}

.woocommerce .woocommerce-product-details__short-description {
  border-bottom: 1px solid #e3e3e3;
}

.badge-doprava-zdarma-single {
    position: absolute;
    top: 35px;
    left: 10px;
    background: #28a745;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
}

.badge-sleva-single {
    position: absolute;
    top: 85px;
    left: 10px;
    background: #e53935;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
}

.product-badges-wrapper {
    position: relative; /* Nutné pro absolutní pozicování badge */
}











.woocommerce-product-gallery {
    position: relative;
}

/* Kontejner štítků, aby se správně srovnaly pod sebou */
.product-badges-container {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px; /* mezera mezi štítky */
    z-index: 10;
}

/* Společné styly pro oba štítky */
.badge-doprava-zdarma-shop,
.badge-sleva-shop {
    background: #28a745; /* výchozí zelená */
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 3px;
    font-size: 14px;
    white-space: nowrap;
}

/* Specifická barva pro slevu */
.badge-sleva-shop {
    background: #e74c3c; /* červená */
}






.onsale {
    display: none !important;
}


ul.products li.product {
    position: relative;
}

/* Doprava zdarma vlevo nahoře */
.badge-doprava-zdarma-shop {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #28a745;
    color: #fff;
    padding: 5px 8px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 11;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Sleva vpravo nahoře */
.badge-sleva-shop {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: #fff;
    padding: 5px 8px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 12;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


/* Kontejner produktu musí mít position: relative, aby badge mohl být absolutně umístěný */
ul.products li.product {
    position: relative;
}

/* Styl pro badge */
.badge-doprava-zdarma-shop {
    position: absolute;
    top: 10px;
    left: 10px; /* můžeš zkusit i right:10px; podle toho, kde chceš */
    background-color: #28a745;
    color: #fff;
    padding: 5px 8px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


 #wrapper {
  margin:0px auto;
  }

.custom-columns {
  display: flex;
  gap: 4em;
}

.center-align, .center-align p {
  text-align: center !important;
  margin-bottom: 0px !important;
}

.small-padding, .small-padding p {
  margin-bottom: 0px !important;
}

p {
 margin-bottom:15px !important;
   text-align: justify;
  line-height: 1.75 !important;
  font-size: 1rem;
}

ul {
  list-style: disc;
  font-size: 1rem;
}

h1 {
  font-size: 2.5rem !important;
} 

h2 {
  padding-bottom: 15px !important;
  margin:0 !important;
  font-size: 1.5rem; !important;
  line-height: 1.35 !important;
} 
h2 a {
  text-decoration: underline !important;
}

h3 {
  padding-bottom: 15px !important;
  margin:0 !important;
  font-size: 1.2rem !important;
  line-height: 1.35 !important;
} 

h3.wp-block-heading a {
  text-decoration: underline !important;
  color: #276eca !important;
}

h5 {
  padding-bottom: 15px !important;
  font-weight:600 !important;
}
.primary-sidebar.widget-area .widget-title {
  font-weight: 600 !important;
  font-family: "Nunito Sans", Sans-serif;
  font-size: 20px;
  line-height: 1.35 !important;
  color: #fff !important;
  background-color: #774E47;
  padding: 14px 7px 14px 19px !important;
  border-radius: 4px 4px 4px 4px;
  margin-bottom: 0px !important;
  text-transform: lowercase;
}
.widget-area .widget .wpb_category_n_menu_accordion > ul > li a:not(.button) {
  margin-bottom: 0px !important;
  background: #f2f3f5;
}



.woocommerce-LoopProduct-link-title {
display: block;
  text-align: left;
  line-height: 1.4;
  text-transform: none;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none !important;
}

.woocommerce ul.products li.product .product-action-wrap {
  margin-top: 1em;
  text-align: center !important;
}

ul.products.grid-cols {
  column-gap: 0rem;
  row-gap: 0rem;
}

a.add_to_cart_button {
background-color: #f60 !important;
  display: inline-block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  font-weight: bold;
  border-radius: 8px;
  border-bottom: 1px solid #d64300 !important;
  margin-top: 10px;
}

.entry.loop-entry {
}

.entry.loop-entry {
  box-shadow: none !important;
  border-width: 1px;
  border-style: none solid solid none;
  border-color: #e4e4e4;
  border-radius: 0 !important;
}

p.stock {
	margin-bottom:10px !important;
}
.stock {
    display: block;                /* zajistí, že text bude blokový element */
    text-align: left;            /* centrování textu */
    margin: 5px 0;                 /* trochu mezery nad a pod */
    font-weight: bold;             /* tučné písmo pro lepší čitelnost */
}

.stock.in-stock {
  color: #fff;
  width: auto;
  display: inline-block;
  background: #00b125;
  padding: 5px 15px;
}

.stock.out-of-stock {
    color: red;
}

.price {
    display: block;                /* zajistí, že cena je blokový prvek */
    text-align: center;            /* centrování textu (ceny) */
    margin: 10px 0;                /* mezera nad a pod cenou */
    font-size: 1.2rem;             /* volitelně: velikost písma pro cenu */
    font-weight: bold;             /* volitelně: tučné písmo */
}

.woocommerce ul.products li.product a.woocommerce-loop-image-link {

  padding: 20px !important;
}

.woocommerce ul.products li.product .entry-content-wrap {
  padding: 0px 15px 20px !important;
}

.single-content .wp-block-columns {
  margin-bottom: 0 !important;
  margin-top: 0;
}

@media screen and (min-width: 1025px) {
  .has-sidebar .content-container {
    display: grid;
    grid-template-columns: 5fr 2fr;
    grid-gap: var(--global-md-spacing) !important;
    justify-content: center;
  }
}

.wpb_wmca_accordion_wrapper_theme_transparent > ul > li li:hover > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li li.current-cat > a, .wpb_wmca_accordion_wrapper_theme_transparent > ul > li li.current-menu-item > a, .wpb_wmca_accordion_wrapper_theme_transparent li.current_page_item > a {
  border:none !important;
  background:#ff6c00 !important;
  color:#fff !important;
}

.wpb_wmca_accordion_wrapper_theme_transparent ul li a {
  color: #3F4254 !important;
  border-radius: 0px;
  border-left: 0px solid transparent !important;
}

.wpb_wmca_accordion_wrapper_theme_transparent ul li a:hover {
 
  background:#ff6c00 !important;
  color:#fff !important;
}

.wpb_wmca_accordion_wrapper_theme_transparent ul ul {
  margin: 0px 0 0 20px !important;
}

.wpb_category_n_menu_accordion > ul > li > a {
  font-size: 14px;
  font-weight:600 !important;
  line-height: 20px;
  padding: 15px 40px 15px 15px;
  background: #F5F5F5;
  border-bottom: 1px solid #e7e8e9;
}


.wpb_wmca_accordion_wrapper_theme_transparent {
  background-color: #f2f3f5;
  border: 1px solid #e7e8e9;
  border-radius: 0 0 4px 4px;
}

.wpb_category_n_menu_accordion li a {
   font-size: 1.1rem !important;
   font-weight:500 !important;
  }

li.current-menu-item > ul.sub-menu {
  display:block !important;
}
.wp-block-table table[style*="border-width"] td, .wp-block-table table[style*="border-width"] th, .wp-block-table table[style*="border-width"] tr, .wp-block-table table[style*="border-width"] > * {
  border-style: inherit;
  border-width: inherit;
  border: 1px solid #ddd;
}
figure.no-border tbody,figure.no-border table[style*="border-width"],figure.no-border td, figure.no-border tr{
  border: 0px solid #ddd !important;
}

#hlavicka .elementor-button {
  padding:0px;
}

#hlavicka p {
  margin-bottom: 0px !important;
}

#hlavicka span.elementor-icon-box-title {
  padding:0px;
  margin-bottom: 0px !important;
}

#hlavicka .elementor-icon {
  line-height: 0;
}
/* -------------------------------- */
/* === responzivita === */
/* -------------------------------- */



@media (max-width: 1289.98px) {
  #searchbox {
 padding-right:5px;
    width: 40%;
    padding-left: 0;
  }
}

@media (max-width: 1289.98px) {
  #logo-container {
 padding-right:5px;
    width: 30%;
  }
}

@media (max-width: 1289.98px) {
  #info-box {
 padding:0px;
    width: 30%;
  }
}





@media (max-width: 1289.98px) {
 .has-left-sidebar #secondary {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (min-width: 768px) {
  .has-sidebar .content-container {
    display: grid;
    grid-template-columns: 2fr 5fr;
    grid-gap: var(--global-md-spacing);
    justify-content: center;
  }
}
@media (max-width: 1289.98px) {
  .content-area {
margin-top: 0rem !important; 
margin-bottom: 0rem !important; 
}
  }

@media (max-width: 1289.98px) {
.primary-sidebar {
  padding-top: 0 !important; 
}
  }


/* -------------------------------- */
/* === produkt page === */
/* -------------------------------- */

h1.product_title {
  line-height: 2.25rem;
  margin: 1.5625rem 0 .625rem;
}

.woocommerce-product-details__short-description p a {
  text-decoration: underline;
}

/* Nastavení šířky sloupců na 50% */
.shop_attributes th, 
.shop_attributes td {
    width: 50%;
    text-align: left;
    padding: 8px 12px;
}

/* Ujisti se, že tabulka bude zabírat celou šířku dostupného prostoru */
.custom-product-attributes table {
    width: 100%;
    table-layout: fixed;  /* Aby tabulka měla rovnoměrné sloupce */
}

/* Volitelné: Přidání trochu paddingu a upravení vzhledu */
.shop_attributes th {
    font-weight: bold;
    text-transform: uppercase;
}
.product-price-add-to-cart-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.product-price {
    flex: 1;
    max-width: 45%;
    font-size: 1.2em;
}

.product-price small {
    font-size: 0.9em;
    color: #666;
}

.tax-label {
    font-size: 0.9em;
    color: #444;
}

.product-cart-form {
    flex: 1;
    max-width: 45%;
}

.custom-product-attributes {
    margin-top: 30px;
}

.shop_attributes {
    margin-top: 15px;
}

.shop_attributes td {
    padding: 8px;
}

.ekit_navSidebar-button {
  display: flex;
  flex-direction: row-reverse !important;  /* otočí pořadí: ikona vpravo */
  align-items: center !important; 
  gap: 8px; /* mezera mezi ikonou a textem */
}
