/*
Theme Name:   Envo eCommerce Clima
Theme URI:    https://example.com/envo-ecommerce-clima
Description:  A custom child theme for Envo Ecommerce.
Author:       Your Name
Author URI:   https://example.com
Template:     envo-ecommerce
Version:      1.0.0
*/

/* Import the parent theme's style.css */
@import url("../envo-ecommerce/style.css");

html body{
    line-height: 1.5;
}

input[type="number"] {
    -webkit-appearance: textfield; /* Removes default WebKit styling */
    -moz-appearance: textfield; /* Removes default Firefox styling */
    appearance: textfield; /* Standard property */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button; /* Ensures arrows are visible */
    opacity: 1; /* Keeps arrows fully visible at all times */
    display: block; /* Ensures visibility */
}

input[type="number"]::-moz-number-spin-box {
    -moz-appearance: spin-button; /* Ensures arrows in Firefox */
}

.main-menu #site-navigation{
    border-top: none;
}

.woocommerce div.product .product-item-bottom .product-item-bottom-footer form.cart .single_add_to_cart_button{
    height: 40px;
    border: 0;
    background-color: #70cc0a;
}

.cart .button span.bestellen-text{    
    font-size: 16px;
    line-height: 21px;
    font-weight: 600;
    color: #fff;
    margin-left: 7px;
    vertical-align: middle;
    outline: none;
}

.navbar-collapse.show, .navbar-collapse{
    width: 100%;
}

.navbar-header .menu-item .dropdown-item:hover{
    color: #ff6600;
    color: #fff;
}

.navbar-nav .dropdown-menu{
    padding: 0;
    border: 0;
}

.navbar-header .navbar-nav > li > a{
    font-weight: 400;
    text-transform: unset;
}

.navbar-header .navbar-nav .dropdown-menu > li > a, .navbar-header .navbar-nav .dropdown-menu > li > a:hover{
    font-size: 16px;
    font-weight: 400;
}

.navbar-header .navbar-nav .dropdown-menu > .active > a.dropdown-item, .navbar-header .navbar-nav .dropdown-menu > .active > a.dropdown-item:hover, .navbar-header .navbar-nav .dropdown-menu > .active > a.dropdown-item:focus{
    color: #fff;
}

.navbar .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    top: 100% !important;
    margin-top: 0.5rem;
}

.product-item-grid h2.woocommerce-loop-product__title{
    font-size: 14px;
    font-weight: 400;
}

.variations .value select{
    appearance: none; /* Remove default styles (use -webkit-appearance for Safari) */
    -webkit-appearance: none;
    background-color: #0090e3;
    background-color: #efefef;
    color: #fff;
    color: #000;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    max-width: 300px; /* Adjust as needed */
    height: 50px;
    cursor: pointer;
    vertical-align: middle;
    outline: none;
}

/* Add a custom arrow for the dropdown */
.variations .value select:after {
    content: "▼";
    position: absolute;
    right: 10px;
    pointer-events: none;
}

.variations .value select option {
    background-color: #0090e3;
    background-color: #efefef;
    color: #fff;
    color: #000;
    font-size: 15px;
    padding: 10px;
}

.product .summary .woocommerce-cart-wrapper form.cart .single_add_to_cart_button{
    border: 0;
    background-color: #70cc0a;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.woocommerce div.product .summary form.cart .variations td.label{
    vertical-align: middle;
    padding: 0;
}

.woocommerce div.product .summary form.cart .variations td.label label{
    line-height: 2;
}

.woocommerce div.product .summary form.cart .variations td.value{
    vertical-align: middle;
    padding: 0;
}

.woocommerce .main-container div.product form.cart .variations label{
    font-weight: 600;
}

#sidebar button#toggleFilters{
    border-radius: 4px;
    height: unset;
    padding: 8px 30px;
}

#filtersDiv .bapf_body .bapf_reset{
    background-color: #ff6600;
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: unset;
    border-radius: 4px;
}

