/* =========================================
   1. GLOBAL LAYOUT WRAPPER
   ========================================= */

/* Force Theme Container to Full Width on Shop Pages - CONTENT ONLY */
body.woocommerce-shop .site-content .woostify-container,
body.tax-product_cat .site-content .woostify-container,
body.woocommerce-shop #content .woostify-container,
body.tax-product_cat #content .woostify-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.asl-shop-page-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /* Ensure full width */
    max-width: 100%;
    /* Override previous 1500px limit if needed, or keep it large */
    margin: 0;
    background: #f5f6f8;
    /* Light background for the page */
    padding: 20px;
    /* spacing around containers */
    box-sizing: border-box;
    gap: 10px;
    /* Gap between Left and Right containers */
    align-items: stretch;
    /* Make columns fill container height */
    min-height: calc(100vh - 150px);
    /* Fill remaining viewport height (adjust 150px for header) */
    font-family: "Amazon Ember", "Arial", sans-serif;
    /* Enforce cleaner font */
}

/* LEFT COLUMN */
.asl-col-left {
    width: 270px;
    /* Fixed width */
    flex: 0 0 270px;
    border: 1px solid #e7e7e7;
    /* Full border */
    border-radius: 4px;
    /* Card look */
    padding: 20px;
    /* Internal padding */
    box-sizing: border-box;
    background: #fff;
    margin-right: 0;
}

/* RIGHT COLUMN */
.asl-col-right {
    flex: 1;
    min-width: 0;
    /* Flex fix */
    box-sizing: border-box;
    background: #fff;
    padding: 20px;
    /* Internal padding */
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

/* =========================================
   2. LEFT COLUMN: FILTERS
   ========================================= */
.asl-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.asl-filters-header h3 {
    font-size: 16px;
    font-weight: 600;
    /* Reduced from 700 */
    margin: 0;
    color: #0F1111;
    font-family: inherit;
}

.asl-clear-all {
    font-size: 12px;
    color: #007185;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
}

.asl-clear-all:hover {
    color: #C7511F;
}

/* FILTER GROUPS */
.asl-filter-group {
    margin-bottom: 0;
    /* Removed bottom margin for tight stack */
    border-bottom: 1px solid #eee;
    padding-bottom: 0;
}

/* Last one no border */
.asl-filter-group:last-child {
    border-bottom: none;
}

.asl-filter-header {
    font-size: 14px;
    font-weight: 600;
    /* Reduced from 700 */
    margin: 0;
    /* Remove margin */
    padding: 12px 0;
    /* Clickable area padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center icon vertically */
    cursor: pointer;
    color: #0F1111;
}

.asl-toggle-icon {
    color: #565959;
    font-weight: 400;
    font-size: 18px;
    /* Slightly larger icon */
    line-height: 1;
}

/* Content hidden by default for Accordion */
.asl-filter-content {
    display: none;
    padding-bottom: 15px;
    /* Add padding at bottom when open */
}

/* Checkbox Lists */
.asl-checkbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asl-checkbox-list li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #0F1111;
}

.asl-checkbox-list label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.asl-checkbox-list input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #0F1111;
}

/* Mock / Widget overrides */
.asl-filter-content .widget {
    border: none;
    margin: 0;
    padding: 0;
}

.asl-filter-content .widget-title {
    display: none;
    /* Hide standard titles since we use ours */
}

/* =========================================
   2.1. ACTIVE FILTERS & CHIPS
   ========================================= */
.asl-active-filters {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.asl-active-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.asl-active-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #0F1111;
}

.asl-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.asl-active-filters-list {
    max-height: 110px;
    /* Approx 3 rows */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.asl-active-filters-list.expanded {
    max-height: 2000px;
    /* Arbitrary large height for transition */
}

.asl-show-more-filters {
    cursor: pointer;
    color: #007185;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
}

.asl-show-more-filters:hover {
    color: #C7511F;
    text-decoration: underline;
}

.asl-active-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #e7e7e7;
    border-radius: 4px;
    /* Slightly rounded per Amazon style */
    font-size: 13px;
    color: #0F1111;
    text-decoration: none;
    font-weight: 400;
    transition: background 0.2s;
}

.asl-active-filter-chip:hover {
    background: #dcdcdc;
    color: #0F1111;
    text-decoration: none;
}

.asl-active-filter-chip .remove-icon {
    font-size: 10px;
    margin-right: 6px;
    color: #565959;
    font-weight: 700;
}

.asl-active-filter-chip:hover .remove-icon {
    color: #0F1111;
}

/* =========================================
   CATEGORY DRILL-DOWN (Arrow Style)
   ========================================= */
