/************Resets************/
.filter-count,
.noUi-tooltip{
    display: none
}
/***********Breadcrumbs customisation***********/
.brd_sep {
    font-size: 0
}
.brd_sep::after {
    content: '/';
    opacity: 1;
    font-size: 14px;
    line-height: 2.5
}

/**********Filters***********/

.mobile-filters a.elementor-button span.count {
    display: none;
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 12px;
    color: #fff;
    background: #000;
    border-radius: 100%;
    line-height: 1;
    padding: 5px;
    width: 22px;
    height: 22px;
}

.filter-heading .elementor-heading-title {
    cursor: pointer;
    position: relative;
    padding: 8px 0;
    margin-top: 16px;
    line-height: 1.5;
    font-weight: 500;
    text-transform: uppercase;
}
.filter-heading .elementor-heading-title::after,
.filter-heading.closed .elementor-heading-title::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 18px;
    width: 12px;
    height: 1.5px;
    background: #3d3d3d
}
.filter-heading.closed .elementor-heading-title::before {
    transform: rotate(90deg); 
}
.filter-wrapper {
    flex-wrap: nowrap;
}
.filter-wrapper.price{
    display: block;
}
.filter-values .e-filter {
    display: block;
    max-height: 320px;
    padding: 1px;
    scrollbar-width: thin;
    margin-right: 9px;
    overflow: auto;
    transition: max-height 0.4s ease-in-out;
    overscroll-behavior: auto;
}
.filter-values search.closed {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}
.filter-values .e-filter-item, 
.filter-values .e-filter-item:hover, 
.filter-values .e-filter-item:focus {
    display: block;
    position: relative;
    overflow: visible;
    padding: 8px 0 8px 36px;
    font-size: 16px;
    text-transform: capitalize;
    border: none;
    text-align: left;
    background: none;
}
.filter-values .e-filter-item::before {
    content:'';
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 22px;
    border: 1px solid #ccc;
    border-radius: 2px;
    margin-top: -11px;
}
.filter-values .e-filter-item[aria-pressed="true"]::before {
    background: url('../img/checked.png') no-repeat left center / 22px;
    border: none
}
.filter-values.vto .e-filter {
    padding-left: 60px;
}
.filter-values.vto .e-filter-item {
    display: block !important
}
.filter-values.vto .e-filter-item::before {
    width: 43px;
    height: 24px;
    left: -60px;
    border: 1px solid #BDBDBD;
    border-radius: 100px;
}
.filter-values.vto .e-filter-item::after {
    content: '';
    position: absolute;
    width: 19px;
    height: 18px;
    background: #BDBDBD;
    border-radius: 50%;
    left: -57px;
    top: 11px;
}
.filter-values.vto .e-filter-item[aria-pressed="true"]::before {
    background:#496682;
    border-color: #496682;
    
}
.filter-values.vto .e-filter-item[aria-pressed="true"]::after  {
    left: -38px;
}

.price form {
    display: flex;
    flex-direction: column-reverse;
    gap: 14px;
    max-height: 80px;
    overflow: hidden; 
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
    opacity: 1;
    visibility: visible; 
}

