/*
 Theme Name: Divi Child
 Theme URI: https://kahan.cz/ 
 Description: Potomek šablony Divi
 Author: Vaše jméno
 Author URI: https://kahan.cz/  
 Template: Divi
 Version: 1.0.0
*/

/* shoping cart */
.et-cart-info span:before {
    display: none;
}

.et-cart-info::before {
    content: "";
    display: inline-block;
    background-image: url('https://kahan.demo-verze.cz/wp-content/uploads/2025/04/cart.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 47px;
    height: 49px;
    vertical-align: middle;
    margin-right: 5px;
    transition: all 0.5s ease;
}

#et-top-navigation .et-cart-info{
    position: absolute !important;
    bottom: 69px;
    transition: all 0.5s ease;
}

.et-fixed-header .et-cart-info::before {
    width: 34px;
    height: 43px;
}
.et-fixed-header  #et-top-navigation .et-cart-info{
    position: absolute;
    bottom: 50px;
}

#footer-bottom{
    display:none;
}

.footer-item-wrap a{
    display:block;
}

.footer-item-wrap.social a{
    display:inline-block;
}

#footer-logo{
    max-width:147px;
}
#block-8,
.img-wrap-footer{
    text-align:center;
    width:100%
}


#block-9{
    width:100%;
    text-align:right;
}

.et_pb_section{
    background: #f0eeea;
}

#top-menu .menu-item-has-children>a:first-child {
    padding-right: 0;
}
#top-menu .menu-item-has-children>a:first-child:after {
    display:none;
}

.con-wrap a {
    font-size:14px;
    line-height:2.1em;
    color:#ffffff !important;
}
.con-wrap a img{
    position:relative;
    top:4px;
    max-height:20px;
    padding-right:20px
}

footer p, footer .et_pb_text_inner a{
    font-size:14px;
}


.con-wrap a:nth-of-type(2) img{
    max-height:28px;
}

#top-menu{
    text-transform: uppercase;
    padding-bottom: 11px;
}

#top-menu li.current-menu-item>a, #top-menu li.current_page_item>a {
    text-decoration: underline;
}

#top-menu li {
    padding-right: 60px;
}

#product-main-name h1{
    font-weight:bold;
}

#et-boc .product-category-breadcrumb a,
.product-category-breadcrumb a,
.product-category-breadcrumb{
    color: #666666 !important;
    font-size:32px;
    text-transform: uppercase;
    font-weight:bold;
    font-family: 'Red Rose';
}
.woocommerce .quantity input.qty, .woocommerce-page .quantity input.qty{
    padding:10px;
}
.et-db #et-boc .et-l .et_pb_shop_0_tb_body.et_pb_shop .woocommerce ul.products li.product h2{
    font-weight: 300;
}

.related.products h2:first-child{
    padding-bottom:50px!important;
}
.et_pb_row .reverse,
.reverse{
    float:right !important;
}

.et-db #et-boc .et-l .et_pb_wc_add_to_cart .quantity input.qty{
    color:#3a3a3c!important;
    background:#fff;
}

#product-main-wrap .single_add_to_cart_button{
    color:#fff;
    background:#3A3A3A !important;
    text-transform:uppercase;
    border:0px;

    border-radius: 0px;
    padding: 10px 45px;
}
#et_mobile_nav_menu .mobile_menu_bar:before{
    color:#000 !important;
}
#product-main-wrap .woocommerce-message{
    color:#3A3A3A !important;
}

.woocommerce-notices-wrapper .woocommerce-message{
    font-size: 20px !important;
    color: #4b8100 !important
}

.et-cart-info{
    position:relative;
}
.et-cart-info::after {
    content: attr(data-count);
    position: absolute;
    top: -13px;
    right: -5px;
    background-color: #f0eeea;
    color: #3A3A4C;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 12px;
}
.woocommerce-ordering,
.woocommerce-result-count{
    display:none;
}

.heading-cat-general{
    text-align:center;

}

.heading-cat-general h1{
    text-transform:uppercase;
    font-weight:bold;
    font-size:30px;
    color: #666666;
}

.heading-cat-general .separator{
    display:inline;
    padding-left:15px;
    padding-right:15px;
}
.cat-note-kahan{
    font-size: 18px;
    padding-top: 15px;
    line-height: 150%;
    text-align: justify;
    font-family: 'Red Rose', display;
}

.wpcf7-form h2 {
    text-align: center;
    padding-bottom: 20px;
}

.wpcf7 .form-row {
    clear: both;
    width: 100%;
    margin-bottom: 15px;
    float: left;
}

