:root {
    --primary: 235, 143, 37;
}

* {
    a {
        text-decoration: none !important;
    }

    --tx: calc(100vw / 1440);
}

@media (max-width:767px) {
    * {

        --tx: calc(100vw / 420);
    }
}

.pf-container {
    font-size: min(9.6px, calc(100vw/144)) !important;
}

/* Widget Container */
.pf-container * {
    font-family: 'Morabba';
    /* overflow-x: hidden !important; */
}

.pf-container .pf-filter-container {
    /*     width: 30%; */
    width: calc(var(--tx)*246);
    /*     max-width: 420px; */
}

.pf-container .pf-bg-overlay {
    width: 100%;
    height: 100%;
    background-color: #00000050;
    position: absolute;
    display: none;
}

.pf-container .pf-filter-content {
    /*     max-width:326px; */
    width: 100%;
    z-index: 1;
    background-color: #fff;
    border-radius: calc(var(--tx)*40);
    padding: calc(var(--tx)*32);
    display: flex;
    flex-direction: column;
    gap: calc(var(--tx)*32);
    ;

    /*     border: 1px solid #E2E2E2; */
}


/* Products Container */
.pf-container .pf-product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--tx)*25);

}

/* Filter Container */
.pf-filter-container .pf-categories-container .pf-panel,
.pf-filter-container .pf-brands-container .pf-panel {
    display: flex;
    flex-direction: column;
    gap: calc(var(--tx)*13);
    padding: 0 1.5em;
    cursor: pointer;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    overflow-y: scroll;
}

.pf-container .pf-panel label:hover,
.pf-container .pf-accordion:hover {
    color: rgb(var(--primary));
}

.pf-container .pf-filter-container .pf-filter-heading {
    font-weight: 700;
    font-size: 1.5em;
    color: #070707;
    margin: 0;
}

.pf-container .pf-filter-container .pf-category-subheading {
    font-size: calc(var(--tx)*14);
    font-weight: 500;
    color: #272663;
}

.pf-container .pf-content {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--tx)*22);
}

.pf-container .pf-panel label:first-child {
    margin-top: 1.5em;
}


.pf-container .pf-filter-container input[type="range"] {
    width: 40%;
    margin: 1em;
    appearance: none;
    background: #ddd;
    height: 5px;
    border-radius: 5px;
    outline: none;
}

.pf-container .pf-filter-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 1.5em;
    height: 1.5em;
    background: #0073aa;
    border-radius: 50%;
    cursor: pointer;
}

.pf-container .pf-filter-container .pf-input-price-container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--tx)*32);
}

.pf-container .pf-filter-container .pf-input-price-selected {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.pf-container .pf-filter-container .slider-price-label-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1em;
}

.pf-container .pf-category-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pf-container .pf-category-item,
.pf-container .pf-price-container #max-price-text,
.pf-container .pf-price-container #min-price-text,
.pf-value-min-price,
.pf-value-max-price,
.pf-label-min-price,
.pf-label-max-price {
    font-size: calc(var(--tx)*14);
    font-weight: 500;
    color: #272663;
    line-height: 1.5;
}

#min-price-text,
#max-price-text {
    font-size: calc(var(--tx)*12) !important;
}

/* .pf-label-min-price {
    font-size: calc(var(--tx)*14);
    font-weight: 500;
} */

.pf-container .pf-value-min-price,
.pf-container .pf-value-max-price {
    margin-top: 5px;
}



.pf-container .pf-price-container #max-price,
.pf-container .pf-price-container #min-price {
    display: none;
}

.pf-container .pf-filter-container #price-slider {
    margin-top: 1.5em;
    background-color: transparent;
    border-color: #ededed;
    height: 13px;
    border-radius: 50px;
}


.pf-container .pf-filter-container #pf-filter-submit,
.pf-container .pf-filter-container #pf-filter-clear-btn {
    font-size: calc(var(--tx)*14);
    font-weight: 500;
    padding: 1.2em 1em;
    border-radius: calc(var(--tx)*40);
}

