h4 {}

.widget.widget-woof .widget-title {
    color: #50486c;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.64px;
    border-bottom: 4px solid #000000;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.widget.widget-woof {
    /* margin-top: -40px; */
    position: sticky;
    top: 100px;
}

.widget.widget-woof h4 {
    color: #50486c;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.48px;
    border-bottom: 2px solid rgb(80 72 108 / 10%);
    padding-bottom: 5px;
    margin-bottom: 8px;
}

label.woof_checkbox_label {
    color: #50486c;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
}

ul.woof_list.woof_list_checkbox input[type="checkbox"] {
    display: none;
}

ul.woof_list.woof_list_checkbox input[type="checkbox"] + label.woof_checkbox_label:before {content: '';display: inline-block;width: 19px;height: 19px;border: 1px solid rgb(112 112 112 / 25%);border-radius: 3px;vertical-align: sub;margin-left: 10px;vertical-align: inherit;}
ul.woof_list.woof_list_checkbox input[type="checkbox"]:checked + label.woof_checkbox_label:before {border-color: black;background: black;color: white;content: '\f00c';font-family: 'FontAwesome';text-align: center;line-height: 19px;font-size: 12px;}

.woof_submit_search_form_container {
    display: none;
}

ul.woof_list.woof_list_checkbox input[type="checkbox"]:checked + label.woof_checkbox_label {
    color: #3a58d4;
    font-weight: 700;
}



.pricing-table--options {color: #00bca8;left: -5px;display: none;position: absolute;top: 30px;width: calc(100% + 10px);/* min-width: 170px; */border: 2px solid #00bca8;z-index: 2;padding: 5px 0px;max-height: 300px;border-radius: 10px;overflow: auto;background: white;}

.pricing-table--filter {
    border-radius: 8px;
    background-color: rgb(80 72 108 / 5%);
    padding: 20px 25px;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    margin: 6px auto 30px;
    position: relative;
}

.pricing-table--types {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: auto;
}

.pricing-table--type {
    border-radius: 18px;
    /* background-color: #ffffff; */
    line-height: 36px;
    color: rgb(255 255 255 / 70%);
    font-size: 20px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.4px;
    margin-left: 25px;
    cursor: pointer;
    padding: 0px 14px;
    transition: 0.3s all ease;
}

.pricing-table--type.active {
    color: #00bca8;
    background: white;
}

.pricing-table--select {
    display: flex;
    margin: auto 0px;
    color: rgb(80 72 108 / 60%);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.4px;
    position: relative;
    margin-left: auto;
    margin-right: 0px;
    cursor: pointer;
}
.pricing-table--select + .pricing-table--select {
    margin-right: 80px;
}
.pricing-table--selector {
    margin-right: 22px;
    color: #00bca8;
    min-width: 110px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pricing-table--option {
    display: inline-block;
    width: 100%;
    /* float: right; */
    font-size: 16px;
    padding: 0px 15px;
    line-height: 1.9;
}

.pricing-table--option:hover {
    background: #00bca8;
    color: white;
}
img.small-arrow-down {
    margin: auto 0px;
    margin-right: 10px;
    vertical-align: middle;
}
.pricing-table--select.active .pricing-table--options {
    display: block;
}

.pricing-table {
    position: relative;
    z-index: 2;
}


ul.woof_list.woof_list_checkbox li.woof_term_137 label.woof_checkbox_label:before {
    width: 33px!important;
    height: 33px!important;
    border: 0px!important;
    background: url(/wp-content/themes/truepharm/images/tif.png)!important;
    vertical-align: middle!important;
}

ul.woof_list.woof_list_checkbox li.woof_term_205 label.woof_checkbox_label:before {
    width: 33px!important;
    height: 33px !important;
    border: 0px!important;
    background: url(/wp-content/themes/truepharm/images/oils.png)!important;
    vertical-align: middle!important;
}

ul.woof_list.woof_list_checkbox li.woof_term_206 label.woof_checkbox_label:before {
    width: 33px !important;
    height: 33px !important;
    border: 0px !important;
    background: url(/wp-content/themes/truepharm/images/accessories.png) !important;
    vertical-align: middle !important;
}

.woocommerce ul.products li.product .price del bdi {
    color: rgb(0 0 0 / 60%);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
}

p.woocommerce-info {
    background: none;
    padding: 0px;
    border: 0px;
    text-align: center;
    padding-top: 50px;
    font-size: 26px;
    font-weight: 500;
}

p.woocommerce-info::before {
    display: none;
}


ul.woof_childs_list {
    margin: 0px 20px 0px 0px !important;
}

.woof_childs_list_opener {
    margin-right: auto;
}

.woof_childs_list_opener span {
    background: none !important;
}

.woof_childs_list_opener span:after {content: '\f107';font-family: 'FontAwesome';color: black;line-height: 19px;}

.price_label {font-size: 0px;}

.price_label span {
    font-size: 14px;
}

.price_label span:first-child:before {content: '-';padding: 0px 10px;}


.rtl.woocommerce  .price_label {
    display: flex;
    direction: rtl;
    line-height: 10px;
    margin: auto !important;
    display: inline-flex;
}

.woocommerce .widget_price_filter .price_slider_amount {
    text-align: center;
    display: table;
    margin: auto;
}
 

.woof_show_text_search_container > input {
    border: 1px solid black;
    color: black;
    outline: none !important;
}
.woocommerce .woocommerce-ordering select {
    line-height: 40px !important;
    background: #FFF !important;
    height: 40px !important;
    border-radius: 0px;
    outline: none;
    border: 1px solid black;
    width: 100%;
    padding: 0px 10px;
}
main#main {
    max-width: 2340px;
    position: relative;
    margin: 0 auto;
}

span.woof_checkbox_count { 
    font-weight: 700;
    font-size: 0.8em;
    padding-right: 5px;
}
.woof_text_search_container .woof_text_search_go {right: auto;left: 10px;top: 10px;background: url(/wp-content/themes/bf2022/images/search.svg);}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background: #000000;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: #c0c0c0;
}

