:root {
    
    --sapsfwc-container-width: 1000px;
    --sapsfwc-grid-columns: 3;
    --sapsfwc-grid-columns-mobile: 2;
    --sapsfwc-height: 85%;
    --sapsfwc-background: #ffffff;
    --sapsfwc-z-index: 999;
    --sapsfwc-body-before-background: rgba(36, 36, 36, 0.5);
    --sapsfwc-body-before-blur: 5px;

    --sapsfwc-close-width: 45px;
    --sapsfwc-close-height: 45px;
    --sapsfwc-close-border-radius: 100%;
    --sapsfwc-close-background: #242424;
    --sapsfwc-close-background-hover: #242424;
    --sapsfwc-close-font-size: 32px;
    --sapsfwc-close-color: #ffffff;
    --sapsfwc-close-hover-color: #ffffff;
    --sapsfwc-close-hover-rotation: 180deg;

    --sapsfwc-toggle-icon-width: 25px;
    --sapsfwc-toggle-icon-height: 25px;
    --sapsfwc-toggle-icon-color: #242424;
    --sapsfwc-toggle-icon-background-color: transparent;
    --sapsfwc-toggle-hover-icon-color: #242424;
    --sapsfwc-toggle-icon-width-mobile: 20px;
    --sapsfwc-toggle-icon-height-mobile: 20px;
    --sapsfwc-toggle-icon-color-mobile: #242424;

    --sapsfwc-shortcode-icon-margin-right: 0;
    --sapsfwc-shortcode-icon-width: 25px;
    --sapsfwc-shortcode-icon-height: 25px;
    --sapsfwc-shortcode-icon-color: #fff;
    --sapsfwc-shortcode-hover-icon-color: #fff;
    --sapsfwc-shortcode-icon-width-mobile: 25px;
    --sapsfwc-shortcode-icon-height-mobile: 25px;

    --sapsfwc-icon-color: #242424;
    --sapsfwc-icon-hover-color: #242424;
    --sapsfwc-scrollbar-thumb: rgba(36, 36, 36, 0.4);

    --sapsfwc-no-results-background: #e9e9e9;
    --sapsfwc-no-results-color: #242424;

    --sapsfwc-view-all-results-color: #242424;
    --sapsfwc-view-all-results-font-size: 21px;
    --sapsfwc-view-all-results-font-weight: 600;
    --sapsfwc-view-all-results-hover-color: #242424;

    --sapsfwc-loader-color: #242424;

    --sapsfwc-field-border-color: #ccc;
    --sapsfwc-field-color: #242424;
    --sapsfwc-field-font-size: 21px;
    --sapsfwc-field-font-weight: 400;
}

body.sapsfwc-open:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--sapsfwc-body-before-background);
    backdrop-filter: blur(var(--sapsfwc-body-before-blur));
    -webkit-backdrop-filter: blur(var(--sapsfwc-body-before-blur));
    z-index: 10;
    display: block;
}

.sapsfwc-toggle {
    appearance: none;
    padding: 0;
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    background-color: var(--sapsfwc-toggle-icon-background-color);
    color: var(--sapsfwc-toggle-icon-color);
    transition: all .3s;
}

.sapsfwc-toggle:hover {
    color: var(--sapsfwc-toggle-hover-icon-color);
}

.sapsfwc-toggle:hover svg {
    fill: var(--sapsfwc-toggle-hover-icon-color);
}

.sapsfwc-menu-item {
    display: flex;
    align-items: normal;
    justify-content: center;
}

.sapsfwc-toggle {
    display: flex;
    width: var(--sapsfwc-toggle-icon-width);
    height: var(--sapsfwc-toggle-icon-height);
}

.sapsfwc-toggle svg {
    width: 100%;
    height: 100%;
    fill: var(--sapsfwc-toggle-icon-color);
    transition: all .3s;
}

.sapsfwc-wrap {
    position: fixed;
    width: 100%;
    height: 0;
    opacity: 0;
    visibility: hidden;
    background: var(--sapsfwc-background);
    transform: translateY(0);
    top: 0;
    transition: all 0.5s;
    z-index: var(--sapsfwc-z-index);
    overflow: hidden;
    padding-top: 30px;
}

.sapsfwc-wrap.active {
    top: 0;
    height: var(--sapsfwc-height);
    opacity: 1;
    visibility: visible;
}

.sapsfwc-wrap.active.searched {
    height: 100%;
}

.sapsfwc-container {
    max-width: var(--sapsfwc-container-width);
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

.sapsfwc-wrap .products {
    display: grid !important;
    grid-template-columns: repeat(var(--sapsfwc-grid-columns), 1fr) !important;
    gap: 30px !important;
    margin: 0 0 30px 0 !important;
    padding: 0;
    list-style: none;
}

.sapsfwc-wrap .products:before {
    content: none !important;
}

.sapsfwc-wrap .products li.product {
    list-style: none;
    width: 100% !important;
    margin: 0 !important;
}

.sapsfwc-wrap .sapsfwc {
    position: relative;
    height: 100%;
}

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

.sapsfwc-header-logo img {
    
    height: auto;
    width: auto;
    display: block;
}

.sapsfwc-wrap .sapsfwc-header button.sapsfwc-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--sapsfwc-close-width);
    height: var(--sapsfwc-close-height);
    background: var(--sapsfwc-close-background);
    color: var(--sapsfwc-close-color);
    font-size: var(--sapsfwc-close-font-size);
    border-radius: var(--sapsfwc-close-border-radius);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    appearance: none;
    padding: 0;
}

