@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open-sans-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open-sans-600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open-sans-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/open-sans-800.woff2") format("woff2");
    font-style: normal;
    font-weight: 800;
    font-display: block;
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    font-family: "Open Sans", Arial, sans-serif;
}

.cv-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 32px 0;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.cv-header__top {
    display: grid;
    grid-template-columns: 270px minmax(320px, 520px) 220px 1fr;
    align-items: center;
    gap: 28px;
}

.cv-burger {
    display: none;
}

.cv-logo img {
    display: block;
    max-width: 245px;
    height: auto;
}

.cv-search {
    display: flex;
    max-width: 520px;
    height: 46px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e6f0;
    border-radius: 8px;
}

.cv-search input {
    width: 100%;
    height: 46px;
    padding: 0 18px;
    border: 0;
    outline: none;
    font-size: 15px;
}

.cv-search button {
    position: relative;
    width: 58px !important;
    min-width: 58px;
    height: 46px !important;
    border: 0;
    background: #e90046 !important;
    color: transparent;
    font-size: 0;
}

.cv-search button::before {
    content: "⌕";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    color: #fff;
    font-size: 28px;
}

.cv-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.cv-action,
.cv-cart-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #111;
    text-decoration: none;
}

.cv-action__icon,
.cv-action__icon svg,
.cv-cart-svg {
    width: 22px;
    height: 22px;
    fill: #111;
}

.cv-action__text,
.cv-cart-text {
    margin-top: 5px;
    color: #111;
    font-size: 12px;
    line-height: 1;
}

.cv-header__menu {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-top: 14px;
    padding-bottom: 16px;
}

.cv-main-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.cv-main-menu a {
    color: #111;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.cv-hero {
    max-width: 1280px;
    margin: 28px auto;
    padding: 0 32px;
}

.cv-hero__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 600px;
    padding: 60px;
    overflow: hidden;
    background: #faf3f4;
    border-radius: 14px;
}

.cv-hero__sub {
    display: inline-block;
    margin-bottom: 18px;
    color: #304b96;
    font-size: 15px;
}

.cv-hero h1 {
    margin: 0 0 24px;
    color: #111;
    font-size: 58px;
    line-height: 1.1;
    font-weight: 800;
}

.cv-hero h1 span {
    color: #e90046;
}

.cv-hero p {
    margin: 0 0 34px;
    color: #304b96;
    font-size: 22px;
    line-height: 1.5;
}