.asl-category-drilldown {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asl-category-drilldown li {
    margin-bottom: 10px;
    font-size: 14px;
}

.asl-category-drilldown a {
    text-decoration: none;
    color: #0F1111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asl-category-drilldown a:hover {
    color: #C7511F;
}

/* Category Icon - Common Styles */
.asl-category-drilldown .cat-icon {
    font-size: 14px;
    font-weight: 400;
    color: #878787;
    display: inline-block;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

/* Ancestor Categories - Back Arrow */
.asl-category-drilldown .cat-ancestor a {
    color: #878787;
}

.asl-category-drilldown .cat-ancestor a:hover {
    color: #007185;
}

/* Current Category - Down Arrow */
.asl-category-drilldown .cat-current {
    margin: 8px 0;
    padding-left: 0;
}

.asl-category-drilldown .cat-current strong {
    font-weight: 600;
    font-size: 14px;
    color: #0F1111;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asl-category-drilldown .cat-current .cat-icon {
    color: #0F1111;
    transform: rotate(90deg);
    font-weight: 600;
}

/* Child Categories */
.asl-category-drilldown .cat-children {
    list-style: none;
    padding-left: 22px;
    margin-top: 8px;
    margin-bottom: 0;
}

.asl-category-drilldown .cat-children li {
    margin-bottom: 8px;
}

.asl-category-drilldown .cat-children li:last-child {
    margin-bottom: 0;
}

/* =========================================
   PRICE RANGE SLIDER (Dual Handle)
   ========================================= */
.asl-price-slider-wrapper {
    padding: 10px 5px 20px 5px;
    width: 100%;
    box-sizing: border-box;
}

.asl-slider-container {
    position: relative;
    width: 100%;
    height: 4px;
    background: #e7e7e7;
    /* Inactive track */
    border-radius: 2px;
}

/* The active blue track */
.asl-slider-track {
    position: absolute;
    height: 100%;
    background: #007185;
    /* Amazon Blue */
    border-radius: 2px;
    z-index: 1;
    left: 0;
    right: 0;
}

/* Inputs on top */
.asl-slider-container input[type="range"] {
    position: absolute;
    width: 100%;
    height: 20px;
    /* larger tap area */
    top: -9px;
    /* center on track */
    left: 0;
    pointer-events: none;
    /* Let clicks pass through to one below */
    background: none;
    appearance: none;
    -webkit-appearance: none;
    z-index: 2;
    margin: 0;
}

.asl-slider-container input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    /* Re-enable pointer events for thumb */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #a6a6a6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: 0;
    z-index: 3;
}

.asl-slider-container input[type="range"]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}

/* Price Controls - Input Boxes */
.asl-price-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 5px;
}

.asl-price-input-wrapper {
    display: flex;
    align-items: center;
    background: #F0F2F2;
    border: 1px solid #D5D9D9;
    border-radius: 4px;
    padding: 6px 10px;
    flex: 1;
}

.asl-price-input-wrapper .currency {
    color: #565959;
    font-size: 13px;
    margin-right: 4px;
}

.asl-price-input-wrapper input {
    border: none;
    background: transparent;
    font-size: 13px;
    color: #0F1111;
    width: 100%;
    outline: none;
    font-weight: 500;
}

.asl-price-controls .to {
    color: #565959;
    font-size: 12px;
    flex-shrink: 0;
}

/* Hide Old Quick Ranges */
.asl-quick-ranges {
    display: none;
}


/* Search Input inside Filter */
.asl-filter-search {
    position: relative;
    margin-bottom: 10px;
}

.asl-filter-search .icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
}

.asl-search-input {
    width: 100%;
    padding: 6px 6px 6px 30px;
    border: 1px solid #bbb;
    /* Slightly darker */
    border-radius: 4px;
    font-size: 13px;
}

.asl-show-more {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #007185;
    text-decoration: none;
}

.asl-show-more:hover {
    color: #C7511F;
    text-decoration: underline;
}

/* Sidebar Links (Quick Filters) */
.asl-sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asl-sidebar-links li {
    margin-bottom: 6px;
}

.asl-sidebar-links a {
    text-decoration: none;
    color: #0F1111;
    font-size: 14px;
    display: block;
}

.asl-sidebar-links a:hover {
    color: #C7511F;
    text-decoration: underline;
}

/* =========================================
   CATEGORY HIERARCHY STYLING (Drill Down)
   ========================================= */
.asl-filter-content .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asl-filter-content .product-categories li {
    margin-bottom: 8px;
    font-size: 14px;
    position: relative;
}

.asl-filter-content .product-categories a {
    text-decoration: none;
    color: #0F1111;
    /* Normal text color */
    display: block;
    line-height: 1.4;
}

.asl-filter-content .product-categories a:hover {
    color: #C7511F;
}

/* Indentation for Children */
.asl-filter-content .product-categories .children {
    list-style: none;
    padding-left: 15px;
    /* Visual Indent */
    margin-top: 8px;
    border-left: 1px solid #eee;
    /* Optional guide line */
}

/* Parent Category Look (Back Arrow style if needed, or just specific styling) */
/* If a category is current, bold it */
.asl-filter-content .product-categories li.current-cat>a {
    font-weight: 600;
    /* Reduced from 700 */
    color: #0F1111;
}

