/*
  Woocommerce CSS
*/


/*<editor-fold desc="Woo Category Archive/Woo Subcategory Archive">*/
/* WPSeo Breadcrumbs */

#yoast-breadcrumbs {
    font-size: 14px;
}

.wpseo-breadcrumbs a {
    text-decoration: underline;
    color: #5a5a5a !important;
    transition: all 0.2s ease;
    text-underline-offset: 1px;
}

.wpseo-breadcrumbs a:hover {
    text-decoration: none;
}

/* Woo category archive */
#woo-category-loop .product-category a,
#woo-subcategory-loop .product a,
#woo-related-products .product a {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #f2f2f2;
    border-radius: 3px;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 17px -2px rgb(0 0 0 / 3%);
}

/* -- Hover */
#woo-category-loop .product-category a:hover,
#woo-subcategory-loop .product a:hover,
#woo-related-products .product a:hover {
    box-shadow: 0px 4px 17px -2px rgb(0 0 0 / 18%);
}

/* -- Image */
#woo-subcategory-loop .product a .et_shop_image,
#woo-related-products .product a .et_shop_image{
    height: 230px;
    overflow: hidden;
    position: relative;
}

#woo-subcategory-loop .product a img,
#woo-related-products .product a img{
    height: 100%;
    object-fit: cover;
}


/* -- Title */
#woo-category-loop .woocommerce-loop-category__title,
#woo-subcategory-loop .product a .woocommerce-loop-product__title,
#woo-related-products .product a .woocommerce-loop-product__title {
    font-size: 21px;
    line-height: 31px;
    color: #2c2c2c;
    text-align: center;
    padding: 10px 20px 15px;
    font-family: 'SPArielBG-Bold',Helvetica,Arial,Lucida,sans-serif;
}

#woo-subcategory-loop .product a .woocommerce-loop-product__title,
#woo-related-products .product a .woocommerce-loop-product__title {
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Centering Title & desc */
#woo-category-loop .product a {
    text-align: center;
}


/* -- View More on products */
#woo-subcategory-loop .product a,
.related.products .product a {
    padding-bottom: 75px;
}

.product-view-more {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    font-size: 17px;
    line-height: 31px;
    padding: 4px 22px;
    display: inline-block;
    background: #ff841a;
    color: white;
    text-align: center;
    transition: all 0.2s ease;
}

.product-view-more:hover {
    background: #d97015;
}


/* -- Count */
mark.count {
    display: none;
}

/* --- Title Line */
.title-line .woocommerce-loop-category__title,
.title-line .woocommerce-loop-product__title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* --- Mark Count */
#woo-category-loop .woocommerce-loop-category__title mark.count {
    background-color: transparent;
    color: #2c2c2c;
}

/* -- Description */
#woo-category-loop .woo-category-description {
    color: #4f4f4f;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

/* -- Product Price */
#woo-subcategory-loop .product a .price,
#woo-related-products .product a .price{
    display: none;
}

/* Hiding Ordering Stuff */
#woo-subcategory-loop .woocommerce-result-count,
#woo-subcategory-loop .woocommerce-ordering {
    display: none;
}
/*</editor-fold>*/


/*<editor-fold desc="Pagination">*/
/* Pagination */
.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li{
    border-color: #f8f8f8;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 10px 15px;
    transition: 0.2s;
}

.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #f7f7f7;
}
/*</editor-fold>*/

/* Hide overlay */
.et_overlay {
    display: none !important;
}

/*<editor-fold desc="Subcategory Sticky Menu">*/
/* Subcategory Sticky Menu */
#subcategory-sticky-menu-wrapper {
    box-shadow: 2px 4px 7px -2px rgb(0 0 0 / 3%);
}

#subcategory-sticky-menu {
    display: flex;
    align-items: center;
    overflow-y: scroll;
}

#subcategory-sticky-menu a {
    padding: 10px 15px;
    color: #2c2c2c !important;
    line-height: 21px;
    text-align: center;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

#subcategory-sticky-menu a:hover {
    border-color: #ff841a;
}
/*</editor-fold>*/


/* Product */
/*<editor-fold desc="Izprati Zapitvane">*/
/* -- Izprati Zapitvane */
.woocommerce .izprati-zapitvane {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    line-height: 25px;
    padding: 12px 27px;
}

.woocommerce .izprati-zapitvane .zapitvane-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    fill: white;
}

.woocommerce .pum-container {
    border: none !important;
    border-radius: 2px !important;
    box-shadow: 0px 0px 14px 0px rgb(23 23 23 / 5%) !important;
}

.woocommerce .pum-container .et_pb_contact_submit {
    background: #ff841a;
    color: #ffffff;
}

.woocommerce .pum-container .et_pb_contact_submit:hover {
    background: #d97015;
}