.pf-container .pf-filter-container #pf-filter-submit {
    margin-top: 2em;
    background-color: rgb(var(--primary));
    /* border-color: rgb(var(--primary)); */
    border-color: transparent;
    color: #fff;
    cursor: pointer;
}

.pf-container .pf-filter-container #pf-filter-clear-btn {
    color: rgb(var(--primary));
    border: none;
    margin-top: -10px;
    background-color: transparent;
    cursor: pointer;
}

.pf-container .pf-filter-container #pf-filter-clear-btn:hover,
.pf-container .pf-filter-container #pf-filter-clear-btn:focus {
    background-color: transparent;
}


.pf-filter-container .pf-price-container #max-price,
.pf-filter-container .pf-price-container #min-price {
    padding: 0;
    border: none;
    background-color: transparent;
    border: none;
}

.pf-filter-container .pf-price-container #min-price {
    text-align: left;
}

.pf-container .pf-filter-container .ui-slider-range {
    background-color: #fff !important;
}

.pf-container .pf-filter-container .ui-slider-handle {
    border: none;
    border-radius: 50px !important;
    background-color: #272663 !important;
    height: 13px;
    width: 13px;
}



/* Product */
.pf-product-item {
    padding: calc(var(--tx)*30) calc(var(--tx)*25);
    /*   border: 1px solid; */
    border-radius: calc(var(--tx)*40);
    /*     border-color: #e7e7e7; */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: calc(var(--tx)*10);
    background-color: #fff;
}

.pf-product-img-container {
    display: block;
    /*  max-width: calc(var(--tx)*188); */
    width: 100%;
    max-height: calc(var(--tx)*150);
    margin: auto;
	display:flex;
	justify-content:center;
	align-items:center;
}

.pf-product-img-container img {
    width: 100%;
    max-height: calc(var(--tx)*150);
	 max-width: calc(var(--tx)*150) !important;
    border-radius: calc(var(--tx)*15) !important;
    object-fit: cover;
}

.pf-product-item .sale-badge {
    font-size: calc(var(--tx)*12);
    font-weight: 500;
    background: rgba(var(--primary));
    color: #fff;
    padding: 5px;
    border-radius: calc(var(--tx)*10);
    top: 10px;
    right: 10px;
}

.pf-product-item .pf-product-title {
    text-align: right;
    line-height: 1.5;
}

.pf-product-item .pf-product-title {
    font-weight: 500;
    color: #272663;
    font-size: calc(var(--tx)*14) !important;
}

.pf-product-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #272663;
    font-size: calc(var(--tx)*10);
}

.pf-product-price .variable-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pf-product-ite .sale-price {
    /* margin-top: -10px; */
}

.pf-product-item .pf-product-price del {
    color: #272663;
    /*   font-size: 1.2em; */
    opacity: 0.5;
    margin-bottom: -5px;
}


.pf-product-price .regular-price bdi {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: calc(var(--tx)*10);
}

.pf-product-price .regular-price bdi {}

.pf-product-price .regular-price bdi .woocommerce-Price-currencySymbol {
    font-size: calc(var(--tx)*8);
    margin-right: calc(var(--tx)*2);
    font-family: 'Morabba';
}


.pf-product-item .pf-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.pf-product-item .pf-product-footer .pf-show-product-btn {
    text-wrap: nowrap;
    /* width: 100%; */
    width: unset;
    background-color: #272663;
    /*     border: 1px solid rgb(var(--primary), 0.5); */
    color: #fff;
    border-radius: calc(var(--tx)*65);
    text-align: center;
    padding: calc(var(--tx)*10) calc(var(--tx)*20);
    font-weight: 500;
    font-size: calc(var(--tx)*12);
    cursor: pointer;
    transition: background-color 0.5s;
}

.pf-product-item:hover .pf-product-footer .pf-show-product-btn {
    border-color: rgb(var(--primary));
    background-color: rgb(var(--primary));
    color: #fff;
}