/* Optional: Add chevron for parents if they have children (Woo doesn't add class easily without walker, but we can style active tree) */
/* Top Level Items */
.asl-filter-content .product-categories>li>a {
    font-weight: 500;
}

/* Custom Rating Filter Styles */
.asl-rating-list li {
    margin-bottom: 10px;
}

.asl-rating-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.asl-rating-list .asl-stars {
    color: #DE7921;
    font-size: 16px;
    letter-spacing: 1px;
}

.asl-rating-list .asl-rating-text {
    color: #0F1111;
    font-size: 13px;
}

.asl-rating-list li:hover .asl-rating-text {
    color: #C7511F;
}

/* Count styling */
.asl-filter-content .count {
    display: none;
    /* Hide counts according to simple Amazon style, or keep low profile */
}

/* =========================================
   3. RIGHT COLUMN: HEADER AREAS
   ========================================= */
.asl-breadcrumb-row {
    font-size: 12px;
    color: #565959;
    margin-bottom: 10px;
}

.asl-breadcrumb-row a {
    color: #565959;
    text-decoration: none;
}

.asl-breadcrumb-row a:hover {
    text-decoration: underline;
}

.woocommerce-products-header__title {
    font-size: 24px;
    font-weight: 600;
    /* Reduced from 700 */
    color: #0F1111;
    margin-bottom: 10px;
}

/* SORT TABS */
.asl-sort-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.asl-sort-label {
    font-weight: 600;
    /* Reduced from 700 */
    font-size: 13px;
    margin-right: 15px;
}

.asl-sort-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.asl-sort-tabs li a {
    text-decoration: none;
    color: #0F1111;
    font-size: 13px;
    padding: 5px 2px;
}

.asl-sort-tabs li.active a {
    font-weight: 600;
    /* Reduced from 700 */
    border-bottom: 2px solid #0F1111;
}

/* =========================================
   4. PRODUCT GRID (DESKTOP)
   ========================================= */
.asl-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 per row */
    gap: 4px;
    /* Gap between cards */
}

.asl-product-card {
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: #fff;
    /* Fixed Height Card Logic */
    /* height: 420px; Removed fixed height constraint on container to allow content flow */
    position: relative;
    box-sizing: border-box;
}