.price form.closed {
    max-height: 0;
    opacity: 0; 
    visibility: hidden; 
}
#price-slider {
    border: none;
    box-shadow: none;
    background: transparent;
    margin-bottom: 0 !important;
    padding: 0 24px;
}
#price-slider::before {
    content: '';
    position: absolute;
    width: auto;
    height: 5px;
    background: #A6A6A6;
    top: 3px;
    border-radius: 4px;
    z-index: -11111;
    left: 0;
    right: 0;
}
#price-slider .noUi-base {
    /*height: 5px;*/
    /*background: #A6A6A6;*/
}
#price-slider .noUi-handle {
    height: 23px !important;
    width: 23px !important;
    border-color: #2b2e31;
    border-radius: 50%;
    box-shadow: none;
    right: 0 !important;
  
}
#price-slider .noUi-handle.noUi-handle-upper {
    right: -23px !important;
} 
#price-slider .noUi-connect {
    height: 5px;
    margin-top: 3px;
}
#price-slider .noUi-handle:after {

    border-right: 0 !important;
}
#price-slider .noUi-handle:after,
#price-slider .noUi-handle:before {
    content: '';
    left: 50%;
    top: 50%;
    width: 23px;
    height: 23px;
    transform: translate(-50%, -50%) !important;
    z-index: 999;
      background: url('../img/price-slider.svg') no-repeat center;
}
#price-slider .noUi-touch-area {
    width: 23px !important;
    height: 23px !important;
    border-radius: 50% !important;
}
#price-slider .noUi-handle:before {
    
}
.price-values > span {
    font-size: 0;
    margin: 0 !important;
}
.price-values > span:before {
    content: '$';
    font-size: 14px;
}
.price-values > span > span {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 !important;
}
#min-price-value::after {
    content: '-';
    margin: 0 8px;
}
/********Selected Filter********/
.selected-filters-area {
    display: none;
}
.selected-filters-area .clear-all, 
.selected-filters-area .clear-all:hover {
    padding: 0;
    border: none;
    margin: 0;
    text-decoration: underline;
    text-transform: capitalize;
    background: none;
}
.selected-filters-area:has(.selected-filters button){
    display: block
}
.selected-filters:before {
    content: 'Selected Filters:';
    position: absolute;
    top: 11px;
    font-weight: 500
}
.selected-filters-area .selected-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.ep-selected-filter-button.ep-search-small-button,
.ep-selected-filter-button.ep-search-small-button:hover{
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    background: #EEEEEE !important;
    border-color: #EEEEEE !important;
    border-radius: 30px;
    padding: 4px 35px 4px 9px !important;
    margin-bottom: 0;
    color: #1f1f1f !important;
    text-transform: capitalize;
    font-size: 14px !important;
    line-height: 1.2 !important;
}
.ep-selected-filter-button.ep-search-small-button svg {
        position: absolute;
    right: 4px;
    font-size: 22px;
    top: 0;
}
.clear-filters-button,
.clear-filters-button:hover{
    text-decoration: underline;
    display: block;
    padding: 0 !important;
    background: #fff !important;
    margin-top: 22px;
    border: none !important;
    text-transform: capitalize !important;
    color: #2B2E31 !important;

}
.search-no-results .mobile-filters, .search-no-results .sorting-wrapper {
    display: none;
}
/************Products*************/
.sorting-wrapper .sort-value {
    border: none;
    position: relative;
    font-size: 14px;
    line-height: 21px;
    padding: 8px 30px 8px 8px;
    background: #fff url(../img/Chevron.svg) no-repeat right center;
    appearance: none;
    width: 100%;
    display: block;
}
.sorting-wrapper select { 
	position: absolute;
    top: 0;
    opacity: 0;
    z-index: 999;
    font-size: 14px;
    padding: 5px;
}
.sorting-wrapper .sort-value::before {
    content:'Sort by:';
    position: absolute;
    left: -50px;
    top:8px;
    z-index: 99;
    font-size: 14px;
    line-height: 21px;
}
.woocommerce div.product {
    border-bottom: 1px solid #ccc;
    transition: border-color 0.5s ease-in-out;
}
.woocommerce div.product:hover, 
.woocommerce div.product:focus {
    border-bottom: 1px solid #496682;
}

.discount,
.vto-icon  {
    display: none;
}
.discount:has(.discount-percentage),
.pa_virtual-try-on-yes .vto-icon  {
    display: block;
}
.pa_virtual-try-on-yes .vto-icon p {
    display: flex;
    align-items: center;
    gap: 8px;
}
p.price {
    margin: 0
}
.vto-icon p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.prod-img {
    position: unset
}
.prod-img a:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}
.p-title {
    display: none;
}
.product_cat-accessories .p-title, .product_cat-contact-lenses .p-title {
    display: block;
}

