.lux-category-search {
    position: relative;
    margin-left: 0;
    padding-left: 15px;
    box-sizing: border-box;
}

.sortig-new {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.sortig-new #mse2_sort {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    margin-top:6px;
}

.sortig-new > .sort-right {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    white-space: nowrap;
    margin-top:6px;
}

.sortig-new > .lux-category-search {
    flex: 0 0 20.833333%;
    width: 20.833333%;
    max-width: 20.833333%;
}

.lux-category-search > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lux-category-search__field {
    position: relative;
}

.lux-category-search__input {
    width: 100%;
    height: 38px;
    padding: 7px 38px 7px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
}

.lux-category-search__input::placeholder {
    font-size: 12px;
}

.lux-category-search__input:hover,
.lux-category-search__input:focus {
    border-color: rgb(255, 214, 0);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(255, 214, 0, .18);
}

.lux-category-search__input[aria-busy="true"] {
    background-image: linear-gradient(90deg, transparent, rgba(204, 153, 102, .16), transparent);
    background-size: 200% 100%;
    animation: lux-category-search-loading 1.2s linear infinite;
}

.lux-category-search__clear {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 28px;
    height: 28px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #777;
    font-size: 22px;
    line-height: 28px;
    cursor: pointer;
}

.lux-category-search__status {
    min-height: 18px;
    margin-top: 3px;
    color: #777;
    font-size: 12px;
    line-height: 15px;
}

.lux-category-search__status.is-error {
    color: #b3261e;
}

[id="mse2_ms|price"] {
    padding-bottom: 22px;
}

[id="mse2_ms|price"] .filter_title {
    margin-bottom: 16px;
}

[id="mse2_ms|price"] .mse2_number_slider {
    height: 5px;
    margin: 0 9px 18px;
    border: 0;
    border-radius: 999px;
    background: #e4e4e6;
}

[id="mse2_ms|price"] .ui-slider-range {
    border: 0;
    border-radius: 999px;
    background: rgb(255, 214, 0);
}

[id="mse2_ms|price"] .ui-slider-handle {
    top: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    transform: translateY(-50%);
    border: 3px solid #fff;
    border-radius: 50%;
    background: rgb(255, 214, 0);
    box-shadow: 0 0 0 1px #d2d2d4, 0 2px 6px rgba(0, 0, 0, .13);
    cursor: pointer;
}

[id="mse2_ms|price"] .ui-slider-handle:focus,
[id="mse2_ms|price"] .ui-slider-handle.ui-state-active {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .28), 0 2px 6px rgba(0, 0, 0, .13);
}

[id="mse2_ms|price"] .mse2_number_inputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    color: #4b4b4d !important;
}

[id="mse2_ms|price"] .mse2_number_inputs .form-group {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

[id="mse2_ms|price"] .mse2_number_inputs label {
    display: grid;
    grid-template-columns: auto minmax(44px, 1fr) auto;
    gap: 6px;
    align-items: center;
    margin: 0;
    color: #66676a;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

[id="mse2_ms|price"] .mse2_number_inputs input.form-control {
    width: 100%;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #dedee1;
    border-radius: 7px;
    background: #fff;
    color: #303034;
    font-size: 14px;
    font-weight: 500;
    line-height: 38px;
    text-align: center;
    box-shadow: none;
}

[id="mse2_ms|price"] .mse2_number_inputs input.form-control:hover,
[id="mse2_ms|price"] .mse2_number_inputs input.form-control:focus {
    border-color: rgb(255, 214, 0);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(255, 214, 0, .16);
}

.lux-category-search__empty {
    width: 100%;
    padding: 30px 15px;
    text-align: center;
    color: #777;
}

@keyframes lux-category-search-loading {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

@media (max-width: 767px) {
    .sortig-new #mse2_sort,
    .sortig-new > .sort-right {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }

    .sortig-new > .lux-category-search {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .lux-category-search {
        margin-top: 10px;
        padding-left: 0;
    }
}

.lux-card-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 7px;
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.lux-card-actions .phone-but {
    appearance: none;
    display: inline-flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0;
    height: 40px;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    outline: 0;
    line-height: 1.2;
}

.lux-card-actions .phone-but:not(.is-in-cart) {
    padding-top: 2px !important;
    padding-bottom: 0 !important;
}

.lux-card-actions .phone-but.is-in-cart {
    background: #f1f1f1 !important;
    color: #2d2d2f !important;
    font-size: 14px !important;
    line-height: 1.2;
    box-shadow: none !important;
}

.lux-card-actions .phone-but.is-in-cart:hover,
.lux-card-actions .phone-but.is-in-cart:focus,
.lux-card-actions .phone-but.is-in-cart:focus-visible,
.lux-card-actions .phone-but.is-in-cart:active {
    background: #f1f1f1 !important;
    color: #2d2d2f !important;
    box-shadow: none !important;
}

.lux-card-actions .lux-calc-trigger:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .35);
}

.lux-product-card-link {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgb(255, 214, 0);
    color: #1b170d;
    cursor: pointer;
    transition: filter .16s ease, transform .16s ease;
}

.lux-product-card-link:hover,
.lux-product-card-link:focus {
    outline: 0;
    filter: brightness(.96);
}

.lux-product-card-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 214, 0, .3);
}

.lux-product-card-link:active {
    transform: translateY(1px);
}

.lux-product-card-link.lux-cart-remove-product {
    background: #f1f1f1;
    color: #222;
}

.lux-product-card-link .lux-cart-remove-product__icon {
    display: block;
    width: 19px;
    height: 19px;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.lux-product-card-link.lux-cart-remove-product:hover,
.lux-product-card-link.lux-cart-remove-product:focus {
    background: #e7e7e7;
    color: #b3261e;
}

.lux-product-card-link.lux-cart-remove-product.is-loading {
    opacity: .55;
    pointer-events: none;
}

.lux-product-card-link svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lux-calc-modal {
    position: fixed;
    z-index: 12000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lux-calc-modal.is-open {
    display: flex;
}

.lux-calc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 15, .62);
}

.lux-calc-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.lux-calc-modal__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lux-calc-modal__product {
    min-width: 0;
    overflow: hidden;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lux-calc-modal__close {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #333;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.lux-calc-modal__content .ivycalc {
    margin-bottom: 0;
}

.lux-calc-modal__loading,
.lux-calc-modal__error {
    padding: 42px 15px;
    text-align: center;
    color: #666;
}

.lux-calc-modal__error {
    color: #b3261e;
}

.lux-calc-modal__cart-status {
    min-height: 20px;
    margin-top: 10px;
    color: #287a30;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

.lux-calc-modal__cart-status:empty {
    display: none;
}

.lux-calc-modal__cart-status.is-error {
    color: #b3261e;
}

.lux-calc-modal__cart-status a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.ivy-product-direct-cart {
    width: 100%;
    max-width: 240px;
    margin: 18px 0 10px;
}

.ivy-product-direct-cart .ivy-buy {
    width: 100%;
    border: 0;
}

body.lux-calc-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .lux-calc-modal {
        padding: 10px;
    }

    .lux-calc-modal__dialog {
        max-height: calc(100vh - 20px);
        padding: 14px;
        border-radius: 10px;
    }

    .lux-calc-modal__product {
        font-size: 14px;
    }
}