.pf-product-item .pf-product-footer .pf-share-product-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    aspect-ratio: 1;
    background-color: transparent;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid rgb(var(--primary), 0.3);
    transition: background-color 0.5s;
}

.pf-product-item .pf-product-footer .pf-share-product-btn path {
    stroke: #272663;
}

.pf-product-item:hover .pf-product-footer .pf-share-product-btn {
    border-color: rgb(var(--primary));
    background-color: #272663;
    border: 1px solid #272663;
}

.pf-product-item:hover .pf-product-footer .pf-share-product-btn path {
    stroke: #fff;
}

.pf-container #pf-show-more-btn {
    padding: calc(var(--tx)*10) calc(var(--tx)*32);
    font-size: calc(var(--tx)*14);
    font-weight: 500;
    color: rgb(var(--primary));
    border: 1px solid;
    border-color: rgba(var(--primary), 0.6);
    border-radius: calc(var(--tx)*32);
    cursor: pointer;
}

.pf-container #pf-show-more-btn:hover,
.pf-container #pf-show-more-btn:focus {
    background-color: rgb(var(--primary));
    color: #fff;
}

/* Accordion */
.pf-container .pf-accordion {
    color: #272663;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: right;
    outline: none;
    transition: 0.4s;
    display: flex;
    justify-content: space-between;
}

.pf-container .active,
.pf-container .pf-accordion:hover {
    background-color: transparent;
    color: rgb(var(--primary));
}

.pf-container .pf-accordion:after {
    content: url('caret-down.svg');
    width: 2em;
    height: 2em;
    color: #777;
}

.pf-container .active:after {
    content: url('caret-up.svg');
}

.pf-container .pf-show-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7em;
}

