

/* Start:/local/templates/contwell/components/bitrix/catalog.smart.filter/contwell/style.css?17777517908321*/
/* Premium Smart Filter Styles */



/* Overlay & Drawer */
.cw-filter {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
}
.cw-filter.is-open {
    pointer-events: auto;
}
.cw-filter__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}
.cw-filter.is-open .cw-filter__overlay {
    opacity: 1;
}

.cw-filter__content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}
.cw-filter.is-open .cw-filter__content {
    transform: translateX(0);
}

/* Header */
.cw-filter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.cw-filter__title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #111;
}
.cw-filter__close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #888;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.cw-filter__close:hover {
    color: #111;
    background: #f5f5f5;
    transform: rotate(90deg);
}

/* Form Area */
.cw-filter__form {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.cw-filter__scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 10px 40px 40px;
}
.cw-filter__scroll-area::-webkit-scrollbar {
    width: 6px;
}
.cw-filter__scroll-area::-webkit-scrollbar-track {
    background: transparent;
}
.cw-filter__scroll-area::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}
.cw-filter__scroll-area::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Groups */
.cw-filter-group {
    padding: 30px 0;
    border-bottom: 1px solid #f5f5f5;
}
.cw-filter-group:last-child {
    border-bottom: none;
}
.cw-filter-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.cw-filter-group__title {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin: 0;
}
.cw-filter-group__reset {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
}
.cw-filter-group__reset:hover {
    color: var(--color-orange, #ff6b00);
    background: rgba(255, 107, 0, 0.05);
}

/* Tag Buttons */
.cw-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cw-filter-tag {
    position: relative;
    cursor: pointer;
    border-radius: 40px;
    background: #f7f7f7;
    padding: 10px 20px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.cw-filter-tag:hover {
    background: #f0f0f0;
}
.cw-filter-tag.is-active {
    background: rgba(255, 107, 0, 0.08);
    border-color: rgba(255, 107, 0, 0.3);
}
.cw-filter-tag.is-active .cw-filter-tag__label {
    color: var(--color-orange, #ff6b00);
    font-weight: 600;
}
.cw-filter-tag__input {
    position: absolute;
    opacity: 0;
}
.cw-filter-tag__label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px;
    color: #444;
    transition: color 0.2s;
}

/* Checkbox List */
.cw-filter-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cw-filter-item {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}
.cw-filter-item__input {
    position: absolute;
    opacity: 0;
}
.cw-filter-item__checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    background: white;
}
.cw-filter-item:hover .cw-filter-item__checkmark {
    border-color: #bbb;
}
.cw-filter-item.is-active .cw-filter-item__checkmark {
    background: var(--color-orange, #ff6b00);
    border-color: var(--color-orange, #ff6b00);
}
.cw-filter-item__checkmark svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cw-filter-item.is-active .cw-filter-item__checkmark svg {
    opacity: 1;
    transform: scale(1);
}
.cw-filter-item__label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    color: #333;
}

/* Range Sliders */
.cw-filter-range {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cw-filter-range__inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cw-filter-range__input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.cw-filter-range__input-wrap:focus-within {
    border-color: rgba(255, 107, 0, 0.4);
    background: #fff;
}
.cw-filter-range__label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px;
    color: #888;
    margin-right: 8px;
}
.cw-filter-range__input {
    border: none;
    background: transparent;
    width: 100%;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    color: #111;
    outline: none;
    font-weight: 500;
}
.cw-filter-range__input::-webkit-outer-spin-button,
.cw-filter-range__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cw-filter-range__input[type=number] {
    -moz-appearance: textfield;
}
.cw-filter-range__separator {
    color: #ccc;
    font-weight: 600;
}
.cw-filter-range__slider {
    position: relative;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin: 10px 0;
}
.filter-range__track {
    position: absolute;
    height: 100%;
    background: var(--color-orange, #ff6b00);
    border-radius: 2px;
    z-index: 1;
}
.cw-filter-range__native {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 2;
    margin: 0;
}
.cw-filter-range__native::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-orange, #ff6b00);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 107, 0, 0.2);
    transition: transform 0.1s;
}
.cw-filter-range__native::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.cw-filter-range__native::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-orange, #ff6b00);
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 107, 0, 0.2);
}

/* Bottom Actions */
.cw-filter__actions {
    padding: 24px 40px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}
.cw-btn-apply {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #004156;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 20px;
    margin-top: 12px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cw-btn-apply:hover {
    background: #002c3b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 65, 86, 0.15);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .cw-filter__content {
        max-width: 100%;
        border-radius: 0;
    }
    .cw-filter__header {
        padding: 24px 24px 16px;
    }
    .cw-filter__scroll-area {
        padding: 10px 24px 30px;
    }
    .cw-filter__actions {
        padding: 20px 24px;
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }
}

/* End */


/* Start:/local/templates/contwell/components/bitrix/catalog.section/contwell/style.css?17811581791082*/
.product-item__stock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: #4a4a4a;
}

.product-item__stock-value {
    font-weight: 600;
    color: #202020;
}

.product-item__stock-status {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.product-item__stock-status.is-available {
    background: rgba(26, 127, 55, 0.12);
    color: #1a7f37;
}

.product-item__stock-status.is-out {
    background: rgba(208, 2, 27, 0.12);
    color: #d0021b;
}

/* compact variant for catalog list */
.product-item__stock--compact {
    margin-top: 6px;
}

.product-item__stock--compact .product-item__stock-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.product-item__stock--compact .product-item__stock-status.is-available {
    background: rgba(26,127,55,0.08);
    color: #1a7f37;
}

.product-item__stock--compact .product-item__stock-status.is-out {
    background: rgba(208,2,27,0.08);
    color: #d0021b;
}

/* End */


/* Start:/local/templates/contwell/components/bitrix/system.pagenavigation/contwell/style.css?17769563911436*/
.pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.pagination__list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination__item {
    display: flex;
}

.pagination__link,
.pagination__dots {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;

    border: 1px solid #E7E7E7;
    border-radius: 12px;
    background: #FFFFFF;
    color: #2F2F2F;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: .2s ease;
}

.pagination__link:hover {
    border-color: #FF8F78;
    color: #FF8F78;
    transform: translateY(-1px);
}

.pagination__link--active {
    border-color: #FF8F78;
    background: #FF8F78;
    color: #FFFFFF;
    pointer-events: none;
}

.pagination__link--nav {
    padding: 0;
}

.pagination__dots {
    min-width: auto;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: #B8B8B8;
    pointer-events: none;
}

@media (max-width: 767px) {
    .pagination {
        margin-top: 24px;
    }

    .pagination__list {
        gap: 6px;
    }

    .pagination__link,
    .pagination__dots {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        border-radius: 10px;
        font-size: 13px;
    }
}
/* End */
/* /local/templates/contwell/components/bitrix/catalog.smart.filter/contwell/style.css?17777517908321 */
/* /local/templates/contwell/components/bitrix/catalog.section/contwell/style.css?17811581791082 */
/* /local/templates/contwell/components/bitrix/system.pagenavigation/contwell/style.css?17769563911436 */
