/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  A child theme for the Astra WordPress theme.
 Author:       Dipti
 Author URI:   https://borgovecchio.com
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/*ul#astra-footer-menu.astra-footer-vertical-menu {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}


ul.astra-footer-vertical-menu li a.menu-link {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    padding-left: 0px !important;
}
*/

ul.astra-footer-vertical-menu li a.menu-link::before {
    content: ' ❯' !important; 
    color: #FFFFFF !important;
    font-size: 14px !important; 
    margin-right: 12px !important; 
    display: inline-block !important;
    line-height: 1 !important;
}
.ast-builder-grid-row-container-inner{
    margin-left: 2% !important;
    margin-right: 2% !important;
}
.single-product .summary #colophon,
.single-product .entry-content #colophon {
    display: none !important;
}
#tab-description {
  display: block !important;
}


/* Style the age restriction banner to match the brand color */
.woocommerce-info.age-restriction-notice {
    background-color: #fcf6f6; 
    border: 1px solid #e2d4d7; 
    border-top: 4px solid #8b6e75; 
    color: #4a0515;           
    padding: 15px 20px !important; 
    border-radius: 4px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(170, 10, 47, 0.04); /* Subtle brand-tinted drop shadow depth */
}


.woocommerce-info.age-restriction-notice::before {
    display: none !important;
}


.woocommerce-info.age-restriction-notice {
    padding-left: 20px !important; 
}

.woocommerce ul.products li.product {
    border: 1px solid #e2d4d7; 
    padding: 15px !important;   
    border-radius: 4px;       
    background-color: #ffffff; 
    transition: all 0.3s ease; 
    box-sizing: border-box;
}


.woocommerce ul.products li.product:hover {
    border-color: #AA0A2F;      
    box-shadow: 0 4px 12px rgba(170, 10, 47, 0.08); 
    transform: translateY(-3px); 
}
/* Cap the maximum size of the product gallery window frame*/

.single-product .woocommerce-product-gallery {
    max-width: 420px !important; 
    width: 100% !important;
    margin-right: auto !important;
    position: relative;
}


.single-product .woocommerce-product-gallery__image img {
    max-height: 520px !important; 
    width: auto !important;
    margin: 0 auto !important; 
    display: block;
}


.single-product .woocommerce-product-gallery__wrapper {
    overflow: hidden !important; 
    border-radius: 4px;
}


.single-product .zoomImg {
    max-width: none !important;
    max-height: none !important;
    background-color: #fff;
}

.wc-block-product-filters__overlay-content h2,
.wc-block-product-filters__overlay-content h3
{
    font-size: 1em;
}

/* Direct, safe match to target and hide only the Uncategorized wrapper div */
div.wc-block-product-filter-checkbox-list__item[data-wp-context*="product_cat-uncategorized"] {
    display: none !important;
}

/* Hide the WooCommerce price filter submit button */
/*
.widget_price_filter .price_slider_amount .button {
    display: none !important;
}


.wc-block-product-filter-price-slider__left, 
.wc-block-product-filter-price-slider__right {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    cursor: default !important;
    pointer-events: none !important;
    font-size: .5em !important; 
}


.wc-block-product-filter-price-slider__left::after {
    content: " - ";
    margin-left: 5px;
}*/

.onsale {
    width: auto !important;
    min-width: 50px !important;
    padding: 5px 12px !important;
}

.wpfFilterTaxNameWrapper{
    text-transform:capitalize !important;
}


.single-product .astra-woocommerce-breadcrumbs,
.single-product .woocommerce-breadcrumb,
.single-product .ast-breadcrumbs-wrapper {
    display: none !important;
}

/*changes*/

/*slider*/
.woocommerce-related-products-slider .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4rem !important;
    height: 3rem !important; /* Limit to two lines of text */
    
}
.product-slide-item li.product {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce-related-products-slider .price {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.2rem !important;
    
}
/*slider buttons*/


.custom-slick-related-section .woocommerce-related-products-slider {
    position: relative !important;
    
}


.custom-slick-related-section .woocommerce-related-products-slider button.slick-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
    overflow: hidden !important;
}


.custom-slick-related-section .woocommerce-related-products-slider button.slick-prev {
    left: -15px !important;
    right: auto !important;
}


.custom-slick-related-section .woocommerce-related-products-slider button.slick-next {
    right: -15px !important;
    left: auto !important;
}


.custom-slick-related-section .woocommerce-related-products-slider button.slick-prev,
.custom-slick-related-section .woocommerce-related-products-slider button.slick-prev:hover::after { 
    border-color: #ffffff !important; 
}
.custom-slick-related-section .woocommerce-related-products-slider button.slick-next,
.custom-slick-related-section .woocommerce-related-products-slider button.slick-next:hover::after { 
    border-color: #ffffff !important; 
}



.custom-slick-related-section .woocommerce-related-products-slider button.slick-prev:hover::after,
.custom-slick-related-section .woocommerce-related-products-slider button.slick-next:hover::after { 
    border-color: #ffffff !important; 
    color: #ffffff !important;
}
.woocommerce-related-products-slider {
    background-color: #ffffff !important;
    /*margin: 10px !important;*/
}

/*
.custom-slick-related-section .woocommerce-related-products-slider .slick-list {
    overflow: visible !important;
}*/

.product-slide-item {
    
    border: 1px solid #e2d4d7!important;
    padding: 5px !important;
    margin:5px !important;
    height: 100% !important;
    
}

/* Remove default Astra image box-shadow overlays ONLY inside the related products slider */
.custom-slick-related-section .product-slide-item img {
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/*image**/
/*
.astra-shop-thumbnail-wrap {
    height: 230px !important;
}*/

/* 1. Force the 300px height on all wraps by default */
@media (min-width: 921px) {
/* 1. Force the 230px height on all wraps by default on desktop */
.astra-shop-thumbnail-wrap {
height: 240px !important;
}
/* 2. Revert the height back to normal if a real product image exists */
.astra-shop-thumbnail-wrap img:not(.woocommerce-placeholder):not([src="placeholder"]) {
height: auto !important;
}
}




