.wpcf7 .form-row .form-column {
    width: 50%;
    float: left;
    padding-left: 0;
    padding-right: 10px;
}

.wpcf7 .form-row .form-column input, .form-row .form-column select {
    max-width: 100%;
    width: 100%;
    height: 40px;
    border-radius: 2px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    padding-left: 10px;
}

#cfw-main{
    padding-top: 60px;
}

.wpcf7 .form-row .form-column-full textarea {
    max-width: 100%;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #dcdcdc;
    padding: 10px;
    background: #ffffff;
    height: 130px;
    font-size: 14px;
}

input[type="submit"] {
    -webkit-appearance: none;
    box-shadow: none;
    color: #353535;
    padding: 0 15px;
    height: 50px;
    border-radius: 2px;
    border: 0;
    background-color: rgba(35, 35, 35, 0);
    border-color: #707070;
    font-size: 20px;
    font-weight: 500;
    padding: .3em 1em;
    line-height: 1.7em !important;
    background-color: transparent;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    border: 2px solid;
    border-radius: 3px;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
}

.buttonWrap{
    text-align: center;
    margin-top: 28px;
}

.product-category-breadcrumb a{
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: all !important;
    transition-property: all !important;
}

.product-category-breadcrumb a:hover{
    opacity: 0.6;
    text-decoration: underline;
}

.wpcf7-spinner {
    display: block;
    margin: auto;
    margin: auto;
    margin-top: 10px;
}
.single-product .reset_variations,
.single-product  #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value span:after{
    display: none !important;
}

.single-product  #pa_velikosti-naramku,
.single-product .variations{
    font-size: 15px;
}
@media (max-width: 768px) {
    .heading-cat-general .separator{
        padding-left:5px;
        padding-right:5px;
    }
    .et_pb_row .reverse,
    .reverse{
        float:none !important;
    }
}

.woocommerce div.product form.cart .button{
    color:#353535;
    border-color: #353535;
}

#main-centent-produkt-wrap,
#main-label-wrap{
    margin-bottom: 0px!important;
    padding-bottom: 0px!important;
}
#main-centent-produkt-wrap .et_pb_row,
#main-centent-produkt-wrap{
    padding-top: 0px!important;
}

/* 1/1 – Plná šířka */
.woocommerce ul.products li.product.product-full-width {
    width: 100% !important;
    clear: both;
}

/* 1/1 – Plná šířka */
.woocommerce ul.products li.product.product-second-width {
    width: 50% !important;
}


.woocommerce ul.products li.product.product-full-width img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    object-position: center;
}

/* 1/2 – Dva produkty vedle sebe */
.woocommerce ul.products li.product.product-second {
    width: 48% !important;
}

/* 1/3 – Tři produkty vedle sebe */
.woocommerce ul.products li.product.product-third {
    width: 30.66% !important;
}


#top-menu li li a {
    width:340px;
}

.nav li ul {
    width:380px;
}
.masonry-grid {
    column-count: 4;
    column-gap: 2rem;
}

.masonry-grid .product {
    break-inside: avoid;
    margin-bottom: 2rem;
}

.masonry-grid li.product {
    width: auto !important;
}

.woocommerce  .masonry-grid ul.products li.product, .woocommerce-page .masonry-grid  ul.products li.product{
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 0px;
    float: none !important;
}


#related-products-wrap{
    padding-top: 0px !important;
    margin-top: 0px !important;
}

#hp-news li.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.kat-des-h2{
    text-align: center;
    text-transform: uppercase;
    font-family: 'Red Rose';
    color: #666666;
    font-weight: bold;
    font-size: 32px;
}

@media (max-width: 1025px) {
    .masonry-grid {
        column-count: 3;
        column-gap: 2rem;
    }
}

@media (max-width: 980px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 2rem;
    }

    .et-db #et-boc .et-l .masonry-grid ul.products.columns-1 li.product{
        width: 100% !important;
    }

    .et_header_style_centered #et-top-navigation .et-cart-info {
        display: block;
        position: fixed !important;
        right: 0px;
        top: 10px;
    }
}
@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
        break-inside: auto;
    }

    .wpcf7 .form-row .form-column{
       width:100%;
    }
    .woocommerce form .form-row{
        margin: 0 0 0px;
    }

    .et_header_style_centered header#main-header.et-fixed-header .logo_container {
        height: auto;
    }

    .et-cart-info::before{
        width: 30px;
    }
}

/* =====  image ve výpisu - zarovnání  ====== */

/* Zarovná všechny položky na stejnou výšku */
/* Základní grid layout pro výpis produktů */


/* =====  image ve výpisu - zarovnání end  ====== */