.sapsfwc-wrap .sapsfwc-header button.sapsfwc-close:hover {
    transform: rotate(var(--sapsfwc-close-hover-rotation));
    background: var(--sapsfwc-close-background-hover);
    color: var(--sapsfwc-close-hover-color);
}

.sapsfwc-wrap .sapsfwc-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sapsfwc-wrap .sapsfwc-form form {
    display: flex;
    width: 100%;
    border-bottom: 1px solid var(--sapsfwc-field-border-color);
}

.sapsfwc-wrap .sapsfwc-form input[type="text"] {
    font-size: var(--sapsfwc-field-font-size);
    font-weight: var(--sapsfwc-field-font-weight);
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    padding: 10px 0;
    border-radius: 0;
    color: var(--sapsfwc-field-color) !important;
}

.sapsfwc-wrap .sapsfwc-form input[type="text"]:focus {
    border: none !important;
    outline: none !important;
}

.sapsfwc-wrap .sapsfwc-form-submit {
    background: none;
    outline: none;
    border: none;
    font-size: 1.5rem;
    color: var(--sapsfwc-icon-color);
    cursor: pointer;
    transition: all 0.3s;
    width: auto;
    padding: 0;
}

.sapsfwc-wrap .sapsfwc-form-submit:hover {
    color: var(--sapsfwc-icon-hover-color);
}

.sapsfwc-wrap .sapsfwc-archive {
    max-height: 60%;
    overflow-y: auto;
    margin-top: 2rem;
    padding-right: 1%;
    padding-top: 1rem;
}

.sapsfwc-wrap .sapsfwc-archive::-webkit-scrollbar {
    width: 1px;
    border-radius: 20px;
}

sapsfwc-wrap .sapsfwc-archive::-webkit-scrollbar-thumb {
    background: var(--sapsfwc-scrollbar-thumb);
}

.sapsfwc-wrap .sapsfwc-archive::-webkit-scrollbar-track {
    background: #ccc;
}

.sapsfwc-wrap .sapsfwc-archive .sapsfwc-no-results {
    background: var(--sapsfwc-no-results-background);
    color: var(--sapsfwc-no-results-color);
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    padding: 10px 25px;
    border-radius: 5px;
    margin-right: -1%;
    width: fit-content;
}

.sapsfwc-wrap .sapsfwc-archive .sapsfwc-product-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.sapsfwc-wrap .sapsfwc-archive .sapsfwc-product-grid .sapsfwc-product-item {
    width: calc(25% - 20px);
}

.sapsfwc-wrap .sapsfwc-archive .sapsfwc-product-grid .sapsfwc-product-item img {
    width: 100%;
    height: auto;
}

.sapsfwc-wrap .sapsfwc-archive .sapsfwc-product-grid .sapsfwc-product-item h2 {
    font-size: 1.2rem;
    margin-top: 10px;
}

.sapsfwc-wrap .sapsfwc-archive .sapsfwc-product-grid .sapsfwc-product-item .price {
    margin-bottom: 0;
    display: block;
    margin-top: 5px;
    font-weight: 500;
    font-size: 1rem;
    text-align: left;
}

.sapsfwc-wrap .sapsfwc-view-all-results {
    text-align: right;
    font-size: var(--sapsfwc-view-all-results-font-size);
    font-weight: var(--sapsfwc-view-all-results-font-weight);
    margin-top: 15px;
    margin-bottom: 1.5rem;
}

.sapsfwc-wrap .sapsfwc-view-all-results.is-hidden {
    display: none;
}

.sapsfwc-wrap .sapsfwc-view-all-results a {
    color: var(--sapsfwc-view-all-results-color);
    text-decoration: none;
    transition: all .3s;
}

.sapsfwc-wrap .sapsfwc-view-all-results a:hover {
    color: var(--sapsfwc-view-all-results-hover-color);
}

.sapsfwc-wrap .sapsfwc-load-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.sapsfwc-wrap .sapsfwc-load-more-wrap.is-hidden {
    display: none;
}

button.sapsfwc-toggle {
    display: flex;
    position: relative;
    width: auto;
    height: 100%;
    align-items: center;
}

button.sapsfwc-toggle svg {
    fill: var(--sapsfwc-shortcode-icon-color);
    width: var(--sapsfwc-shortcode-icon-width);
    height: var(--sapsfwc-shortcode-icon-height);
    margin-right: var(--sapsfwc-shortcode-icon-margin-right);
    transition: all .3s;
}

button.sapsfwc-toggle svg:hover {
    fill: var(--sapsfwc-shortcode-hover-icon-color);
}

@media (max-width: 767px) {
    .sapsfwc-toggle {
        width: var(--sapsfwc-toggle-icon-width-mobile);
        height: var(--sapsfwc-toggle-icon-height-mobile);
    }

    .sapsfwc-toggle svg {
        fill: var(--sapsfwc-toggle-icon-color-mobile);
    }

    .sapsfwc-wrap .products {
        grid-template-columns: repeat(var(--sapsfwc-grid-columns-mobile), 1fr) !important;
    }

    button.sapsfwc-toggle svg {
        width: var(--sapsfwc-shortcode-icon-width-mobile);
        height: var(--sapsfwc-shortcode-icon-height-mobile);
    }
}

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

.sapsfwc-loader {
    position: relative;
    margin: 100px auto;
    width: 60px;
    height: 60px;
}

.sapsfwc-loader div,
.sapsfwc-loader div:after {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 10px solid var(--sapsfwc-loader-color);
    border-top-color: transparent;
    border-radius: 50%;
}

.sapsfwc-loader div {
    animation: sapsfwc-rolling-loader 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sapsfwc-loader div:after {
    transform: rotate(90deg);
}

.sapsfwc-load-more-loader .sapsfwc-loader {
    margin: 0 auto;
}