/* Phase2: homepage-only styles. Loaded when $is_shop_homepage. */

/* Коллекции на главной — компактная сетка (4 ключевых вида) */
.home-section--categories-tile {
    margin-bottom: 28px;
}

.home-section--categories-tile .categories-tile__outer {
    margin: -8px -8px 0;
    padding: 8px;
}

.home-section--categories-tile .categories-tile__outer.home-section__inner {
    padding-bottom: 12px;
}

.home-section--categories-tile .categories-tile__head {
    margin: 0 0 10px;
}

.home-section--categories-tile .categories-tile__head .home-section__title {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    margin: 0;
}

.home-section--categories-tile .h1 {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    margin-bottom: 10px;
}

.home-section--categories-tile .categories-tile {
    margin: 0 -8px 0 0;
}

.home-section--categories-tile .categories-tile__item {
    padding: 8px 10px;
    border-radius: 10px;
    margin: 0 8px 8px 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.home-section--categories-tile .categories-tile__image {
    height: 56px;
    margin-bottom: 4px;
}

.home-section--categories-tile .categories-tile__image--line {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.06);
    border-radius: 10px;
}

.home-section--categories-tile .categories-tile__image--line .catalog-line-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
    border-radius: 10px;
}

.dark-theme .home-section--categories-tile .categories-tile__image--line {
    background: rgba(255, 255, 255, 0.05);
}

.home-section--categories-tile .categories-tile__title {
    font-size: 12px;
    line-height: 1.2;
}

.home-section--categories-tile .categories-tile__count {
    font-size: 11px;
    opacity: .75;
}

.home-section--categories-tile .categories-tile__stats {
    font-size: 10px;
    margin-top: 2px;
}

.home-section--categories-tile .categories-tile__btn {
    display: none;
}

.home-section--categories-tile .categories-tile__more {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    padding-top: 4px;
}

@media (min-width: 651px) {
    .home-section--categories-tile .categories-tile__item {
        flex: 0 0 calc(25% - 8px);
        width: calc(25% - 8px);
    }
}

@media (max-width: 650px) {
    .home-section--categories-tile .categories-tile__image {
        height: 52px;
    }

    .home-section--categories-tile .categories-tile__item {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        padding: 8px;
    }

    .home-section--categories-tile .categories-tile__title {
        font-size: 11px;
    }
}
/* Trust strip under hero (homepage) */
.trust-strip {
    margin: 0 0 24px;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}

.trust-strip--cards {
    margin: 0 0 28px;
    padding: 0;
    border-bottom: none;
}

.trust-strip--cards .trust-strip__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.trust-strip--cards .trust-strip__item {
    flex: none;
    min-width: 0;
    padding: 16px 14px;
    border-radius: 10px;
    background: var(--wrap-bg-color, #fafafa);
    border: 1px solid var(--border-elements-color, #ececec);
    transition: border-color .2s, box-shadow .2s;
}

.trust-strip--cards .trust-strip__item:hover {
    opacity: 1;
    border-color: var(--g-gold-soft, rgba(198, 161, 91, 0.35));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.dark-theme .trust-strip--cards .trust-strip__item {
    background: rgba(255, 255, 255, 0.04);
}

.trust-strip__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: space-between;
}

.trust-strip__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 calc(25% - 16px);
    min-width: 140px;
    color: inherit;
    text-decoration: none;
}

.trust-strip__item:hover {
    opacity: .75;
}

.trust-strip__icon,
.trust-strip--cards .trust-strip__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--g-gold-deep, #8a6d1e);
}
.dark-theme .trust-strip__icon,
.dark-theme .trust-strip--cards .trust-strip__icon {
    color: var(--g-gold, #d8b877);
}
.trust-strip__icon i,
.trust-strip__icon .fal,
.trust-strip__icon .far,
.trust-strip__icon .fas {
    color: inherit;
}

.trust-strip__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.trust-strip__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--body-text-color);
}

.trust-strip__text {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: #858585;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .trust-strip {
        margin-bottom: 16px;
        padding: 10px 0;
    }

    .trust-strip__item {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .trust-strip__icon {
        width: 22px;
        height: 22px;
        font-size: 15px;
    }

    .trust-strip__title {
        font-size: 12px;
    }

    .trust-strip__text {
        font-size: 11px;
    }
}
/* ===== Homepage redesign ===== */
.content--homepage {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 48px);
    padding-right: clamp(20px, 4vw, 48px);
    box-sizing: border-box;
}

