

/* Start:/local/templates/fresco/css/catalog-modern.css?178417740473625*/
.af-catalog-hero,
.af-catalog-nav,
.af-popular-products,
.af-catalog-help,
.af-catalog-seo,
.af-catalog-page,
.af-product-detail,
.af-related { margin-top: 32px; margin-bottom: 32px; }
.af-catalog-hero { background: #f7f2eb; border-radius: 28px; padding: 42px; }
.af-catalog-hero h1, .af-section-banner h1, .af-product-detail h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.08; margin-bottom: 16px; }
.af-catalog-hero p, .af-section-banner p { max-width: 760px; color: #6d665f; font-size: 18px; }
.af-catalog-search { display: flex; gap: 12px; max-width: 860px; margin: 26px 0; }
.af-catalog-search input { flex: 1; border: 1px solid #ddd2c6; border-radius: 999px; padding: 16px 22px; background: #fff; }
.af-catalog-search button, .btn-green { border: 0; background: #527d48; color: #fff; border-radius: 999px; padding: 14px 24px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.af-btn-outline { border: 1px solid #527d48; color: #527d48; background: #fff; border-radius: 999px; padding: 13px 22px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.af-catalog-hero__actions, .af-section-banner__actions, .af-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.af-section-head { margin-bottom: 20px; }
.af-section-head span, .af-section-label { color: #527d48; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }
.af-section-head--row { display: flex; align-items: end; justify-content: space-between; }
.af-nav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.af-nav-card, .af-help-card, .af-catalog-seo, .af-section-banner, .af-ready-info, .af-detail-block, .af-related { background: #fff; border: 1px solid #e2d8cd; border-radius: 22px; padding: 24px; }
.af-nav-card__links { display: flex; flex-wrap: wrap; gap: 8px; }
.af-nav-card__links a, .af-nav-card__links span { background: #f5efe8; color: #2b2b2b; border-radius: 999px; padding: 8px 12px; text-decoration: none; font-size: 14px; }
.af-catalog-help { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.af-section-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.af-section-filter { position: sticky; top: 90px; background: #fff; border: 1px solid #e2d8cd; border-radius: 22px; padding: 20px; }
.af-filter-title { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.af-section-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.af-sort-links, .af-page-size { display: flex; gap: 12px; flex-wrap: wrap; }
.af-sort-links a, .af-page-size a, .af-link { color: #527d48; text-decoration: none; }
.af-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.af-product-card { position: relative; background: #fff; border: 1px solid #e2d8cd; border-radius: 18px; padding: 12px; }
.af-product-card__image { display: block; position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 1.12 / 1; background: #f2ede6; }
.af-product-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.af-product-card__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.af-product-card__badges b { background: #fff; color: #527d48; border-radius: 999px; padding: 5px 9px; font-size: 12px; }
.af-product-card__favorite { position: absolute; right: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; }
.af-product-card h3 { font-size: 16px; margin: 12px 0 6px; }
.af-product-card h3 a { color: #2b2b2b; text-decoration: none; }
.af-product-card__article { color: #716a63; font-size: 13px; }
.af-product-card__series, .af-detail-series { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.af-product-card__series a { width: 22px; height: 22px; border-radius: 50%; background: var(--af-color); border: 2px solid #fff; box-shadow: 0 0 0 1px #d8cfc5; background-size: cover; background-position: center; }
.af-product-card__series a.has-image { background-image: var(--af-image); }
.af-products-cta { grid-column: 1 / -1; background: #f7f2eb; border: 1px solid #e2d8cd; border-radius: 22px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.af-smart-filter label { display: flex; gap: 8px; margin: 8px 0; }
.af-filter-group { border-top: 1px solid #eee5dc; padding: 14px 0; }
.af-filter-group__title { font-weight: 700; margin-bottom: 6px; }
.af-filter-actions { display: flex; gap: 10px; margin-top: 16px; }
.af-btn-clear { color: #777; align-self: center; }
.af-product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 30px; }
.af-product-detail__gallery, .af-product-detail__info { background: #fff; border: 1px solid #e2d8cd; border-radius: 24px; padding: 20px; }
.af-product-detail__gallery > img, .af-product-detail__main-image > img { width: 100%; border-radius: 18px; display: block; }
.af-product-detail__gallery { position: relative; }
.af-product-detail__main-image { width: 100%; min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 18px; background: #f7f2eb; }
.af-product-detail__main-image iframe { width: 100%; min-height: 420px; border: 0; }
.af-product-detail__main-image .hide { display: none !important; }
.af-product-detail__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.af-product-detail__thumbs .swiper-wrapper { display: flex; gap: 10px; flex-wrap: nowrap; width: 100%; }
.af-product-detail__thumbs .swiper-slide { width: auto; flex: 0 0 auto; }
.af-product-detail__thumbs button { border: 1px solid #ddd; background: #fff; border-radius: 10px; padding: 4px; cursor: pointer; }
.af-product-detail__thumbs img { width: 72px; height: 52px; object-fit: cover; }
.af-detail-series a { border: 1px solid #e2d8cd; border-radius: 999px; padding: 8px 12px; text-decoration: none; color: #2b2b2b; display: inline-flex; align-items: center; gap: 8px; }
.af-detail-series a span { width: 22px; height: 22px; background: var(--af-color); border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 1px #d8cfc5; }
.af-detail-series a.has-image span { background-image: var(--af-image); }
.af-detail-series a.is-active { border-color: #527d48; }
.af-facture-list { display: grid; gap: 8px; }
.af-facture-item { border: 1px solid #e2d8cd; background: #fff; border-radius: 14px; padding: 12px; display: flex; justify-content: space-between; }
.af-facture-item.is-active { border-color: #527d48; background: #f4f8f1; }
.af-size-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.af-size-fields input { width: 100%; border: 1px solid #ddd2c6; border-radius: 12px; padding: 12px; }
.af-price-result { margin: 18px 0; display: grid; gap: 4px; }
.af-price-result strong { font-size: 28px; }
.af-filter-mobile-btn { display: none; }
.af-mobile-sticky { display: none; }
@media (max-width: 900px) {
    .af-nav-grid, .af-catalog-help, .af-products-grid, .af-product-detail, .af-section-layout { grid-template-columns: 1fr; }
    .af-section-filter { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1040; max-height: 78vh; overflow: auto; transform: translateY(110%); transition: .25s; border-radius: 24px 24px 0 0; }
    body.af-filter-open .af-section-filter { transform: translateY(0); }
    .af-filter-mobile-btn { display: inline-flex; border: 1px solid #527d48; color: #527d48; background: #fff; border-radius: 999px; padding: 10px 16px; }
    .af-mobile-sticky { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; padding: 8px; box-shadow: 0 -4px 16px rgba(0,0,0,.08); gap: 8px; }
    .af-mobile-sticky a { background: #527d48; color: #fff; text-align: center; border-radius: 999px; padding: 12px; text-decoration: none; }
}


/* Visual facture selector */
.af-detail-note { margin: -6px 0 14px; color: #716a63; font-size: 14px; }
.af-facture-select { position: relative; }
.af-facture-select__current { width: 100%; border: 1px solid #e2d8cd; background: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; display: grid; grid-template-columns: 72px 1fr 24px; gap: 14px; align-items: center; text-align: left; color: #2b2b2b; }
.af-facture-select__current:hover { border-color: #527d48; }
.af-facture-select__thumb, .af-facture-option__thumb { display: flex; align-items: center; justify-content: center; background: #f5efe8; border-radius: 14px; overflow: hidden; color: #527d48; font-weight: 700; }
.af-facture-select__thumb { width: 72px; height: 58px; }
.af-facture-option__thumb { width: 64px; height: 52px; flex: 0 0 64px; }
.af-facture-select__thumb img, .af-facture-option__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.af-facture-select__text { display: grid; gap: 4px; }
.af-facture-select__text b, .af-facture-option__body b { font-size: 15px; font-weight: 700; }
.af-facture-select__text small, .af-facture-option__body small { color: #716a63; font-size: 13px; }
.af-facture-select__arrow { color: #527d48; font-size: 20px; transform: translateY(-2px); }
.af-facture-select__dropdown { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; background: #fff; border: 1px solid #e2d8cd; border-radius: 18px; padding: 8px; max-height: 370px; overflow: auto; box-shadow: 0 16px 38px rgba(43,43,43,.12); }
.af-facture-select.is-open .af-facture-select__dropdown { display: grid; gap: 6px; }
.af-facture-select.is-open .af-facture-select__arrow { transform: rotate(180deg); }
.af-facture-option { border: 1px solid transparent; background: #fff; border-radius: 14px; padding: 8px; display: flex; align-items: center; gap: 12px; text-align: left; color: #2b2b2b; }
.af-facture-option:hover { background: #f7f2eb; }
.af-facture-option.is-active { border-color: #527d48; background: #f4f8f1; }
.af-facture-option__body { display: grid; gap: 3px; }

/* Fast order block */
.af-fast-buy-card { background: #f7f2eb; border: 1px solid #e2d8cd; border-radius: 22px; padding: 22px; margin-top: 18px; }
.af-fast-buy-card h2 { margin: 0 0 8px; font-size: 22px; }
.af-fast-buy-card p { margin: 0 0 16px; color: #716a63; }
.af-fast-buy-form { display: grid; gap: 12px; }
.af-fast-buy-form label { display: grid; gap: 6px; font-size: 13px; color: #716a63; }
.af-fast-buy-form input { width: 100%; border: 1px solid #ddd2c6; border-radius: 12px; padding: 12px 14px; background: #fff; color: #2b2b2b; }
.af-fast-buy-form input:focus { outline: none; border-color: #527d48; box-shadow: 0 0 0 3px rgba(82,125,72,.12); }
.af-fast-buy-form .fast_buy_button { width: 100%; cursor: pointer; }
.af-fast-buy-form .fast_buy_button:disabled { background: #d8d1c8; color: #fff; cursor: not-allowed; }
.af-fast-buy-form .fast_buy_button:not(:disabled) { background: #527d48; color: #fff; }
.af-fast-buy-form .fast_buy_button.success { background: #527d48; color: #fff; }
.af-fast-buy-form small { color: #716a63; font-size: 12px; line-height: 1.35; }

/* Keep pagination in current site style. Do not restyle .groop_btn links here. */
.af-catalog-pagination { margin-top: 28px; }
.af-catalog-pagination .tm12 { white-space: nowrap; }
.af-catalog-pagination .groop_btn { margin-bottom: 0; }
.btn-green:hover, .af-btn-outline:hover { opacity: .92; }


/* Fix 3: preserve current site search/banner and popup behavior */
.af-catalog-hero .banner_for_catalog,
.af-catalog-hero .banner_for_catalog_mobile { margin-top: 24px; }
.af-catalog-hero .banner_for_catalog.container,
.af-catalog-hero .banner_for_catalog_mobile.container { max-width: 100%; padding-left: 0 !important; padding-right: 0 !important; }
.af-section-layout--no-filter { grid-template-columns: 1fr; }
.af-section-filter[hidden], .af-filter-mobile-btn[hidden] { display: none !important; }

/* Floating cart panel, close to current product short card idea */
.af-short-cart-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1028; background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(43,43,43,.12); border-top: 1px solid #e2d8cd; transform: translateY(110%); transition: transform .24s ease; }
.af-short-cart-panel.is-visible { transform: translateY(0); }
.af-short-cart-panel__inner { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.af-short-cart-panel__image img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.af-short-cart-panel__title { display: grid; gap: 3px; min-width: 0; }
.af-short-cart-panel__title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #2b2b2b; }
.af-short-cart-panel__title span { color: #716a63; font-size: 13px; }
.af-short-cart-panel__price { white-space: nowrap; color: #716a63; }
.af-short-cart-panel__price strong { color: #2b2b2b; font-size: 20px; }
@media (max-width: 700px) {
    .af-short-cart-panel__inner { grid-template-columns: 54px 1fr auto; gap: 10px; }
    .af-short-cart-panel__image img { width: 48px; height: 48px; }
    .af-short-cart-panel__price { display: none; }
    .af-short-cart-panel .btn-green { padding: 10px 14px; }
}

/* fix4: section header keeps old catalog title rhythm and adds contact-modal actions */
.af-catalog-section-hero { margin-top: 20px; margin-bottom: 18px; }
.af-catalog-section-hero__text { color: #555; font-size: 16px; line-height: 1.5; max-width: 860px; margin: 0; }
.af-catalog-section-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; }
.af-catalog-section-hero__actions .btn-green,
.af-catalog-section-hero__actions .af-btn-outline { min-height: 42px; white-space: nowrap; }
@media (max-width: 991px) {
    .af-catalog-section-hero__actions { justify-content: flex-start; margin-top: 15px; }
}

/* fix7: smart filter values must stay inside the left column */
.af-section-filter,
.af-smart-filter {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.af-filter-group,
.af-filter-group__values {
    max-width: 100%;
    overflow-x: hidden;
}

.af-filter-group__values {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.af-filter-group__values label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    line-height: 1.25;
}

.af-filter-group__values label input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.af-filter-group__values label span,
.af-filter-value__text {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.af-product-detail__thumbs button.is-active,
.af-product-detail__thumbs button.select {
    border-color: transparent;
    box-shadow: inset 0 0 0 2px #7D0808;
}

.af-product-detail__gallery .product__swiper-button-n_container,
.af-product-detail__gallery .product__swiper-button-p_container {
    position: absolute;
    top: calc(50% - 35px);
    z-index: 3;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.af-product-detail__gallery .product__swiper-button-n_container { right: 8px; }
.af-product-detail__gallery .product__swiper-button-p_container { left: 8px; }

.af-product-detail__gallery .swiper-button {
    width: 18px;
    height: 18px;
    border: 0;
    border-top: 2px solid #ACACAC;
    border-right: 2px solid #ACACAC;
    background: transparent;
    opacity: .8;
}

.af-product-detail__gallery .product__swiper-button-n { transform: rotate(45deg); }
.af-product-detail__gallery .product__swiper-button-p { transform: rotate(-135deg); }

.af-fast-buy-card.custom.fast_buy {
    display: block;
    margin-top: 24px;
}

.af-fast-buy-card .fast_buy_container {
    max-width: none;
}

.af-product-detail .sticky__menu {
    z-index: 999;
}

/* fix8: compact popular showcase on catalog main page */
.af-popular-products--compact .af-products-grid {
    display: flex;
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.af-popular-products--compact .af-product-card {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 245px;
    scroll-snap-align: start;
}

.af-popular-products--compact .af-products-grid::-webkit-scrollbar {
    height: 8px;
}

.af-popular-products--compact .af-products-grid::-webkit-scrollbar-thumb {
    background: #d8cfc5;
    border-radius: 999px;
}

.af-popular-products--compact .af-products-grid::-webkit-scrollbar-track {
    background: #f7f2eb;
    border-radius: 999px;
}

@media (max-width: 991px) {
    .af-popular-products--compact .af-product-card {
        flex-basis: 42%;
        min-width: 250px;
    }
}

@media (max-width: 575px) {
    .af-popular-products--compact .af-product-card {
        flex-basis: 78%;
        min-width: 245px;
    }
}


/* fix9: compact popular showcase arrows */
.af-popular-products__arrows {
    display: flex;
    align-items: center;
    gap: 12px;
}

.af-slider-arrow {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, opacity .18s ease;
}

.af-slider-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid #7D0808;
    border-right: 2px solid #7D0808;
}

.af-slider-arrow--prev::before {
    transform: translate(-38%, -50%) rotate(-135deg);
}

.af-slider-arrow--next::before {
    transform: translate(-62%, -50%) rotate(45deg);
}

.af-slider-arrow:hover {
    border-color: #7D0808;
    background: #fff7f7;
}

.af-slider-arrow:disabled {
    opacity: .35;
    cursor: default;
    background: #fff;
    border-color: #E5E5E5;
}

.af-popular-products--no-arrows .af-popular-products__arrows {
    display: none;
}

@media (max-width: 575px) {
    .af-popular-products__arrows {
        display: none;
    }
}

/* fix9: visual request modal must stay hidden until opened */
#modalVisulate.modal-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(45, 45, 45, .4);
    padding: 20px;
}

#modalVisulate .modal_podborka {
    position: relative;
    width: min(680px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    padding: 40px 60px;
}

#modalVisulate .modal_podborka h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}

#modalVisulate .modal_podborka p {
    font-size: 18px;
    margin-bottom: 14px;
}

#modalVisulate .modal_podborka label {
    width: 100%;
    color: #ACACAC;
    font-size: 18px;
}

#modalVisulate .modal_podborka label input,
#modalVisulate .modal_podborka label textarea {
    width: 100%;
    border: 1px solid #E5E5E5;
}

#modalVisulate .modal_podborka button {
    display: block;
    margin: 30px auto 0;
    border: none;
    background-color: #7D0808;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    padding: 10px 70px;
}

#modalVisulate .close-btn {
    position: absolute;
    top: 0;
    right: 12px;
    color: #E5E5E5;
    padding: 0;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

#modalVisulate .personal-data-note {
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}

#modalVisulate .personal-data-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #777;
    font-size: 14px;
}

#modalVisulate .personal-data-consent input {
    width: auto;
    flex: 0 0 auto;
    margin-top: 4px;
}

@media (max-width: 700px) {
    #modalVisulate .modal_podborka {
        width: 96%;
        padding: 30px 20px;
    }

    #modalVisulate .modal_podborka h2 {
        font-size: 20px;
    }

    #modalVisulate .modal_podborka p,
    #modalVisulate .modal_podborka label {
        font-size: 14px;
    }
}

/* fix11/fix13: scenario navigation uses catalog properties and smart filter SEF URLs */
.af-nav-grid--scenarios {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.af-nav-card__description {
    margin: -4px 0 14px;
    color: #716a63;
    font-size: 13px;
    line-height: 1.35;
}

.af-nav-card__links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.af-nav-card__links a small {
    color: #8c837a;
    font-size: 11px;
    line-height: 1;
}

.af-nav-card--ready {
    background: #fff;
}

.af-nav-card--ready .af-nav-card__links {
    display: flex;
    align-items: flex-start;
}

.af-nav-card--ready .af-nav-card__ready-link,
.af-nav-card--ready .af-nav-card__links a.af-nav-card__ready-link {
    width: auto;
    min-height: 44px;
    background: #fff;
    color: #527d48;
    border: 1px solid #527d48;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: none;
}

.af-nav-card--ready .af-nav-card__ready-link span {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

@media (max-width: 1199px) {
    .af-nav-grid--scenarios {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .af-nav-grid--scenarios {
        grid-template-columns: 1fr;
    }
}

/* fix17: компактные сценарные ссылки */

.af-nav-card__links a,
.af-nav-card__links span {
    background: #f5efe8;
    color: #2b2b2b;
    border-radius: 999px;
    padding: 1px 3px;
    text-decoration: none;
    font-size: 14px;
}

/* fix17: избранное в карточках через текущую механику add_like.js */

.af-product-card .af-product-card__favorite-like {
    right: 18px;
    top: 18px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.af-product-card .af-product-card__favorite-like a {
    line-height: 1;
    text-decoration: none;
}
.af-product-card .af-product-card__favorite-like img {
    display: block;
}

/* fix21: хлебные крошки каталога — штатный bitrix:breadcrumb в контейнере сайта */
.af-breadcrumb-container {
    margin-top: 20px;
    margin-bottom: 18px;
}

.af-catalog-breadcrumb {
    margin: 0;
    padding: 0;
    display: block;
    background: transparent;
}

.af-catalog-breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.af-catalog-breadcrumb a,
.af-catalog-breadcrumb span {
    text-decoration: none;
}

/* fix27: compact collapsible smart filter groups on section pages */
.af-smart-filter {
    display: grid;
    gap: 0;
}

.af-filter-group {
    border-top: 1px solid #eee5dc;
    padding: 0;
    margin: 0;
}

.af-filter-group__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
    padding: 12px 0;
    margin: 0;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #2b2b2b;
    user-select: none;
}

.af-filter-group__title::-webkit-details-marker {
    display: none;
}

.af-filter-group__name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.af-filter-group__arrow {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1px solid #e2d8cd;
    border-radius: 50%;
    background: #fff;
}

.af-filter-group__arrow::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 5px;
    width: 6px;
    height: 6px;
    border-right: 2px solid #527d48;
    border-bottom: 2px solid #527d48;
    transform: rotate(45deg);
    transition: transform .18s ease, top .18s ease;
}

.af-filter-group[open] .af-filter-group__arrow::before {
    top: 8px;
    transform: rotate(225deg);
}

.af-filter-group__values {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 4px 14px 0;
}

.af-filter-value,
.af-filter-group__values label.af-filter-value {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    margin: 6px 0;
    line-height: 1.25;
    font-size: 14px;
    color: #2b2b2b;
}

.af-filter-value input {
    margin-top: 2px;
}

.af-filter-value__text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.af-filter-value__count {
    color: #8b8178;
    font-size: 12px;
    line-height: 1.3;
}

.af-filter-value.is-disabled {
    color: #aaa29a;
    cursor: default;
}

.af-filter-value.is-checked .af-filter-value__text {
    color: #527d48;
    font-weight: 600;
}

.af-filter-actions {
    border-top: 1px solid #eee5dc;
    padding-top: 16px;
}

/* fix28: section smart filter gets its own scroll area and always-visible actions */
.af-smart-filter {
    width: 100%;
    min-height: 0;
}

.af-smart-filter__head {
    flex: 0 0 auto;
}

.af-smart-filter__scroll {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cfc4b8 transparent;
    padding-right: 6px;
    margin-right: -6px;
}

.af-smart-filter__scroll:focus {
    outline: none;
}

.af-smart-filter__scroll::-webkit-scrollbar {
    width: 6px;
}

.af-smart-filter__scroll::-webkit-scrollbar-thumb {
    background: #cfc4b8;
    border-radius: 999px;
}

.af-smart-filter__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.af-smart-filter__actions {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid #eee5dc;
    box-shadow: 0 -10px 18px rgba(255,255,255,.86);
}

.af-smart-filter__actions .btn-green {
    width: 100%;
    min-height: 42px;
    cursor: pointer;
}

.af-smart-filter__actions .af-btn-clear {
    white-space: nowrap;
    text-decoration: none;
}

@media (min-width: 901px) {
    .af-section-filter {
        max-height: calc(100vh - 110px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .af-section-filter .af-smart-filter {
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 150px);
    }

    .af-section-filter .af-smart-filter__scroll {
        flex: 1 1 auto;
        max-height: calc(100vh - 255px);
    }
}

@media (max-width: 900px) {
    .af-section-filter {
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .af-section-filter .af-smart-filter {
        display: flex;
        flex-direction: column;
        max-height: calc(78vh - 32px);
    }

    .af-section-filter .af-smart-filter__scroll {
        flex: 1 1 auto;
        max-height: calc(78vh - 135px);
    }

    .af-smart-filter__actions {
        padding-bottom: 4px;
    }
}

.af-smart-filter[data-af-filter-loading="Y"] .btn-green[disabled] {
    cursor: wait;
    opacity: .75;
}
.af-catalog-region-text {
    margin-top: 42px;
    margin-bottom: 42px;
    color: #2b2b2b;
    font-size: 16px;
    line-height: 1.65;
}

.af-catalog-region-text h2,
.af-catalog-region-text h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #2b2b2b;
    font-weight: 700;
}

.af-catalog-region-text p:last-child {
    margin-bottom: 0;
}

.af-catalog-region-text--section {
    margin-top: 34px;
}

/* fix41: catalog view mode toggle "Показать в интерьере" */
.af-section-toolbar__primary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.af-view-mode-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #a88462;
    background: #9a7655;
    color: #fff;
    border-radius: 999px;
    padding: 11px 18px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 22px rgba(85, 60, 38, .12);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.af-view-mode-toggle:hover,
.af-view-mode-toggle:focus {
    color: #fff;
    background: #876647;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(85, 60, 38, .16);
}

.af-view-mode-toggle.is-active {
    background: #527d48;
    border-color: #527d48;
}

.af-view-mode-toggle__icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 1.8px solid currentColor;
    border-radius: 4px;
    position: relative;
    opacity: .95;
}

.af-view-mode-toggle__icon::before {
    content: '';
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 3px;
    height: 5px;
    border: 1.5px solid currentColor;
    border-top: 0;
}

.af-view-mode-toggle__icon::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    right: 3px;
    top: 3px;
    border-radius: 50%;
    background: currentColor;
}

.af-product-card.has-interior-image .af-product-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px rgba(154, 118, 85, .22);
    border-radius: inherit;
}

.af-product-card.has-interior-image .af-product-card__badges b {
    color: #9a7655;
}

@media (max-width: 1199px) {
    .af-section-toolbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .af-section-toolbar__primary {
        flex: 1 1 auto;
    }
}

@media (max-width: 900px) {
    .af-section-toolbar {
        position: sticky;
        top: 8px;
        z-index: 30;
        background: rgba(255, 255, 255, .96);
        border: 1px solid #e2d8cd;
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 12px 28px rgba(43, 43, 43, .12);
        backdrop-filter: blur(8px);
    }

    .af-section-toolbar__primary {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(110px, .8fr) minmax(170px, 1.2fr);
        gap: 8px;
    }

    .af-section-toolbar .af-filter-mobile-btn,
    .af-section-toolbar .af-view-mode-toggle {
        width: 100%;
        min-height: 46px;
        border-radius: 14px;
        padding: 12px 14px;
    }

    .af-section-toolbar .af-sort-links {
        width: 100%;
        justify-content: center;
        gap: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 520px) {
    .af-section-toolbar {
        margin-left: -6px;
        margin-right: -6px;
    }

    .af-section-toolbar__primary {
        grid-template-columns: minmax(96px, .78fr) minmax(150px, 1.22fr);
    }

    .af-view-mode-toggle {
        gap: 8px;
        font-size: 14px;
    }

    .af-view-mode-toggle__icon {
        width: 16px;
        height: 16px;
    }
}

/* fix53: sticky buy menu behavior/style synced with current production product page */
.sticky__menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: min-content;
    background-color: #F1F1F1;
    box-shadow: 0 0 4px 0 #00000033;
    z-index: 100;
    padding: 15px 0;
    transition: all 0.7s;
    color: #333333;
    font-size: 24px;
}
.sticky__menu.closed {
    bottom: -100px;
}
.sticky__menu .sticky__buy_button {
    margin-right: 60px;
}
.sticky__menu .sticky__property {
    margin-right: 40px;
}
.sticky__menu .sticky__buy_button .red-button__v2 {
    width: 133px;
    margin: 0;
}
.sticky__menu .dynamical-island {
    position: absolute;
    top: -45px;
    left: 0;
    right: 0;
}
.sticky__menu.closed .dynamical-island {
    top: -80px;
}
.sticky__menu .get_consultation {
    margin-left: auto;
    cursor: pointer;
}
@media screen and (max-width: 1400px) {
    .sticky__menu .properties_block {
        font-size: 20px;
    }
    .sticky__menu .sticky__buy_button {
        margin-right: 40px;
    }
    .sticky__menu .sticky__property {
        margin-right: 30px;
    }
}
@media screen and (max-width: 1199px) {
    .sticky__menu {
        padding: 8px 0;
    }
    .sticky__menu .properties_block {
        font-size: 16px;
    }
    .sticky__menu .sticky__buy_button {
        margin-right: 30px;
    }
    .sticky__menu .sticky__buy_button .buy_button {
        width: 108px;
    }
}

/* fix55: поведение старой фотогалереи в новой детальной карточке */
.af-product-detail__gallery .product__swiper-button-n_container,
.af-product-detail__gallery .product__swiper-button-p_container {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .88);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
    z-index: 8;
}

.af-product-detail__gallery .product__swiper-button-n_container:hover,
.af-product-detail__gallery .product__swiper-button-p_container:hover {
    background: #fff;
}

.af-product-detail__gallery--single .product__swiper-button-n_container,
.af-product-detail__gallery--single .product__swiper-button-p_container {
    display: none !important;
}

.af-product-detail__thumbs.product__swiper,
.af-product-detail__thumbs.swiper_custom_mobile {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    scrollbar-width: thin;
}

.af-product-detail__thumbs.product__swiper.is-dragging,
.af-product-detail__thumbs.swiper_custom_mobile.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.af-product-detail__thumbs.product__swiper.is-dragging *,
.af-product-detail__thumbs.swiper_custom_mobile.is-dragging * {
    pointer-events: none;
}

.af-product-detail__thumbs .img_wrap {
    cursor: pointer;
    display: block;
}

.af-product-detail__thumbs .img_wrap img,
.af-product-detail__thumbs .img_wrap iframe {
    pointer-events: none;
}

/* fix56: галерея детальной не растягивается по высоте правого блока, стрелки видимы */
.af-product-detail__gallery-shell {
    min-width: 0;
    align-self: stretch;
}

.af-product-detail__gallery-shell .af-product-detail__gallery {
    align-self: flex-start;
}

.af-product-detail__gallery .product__swiper-button-n_container,
.af-product-detail__gallery .product__swiper-button-p_container {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(125, 8, 8, .12);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.af-product-detail__gallery .swiper-button,
.af-product-detail__gallery .product__swiper-button-n,
.af-product-detail__gallery .product__swiper-button-p {
    width: 44px;
    height: 44px;
    border: 0 !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7D0808;
    font-size: 34px;
    line-height: 1;
    font-weight: 400;
    cursor: pointer;
}

.af-product-detail__gallery .swiper-button span {
    display: block;
    transform: translateY(-2px);
}

@media screen and (max-width: 767px) {
    .af-product-detail__gallery .product__swiper-button-n_container,
    .af-product-detail__gallery .product__swiper-button-p_container,
    .af-product-detail__gallery .swiper-button,
    .af-product-detail__gallery .product__swiper-button-n,
    .af-product-detail__gallery .product__swiper-button-p {
        width: 38px;
        height: 38px;
    }

    .af-product-detail__gallery .swiper-button,
    .af-product-detail__gallery .product__swiper-button-n,
    .af-product-detail__gallery .product__swiper-button-p {
        font-size: 30px;
    }
}


/* fix57: центрирование стрелок галереи и стабильный клик по превью */
.af-product-detail__gallery .product__swiper-button-n_container,
.af-product-detail__gallery .product__swiper-button-p_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.af-product-detail__gallery .swiper-button,
.af-product-detail__gallery .product__swiper-button-n,
.af-product-detail__gallery .product__swiper-button-p {
    position: relative;
    font-size: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.af-product-detail__gallery .swiper-button span,
.af-product-detail__gallery .product__swiper-button-n span,
.af-product-detail__gallery .product__swiper-button-p span {
    display: none !important;
}

.af-product-detail__gallery .product__swiper-button-n::before,
.af-product-detail__gallery .product__swiper-button-p::before {
    content: '';
    display: block;
    width: 11px;
    height: 11px;
    border-top: 2px solid #7D0808;
    border-right: 2px solid #7D0808;
}

.af-product-detail__gallery .product__swiper-button-n::before {
    transform: translateX(-1px) rotate(45deg);
}

.af-product-detail__gallery .product__swiper-button-p::before {
    transform: translateX(1px) rotate(-135deg);
}

/* fix58: жесткое центрирование стрелок внутри круглых кнопок галереи */
.af-product-detail__gallery .product__swiper-button-n_container,
.af-product-detail__gallery .product__swiper-button-p_container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50%;
    display: block !important;
}

.af-product-detail__gallery .product__swiper-button-n_container {
    right: 8px;
}

.af-product-detail__gallery .product__swiper-button-p_container {
    left: 8px;
}

.af-product-detail__gallery .product__swiper-button-n,
.af-product-detail__gallery .product__swiper-button-p {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 0 !important;
    display: block !important;
}

.af-product-detail__gallery .product__swiper-button-n::before,
.af-product-detail__gallery .product__swiper-button-p::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid #7D0808;
    border-right: 2px solid #7D0808;
    display: block;
    margin: 0;
}

.af-product-detail__gallery .product__swiper-button-n::before {
    transform: translate(-60%, -50%) rotate(45deg);
}

.af-product-detail__gallery .product__swiper-button-p::before {
    transform: translate(-40%, -50%) rotate(-135deg);
}

@media screen and (max-width: 767px) {
    .af-product-detail__gallery .product__swiper-button-n_container,
    .af-product-detail__gallery .product__swiper-button-p_container {
        width: 38px;
        height: 38px;
    }
}

/* fix59: миниатюры галереи прокручиваются без видимых скроллбаров */
.af-product-detail__thumbs.product__swiper,
.af-product-detail__thumbs.swiper_custom_mobile,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile.overflow-auto {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.af-product-detail__thumbs.product__swiper::-webkit-scrollbar,
.af-product-detail__thumbs.swiper_custom_mobile::-webkit-scrollbar,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile::-webkit-scrollbar,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile.overflow-auto::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* fix59: стрелки галереи центрируются SVG-иконкой, без зависимости от шрифта */
.af-product-detail__gallery .product__swiper-button-n,
.af-product-detail__gallery .product__swiper-button-p {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.af-product-detail__gallery .product__swiper-button-n::before,
.af-product-detail__gallery .product__swiper-button-p::before {
    content: '' !important;
    position: static !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    border: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    transform: none !important;
}

.af-product-detail__gallery .product__swiper-button-n::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3L11 8L6 13' fill='none' stroke='%237D0808' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.af-product-detail__gallery .product__swiper-button-p::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3L5 8L10 13' fill='none' stroke='%237D0808' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}


/* fix60: превью прокручиваются без видимых скроллбаров, активная обводка не обрезается */
.af-product-detail__thumbs.product__swiper,
.af-product-detail__thumbs.swiper_custom_mobile,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 3px !important;
    margin: 9px -3px 0 !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.af-product-detail__thumbs.product__swiper::-webkit-scrollbar,
.af-product-detail__thumbs.swiper_custom_mobile::-webkit-scrollbar,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.af-product-detail__thumbs .img_wrap,
.af-product-detail__thumbs button.img_wrap {
    position: relative;
    border: 1px solid #ddd;
    box-shadow: none;
    overflow: hidden;
}

.af-product-detail__thumbs .img_wrap.select,
.af-product-detail__thumbs .img_wrap.is-active,
.af-product-detail__thumbs button.img_wrap.select,
.af-product-detail__thumbs button.img_wrap.is-active {
    border-color: transparent !important;
    box-shadow: inset 0 0 0 2px #7D0808 !important;
}


/* fix61: превью не обрезаются по нижнему краю, скролл скрыт, клик по превью не блокируется drag-режимом */
.af-product-detail__thumbs.product__swiper,
.af-product-detail__thumbs.swiper_custom_mobile,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 4px 4px 18px !important;
    margin: 10px -4px -10px !important;
    min-height: 148px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.af-product-detail__thumbs.product__swiper::-webkit-scrollbar,
.af-product-detail__thumbs.swiper_custom_mobile::-webkit-scrollbar,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.af-product-detail__thumbs .swiper-wrapper,
.af-product-detail__thumbs [data-af-gallery-track] {
    align-items: stretch !important;
    padding-bottom: 8px !important;
}

.af-product-detail__thumbs .swiper-slide {
    overflow: visible !important;
    padding-bottom: 8px !important;
}

.af-product-detail__thumbs .img_wrap,
.af-product-detail__thumbs button.img_wrap {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 4px !important;
    border: 1px solid #e2d8cd !important;
    border-radius: 12px !important;
    background: #fff !important;
    overflow: visible !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.af-product-detail__thumbs .img_wrap img,
.af-product-detail__thumbs .img_wrap iframe {
    display: block !important;
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    pointer-events: none !important;
}

.af-product-detail__thumbs .img_wrap.select,
.af-product-detail__thumbs .img_wrap.is-active,
.af-product-detail__thumbs button.img_wrap.select,
.af-product-detail__thumbs button.img_wrap.is-active {
    border-color: #7D0808 !important;
    box-shadow: none !important;
}

.af-product-detail__thumbs.product__swiper.is-dragging *,
.af-product-detail__thumbs.swiper_custom_mobile.is-dragging * {
    pointer-events: auto !important;
}

/* fix62: клик и drag превью работают по старой логике — события идут в .img_wrap, а не во вложенную картинку */
.af-product-detail__thumbs.product__swiper,
.af-product-detail__thumbs.swiper_custom_mobile,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile {
    cursor: grab !important;
    touch-action: pan-y !important;
}

.af-product-detail__thumbs.product__swiper.is-dragging,
.af-product-detail__thumbs.swiper_custom_mobile.is-dragging,
.af-product-detail__thumbs.product__swiper.swiper_custom_mobile.is-dragging {
    cursor: grabbing !important;
}

.af-product-detail__thumbs .img_wrap,
.af-product-detail__thumbs button.img_wrap {
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.af-product-detail__thumbs .img_wrap img,
.af-product-detail__thumbs .img_wrap picture,
.af-product-detail__thumbs .img_wrap iframe,
.af-product-detail__thumbs .img_wrap video,
.af-product-detail__thumbs .img_wrap svg,
.af-product-detail__thumbs button.img_wrap img,
.af-product-detail__thumbs button.img_wrap picture,
.af-product-detail__thumbs button.img_wrap iframe,
.af-product-detail__thumbs button.img_wrap video,
.af-product-detail__thumbs button.img_wrap svg,
.af-product-detail__thumbs.product__swiper.is-dragging .img_wrap img,
.af-product-detail__thumbs.swiper_custom_mobile.is-dragging .img_wrap img {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
}

/* fix63: ready product detail price/facture card */
.af-ready-info__params {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 14px;
}

.af-ready-param {
    border: 1px solid #e2d8cd;
    border-radius: 16px;
    background: #fff;
    padding: 12px;
    display: grid;
    gap: 7px;
    min-width: 0;
}

.af-ready-param > span {
    color: #716a63;
    font-size: 12px;
    line-height: 1.2;
}

.af-ready-param > b {
    color: #2b2b2b;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
}

.af-ready-facture {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.af-ready-facture__thumb {
    width: 54px;
    height: 44px;
    flex: 0 0 54px;
    border-radius: 12px;
    background: #f5efe8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #527d48;
    font-weight: 700;
}

.af-ready-facture__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.af-ready-facture > b {
    color: #2b2b2b;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}

.af-ready-price {
    margin: 6px 0 16px;
    padding-top: 14px;
    border-top: 1px solid #eee5dc;
    display: grid;
    gap: 2px;
}

.af-ready-price span {
    color: #716a63;
    font-size: 13px;
}

.af-ready-price strong {
    color: #2b2b2b;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
}

.af-ready-info .btn-green {
    min-width: 132px;
}

@media (max-width: 520px) {
    .af-ready-info__params {
        grid-template-columns: 1fr;
    }
}

/* fix67: wide detail trust/icons block below both product columns */
.af-detail-info-icons-section {
    margin-top: 16px;
    margin-bottom: 28px;
}

.af-detail-info-icons.order__info-icons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e2d8cd;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(98, 78, 55, 0.06);
}

.af-detail-info-icons .info-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 116px;
    padding: 4px 8px;
    text-align: center;
}

.af-detail-info-icons .info-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
    opacity: 0.82;
}

.af-detail-info-icons .info-icon p {
    margin: 0;
    color: #4f5f3f;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 500;
}

.af-detail-text-section {
    margin-top: 24px;
}

.af-detail-text-card,
.af-detail-certificates,
.af-detail-reviews {
    background: #fff;
    border: 1px solid #e2d8cd;
    border-radius: 24px;
    padding: 26px;
}

.af-detail-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #4f7b43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.af-detail-text-section h2 {
    margin: 0 0 14px;
    color: #20242a;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
}

.af-detail-text-section p {
    color: #4d4d4d;
    font-size: 16px;
    line-height: 1.65;
}

.af-detail-certificates,
.af-detail-reviews {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, .75fr);
    gap: 24px;
    align-items: center;
}

.af-detail-certificates__note {
    margin-top: 14px;
    color: #8a7a6d !important;
    font-size: 13px !important;
}

.af-detail-certificates__image {
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    background: #f7f2eb;
}

.af-detail-certificates__image img {
    display: block;
    width: 100%;
    height: auto;
}

.af-detail-certificate-modal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.af-detail-certificate-modal .modal-body {
    padding: 24px;
}

.af-detail-certificate-modal__images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.af-detail-certificate-modal__images img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.af-detail-reviews__content p {
    margin-bottom: 18px;
}

.af-detail-reviews__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    color: #7D0808;
    border: 1px solid #7D0808;
    border-radius: 999px;
    text-decoration: none;
    transition: .2s ease;
}

.af-detail-reviews__link:hover {
    color: #fff;
    background: #7D0808;
}

.af-detail-reviews__widget {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 18px;
    background: #f7f2eb;
}

.af-detail-reviews__widget iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    box-sizing: border-box;
}

.af-detail-reviews__widget > a {
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    color: #b3b3b3;
    font-size: 10px;
    font-family: YS Text, sans-serif;
    text-align: center;
    text-decoration: none;
}

.buy_button.is-added,
.btn-green.is-added,
[data-af-add-custom-basket].is-added,
[data-af-short-add].is-added,
[data-ready-add-to-basket].is-added {
    opacity: .9;
}

@media (max-width: 991px) {
    .af-detail-info-icons.order__info-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .af-detail-certificates,
    .af-detail-reviews {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .af-detail-info-icons.order__info-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    .af-detail-text-card,
    .af-detail-certificates,
    .af-detail-reviews {
        padding: 18px;
        border-radius: 20px;
    }

    .af-detail-certificate-modal__images {
        grid-template-columns: 1fr;
    }

    .af-detail-reviews__widget {
        height: 320px;
    }
}

/* fix66: нижние блоки детальной карточки скопированы из старого дизайна */
.af-detail-old-content {
    margin-top: 32px;
}

.af-detail-old-content .review,
.af-detail-old-content .about_brand,
.af-detail-old-content .modal_element_new {
    max-width: 100%;
}

section.review {
    margin: 60px 0;
}

section.review h3 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

.about_brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 60px;
}

.about_brand p {
    font-size: 18px;
    margin-bottom: 10px;
}

.modal_element_new .row .col {
    width: 49%;
    position: relative;
}

.modal_element_new .row .col img {
    width: 100%;
}

.modal_element_new p {
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    font-size: 34px;
    font-weight: 900;
    text-shadow: 2px 2px 0 #0000004D;
}

.modal_element_new button {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: black;
    background: white;
    border-radius: 10px;
    border: none;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 700;
}

.modal_element_new button:hover {
    text-decoration: underline;
}

#modalOverlay.modal-overlay {
    background: #2D2D2D66;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10000;
}

#modalOverlay .modal_podborka {
    position: absolute;
    background: white;
    border-radius: 2px;
    box-shadow: 0 4px 4px 0 #00000040;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 40px 60px;
}

#modalOverlay .modal_podborka h2 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

#modalOverlay .modal_podborka p {
    font-size: 18px;
}

#modalOverlay .modal_podborka label {
    width: 100%;
    color: #ACACAC;
    font-size: 18px;
}

#modalOverlay .modal_podborka label input,
#modalOverlay .modal_podborka label textarea {
    width: 100%;
    border: 1px solid #E5E5E5;
}

#modalOverlay .modal_podborka button {
    display: block;
    margin: 30px auto 0;
    border: none;
    background-color: #7D0808;
    border-radius: 10px;
    color: white;
    font-size: 18px;
    padding: 10px 70px;
}

#modalOverlay .modal_podborka .close-btn {
    color: #E5E5E5;
    padding: 0;
    top: 0;
    right: 12px;
    font-size: 30px;
}

#modalOverlay .modal_podborka span {
    margin-top: 12px;
    display: block;
    text-align: center;
    color: #E0E0E0;
}

@media screen and (max-width: 1200px) {
    .modal_element_new p {
        font-size: 24px;
    }

    .modal_element_new button {
        font-size: 14px;
    }
}

@media screen and (max-width: 992px) {
    .modal_element_new .row {
        flex-direction: column;
    }

    .modal_element_new .row .col {
        width: 100%;
        margin: 10px 0;
        padding: 0;
    }

    .modal_element_new p {
        top: 14px;
        left: 14px;
        font-size: 22px;
        width: calc(100% - 34px);
    }

    .modal_element_new button {
        bottom: 14px;
        left: 14px;
        font-size: 14px;
        padding: 8px 20px;
        font-weight: 700;
    }
}

@media screen and (max-width: 990px) {
    section.review h3 {
        font-size: 20px;
    }

    section.review {
        margin: 30px 0;
    }

    .about_brand h3 {
        font-size: 20px;
    }

    .about_brand p {
        font-size: 14px;
    }
}

@media screen and (max-width: 750px) {
    #modalOverlay .modal_podborka {
        width: 100%;
        padding: 40px 18px;
    }

    #modalOverlay .modal_podborka h2 {
        font-size: 20px;
    }

    #modalOverlay .modal_podborka p,
    #modalOverlay .modal_podborka span {
        font-size: 12px;
    }
}


/* fix67 responsive for wide icons/content container */
@media (max-width: 991px) {
    .af-detail-info-icons.order__info-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 22px;
    }

    .af-detail-info-icons .info-icon p {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .af-detail-info-icons-section {
        margin-top: 12px;
        margin-bottom: 20px;
    }

    .af-detail-info-icons.order__info-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 18px 14px;
        border-radius: 16px;
    }

    .af-detail-info-icons .info-icon {
        min-height: 104px;
        gap: 10px;
    }

    .af-detail-info-icons .info-icon img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .af-detail-info-icons .info-icon p {
        font-size: 13px;
    }
}

/* fix68: отзывы Яндекс на всю ширину контейнера старого блока */
.af-detail-old-content .review {
    width: 100%;
}

.af-detail-old-content .af-detail-yandex-reviews-widget {
    width: 100% !important;
    max-width: 100% !important;
}

@media screen and (max-width: 768px) {
    .af-detail-old-content .af-detail-yandex-reviews-widget {
        height: 620px !important;
    }
}

/* fix69: fast buy form moved to modal, right column keeps compact CTA card */
.af-fast-buy-card--modal-cta {
    background: linear-gradient(135deg, #f7f2eb 0%, #fffaf5 100%);
    border: 1px solid #e2d8cd;
    border-radius: 22px;
    padding: 22px;
    margin-top: 24px;
}

.af-fast-buy-card--modal-cta .fast_buy_container {
    display: grid;
    gap: 12px;
}

.af-fast-buy-card--modal-cta h3 {
    margin: 0;
}

.af-fast-buy-card--modal-cta h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    color: #716a63;
}

.af-fast-buy-open-button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: #7d0808;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.af-fast-buy-open-button:hover {
    background: #650606;
    box-shadow: 0 10px 24px rgba(125, 8, 8, .18);
    transform: translateY(-1px);
}

.af-fast-buy-modal .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
}

.af-fast-buy-modal .modal-header {
    border-bottom: 1px solid #eadfd4;
    padding: 22px 24px 18px;
    background: #f7f2eb;
}

.af-fast-buy-modal__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #7d0808;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
}

.af-fast-buy-modal .modal-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #2b2b2b;
}

.af-fast-buy-modal .modal-body {
    padding: 24px;
}

.af-fast-buy-modal__lead {
    margin: 0 0 18px;
    color: #716a63;
    font-size: 15px;
    line-height: 1.55;
}

.af-fast-buy-modal .fast_buy_form {
    display: grid;
    gap: 10px;
}

.af-fast-buy-modal .fast_buy_form p,
.af-fast-buy-modal .fast_buy_form h6 {
    margin: 0;
}

.af-fast-buy-modal .fast_buy_form input[type="text"] {
    width: 100%;
    border: 1px solid #ddd2c6;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    color: #2b2b2b;
}

.af-fast-buy-modal .fast_buy_form input[type="text"]:focus {
    outline: none;
    border-color: #7d0808;
    box-shadow: 0 0 0 3px rgba(125, 8, 8, .08);
}

.af-fast-buy-modal .required-note {
    color: #716a63;
    font-size: 12px;
}

.af-fast-buy-modal .personal-data-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #716a63;
}

.af-fast-buy-modal .personal-data-consent input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.af-fast-buy-modal .fast_buy_button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: #7d0808;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.af-fast-buy-modal .fast_buy_button:disabled {
    background: #d8d1c8;
    cursor: not-allowed;
}

.af-fast-buy-modal .fast_buy_button:not(:disabled) {
    background: #7d0808;
}

@media screen and (max-width: 575px) {
    .af-fast-buy-modal .modal-dialog {
        margin: 12px;
    }

    .af-fast-buy-modal .modal-header,
    .af-fast-buy-modal .modal-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .af-fast-buy-modal .modal-title {
        font-size: 21px;
    }
}

/* fix70: выравнивание детальной карточки и быстрый заказ под галереей */
.af-product-detail {
    gap: 32px;
    align-items: start;
}

.af-product-detail__gallery-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.af-product-detail__gallery-shell .af-product-detail__gallery {
    margin: 0;
}

.af-product-detail__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
}

.af-product-detail__info > h1,
.af-product-detail__article,
.af-product-detail__info > .af-detail-block,
.af-product-detail__info > .af-ready-info,
.af-product-detail__info > .af-size-calc,
.af-product-detail__info > .af-detail-actions {
    margin-top: 0;
    margin-bottom: 0;
}

.af-product-detail__info > h1 {
    margin-bottom: -2px;
}

.af-product-detail__article {
    margin-top: -10px;
}

.af-detail-block,
.af-ready-info,
.af-size-calc {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.af-detail-block h2,
.af-ready-info h2,
.af-size-calc h2 {
    margin: 0;
}

.af-detail-block p,
.af-ready-info p,
.af-size-calc p,
.af-detail-note {
    margin: 0;
}

.af-detail-series,
.af-ready-info__params,
.af-size-fields,
.af-price-result {
    margin-top: 0;
}

.af-ready-price {
    margin: 0;
}

.af-detail-actions {
    padding-top: 2px;
}

.af-fast-buy-card--under-gallery {
    margin: 0;
    width: 100%;
}

.af-fast-buy-card--under-gallery .fast_buy_container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 18px;
}

.af-fast-buy-card--under-gallery h3,
.af-fast-buy-card--under-gallery h4 {
    margin: 0;
}

.af-fast-buy-card--under-gallery h3 {
    grid-column: 1 / -1;
    font-size: 18px;
    line-height: 1.25;
}

.af-fast-buy-card--under-gallery h4 {
    font-size: 14px;
    line-height: 1.45;
    color: #6d665f;
    font-weight: 400;
}

.af-fast-buy-card--under-gallery .af-fast-buy-open-button {
    justify-self: end;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .af-product-detail {
        gap: 22px;
    }

    .af-product-detail__gallery-shell,
    .af-product-detail__info {
        gap: 16px;
    }

    .af-fast-buy-card--under-gallery .fast_buy_container {
        grid-template-columns: 1fr;
    }

    .af-fast-buy-card--under-gallery .af-fast-buy-open-button {
        justify-self: stretch;
        width: 100%;
    }
}


/* fix72: /catalog/all/, SEO DETAIL_TEXT and mobile bottom navigation preparation */
.af-section-head--catalog-nav {
    gap: 18px;
}

.af-section-head__all-link {
    color: #7D0808;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.af-section-head__all-link:hover {
    text-decoration: underline;
}

.catalog_content_text {
    grid-column: 1 / -1;
    padding: 30px 10px 20px;
    border-left: 1px solid #E5E5E5;
    border-top: 1px solid #E5E5E5;
    margin-bottom: 20px;
    background: #fff;
}

.catalog_content_text h2 {
    color: #7D0808;
    font-size: 42px;
    line-height: 50px;
    margin-bottom: 4px;
    font-weight: 700;
}

.catalog_content_text span {
    color: #ACACAC;
    font-size: 20.5px;
    line-height: 26px;
}

.catalog_content_text p {
    margin-top: 20px;
    color: #000;
    font-size: 18px;
    line-height: 22px;
}

:root {
    --af-mobile-bottom-nav-height: 0px;
}

@media screen and (max-width: 800px) {
    .catalog_content_text h2 {
        font-size: 22px;
        line-height: 28px;
    }

    .catalog_content_text span {
        font-size: 16px;
        line-height: 20px;
    }

    .catalog_content_text p {
        margin-top: 16px;
        font-size: 16px;
        line-height: 20px;
    }
}

@media screen and (max-width: 767px) {
    :root {
        --af-mobile-bottom-nav-height: 64px;
    }

    .af-section-head--catalog-nav {
        align-items: flex-start;
    }

    .sticky__menu {
        bottom: var(--af-mobile-bottom-nav-height);
    }

    .sticky__menu.closed {
        bottom: var(--af-mobile-bottom-nav-height);
        transform: translateY(calc(100% + 90px));
    }

    .sticky__menu:not(.closed) {
        transform: translateY(0);
    }
}

/* fix90: детальная карточка — главное изображение фотообоев без обрезки, растяжения и смены пропорций */
#main_fresca_image.af-product-detail__main-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff;
}

#main_fresca_image.af-product-detail__main-image > img[data-af-main-image] {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 18px;
    display: block !important;
}

#main_fresca_image.af-product-detail__main-image > img[data-af-main-image].hide {
    display: none !important;
}

@media (max-width: 767px) {
    #main_fresca_image.af-product-detail__main-image.img_mobile_element {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 4 / 3;
    }
}


/* fix91: применены согласованные стили главного изображения и стрелок галереи */
#main_fresca_image.af-product-detail__main-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #fff;
}

.af-product-detail__gallery .product__swiper-button-n_container,
.af-product-detail__gallery .product__swiper-button-p_container {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50%;
    display: block !important;
}


/* fix99: убрать горизонтальный скролл каталога на мобильных и уменьшить карточки */
.af-catalog-page,
.af-catalog-hero,
.af-catalog-nav,
.af-popular-products,
.af-catalog-help,
.af-section-layout,
.af-section-content,
.af-products-grid,
.af-product-card {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 575px) {
    .af-catalog-hero {
        padding: 24px 16px;
        border-radius: 18px;
        overflow-x: hidden;
    }

    .af-catalog-hero__actions,
    .af-catalog-section-hero__actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .af-catalog-hero__actions .btn-green,
    .af-catalog-hero__actions .af-btn-outline,
    .af-catalog-section-hero__actions .btn-green,
    .af-catalog-section-hero__actions .af-btn-outline {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .af-products-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .af-product-card {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        padding: 10px;
        border-radius: 16px;
    }

    .af-product-card__image {
        border-radius: 12px;
        aspect-ratio: 1.22 / 1;
    }

    .af-product-card h3 {
        font-size: 15px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .af-product-card__badges {
        left: 8px;
        top: 8px;
        gap: 4px;
    }

    .af-product-card__badges b {
        padding: 4px 7px;
        font-size: 11px;
    }

    .af-popular-products--compact .af-products-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        overflow-x: hidden;
        overflow-y: visible;
        scroll-snap-type: none;
        padding-left: 0;
        padding-right: 0;
    }

    .af-popular-products--compact .af-product-card {
        flex: 0 1 auto;
        width: 100%;
        min-width: 0 !important;
        scroll-snap-align: none;
    }

    .af-popular-products--compact .af-products-grid::-webkit-scrollbar {
        display: none;
    }
}


/* fix105: price, old price and cart icon in ready-product list cards */
.af-product-card__purchase {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eee5dc;
}

.af-product-card__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.15;
}

.af-product-card__old-price {
    margin-bottom: 3px;
    color: #928981;
    font-size: 13px;
    font-weight: 500;
    text-decoration-thickness: 1px;
}

.af-product-card__current-price {
    color: #2b2b2b;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.af-product-card__current-price--request {
    font-size: 14px;
    white-space: normal;
}

.af-product-card__cart-button {
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #7d0808;
    color: #fff;
    box-shadow: 0 7px 16px rgba(125, 8, 8, .2);
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.af-product-card__cart-button:hover,
.af-product-card__cart-button:focus-visible {
    background: #650808;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(125, 8, 8, .28);
}

.af-product-card__cart-button:disabled {
    cursor: wait;
    opacity: .72;
}

.af-product-card__cart-icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.af-product-card__cart-icon--check {
    display: none;
}

.af-product-card__cart-button.is-added {
    background: #527d48;
    box-shadow: 0 7px 16px rgba(82, 125, 72, .22);
}

.af-product-card__cart-button.is-added .af-product-card__cart-icon--basket {
    display: none;
}

.af-product-card__cart-button.is-added .af-product-card__cart-icon--check {
    display: block;
}

@media (max-width: 575px) {
    .af-product-card__purchase {
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .af-product-card__current-price {
        font-size: 18px;
    }

    .af-product-card__old-price {
        font-size: 12px;
    }

    .af-product-card__cart-button {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .af-product-card__cart-icon {
        width: 21px;
        height: 21px;
    }
}


/* fix106: old PRICE_OLD in ready-product detail */
.af-ready-price__values {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
}

.af-ready-price__old {
    color: #928981;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 500;
    text-decoration-thickness: 1px;
}

.af-sticky-old-price {
    margin: 0 5px 0 3px;
    color: #928981;
    text-decoration-thickness: 1px;
}

@media (max-width: 575px) {
    .af-ready-price__old {
        font-size: 14px;
    }
}

/* End */


/* Start:/local/templates/fresco/components/bitrix/breadcrumb/af_catalog/style.min.css?1783059964467*/
.bx-breadcrumb{margin:10px 0}.bx-breadcrumb i{color:#b5bdc2;line-height:13px;font-size:12px;vertical-align:middle;margin-right:5px}.bx-breadcrumb .bx-breadcrumb-item{float:left;margin-bottom:10px;white-space:nowrap;line-height:13px;vertical-align:middle;margin-right:10px}.bx-breadcrumb .bx-breadcrumb-item span{font-family:"Open Sans",Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:13px;white-space:normal}.bx-breadcrumb .bx-breadcrumb-item a{border-bottom:0}
/* End */


/* Start:/local/components/fresco/banner.catalog/templates/fresco/index.css?17810094544451*/
.banner_for_catalog .banner_container{
    margin: 30px 0;
}
.banner_for_catalog_mobile .banner_container{
    margin: 20px 0;
}
.banner_for_catalog h4{
    font-size: 18px;
}
.banner_for_catalog div.banner_for_catalog__header{
    font-size: 18px;
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.banner_for_catalog_mobile h4{
    font-size: 16px;
    padding: 0 8px;
}
.banner_for_catalog_mobile div.banner_for_catalog__header{
    font-size: 16px;
    padding: 0 8px;
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}
.banner_for_catalog h4 span{
    font-weight: 700;
}
.banner_for_catalog div.banner_for_catalog__header span{
    font-weight: 700;
}
.banner_for_catalog_mobile h4 span{
    font-weight: 700;
}
.banner_for_catalog_mobile div.banner_for_catalog__header span{
    font-weight: 700;
}
.banner_for_catalog .href_for_price{
    border-bottom: 1px solid;
    color: #7D0808;
}
.banner_for_catalog_mobile .href_for_price{
    border-bottom: 1px solid;
    color: #7D0808;
}
.banner_for_catalog .href_whatsapp{
    border-bottom: 1px solid;
    color: #1F9824;
}
.banner_for_catalog .href_MAX{
    border-bottom: 1px solid;
    color: #5227b0;
}
.banner_for_catalog_mobile .whatsapp_button, .banner_for_catalog_mobile .max{
    border-radius: 25px;
    display: flex;
    padding: 7px 25px;
    color: white;
    font-size: 16px;
    margin-top: 10px;
    width: 254px;
    height: 37px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    line-height: 1.15;
    overflow: hidden;
    white-space: nowrap;
}
.banner_for_catalog_mobile .whatsapp_button img,
.banner_for_catalog_mobile .max img{
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex: 0 0 22px;
    margin: 0 4px 0 0 !important;
    object-fit: contain;
}
.banner_for_catalog_mobile .whatsapp_button{
    background: linear-gradient(90deg, #19803F 0%, #36AA2D 54.33%, #136D35 100%);
}
.banner_for_catalog_mobile .max{
    background: linear-gradient(90deg, #111E67 0%, #1D49A0 54.33%, #441390 100%);
}
.whatsapp_button a, .max a{
    display: inline-block;
    position: relative;
}
.banner_for_catalog_mobile .search{
    padding: 0 8px;
    margin: 30px 0;
}
.banner_for_catalog_mobile .search_form input{
    font-size: 14px;
    color: #ACACAC;
}
section.search {
    margin-top: 30px;
    margin-bottom: 40px;
    width:      100%;
}

.search_form {
    position:              relative;
    width:                 100%;
    padding:               10px 30px;
    border:                2px solid #ACACAC;
    -webkit-border-radius: 30px;
    -moz-border-radius:    30px;
    border-radius:         30px;
    box-shadow:            0 0 10px 0 #33333333;

}

.search_form input {
    border:    none;
    width:     100%;
    font-size: 18px;
    outline:   none;
}

.search_form button {
    position:         absolute;
    border:           none;
    background-color: rgba(255, 255, 255, 0);
    bottom:           25%;
    right:            25px;
}
.search_form button img{
    width: 18px;
    height: 18px;
}
@media screen and (max-width: 992px) {
    .banner_for_catalog{
        display: none;
    }
}
@media screen and (min-width: 992px){
    .banner_for_catalog_mobile{
        display: none;
    }
}

.image-search-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.image-search-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.image-search-close {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.drop-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 40px 20px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.drop-area:hover {
    background-color: #f9f9f9;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* End */


/* Start:/local/components/fresco/banner.catalog/templates/search_only/index.css?17830599641977*/
.af-banner-search-only {
    margin-top: 24px;
    margin-bottom: 18px;
}

.af-banner-search-only .search_form {
    margin: 0;
}

.af-banner-search-only__inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.af-banner-search-only__input {
    width: 100%;
    padding-right: 88px;
}

.af-banner-search-only__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.af-banner-search-only__button img {
    width: 20px;
    height: 20px;
    opacity: .82;
}

.af-banner-search-only__button:hover img {
    opacity: 1;
}

.af-banner-search-only__button--image {
    right: 48px;
}

.af-banner-search-only__button--submit {
    right: 10px;
}

@media (max-width: 767px) {
    .af-banner-search-only {
        margin-top: 18px;
    }

    .af-banner-search-only__input {
        font-size: 16px;
    }
}

/* fix10: keep the existing site search style, but make both icons visible in the compact catalog hero */
.af-banner-search-only .af-banner-search-only__inner {
    background: transparent;
}

.af-banner-search-only .af-banner-search-only__input {
    background: transparent;
    box-shadow: none;
}

.af-banner-search-only .search_form .af-banner-search-only__button {
    position: absolute;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.af-banner-search-only .search_form .af-banner-search-only__button--image {
    right: 48px;
}

.af-banner-search-only .search_form .af-banner-search-only__button--submit {
    right: 10px;
}

.af-banner-search-only .search_form .af-banner-search-only__button img {
    display: block;
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
}

/* End */


/* Start:/local/templates/fresco/css/contacts-modern.css?17822745649167*/
.contacts-modern-page a {
    text-decoration: none;
}

.contacts-hero {
    margin-top: 22px;
}

.contacts-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f8faf4 0%, #ffffff 48%, #f0f7eb 100%);
    box-shadow: 0 18px 50px rgba(40, 65, 38, 0.08);
}

.contacts-hero__title {
    margin-bottom: 18px;
}

.contacts-hero__lead {
    max-width: 780px;
    margin: 0 0 24px;
    color: #4b4b4b;
    font-size: 18px;
    line-height: 1.55;
}

.contacts-hero__actions,
.contacts-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.contacts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.2s ease;
}

.contacts-btn--primary {
    color: #ffffff !important;
}

.contacts-btn--outline {
    color: #2f6d2d;
    border: 1px solid rgba(47, 109, 45, 0.35);
    background: #ffffff;
}

.contacts-btn--outline:hover {
    color: #ffffff;
    background: #2f6d2d;
}

.contacts-hero__card,
.contacts-info-card,
.contacts-audience-card,
.contacts-step {
    border: 1px solid rgba(47, 109, 45, 0.12);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(32, 55, 30, 0.07);
}

.contacts-hero__card {
    padding: 26px;
    border-radius: 22px;
}

.contacts-hero__card-title {
    margin-bottom: 18px;
    color: #222222;
    font-size: 20px;
    font-weight: 700;
}

.contacts-hero__line {
    display: block;
    margin-bottom: 10px;
    color: #222222;
    font-size: 18px;
    font-weight: 600;
}

.contacts-hero__line:hover {
    color: #2f6d2d;
}

.contacts-hero__time {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9efe4;
    color: #666666;
    font-size: 14px;
}

.contacts-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contacts-info-card {
    padding: 22px;
    border-radius: 20px;
}

.contacts-info-card--accent {
    background: #f8faf4;
}

.contacts-info-card__label {
    margin-bottom: 14px;
    color: #2f6d2d;
    font-size: 18px;
    font-weight: 700;
}

.contacts-info-card p {
    margin-bottom: 9px;
    font-size: 16px;
    line-height: 1.45;
}

.contacts-info-card a {
    color: #222222;
    font-weight: 600;
}

.contacts-info-card a:hover {
    color: #2f6d2d;
}

.contacts-section-head {
    margin-bottom: 22px;
}

.contacts-section-head h2 {
    margin-bottom: 10px;
    color: #222222;
    font-size: 30px;
    font-weight: 700;
}

.contacts-section-head p {
    max-width: 760px;
    margin: 0;
    color: #666666;
    font-size: 17px;
    line-height: 1.55;
}

.contacts-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contacts-audience-card {
    display: flex;
    flex-direction: column;
    min-height: 178px;
    padding: 22px;
    border-radius: 22px;
    color: #222222;
    transition: 0.2s ease;
}

.contacts-audience-card:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 109, 45, 0.35);
    color: #222222;
}

.contacts-audience-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #edf6e7;
    color: #2f6d2d;
    font-weight: 700;
}

.contacts-audience-card b {
    margin-bottom: 8px;
    font-size: 18px;
}

.contacts-audience-card span:last-child {
    color: #666666;
    font-size: 15px;
    line-height: 1.45;
}

.contacts-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.contacts-step {
    padding: 20px;
    border-radius: 20px;
}

.contacts-step b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #2f6d2d;
    color: #ffffff;
}

.contacts-step span {
    display: block;
    color: #555555;
    font-size: 15px;
    line-height: 1.45;
}

.contacts-faq__accordion {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e9efe4;
}

.contacts-faq__item {
    border: 0;
    border-bottom: 1px solid #e9efe4;
}

.contacts-faq__item:last-child {
    border-bottom: 0;
}

.contacts-faq__button {
    padding: 20px 22px;
    color: #222222;
    font-size: 17px;
    font-weight: 700;
    background: #ffffff;
    box-shadow: none !important;
}

.contacts-faq__button:not(.collapsed) {
    color: #2f6d2d;
    background: #f8faf4;
}

.contacts-faq__body {
    color: #555555;
    font-size: 16px;
    line-height: 1.6;
}

.contacts-seo-container .contacts-seo-text {
    margin-top: 0;
}

.contacts-modal__content {
    position: relative;
    padding: 34px;
    border: 0;
    border-radius: 26px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.contacts-modal__close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333333;
    font-size: 24px;
    line-height: 1;
}

.contacts-modal__head {
    margin-bottom: 24px;
    padding-right: 40px;
}

.contacts-modal__mark {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf6e7;
    color: #2f6d2d;
    font-size: 13px;
    font-weight: 700;
}

.contacts-modal__head h3 {
    margin: 0 0 10px;
    color: #222222;
    font-size: 28px;
    font-weight: 700;
}

.contacts-modal__head p {
    max-width: 680px;
    margin: 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
}

.contacts-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contacts-modal__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.contacts-modal__field--wide {
    grid-column: 1 / -1;
}

.contacts-modal__field span {
    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

.contacts-modal__field input,
.contacts-modal__field select,
.contacts-modal__field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #dfe8d8;
    border-radius: 14px;
    outline: none;
    background: #ffffff;
    color: #222222;
    font-size: 15px;
}

.contacts-modal__field textarea {
    resize: vertical;
}

.contacts-modal__field input:focus,
.contacts-modal__field select:focus,
.contacts-modal__field textarea:focus {
    border-color: #2f6d2d;
    box-shadow: 0 0 0 3px rgba(47, 109, 45, 0.1);
}



.contacts-modal__hint {
    display: block;
    margin-top: -2px;
    color: #777777;
    font-size: 13px;
    line-height: 1.35;
}

.contacts-modal__field input:invalid,
.contacts-modal__field select:invalid,
.contacts-modal__field textarea:invalid {
    box-shadow: none;
}

.contacts-modal__form.was-validated .contacts-modal__field input:invalid,
.contacts-modal__form.was-validated .contacts-modal__field select:invalid,
.contacts-modal__form.was-validated .contacts-modal__field textarea:invalid {
    border-color: #b42318;
}

.contacts-modal__field--file input[type="file"] {
    padding: 10px 14px;
    cursor: pointer;
}

.contacts-modal__agree {
    display: flex;
    gap: 10px;
    margin: 18px 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.35;
}

.contacts-modal__agree input {
    margin-top: 2px;
}

.contacts-modal__submit {
    min-height: 48px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    background: #dfe8d8 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contacts-modal__form.is-ready .contacts-modal__submit {
    background: #2f6d2d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(47, 109, 45, 0.22);
}

.contacts-modal__form.is-ready .contacts-modal__submit:hover {
    background: #245823 !important;
    transform: translateY(-1px);
}

.contacts-modal__submit[disabled] {
    background: #9db793 !important;
    opacity: 1;
    cursor: wait;
    transform: none;
}

.contacts-modal__result {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.4;
}

.contacts-modal__result--success {
    color: #2f6d2d;
}

.contacts-modal__result--error {
    color: #b42318;
}

@media (max-width: 991px) {
    .contacts-hero__content,
    .contacts-info-grid,
    .contacts-audience__grid,
    .contacts-steps__grid {
        grid-template-columns: 1fr;
    }

    .contacts-hero__content {
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .contacts-hero__lead,
    .contacts-info-card p {
        font-size: 15px;
    }

    .contacts-section-head h2 {
        font-size: 24px;
    }

    .contacts-modal__content {
        padding: 26px 18px;
        border-radius: 20px;
    }

    .contacts-modal__grid {
        grid-template-columns: 1fr;
    }
}

/* End */
/* /local/templates/fresco/css/catalog-modern.css?178417740473625 */
/* /local/templates/fresco/components/bitrix/breadcrumb/af_catalog/style.min.css?1783059964467 */
/* /local/components/fresco/banner.catalog/templates/fresco/index.css?17810094544451 */
/* /local/components/fresco/banner.catalog/templates/search_only/index.css?17830599641977 */
/* /local/templates/fresco/css/contacts-modern.css?17822745649167 */
