/*
 * Оформление каталога, карточек товаров и фильтров.
 */
.catalog-pro {
    max-width: 1270px;
    margin: 0 auto 50px;
}
.catalog-pro .catalog-heading {
    margin-bottom: 24px;
}
.original-catalog.catalog-pro .catalog-pro-form {
    position: relative;
    z-index: 9;
    margin: 20px auto 22px;
    padding: 23px 26px 18px;
    background: #fffdf4;
    border: 1px solid #e6d9ca;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(85,55,39,.035);
    max-width: none;
}
.original-catalog.catalog-pro .catalog-filter-main {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(215px,.87fr) 159px;
    gap: 15px;
    align-items: end;
}
.catalog-pro .catalog-search-wrap {
    position: relative;
    min-width: 0;
}
.catalog-pro .catalog-search-heading {
    display: block;
    font: 600 13px/1.45 'Trebuchet MS',Arial,sans-serif;
    color: #6b5c55;
    margin-bottom: 7px;
}
.catalog-pro .catalog-search-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 52px;
    background: #fefff6;
    border: 1px solid #d9c7b6;
    border-radius: 11px;
    transition: border-color .4s ease,box-shadow .4s ease,background-color .4s ease;
}
.catalog-pro .catalog-search-field:focus-within {
    border-color: #ab7776;
    background: #fffdf8;
    box-shadow: 0 0 0 4px rgba(171,119,118,.095);
}
.catalog-pro .catalog-search-field svg {
    position: absolute;
    left: 16px;
    color: #9b7773;
    pointer-events: none;
}
.original-catalog.catalog-pro .catalog-search-field input {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 38px 0 47px;
    border: 0!important;
    box-shadow: none!important;
    outline: 0!important;
    border-radius: 11px;
    background: transparent!important;
    color: #504741;
    font: 15px 'Trebuchet MS',Arial,sans-serif;
    min-width: 0;
}
.catalog-pro .catalog-search-field input::placeholder {
    color: #a4968c;
}
.catalog-pro .catalog-search-working {
    display: block;
    position: absolute;
    right: 16px;
    width: 14px;
    height: 14px;
    border: 2px solid #d4bbaa;
    border-top-color: #976865;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.catalog-pro .catalog-pro-form.is-loading .catalog-search-working {
    opacity: 1;
    animation: catalog-spin 1s linear infinite;
}
@keyframes catalog-spin {
    to {
        transform: rotate(360deg);
    }
}
.catalog-pro .catalog-sort-box {
    min-width: 0;
    gap: 7px;
    font-size: 13px;
    line-height: 1.45;
}
.catalog-pro .catalog-sort-box select {
    height: 52px;
    border-radius: 11px;
}
.catalog-pro .catalog-find {
    height: 52px;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 1px solid #98716e;
    border-radius: 11px;
    background: #97736f;
    color: #fff;
    font: 700 14px 'Trebuchet MS',Arial,sans-serif;
    white-space: nowrap;
    transition: background-color .4s ease,transform .4s ease,box-shadow .4s ease;
}
.catalog-pro .catalog-find:hover,.catalog-pro .catalog-filter-apply:hover {
    background: #805a5a;
    box-shadow: 0 8px 17px rgba(98,65,53,.13);
    transform: translateY(-1px);
}
.catalog-pro .catalog-find span:last-child {
    font: 23px Georgia,serif;
}
.catalog-pro .catalog-quick-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 9px;
    row-gap: 11px;
    margin-top: 21px;
    padding: 18px 0 0;
    border-top: 1px solid #eee3d8;
}
.catalog-pro .catalog-chip-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    padding: 9px 14px;
    border: 1px solid #dfd2c5;
    border-radius: 24px;
    background: #fffdf6;
    color: #7c6861;
    font: 600 13px/1.2 'Trebuchet MS',Arial,sans-serif;
    cursor: pointer;
    user-select: none;
    transition: background-color .4s ease,color .4s ease,border-color .4s ease,transform .35s ease,box-shadow .4s ease;
}
.catalog-pro .catalog-chip-check:hover {
    border-color: #bfa49a;
    transform: translateY(-1px);
}
.catalog-pro .catalog-chip-check input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    margin: 0;
    cursor: pointer;
}
.catalog-pro .catalog-chip-check:focus-within {
    outline: 2px solid #af8e87;
    outline-offset: 3px;
}
.catalog-pro .catalog-chip-check.is-checked,.catalog-pro .catalog-chip-check:has(input:checked) {
    background: #8f6b66;
    color: #fff;
    border-color: #8f6b66;
    box-shadow: 0 5px 15px rgba(107,79,67,.10);
}
.catalog-pro .catalog-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9bdb2;
    transition: background-color .4s ease,transform .4s ease;
}
.catalog-pro .catalog-chip-check.is-checked .catalog-chip-dot,.catalog-pro .catalog-chip-check:has(input:checked) .catalog-chip-dot {
    background: #fff8eb;
    transform: scale(1.25);
}
.catalog-pro .catalog-extra-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 39px;
    margin-left: auto;
    padding: 5px 4px 5px 12px;
    background: transparent;
    border: 0;
    color: #795652;
    font: 700 13px 'Trebuchet MS',Arial,sans-serif;
    cursor: pointer;
}
.catalog-pro .catalog-ui-ready .catalog-extra-toggle {
    display: inline-flex;
}
.catalog-pro .catalog-extra-toggle span {
    display: inline-block;
    font: 24px Georgia,serif;
    transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.catalog-pro .catalog-extra-toggle[aria-expanded=true] span {
    transform: rotate(180deg);
}
.catalog-pro .catalog-extra {
    margin-top: 0;
    border: 0;
}
.catalog-pro .catalog-panel-shell {
    display: block;
    min-width: 0;
}
.catalog-pro .catalog-ui-ready .catalog-panel-shell {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
    transition: grid-template-rows .56s cubic-bezier(.22,.78,.22,1),opacity .44s ease;
}
.catalog-pro .catalog-ui-ready .catalog-extra.is-open .catalog-panel-shell {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
}
.catalog-pro .catalog-panel-inner {
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}
.catalog-pro .catalog-extra-fields {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1.35fr)) repeat(2,minmax(105px,.75fr)) minmax(155px,1fr);
    gap: 14px;
    align-items: end;
    padding: 26px 0 11px;
}
.catalog-pro .catalog-extra-fields label {
    min-width: 0;
    font: 600 13px/1.45 'Trebuchet MS',Arial,sans-serif;
    color: #79685f;
}
.catalog-pro .catalog-extra-fields label input,.catalog-pro .catalog-extra-fields label select {
    height: 46px;
    width: 100%;
    min-width: 0;
    border-radius: 9px;
    border: 1px solid #dacbbd;
    background: #fefff6;
    color: #574b45;
    transition: border-color .4s ease,box-shadow .4s ease;
}
.catalog-pro .catalog-extra-fields input:focus {
    border-color: #b88e87;
    box-shadow: 0 0 0 3px rgba(173,122,111,.09);
}
.catalog-pro .catalog-price-presets {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font: 13px 'Trebuchet MS',Arial,sans-serif;
}
.catalog-pro .catalog-price-presets>span {
    color: #8a7770;
    margin-right: 4px;
}
.catalog-pro .catalog-price-presets button {
    padding: 9px 11px;
    background: transparent;
    border: 1px solid #e0d3c5;
    border-radius: 9px;
    color: #80635d;
    cursor: pointer;
    transition: background-color .36s,border-color .36s,transform .36s;
}
.catalog-pro .catalog-price-presets button:hover,.catalog-pro .catalog-price-presets button.is-active {
    background: #f3e7dc;
    border-color: #bfa59b;
    transform: translateY(-1px);
}
.catalog-pro .catalog-panel-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 21px;
    padding: 22px 0 5px;
}
.catalog-pro .catalog-filter-apply {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    min-height: 44px;
    border-radius: 9px;
    padding: 10px 20px;
    background: #94706c;
    white-space: nowrap;
    transition: background .4s ease,transform .4s ease,box-shadow .4s ease;
}
.catalog-pro .catalog-clear {
    padding: 10px 0;
    color: #8a655e;
    font: 600 13px 'Trebuchet MS',Arial,sans-serif;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}