#sidebar .bapf_head h3{
    font-size: 15px;
    font-weight: 400;
}
#sidebar .bapf_body{
    max-height: 200px;
}
#sidebar .bapf_body ul li{
    font-size: 15px;
}

#sidebar .offcanvas{
    width: 77%;
}

#content #breadcrumbs{
    margin-bottom: 10px;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .wc-forward{
    color: #0242a3;
    background-color: transparent;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .wc-forward:hover{
    text-decoration: underline;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .checkout{
    color: #fff;
    background-color: #70cc0a;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.header-cart .site-header-cart .woocommerce-mini-cart__buttons .checkout:hover{
    background-color: #00b900;
    text-decoration: none;
}

#content .entry-header-page{
    margin-bottom: 8px;
}
#content .entry-header-page h1{
    font-size: 17px;
    line-height: 26px;
    color: #777;
}

.hidden{display: none !important;}

.card-wrapper{
    background-color: #fff;
    border: 1px solid #bcbcbc;
    border-radius: 0.5rem;
}

.content-wrapper{
    display: flex;
    position: relative;
    height: 100%;
    min-height: 92px;
    transition: all var(--cb-motion-duration-base) var(--cb-motion-easing-ease-in-out);
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.content-wrapper .title-block{
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.content-wrapper .image-block{
    height: 100%;
    width: 100%;
    aspect-ratio: 3/2;
    position: relative;
    padding: 0;
}

.image-block-container{
    height: 100%;
    position: relative;
    overflow: hidden;
}

.image-block-outer{
    width: 100%;
    height: 100%;
}

.image-block-container .image-block-outer img{
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: auto;
    object-fit: cover;
}


/*
* Card testing home
*/
.product-cat-cards a{
    text-decoration: none;
}
.card:hover{
    border-color: #bcbcbc;
}
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.spacer {
  flex-grow: 1;
}
.image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.col-xl-3.col-lg-4.col-md-4.col-6, .col-lg-3.col-md-4.col-6{
    margin-bottom: 16px;
}

.card.flex-column{
    border-radius: 4px;
}
.card-span-title{
    font-size: 15px;
    font-weight: 600;
    padding: 5px 10px;
}
/*
* End Card testing home
*/

.products .product span.onsale{
    padding: .25em .65em;
    top: 2em;
    left: 2em;
    top: 2em;
    left: 3em;
    font-size: 14px;
}

.products .product-shop-page{
    border-radius: 4px;
}

#content .page-area{
    padding-top: 10px;
}

#the-order-review{
    width: 50%;
    float: right;
}

.checkout #order_review #payment .place-order{
    padding: 1.75rem;
}

#payment .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text{
    font-size: 14px;
}

#payment .place-order .validate-required{
    padding: 0;
}

@media (max-width: 425px){
    .products .product span.onsale{
        font-size: 10px;
    }
}

@media (min-width: 576px){
    .woocommerce div.product form.cart .variations select{
        width: 200px;
        min-width: unset;
    }
}

@media (max-width: 767px){
    .header-cart-inner .cart-contents span.count{
        top: -3px;
    }
    .mobile-cart .header-cart .header-cart-block .header-cart-inner .site-header-cart{
        display: none;
    }
    .mobile-cart .header-cart .header-cart-block .header-cart-inner a.cart-link-custom svg{
        height: 46px;
    }
    .navbar-header .mobile-cart .header-cart{
        padding: 0;
    }
    #sidebar .bapf_body ul li{
        margin-bottom: 3px;
    }
    .menu-item a.nav-link{
        font-size: 18px;
        font-weight: 400;
        line-height: 30px;
    }
    .navbar-nav > li > a.nav-link{
        padding: 7px 1.5rem;
    }
    .menu-item ul.dropdown-menu li a.dropdown-item{
        font-size: 17px;
        font-weight: 400;
        padding: 9px 40px;
    }
    h2.title-shop-home{
        display: block;
    }
}

