/* HOME PRODUCT NAVIGATION — visual card styles */
/*
 * Floors — Home product navigation, double mobile edition
 *
 * Desktop: 5/4/3 cards in one row.
 * Mobile:  2 rows, 2 columns plus part of the next column.
 */


/* ======================================================
   COMMON
   ====================================================== */

.floors-nav-double,
.floors-nav-double *,
.floors-nav-double *::before,
.floors-nav-double *::after {
    box-sizing: border-box;
}

.floors-nav-double {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 36px;
    overflow: hidden;
    background: #e7e9e2;
    transform: translateX(-50%);
}

@supports (width: 100dvw) {
    .floors-nav-double {
        width: 100dvw;
        max-width: 100dvw;
    }
}

.floors-nav-double--desktop {
    display: block;
}

.floors-nav-double--mobile {
    display: none;
}

.floors-nav-double__inner {
    width: 100%;
    /* max-width: 1410px; */
    max-width: 90%;
    margin: 0 auto;
}

.floors-nav-double__header {
    margin: 0 0 32px;
}

.floors-nav-double__title {
    margin: 0;
    padding: 0;
    color: #484848;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

.floors-nav-double__slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: pan-y;
}

.floors-nav-double .owl2-stage-outer {
    overflow: hidden;
}

.floors-nav-double .owl2-stage {
    display: flex;
    align-items: stretch;
    touch-action: pan-y;
    transition-timing-function:
        cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.floors-nav-double .owl2-item {
    display: flex;
    min-height: 1px;
    backface-visibility: hidden;
}

.floors-nav-double .owl2-controls {
    margin: 0;
}

.floors-nav-double .owl2-dots {
    display: none !important;
}


/* ======================================================
   DESKTOP
   ====================================================== */

.floors-nav-double--desktop {
    padding: 40px 0 80px 0;
}

.floors-nav-double--desktop .floors-nav-double__inner {
    padding: 0 40px;
}

.floors-nav-double__desktop-item {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.floors-nav-double__desktop-card {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 11 / 15;
    background: #d7d8d3;
    color: #fff;
    text-decoration: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

.floors-nav-double__desktop-card:hover,
.floors-nav-double__desktop-card:focus,
.floors-nav-double__desktop-card:active {
    color: #fff;
    text-decoration: none;
    outline: none;
}

.floors-nav-double__desktop-card:focus-visible {
    outline: 3px solid #677559;
    outline-offset: 3px;
}

.floors-nav-double__desktop-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.35s ease;
}

.floors-nav-double__desktop-card::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.03) 20%,
            rgba(0, 0, 0, 0.12) 48%,
            rgba(0, 0, 0, 0.48) 100%);
}

.floors-nav-double__desktop-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 16px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.floors-nav-double__desktop-name {
    display: block;
    max-width: 220px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 2px 7px rgba(0, 0, 0, 0.28);
}

.floors-nav-double__desktop-line {
    display: block;
    width: 52px;
    height: 1px;
    margin: 13px auto 10px;
    background: rgba(255, 255, 255, 0.9);
}

.floors-nav-double__desktop-action {
    display: block;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 2px 7px rgba(0, 0, 0, 0.28);
}

.floors-nav-double .owl2-item .floors-nav-double__desktop-item {
    width: 100%;
}


/* ======================================================
   DESKTOP HOVER
   ====================================================== */

@media (hover: hover) and (pointer: fine) {
    .floors-nav-double__desktop-card:hover .floors-nav-double__desktop-image {
        transform: scale(1.025);
    }
}


/* ======================================================
   DESKTOP OWL ARROWS
   ====================================================== */

.floors-nav-double--desktop .owl2-nav {
    position: static;
    margin: 0;
}

.floors-nav-double--desktop .owl2-nav>div {
    position: absolute !important;
    top: 50% !important;
    z-index: 5;
    display: flex !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0 !important;
    border-radius: 50% !important;
    background: #677559 !important;
    color: #fff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    transform: translateY(-50%);
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.floors-nav-double--desktop .owl2-nav>div::before {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
}

.floors-nav-double--desktop .owl2-prev {
    left: 14px !important;
}

.floors-nav-double--desktop .owl2-next {
    right: 14px !important;
}

.floors-nav-double--desktop .owl2-prev::before {
    content: "‹";
    transform: translate(-1px, -1px);
}

.floors-nav-double--desktop .owl2-next::before {
    content: "›";
    transform: translate(1px, -1px);
}

@media (hover: hover) and (pointer: fine) {
    .floors-nav-double--desktop .owl2-nav>div:hover {
        background: #56634a !important;
    }
}

.floors-nav-double--desktop .owl2-nav>div:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}