.asl-card-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.asl-card-image img {
    max-height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Wishlist Icon - Top Right Corner */
.asl-wishlist-wrapper {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.asl-wishlist-btn {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: none;
}

.asl-wishlist-btn:hover {
    transform: scale(1.1);
}

.asl-wishlist-btn svg {
    display: block;
}

.asl-product-title {
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 3px 0;
    font-weight: 500;
    /* 2 line clamp with ellipsis */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asl-product-title a {
    color: #0F1111;
    text-decoration: none;
}

.asl-product-title a:hover {
    color: #007185;
}

.asl-product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    font-size: 12px;
    gap: 4px;
}

/* Rating wrapper with popover */
.asl-rating-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.asl-stars-trigger {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}

.asl-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.asl-star-icon {
    display: block;
}

.asl-popover-arrow {
    margin-left: 2px;
    transition: transform 0.2s;
}

.asl-stars-trigger:hover .asl-popover-arrow {
    transform: rotate(180deg);
}

/* Rating Popover */
.asl-rating-popover {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 12px;
    min-width: 180px;
    margin-top: 5px;
}

.asl-rating-wrapper:hover .asl-rating-popover {
    display: block;
}

.asl-popover-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.asl-popover-stars {
    display: flex;
    gap: 1px;
}

.asl-popover-rating {
    font-size: 14px;
    font-weight: 600;
    color: #0F1111;
}

.asl-popover-count {
    font-size: 12px;
    color: #565959;
    margin-bottom: 8px;
}

.asl-popover-link {
    font-size: 12px;
    color: #007185;
    text-decoration: none;
}

.asl-popover-link:hover {
    color: #C7511F;
    text-decoration: underline;
}

.asl-rating-count {
    margin-left: 2px;
    color: #007185;
    font-size: 12px;
}

.asl-deal-badge {
    background: #CC0C39;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    display: inline-block;
    border-radius: 2px;
    margin-bottom: 2px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.asl-price-block {
    margin-bottom: 1px;
}

.asl-price-current {
    font-size: 14px;
    font-weight: 600;
    color: #0F1111;
}

.asl-price-mrp {
    font-size: 12px;
    text-decoration: line-through;
    color: #565959;
    margin-left: 5px;
}

.asl-price-off {
    font-size: 12px;
    color: #CC0C39;
    margin-left: 5px;
}

.asl-free-shipping {
    font-size: 12px;
    color: #007600;
    font-weight: 600;
    margin-bottom: 2px;
}

.asl-delivery-info {
    font-size: 12px;
    color: #0F1111;
    margin-bottom: 3px;
}

/* ACTIONS */
.asl-card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    /* Side by side buttons */
    justify-content: space-between;
    /* Left and right aligned */
    gap: 8px;
}

.asl-btn-cart,
.asl-card-actions .add_to_cart_button,
.asl-btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3px 18px;
    /* Smaller height, wider buttons */
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    line-height: normal;
    min-height: 28px;
    /* Ensure clickability */
}

.asl-btn-cart,
.asl-card-actions .add_to_cart_button {
    background: #FFD814;
    border: 1px solid #FCD200;
    color: #0F1111;
}

.asl-btn-cart:hover,
.asl-card-actions .add_to_cart_button:hover {
    background: #F7CA00;
}

.asl-btn-buy {
    background: #FFA41C;
    border: 1px solid #FF8F00;
    color: #0F1111;
}

.asl-btn-buy:hover {
    background: #FA8900;
}

/* =========================================
   5. MOBILE & TABLET STYLES
   ========================================= */
/* Defaults hidden on Desktop */
.asl-mobile-sticky-bar,
.asl-mobile-chips-scroll,
.asl-mobile-header-bar,
.asl-sort-modal,
.asl-filter-panel,
.asl-inline-sme-block,
.asl-nav-menu-panel,
.asl-mobile-logo-link,
.asl-hamburger-btn {
    display: none;
}

/* Mobile Header Bar Styles */
@media (max-width: 900px) {

    /* Hide main theme header on mobile/tablet for shop pages */
    body.woocommerce-shop .site-header,
    body.woocommerce-shop #masthead,
    body.woocommerce-shop .header,
    body.woocommerce-shop header,
    body.tax-product_cat .site-header,
    body.tax-product_cat #masthead,
    body.tax-product_cat .header,
    body.tax-product_cat header {
        display: none !important;
    }

    /* Remove ALL top spacing from body and main containers */
    body.woocommerce-shop,
    body.tax-product_cat {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.woocommerce-shop #page,
    body.woocommerce-shop #content,
    body.woocommerce-shop .site,
    body.woocommerce-shop .site-content,
    body.woocommerce-shop .main-content,
    body.woocommerce-shop #primary,
    body.tax-product_cat #page,
    body.tax-product_cat #content,
    body.tax-product_cat .site,
    body.tax-product_cat .site-content,
    body.tax-product_cat .main-content,
    body.tax-product_cat #primary {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Remove margin adjustment since header is now hidden */
    .asl-shop-page-wrapper {
        margin-top: 0;
    }

    body.woocommerce-shop .content-top,
    body.tax-product_cat .content-top {
        display: none !important;
    }

    .asl-mobile-header-bar {
        display: flex;
        align-items: center;
        background: #232F3E;
        padding: 10px 12px;
        gap: 12px;
        border-bottom: 1px solid #3a4553;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        z-index: 100;
    }

    .asl-mobile-search-wrapper {
        flex: 3;
        min-width: 0;
    }

    .asl-mobile-search-form {
        display: flex;
        align-items: center;
        background: #f5f6f8;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 4px 12px;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .asl-mobile-search-form:focus-within {
        border-color: #007185;
        box-shadow: 0 0 0 2px rgba(0, 113, 133, 0.15);
    }

    .asl-mobile-search-form .search-icon {
        color: #565959;
        display: flex;
        align-items: center;
        margin-left: 8px;
        flex-shrink: 0;
        order: 2;
        /* Move to right side */
        cursor: pointer;
    }

    .asl-mobile-search-input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 14px;
        color: #0F1111;
        outline: none;
        min-width: 0;
        width: 100%;
        order: 1;
    }

    .asl-mobile-search-input::placeholder {
        color: #888;
    }

    .asl-mobile-icons {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .asl-mobile-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        text-decoration: none;
        transition: background 0.2s, color 0.2s;
        position: relative;
    }

    .asl-mobile-icon:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #FF9900;
    }

    .asl-mobile-icon svg {
        display: block;
    }

    /* Cart Count Badge */
    .asl-cart-count {
        position: absolute;
        top: 0;
        right: 0;
        background: #CC0C39;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        min-width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        box-sizing: border-box;
    }

    /* =========================================
       MOBILE LOGO ICON
       ========================================= */
    .asl-mobile-logo-link {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        text-decoration: none;
        color: #fff;
    }

    .asl-mobile-logo-img {
        width: 32px;
        height: 32px;
        object-fit: contain;
        border-radius: 4px;
    }

    .asl-mobile-logo-link svg {
        display: block;
    }

    /* =========================================
       HAMBURGER BUTTON / BACK BUTTON
       ========================================= */
    .asl-hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        position: relative;
    }

    .asl-hamburger-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 22px;
        height: 18px;
        gap: 4px;
    }

    .asl-hamburger-line {
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        border-radius: 1px;
        transition: all 0.3s ease;
    }

    .asl-back-icon {
        display: none;
        color: #fff;
    }

    .asl-back-icon svg {
        display: block;
    }

    /* Back Mode - Show back icon, hide hamburger */
    .asl-hamburger-btn.is-back-mode .asl-hamburger-icon {
        display: none;
    }

    .asl-hamburger-btn.is-back-mode .asl-back-icon {
        display: flex;
    }

    /* =========================================
       SEARCH SUBMIT BUTTON
       ========================================= */
    .asl-search-submit {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0;
        margin-left: 8px;
        cursor: pointer;
        color: #565959;
        flex-shrink: 0;
        order: 2;
        /* Ensures icon is on the right */
    }

    .asl-search-submit:hover {
        color: #007185;
    }

    .asl-search-submit svg {
        display: block;
    }

    /* =========================================
       NAVIGATION MENU PANEL (Slide-in)
       ========================================= */
    .asl-nav-menu-panel {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: visibility 0.3s, opacity 0.3s;
    }

    .asl-nav-menu-panel.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .asl-nav-menu-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .asl-nav-menu-content {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 80%;
        background: #fff;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
    }

    .asl-nav-menu-panel.active .asl-nav-menu-content {
        transform: translateX(0);
    }

    .asl-nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        background: #f5f6f8;
    }

    .asl-nav-menu-title {
        font-size: 18px;
        font-weight: 600;
        color: #0F1111;
    }

    .asl-nav-menu-close {
        background: none;
        border: none;
        font-size: 28px;
        color: #565959;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .asl-nav-menu-close:hover {
        color: #0F1111;
    }

    .asl-nav-menu-list {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
    }

    .asl-nav-menu-item {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 14px 20px;
        color: #0F1111;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        border-bottom: 1px solid #f0f0f0;
        transition: background 0.2s, color 0.2s;
    }

    .asl-nav-menu-item:hover {
        background: #f5f6f8;
        color: #007185;
    }

    .asl-nav-menu-item svg {
        flex-shrink: 0;
        color: #565959;
    }

    .asl-nav-menu-item:hover svg {
        color: #007185;
    }
}