/* Карусели не ломают боковые поля */
.content--homepage .slider-outer.sk-carousel {
    margin-right: 0 !important;
}

.content--homepage .last-reviews__outer.-carousel .last-reviews {
    margin-right: 0 !important;
}

.home-page {
    padding-bottom: 48px;
}

.home-page .trust-strip {
    margin-bottom: 0;
    padding-bottom: 20px;
    border-bottom: none;
}

.home-section {
    margin-bottom: 52px;
}

.home-section__inner {
    margin-bottom: 0 !important;
}

.home-section .h1,
.home-section .wrap-section__head .h1,
.home-section .last-reviews__head-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.home-section--about .home-about {
    max-width: 920px;
    background: var(--wrap-bg-color, #fafafa);
    border-radius: 12px;
    padding: 28px 32px;
}

.dark-theme .home-section--about .home-about {
    background: rgba(255, 255, 255, 0.04);
}

.home-section--about .home-about__heading,
.home-section--about .home-about h1 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.home-section--about .home-about__text {
    font-size: 15px;
    line-height: 1.65;
}

.home-about-more {
    margin: 16px 0 0;
    max-width: 920px;
}

.home-about-more__link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.home-section--reviews-aggregator .homepage-reviews-aggregator {
    margin-bottom: 0;
}

.home-section--reviews-aggregator .wrap-section__head {
    margin-bottom: 20px;
}

/* Hero — split layout + единый формат слайдов 1816×882 */
.home-hero {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 58%);
    gap: 28px 36px;
    align-items: center;
    margin-bottom: 8px;
    padding: 8px 0 20px;
}

.home-hero__content {
    min-width: 0;
}

.home-hero__badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ac-color, #b8860b);
    background: rgba(184, 134, 11, 0.1);
    border-radius: 999px;
}

.home-hero__micro-offer {
    font-size: 12px;
    color: #999;
    margin: 10px 0 0;
    line-height: 1.4;
}

.home-hero__caption {
    font-size: 13px;
    color: #888;
    margin: 8px 0 0;
}

.home-hero__media {
    width: 100%;
}

.home-hero__media .slider-outer {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    background: #f4f1eb;
}

/* Hero-слайдер: чистые баннеры без дубля текста (оффер слева) */
.home-hero__media--slider .slider-promobg__content,
.home-hero__media--slider .slider-promobg__countdown {
    display: none !important;
}

.home-hero__media--slider .slider-item.slider-promobg {
    transition: transform 0.65s ease;
}

.home-hero__media--slider .owl-item.active .slider-promobg__image,
.home-hero__media--slider .owl-item.active .slider-item.-bg-crop {
    transform: none;
}

.home-hero__media--slider .slider-promobg__image,
.home-hero__media--slider .slider-item.-bg-crop {
    transition: transform 6s ease-out;
    object-fit: cover;
    object-position: center bottom;
}

/* Точки навигации */
.home-hero__media--slider .js-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 3;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.home-hero__media--slider .js-slider-dots .owl-dot {
    pointer-events: auto;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: width 0.25s ease, background 0.25s ease;
}