.pf-product-count {
    gap: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pf-loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, var(--e-global-color-primary) 94%, #0000) top/8px 8px no-repeat,
        conic-gradient(#0000 30%, var(--e-global-color-primary));
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: pf-loader 0.75s infinite linear;
    position: absolute;
    left: 48.5%;
}

@keyframes pf-loader {
    100% {
        transform: rotate(1turn)
    }
}

/* Sorting */
.pf-container .pf-sort-container {
    display: flex;
    justify-content: space-between;
    font-size: calc(var(--tx)*14) !important;
}

.pf-container .pf-product-content {
    /* width: 70%; */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: calc(var(--tx)*25);
}

.pf-container .pf-sort-heading {
    display: flex;
    gap: 4px;
    font-weight: 500;
    color: #272663;
}

.pf-container .pf-sort-heading::before {
    background-image: url('sort.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    display: inline-block;
    width: 2em;
    height: 2em;
    content: "";
}

.pf-container .pf-sort-buttons,
.pf-container .pf-sort-content {
    display: flex;
    gap: calc(var(--tx)*48);
}

.pf-container .pf-sort-button {
    cursor: pointer;
    color: #272663;
}

.pf-container .pf-sort-button-active {
    color: rgb(var(--primary));
}

.pf-container .pf-product-count {
    color: #848484;
}

.pf-container .pf-product-header {
    position: absolute;
    top: 20px;
    right: 18px;
}

#pf-filter-btn {
    display: none;
}

.fp-filter-footer {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}

.cs-loading {
    height: 350px;
    background-color: #f0f0f0;
    border-radius: 25px;
}

.pf-list-search-input {
    outline: 1px solid #e9e9e9;
    background-color: #F8F8F8;
    border: none;
    margin-top: calc(var(--tx)*10);
    margin-bottom: calc(var(--tx)*10);
    font-size: calc(var(--tx)*14);
    border-radius: calc(var(--tx)*8);
    padding: calc(var(--tx)*8) calc(var(--tx)*6);
}


.pf-stock-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.pf-list-search-input:focus {
    outline-color: rgb(var(--primary));
}

.pf-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.pf-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pf-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.pf-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 8px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.pf-input:checked+.pf-slider {
    background-color: rgb(var(--primary));
}

.pf-input:focus+.pf-slider {
    box-shadow: 0 0 1px rgb(var(--primary));
}

.pf-input:checked+.pf-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */
.pf-slider.round {
    border-radius: 34px;
}

.pf-slider.round:before {
    border-radius: 50%;
}







.pf-cat-item {
    cursor: pointer;
}

.pf-cat-item input {
    visibility: hidden;
    display: none;
}

label.pf-cat-item.pf-category-item:has(input[type="checkbox"]:checked) {
    color: rgb(var(--primary));
}

.pf-container .e-search-submit {
    position: absolute;
    background-color: #272663 !important;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: calc(var(--tx)*40) !important;
    height: calc(var(--tx)*36);
    border-radius: calc(var(--tx)*65) !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

}

.pf-container .e-search-submit svg {
    fill: #fff;
    width: calc(var(--tx) * 16);
}

.pf-brands-container {
    display: flex;
    position: relative;
}

.pf-search-product-input {
    width: 100% !important;
    border-radius: calc(var(--tx) * 65) !important;
    height: calc(var(--tx)*36) !important;
}

/* Desktop 1024px - 1300px */
@media screen and (min-width:1024px) and (max-width:1300px) {

    /* .pf-container{
        font-size: 9px !important;
    } */
    .pf-container .pf-product-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .pf-container .pf-product-item {
        padding: 20px 38px;
    }

    .pf-container .pf-filter-container {
        width: 34%;
    }

    .pf-container .pf-sort-buttons,
    #pf-sort-btn,
    .pf-container .pf-filter-container,
    .pf-stock-container {
        display: flex;
    }
}

/* Tablet */
@media screen and (min-width:767px) and (max-width:1024px) {
    .pf-container .pf-product-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .pf-container .pf-sort-heading::before {
        background-size: 10px 10px;
        width: 10px;
        height: 10px;
    }

    .pf-product-item {
        /* padding: 10px; */
    }

    .pf-container .pf-sort-buttons,
    #pf-sort-btn,
    .pf-container .pf-filter-container {
        display: flex;
    }

    .cs-loading {
        height: 300px;
    }

    .pf-product-item .pf-product-footer .pf-share-product-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* Mobile */
@media screen and (max-width:767px) {
	
	.pf-product-img-container {
    width: 100%;
    margin: auto;
		display:flex;
		justify-content:center;
		align-items:center;
}

.pf-product-img-container img {
    width: calc(var(--tx)*130);
    height: calc(var(--tx)*130);
    border-radius: calc(var(--tx)*15) !important;
    object-fit: cover;
}
	
    .fp-filter-footer {
        z-index: 10;
    }

    .pf-container {
        font-size: 6px !important;
    }

    .pf-container .pf-filter-container {
        z-index: 100000;
        position: fixed;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        padding: 0;
        display: none;
        justify-content: center;
        align-items: flex-end;
    }

    .pf-container .pf-bg-overlay {
        display: block;
    }

    .pf-container .pf-filter-content {
        max-width: unset;
        overflow-y: scroll;
        padding: 2.5em;
        padding-top: 4.5em;
        height: 75%;
        background-color: #fff;
        width: 100%;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .pf-container .pf-product-content {
        width: 100%;
    }

    .pf-container .pf-product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }


    .pf-container .pf-sort-heading::before {
        background-size: 10px 10px;
        width: 10px;
        height: 10px;
    }

    .pf-product-item .pf-product-footer .pf-share-product-btn svg {
        width: 12px;
        height: 12px;
    }

    .pf-container .pf-sort-buttons,
    #pf-sort-btn {
        display: none;
    }


    .pf-product-item {
        padding: 2.5em 2em;
    }

    .fp-filter-footer {
        background-color: #fff;
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 10px;
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .fp-filter-footer button {
        width: 50%;
        margin: 0 !important;
    }

    #pf-filter-btn {
        outline: none;
        /*         border: 1px solid rgb(var(--primary)); */
        outline: none;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px;
    }

    .cs-loading {
        height: 320px;
    }
}

@media screen and (max-width:330px) {
    .pf-container .pf-product-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}