@media (max-width: 900px) {

    /* Layout Reset */
    .asl-shop-page-wrapper {
        display: block;
        /* Stack */
        padding: 0;
        background: #f5f6f8;
        /* Light BG for mobile page */
        gap: 0;
    }

    /* Hide Desktop Sidebar */
    .asl-col-left {
        display: none;
        /* Could be toggleable via off-canvas later */
    }

    .asl-col-right {
        width: 100%;
        padding: 0;
        border: none;
        background: #f5f6f8;
    }

    /* Hide Desktop Breadcrumb & Sort */
    .asl-breadcrumb-row,
    .asl-sort-row,
    .woocommerce-products-header {
        display: none;
    }

    /* Inline SME Blocks (Mobile Only) */
    .asl-inline-sme-block {
        display: block;
        grid-column: 1 / -1;
        /* Span full width of grid */
        background: #fff;
        margin: 10px 0;
        padding: 10px 0;
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
        overflow: hidden;
        /* Contain the scroll */
    }

    .asl-inline-sme-block .sme-wrapper {
        margin: 0;
        padding: 0 10px;
        overflow: hidden;
    }

    .asl-inline-sme-block .sme-title {
        font-size: 14px;
        font-weight: 600;
        margin: 0 0 10px 0;
        padding: 0;
        color: #0F1111;
    }

    .asl-inline-sme-block .sme-scroll-view {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        gap: 10px;
        padding-bottom: 8px;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }

    .asl-inline-sme-block .sme-scroll-view::-webkit-scrollbar {
        display: none;
    }

    .asl-inline-sme-block .sme-card {
        flex: 0 0 120px;
        background: #fff;
        border: 1px solid #e7e7e7;
        border-radius: 4px;
        padding: 8px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .asl-inline-sme-block .sme-img {
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .asl-inline-sme-block .sme-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .asl-inline-sme-block .sme-cat {
        font-size: 11px;
        color: #0F1111;
        margin: 5px 0 2px;
        text-align: center;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .asl-inline-sme-block .sme-price {
        font-size: 11px;
        color: #0F1111;
        margin: 0;
        text-align: center;
        font-weight: 500;
    }

    /* 2. STICKY SORT/FILTER */
    /* 2. STICKY SORT/FILTER */
    .asl-mobile-sticky-bar {
        display: flex;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: relative;
        z-index: 99;
        width: 100%;
    }

    .asl-mobile-sticky-bar.asl-sticky-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
        animation: slideDown 0.2s ease-out;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .asl-mobile-sort-trigger,
    .asl-mobile-filter-trigger {
        flex: 1;
        text-align: center;
        padding: 8px;
        font-size: 14px;
        font-weight: 500;
        border-right: 1px solid #f0f0f0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .asl-mobile-sort-trigger .icon,
    .asl-mobile-filter-trigger .icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
    }

    .asl-mobile-sort-trigger .icon svg,
    .asl-mobile-filter-trigger .icon svg {
        display: block;
    }

    /* 3. CHIPS SCROLL */
    .asl-mobile-chips-scroll {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        background: #fff;
        padding: 10px;
        scrollbar-width: none;
        /* Hide scrollbar */
        gap: 10px;
        border-bottom: 1px solid #e7e7e7;
    }

    .asl-mobile-chips-scroll::-webkit-scrollbar {
        display: none;
    }

    .asl-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 13px;
        color: #0F1111;
        flex-shrink: 0;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .asl-chip:hover {
        border-color: #007185;
        color: #007185;
        background: #f6fafb;
    }

    /* Active Chip */
    .asl-chip.active {
        background: #e7f4f5;
        border-color: #007185;
        color: #007185;
        font-weight: 500;
    }

    .asl-chip.active:hover {
        background: #d0ecef;
    }

    /* Remove icon inside active chip */
    .asl-chip .chip-remove {
        font-size: 10px;
        font-weight: 700;
        margin-left: 2px;
        opacity: 0.7;
    }

    .asl-chip:hover .chip-remove {
        opacity: 1;
    }

    /* =========================================
       SORT MODAL (Bottom Sheet Style)
       ========================================= */
    .asl-sort-modal {
        display: block;
        /* Override display: none from global */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        /* Prevent interaction when hidden */
        transition: visibility 0.3s, opacity 0.3s;
    }

    .asl-sort-modal.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .asl-modal-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .asl-sort-modal-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        max-height: 70vh;
        overflow-y: auto;
    }

    .asl-sort-modal.active .asl-sort-modal-content {
        transform: translateY(0);
    }

    .asl-sort-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
    }

    .asl-sort-modal-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #0F1111;
    }

    .asl-modal-close-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: #565959;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    .asl-sort-options-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .asl-sort-options-list li {
        border-bottom: 1px solid #f0f0f0;
    }

    .asl-sort-options-list li:last-child {
        border-bottom: none;
    }

    .asl-sort-options-list li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        color: #0F1111;
        text-decoration: none;
        font-size: 14px;
    }

    .asl-sort-options-list li.active a {
        color: #007185;
        font-weight: 600;
    }

    .asl-sort-options-list .check-icon {
        color: #007185;
        font-weight: 600;
    }

    /* =========================================
       FILTER PANEL (Off-Canvas Style)
       ========================================= */
    .asl-filter-panel {
        display: block;
        /* Override display: none from global */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        /* Prevent interaction when hidden */
        transition: visibility 0.3s, opacity 0.3s;
    }

    .asl-filter-panel.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .asl-panel-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .asl-filter-panel-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 85%;
        max-width: 350px;
        background: #fff;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
    }

    .asl-filter-panel.active .asl-filter-panel-content {
        transform: translateX(0);
    }

    .asl-filter-panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #eee;
        background: #fff;
        flex-shrink: 0;
    }

    .asl-filter-panel-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #0F1111;
    }

    .asl-panel-close-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: #565959;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }

    .asl-filter-panel-body {
        flex: 1;
        overflow-y: auto;
        padding: 15px;
    }

    .asl-filter-panel-footer {
        display: flex;
        gap: 10px;
        padding: 15px 20px;
        border-top: 1px solid #eee;
        background: #fff;
        flex-shrink: 0;
    }

    .asl-clear-filters-btn {
        flex: 1;
        padding: 12px;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        color: #0F1111;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

    .asl-apply-filters-btn {
        flex: 1;
        padding: 12px;
        text-align: center;
        border: none;
        border-radius: 8px;
        background: #007185;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
    }

    .asl-apply-filters-btn:hover {
        background: #005F6B;
    }

    /* Pending filter selection visual feedback */
    .asl-pending-filter {
        background: #e6f7f9 !important;
        color: #007185 !important;
        font-weight: 600;
    }

    /* 4. MOBILE PRODUCT LIST (Horizontal) */
    .asl-product-grid {
        grid-template-columns: 1fr;
        /* 1 per row */
        border: none;
        gap: 2px;
        /* Slight gap */
    }

    .asl-product-card {
        flex-direction: row;
        /* Horizontal */
        border: none;
        margin-bottom: 5px;
        /* Separation */
        padding: 10px;
        align-items: flex-start;
    }

    /* Left Image */
    .asl-card-image {
        width: 120px;
        /* Fixed width */
        height: 140px;
        margin-right: 15px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    /* Right Content */
    .asl-card-content {
        flex: 1;
        min-width: 0;
    }

    /* Wishlist Icon Repositioning (Near Title) */
    .asl-wishlist-wrapper {
        position: absolute;
        top: 0;
        right: 0;
        /* Need relative parent for content? */
    }

    .asl-card-content {
        position: relative;
        /* For wishlist absolute pos */
    }

    .asl-product-title {
        font-size: 14px;
        margin-right: 25px;
        /* Space for wishlist */
        max-height: 4.2em;
        /* 3 lines? */
    }

    /* Mobile Buttons Side-by-Side */
    .asl-card-actions {
        flex-direction: row;
        margin-top: 10px;
    }

    .asl-btn-cart,
    .asl-btn-buy {
        flex: 1;
        font-size: 12px;
        padding: 8px 5px;
    }

    /* Variant Text */
    .asl-variants-link {
        font-size: 12px;
        color: #565959;
        margin-bottom: 5px;
    }

    .asl-save-info {
        font-size: 11px;
        color: #007600;
        /* Green */
        margin-bottom: 3px;
    }
}

/* =========================================
   SME (Smart Merchandising) in Sidebar Override
   ========================================= */
.asl-col-left .sme-wrapper {
    border: none;
    margin: 0;
    padding: 10px 0;
}

.asl-col-left .sme-title {
    font-size: 16px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 12px;
}

/* =========================================
   ENHANCED PRODUCT CARD STYLES
   ========================================= */

/* Card Hover Effect */
.asl-product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asl-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* =========================================
   IMAGE BADGES (Priority-based)
   ========================================= */
.asl-image-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    z-index: 5;
    line-height: 1.2;
    white-space: nowrap;
}