/***********Pagination************/
.products-area .elementor-pagination {
    margin-top: 40px;
	display: flex;
	justify-content: center;
}
.products-area .page-numbers {
    display: inline-block;
    vertical-align: middle;
    min-width: 32px;
    min-height: 32px;
    background: #F6F6F6;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.2;
    color: #1F1F1F;
    padding: 6px;
}
.products-area .page-numbers.current,
.products-area .page-numbers:hover{
    background: #496682;
    color: #fff;
    font-weight: 500
    
}
.products-area .page-numbers.prev,
.products-area .page-numbers.next{
    font-size: 0;
    background: url(../img/previous.png) no-repeat center center / 9px;
}
.products-area .page-numbers.next {
    transform: rotate(180deg)
}

.e-loop-nothing-found-message__text {
    line-height: 1.4;
}

/********Responsive*********/
@media screen and (max-width:768px) {
    .elementor-editor-active .listing-wrapper,
    .elementor-editor-active .listing-wrapper > .e-con-inner {
        position: relative;
    }
    .elementor-editor-active .filters-sidebar {
        display: block;
        position: relative;
    }
    .listing-wrapper,
    .listing-wrapper > .e-con-inner {
        position: unset;
    }
    .filters-sidebar {
      /*display: none;  */
      position: fixed;
        left: -9999px;
        top: 0;
        background: #fff;
        z-index: 999;
        width: 100%;
        overflow: scroll !important;
        height: 100%;
           opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.6s ease, visibility 0.3s ease;
    }
    .filters-sidebar.active {
        opacity: 1; 
        visibility: visible;
        left: 0;
        display: block;
        z-index: 99999;
    }
    .price .noUi-handle {
        width: 26px !important;
        height: 26px !important;
    }
	.sorting-wrapper .sort-value {
		position: absolute;
        width: 100%;
        background: none;
        font-size: 0;
	}
    .sorting-wrapper .sort-value::before {
        content:'Sort by';
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        padding-right: 29px;
        height: 42px;
        text-align: center;
        border-radius: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: url(../img/Chevron.svg) no-repeat right 10px;
    }      
    .sorting-wrapper select {
        min-height: 42px;
        background: #F6F6F6;
        border-radius: 30px;
        margin: auto;
        width: 100%;
        opacity: 0;
        z-index: 999;
		position: relative;
    }
    .filter-heading .elementor-heading-title::after, .filter-heading.closed .elementor-heading-title::before {
        top: 19px;
        right: 6px;
    }
    .selected-filters-area .selected_filters {
        display: flex;
        gap: 8px 13px;
        flex-wrap: wrap;
        
    }
    .selected-filters-area .clear-filters-button {
        width: 100%;
        text-align: left;
        margin-top: 0;
        
    }
    .selected-filters-area .ep-selected-filter-button.ep-search-small-button, .selected-filters-area .ep-selected-filter-button.ep-search-small-button:hover {
        padding: 4px 43px 4px 16px !important
    }
    
    .selected-filters-area .ep-selected-filter-button.ep-search-small-button svg {
        top: 2px;
        right: 11px;
    }
    .filter-values.vto .e-filter {
        margin-bottom: 0 !important;
    }
    #price-slider .noUi-connect {
        margin-top: 4px;
    }
    p.price {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 768px) and (min-width: 576px) {
    .products-area .elementor-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .tryon-wrapper {
        min-height: 49px;
    }
}
@media(max-width: 480px) {
	.products-area .elementor-pagination {
		gap: 8px;
	}
	.products-area .page-numbers {
		width: 100%;
		min-width: auto;
		font-size: 14px;
		margin: 0 !important;
		max-width: 36px;
        line-height: 1.4;
	}
}