/*
Theme Name:   Grogin Child
 Theme URI:    http://klbtheme.com/grogin/
 Description:  Grogin Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     grogin
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  grogin-child
*/
@media screen and (min-width: 992px) {
#sidebar {
    width: 19rem;
}
}
.home_top_banner .site-slider.arrows-offset .slick-nav{
    opacity:1 !important;
}
.home_top_banner .site-slider.slider-style .slick-dots{
    bottom:15px !important;
}
[class^="klb-icon-"]:before,
[class*=" klb-icon-"]:before{
    font-size:120% !important;
}
.single-product-wrapper .woocommerce-product-gallery img{
    width:auto !important;
}
.woocommerce-product-gallery__image{
    text-align:center !important;
}
.woocommerce-product-gallery__image .zoomImg{
    display:none !important;
}
.wp-block-woocommerce-cart .wc-block-cart-item__remove-link{
    background-color: var(--color-red-600) !important;
    color: #fff !important;
    text-decoration: none !important;
    height: 1.55rem;
    min-width: 6.5rem;
    border-radius: calc(var(--theme-site-border-radius) + 2px) !important;
}
.wp-block-woocommerce-checkout .wc-block-components-totals-coupon__button,
.wp-block-woocommerce-checkout .wc-block-components-checkout-return-to-cart-button,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button{
    background-color: var(--color-green-600) !important;
    color: #fff !important;
    text-decoration: none !important;
    height: 2.875rem;
    min-width: 10rem;
    font-weight: bold;
    border-radius: calc(var(--theme-site-border-radius) + 2px) !important;
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-return-to-cart-button{
    background-color: #212529 !important;
    width: 20%;
    height: 4.2rem;
    line-height: 4.2rem;
}
.sticky-header .header-nav{
    position: fixed !important;
    width: 100%;
    top: 130px;
}
.sticky-header .header-main::before {
    opacity:0 !important;
}
.sticky-header .header-nav:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.0625rem;
    bottom: 0;
    background-color: rgb(3,7,18);
    opacity: 0.1;
}
.product .thumbnail-wrapper{
    text-align:center;
}
.product-thumbnail img,
.elementor-widget-container .product-inner img{
    margin:0 auto;
    max-height:170px;
    width:auto;
}
.woocommerce-page-header{
    display: none;
}
.product-brand-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}
.product-brand-list.columns-1 { grid-template-columns: repeat(1, 1fr); }
.product-brand-list.columns-2 { grid-template-columns: repeat(2, 1fr); }
.product-brand-list.columns-3 { grid-template-columns: repeat(3, 1fr); }
.product-brand-list.columns-4 { grid-template-columns: repeat(4, 1fr); }
.product-brand-list.columns-5 { grid-template-columns: repeat(5, 1fr); }
.product-brand-list.columns-6 { grid-template-columns: repeat(6, 1fr); }

.product-brand-list li {
    text-align: center;
    color: #39245f !important;
    font-weight: bold;
}
.brand-image img {
    max-width: 100%;
    height: auto;
    display: block;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #ddd;
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}
.brand-image img.full-width {
    width: 100%;
} 
.brand-name{
    margin-top: 10px;
}
.single-product-widget {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
.brand-nav{
    margin-bottom: 20px;
}
.brand-separator{
    margin-top: 30px;
    margin-bottom: 30px;
    height:1px;
    background-color: #ccc;
}
.product .product-title a{
    font-weight: bold !important;
}
.site-module .site-module-header .entry-title,
.related .entry-title{
    width: 100%;
    text-align: center;
}
.wc-block-checkout__add-note .wc-block-components-textarea{
    resize: none !important;
    height: 150px;
}

.wc-block-checkout__use-address-for-billing input[type=checkbox]:checked::after,
.wc-block-checkout__use-address-for-billing .woocommerce-form__input-checkbox:checked::after{
    background-color: transparent !important;
}

.site-login .site-login-inner .site-login-overflow .login-form-container button.show-password-input{
    width: 2rem !important;
    height: 2rem !important;
    margin-top: 0 !important;
}
.site-header.header-type1 .header-nav .primary-menu > ul > li.eco_products > a{
    color:#58a41d !important;
}
ul.menu > li.menu-item a > img {
    margin-right: 0.3rem;
}
.product .product-title{
    min-height: 50px;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}
/*
.fl-mini-cart-content .products:not(.slick-slider) > *{
    overflow: hidden;
}
*/
/* .woocommerce-MyAccount-navigation-link--compare, */
/* .wc-block-components-address-form__postcode, */
.custom-button-holder .product-wrapper .product-footer,
.product-low-stock,
.product-progress-wrapper,
.product-thumbnail .zoomImg,
.global-notification-inner .notification-countdown,
.woocommerce-MyAccount-navigation-link--downloads{
    display: none !important;
}
.sticky-header .site-categories.show{
    display: none;
}
.site-banner .entry-media img{
    object-fit: contain !important;
    -o-object-fit: contain !important;
}
.products .product.outofstock .thumbnail-wrapper:before {
    content: 'Out of Stock';
    position: absolute;
    left: 0;
    background: red;
    padding: 5px;
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
    z-index: 10;
}
.single-product-wrapper.outofstock .woocommerce-product-gallery__wrapper:before {
    content: 'Out of Stock';
    position: absolute;
    left: 0;
    background: red;
    padding: 5px;
    font-size: 12px;
    color: #fff;
    border-radius: 5px;
}
.site-menu.vertical > ul li .menu-dropdown{
    position: absolute;
    top: 0;
    left: 93%;
    width:32px;
    height: 42.5px;;
}
.custom-button > a .badge {
    margin-left: 0.5rem;
}
.cart-widget-side .shipping-notice {
    margin: 0px 15px;
}
.product-detail .product_meta span:not(.sku){font-size: 0.9rem !important;}
.payment_box{display:none !important;}
#embed-target .acs-takeover{
    position: relative !important;
}

.single-product-wrapper form.cart .variations tr .label{
    width: 20%;
    display:block;
}
body.klb-swatches .single-product-wrapper form.cart .variations tr .value{
    width:40%;
}
.wc-block-components-totals-item--savings .wc-block-components-totals-item__value {
    color: #28a745;
    font-weight: 600;
}
@media screen and (min-width: 1024px) {
  .site-banner .entry-media {
    max-height: 480px !important;
  }
}
/* Keep your existing .columns-* rules for desktop */
@media screen and (max-width: 767px) {           /* Mobile */
  .product-brand-list { 
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {  /* Tablet */
  .product-brand-list { 
    grid-template-columns: repeat(3, 1fr) !important;
  }
}