.home-hero__media--slider .js-slider-dots .owl-dot.active {
    width: 28px;
    background: var(--ac-color, #b8860b);
}

.home-hero__media--slider .js-slider-dots .owl-dot span {
    display: none;
}

/* Стрелки */
.home-hero__media--slider .js-slider-nav {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.home-hero__media--slider .js-slider-nav .owl-prev,
.home-hero__media--slider .js-slider-nav .owl-next {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    margin-top: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.home-hero__media--slider .slider-outer:hover .js-slider-nav .owl-prev,
.home-hero__media--slider .slider-outer:hover .js-slider-nav .owl-next {
    opacity: 1;
}

.home-hero__media--slider .js-slider-nav .owl-prev:hover,
.home-hero__media--slider .js-slider-nav .owl-next:hover {
    background: #fff;
}

.home-hero__media--slider .js-slider-nav .owl-prev {
    left: 12px;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}

.home-hero__media--slider .js-slider-nav .owl-next {
    right: 12px;
    left: auto;
    margin-left: 0;
    margin-right: 0;
}

.home-hero__media--slider .js-slider-nav .owl-prev:after,
.home-hero__media--slider .js-slider-nav .owl-next:after {
    display: block;
    line-height: 1;
    color: #333;
    font-size: 14px;
}

.home-hero__media--slider .slider-outer {
    margin-bottom: 0;
    aspect-ratio: 1816 / 882;
    overflow: hidden;
}

.home-hero__media--slider .slider-outer.sk-carousel {
    margin-right: 0 !important;
}

.home-hero__media--slider .slider-banner {
    margin: 0;
    padding: 0;
    height: 100%;
    display: block;
}

.home-hero__media--slider .slider-banner .owl-stage-outer {
    overflow: hidden !important;
    height: 100%;
}

.home-hero__media--slider .slider-banner .owl-stage,
.home-hero__media--slider .slider-banner .owl-item {
    height: 100%;
}

.home-hero__media--slider .owl-item .slider-item {
    width: 100%;
    margin: 0;
    opacity: 1;
    flex: 0 0 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
}

.home-hero__media .slider-item.slider-promobg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-hero__media .slider-promobg__image,
.home-hero__media .slider-item.-bg-crop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-height: none;
    border-radius: 0;
}

.home-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ac-color, #b8860b);
    font-weight: 600;
    margin: 0 0 10px;
}

.home-hero__title {
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 14px;
}

.home-hero__subtitle {
    font-size: 15px;
    line-height: 1.55;
    color: #666;
    margin: 0 0 24px;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}

.home-hero__btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.home-hero__btn--primary {
    background: var(--ac-color, #b8860b);
    color: #fff;
}

.home-hero__btn--outline {
    border: 1px solid #ccc;
    color: var(--body-text-color);
    background: transparent;
}

/* Facts strip */
.home-facts-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
    padding: 20px 24px;
    background: var(--wrap-bg-color, #f7f5f0);
    border-radius: 10px;
}

.dark-theme .home-facts-strip {
    background: rgba(255, 255, 255, 0.05);
}

.home-facts-strip__item {
    text-align: center;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.home-facts-strip__count {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ac-color, #b8860b);
    margin-bottom: 6px;
}

.home-facts-strip__label {
    display: block;
    /* типографика — gachami-brand-tokens.css */
}

/* Categories icon — homepage */
.home-categories-icon .categories-icon {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin: 0;
}

.home-categories-icon .categories-icon__item,
.home-categories-icon__item {
    margin: 0 !important;
    padding: 16px 10px !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    transition: transform .2s, box-shadow .2s;
}

.home-categories-icon .categories-icon__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.home-categories-icon .categories-icons__icon img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
}

.home-categories-icon .categories-icon__title {
    font-size: 13px;
    margin-top: 8px;
}

/* Product sections */
.home-section--products .products-list__offers {
    margin-bottom: 0;
}

.home-section--products-primary .products-tile__list {
    gap: 16px;
}

/* Beginners CTA band */
.home-beginners {
    background: linear-gradient(135deg, #f8f5ef 0%, #ede8dc 100%);
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 52px;
}

/* После hero на главной — только мобила (на десктопе «Новичкам» в шапке) */
.home-beginners--after-hero {
    display: none;
}

@media (max-width: 1024px) {
    .home-beginners--after-hero {
        display: block;
        margin-top: 16px;
        margin-bottom: 28px;
    }

    .hero-story + .home-beginners--after-hero {
        margin-top: 12px;
    }

    .home-beginners--after-hero + .home-section--founder {
        margin-top: 0;
    }
}

.dark-theme .home-beginners {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
}

.home-beginners__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.home-beginners__title {
    font-size: 1.25rem;
    margin: 0 0 6px;
    font-weight: 700;
}

.home-beginners__desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    max-width: 520px;
    line-height: 1.5;
}

.home-beginners__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.home-beginners__btn {
    display: inline-flex;
    padding: 12px 22px;
    background: var(--ac-color, #b8860b);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.home-beginners__link {
    font-size: 14px;
    text-decoration: underline;
}

/* ===== Новые блоки главной ===== */

/* Hero: рейтинг Яндекс/2ГИС */
.home-hero__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    text-decoration: none;
    color: inherit;
}

.home-hero__stars {
    color: #e8a317;
    letter-spacing: 1px;
    font-size: 14px;
}

.home-hero__rating-text {
    font-size: 13px;
    color: #666;
}

.dark-theme .home-hero__rating-text {
    color: #aaa;
}

.home-hero__rating:hover .home-hero__rating-text {
    color: var(--ac-color, #b8860b);
}

/* Hero: бесплатная доставка */
.home-hero__freeship {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--body-text-color, #2c2c2c);
    line-height: 1.5;
}

.dark-theme .home-hero__freeship {
    color: #e8e2d6;
}

.home-hero__freeship i {
    color: var(--ac-color, #b8860b);
    margin-right: 6px;
}

/* Hero: офлайн-строка */
.home-hero__offline {
    margin: 8px 0 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.dark-theme .home-hero__offline {
    color: #aaa;
}

.home-hero__offline i {
    color: var(--ac-color, #b8860b);
    margin-right: 4px;
}

.home-hero__offline a {
    color: var(--ac-color, #b8860b);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.home-hero__offline a:hover {
    border-bottom-color: currentColor;
}

/* Офлайн-секция */
.home-offline {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 28px 32px;
    align-items: center;
}

.home-offline__facts {
    list-style: none;
    margin: 16px 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-offline__facts li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 15px;
    color: var(--body-text-color, #333);
}

.home-offline__facts i {
    color: var(--ac-color, #b8860b);
    width: 18px;
    text-align: center;
    flex: 0 0 auto;
}

.home-offline__facts a {
    color: inherit;
}

.home-offline__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.home-offline__map {
    position: relative;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #ece7dd center/cover no-repeat;
    background-image: linear-gradient(135deg, rgba(184,134,11,.12), rgba(0,0,0,.06));
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-offline__map iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
    display: block;
}

.home-offline__map-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 26px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border-elements-color, #e0d9cc);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--ac-color, #b8860b);
    transition: transform .15s;
}

.home-offline__map-btn:hover {
    transform: translateY(-1px);
}

.home-offline__map-btn i {
    font-size: 22px;
}

.home-objections__more {
    margin: 18px 0 0;
}

.home-objections__more a {
    color: var(--ac-color, #b8860b);
    text-decoration: none;
    font-weight: 600;
}

/* Sticky mobile CTA */
.home-sticky-cta {
    display: none;
}

@media (max-width: 900px) {
    .home-sticky-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        gap: 8px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        background: var(--wrap-bg-color, #fff);
        border-top: 1px solid var(--border-elements-color, #e6e0d5);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    }

    .home-sticky-cta__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 46px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

    .home-sticky-cta__btn--primary {
        flex: 1 1 auto;
    }

    .home-sticky-cta__btn--outline {
        flex: 0 0 auto;
        padding: 0 16px;
        border: 1px solid var(--border-elements-color, #e0d9cc);
        color: var(--body-text-color, #333);
        background: transparent;
    }

    .dark-theme .home-sticky-cta__btn--outline {
        border-color: var(--border-elements-color, rgba(255, 255, 255, 0.14));
        color: var(--body-text-color, #ece7dd);
    }

    /* чтобы sticky не перекрывал футер */
    .footer, .wa-footer, #wa-footer {
        padding-bottom: 64px;
    }

    .home-page {
        padding-bottom: 72px;
    }
}

@media (max-width: 900px) {
    .home-offline {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-offline__actions .nv-btn {
        flex: 1 1 auto;
    }
}

/* Адаптив */
@media (max-width: 900px) {
    .nv-hero {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .nv-hero__facts {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .nv-hero__facts li {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .home-offline {
        grid-template-columns: 1fr;
    }

    .nv-grid--types {
        grid-template-columns: repeat(2, 1fr);
    }

    .nv-grid--products {
        grid-template-columns: repeat(2, 1fr);
    }

    .nv-podbor__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nv-grid--methods {
        grid-template-columns: 1fr;
    }

    .home-section--mood .nv-grid--types-scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .home-section--mood .nv-grid--types-scroll::-webkit-scrollbar {
        display: none;
    }

    .home-section--mood .nv-grid--types-scroll .nv-type {
        flex: 0 0 78vw;
        scroll-snap-align: start;
    }

    .nv-temp__list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nv-podbor {
        padding: 22px;
    }

    .nv-hero__actions > .nv-btn--primary,
    .nv-final__actions .nv-btn {
        width: 100%;
    }

    .nv-hero__calc-actions {
        width: 100%;
        gap: 8px;
    }

    .nv-hero__calc-actions .nv-btn {
        flex: 1;
        min-width: 0;
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
    }

    .nv-nav {
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .nv-nav::-webkit-scrollbar {
        display: none;
    }

    .nv-nav__link {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Full-width homepage: no sidebar column */
.content-cols--mainpage {
    display: block !important;
}

.content-cols--mainpage .maincontent {
    width: 100% !important;
}

@media (max-width: 1024px) {
    .trust-strip--cards .trust-strip__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .home-page {
        overflow-x: clip;
    }

    /*
     * Карусель товаров: .products-list__outer имеет отрицательный margin,
     * а .home-page { overflow-x: clip } срезает правый край карточки
     * (border-radius, SKU «100г», кнопки). Убираем вылет за clip-контейнер.
     */
    .home-page .products-list__offers.-carousel .products-list__outer {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 0 0 12px;
        margin-bottom: 0;
        overflow: hidden;
        min-width: 0;
    }

    .home-hero__media {
        order: -1;
        min-width: 0;
        max-width: 100%;
    }

    .home-hero__content {
        min-width: 0;
    }

    .home-hero__eyebrow {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .home-hero__badge {
        font-size: 11px;
        padding: 5px 10px;
        margin-bottom: 10px;
    }

    .home-hero__title {
        font-size: clamp(1.25rem, 5.5vw, 1.45rem);
        margin-bottom: 10px;
    }

    .home-hero__subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .home-hero__btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 14px;
    }

    .home-hero__caption,
    .home-hero__micro-offer {
        font-size: 12px;
    }

    /* Hero-слайдер: сохраняем пропорции баннера 1816×882 — текст не обрезается */
    .home-hero__media--slider .slider-outer {
        aspect-ratio: 1816 / 882;
        height: auto;
        max-height: none;
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .home-hero__media--slider .slider-outer.sk-carousel {
        margin-right: 0;
    }

    .home-hero__media--slider .slider-banner {
        margin: 0 !important;
        padding: 0 !important;
        height: 100%;
        width: 100% !important;
    }

    .home-hero__media--slider .slider-banner .owl-stage-outer {
        height: 100% !important;
        width: 100% !important;
        overflow: hidden;
    }

    .home-hero__media--slider .slider-banner .owl-stage,
    .home-hero__media--slider .slider-banner .owl-item {
        height: 100%;
    }

    .home-hero__media--slider .owl-item .slider-item {
        width: 100% !important;
        margin: 0 !important;
        height: 100%;
        border-radius: 12px;
        box-shadow: none;
        opacity: 1;
    }

    .home-hero__media--slider .slider-item.slider-promobg {
        display: block !important;
        height: 100%;
        border-radius: 12px;
    }

    .home-hero__media--slider .slider-promobg__image,
    .home-hero__media--slider .slider-item.-bg-crop {
        height: 100% !important;
        width: 100% !important;
        border-radius: 12px;
        object-fit: cover;
    }

    .home-hero__media--slider .owl-item.active .slider-promobg__image,
    .home-hero__media--slider .owl-item.active .slider-item.-bg-crop {
        transform: none;
    }

    .home-hero__media .slider-outer {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border-radius: 12px;
    }

    .home-hero__media--slider .js-slider-nav .owl-prev,
    .home-hero__media--slider .js-slider-nav .owl-next {
        opacity: 1;
        width: 32px;
        height: 32px;
        margin-top: 0;
        line-height: 1;
    }

    .home-hero__media--slider .js-slider-nav .owl-prev:after,
    .home-hero__media--slider .js-slider-nav .owl-next:after {
        font-size: 12px;
    }

    .home-hero__media--slider .js-slider-nav .owl-prev {
        left: 6px;
    }

    .home-hero__media--slider .js-slider-nav .owl-next {
        right: 6px;
    }

    .home-hero__media--slider .js-slider-dots {
        bottom: 8px;
    }

    .home-page .trust-strip {
        padding-top: 4px;
        padding-bottom: 16px;
    }

    .trust-strip--cards .trust-strip__list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .trust-strip--cards .trust-strip__list::-webkit-scrollbar {
        display: none;
    }

    .trust-strip--cards .trust-strip__item {
        flex: 0 0 78vw;
        scroll-snap-align: start;
        padding: 12px 10px;
    }

    .home-facts-strip {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        margin-bottom: 28px;
    }

    .home-facts-strip__item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 14px;
        text-align: left;
    }

    .home-facts-strip__gauge {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        margin: 0;
    }

    .home-facts-strip__gauge .home-facts-strip__count {
        margin-bottom: 0;
        min-width: 0;
        font-size: 1.05rem;
    }

    .home-facts-strip__label {
        flex: 1;
        max-width: none;
        text-align: left;
        font-size: 0.875rem;
        line-height: 1.38;
        opacity: 0.85;
    }

    .home-categories-icon .categories-icon {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .home-categories-icon .categories-icons__icon img {
        width: 48px;
        height: 48px;
    }

    .home-categories-icon .categories-icon__item {
        padding: 12px 6px !important;
    }

    .home-categories-icon .categories-icon__title {
        font-size: 11px;
    }

    .home-section {
        margin-bottom: 32px;
    }

    .home-section--products .slider-outer.sk-carousel {
        margin-right: 0;
    }

    .home-section--about .home-about {
        padding: 20px;
    }

    .home-beginners {
        padding: 20px;
        margin-bottom: 32px;
    }

    .home-beginners__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .trust-strip--cards .trust-strip__item {
        flex: 0 0 82vw;
    }

    .home-categories-icon .categories-icon {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .home-categories-icon .categories-icons__icon img {
        width: 40px;
        height: 40px;
    }

    .home-categories-icon .categories-icon__title {
        font-size: 10px;
        line-height: 1.2;
    }
}

/* Promo-bar главной */
.home-promo-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 16px;
    background: rgba(184, 134, 11, 0.1);
    border: 1px solid rgba(184, 134, 11, 0.25);
    border-radius: 8px;
    color: var(--body-text-color, #333);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    transition: background .2s, border-color .2s;
}

.home-promo-bar:hover {
    background: rgba(184, 134, 11, 0.16);
    border-color: var(--ac-color, #b8860b);
    color: var(--body-text-color, #333);
    text-decoration: none;
}

.home-promo-bar__chevron {
    color: var(--ac-color, #b8860b);
}

.home-promo-bar--static {
    cursor: default;
}

/* Story slider → карточка основателя: зазор без наезда текста/тени */
.hero-story {
    margin-bottom: 0;
}

/* CTA «Каталог / Хиты» — влево, как заголовок и текст */
.hero-story__actions {
    justify-content: flex-start;
}

.hero-story__title-desktop {
    display: none;
}

@media (min-width: 1001px) {
    .hero-story__title-desktop {
        display: inline;
    }

    .hero-story__title-mobile {
        display: none;
    }
}

.hero-story ~ .home-section--founder {
    margin-top: 40px;
}

@media (min-width: 1001px) {
    .hero-story__media {
        margin-bottom: 8px;
    }
}

@media (max-width: 1000px) {
    .hero-story__panel {
        padding-bottom: 8px;
    }

    .hero-story__advs {
        margin-bottom: 4px;
    }

    .hero-story ~ .home-section--founder {
        margin-top: 32px;
    }
}

/* Мобилка: hero CTA скрыты — дубль sticky «Хиты / Подобрать» */
@media (max-width: 900px) {
    .hero-story__actions {
        display: none !important;
    }
}

.home-founder {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px;
    border-radius: 12px;
    background: var(--wrap-bg-color, #f8f5ef);
    border: 1px solid var(--border-elements-color, #ede8dc);
}

.home-founder__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
}

.home-founder__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ac-color, #b8860b);
}

.home-founder__quote {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 400;
    font-style: normal;
    color: var(--body-text-color, #222);
}

.home-founder__quote p {
    margin: 0 0 14px;
}

.home-founder__quote p:last-child {
    margin-bottom: 0;
}

.home-founder__quote strong {
    font-weight: 600;
    color: var(--body-text-color, #222);
}

.home-founder__meta {
    margin: 0 0 14px;
}

.home-founder__name {
    display: block;
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    font-style: normal;
    color: var(--body-text-color, #222);
}

.home-founder__role {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: var(--hint-color, #666);
}

.home-founder__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--ac-color, #b8860b);
    text-decoration: none;
}

.home-founder__link:hover {
    text-decoration: underline;
}

/* Шапка отзывов на главной */
.homepage-reviews-aggregator__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.homepage-reviews-aggregator__title {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.25;
}

.homepage-reviews-aggregator__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.homepage-reviews-aggregator__rating:hover {
    color: var(--ac-color, #b8860b);
    text-decoration: none;
}

.homepage-reviews-aggregator__stars {
    color: #f0b90b;
    font-size: 14px;
    letter-spacing: 1px;
}

.homepage-reviews-aggregator__rating-text {
    font-size: 13px;
    color: var(--hint-color, #666);
}

.homepage-reviews-aggregator__all {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ac-color, #b8860b);
    text-decoration: none;
    white-space: nowrap;
}

.homepage-reviews-aggregator__all:hover {
    text-decoration: underline;
}

/* Главная: упростить ra2 */
.home-section--reviews-aggregator .ra2-head {
    display: none !important;
}

.home-section--reviews-aggregator .ra2-tabs-shell {
    margin-bottom: 12px;
}

.home-section--reviews-aggregator .ra2-more {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 14px auto 0;
    padding: 10px 18px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: var(--wrap-bg-color, #fff);
    color: var(--body-text-color, #1a1a1a);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    text-align: center;
}

.home-section--reviews-aggregator .ra2-more:hover {
    border-color: var(--g-emerald, #0F5A4A);
    color: var(--g-emerald, #0F5A4A);
}

/* ra2 mobile slider */
.ra2-mobile-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding-bottom: 4px;
}

.ra2-mobile-dots.is-active {
    display: flex;
}

.ra2-mobile-dots__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.ra2-mobile-dots__dot.is-active {
    background: var(--ac-color, #b8860b);
    transform: scale(1.15);
}

@media (max-width: 760px) {
    .js-ra2-mobile-slider .ra2-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px !important;
        margin-top: 12px !important;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .js-ra2-mobile-slider .ra2-grid::-webkit-scrollbar {
        display: none;
    }

    .js-ra2-mobile-slider .ra2-card {
        flex: 0 0 88vw !important;
        scroll-snap-align: start;
        max-width: 88vw;
    }

    .homepage-reviews-aggregator__head {
        flex-direction: column;
        align-items: stretch;
    }

    .homepage-reviews-aggregator__all {
        align-self: flex-start;
    }

    .home-founder {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .home-founder__media {
        max-width: 280px;
        margin: 0 auto;
    }

    .home-founder__quote {
        font-size: 15px;
        line-height: 1.5;
    }

    .home-founder__quote p {
        margin-bottom: 12px;
    }
}

@media (min-width: 761px) {
    .ra2-mobile-dots {
        display: none !important;
    }
}

/* Плавающая кнопка — Telegram */
.gachami-fab {
    position: fixed;
    right: 16px;
    bottom: 24px;
    z-index: 110;
}

.gachami-fab__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--g-btn-primary-bg, var(--g-emerald, #0F5A4A));
    border: 2px solid var(--g-btn-primary-bg, var(--g-emerald, #0F5A4A));
    box-shadow: 0 6px 20px rgba(15, 90, 74, 0.28), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform .2s, box-shadow .2s, background .2s;
    text-decoration: none;
}

.gachami-fab__link:hover {
    transform: scale(1.06);
    background: var(--g-btn-primary-bg-hover, var(--g-emerald-hover, #0A4438));
    border-color: var(--g-btn-primary-bg-hover, var(--g-emerald-hover, #0A4438));
    box-shadow: 0 10px 28px rgba(15, 90, 74, 0.32), 0 4px 12px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.gachami-fab__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    pointer-events: none;
}

.dark-theme .gachami-fab__link {
    background: var(--g-btn-primary-bg, var(--g-emerald));
    border-color: var(--g-btn-primary-bg, var(--g-emerald));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
    .gachami-fab {
        display: none !important;
    }

    /* FAB не перекрывает нижние секции */
    .home-page .maincontent {
        padding-bottom: 8px;
    }

    .home-section--reviews-aggregator {
        padding-right: 0;
    }
}