.cv-hero__buttons {
    display: flex;
    gap: 18px;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 34px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.cv-btn--primary {
    background: #e90046;
    color: #fff;
}

.cv-btn--secondary {
    background: #fff;
    color: #111;
    border: 1px solid #222;
}

.cv-hero__image picture,
.cv-hero__image picture img {
    display: block;
    width: 100%;
    height: 100%;
}

.cv-hero__image picture img {
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 700px) {
    .cv-header {
        width: 100%;
        padding: 16px !important;
        overflow: visible !important;
    }

    .cv-header__top {
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "burger logo actions"
            "search search search";
        column-gap: 10px !important;
        row-gap: 14px !important;
    }

    .cv-burger {
        grid-area: burger;
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        width: 28px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .cv-burger span {
        display: block;
        width: 28px;
        height: 2px;
        background: #111;
    }

    .cv-logo {
        grid-area: logo;
        min-width: 0;
    }

    .cv-logo img {
        max-width: 165px !important;
    }

    .cv-phone {
        display: none !important;
    }

    .cv-actions {
        grid-area: actions;
        gap: 10px !important;
    }

    .cv-action,
    .cv-cart,
    .cv-cart-link {
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: 0 0 20px !important;
    }

    .cv-action__icon,
    .cv-action__icon svg,
    .cv-cart-svg {
        width: 20px !important;
        height: 20px !important;
    }

    .cv-action__text,
    .cv-cart-text,
    .cv-cart .cione,
    .cv-cart .citwo,
    .cv-cart .cionecitwo {
        display: none !important;
    }

    .cv-search {
        grid-area: search;
        width: 100% !important;
        max-width: none !important;
        height: 44px !important;
    }

    .cv-search input,
    .cv-search button {
        height: 44px !important;
    }

    .cv-header__menu {
        width: 100%;
        margin-top: 14px;
    }

    .cv-main-menu,
    .cv-header .openmenu,
    .cv-header .phone-btn {
        display: none !important;
    }

    .cv-hero {
        width: 100%;
        margin: 28px auto !important;
        padding: 0 16px !important;
        overflow: hidden;
    }

    .cv-hero__content {
        width: 100%;
        padding: 28px 24px !important;
        overflow: hidden;
        border-radius: 12px !important;
    }

    .cv-hero h1 {
        margin-bottom: 22px !important;
        font-size: 34px !important;
        line-height: 1.15 !important;
    }

    .cv-hero p {
        margin-bottom: 28px !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    .cv-hero__buttons {
        flex-direction: column;
        gap: 14px !important;
    }

    .cv-btn {
        width: 100% !important;
        height: 50px !important;
        font-size: 13px !important;
    }

    .cv-hero__image picture img {
        object-position: right center !important;
    }
}
.modalitem,
.userprofile,
.serblock {
    display: none;
}
.cv-hero__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.cv-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.cv-hero__content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(250, 243, 244, 0.98) 0%,
        rgba(250, 243, 244, 0.92) 33%,
        rgba(250, 243, 244, 0.45) 58%,
        rgba(250, 243, 244, 0.05) 100%
    );
}

.cv-hero__info {
    position: relative;
    z-index: 3;
    max-width: 520px;
}

@media (max-width: 700px) {
    .cv-hero__image img {
        object-position: right center !important;
    }
}
.cv-mobile-header-phone {
    display: none;
}

.cv-catalog #nav {
    display: block;
    position: relative;
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
}

.cv-catalog .podmobnav {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.cv-catalog .phone-btn,
.cv-catalog .openmenu,
.cv-catalog .appendsearch,
.cv-catalog .appendcart,
.cv-catalog #nav .nav {
    display: none !important;
}

.cv-catalog .cv-catalog-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 155px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #e90046 !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: none !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
}

@media (max-width: 700px) {

    .cv-header__menu {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 14px !important;
        padding-bottom: 0 !important;
    }

    .cv-catalog {
        width: auto !important;
        flex: 0 0 auto !important;
    }

    .cv-catalog #nav,
    .cv-catalog .podmobnav {
        width: auto !important;
    }

    .cv-catalog .cv-catalog-toggle {
        width: 145px !important;
        min-width: 145px !important;
        height: 40px !important;
        padding: 0 16px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
    }

    .cv-mobile-header-phone {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        color: #111 !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }

    .cv-mobile-header-phone::before {
        content: "☎";
        margin-right: 6px;
        color: #e90046;
        font-size: 15px;
    }
}
@media (max-width: 700px) {
    .cv-hero {
        min-height: 600px !important;
    }

    .cv-hero__content {
        height: 600px !important;
        min-height: 600px !important;
    }
}
/* =========================================================
   CRITICAL — FINAL FIRST SCREEN SYNC
   Синхронизация с актуальным new_style.css
   ========================================================= */

/* Актуальная ширина hero на компьютере */
.cv-hero {
    max-width: 1440px;
    margin: 30px auto;
    padding: 0 32px;
}

/* Динамический hero-слайдер */
.cv-hero-slider__slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cv-hero-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transform: none;
}

.js-cv-hero-description {
    white-space: pre-line;
}


/* =========================================================
   MOBILE FIRST SCREEN
   ========================================================= */