/* Low Stock - Orange */
.asl-badge-low-stock {
    background: #FF6B00;
    color: #fff;
}

/* Best Seller - Gold */
.asl-badge-best-seller {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
}

/* Top Rated - Teal */
.asl-badge-top-rated {
    background: #007185;
    color: #fff;
}

/* Featured - Blue */
.asl-badge-featured {
    background: #146EB4;
    color: #fff;
}

/* New Arrival - Green */
.asl-badge-new {
    background: #067D62;
    color: #fff;
}

/* Sponsored - Gray (subtle) */
.asl-badge-sponsored {
    background: #f0f0f0;
    color: #565959;
}

/* =========================================
   GALLERY DOTS
   ========================================= */
.asl-gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    align-items: center;
}

.asl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
}

.asl-dot.active {
    background: #333;
}

.asl-dot-more {
    font-size: 9px;
    color: #565959;
    margin-left: 2px;
}

/* =========================================
   QUICK VIEW BUTTON
   ========================================= */
.asl-quick-view-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
    white-space: nowrap;
}

.asl-quick-view-btn svg {
    flex-shrink: 0;
}

.asl-product-card:hover .asl-quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.asl-quick-view-btn:hover {
    background: #fff;
    border-color: #007185;
    color: #007185;
}

/* =========================================
   SPONSORED LABEL (subtle)
   ========================================= */
