/* Write your custom code here */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: calc(var(--padding) * 0.5);
}

.left-panel__header {
    display: block;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .left-panel__header {
        display: none;
    }
}

.left-panel__header .button {
    width: auto;
    min-width: 0;
}

.left-panel__body {
    display: none;
}

@media only screen and (max-width: 768px) {
    .left-panel__body_state_opened {
        display: block;
    }
}

@media only screen and (min-width: 768px) {
    .left-panel__body {
        display: block;
    }
}

.smart-filter-panel {
    display: block;
    margin-bottom: var(--gap);
}

.sf_slider_digits {
    padding: 12px;
    background: var(--color-main);
    border-radius: 10px;
}

.sf_slider_digits .input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sf_slider_digits .input__title {
    margin: 0;
}

.sf_slider_digits .input__item {
    min-width: 0;
    min-height: 0;
    padding: 8px 9px;
}

#sf_slider {
    border: 1px solid var(--color-font-def);
    background: var(--color-white);
    border-radius: 10px;
}

#sf_slider .ui-state-default {
    border: 1px solid var(--color-button);
    background: var(--color-button) !important;
    font-weight: bold;
    color: var(--color-font-def);
}

#sf_slider .ui-state-hover {
    border: 1px solid var(--color-button);
    background: var(--color-button) !important;
    font-weight: bold;
    color: var(--color-font-def);
}

#sf_slider .ui-state-focus {
    border: 1px solid var(--color-button);
    background: var(--color-main) !important;
    font-weight: bold;
    color: var(--color-font-def);
    outline: none;
}

#sf_slider .ui-widget-header {
    background: var(--color-main) !important;
}

.sf_panel .button {
    min-width: 0;
    min-height: 0;
    padding-right: 40px;
}

.sf_panel .button__icon {
    right: 15px;
}

.sf_panel .button__icon_order_desc {
    rotate: 90deg;
}

#list_product_image_thumb {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 30px;
}

.jshop_img_thumb {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--color-button);
    cursor: pointer;
}

.order-popup {
    position: relative;
    width: auto;
    max-width: 768px;
    margin: 10px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
}
.callback-popup {
    position: relative;
    width: auto;
    max-width: 768px;
    margin: 10px auto;
    padding: 30px;
    background: url('/images/modals/bg/callorder-bg.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 10px;
}

.callback-popup .mfp-close {
    color: #ffffff;
}

.mfp-title {
    --font-size: 24px;
    display: block;
    margin: 0 0 1.25em;
    padding: 0;
    color: currentColor;
    font-family: var(--font-family-header);
    font-size: var(--font-size);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
}

@media only screen and (min-width: 1830px) {
    .mfp-title {
        --font-size: 36px;
    }
}
@media only screen and (min-width: 1200px) {
    .mfp-title {
        --font-size: 35px;
    }
}
@media only screen and (min-width: 1024px) {
    .mfp-title {
        --font-size: 34px;
    }
}
@media only screen and (min-width: 768px) {
    .mfp-title {
        --font-size: 30px;
    }
}
@media only screen and (min-width: 480px) {
    .mfp-title {
        --font-size: 28px;
    }
}