@media (max-width: 700px) {

    /* Верхняя строка */
    .cv-header__top {
        display: grid !important;

        grid-template-columns:
            42px
            minmax(0, 1fr)
            auto !important;

        grid-template-areas:
            "burger logo actions"
            "search search search";

        align-items: center !important;

        column-gap: 6px !important;
        row-gap: 14px !important;
    }


    /* Бургер */

    .cv-burger {
        grid-area: burger !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        gap: 5px !important;

        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: #fff !important;

        border: 1px solid #e1e6ee !important;
        border-radius: 12px !important;

        box-sizing: border-box !important;
    }

    .cv-burger span {
        display: block !important;

        width: 22px !important;
        height: 2px !important;

        background: #111 !important;
        border-radius: 2px !important;
    }


    /* Логотип */

    .cv-logo {
        grid-area: logo !important;
        min-width: 0 !important;
    }

    .cv-logo img {
        display: block !important;

        width: clamp(150px, 42vw, 190px) !important;
        max-width: 190px !important;
        height: auto !important;
    }


    /* Правые иконки */

    .cv-actions {
        grid-area: actions !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 6px !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
    }

    .cv-action {
        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: #fff !important;

        border: 1px solid #e1e6ee !important;
        border-radius: 12px !important;

        box-sizing: border-box !important;

        color: #111 !important;
        text-decoration: none !important;
    }

    .cv-cart {
        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px !important;

        padding: 0 !important;
        margin: 0 !important;

        background: #fff !important;

        border: 1px solid #e1e6ee !important;
        border-radius: 12px !important;

        box-sizing: border-box !important;
    }

    .cv-cart .cv-cart-link {
        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        min-width: 0 !important;
        height: 100% !important;
        flex: 1 1 auto !important;

        padding: 0 !important;
        margin: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 12px !important;
    }

    .cv-action__icon,
    .cv-action__icon svg,
    .cv-cart-link__icon,
    .cv-cart-svg {
        width: 22px !important;
        height: 22px !important;

        fill: #111 !important;
    }

    .cv-action__text,
    .cv-cart-text,
    .cv-cart .cione,
    .cv-cart .citwo,
    .cv-cart .cionecitwo {
        display: none !important;
    }

    .cv-cart-badge {
        top: -7px !important;
        right: -7px !important;

        min-width: 19px !important;
        height: 19px !important;

        padding: 0 5px !important;

        font-size: 10px !important;
        line-height: 19px !important;
    }


    /* HERO */

    .cv-hero {
        margin: 22px auto !important;
        padding: 0 14px !important;
    }

    .cv-hero__content {
        position: relative;

        padding: 38px 30px 34px !important;

        border-radius: 14px !important;
        overflow: hidden;
    }

    .cv-hero-slider__slide img,
    .cv-hero__image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: right center !important;

        transform: none !important;
    }

    .cv-hero__content::before {
        background: linear-gradient(
            90deg,
            rgba(250, 243, 244, 0.98) 0%,
            rgba(250, 243, 244, 0.96) 38%,
            rgba(250, 243, 244, 0.82) 62%,
            rgba(250, 243, 244, 0.45) 100%
        ) !important;
    }

    .cv-hero__info {
        position: relative;
        z-index: 3;
        max-width: 100%;
    }

    .cv-hero__sub {
        margin-bottom: 22px;

        font-size: 15px;
        line-height: 1.35;
    }

    .cv-hero h1 {
        max-width: 400px;

        margin: 0 0 30px !important;

        font-size: 38px !important;
        line-height: 1.08 !important;
    }

    .cv-hero p {
        max-width: 330px;

        margin: 0 0 34px !important;

        font-size: 19px !important;
        line-height: 1.5 !important;
    }

    .cv-hero__buttons {
        display: flex !important;
        flex-direction: column !important;

        gap: 16px !important;

        width: 100%;
    }

    .cv-hero .cv-btn {
        width: 100% !important;
        height: 62px !important;

        padding: 0 18px !important;

        font-size: 14px !important;
    }
}
/* HERO — окончательное положение изображения */
.cv-hero .cv-hero-slider__slide img,
.cv-hero .cv-hero__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center !important;

    transform: none !important;
}
/* HERO SLIDER — critical layout */
.cv-hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cv-hero-slider__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cv-hero-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 700px) {
    .cv-hero-slider__slide img {
        object-position: 82% center !important;
    }
}