.catalog-pro .catalog-custom-select {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.catalog-pro .catalog-custom-select.is-open {
    z-index: 42;
}
.catalog-pro .catalog-native-enhanced {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    opacity: 0!important;
    clip-path: inset(50%)!important;
    pointer-events: none!important;
    overflow: hidden!important;
}
.catalog-pro .catalog-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 52px;
    padding: 9px 13px;
    border: 1px solid #dacbbd;
    border-radius: 11px;
    background: #fefff6;
    color: #584b46;
    text-align: left;
    font: 14px 'Trebuchet MS',Arial,sans-serif;
    cursor: pointer;
    transition: border-color .4s ease,background-color .4s ease,box-shadow .4s ease;
}
.catalog-pro .catalog-extra-fields .catalog-dropdown-trigger {
    height: 46px;
    border-radius: 9px;
    font-size: 13px;
}
.catalog-pro .catalog-dropdown-trigger:hover,.catalog-pro .catalog-custom-select.is-open .catalog-dropdown-trigger {
    border-color: #bc9f94;
    background: #fffef8;
    box-shadow: 0 4px 17px rgba(105,69,55,.045);
}
.catalog-pro .catalog-dropdown-label {
    min-width: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.catalog-pro .catalog-dropdown-chevron {
    display: inline-block;
    flex: none;
    font: 22px Georgia,serif;
    color: #977b72;
    transition: transform .56s cubic-bezier(.22,1,.36,1);
}
.catalog-pro .catalog-custom-select.is-open .catalog-dropdown-chevron {
    transform: rotate(180deg);
}
.catalog-pro .catalog-dropdown-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow: auto;
    padding: 6px;
    border: 1px solid #e1d1c1;
    border-radius: 13px;
    background: #fffef8;
    box-shadow: 0 23px 55px rgba(76,49,38,.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(.975);
    transform-origin: top center;
    transition: opacity .43s ease,transform .54s cubic-bezier(.22,1,.36,1),visibility .54s;
}
.catalog-pro .catalog-custom-select.is-open .catalog-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.catalog-pro .catalog-dropdown-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 13px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #665750;
    text-align: left;
    font: 14px/1.3 'Trebuchet MS',Arial,sans-serif;
    cursor: pointer;
    transition: background-color .36s ease,color .36s ease,padding-left .4s ease;
}
.catalog-pro .catalog-dropdown-option:hover,.catalog-pro .catalog-dropdown-option:focus-visible {
    background: #f5eadf;
    padding-left: 17px;
    outline: 0;
}
.catalog-pro .catalog-dropdown-option[aria-selected=true] {
    color: #865751;
    background: #f6eee4;
    font-weight: 700;
}
.catalog-pro .catalog-dropdown-option[aria-selected=true]:after {
    content: '✓';
    color: #96716d;
    font-size: 15px;
}
.catalog-pro .catalog-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 55;
    padding: 7px;
    border-radius: 14px;
    background: #fffef9;
    border: 1px solid #e0d2c4;
    box-shadow: 0 23px 55px rgba(80,54,43,.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px) scale(.98);
    transition: opacity .4s ease,transform .52s cubic-bezier(.22,1,.36,1),visibility .52s;
}
.catalog-pro .catalog-suggestions.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.catalog-pro .catalog-suggestion-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 9px;
    text-decoration: none;
    color: #635650;
    transition: background-color .32s ease;
}
.catalog-pro .catalog-suggestion-item:hover,.catalog-pro .catalog-suggestion-item:focus-visible {
    background: #f5ebdf;
    outline: 0;
}
.catalog-pro .catalog-suggestion-item img {
    width: 47px;
    height: 53px;
    object-fit: contain;
    flex: 0 0 47px;
    border-radius: 6px;
}
.catalog-pro .catalog-suggestion-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    flex: 1;
    font: 13px/1.35 'Trebuchet MS',Arial,sans-serif;
}
.catalog-pro .catalog-suggestion-text strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
}
.catalog-pro .catalog-suggestion-text small {
    color: #98766e;
}
.catalog-pro .catalog-suggestion-item>b {
    font: 700 13px Georgia,serif;
    color: #87615b;
    white-space: nowrap;
}
.catalog-pro .catalog-suggestions-more {
    display: block;
    padding: 11px 12px;
    margin-top: 4px;
    border-top: 1px solid #eee4d7;
    text-align: center;
    background: transparent;
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
    width: 100%;
    color: #87615b;
    font: 700 13px 'Trebuchet MS',Arial,sans-serif;
    cursor: pointer;
}
.catalog-pro .catalog-results {
    min-height: 290px;
    opacity: 1;
    transition: opacity .36s ease,transform .42s ease;
}
.catalog-pro .catalog-results.is-transitioning {
    opacity: .35;
    transform: translateY(6px);
}
.catalog-pro .catalog-results.is-ready {
    animation: catalog-fade-in .52s cubic-bezier(.22,1,.36,1) both;
}
@keyframes catalog-fade-in {
    from {
        opacity: .2;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.catalog-pro .catalog-results-top {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0 0 23px;
}
.original-catalog.catalog-pro .original-catalog-count {
    margin: 0;
    text-align: left;
    color: #8b7770;
    font: 14px/1.5 'Trebuchet MS',Arial,sans-serif;
}
.catalog-pro .original-catalog-count strong {
    color: #674f4b;
    font-weight: 700;
}
.catalog-pro .catalog-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.catalog-pro .catalog-applied-tag {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #e5d5c4;
    border-radius: 20px;
    text-decoration: none;
    background: #faf3e9;
    color: #855e5b;
    font: 12px/1.2 'Trebuchet MS',Arial,sans-serif;
    transition: border-color .33s,background-color .33s;
}
.catalog-pro .catalog-applied-tag:hover {
    border-color: #bba39b;
    background: #f4e8dc;
}
.catalog-pro .catalog-applied-tag span {
    font: 18px/10px Arial,sans-serif;
}
.catalog-pro .catalog-clear-all {
    color: #875c56;
    font: 600 12px 'Trebuchet MS',Arial,sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin: 0 8px;
}
.catalog-pro .catalog-empty {
    max-width: 750px;
    margin: 22px auto;
    text-align: center;
}
.catalog-pro .catalog-empty h2 {
    color: #725a56;
    font: 400 28px Georgia,serif;
}
.catalog-pro .catalog-empty p {
    color: #8d7a6f;
}
.catalog-pro .catalog-pages {
    margin: 36px auto 50px;
}
/* Адаптация элементов к доступной ширине экрана. */
@media (max-width:1120px) {
    .original-catalog.catalog-pro .catalog-filter-main {
        grid-template-columns: minmax(0,1.4fr) minmax(200px,.8fr);
    }
    .catalog-pro .catalog-find {
        grid-column: 1/-1;
    }
    .catalog-pro .catalog-extra-fields {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}
@media (max-width:710px) {
    .original-catalog.catalog-pro .catalog-pro-form {
        padding: 19px 16px 16px;
    }
    .original-catalog.catalog-pro .catalog-filter-main {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .catalog-pro .catalog-find {
        grid-column: auto;
    }
    .catalog-pro .catalog-extra-fields {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px;
    }
    .catalog-pro .catalog-quick-filters {
        column-gap: 7px;
    }
    .catalog-pro .catalog-chip-check {
        padding: 9px 11px;
        font-size: 12px;
    }
    .catalog-pro .catalog-extra-toggle {
        margin-left: 0;
    }
    .catalog-pro .catalog-panel-actions {
        justify-content: flex-start;
    }
    .catalog-pro .catalog-dropdown-menu {
        max-height: 265px;
    }
}
@media (max-width:420px) {
    .catalog-pro .catalog-extra-fields {
        grid-template-columns: 1fr;
    }
    .catalog-pro .catalog-price-presets button {
        padding: 8px 9px;
        font-size: 12px;
    }
    .catalog-pro .catalog-dropdown-menu {
        max-height: 220px;
    }
    .catalog-pro .catalog-suggestion-item>b {
        font-size: 11px;
    }
}
@media (prefers-reduced-motion:reduce) {
    .catalog-pro .catalog-ui-ready .catalog-panel-shell,.catalog-pro .catalog-custom-select *,.catalog-pro .catalog-suggestions,.catalog-pro .catalog-results,.catalog-pro .catalog-chip-check,.catalog-pro .catalog-extra-toggle span {
        animation: none!important;
        transition: none!important;
    }
}
.catalog-pro .catalog-sort-box label,.catalog-pro .catalog-extra-fields .catalog-field>label {
    display: block;
    color: #79685f;
    font: 600 13px/1.45 'Trebuchet MS',Arial,sans-serif;
    margin: 0 0 7px;
}
.catalog-pro .catalog-extra-fields .catalog-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.catalog-pro .catalog-extra-fields .catalog-field select {
    width: 100%;
    height: 46px;
    border: 1px solid #dacbbd;
    border-radius: 9px;
    background: #fefff6;
}
.catalog-pro .catalog-ui-ready .catalog-extra.is-fully-open .catalog-panel-inner {
    overflow: visible;
}