@media (min-width: 768px){
    .header-right .header-cart{
        padding-right: 0px;
    }
    .header-right div.header-cart .cart-link-custom .count{
        right: -7px;
    }
    .navbar-collapse:before, .nav:before{
        content: none;
    }
    .navbar-header .navbar-expand-md .navbar-collapse{
        display: flex !important;
        padding: 0;
        margin: 0 auto;
    }
    .navbar-expand-md ul.navbar-nav{
        -ms-flex-direction: row;
        flex-direction: row;
        display: flex;
        justify-content: flex-start;
        gap: 40px;
        gap: 30px;
        height: 40px;
        padding: 0;
        margin: 0;
        list-style: none;
        width: max-content;
    }
    .navbar-expand-md .navbar-nav li.menu-item{
        height: 100%;
        display: flex;
        align-items: center;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        border-radius: 3px;
    }
    .navbar-expand-md .navbar-nav a.nav-link{
        padding: 8px 16px;
        line-height: 1;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        border-radius: 3px;
    }
    /*
    #filtersDiv{display: block !important;}
    #toggleFilters{display: none;}*/
    .navbar-header .navbar-nav ul.dropdown-menu{
        background-color: #0090e3;
        border-radius: 3px;
    }
    .navbar-header .navbar-nav li a.nav-link:hover{
        background-color: #0090e3;
    }
    .navbar-header .navbar-nav .menu-item ul.dropdown-menu li:hover{
        background-color: #0090e3;
        background-color: #0242a3;
    }
    .navbar-header .navbar-nav .menu-item ul.dropdown-menu li.active{
        background-color: #0090e3;
        background-color: #0242a3;
    }
    .navbar-header .navbar-nav .menu-item ul.dropdown-menu li.nav-link:hover{
        background-color: #0090e3;
    }
    .navbar-header .navbar-nav li.menu-item:hover ul.dropdwon-menu{
        border-radius: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px){
    .navbar-expand-md ul.navbar-nav{
        gap: 20px;
    }
    .navbar .navbar-nav > li > a{
        font-size: 16px;
    }
    .product-item-grid .product-shop-page .product-item-pic{
        width: 100%;
    }
    .product-item-grid .product-shop-page .product-info{
        width: 100%;
        padding: 0;
    }
    .product-item-grid .product-shop-page .product-item-bottom{
        width: 100%;
    }
    h2.title-shop-home{
        display: block;
    }
    .woocommerce #content div.product div.woocommerce-product-gallery{
        width: 100% !important;
    }
    .woocommerce #content div.product div.woocommerce-product-gallery figure.woocommerce-product-gallery__wrapper{
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
    }
    .woocommerce div.product div.summary{
        width: 100% !important;
    }
    .products .product span.onsale{
        font-size: 12px;
    }
}

@media (max-width: 991px){
    .content-wrapper .image-block{
        padding: 0 10px;
    }
}

@media (min-width: 992px){
    .product-item-grid .product-item-pic{
        height: auto !important;
    }
    .content-wrapper .image-block{
        padding: 20px;
    }
    .card-span-title{
        font-size: 17px;
    }
    .main-menu #site-navigation{
        height: 42px;
    }
}

@media (min-width: 1200px){
    .summary h1{
        font-size: 21px;
    }
    .card .image{
        height: 263px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 1200px) and (max-width: 1279px){
    body .container{
        max-width: 1140px;
    }
}

@media (min-width: 1280px){
    body .container{
        max-width: 1264px;
    }
    .image-block{
        min-height: unset;
        display: block;
    }
}




/* Offcanvas Styles for Smooth Transition */
.offcanvas {
    max-width: 75%;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .offcanvas {
        position: relative !important;
        transform: none !important;
        visibility: visible !important;
        display: block !important;
        width: 100%;
        height: auto;
    }

    #toggleFilters {
        display: none !important;
    }
}