.woocommerce .pum-content + .pum-close {
    color: #2c2c2c !important;
    background-color: white !important;
    box-shadow: 0px 0px 15px 1px rgb(2 2 2 / 30%) !important;
    border: 2px solid #ffffff !important;

}
/*</editor-fold>*/

/*<editor-fold desc="Print Button">*/
/* -- Print Button */
.product-print-call {
    display: flex;
}

.product-print-call .print-call {
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 18px;
    color: #2c2c2c;
}

.product-print-call .print-call:not(:last-child) {
    margin-right: 30px;
}

.product-print-call .print-call a {
    text-decoration: underline;
    color: #2c2c2c;
}

.product-print-call .print-call a:hover {
    text-decoration: none;
}

.product-print-call .print-call .print-call-icon {
    margin-right: 12px;
    margin-top: 5px;
}
/*</editor-fold>*/



/* --------- DESKTOP OVER 981px --------- */
@media only screen and (min-width: 981px){
    /* --- Desktop Title Line 1 */
    .title-line-1 .woocommerce-loop-category__title,
    .title-line-1 .woocommerce-loop-product__title {
        height: 2.3em;
        -webkit-line-clamp: 1;
        margin-bottom: 11px !important;
    }

    /* --- Desktop Title Line 2 */
    .title-line-2 .woocommerce-loop-category__title,
    .title-line-2 .woocommerce-loop-product__title {
        height: 3.8em;
        -webkit-line-clamp: 2;
        margin-bottom: 12px !important;
    }
}

/* --------- DESKTOP OVER 769px --------- */
@media only screen and (min-width: 769px){
    /* --- Image Col2 */
    #woo-subcategory-loop.product-col-2 .product a .et_shop_image {
        height: 320px;
    }
}

/* ---------- TABLET ONLY ---------- */
@media only screen and (min-width: 768px) and (max-width: 980px){
    /* --- Tablet Title Line 1 */
    .tablet-title-line-1 .woocommerce-loop-category__title,
    .tablet-title-line-1 .woocommerce-loop-product__title {
        height: 2.3em;
        -webkit-line-clamp: 1;
        margin-bottom: 11px !important;
    }

    /* --- Tablet Title Line 2 */
    .tablet-title-line-2 .woocommerce-loop-category__title,
    .tablet-title-line-2 .woocommerce-loop-product__title {
        height: 3.8em;
        -webkit-line-clamp: 2;
        margin-bottom: 12px !important;
    }
}

/* --------- MOBILE 768px --------- */
@media only screen and (max-width: 768px){

    /* -- Image */
    #woo-category-loop:not(.mobile-category-col-1) .product a img {
        margin-bottom: 3px !important;
    }

    /* Mobile Category Col1 */
    #woo-category-loop.mobile-category-col-1 .products li.product-category {
       width: 100% !important;
   }

    /* Vertical Spacing */
    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        margin-bottom: 20px !important;
    }


    /* -- Title */
    #woo-category-loop:not(.mobile-category-col-1) .woocommerce-loop-category__title,
    #woo-subcategory-loop:not(.mobile-category-col-1) .product a .woocommerce-loop-product__title,
    #woo-related-products .product a .woocommerce-loop-product__title{
        font-size: 18px;
        line-height: 24px;
        padding: 10px 13px;
    }

    /* --- Mobile Title Line 1 */
    .mobile-title-line-1 .woocommerce-loop-category__title,
    .mobile-title-line-1 .woocommerce-loop-product__title {
        height: 2.0em;
        -webkit-line-clamp: 1;
        margin-bottom: 11px !important;
    }

    /* --- Mobile Title Line 2 */
    .mobile-title-line-2 .woocommerce-loop-category__title,
    .mobile-title-line-2 .woocommerce-loop-product__title {
        height: 3.3em;
        -webkit-line-clamp: 2;
        margin-bottom: 12px !important;
    }

    /* --- Mobile Title Line 3 */
    .mobile-title-line-3 .woocommerce-loop-category__title,
    .mobile-title-line-3 .woocommerce-loop-product__title {
        height: 4.6em;
        -webkit-line-clamp: 3;
        margin-bottom: 12px !important;
    }

    /* Description under Title */
    #woo-category-loop .woo-category-description {
        padding-left: 13px;
        padding-right: 13px;
    }

    /* -- View More on products */
    #woo-subcategory-loop .product a,
    .related.products .product a{
        padding-bottom: 55px;
    }

    .product-view-more {
        font-size: 15px;
        padding: 2px 5px;
        max-width: 120px;
        bottom: 15px;
    }

    /* -- Image */
    #woo-subcategory-loop:not(.product-col-2) .product a .et_shop_image,
    #woo-related-products .product a .et_shop_image {
        height: 140px;
    }
}