/* ======================================================
   DESKTOP BEFORE OWL
   ====================================================== */

.floors-nav-double__desktop-slider:not(.owl2-loaded) {
    display: block;
    overflow: hidden;
}

.floors-nav-double__desktop-slider:not(.owl2-loaded)>.floors-nav-double__desktop-item {
    /* display: none; */
}

.floors-nav-double__desktop-slider:not(.owl2-loaded)>.floors-nav-double__desktop-item:first-child {
    display: block;
}


/* ======================================================
   LARGE DESKTOP — 5 CARDS
   ====================================================== */

@media screen and (min-width: 1200px) {
    .floors-nav-double__desktop-slider:not(.owl2-loaded)>.floors-nav-double__desktop-item:first-child {
        width: calc((100% - 128px) / 5);
    }
}


/* ======================================================
   DESKTOP — 4 CARDS
   ====================================================== */

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .floors-nav-double__desktop-slider:not(.owl2-loaded)>.floors-nav-double__desktop-item:first-child {
        width: calc((100% - 96px) / 4);
    }
}


/* ======================================================
   TABLET — 3 CARDS
   ====================================================== */

@media screen and (min-width: 768px) and (max-width: 991px) {
    .floors-nav-double--desktop .floors-nav-double__inner {
        padding-right: 30px;
        padding-left: 30px;
    }

    .floors-nav-double__desktop-slider:not(.owl2-loaded)>.floors-nav-double__desktop-item:first-child {
        width: calc((100% - 64px) / 3);
    }

    .floors-nav-double__desktop-name {
        font-size: 18px;
    }

    .floors-nav-double__desktop-action {
        font-size: 15px;
    }

    .floors-nav-double--desktop .owl2-nav>div {
        width: 46px !important;
        height: 46px !important;
    }
}


/* ======================================================
   MOBILE — TWO ROWS
   ====================================================== */

@media screen and (max-width: 767px) {
    .floors-nav-double--desktop {
        display: none;
    }

    .floors-nav-double--mobile {
        display: block;
        margin-left: -8px;
        margin-bottom: 22px;
        padding: 32px 0 34px;
    }

    .floors-nav-double--mobile .floors-nav-double__inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .floors-nav-double--mobile .floors-nav-double__header {
        margin: 0 0 24px;
        padding: 0 30px;
    }

    .floors-nav-double--mobile .floors-nav-double__title {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }

    .floors-nav-double__mobile-column {
        display: flex;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        flex-direction: column;
        gap: 12px;
    }

    .floors-nav-double__mobile-card {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        aspect-ratio: 1 / 1.1;
        background: #d7d8d3;
        color: #fff;
        text-decoration: none;
        user-select: none;
        -webkit-user-drag: none;
        -webkit-tap-highlight-color: transparent;
    }

    .floors-nav-double__mobile-card:hover,
    .floors-nav-double__mobile-card:focus,
    .floors-nav-double__mobile-card:active {
        color: #fff;
        text-decoration: none;
        outline: none;
    }

    .floors-nav-double__mobile-card:focus-visible {
        outline: 3px solid #677559;
        outline-offset: -3px;
    }

    .floors-nav-double__mobile-media {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background: #ddd;
    }

    .floors-nav-double__mobile-image {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        object-fit: cover;
        object-position: center;
        pointer-events: none;
        user-select: none;
        -webkit-user-drag: none;
        transition: transform 0.3s ease;
    }

    .floors-nav-double__mobile-card::after {
        position: absolute;
        inset: 0;
        z-index: 1;
        content: "";
        pointer-events: none;
        background:
            linear-gradient(to bottom,
                rgba(0, 0, 0, 0.04) 10%,
                rgba(0, 0, 0, 0.17) 55%,
                rgba(0, 0, 0, 0.38) 100%);
    }

    .floors-nav-double__mobile-name {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        width: 100%;
        height: 100%;
        min-height: 0;
        max-width: 100%;
        padding: 14px 10px;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.16;
        text-align: center;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.7),
            0 2px 6px rgba(0, 0, 0, 0.35);
        pointer-events: none;
    }

    .floors-nav-double .owl2-item .floors-nav-double__mobile-column {
        width: 100%;
    }

    .floors-nav-double--mobile .owl2-nav,
    .floors-nav-double--mobile .owl2-nav>div,
    .floors-nav-double--mobile .owl2-dots {
        display: none !important;
    }

    /*
   * Состояние до инициализации Owl:
   * показываем две колонки, скрываем остальные.
   */
    .floors-nav-double__mobile-slider:not(.owl2-loaded) {
        display: flex;
        width: 100%;
        gap: 12px;
        overflow: hidden;
        padding-right: 14px;
        padding-left: 14px;
    }

    .floors-nav-double__mobile-slider:not(.owl2-loaded)>.floors-nav-double__mobile-column {
        /* display: none; */
    }

    .floors-nav-double__mobile-slider:not(.owl2-loaded)>.floors-nav-double__mobile-column:nth-child(1),
    .floors-nav-double__mobile-slider:not(.owl2-loaded)>.floors-nav-double__mobile-column:nth-child(2) {
        display: flex;
        flex: 0 0 calc((100% - 12px - 28px) / 2);
    }
}

