/* Layout Wrapper */
.hantol-filter-wrapper {
    display: flex !important;
    flex-flow: row nowrap !important; /* side-by-side columns */
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 50px !important;
    width: 100% !important;
    margin: 20px 0 !important;
    box-sizing: border-box !important;
}
.elementor-7141 .elementor-element.elementor-element-609c7ef:not(.elementor-motion-effects-element-type-background){
	background-color:unset !important;
	margin-top:25px !important;
}

/* 1st Grid (Left Category Sidebar) */
.hantol-filter-left {
  flex: 0 0 380px !important;
    width: 380px !important;
    max-width: 380px !important;
    min-width: 335px !important;
    box-sizing: border-box !important;
}

.hantol-filter-left .woocommerce.widget_product_categories {
    background: #fff !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Sidebar widget header */
.hantol-filter-left .widget-title {
    margin: 0 0 15px !important;
    font-size: 20px !important;
    line-height: 1.2em;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    color: #222 !important;
    border-bottom: none !important; 
    padding-bottom: 0 !important;
}

/* List styling - show disc bullets as in screenshot */
.hantol-filter-left ul.product-categories {
    list-style: disc !important;
    list-style-type: disc !important;
    padding-left: 20px !important;
    margin: 0 !important;
}

.hantol-filter-left ul.product-categories li.cat-item {
    list-style: disc !important;
    list-style-type: disc !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    border-bottom: none !important; /* No bottom border in screenshot sidebar */
}

.hantol-filter-left ul.product-categories li.cat-item a {
    display: inline-block !important; /* inline-block allows clean bullet alignment */
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

/* Sidebar hover and active links */
.hantol-filter-left ul.product-categories li.cat-item:hover a {
      color: #a2b338 !important;
    padding-left: 0 !important; /* No sliding offset when active to avoid shifts next to parent bullet */
}

/* 2nd Grid (Right Products List) */
.hantol-filter-right {
    flex: 1 !important;
    width: calc(100% - 280px) !important;
    min-width: 0 !important; /* Prevents overflow in flexible parent items */
    box-sizing: border-box !important;
	background-color: white;
}

/* Products loop grid styling */
.hantol-filter-right .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Individual Product Cards */
.hantol-filter-right .woocommerce ul.products li.product {
    
    text-align: center !important;
    padding: 15px !important;
   
   
   
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important; /* Uniform height footer grid buttons alignment */
    box-sizing: border-box !important;
    margin: 0 !important;
    list-style: none !important;
    min-width: 0 !important;
    width: 100% !important;
}

/* Thumbnail wrapper */
.hantol-filter-right .astra-shop-thumbnail-wrap {
    width: 100% !important;
    height: 180px !important;
    margin-bottom: 12px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important;
    background: transparent !important;
}

.hantol-filter-right .astra-shop-thumbnail-wrap img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Product details wrapper */
.hantol-filter-right .astra-shop-summary-wrap {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex: 1 !important;
    justify-content: space-between !important;
}

/* Product title link */
.hantol-filter-right .astra-shop-summary-wrap a.ast-loop-product__link {
    text-decoration: none !important;
    width: 100% !important;
}

/* Title text */
.hantol-filter-right h2.woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 5px 0 10px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
    
    /* Cross-browser multi-line title truncation */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 38px !important;
}



/* Enquire Now Button */
.hantol-filter-right a.single_add_to_cart_button.button {
    display: inline-block !important;
    background-color: #2f9dd7 !important;
    color: #fff !important;
    padding: 18px 30px !important;
    border-radius: 30px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important; /* Pushes button to bottom */
}

.hantol-filter-right a.single_add_to_cart_button.button:hover {
    background-color: #1a83bd !important;
  
}

/* Loader wrapper styling */
.hantol-loading {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 300px !important;
    width: 100% !important;
}

.hantol-loading .spinner {
    width: 40px !important;
    height: 40px !important;
    border: 3px solid #f3f3f3 !important;
    border-top: 3px solid #2f9dd7 !important;
    border-radius: 50% !important;
    animation: hantol-spin 1s linear infinite !important;
}

@keyframes hantol-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive configurations */
@media (max-width: 991px) {
    .hantol-filter-wrapper {
        gap: 20px !important;
    }
    .hantol-filter-left {
        flex: 0 0 220px !important;
        width: 220px !important;
        max-width: 220px !important;
        min-width: 220px !important;
    }
    .hantol-filter-right {
        width: calc(100% - 240px) !important;
    }
    .hantol-filter-right ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

@media (max-width: 767px) {
    .hantol-filter-wrapper {
        flex-direction: column !important;
        flex-flow: column wrap !important;
        gap: 25px !important;
    }
    .hantol-filter-left,
    .hantol-filter-right {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
    .hantol-filter-right ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .hantol-filter-right ul.products {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}