.asl-sponsored-label {
    font-size: 10px;
    color: #565959;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   SAVINGS TEXT
   ========================================= */
.asl-savings-text {
    font-size: 11px;
    color: #067D62;
    font-weight: 500;
    margin-bottom: 1px;
}

/* =========================================
   COUPON INDICATOR
   ========================================= */
.asl-coupon-text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #007185;
    margin-bottom: 3px;
}

.asl-coupon-text svg {
    flex-shrink: 0;
    stroke: #007185;
}

/* =========================================
   STOCK STATUS
   ========================================= */
.asl-stock-status {
    font-size: 11px;
    margin-bottom: 3px;
}

.asl-stock-in {
    color: #067D62;
}

.asl-stock-out {
    color: #CC0C39;
    font-weight: 600;
}

.asl-stock-backorder {
    color: #C45500;
}

/* =========================================
   COLOR SWATCHES
   ========================================= */
.asl-color-swatches {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 5px;
}

.asl-color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.15s;
}

.asl-color-swatch:hover {
    transform: scale(1.2);
    border-color: #333;
}

.asl-color-more {
    font-size: 10px;
    color: #565959;
    margin-left: 2px;
}

/* =========================================
   SIZE OPTIONS
   ========================================= */
.asl-size-options {
    font-size: 11px;
    color: #565959;
    margin-bottom: 5px;
}

.asl-size-more {
    color: #007185;
}

/* =========================================
   OUT OF STOCK BUTTON
   ========================================= */
.asl-out-of-stock-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 6px 10px;
    background: #f0f0f0;
    color: #565959;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: not-allowed;
}


/* =========================================
   FIX FOR AJAX ADD TO CART BUTTON
   ========================================= */

/* 1. Hide the Add to Cart button when "added" class is present (AJAX success) */
.asl-card-actions .ajax_add_to_cart.added {
    display: none !important;
}

/* 2. Style the injected "View Cart" link to look like the button */
.asl-card-actions .added_to_cart {
    flex: 1;
    font-size: 13px;
    padding: 8px 5px;
    background: #FFD814;
    border: 1px solid #FCD200;
    border-radius: 20px;
    color: #0F1111;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(213, 217, 217, .5);
    margin-right: 5px;
    /* Gap between buttons */
}

.asl-card-actions .added_to_cart:hover {
    background: #F7CA00;
    border-color: #F2C200;
    color: #0F1111;
    text-decoration: none;
}