.chosen-container-single .chosen-single div {right: auto;left: 10px;line-height: 20px;top: 6px;}

.widget-woof .chosen-container-single .chosen-single {
    line-height: 40px !important;
    background: #FFF !important;
    height: 40px !important;
    border-radius: 0px;
    outline: none;
    border: 1px solid black;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background: #868686;
    border-color: #ffffff;
    top: -4px;
}

@media (max-width:992px)
{
    .widget.widget-woof .widget-title {font-size: 20px;margin-bottom: 10px;}

    .widget.widget-woof h4 {
        font-size: 16px;
    }

    p.woocommerce-info { font-size:18px; }
    
}

/* =======================================================================
   ALPINE CUSTOM FILTERS - Alpine Brand Style
   ======================================================================= */

.alpine-custom-filters {
    position: sticky;
    top: 100px;
    background: #ffffff;
    /* border: 1px solid rgb(80 72 108 / 10%); */
    /* border-radius: 8px; */
    /* padding: 20px; */
    margin-bottom: 30px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
}



.alpine-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid rgb(80 72 108 / 10%);
    padding-bottom: 10px;
}

.alpine-filters-header h3 {
    /* color: #50486c; */
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.64px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alpine-filters-header h3 i {
    color: #e13b42;
    font-size: 20px;
}

.alpine-clear-filters {
    border: 0;
    background: transparent;
    color: #e13b42;
    /* padding: 6px 12px; */
    /* border-radius: 3px; */
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.alpine-clear-filters:hover {
    color: #646464;
}

.alpine-filter-section {
    /* margin-bottom: 10px; */
}

.alpine-filter-section:last-child {
    margin-bottom: 0;
}

.alpine-filter-section h4 {
    /* color: #50486c; */
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
    letter-spacing: -0.48px;
    border-bottom: 3px solid rgb(246 40 66);
    padding-bottom: 0;
    margin-bottom: -2px;
}

.alpine-price-filter {
    gap: 15px;
    margin-bottom: 10px;
}

.alpine-price-slider-container {
    direction: ltr;
    padding: 20px 10px;
}

#alpine-price-slider {
    height: 8px;
    background: rgba(80, 72, 108, 0.1);
    border-radius: 4px;
    border: none;
    margin: 20px 0;
    position: relative;
}

/* Override jQuery UI default styles */
#alpine-price-slider.ui-slider {
    background: rgba(80, 72, 108, 0.1) !important;
    border: none !important;
    height: 8px !important;
}

#alpine-price-slider .ui-slider-range {
    background: #e13b42 !important;
    border-radius: 4px;
    height: 8px !important;
    border: none !important;
    top: 0 !important;
}

#alpine-price-slider .ui-slider-handle {
    width: 20px !important;
    height: 20px !important;
    background: #3a58d4 !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    outline: none !important;
    top: -6px !important;
    margin-left: -10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease;
}

#alpine-price-slider .ui-slider-handle:hover,
#alpine-price-slider .ui-slider-handle:focus,
#alpine-price-slider .ui-slider-handle.ui-state-active {
    background: #202020 !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(58, 88, 212, 0.3) !important;
    border-color: #ffffff !important;
}

#alpine-price-slider .ui-slider-handle:before {
    display: none !important;
}

/* Hide default jQuery UI styling */
#alpine-price-slider .ui-corner-all,
#alpine-price-slider .ui-widget-content,
#alpine-price-slider .ui-widget-header {
    background: #e13b42;
    border: none !important;
}

.alpine-price-display {
    text-align: center;
    direction: rtl;
    margin-top: 10px;
}