@media screen and (max-width: 369px) {
    .floors-nav-double--mobile {
        padding-top: 28px;
        padding-bottom: 30px;
    }

    .floors-nav-double--mobile .floors-nav-double__header {
        margin-bottom: 22px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .floors-nav-double--mobile .floors-nav-double__title {
        font-size: 22px;
    }

    .floors-nav-double__mobile-column {
        gap: 10px;
    }

    .floors-nav-double__mobile-card {
        aspect-ratio: 1 / 1.08;
    }

    .floors-nav-double__mobile-name {
        padding: 10px 8px;
        font-size: 15px;
        line-height: 1.15;
    }

    .floors-nav-double__mobile-slider:not(.owl2-loaded) {
        gap: 10px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .floors-nav-double__mobile-slider:not(.owl2-loaded)>.floors-nav-double__mobile-column:nth-child(1),
    .floors-nav-double__mobile-slider:not(.owl2-loaded)>.floors-nav-double__mobile-column:nth-child(2) {
        flex-basis: calc((100% - 10px - 24px) / 2);
    }
}


/* ======================================================
   MOBILE HOVER — FOR POINTER DEVICES
   ====================================================== */

@media screen and (max-width: 767px) and (hover: hover) and (pointer: fine) {
    .floors-nav-double__mobile-card:hover .floors-nav-double__mobile-image {
        transform: scale(1.025);
    }
}


/* ======================================================
   REDUCED MOTION
   ====================================================== */

@media (prefers-reduced-motion: reduce) {

    .floors-nav-double__desktop-image,
    .floors-nav-double__mobile-image,
    .floors-nav-double .owl2-stage,
    .floors-nav-double .owl2-nav>div {
        transition: none !important;
    }
}

/* =====================================================
   DEVICE VISIBILITY
   Desktop: one row
   Mobile: two rows
   ===================================================== */

.floors-nav-double--desktop {
    display: block !important;
}

.floors-nav-double--mobile {
    display: none !important;
}

@media (max-width: 767px) {
    .floors-nav-double--desktop {
        display: none !important;
    }

    .floors-nav-double--mobile {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .floors-nav-double--desktop {
        display: block !important;
    }

    .floors-nav-double--mobile {
        display: none !important;
    }
}

/* HOME BRANDS — visual card styles */
/* Floors — home brand navigation
 * Desktop: one-row Owl carousel.
 * Mobile: two-row Owl carousel.
 */

.floors-brands,
.floors-brands *,
.floors-brands *::before,
.floors-brands *::after {
    box-sizing: border-box;
}

.floors-brands {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 36px;
    overflow: hidden;
    background: #e7e9e2;
    transform: translateX(-50%);
}

.floors-brands--desktop {
    display: block !important;
    padding: 40px 0 80px 0;
}

.floors-brands--mobile {
    display: none !important;
}

.floors-brands__inner {
    width: 100%;
    /* max-width: 1410px; */
    max-width: 90%;
    margin: 0 auto;
    padding: 0 40px;
}

.floors-brands__header {
    margin: 0 0 32px;
}

.floors-brands__title {
    margin: 0;
    color: #484848;
    font: 600 32px/1.2 Arial, sans-serif;
}

.floors-brands__slider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: pan-y;
}

.floors-brands .owl2-stage-outer {
    overflow: hidden;
}

.floors-brands .owl2-stage {
    display: flex;
    align-items: stretch;
    touch-action: pan-y;
    transition-timing-function: cubic-bezier(.165, .84, .44, 1) !important;
}

.floors-brands .owl2-item {
    display: flex;
    min-height: 1px;
    backface-visibility: hidden;
}

.floors-brands .owl2-dots {
    display: none !important;
}

.floors-brands__desktop-item {
    width: 100%;
    min-width: 0;
}

.floors-brands__desktop-card,
.floors-brands__mobile-card {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #d7d8d3;
    color: #fff;
    text-decoration: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

.floors-brands__desktop-card {
    aspect-ratio: 11 / 14;
}

.floors-brands__desktop-card:hover,
.floors-brands__desktop-card:focus,
.floors-brands__mobile-card:hover,
.floors-brands__mobile-card:focus {
    color: #fff;
    text-decoration: none;
    outline: none;
}

.floors-brands__desktop-card:focus-visible,
.floors-brands__mobile-card:focus-visible {
    outline: 3px solid #677559;
    outline-offset: -3px;
}

.floors-brands__background {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    -webkit-user-drag: none;
    transition: transform .35s ease;
}

.floors-brands__desktop-card::after,
.floors-brands__mobile-card::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(to bottom, rgba(0, 0, 0, .04), rgba(0, 0, 0, .12) 52%, rgba(0, 0, 0, .43));
}

.floors-brands__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    padding: 18px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.floors-brands__logo-box {
    display: flex;
    width: min(82%, 230px);
    min-height: 88px;
    padding: 14px 18px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.floors-brands__logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 62px;
    object-fit: contain;
}

.floors-brands__line {
    display: block;
    width: 52px;
    height: 1px;
    margin: 18px auto 11px;
    background: rgba(255, 255, 255, .92);
}

.floors-brands__action {
    color: #fff;
    font: 400 16px/1.25 Arial, sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
}

@media (hover: hover) and (pointer: fine) {

    .floors-brands__desktop-card:hover .floors-brands__background,
    .floors-brands__mobile-card:hover .floors-brands__background {
        transform: scale(1.025);
    }
}

.floors-brands--desktop .owl2-nav {
    position: static;
    margin: 0;
}

.floors-brands--desktop .owl2-nav>div {
    position: absolute !important;
    top: 50% !important;
    z-index: 5;
    display: flex !important;
    width: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    align-items: center;
    justify-content: center;
    background: #677559 !important;
    color: #fff !important;
    font-size: 0 !important;
    opacity: 1 !important;
    transform: translateY(-50%);
}

.floors-brands--desktop .owl2-nav>div::before {
    font: 300 38px/1 Arial, sans-serif;
}

.floors-brands--desktop .owl2-prev {
    left: 14px !important;
}

.floors-brands--desktop .owl2-next {
    right: 14px !important;
}

.floors-brands--desktop .owl2-prev::before {
    content: "‹";
}

.floors-brands--desktop .owl2-next::before {
    content: "›";
}

.floors-brands__desktop-slider:not(.owl2-loaded) {
    display: flex;
    gap: 30px;
}

.floors-brands__desktop-slider:not(.owl2-loaded)>.floors-brands__desktop-item {
    /* display: none; */
    flex: 0 0 calc((100% - 120px) / 5);
}

.floors-brands__desktop-slider:not(.owl2-loaded)>.floors-brands__desktop-item:nth-child(-n+5) {
    display: block;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .floors-brands__desktop-slider:not(.owl2-loaded)>.floors-brands__desktop-item {
        flex-basis: calc((100% - 90px) / 4);
    }

    .floors-brands__desktop-slider:not(.owl2-loaded)>.floors-brands__desktop-item:nth-child(5) {
        /* display: none; */
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .floors-brands__inner {
        padding: 0 30px;
    }

    .floors-brands__desktop-slider:not(.owl2-loaded)>.floors-brands__desktop-item {
        flex-basis: calc((100% - 60px) / 3);
    }

    .floors-brands__desktop-slider:not(.owl2-loaded)>.floors-brands__desktop-item:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 767px) {
    .floors-brands--desktop {
        display: none !important;
    }

    .floors-brands--mobile {
        display: block !important;
        left: auto;
        margin-left: calc(50% - 50vw);
        margin-bottom: 22px;
        padding: 32px 0 34px;
        transform: none;
    }

    .floors-brands--mobile .floors-brands__inner {
        max-width: none;
        padding: 0;
    }

    .floors-brands--mobile .floors-brands__header {
        margin-bottom: 24px;
        padding: 0 30px;
    }

    .floors-brands--mobile .floors-brands__title {
        font-size: 24px;
        white-space: nowrap;
    }

    .floors-brands__mobile-column {
        display: flex;
        width: 100%;
        min-width: 0;
        flex-direction: column;
        gap: 12px;
    }

    .floors-brands__mobile-card {
        aspect-ratio: 1 / 1.06;
    }

    .floors-brands__content {
        padding: 10px;
    }

    .floors-brands__logo-box {
        width: 84%;
        min-height: 58px;
        padding: 9px 11px;
    }

    .floors-brands__logo {
        max-height: 40px;
    }

    .floors-brands__line {
        width: 38px;
        margin: 12px auto 8px;
    }

    .floors-brands__action {
        font-size: 14px;
    }

    .floors-brands--mobile .owl2-nav,
    .floors-brands--mobile .owl2-dots {
        display: none !important;
    }

    .floors-brands__mobile-slider:not(.owl2-loaded) {
        display: flex;
        width: 100%;
        gap: 12px;
        overflow: hidden;
        padding: 0 14px;
    }

    .floors-brands__mobile-slider:not(.owl2-loaded)>.floors-brands__mobile-column {
        /* display: none; */
        flex: 0 0 calc((100% - 12px - 28px) / 2);
    }

    .floors-brands__mobile-slider:not(.owl2-loaded)>.floors-brands__mobile-column:nth-child(-n+2) {
        display: flex;
    }
}

@media (max-width: 369px) {
    .floors-brands--mobile .floors-brands__header {
        padding: 0 24px;
    }

    .floors-brands--mobile .floors-brands__title {
        font-size: 22px;
    }

    .floors-brands__mobile-column {
        gap: 10px;
    }

    .floors-brands__action {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .floors-brands__background,
    .floors-brands .owl2-stage {
        transition: none !important;
    }
}

/* Компенсация мобильного отступа Page Builder */
@media (max-width: 767px) {
    .floors-brands.floors-brands--mobile {
        left: auto !important;
        width: calc(100% + 24px) !important;
        max-width: none !important;
        margin-right: -12px !important;
        margin-left: -12px !important;
        transform: none !important;
    }
}

/* Изображения не конкурируют с перетаскиванием Owl */
.floors-brands img {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

/* Owl обрабатывает горизонтальный жест, страница — вертикальный */
.floors-brands__slider,
.floors-brands .owl2-stage,
.floors-brands .owl2-item,
.floors-brands__desktop-card,
.floors-brands__mobile-card {
    touch-action: pan-y;
}


/* ==========================================================================
   FLOORS STORIES — UNIFIED LAYOUT AND ENGINE
   Shared mechanics for “choose by product type” and “choose by brand”.
   ========================================================================== */

.floors-stories__inner {
    position: relative;
}

.floors-stories__track {
    --floors-stories-gap: 30px;
    position: relative;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: var(--floors-stories-gap) !important;
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y !important;
    cursor: grab;
}

.floors-stories__track *,
.floors-stories__item,
.floors-stories__item * {
    touch-action: pan-x pan-y !important;
}

.floors-stories__track::-webkit-scrollbar {
    display: none;
}

.floors-stories__track.floors-stories--dragging {
    cursor: grabbing;
    scroll-behavior: auto !important;
    user-select: none;
}

.floors-stories__track.floors-stories--jumping {
    scroll-behavior: auto !important;
}

.floors-stories__track.floors-stories--gliding {
    scroll-behavior: auto !important;
}

.floors-stories__track>.floors-stories__item {
    /* display: block !important; */
    min-width: 0;
    margin: 0 !important;
}

.floors-stories__track--desktop {
    --floors-stories-gap: 30px;
}

.floors-stories__track--desktop>.floors-stories__item {
    flex: 0 0 calc((100% - 120px) / 5) !important;
    width: auto !important;
}

.floors-stories__track--mobile {
    --floors-stories-gap: 16px;
    padding-inline: 12px !important;
    scroll-padding-inline: 12px;
    cursor: auto;
}

.floors-stories__track--mobile>.floors-stories__item {
    flex: 0 0 clamp(148px, 43vw, 190px) !important;
    width: auto !important;
}

.floors-stories__button {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #fff;
    background: rgba(32, 35, 31, 0.68);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.18s ease, opacity 0.18s ease;
}

.floors-stories__button:hover,
.floors-stories__button:focus-visible {
    background: #687559;
}

.floors-stories__button--prev {
    left: 8px;
}

.floors-stories__button--next {
    right: 8px;
}

.floors-stories__button span {
    font-size: 28px;
    line-height: 1;
}

@media (max-width: 1199px) and (min-width: 768px) {
    .floors-stories__track--desktop>.floors-stories__item {
        flex-basis: calc((100% - 90px) / 4) !important;
    }
}

@media (max-width: 767px) {
    .floors-stories__button {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floors-stories__track {
        scroll-behavior: auto;
    }
}