/* Mobile Specific overrides if needed */
@media (max-width: 900px) {
    .asl-card-actions .added_to_cart {
        font-size: 12px;
        padding: 8px 5px;
    }
}

/* 3. Hide any theme-injected icons in the View Cart button */
.asl-card-actions .added_to_cart::before,
.asl-card-actions .added_to_cart::after {
    display: none !important;
    content: none !important;
}

.asl-card-actions .added_to_cart i,
.asl-card-actions .added_to_cart svg {
    display: none !important;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 900px) {
    .asl-quick-view-btn {
        display: none;
    }

    .asl-image-badge {
        font-size: 9px;
        padding: 2px 6px;
    }

    .asl-color-swatch {
        width: 14px;
        height: 14px;
    }

    .asl-product-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* =========================================
   QUICK VIEW MODAL STYLES
   ========================================= */
.asl-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.asl-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.asl-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.asl-modal-overlay.active .asl-modal-content {
    transform: translateY(0);
}

.asl-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #565959;
    z-index: 10;
    line-height: 1;
}

.asl-modal-close:hover {
    color: #000;
}

.asl-modal-body {
    padding: 20px;
}

body.asl-modal-open {
    overflow: hidden;
}

/* Modal Loading */
.asl-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #565959;
    font-size: 14px;
}

.asl-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e7e7e7;
    border-top-color: #007185;
    border-radius: 50%;
    animation: asl-spin 0.8s linear infinite;
    margin-bottom: 10px;
}

@keyframes asl-spin {
    to {
        transform: rotate(360deg);
    }
}

.asl-modal-error {
    text-align: center;
    padding: 40px 20px;
    color: #CC0C39;
}

/* Quick View Product Layout */
.asl-quick-view-product {
    display: flex;
    gap: 25px;
}

.asl-qv-image {
    flex: 0 0 45%;
    position: relative;
}

.asl-qv-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.asl-qv-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #CC0C39;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
}

.asl-qv-details {
    flex: 1;
}

.asl-qv-title {
    font-size: 18px;
    font-weight: 600;
    color: #0F1111;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.asl-qv-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.asl-qv-stars {
    display: flex;
    gap: 2px;
}

.asl-qv-rating-count {
    color: #007185;
    font-size: 13px;
}

.asl-qv-price {
    font-size: 22px;
    font-weight: 600;
    color: #0F1111;
    margin-bottom: 15px;
}

.asl-qv-price del {
    font-size: 14px;
    color: #565959;
    font-weight: 400;
}

.asl-qv-price ins {
    text-decoration: none;
}

.asl-qv-description {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
    max-height: 120px;
    overflow: hidden;
}

.asl-qv-description ul {
    margin: 0;
    padding-left: 18px;
}

.asl-qv-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.asl-qv-add-to-cart {
    background: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    color: #0F1111 !important;
    padding: 10px 25px !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: background 0.2s;
}

.asl-qv-add-to-cart:hover {
    background: #F7CA00 !important;
}

.asl-qv-out-of-stock {
    background: #f0f0f0;
    color: #565959;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 500;
}

.asl-qv-view-details {
    color: #007185;
    font-size: 14px;
    text-decoration: none;
}

.asl-qv-view-details:hover {
    color: #C7511F;
    text-decoration: underline;
}

/* Quick View Responsive */
@media (max-width: 600px) {
    .asl-quick-view-product {
        flex-direction: column;
    }

    .asl-qv-image {
        flex: none;
    }

    .asl-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .asl-qv-title {
        font-size: 16px;
    }

    .asl-qv-price {
        font-size: 18px;
    }
}

/* =========================================
   HAMBURGER MENU CATEGORIES
   ========================================= */
.asl-nav-category-toggle {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    cursor: pointer;
}

.asl-nav-menu-link-content {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Matches assumed existing gap */
}

.asl-menu-toggle-icon {
    font-size: 18px;
    font-weight: 400;
    color: #565959;
}

.asl-nav-category-list {
    background: #fbfbfb;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.asl-nav-sub-item {
    display: block;
    padding: 12px 20px 12px 55px;
    /* Indent to align with text start (20px pad + 20px icon + 15px gap) */
    color: #0F1111;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}

.asl-nav-sub-item:last-child {
    border-bottom: none;
}

.asl-nav-sub-item:hover {
    background: #f0f0f0;
    color: #C7511F;
}


.asl-view-all-cats {
    color: #007185;
    font-weight: 500;
}

/* =========================================
   HAMBURGER MENU - ACCOUNT & SUPPORT
   ========================================= */
.asl-nav-section-header {
    padding: 15px 20px 5px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.asl-menu-divider {
    height: 1px;
    background-color: #ddd;
    margin: 10px 0;
}

/* Ensure new links align nicely without icons if they don't have them */
.asl-nav-menu-item span {
    flex: 1;
}