.price-values {
    background: rgba(80, 72, 108, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: #50486c;
    font-size: 16px;
    display: inline-block;
}

.currency {
    color: #e13b42;
    margin: 0 2px;
}

/* Color Filter - Compact Desktop Only */
.alpine-color-filter {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
}

.alpine-color-option {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 2px;
    transition: opacity 0.2s ease;
}

.alpine-color-option:hover {
    opacity: 0.8;
}

.alpine-color-option.active .color-swatch,
.alpine-color-option.active .color-image-swatch,
.alpine-color-option.active .color-placeholder {
    border: 2px solid #e0192e;
    box-shadow: 0 0 0 2px rgba(224, 25, 46, 0.2);
}

.alpine-color-option input[type="checkbox"] {
    display: none;
}

.color-swatch, .color-image-swatch, .color-placeholder {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.alpine-color-option:hover .color-swatch,
.alpine-color-option:hover .color-image-swatch,
.alpine-color-option:hover .color-placeholder {
    transform: scale(1.1);
}

.color-image-swatch {
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-image-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.color-image-swatch img.loaded {
    opacity: 1;
    transform: scale(1);
}

.color-image-swatch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.color-image-swatch.error::after {
    content: '?';
    border: none;
    color: #64748b;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: none;
}

.color-placeholder {
    background: linear-gradient(45deg, 
        #f1f5f9 25%, transparent 25%,
        transparent 75%, #f1f5f9 75%),
        linear-gradient(45deg, 
        #f1f5f9 25%, #e2e8f0 25%,
        #e2e8f0 75%, #f1f5f9 75%);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-placeholder i {
    color: #64748b;
    font-size: 16px;
    opacity: 0.7;
}

.color-name {
    font-size: 10px;
    font-weight: 400;
    color: #50486c;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.2px;
    max-width: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-count {
    display: none;
}

/* ===== Compact Color Filter Styling for All Elements ===== */
.alpine-filter-option.color,
.alpine-color-option,
.color-filter-item {
    margin: 0;
    padding: 1px;
    min-height: auto;
    min-width: auto;
}

.alpine-filter-option-text,
.color-label,
.color-description {
    font-size: 9px;
    line-height: 1;
    padding: 0;
    margin: 0;
}

/* Hide on mobile - comprehensive coverage */
@media (max-width: 768px) {
    .alpine-filter-section[data-filter-type="colors"],
    .alpine-filter-options.colors,
    .alpine-color-filter,
    .alpine-filter-option.color,
    .alpine-color-option,
    .color-swatch,
    .color-image-swatch,
    .color-placeholder,
    .color-name,
    .color-count,
    .color-label,
    .color-description,
    .color-filter-item,
    .alpine-mobile-color-swatch,
    [data-filter-type="colors"],
    [class*="color-filter"],
    [class*="color-swatch"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.alpine-size-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.alpine-size-option {
    cursor: pointer;
    background: white;
    border: 1px solid rgb(112 112 112 / 25%);
    border-radius: 3px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #50486c;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
    transition: all 0.2s ease;
}

.alpine-size-option:hover {
    border-color: #3a58d4;
    color: #3a58d4;
}

.alpine-size-option.active {
    color: #3a58d4;
    font-weight: 700;
    border-color: #3a58d4;
}

.alpine-size-option input[type="checkbox"] {
    display: none;
}

.size-name {
    flex: 1;
}

.size-count {
    font-size: 12px;
    color: rgb(80 72 108 / 60%);
    font-weight: 400;
}

.alpine-brand-filter,
.alpine-category-filter {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.alpine-brand-option,
.alpine-category-option {
    cursor: pointer;
    background: white;
    margin: 0;
    border-bottom: 1px solid rgb(112 112 112 / 25%);
    /* border-radius: 3px; */
    padding: 8px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #50486c;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
    transition: all 0.2s ease;
    position: relative;
}

.alpine-category-option .category-name {
    flex: 1;
    margin-left: 4px;
    order: 2; /* Place name after checkbox */
}

.alpine-category-option .category-count {
    margin-right: 8px;
    flex-shrink: 0;
    order: 3; /* Place count last */
}

.alpine-brand-option:hover,
.alpine-category-option:hover {
    border-color: #e13b42;
    color: #e13b42;
}

.alpine-brand-option.active,
.alpine-category-option.active {
    color: #3a58d4;
    font-weight: 700;
    border-color: #3a58d4;
}

.alpine-brand-option input[type="checkbox"],
.alpine-category-option input[type="checkbox"] {
    display: none;
}

/* Custom checkbox indicators */
.alpine-brand-option::before,
.alpine-category-option::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 3px;
    display: inline-block;
    margin-left: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    order: 0; /* Place checkbox after icon */
}

.alpine-brand-option.active::before,
.alpine-category-option.active::before {
    background-color: #3a58d4;
    border-color: #3a58d4;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-8.5 8.5-.708-.708 8.5-8.5.708.708z'/%3e%3cpath d='m5.354 7.146-1.5 1.5-.708-.708 1.5-1.5.708.708z'/%3e%3c/svg%3e");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hierarchical Category Styles */
.alpine-category-item.has-children {
    position: relative;
}

.alpine-category-option .category-toggle {
    background: none;
    border: none;
    padding: 0;
    margin-left: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    order: -1; /* Place toggle button first */
}

.alpine-category-option .category-toggle:hover {
    color: #e13b42;
}

.alpine-category-option .category-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.alpine-category-item.expanded .category-arrow {
    transform: rotate(90deg);
}

.alpine-category-children {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.alpine-category-item.expanded .alpine-category-children {
    max-height: 500px;
}

.alpine-category-option.child-category {
    padding-inline-start: 8px;
    font-size: 13px;
    opacity: 0.9;
    border-bottom: 1px solid rgb(112 112 112 / 15%);
}

.alpine-category-option.child-category:hover {
    opacity: 1;
}

.alpine-category-option.child-category::before {
    width: 14px;
    height: 14px;
    margin-left: 6px;
}

/* Category Icons in Filter Labels */
.alpine-category-option .category-icon {
    margin-left: 8px;
    margin-right: 6px;
    color: inherit;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    flex-shrink: 0;
    order: 0; /* Place icon after toggle button */
}

/* When category has toggle button, adjust icon spacing */
.alpine-category-item.has-children .alpine-category-option .category-icon {
    margin-left: 4px;
}

.alpine-category-option.child-category .category-icon {
    font-size: 12px;
    width: 14px;
    margin-left: 6px;
    margin-right: 4px;
    opacity: 0.8;
}

.alpine-category-option:hover .category-icon,
.alpine-category-option.active .category-icon {
    color: inherit;
}

.alpine-category-option.child-category:hover .category-icon,
.alpine-category-option.child-category.active .category-icon {
    opacity: 1;
}

/* Active Filter Icons */
.active-filter-tag i[class*="fa-"]:not(.fa-xmark) {
    margin-left: 4px;
    font-size: 12px;
    opacity: 0.8;
}

/* Super-Friendly Category Filter Enhancements */

/* Current category styling - the page user is currently on (now a checkbox) */
.alpine-category-item.current-category {
    background: linear-gradient(135deg, #e0192e10, #e0192e05);
    border: 2px solid #e0192e;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(224, 25, 46, 0.1);
    margin-bottom: 0.75rem;
}

.alpine-category-option.current-category {
    background: transparent;
    margin: 0;
    border: none;
    padding: 12px 8px;
    color: #e0192e;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    padding-inline-end: 0;
    letter-spacing: -0.32px;
}

.alpine-category-option.current-category .category-icon.current {
    color: #e0192e;
    font-size: 16px;
    margin-left: 8px;
    margin-right: 6px;
}

.alpine-category-option.current-category .category-name.current {
    flex: 1;
    margin-left: 4px;
    color: #e0192e;
    font-weight: 600;
}

.alpine-category-option.current-category .category-name.current small {
    font-weight: 400;
    opacity: 0.7;
    font-size: 11px;
}

/* Current category checkbox styling */
.alpine-category-option.current-category::before {
    background-color: #e0192e;
    border-color: #e0192e;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-8.5 8.5-.708-.708 8.5-8.5.708.708z'/%3e%3cpath d='m5.354 7.146-1.5 1.5-.708-.708 1.5-1.5.708.708z'/%3e%3c/svg%3e");
}

.alpine-category-option.current-category:hover {
    border-color: #e0192e;
    color: #e0192e;
}

/* Parent category checkbox styling (categories in current path) */
.alpine-category-option:has(input[data-parent-category="true"])::before {
    background-color: #ffeaa7;
    border-color: #fdcb6e;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23212529' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-8.5 8.5-.708-.708 8.5-8.5.708.708z'/%3e%3cpath d='m5.354 7.146-1.5 1.5-.708-.708 1.5-1.5.708.708z'/%3e%3c/svg%3e");
}

/* For browsers that don't support :has(), use class-based selector */
.alpine-category-option.parent-in-path::before {
    background-color: #ffeaa7;
    border-color: #fdcb6e;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23212529' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-8.5 8.5-.708-.708 8.5-8.5.708.708z'/%3e%3cpath d='m5.354 7.146-1.5 1.5-.708-.708 1.5-1.5.708.708z'/%3e%3c/svg%3e");
}

/* Category in current path (ancestors) */
.alpine-category-item.in-path {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
}

/* Parent category links */
.alpine-category-option .category-name.parent {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
}

.alpine-category-option .category-name.parent:hover {
    color: #e0192e;
    text-decoration: underline;
}

.alpine-category-option .category-name.parent small {
    font-weight: 400;
    opacity: 0.7;
    font-size: 11px;
}

.alpine-category-option .category-icon.parent {
    color: #6c757d;
    opacity: 0.8;
}

/* Filter section title with icon */
.alpine-filter-section h4 i {
    margin-left: 6px;
    font-size: 14px;
    opacity: 0.8;
}

/* Enhanced expand/collapse animations */
.alpine-category-children {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-inline-start: 2px solid transparent;
    margin-inline-start: 12px;
    padding-inline-start: 8px;
}

.alpine-category-item.expanded .alpine-category-children {
    border-color: rgba(224, 25, 46, 0.2);
}

/* Child category styling improvements */
.alpine-category-option.child-category.current-category {
    background: rgba(224, 25, 46, 0.1);
    border: 1px solid rgba(224, 25, 46, 0.3);
    border-radius: 4px;
    margin: 2px 0;
    padding: 10px 8px;
}

.alpine-category-option.child-category.current-category .category-icon.current {
    color: #e0192e;
    opacity: 1;
}

.alpine-category-option.child-category.current-category .category-name.current {
    color: #e0192e;
    font-weight: 600;
}

.alpine-category-option.child-category.current-category .category-name.current small {
    font-weight: 400;
    opacity: 0.7;
    font-size: 10px;
}

/* Multi-level category hierarchy styling */
.alpine-category-item.level-1 {
    margin-right: 0px;
}

.alpine-category-item.level-2 {
    margin-right: 16px;
}

.alpine-category-item.level-3 {
    margin-right: 32px;
}

.alpine-category-item.level-4 {
    margin-right: 48px;
}

.alpine-category-item.level-5 {
    margin-right: 64px;
}

/* Level-specific font sizes and styling */
.alpine-category-option.level-1 {
    font-size: 13px;
}

.alpine-category-option.level-2 {
    font-size: 12px;
}

.alpine-category-option.level-3 {
    font-size: 11px;
}

.alpine-category-option.level-4,
.alpine-category-option.level-5 {
    font-size: 10px;
}

/* Level-specific icon sizes */
.alpine-category-option.level-1 .category-icon {
    font-size: 13px;
}

.alpine-category-option.level-2 .category-icon {
    font-size: 12px;
}

.alpine-category-option.level-3 .category-icon {
    font-size: 11px;
}

.alpine-category-option.level-4 .category-icon,
.alpine-category-option.level-5 .category-icon {
    font-size: 10px;
}

/* Level-specific border styles for visual hierarchy */
.alpine-category-children.level-1 {
    border-inline-start: 2px solid rgba(224, 25, 46, 0.2);
    margin-inline-end: 0;
    padding-inline-end: 0;
}

.alpine-category-children.level-2 {
    border-left: 2px solid rgba(224, 25, 46, 0.15);
    margin-right: 10px;
    padding-right: 6px;
}

.alpine-category-children.level-3 {
    border-left: 1px solid rgba(224, 25, 46, 0.1);
    margin-right: 8px;
    padding-right: 4px;
}

.alpine-category-children.level-4,
.alpine-category-children.level-5 {
    border-left: 1px solid rgba(224, 25, 46, 0.05);
    margin-right: 6px;
    padding-right: 2px;
}

/* Dynamic Filter Styles - for showing only available options */
.alpine-filter-unavailable {
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.3s ease;
}

.alpine-filter-unavailable .category-name,
.alpine-filter-unavailable .brand-name,
.alpine-filter-unavailable .color-name,
.alpine-filter-unavailable .size-name {
    text-decoration: line-through;
    color: #999;
}

.alpine-filter-unavailable .category-count,
.alpine-filter-unavailable .brand-count,
.alpine-filter-unavailable .color-count,
.alpine-filter-unavailable .size-count {
    color: #ccc;
}

/* Hide unavailable options completely for cleaner UX */
.alpine-filter-unavailable {
    display: none !important;
}

/* Filter section empty state */
.alpine-filter-section:empty,
.alpine-filter-section:has(:only-child .alpine-filter-unavailable) {
    display: none;
}

/* Loading state for dynamic filters */
.alpine-filters-container.loading .alpine-filter-section {
    opacity: 0.6;
    pointer-events: none;
}
 
.alpine-filters-container.updating .alpine-filter-section::after {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

@keyframes shimmer1 {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .alpine-category-option.current-category {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .alpine-category-option.current-category .category-name.current small,
    .alpine-category-option .category-name.parent small,
    .alpine-category-option.child-category.current-category .category-name.current small {
        display: none;
    }
    
    .alpine-category-item.current-category {
        margin-bottom: 0.5rem;
    }
}

.brand-name,
.category-name {
    flex: 1;
}

.brand-count,
.category-count {
    font-size: 12px;
    color: rgb(80 72 108 / 60%);
    font-weight: 400;
}

.alpine-special-filter {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.alpine-special-option {
    cursor: pointer;
    background: white;
    border: 1px solid rgb(112 112 112 / 25%);
    border-radius: 3px;
    text-align: center;
    padding: 8px 12px;
    display: flex;
    flex: 1;
    align-items: center;
    color: #50486c;
    display: flex;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
    transition: all 0.2s ease;
}

.alpine-special-option:hover {
    border-color: #e0383f;
    color: #e0383f;
}

.alpine-special-option.active {
    color: #3a58d4;
    font-weight: 700;
    border-color: #3a58d4;
}

.alpine-special-option input[type="checkbox"] {
    display: none;
}

.special-label {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/* Sorting Select */
.alpine-filter-section select {
    width: 100%;
    background: white;
    border: 1px solid rgb(234 234 234);
    border-radius: 3px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-left: 48px;
}

.alpine-filter-section select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 
        0 0 0 3px rgba(59,130,246,0.1),
        0 4px 12px rgba(59,130,246,0.15);
}

/* Apply Filters Button */
.alpine-filters-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgb(80 72 108 / 10%);
}

.alpine-apply-filters {
    width: 100%;
    background: #e0383f;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.alpine-apply-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.alpine-apply-filters:hover {
    background: #ce2c33;
}

.alpine-apply-filters:hover::before {
    left: 100%;
}

.alpine-apply-filters:active {
    transform: translateY(-1px) scale(0.98);
}

.alpine-apply-filters:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alpine-apply-filters .fa-spinner {
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

/* Active Filters Display */
.alpine-active-filters {
    margin-bottom: 15px;
    padding: 12px;
    background: rgb(212 58 58 / 5%);
    border: 1px solid rgb(212 58 58 / 15%);
    border-radius: 3px;
    display: none;
    order: -1;
}

.alpine-active-filters.show {
    display: block;
}

.active-filters-title {
    font-size: 14px;
    font-weight: 600;
    color: #e0383f;
    margin-bottom: 8px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0383f;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    margin: 2px 4px 2px 0;
    cursor: pointer;
} 
.remove-filter {
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.remove-filter:hover {
    background: rgba(255,255,255,0.5);
}

.alpine-loading {
    opacity: 0.6;
    pointer-events: none;
}

.woocommerce-error {
    background: rgb(220 38 38 / 10%);
    border: 1px solid rgb(220 38 38 / 30%);
    border-radius: 3px;
    padding: 10px 15px;
    color: #dc2626;
    margin: 15px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .alpine-custom-filters {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 100vh;
        border-radius: 0;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .mobile-filters-container.active .alpine-custom-filters {
        transform: translateX(0);
    }

    .alpine-filters-header h3 {
        font-size: 24px;
    }

    /* Hide color filter on mobile and tablet */
    .alpine-color-filter,
    .alpine-filter-section[data-filter-type="colors"],
    .alpine-filter-options.colors {
        display: none !important;
    }

    .alpine-size-filter {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }
}

/* RTL Support */
[dir="rtl"] .alpine-filters-header {
    flex-direction: row;
}

[dir="rtl"] .alpine-price-filter {
    direction: ltr;
}

[dir="rtl"] .active-filter-tag {
    margin: 4px 0 4px 8px;
}

[dir="rtl"] .alpine-filter-section select {
    background-position: left 16px center;
    padding-left: 48px;
    padding-right: 16px;
}


.remove-filter {
    text-align: center;
    display: block;
    line-height: 1.5;
}

/* Smooth Transitions for Dynamic Content */
.alpine-custom-filters * {
    box-sizing: border-box;
}

.alpine-custom-filters input:focus,
.alpine-custom-filters select:focus,
.alpine-custom-filters button:focus {
    outline: none;
    /* box-shadow: 0 0 0 3px rgba(59,130,246,0.1); */
}

/* Performance Optimizations */
.alpine-custom-filters {
    contain: layout style paint;
    will-change: transform;
}

.alpine-color-option,
.alpine-size-option,
.alpine-brand-option,
.alpine-category-option {
    contain: layout style paint;
}

/* Additional Premium Effects */
.alpine-filter-section {
    position: relative;
    /* overflow: hidden; */
}


/* Pagination Styling for AJAX */
.woocommerce-pagination a[href^="#"] {
    pointer-events: none;
    opacity: 0.5;
}

.woocommerce-pagination a[href^="#"]:hover {
    background: transparent;
    color: inherit;
}

/* Fix Grid Issues After AJAX */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    width: auto !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
}

/* Prevent nested grids */
.woocommerce ul.products ul.products {
    display: block !important;
    grid-template-columns: none !important;
}

.woocommerce ul.products ul.products li.product {
    display: inline-block !important;
    width: auto !important;
    margin: 0 10px 20px 0 !important;
}

/* Force single grid container */
.woocommerce .products:not(.products .products) {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 30px !important;
}

/* Emergency grid fix - prevent all nested structures */
.woocommerce ul.products ul,
.woocommerce ul.products ol,
.woocommerce ul.products .products {
    display: contents !important;
}

.woocommerce ul.products li.product li {
    display: none !important;
}

/* Override any theme conflicts */
.woocommerce .products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

@media (max-width: 992px) {
    .woocommerce .products.columns-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .woocommerce .products.columns-3 {
        grid-template-columns: 1fr !important;
    }
}

/* Quick View Gallery styles are now in /css/quick-view-gallery.css */

/* Grid Responsiveness */
@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .woocommerce .products:not(.products .products) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .woocommerce .products:not(.products .products) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .woocommerce .products:not(.products .products) {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile Filter Trigger */
.alpine-mobile-filter-trigger {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3a58d4;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(58, 88, 212, 0.3);
    transition: all 0.3s ease;
    direction: rtl;
}

.alpine-mobile-filter-trigger:hover {
    background: #2a4bc4;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(58, 88, 212, 0.4);
}

.alpine-mobile-filter-trigger i {
    margin-left: 8px;
}

.alpine-mobile-filter-trigger .active-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 8px;
    font-weight: 700;
    min-width: 20px;
}

.alpine-mobile-filter-trigger .active-count:not(:empty) {
    display: inline-flex;
}

/* Mobile Filter Overlay */
.alpine-mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.alpine-mobile-filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Mobile Filters Button */
.alpine-close-mobile-filters {
    display: none;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.alpine-close-mobile-filters:hover {
    background: #ff3742;
}

.alpine-close-mobile-filters i {
    margin-left: 8px;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Show mobile trigger */
    .alpine-mobile-filter-trigger {
        display: inline-flex;
        align-items: center;
    }
    
    /* Show close button in mobile */
    .alpine-close-mobile-filters {
        display: block;
    }
    
    /* Ensure sidebar container is positioned properly */
    .alpine-filters-sidebar {
        position: relative;
    }
    
    /* Mobile filters container - hidden by default */
    .alpine-mobile-filters-container {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 90% !important;
        max-width: 400px !important;
        height: 100vh !important;
        background: white !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        padding: 20px !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.3s ease !important;
        direction: rtl !important;
        margin: 0 !important;
    }
    
    /* Mobile filters inside container */
    .alpine-mobile-filters-container .alpine-custom-filters {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        z-index: auto !important;
        overflow-y: visible !important;
        padding: 0 !important;
        box-shadow: none !important;
        transition: none !important;
        direction: rtl !important;
        margin: 0 !important;
    }
    
    /* Show mobile filters when active */
    .alpine-mobile-filters-container.mobile-active {
        right: 0 !important;
    }
    
    /* Mobile filter header */
    .alpine-filters-header {
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        padding-bottom: 15px;
        border-bottom: 2px solid rgba(80, 72, 108, 0.1);
        margin-bottom: 20px;
    }
    
    .alpine-filters-header h3 {
        font-size: 22px;
        margin: 0;
    }
    
    /* Mobile filter sections */
    .alpine-filter-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(80, 72, 108, 0.1);
    }
    
    .alpine-filter-section:last-child {
        border-bottom: none;
    }
    
    .alpine-filter-section h4 {
        font-size: 18px;
        margin-bottom: 15px;
        color: #50486c;
    }
    
    /* Mobile color filter */
    /* Hide color filter on mobile */
    .alpine-color-filter,
    .alpine-filter-section[data-filter-type="colors"],
    .alpine-filter-options.colors {
        display: none !important;
    }
    
    /* Mobile size filter */
    .alpine-size-filter {
        gap: 10px;
    }
    
    .alpine-size-option {
        min-width: 60px;
        padding: 10px 15px;
        font-size: 15px;
    }
    
    /* Mobile filters actions */
    .alpine-filters-actions {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 20px 0;
        margin: 20px -20px -20px;
        border-top: 2px solid rgba(80, 72, 108, 0.1);
        z-index: 10;
    }
    
    .alpine-apply-filters {
        width: 100%;
        padding: 15px;
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    /* Mobile price slider adjustments */
    .alpine-price-slider-container {
        padding: 25px 15px;
        background: rgba(80, 72, 108, 0.02);
        border-radius: 12px;
        margin: 10px 0;
    }
    
    #alpine-price-slider {
        margin: 25px 0;
    }
    
    #alpine-price-slider .ui-slider-handle {
        width: 24px;
        height: 24px;
        top: -8px;
    }
    
    .price-values {
        font-size: 18px;
        padding: 10px 18px;
    }
    
    /* Mobile active filters */
    .alpine-active-filters {
        max-height: 120px;
        overflow-y: auto;
        margin: 15px 0;
    }
    
    .active-filter-tag {
        font-size: 14px;
        padding: 6px 12px;
        margin: 4px 6px 4px 0;
    }
    
    /* Body modifications when mobile filters are open */
    body.mobile-filters-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
    }
    
    /* Hide regular clear button in mobile, use close button instead */
    .alpine-clear-filters {
        position: absolute;
        top: 15px;
        left: 20px;
        background: transparent;
        color: #666;
        font-size: 14px;
        padding: 8px;
    }
}

/* Enhanced RTL Support */
[dir="rtl"] .alpine-price-slider-container {
    direction: ltr; /* Keep slider LTR for proper functionality */
}

[dir="rtl"] .alpine-mobile-filter-trigger {
    left: 20px;
    right: auto;
}

[dir="rtl"] .alpine-mobile-filter-trigger i {
    margin-right: 8px;
    margin-left: 0;
}

[dir="rtl"] .alpine-mobile-filter-trigger .active-count {
    margin-left: 8px;
    margin-right: 0;
}

@media (max-width: 768px) {
    [dir="rtl"] .alpine-custom-filters {
        left: -100%;
        right: auto;
    }
    
    [dir="rtl"] .alpine-custom-filters.mobile-active {
        left: 0;
        right: auto;
    }
    
    [dir="rtl"] .alpine-custom-filters {
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }
}

/* Improved Loading States */
.alpine-custom-filters.loading {
    pointer-events: none;
    opacity: 0.7;
}

.alpine-custom-filters.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid rgba(58, 88, 212, 0.3);
    border-top: 3px solid #3a58d4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 100;
}

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

/* Desktop Enhancements */
@media (min-width: 769px) {
    /* Reset all mobile filter styles for desktop */
    .alpine-custom-filters,
    .alpine-filters-sidebar .alpine-custom-filters {
        position: static !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        background: transparent !important;
        z-index: auto !important;
        overflow-y: visible !important;
        padding: 0 !important;
        box-shadow: none !important;
        transition: none !important;
        direction: rtl !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 20px !important;
    }
    
    /* Auto-hide mobile elements on desktop */
    .alpine-mobile-filter-trigger,
    .alpine-close-mobile-filters,
    .alpine-mobile-filter-overlay,
    .alpine-mobile-filters-container {
        display: none !important;
    }
}

/* Price filter input fallback styles (removed but keeping structure) */
.alpine-price-filter input[type="number"] {
    display: none; /* Hidden in favor of slider */
}

/* Additional jQuery UI Slider customizations */
.ui-slider {
    position: relative !important;
}

.ui-slider-horizontal {
    height: 8px !important;
}

.ui-slider .ui-slider-handle {
    outline: none !important;
}

/* Force visibility of slider elements */
#alpine-price-slider,
#alpine-price-slider * {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Ensure slider is always visible */
.alpine-price-slider-container {
    overflow: visible !important;
    min-height: 50px;
}

/* Better mobile slider */
#alpine-price-slider .ui-slider-handle {
    z-index: 10 !important;
    position: absolute !important;
    background: #ffffff !important;
    box-shadow: inset 0px 0px 0px 2px white !important;
    border: 2px solid #e13b42 !important;
}

/* Custom slider track styling */
#alpine-price-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(80, 72, 108, 0.1);
    border-radius: 4px;
    z-index: 1;
}

/* Alpine COD Phone Payment Gateway Styles */
.alpine-cod-phone-instructions {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
    direction: rtl;
}

.alpine-cod-phone-instructions h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: white;
}

.alpine-payment-notice {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.alpine-payment-notice i {
    font-size: 48px;
    color: #FFD700;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.alpine-payment-notice p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    color: white;
    font-weight: 500;
}

/* Email Instructions Styling */
.alpine-email-instructions {
    background: #f8f9fa;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    direction: rtl;
}

.alpine-email-instructions h3 {
    color: #4CAF50;
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.alpine-email-instructions p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Checkout page specific styling for COD phone option */
.wc_payment_method.payment_method_alpine_cod_phone {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.wc_payment_method.payment_method_alpine_cod_phone:hover {
    background: linear-gradient(45deg, #e9ecef, #dee2e6);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.wc_payment_method.payment_method_alpine_cod_phone input[type="radio"]:checked + label {
    color: #4CAF50;
    font-weight: 600;
}

.wc_payment_method.payment_method_alpine_cod_phone .payment_box {
    background: white;
    border: 1px solid #4CAF50;
    border-radius: 6px;
    padding: 15px;
    margin-top: 10px;
}

.wc_payment_method.payment_method_alpine_cod_phone .payment_box::before {
    border-bottom-color: #4CAF50;
}

.wc_payment_method.payment_method_alpine_cod_phone .payment_box p {
    color: #2c5530;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Mobile responsiveness for COD phone styling */
@media (max-width: 768px) {
    .alpine-cod-phone-instructions {
        padding: 20px;
        margin: 20px 0;
    }
    
    .alpine-cod-phone-instructions h3 {
        font-size: 24px;
    }
    
    .alpine-payment-notice i {
        font-size: 36px;
    }
    
    .alpine-payment-notice p {
        font-size: 16px;
    }
}

/* Google Reviews Section Styling */
.google-reviews-section {
    background: #f8f9fa;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 12px;
    text-align: center;
    direction: rtl;
}

.google-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.google-reviews-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex: 1;
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4285f4;
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.google-reviews-link:hover {
    background: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
    color: white !important;
}

.google-reviews-link i {
    font-size: 16px;
}

.google-reviews-widget {
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.google-reviews-cta {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
}

.google-reviews-cta p {
    font-size: 18px;
    margin: 0 0 20px 0;
    font-weight: 500;
    color: white;
}

.google-reviews-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.google-reviews-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.google-reviews-button i {
    font-size: 18px;
}

/* Mobile responsiveness for Google Reviews */
@media (max-width: 768px) {
    .google-reviews-section {
        padding: 30px 15px;
    }
    
    .google-reviews-header {
        flex-direction: column;
        text-align: center;
    }
    
    .google-reviews-section .section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .google-reviews-link {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .google-reviews-cta {
        padding: 25px 15px;
    }
    
    .google-reviews-cta p {
        font-size: 16px;
    }
    
    .google-reviews-button {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* My Account Global Styling */
.woocommerce-account {
    direction: rtl;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: linear-gradient(135deg, #4CAF50, #35a153);
    padding: 25px 15px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    color: white !important;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: rgba(255, 255, 255, 0.25);
}

/* Account Content Card */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Orders Table */
.woocommerce-account table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e8e8e8;
    text-align: right;
}

.woocommerce-account table.shop_table thead {
    background: #f1f3f4;
}

.woocommerce-account table.shop_table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

/* Buttons */
.woocommerce-account .button {
    background: #4CAF50;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.woocommerce-account .button:hover {
    background: #35a153;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex-direction: row;
        overflow-x: auto;
        padding: 15px 10px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        gap: 8px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 8px 10px;
        white-space: nowrap;
        font-size: 14px;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 25px 15px;
    }
}

/* === Override: Remove yellow highlight for parent path categories === */
.alpine-category-option:has(input[data-parent-category="true"])::before,
.alpine-category-option.parent-in-path::before,
.alpine-category-item.in-path {
    background: none !important;
    border: none !important;
}

