/* ========================================================================== */
/* ТИР 3: КАТАЛОГ, НАВИГАЦИЯ И ОТДЕЛЬНЫЙ МОБИЛЬНЫЙ СЦЕНАРИЙ                  */
/* ========================================================================== */


.mobile-dock {
    display: none;
}

/* Header catalog: desktop dropdown and mobile entry point. */
.header {
    overflow: visible;
}

.header-catalog-dropdown {
    position: relative;
}

.header-catalog-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--vetka-muted);
    font: 600 14px/1 sans-serif;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-catalog-toggle svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    transition: transform 0.2s ease;
}

.header-catalog-toggle:hover,
.header-catalog-dropdown.is-open .header-catalog-toggle {
    background: rgba(111, 127, 72, 0.09);
    color: var(--vetka-green);
}

.header-catalog-dropdown.is-open .header-catalog-toggle svg {
    transform: rotate(180deg);
}

.header-catalog-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    width: 294px;
    padding: 9px;
    border: 1px solid rgba(48, 42, 36, 0.1);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(229, 215, 202, 0.42), transparent 38%),
        linear-gradient(145deg, rgba(255, 253, 248, 0.99), rgba(248, 245, 237, 0.98));
    box-shadow: 0 20px 46px rgba(48, 42, 36, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-catalog-menu-head {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    margin: 0 3px 7px;
    padding: 9px 8px 13px;
    border-bottom: 1px solid rgba(111, 127, 72, 0.14);
}

.catalog-menu-flower {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px 14px 14px 5px;
    background: var(--vetka-green);
    color: var(--vetka-cream);
    box-shadow: 0 8px 18px rgba(111, 127, 72, 0.18);
}

.nav .catalog-menu-flower {
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    color: var(--vetka-cream);
    border: 0;
}

.nav .catalog-menu-flower:hover,
.nav .catalog-menu-flower:focus-visible {
    color: var(--vetka-cream);
    border: 0;
}

.catalog-menu-flower svg {
    width: 25px;
    height: 25px;
    display: block;
    overflow: visible;
    color: #f2dfae;
    transition: transform .22s ease, color .22s ease;
}

.catalog-menu-flower svg circle {
    fill: #d7ad62;
    stroke: rgba(71, 86, 43, .68);
    stroke-width: 1.1;
}

.header-catalog-menu-head div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.header-catalog-menu-head small {
    color: var(--vetka-clay);
    font: 750 9px/1.1 "Inter", sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-catalog-menu-head strong {
    color: var(--vetka-ink);
    font: 400 16px/1.15 "Playfair Display", serif;
}

.header-catalog-menu::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    width: 100%;
    height: 22px;
}

.header-catalog-dropdown.is-open .header-catalog-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.header-catalog-menu button {
    --catalog-dot: #758948;
    --catalog-dot-soft: rgba(117, 137, 72, .14);
    --catalog-row-soft: rgba(232, 238, 218, .62);
    --catalog-row-text: var(--vetka-green);
    display: grid;
    grid-template-columns: 8px 1fr;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--vetka-ink);
    font: 650 13px/1.25 "Inter", sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.header-catalog-menu button::before {
    content: "";
    width: 6px;
    height: 6px;
    border: 1px solid color-mix(in srgb, var(--catalog-dot) 48%, transparent);
    border-radius: 50%;
    background: var(--catalog-dot-soft);
    transition: background 0.18s ease, border-color .18s ease, box-shadow .18s ease, transform 0.18s ease;
}

.header-catalog-menu button:hover {
    background: var(--catalog-row-soft);
    color: var(--catalog-row-text);
    transform: translateX(2px);
}

.header-catalog-menu button:hover::before,
.header-catalog-menu button:focus-visible::before {
    border-color: var(--catalog-dot);
    background: var(--catalog-dot);
    box-shadow: 0 0 0 4px var(--catalog-dot-soft);
    transform: scale(1.15);
}

.header-catalog-menu button:nth-of-type(2)::before {
    border-color: color-mix(in srgb, var(--catalog-dot) 48%, transparent);
}

.header-catalog-menu button:nth-of-type(2) {
    --catalog-dot: #bc797e;
    --catalog-dot-soft: rgba(188, 121, 126, .16);
    --catalog-row-soft: rgba(244, 226, 226, .58);
    --catalog-row-text: #8e555b;
}

.header-catalog-menu button:nth-of-type(3) {
    --catalog-dot: #b3895d;
    --catalog-dot-soft: rgba(179, 137, 93, .16);
    --catalog-row-soft: rgba(242, 230, 211, .62);
    --catalog-row-text: #8a663f;
}

.header-catalog-menu button:nth-of-type(4) {
    --catalog-dot: #786788;
    --catalog-dot-soft: rgba(120, 103, 136, .14);
    --catalog-row-soft: rgba(233, 228, 238, .64);
    --catalog-row-text: #675574;
}

.header-catalog-menu button:nth-of-type(5) {
    --catalog-dot: #c98b8f;
    --catalog-dot-soft: rgba(201, 139, 143, .18);
    --catalog-row-soft: rgba(246, 229, 230, .64);
    --catalog-row-text: #965f63;
}

.header-catalog-menu img {
    display: none;
}

.header-phone-btn {
    border-color: rgba(48, 42, 36, 0.1);
    background: var(--vetka-ink);
    color: var(--vetka-cream);
    box-shadow: 0 8px 20px rgba(48, 42, 36, 0.18);
}

.header-phone-btn:hover {
    background: var(--vetka-green);
    box-shadow: 0 10px 24px rgba(48, 42, 36, 0.2);
}

.mobile-catalog-toggle,
.mobile-catalog-panel,
.catalog-mobile-controls,
.catalog-category-tab img {
    display: none;
}

/* The welcome bonus belongs to the hero and never covers the catalog. */
.bonus-badge {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    width: min(520px, 100%);
    margin: 22px 0 0;
    padding: 14px 48px 14px 18px;
    border: 1px solid rgba(111, 127, 72, 0.18);
    border-left: 3px solid var(--vetka-green);
    border-radius: 17px;
    background: linear-gradient(120deg, rgba(239, 242, 226, 0.94), rgba(255, 250, 242, 0.94));
    box-shadow: 0 12px 28px rgba(75, 58, 42, 0.08);
    backdrop-filter: blur(14px);
}

.bonus-copy {
    min-width: 0;
}

.bonus-badge strong {
    margin: 2px 0 3px;
    font-size: 20px;
}

.bonus-badge .bonus-copy > span:last-child {
    font: 500 12px/1.35 "Inter", sans-serif;
}

.bonus-actions {
    margin: 0;
}

.bonus-claim-btn {
    min-height: 38px;
    padding: 9px 17px;
    box-shadow: none;
}

.bonus-actions .bonus-claim-btn:hover {
    background: var(--vetka-ink);
    color: var(--vetka-cream);
}

/* Softer review controls: rounded glass buttons and curved SVG chevrons. */
.review-nav {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(111, 127, 72, 0.24);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.9);
    color: var(--vetka-green);
    box-shadow: 0 10px 24px rgba(75, 58, 42, 0.12);
    backdrop-filter: blur(12px);
}

.review-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.review-nav:hover {
    border-color: rgba(111, 127, 72, 0.42);
    background: rgba(232, 238, 218, 0.96);
    color: var(--vetka-ink);
    box-shadow: 0 13px 28px rgba(75, 58, 42, 0.15);
    transform: translateY(-50%) scale(1.04);
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.catalog-category-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1100px;
    margin: 34px auto 24px;
}

.catalog-category-tab {
    min-height: 46px;
    padding: 11px 19px;
    border: 1px solid var(--vetka-line);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.68);
    color: var(--vetka-ink);
    font: 700 13px/1.2 "Inter", sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.catalog-category-tab:hover {
    transform: translateY(-2px);
    border-color: var(--vetka-green);
}

.catalog-category-tab.is-active {
    border-color: var(--vetka-green);
    background: var(--vetka-green);
    color: var(--vetka-cream);
}

.catalog-category-intro {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(160px, 0.35fr) minmax(280px, 1fr);
    align-items: center;
    gap: 30px;
    max-width: 1040px;
    margin: 0 auto 26px;
    padding: 22px 26px;
    border: 1px solid var(--vetka-line);
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.5);
}

.catalog-category-intro span {
    color: var(--vetka-green);
    font: 400 30px/1.1 "Playfair Display", serif;
}

.catalog-category-intro p {
    margin: 0;
    color: var(--vetka-muted);
    font: 400 14px/1.65 "Inter", sans-serif;
}

#catalogProducts.catalog-grid {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#catalogProducts .product-card {
    height: 100%;
}

#catalogProducts .product-img-box {
    height: clamp(300px, 30vw, 430px);
}

#catalogProducts .product-info {
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

#catalogProducts .product-desc {
    flex: 1;
}

.product-category-label {
    display: block;
    margin-bottom: 8px;
    color: var(--vetka-green);
    font: 800 10px/1.2 "Inter", sans-serif;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.price--request {
    max-width: 170px;
    font: 700 13px/1.25 "Inter", sans-serif;
}

.product-footer--reference {
    justify-content: flex-end;
}

.catalog-swipe-hint {
    display: none;
}

.care-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.care-card--bridal {
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(244, 229, 225, 0.64));
}

.constructor-mobile-progress,
.constructor-mobile-next,
.constructor-mobile-actions,
.constructor-mobile-back {
    display: none;
}

@media screen and (max-width: 992px) {
    #catalogProducts.catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #catalogProducts .product-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 12px);
        width: 100%;
        justify-self: center;
    }

    .care-grid {
        grid-template-columns: 1fr;
        max-width: 860px;
    }
}

@media screen and (max-width: 768px) {
    html {
        scroll-padding-bottom: 82px;
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .mobile-dock {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        z-index: 900;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: 62px;
        padding: 6px;
        border: 1px solid rgba(48, 42, 36, 0.1);
        border-radius: 20px;
        background: rgba(255, 253, 248, 0.94);
        box-shadow: 0 14px 38px rgba(48, 42, 36, 0.2);
        backdrop-filter: blur(18px);
    }

    .mobile-dock a,
    .mobile-dock button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-width: 0;
        padding: 5px 2px;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: var(--vetka-ink);
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-dock a:active,
    .mobile-dock button:active {
        background: rgba(111, 127, 72, 0.12);
    }

    .mobile-dock span {
        color: var(--vetka-green);
        font: 700 18px/1 "Inter", sans-serif;
    }

    .mobile-dock small {
        overflow: hidden;
        max-width: 100%;
        color: inherit;
        font: 700 9px/1.1 "Inter", sans-serif;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bonus-badge {
        right: 12px;
        bottom: calc(82px + env(safe-area-inset-bottom));
        width: auto;
        max-width: calc(100vw - 24px);
        min-height: 48px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 38px 9px 13px;
        border-radius: 15px;
    }

    .bonus-badge .bonus-kicker,
    .bonus-badge > span:not(.bonus-kicker) {
        display: none;
    }

    .bonus-badge strong {
        font-size: 15px;
        white-space: nowrap;
    }

    .bonus-actions {
        margin: 0;
    }

    .bonus-claim-btn {
        min-height: 34px;
        padding: 8px 13px;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(38px, 12vw, 50px);
        line-height: 1.02;
        word-break: keep-all;
        overflow-wrap: normal;
    }

    .hero-title-line {
        width: 100%;
        white-space: nowrap;
    }

    .catalog {
        padding: 68px 0 74px;
    }

    .catalog-header {
        padding: 0 18px;
    }

    .catalog .section-title {
        font-size: clamp(34px, 10vw, 44px);
    }

    .catalog-category-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        margin: 26px 0 18px;
        padding: 0 18px 5px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .catalog-category-tabs::-webkit-scrollbar,
    #catalogProducts.catalog-grid::-webkit-scrollbar,
    .courses-list::-webkit-scrollbar,
    .options-row::-webkit-scrollbar {
        display: none;
    }

    .catalog-category-tab {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 15px;
        scroll-snap-align: start;
    }

    .catalog-category-intro {
        display: block;
        margin: 0 18px 18px;
        padding: 18px;
    }

    .catalog-category-intro span {
        display: block;
        margin-bottom: 8px;
        font-size: 27px;
    }

    #catalogProducts.catalog-grid {
        display: flex;
        gap: 14px;
        width: 100%;
        max-width: none;
        padding: 0 18px 12px;
        overflow-x: auto;
        scroll-padding-left: 18px;
        scroll-snap-type: x mandatory;
    }

    #catalogProducts .product-card,
    #catalogProducts .product-card:last-child {
        flex: 0 0 min(84vw, 330px);
        width: min(84vw, 330px);
        max-width: none;
        scroll-snap-align: start;
    }

    #catalogProducts .product-img-box {
        height: 300px;
        min-height: 0;
    }

    #catalogProducts .product-info {
        min-height: 278px;
        padding: 20px;
    }

    #catalogProducts .product-info h3 {
        font-size: 24px;
    }

    #catalogProducts .product-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    #catalogProducts .btn-buy {
        width: 100%;
        min-height: 46px;
    }

    .price--request {
        max-width: none;
    }

    .catalog-swipe-hint {
        display: block;
        margin: 4px 20px 0;
        color: var(--vetka-muted);
        font: 600 11px/1.3 "Inter", sans-serif;
        text-align: right;
    }

    .care-grid {
        grid-template-columns: 1fr;
    }

    .care-card summary {
        font-size: 19px;
        line-height: 1.2;
    }

    .constructor-teaser {
        padding: 68px 16px 76px;
    }

    .constructor-header-block {
        margin-bottom: 24px;
    }

    .constructor-header-block h2 {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1.04;
    }

    .constructor-mobile-progress {
        position: sticky;
        top: 86px;
        z-index: 15;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        width: 100%;
        margin: 0 auto 16px;
        padding: 5px;
        border: 1px solid var(--vetka-line);
        border-radius: 16px;
        background: rgba(255, 253, 248, 0.94);
        box-shadow: 0 12px 28px rgba(48, 42, 36, 0.1);
        backdrop-filter: blur(16px);
        scroll-margin-top: 84px;
    }

    .constructor-mobile-progress button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        min-height: 42px;
        padding: 7px 4px;
        border: 0;
        border-radius: 11px;
        background: transparent;
        color: var(--vetka-muted);
        font: 700 10px/1 "Inter", sans-serif;
        cursor: pointer;
    }

    .constructor-mobile-progress button span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        border: 1px solid currentColor;
        border-radius: 50%;
    }

    .constructor-mobile-progress button.is-active {
        background: var(--vetka-green);
        color: var(--vetka-cream);
    }

    .constructor-block {
        display: block;
    }

    .constructor-block[data-mobile-active="config"] > .constructor-preview,
    .constructor-block[data-mobile-active="config"] > .constructor-total,
    .constructor-block[data-mobile-active="preview"] > .constructor-ui,
    .constructor-block[data-mobile-active="preview"] > .constructor-total,
    .constructor-block[data-mobile-active="summary"] > .constructor-ui,
    .constructor-block[data-mobile-active="summary"] > .constructor-preview {
        display: none !important;
    }

    .constructor-ui,
    .constructor-preview,
    .constructor-total {
        width: 100%;
        animation: constructor-step-in 0.28s ease both;
    }

    .constructor-panel-title {
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    .constructor-step {
        margin-bottom: 12px;
        padding: 16px;
    }

    .constructor-step h3 {
        margin-bottom: 11px;
    }

    .constructor-step .options-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0 -4px;
        padding: 2px 4px 7px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .constructor-step .opt-btn {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 14px;
        scroll-snap-align: start;
    }

    .constructor-mobile-next,
    .constructor-mobile-back,
    .constructor-mobile-actions button {
        min-height: 48px;
        border: 1px solid var(--vetka-line);
        border-radius: 13px;
        background: rgba(255, 253, 248, 0.78);
        color: var(--vetka-ink);
        font: 800 12px/1.2 "Inter", sans-serif;
        cursor: pointer;
    }

    .constructor-mobile-next {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-top: 14px;
        border-color: var(--vetka-green);
        background: var(--vetka-green);
        color: var(--vetka-cream);
    }

    .constructor-mobile-actions {
        display: grid;
        grid-template-columns: 0.75fr 1.25fr;
        gap: 8px;
        margin-top: 12px;
    }

    .constructor-mobile-actions .is-primary {
        border-color: var(--vetka-green);
        background: var(--vetka-green);
        color: var(--vetka-cream);
    }

    .constructor-mobile-back {
        display: block;
        width: 100%;
        margin-top: 9px;
    }

    .preview-frame {
        height: 430px;
    }

    .demo-preview-copy {
        padding: 18px;
    }

    .total-box {
        padding: 20px;
    }

    .school {
        padding: 68px 16px 76px;
    }

    .school-container {
        gap: 30px;
    }

    .school-info .section-title,
    .school-lead {
        text-align: left;
    }

    .school-info .section-title {
        font-size: 40px;
    }

    .school-lead {
        margin-bottom: 22px;
    }

    .school-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .school-tags span {
        flex: 0 0 auto;
    }

    .courses-list {
        display: flex;
        gap: 12px;
        width: calc(100vw - 16px);
        margin-right: -16px;
        padding: 0 16px 10px 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .course-item,
    .course-item:nth-child(1) {
        flex: 0 0 min(82vw, 330px);
        min-height: 330px;
        display: flex;
        flex-direction: column;
        grid-column: auto;
        scroll-snap-align: start;
    }

    .course-detail {
        flex: 1;
    }

    .video-wrapper {
        height: min(108vw, 430px);
    }
}

@keyframes constructor-step-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Исправления после визуальной проверки: сохраняем исходный дизайн и убираем перекрытия. */
.catalog-featured .category-card {
    width: 100%;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.78);
    font: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
}

.catalog-tabs-label {
    position: relative;
    z-index: 1;
    margin: 6px auto 12px;
    color: var(--vetka-muted);
    font: 800 11px/1.2 "Inter", sans-serif;
    letter-spacing: 1.2px;
    text-align: center;
    text-transform: uppercase;
}

.catalog-tabs-label + .catalog-category-tabs {
    margin-top: 0;
}

.care-grid {
    align-items: stretch;
}

.care-card {
    position: relative;
    align-self: stretch;
    height: 100%;
}

.care-card:nth-child(1) {
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(232, 238, 218, 0.62));
}

.care-card:nth-child(2) {
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(241, 228, 207, 0.68));
}

.care-card:nth-child(3) {
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(244, 220, 218, 0.72));
}

.care-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 999px;
    background: rgba(111, 127, 72, 0.42);
}

.care-card:nth-child(2)::before {
    background: rgba(179, 137, 93, 0.42);
}

.care-card:nth-child(3)::before {
    background: rgba(188, 121, 126, 0.42);
}

@media screen and (max-width: 768px) {
    .mobile-dock svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: var(--vetka-green);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .bonus-badge {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: calc(100% - 24px);
        max-width: none;
        margin: 88px 12px 0;
        min-height: 48px;
    }

    .hero {
        padding-top: 30px;
    }

    .catalog-featured {
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        width: 100%;
        margin: 0;
        padding: 0 18px 22px;
        overflow-x: auto;
        scroll-padding-left: 18px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .catalog-featured::-webkit-scrollbar {
        display: none;
    }

    .catalog-featured .category-card,
    .catalog-featured .category-card:nth-child(2),
    .catalog-featured .category-card:nth-child(3) {
        flex: 0 0 min(82vw, 330px);
        min-height: 300px;
        transform: none;
        scroll-snap-align: start;
    }

    .catalog-featured .category-card img {
        min-height: 300px;
    }

    .catalog-featured .category-card span {
        left: 22px;
        right: 22px;
        bottom: 20px;
        font-size: 32px;
    }

    .catalog-tabs-label {
        margin-top: 4px;
        padding: 0 18px;
        text-align: left;
    }

    .constructor-step .options-row {
        display: grid;
        gap: 8px;
        margin: 0;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .constructor-step .options-row--base,
    .constructor-step .options-row--flower {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .constructor-step .options-row--character {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .constructor-step .opt-btn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 10px 8px;
        white-space: normal;
        line-height: 1.15;
        scroll-snap-align: none;
    }

    .constructor-step .opt-btn.active-opt::after {
        display: none;
    }

    body.modal-open .mobile-dock,
    body.modal-open .bonus-badge {
        display: none;
    }

    .modal-overlay {
        align-items: flex-start;
        justify-content: center;
        padding: max(10px, env(safe-area-inset-top)) 10px max(18px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .modal-window {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        padding: 26px 18px 22px;
        border-radius: 22px;
        transform: translateY(10px);
        box-shadow: 0 24px 60px rgba(48, 42, 36, 0.28);
    }

    .modal-overlay.modal-active .modal-window {
        transform: translateY(0);
    }

    .modal-close {
        top: 8px;
        right: 10px;
        z-index: 2;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .modal-title {
        padding: 0 34px;
        font-size: 25px;
        line-height: 1.08;
    }

    .modal-subtitle {
        margin-bottom: 18px;
        padding: 0 12px;
    }

    .contact-form {
        gap: 12px;
    }

    .form-input {
        padding: 12px 14px;
    }

    .messenger-radio-label {
        min-height: 42px;
        padding: 9px 10px;
    }

    .bonus-chip {
        padding: 9px 11px;
        font-size: 12px;
    }

    .form-submit-btn {
        padding: 14px;
    }
}

/* ========================================================================== */
/* MOBILE-FIRST POLISH: one header action, compact catalog and calm promotion. */
/* ========================================================================== */
@media screen and (max-width: 768px) {
    .header {
        top: 8px;
        z-index: 1200;
        width: calc(100% - 16px);
        min-height: 70px;
        padding: 12px 14px 12px 18px;
        border-radius: 22px;
        gap: 12px;
    }

    .header .logo {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .header .nav,
    .header .header-contacts {
        display: none !important;
    }

    .mobile-catalog-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 42px;
        padding: 10px 15px;
        border: 1px solid rgba(48, 42, 36, 0.12);
        border-radius: 999px;
        background: var(--vetka-ink);
        color: var(--vetka-cream);
        font: 750 12px/1 "Inter", sans-serif;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(48, 42, 36, 0.16);
    }

    .mobile-catalog-toggle svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
    }

    .mobile-catalog-toggle[aria-expanded="true"] {
        background: var(--vetka-green);
    }

    .mobile-catalog-panel {
        position: fixed;
        top: 86px;
        right: 8px;
        left: 8px;
        z-index: 1100;
        display: block;
        max-height: calc(100dvh - 102px);
        padding: 17px;
        border: 1px solid rgba(48, 42, 36, 0.11);
        border-radius: 24px;
        background: rgba(255, 253, 248, 0.98);
        box-shadow: 0 28px 70px rgba(48, 42, 36, 0.28);
        opacity: 0;
        overflow-y: auto;
        pointer-events: none;
        transform: translateY(-12px) scale(0.98);
        transform-origin: top center;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .mobile-catalog-panel.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .mobile-catalog-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
    }

    .mobile-catalog-panel-head div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-catalog-panel-head small {
        color: var(--vetka-clay);
        font: 750 10px/1.2 "Inter", sans-serif;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .mobile-catalog-panel-head strong {
        color: var(--vetka-ink);
        font: 400 27px/1.05 "Playfair Display", serif;
    }

    .mobile-catalog-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(48, 42, 36, 0.09);
        border-radius: 50%;
        background: rgba(48, 42, 36, 0.05);
        color: var(--vetka-muted);
        font-size: 24px;
        cursor: pointer;
    }

    .mobile-catalog-panel-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .mobile-catalog-panel-grid button {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 56px;
        padding: 13px 14px;
        overflow: hidden;
        border: 1px solid rgba(48, 42, 36, 0.08);
        border-radius: 14px;
        background: rgba(248, 244, 237, 0.86);
        color: var(--vetka-ink);
        cursor: pointer;
    }

    .mobile-catalog-panel-grid button:last-child {
        grid-column: 1 / -1;
        min-height: 56px;
    }

    .mobile-catalog-panel-grid button::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 14px;
        width: 6px;
        height: 6px;
        border: 1px solid rgba(111, 127, 72, 0.55);
        border-radius: 50%;
        transform: translateY(-50%);
    }

    .mobile-catalog-panel-grid img {
        display: none;
    }

    .mobile-catalog-panel-grid span {
        position: static;
        z-index: 1;
        padding-right: 14px;
        font: 650 12px/1.2 "Inter", sans-serif;
        text-align: left;
    }

    body.catalog-menu-open {
        overflow: hidden;
    }

    body.catalog-menu-open .mobile-dock {
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
    }

    .mobile-dock {
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .hero {
        padding-top: 104px;
    }

    .hero-container {
        gap: 34px;
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .bonus-badge {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 18px 0 0;
        padding: 13px 42px 13px 15px;
        border: 1px solid rgba(111, 127, 72, 0.18);
        border-left: 3px solid var(--vetka-green);
        border-radius: 16px;
        background: linear-gradient(120deg, rgba(239, 242, 226, 0.96), rgba(255, 250, 242, 0.96));
        box-shadow: 0 12px 28px rgba(75, 58, 42, 0.09);
        text-align: left;
    }

    .bonus-copy {
        min-width: 0;
    }

    .bonus-badge .bonus-kicker {
        display: none;
    }

    .bonus-badge strong {
        margin: 0 0 3px;
        color: var(--vetka-ink);
        font-size: 17px;
        white-space: normal;
    }

    .bonus-badge .bonus-copy > span:last-child {
        display: block;
        color: var(--vetka-muted);
        font: 500 11px/1.3 "Inter", sans-serif;
    }

    .bonus-actions {
        margin: 0;
    }

    .bonus-claim-btn {
        min-height: 36px;
        padding: 9px 14px;
        background: var(--vetka-green);
        font-size: 12px;
        box-shadow: none;
    }

    .bonus-close {
        top: 7px;
        right: 7px;
        width: 28px;
        height: 28px;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin: 28px auto 0;
        padding-top: 22px;
    }

    .hero-features .feature-item {
        justify-content: center;
        min-height: 74px;
        padding: 0 12px;
    }

    .hero-features .feature-item + .feature-item {
        border-left: 1px solid var(--vetka-line);
    }

    .feature-num {
        font-size: 24px;
    }

    .feature-txt {
        font-size: 9px;
        line-height: 1.3;
    }

    .catalog {
        padding: 58px 0 76px;
    }

    .catalog-header {
        margin-bottom: 24px;
    }

    .catalog-header .section-subtitle {
        max-width: 39ch;
        margin-right: auto;
        margin-left: auto;
        font-size: 13px;
        line-height: 1.5;
    }

    .catalog-featured {
        display: none;
    }

    .catalog-tabs-label {
        margin: 0 0 9px;
        padding: 0 14px;
        text-align: left;
    }

    .catalog-category-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        width: auto;
        margin: 0 14px 17px;
        padding: 0;
        overflow: visible;
    }

    .catalog-category-tab {
        position: relative;
        display: flex;
        align-items: flex-end;
        width: 100%;
        min-height: 92px;
        padding: 12px;
        overflow: hidden;
        border: 1px solid rgba(48, 42, 36, 0.1);
        border-radius: 16px;
        background: #d8d0c7;
        color: #fffdf8;
        text-align: left;
        scroll-snap-align: none;
        box-shadow: none;
    }

    .catalog-category-tab:last-child {
        grid-column: 1 / -1;
        min-height: 76px;
    }

    .catalog-category-tab:hover {
        transform: none;
    }

    .catalog-category-tab::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: linear-gradient(to top, rgba(31, 27, 23, 0.72), rgba(31, 27, 23, 0.04) 76%);
    }

    .catalog-category-tab img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .catalog-category-tab span {
        position: relative;
        z-index: 1;
        max-width: 16ch;
        font: 750 13px/1.15 "Inter", sans-serif;
    }

    .catalog-category-tab.is-active {
        border-color: rgba(255, 253, 248, 0.95);
        background: #d8d0c7;
        color: #fffdf8;
        box-shadow: 0 0 0 3px var(--vetka-green), 0 12px 26px rgba(48, 42, 36, 0.16);
    }

    .catalog-category-intro {
        display: block;
        margin: 0 14px 14px;
        padding: 15px 16px;
        border-radius: 16px;
        text-align: left;
    }

    .catalog-category-intro span {
        margin-bottom: 5px;
        font-size: 24px;
    }

    .catalog-category-intro p {
        font-size: 12px;
        line-height: 1.5;
    }

    #catalogProducts.catalog-grid {
        gap: 12px;
        width: 100%;
        padding: 0 14px 8px;
        scroll-padding-left: 14px;
    }

    #catalogProducts .product-card,
    #catalogProducts .product-card:last-child {
        flex: 0 0 calc(100vw - 28px);
        width: calc(100vw - 28px);
        max-width: none;
        border-radius: 24px 10px 24px 10px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    #catalogProducts .product-card:hover,
    #catalogProducts .product-card:nth-child(2):hover {
        transform: none;
    }

    #catalogProducts .product-img-box {
        height: clamp(235px, 70vw, 290px);
    }

    #catalogProducts .product-info {
        min-height: 0;
        padding: 17px;
    }

    #catalogProducts .product-info h3 {
        margin-bottom: 8px;
        font-size: 23px;
        line-height: 1.08;
    }

    #catalogProducts .product-desc {
        display: -webkit-box;
        min-height: 0;
        margin-bottom: 16px;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    #catalogProducts .product-footer {
        display: grid;
        grid-template-columns: auto minmax(150px, 1fr);
        align-items: center;
        gap: 12px;
    }

    #catalogProducts .product-footer .price {
        font-size: 19px;
    }

    #catalogProducts .btn-buy {
        min-height: 43px;
        padding: 10px 13px;
        font-size: 12px;
    }

    #catalogProducts .price--request {
        font-size: 11px;
    }

    .catalog-mobile-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 13px;
        margin: 8px 0 0;
    }

    .catalog-mobile-controls button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(48, 42, 36, 0.14);
        border-radius: 50%;
        background: rgba(255, 253, 248, 0.84);
        color: var(--vetka-ink);
        font: 500 18px/1 "Inter", sans-serif;
        cursor: pointer;
    }

    .catalog-mobile-controls span {
        min-width: 48px;
        color: var(--vetka-muted);
        font: 700 11px/1 "Inter", sans-serif;
        text-align: center;
    }
}

@media screen and (max-width: 380px) {
    .header .logo {
        font-size: 21px;
        letter-spacing: 3px;
    }

    .mobile-catalog-toggle {
        padding-right: 12px;
        padding-left: 12px;
    }

    .bonus-badge {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .bonus-actions,
    .bonus-claim-btn {
        width: 100%;
    }

    .bonus-claim-btn {
        justify-content: center;
    }

    #catalogProducts .product-footer {
        grid-template-columns: 1fr;
    }
}

/* Bonus notification: dismissible, independent from page layout and never trapped in a section layer. */
.bonus-badge {
    position: fixed;
    top: auto;
    right: 20px;
    bottom: 22px;
    left: auto;
    z-index: 1050;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: min(350px, calc(100vw - 32px));
    margin: 0;
    padding: 14px 44px 14px 17px;
    border: 1px solid rgba(111, 127, 72, 0.2);
    border-left: 3px solid var(--vetka-green);
    border-radius: 17px;
    background: rgba(255, 253, 248, 0.97);
    box-shadow: 0 18px 45px rgba(48, 42, 36, 0.18);
    backdrop-filter: blur(18px);
}

.bonus-badge .bonus-kicker {
    display: block;
    margin-bottom: 3px;
    font-size: 9px;
}

.bonus-badge strong {
    margin: 0 0 3px;
    font-size: 18px;
}

.bonus-badge .bonus-copy > span:last-child {
    display: block;
    font: 500 10px/1.3 "Inter", sans-serif;
}

.bonus-badge .bonus-actions {
    display: flex;
    margin: 0;
}

.bonus-badge .bonus-claim-btn {
    min-height: 36px;
    padding: 9px 15px;
    font-size: 12px;
}

.bonus-badge.bonus-claimed {
    grid-template-columns: 1fr;
    border-left-color: var(--vetka-green);
    background: rgba(239, 242, 226, 0.98);
}

.bonus-badge.bonus-claimed .bonus-kicker,
.bonus-badge.bonus-claimed .bonus-actions,
.bonus-badge.bonus-claimed .bonus-close,
.bonus-badge.bonus-claimed::after {
    display: none;
}

.bonus-badge.bonus-claimed strong {
    color: var(--vetka-green);
}

.bonus-badge.bonus-closing {
    animation: bonusNotificationExit 0.32s ease forwards;
}

@keyframes bonusNotificationExit {
    to {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
}

@media screen and (max-width: 768px) {
    .bonus-badge {
        position: fixed;
        top: auto;
        right: 10px;
        bottom: calc(80px + env(safe-area-inset-bottom));
        left: 10px;
        z-index: 950;
        grid-template-columns: minmax(0, 1fr) auto;
        width: auto;
        max-width: none;
        min-height: 0;
        margin: 0;
        padding: 12px 42px 12px 14px;
    }

    .bonus-badge .bonus-kicker {
        display: none;
    }

    .bonus-badge strong {
        font-size: 16px;
    }

    .bonus-badge .bonus-copy > span:last-child {
        display: block;
        font-size: 10px;
    }

    body.modal-open .bonus-badge,
    body.catalog-menu-open .bonus-badge {
        display: none;
    }
}

.bonus-badge.bonus-hidden {
    display: none !important;
}

/* ===== BOTANICAL RHYTHM: varied, visible decoration along the long page ===== */
.catalog,
.constructor-teaser,
.delivery-service,
.flower-subscription,
.care-section,
.school,
.reviews-section,
.footer {
    isolation: isolate;
}

.catalog.catalog-gateway::before {
    width: 270px;
    height: 326px;
    left: -48px;
    top: 86px;
    background-image: url("images/botanical-peony-line.webp");
    background-position: center;
    opacity: .16;
    transform: rotate(-8deg);
}

.catalog.catalog-gateway::after {
    width: 350px;
    height: 510px;
    right: -68px;
    bottom: 12px;
    opacity: .18;
}

.constructor-teaser::before,
.constructor-teaser::after,
.delivery-service::before,
.delivery-service::after,
.flower-subscription::before,
.care-section::before,
.care-section::after,
.school::before,
.reviews-section::before,
.reviews-section::after,
.footer::before {
    content: "";
    position: absolute;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.constructor-teaser::before {
    width: 285px;
    height: 335px;
    top: 34px;
    right: -54px;
    background-image: url("images/botanical-peony-line.webp");
    opacity: .12;
    transform: rotate(7deg);
}

.constructor-teaser::after {
    width: 265px;
    height: 320px;
    left: -62px;
    bottom: 18px;
    background-image: url("images/botanical-peony-line.webp");
    opacity: .13;
    transform: rotate(10deg);
}

.delivery-service::before {
    width: 300px;
    height: 362px;
    top: 38px;
    left: -72px;
    background-image: url("images/botanical-peony-line.webp");
    filter: none;
    opacity: .14;
    transform: rotate(-9deg);
}

.delivery-service::after {
    width: 280px;
    height: 408px;
    right: -48px;
    bottom: -34px;
    background-image: url("images/botanical-bellflower.webp");
    filter: saturate(.72) contrast(.92);
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 42%, transparent 92%);
    mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 42%, transparent 92%);
    opacity: .16;
    transform: rotate(4deg);
}

.flower-subscription::before {
    width: 255px;
    height: 300px;
    top: 18px;
    right: -36px;
    background-image: url("images/botanical-peony-line.webp");
    opacity: .115;
    transform: rotate(9deg);
}

.flower-subscription > * {
    position: relative;
    z-index: 1;
}

.care-section::before {
    width: 255px;
    height: 372px;
    left: -54px;
    top: 26px;
    background-image: url("images/botanical-bellflower.webp");
    filter: saturate(.68) contrast(.92);
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 44%, transparent 92%);
    mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 44%, transparent 92%);
    opacity: .17;
    transform: rotate(-5deg);
}

.care-section::after {
    width: 240px;
    height: 290px;
    right: -50px;
    bottom: -16px;
    background-image: url("images/botanical-peony-line.webp");
    opacity: .13;
    transform: rotate(8deg) scaleX(-1);
}

.school::before {
    width: 300px;
    height: 352px;
    top: 28px;
    right: -58px;
    background-image: url("images/botanical-peony-line.webp");
    opacity: .12;
    transform: rotate(8deg);
}

.reviews-section::before {
    display: block;
    width: 270px;
    height: 325px;
    left: -58px;
    bottom: -18px;
    background-image: url("images/botanical-peony-line.webp");
    filter: none;
    opacity: .13;
    transform: rotate(-7deg);
}

.reviews-section::after {
    width: 250px;
    height: 365px;
    top: 34px;
    right: -44px;
    background-image: url("images/botanical-bellflower.webp");
    filter: saturate(.68) contrast(.92);
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 44%, transparent 92%);
    mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 44%, transparent 92%);
    opacity: .15;
    transform: rotate(5deg);
}

.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    width: 340px;
    height: 410px;
    right: -70px;
    bottom: -112px;
    background-image: url("images/botanical-peony-line.webp");
    filter: brightness(1.75) saturate(.45);
    opacity: .15;
    transform: rotate(7deg);
}

.footer > * {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .catalog.catalog-gateway::before {
        width: 150px;
        height: 184px;
        left: -62px;
        top: 110px;
        opacity: .12;
    }

    .catalog.catalog-gateway::after {
        width: 180px;
        height: 263px;
        right: -66px;
        top: 206px;
        bottom: auto;
        opacity: .12;
    }

    .constructor-teaser::before,
    .delivery-service::before,
    .flower-subscription::before,
    .care-section::before,
    .school::before,
    .reviews-section::before {
        width: 150px;
        height: 190px;
        opacity: .105;
    }

    .constructor-teaser::before { top: 72px; right: -70px; }
    .delivery-service::before { top: 54px; left: -70px; }
    .flower-subscription::before { top: 238px; right: -72px; }
    .care-section::before { top: 70px; left: -72px; }
    .school::before { top: 54px; right: -74px; }
    .reviews-section::before { left: -72px; bottom: 70px; }

    .constructor-teaser::after,
    .delivery-service::after,
    .care-section::after,
    .reviews-section::after,
    .footer::before {
        display: none;
    }
}

/* ===== КАТАЛОГ-КАК-ВИТРИНА И ВЫРАЗИТЕЛЬНАЯ ЦЕНА ДНЯ ===== */
.catalog-menu-flower {
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.catalog-menu-flower:hover,
.catalog-menu-flower:focus-visible {
    transform: translateY(-2px) rotate(5deg);
    background: linear-gradient(145deg, #71864a, #52672f);
    box-shadow: 0 11px 24px rgba(111, 127, 72, .28);
    outline: 2px solid rgba(117, 137, 72, .25);
    outline-offset: 3px;
}

.catalog-menu-flower:hover svg,
.catalog-menu-flower:focus-visible svg {
    color: #f5e5b6;
    transform: scale(1.08) rotate(-5deg);
}

.nav .header-catalog-menu-head .catalog-menu-flower,
.nav .header-catalog-menu-head .catalog-menu-flower:hover,
.nav .header-catalog-menu-head .catalog-menu-flower:focus-visible {
    border: 1px solid rgba(82, 103, 47, .34);
    color: #f2dfae;
    background: linear-gradient(145deg, #7b9051, #5b7137);
}

.promo-badge-btn .badge-offer {
    width: 190px;
    min-height: 54px;
    margin-top: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "old discount"
        "price price";
    align-items: center;
    justify-content: center;
    column-gap: 18px;
    row-gap: 1px;
    text-align: center;
}

.promo-badge-btn .badge-old-price {
    grid-area: old;
    justify-self: end;
    color: #625b53;
    font: 700 12.5px/1.1 "Inter", sans-serif;
    text-decoration: line-through;
    text-decoration-color: rgba(98, 91, 83, .48);
    text-decoration-thickness: 1.2px;
    transform: translateX(-4px);
}

#bouquetDayCard .promo-badge-btn .badge-price {
    grid-area: price;
    justify-self: center;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 10px 1px;
    border-radius: 999px;
    background: rgba(255, 253, 248, .72);
    box-shadow: 0 0 18px rgba(255, 253, 248, .9);
    color: #60763a;
    font-size: 26px;
    line-height: 1;
}

.promo-badge-btn .badge-discount {
    grid-area: discount;
    justify-self: start;
    padding: 6px 9px;
    border-radius: 999px;
    color: #fffaf3;
    background: #ad6259;
    box-shadow: 0 6px 14px rgba(173, 98, 89, .22);
    font: 800 12px/1 "Inter", sans-serif;
    letter-spacing: .02em;
    transform: translateX(3px);
}

.promo-badge-btn .badge-old-price[hidden],
.promo-badge-btn .badge-discount[hidden] {
    display: none;
}

.catalog.catalog-gateway {
    padding-top: 72px;
    padding-bottom: 82px;
}

.catalog.catalog-gateway::after {
    width: 300px;
    height: 438px;
    right: -62px;
    bottom: 34px;
    background-image: url("images/botanical-bellflower.webp");
    filter: saturate(.68) contrast(.92);
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 38%, transparent 88%);
    mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 38%, transparent 88%);
    opacity: .11;
    transform: rotate(2deg);
}

.catalog-gateway .catalog-header {
    margin-bottom: 38px;
}

.catalog-gateway .catalog-header .section-subtitle {
    max-width: 760px;
}

.catalog-gateway .catalog-featured {
    width: min(1180px, 100%);
    margin-bottom: 38px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.catalog-gateway .catalog-featured .category-card,
.catalog-gateway .catalog-featured .category-card:nth-child(2),
.catalog-gateway .catalog-featured .category-card:nth-child(3),
.catalog-gateway .catalog-featured .category-card:nth-child(4) {
    height: 264px;
    min-height: 264px;
    transform: none;
    border-radius: 24px;
}

.catalog-gateway .catalog-featured .category-card:nth-child(1) {
    grid-column: 1 / 7;
}

.catalog-gateway .catalog-featured .category-card:nth-child(2) {
    grid-column: 7 / 13;
    transform: translateY(16px);
}

.catalog-gateway .catalog-featured .category-card:nth-child(3) {
    grid-column: 1 / 6;
    transform: translateY(-2px);
}

.catalog-gateway .catalog-featured .category-card:nth-child(4) {
    grid-column: 6 / 13;
    transform: translateY(16px);
}

.catalog-gateway .catalog-featured .category-card img {
    min-height: 264px;
}

.catalog-gateway .catalog-featured .category-card::after {
    background: linear-gradient(to top, rgba(34, 28, 22, .78), rgba(34, 28, 22, .05) 66%);
}

.catalog-gateway .catalog-featured .category-card span {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 34px;
}

.catalog-gateway .catalog-featured .category-card small {
    font: 700 10px/1.2 "Inter", sans-serif;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.catalog-gateway-footer {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 17px 18px 17px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(75, 58, 42, .11);
    border-radius: 23px;
    background: rgba(255, 253, 248, .82);
    box-shadow: 0 16px 42px rgba(75, 58, 42, .07);
}

.catalog-quick-links {
    display: flex;
    align-items: center;
    gap: 9px 17px;
    flex-wrap: wrap;
}

.catalog-quick-links > span {
    width: 100%;
    color: var(--vetka-clay);
    font: 800 9px/1 "Inter", sans-serif;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.catalog-quick-links a {
    position: relative;
    color: var(--vetka-muted);
    font: 600 12px/1.2 "Inter", sans-serif;
    text-decoration: none;
}

.catalog-quick-links a + a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(111, 127, 72, .55);
}

.catalog-quick-links a:hover {
    color: var(--vetka-green);
}

.catalog-gateway-cta {
    position: relative;
    isolation: isolate;
    min-height: 66px;
    padding: 0 16px 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-radius: 999px;
    color: #fffdf6;
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 250, 229, .34), transparent 34%),
        linear-gradient(135deg, #7d9051 0%, #5f743e 44%, #2b241e 100%);
    font: 800 13px/1.2 "Inter", sans-serif;
    text-decoration: none;
    letter-spacing: .01em;
    box-shadow:
        0 18px 38px rgba(72, 88, 46, .22),
        inset 0 1px 0 rgba(255, 255, 255, .38);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.catalog-gateway-cta::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    border: 1px solid rgba(255, 253, 248, .28);
}

.catalog-gateway-cta::after {
    content: "";
    position: absolute;
    top: -44%;
    left: -28%;
    width: 42%;
    height: 188%;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: rotate(18deg);
    transition: left .55s ease;
}

.catalog-gateway-cta:hover {
    transform: translateY(-3px);
    filter: saturate(1.05);
    box-shadow:
        0 23px 48px rgba(72, 88, 46, .28),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}

.catalog-gateway-cta:hover::after {
    left: 86%;
}

.catalog-gateway-cta span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    white-space: nowrap;
}

.catalog-gateway-cta small {
    color: rgba(255, 253, 248, .72);
    font: 800 9px/1.1 "Inter", sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.catalog-gateway-cta svg {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 253, 248, .94);
    fill: none;
    color: var(--vetka-green);
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .promo-badge-btn .badge-offer { width: 176px; min-height: 48px; column-gap: 14px; row-gap: 1px; }
    .promo-badge-btn .badge-old-price { font-size: 11.5px; }
    #bouquetDayCard .promo-badge-btn .badge-price { font-size: 22px; }
    .promo-badge-btn .badge-discount { padding: 5px 7px; font-size: 10px; }

    .catalog.catalog-gateway {
        padding-top: 54px;
        padding-bottom: 60px;
    }

    .catalog.catalog-gateway::after {
        width: 178px;
        height: 260px;
        right: -62px;
        bottom: 84px;
        opacity: .085;
    }

    .catalog-gateway .catalog-header {
        margin-bottom: 22px;
    }

    .catalog.catalog-gateway .catalog-featured {
        width: auto;
        margin: 0 14px 16px;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        overflow: visible;
    }

    .catalog-gateway .catalog-featured .category-card,
    .catalog-gateway .catalog-featured .category-card:nth-child(2),
    .catalog-gateway .catalog-featured .category-card:nth-child(3),
    .catalog-gateway .catalog-featured .category-card:nth-child(4) {
        height: 138px;
        min-height: 138px;
        transform: none;
        border-radius: 19px;
    }

    .catalog-gateway .catalog-featured .category-card:first-child {
        grid-column: 1 / -1;
        height: 178px;
        min-height: 178px;
    }

    .catalog-gateway .catalog-featured .category-card:nth-child(4) {
        grid-column: 1 / -1;
        height: 124px;
        min-height: 124px;
    }

    .catalog-gateway .catalog-featured .category-card img {
        min-height: 138px;
    }

    .catalog-gateway .catalog-featured .category-card:first-child img {
        min-height: 178px;
    }

    .catalog-gateway .catalog-featured .category-card:nth-child(4) img {
        min-height: 124px;
    }

    .catalog-gateway .catalog-featured .category-card span {
        left: 15px;
        right: 12px;
        bottom: 14px;
        gap: 4px;
        font-size: 22px;
    }

    .catalog-gateway .catalog-featured .category-card small {
        font-size: 8px;
    }

    .catalog-gateway-footer {
        width: auto;
        margin: 0 14px;
        padding: 18px;
        display: block;
        border-radius: 20px;
    }

    .catalog-quick-links {
        gap: 10px 17px;
    }

    .catalog-quick-links a {
        font-size: 11px;
    }

    .catalog-gateway-cta {
        width: 100%;
        min-height: 64px;
        margin-top: 18px;
        padding: 0 12px 0 18px;
        justify-content: space-between;
        font-size: 12px;
    }

    .catalog-gateway-cta span {
        white-space: normal;
    }

    .catalog-gateway-cta small {
        font-size: 8px;
        letter-spacing: .11em;
    }

    .catalog-gateway-cta svg {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}

/* Constructor: real reference photos make the choice intuitive before a florist confirms the final composition. */
.constructor-step .options-row--base {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.constructor-photo-option {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 86px;
    padding: 7px;
    overflow: hidden;
    color: var(--vetka-ink);
    text-align: left;
}

.constructor-photo-option img {
    width: 64px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}

.constructor-photo-option span,
.constructor-accent-option span,
.constructor-palette-option span {
    position: relative;
    z-index: 1;
}

.constructor-photo-option span {
    padding-right: 6px;
    font: 800 12px/1.18 "Inter", sans-serif;
}

.constructor-photo-option.active-opt {
    color: var(--vetka-cream);
    border-color: var(--vetka-green);
    background: linear-gradient(135deg, var(--vetka-green), #4e5d34);
    box-shadow: 0 12px 22px rgba(80, 101, 48, .22);
}

.constructor-photo-option.active-opt::after {
    top: 9px;
    right: 9px;
    background: var(--vetka-cream);
    box-shadow: 0 0 0 3px rgba(255, 253, 248, .2);
}

.constructor-step .options-row--flower {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.constructor-accent-option {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 7px;
    color: var(--vetka-ink);
    text-align: left;
}

.constructor-accent-option img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.constructor-accent-option span {
    overflow: hidden;
    font: 700 10px/1.1 "Inter", sans-serif;
    text-overflow: ellipsis;
}

.constructor-accent-option.active-opt {
    color: var(--vetka-cream);
    background: var(--vetka-green);
    border-color: var(--vetka-green);
    box-shadow: 0 8px 18px rgba(80, 101, 48, .18);
}

.constructor-accent-option.active-opt::after {
    display: none;
}

.constructor-step .options-row--character {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.constructor-palette-option {
    min-height: 76px;
    padding: 0;
    overflow: hidden;
    border-color: rgba(48, 42, 36, .14);
    color: var(--vetka-cream);
    background: var(--vetka-ink);
}

.constructor-palette-option img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    transition: transform .25s ease, opacity .25s ease;
}

.constructor-palette-option span {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 0 10px 10px;
    background: linear-gradient(0deg, rgba(30, 27, 24, .72), rgba(30, 27, 24, 0) 72%);
    font: 800 11px/1 "Inter", sans-serif;
}

.constructor-palette-option:hover img,
.constructor-palette-option.active-opt img {
    opacity: .9;
    transform: scale(1.06);
}

.constructor-palette-option.active-opt {
    border-color: var(--vetka-green);
    background: var(--vetka-ink);
    box-shadow: 0 0 0 2px var(--vetka-cream), 0 0 0 4px var(--vetka-green), 0 12px 24px rgba(80, 101, 48, .22);
}

.constructor-palette-option.active-opt::after {
    display: none;
}

.constructor-step .opt-btn[data-val="other"] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-style: dashed;
    font: 700 11px/1.1 "Inter", sans-serif;
}

@media (max-width: 768px) {
    .constructor-step .options-row--base,
    .constructor-step .options-row--flower,
    .constructor-step .options-row--character {
        display: grid;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .constructor-step .options-row--base,
    .constructor-step .options-row--flower {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .constructor-photo-option {
        grid-template-columns: 1fr;
        align-content: end;
        min-height: 116px;
        padding: 0;
        color: var(--vetka-cream);
        background: var(--vetka-ink);
    }

    .constructor-photo-option::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(30, 27, 24, .76), rgba(30, 27, 24, .04) 72%);
        z-index: 1;
    }

    .constructor-photo-option img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        opacity: .86;
    }

    .constructor-photo-option span {
        z-index: 2;
        padding: 0 10px 11px;
        font-size: 11px;
    }

    .constructor-photo-option.active-opt {
        border-color: var(--vetka-green);
        background: var(--vetka-ink);
        box-shadow: 0 0 0 2px var(--vetka-cream), 0 0 0 4px var(--vetka-green);
    }

    .constructor-accent-option {
        min-height: 50px;
    }

    .constructor-accent-option span {
        font-size: 10px;
    }

    .constructor-palette-option {
        min-height: 74px;
    }

    .constructor-palette-option span {
        padding: 0 7px 9px;
        font-size: 10px;
    }
}

/* Constructor clarity: the middle step is an idea check, not an exact generated bouquet. */
.constructor-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0 10px;
}

.constructor-preview-tags span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 7px 10px;
    border: 1px solid rgba(117, 137, 72, .18);
    border-radius: 999px;
    color: var(--vetka-muted);
    background: rgba(255, 253, 248, .72);
    font: 700 10px/1.15 "Inter", sans-serif;
}

.constructor-preview-tags strong {
    color: var(--vetka-green);
    font: inherit;
}

.constructor-beta-note {
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto 18px;
    padding: 10px 14px;
    border: 1px solid rgba(117, 137, 72, .18);
    border-radius: 18px;
    background: rgba(255, 253, 248, .68);
    box-shadow: 0 12px 28px rgba(48, 42, 36, .06);
}

.constructor-beta-note span {
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--vetka-cream);
    background: var(--vetka-green);
    font: 800 10px/1 "Inter", sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.constructor-beta-note p {
    margin: 0;
    color: var(--vetka-muted);
    font: 600 12px/1.45 "Inter", sans-serif;
}

@media (max-width: 768px) {
    body.bonus-notice-visible .hero {
        padding-top: 104px;
    }

    .bonus-badge,
    .bonus-badge.bonus-compact {
        top: auto !important;
        right: 14px !important;
        bottom: calc(88px + env(safe-area-inset-bottom)) !important;
        left: 14px !important;
        z-index: 940;
        grid-template-columns: minmax(0, 1fr) auto;
        width: auto;
        max-width: none;
        min-height: 54px;
        padding: 9px 38px 9px 14px;
        border-radius: 18px;
        box-shadow: 0 14px 34px rgba(48, 42, 36, .18);
    }

    .bonus-badge .bonus-kicker,
    .bonus-badge .bonus-copy > span:last-child,
    .bonus-badge.bonus-compact .bonus-kicker,
    .bonus-badge.bonus-compact .bonus-copy > span:last-child {
        display: none;
    }

    .bonus-badge strong,
    .bonus-badge.bonus-compact strong {
        margin: 0;
        font-size: 16px;
        white-space: nowrap;
    }

    .bonus-badge .bonus-claim-btn,
    .bonus-badge.bonus-compact .bonus-claim-btn {
        min-width: 86px;
        min-height: 38px;
        padding: 9px 14px;
    }

    .constructor-mobile-progress {
        top: 86px;
    }

    .demo-label {
        max-width: calc(100% - 128px);
        font-size: 11px;
        letter-spacing: .08em;
    }

    .flower-accent-badge {
        max-width: 128px;
    }

    .demo-preview-copy h3 {
        font-size: 30px;
        line-height: 1.02;
    }

    .constructor-preview-tags {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin: 12px 0;
    }

    .constructor-preview-tags span {
        justify-content: space-between;
        border-radius: 13px;
        font-size: 11px;
    }

    .constructor-beta-note {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 0 0 16px;
        padding: 12px;
        border-radius: 16px;
        text-align: left;
    }

    .constructor-beta-note span {
        justify-self: start;
    }

    .constructor-beta-note p {
        font-size: 12px;
    }

    .constructor-mobile-actions {
        padding-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .constructor-step .constructor-photo-option {
        min-height: 116px;
        padding: 0;
    }

    .constructor-step .constructor-accent-option {
        min-height: 50px;
        padding: 7px;
    }

    .constructor-step .constructor-palette-option {
        min-height: 74px;
        padding: 0;
    }
}

/* ===== КЛИЕНТСКИЕ АКЦЕНТЫ: БУКЕТ ДНЯ, ДОСТАВКА, ШКОЛА ===== */
.promo-badge-btn .badge-price {
    display: block;
    margin-top: 5px;
    color: var(--olive, #758948);
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.hero-slide.is-synced .promo-badge-btn {
    border-color: rgba(117, 137, 72, .28);
}

.catalog-page-cta {
    margin: 34px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.catalog-page-cta .btn {
    min-width: 220px;
    text-align: center;
}

.catalog-page-cta span {
    color: #7a746c;
    font-size: 13px;
}

.service-speed-banner {
    margin: 34px 0 30px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    border: 1px solid rgba(117, 137, 72, .27);
    border-radius: 26px;
    background:
        radial-gradient(circle at 7% 50%, rgba(163, 190, 92, .18), transparent 180px),
        rgba(255, 253, 248, .88);
    box-shadow: 0 18px 46px rgba(72, 60, 46, .09);
}

.service-speed-value {
    min-width: 150px;
    padding-right: 24px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-right: 1px solid rgba(117, 137, 72, .22);
    color: #667a3e;
}

.service-speed-value strong {
    font-family: 'Playfair Display', serif;
    font-size: 54px;
    line-height: .9;
}

.service-speed-value span,
.service-speed-copy > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.service-speed-copy > span { color: #667a3e; }
.service-speed-copy p { margin: 6px 0 0; color: #746f68; font-size: 14px; line-height: 1.5; }
.service-speed-banner button {
    padding: 13px 21px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #2c2721;
    font-weight: 600;
    cursor: pointer;
}

.school-proof {
    margin: 18px 0 20px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    gap: 17px;
    border: 1px solid rgba(117, 137, 72, .24);
    border-radius: 20px;
    background: linear-gradient(105deg, rgba(232, 239, 213, .84), rgba(255, 253, 248, .86));
}

.school-proof > strong {
    color: #667a3e;
    font-family: 'Playfair Display', serif;
    font-size: 45px;
    line-height: 1;
}

.school-proof div { padding-left: 17px; border-left: 1px solid rgba(117, 137, 72, .24); }
.school-proof span { color: #493f35; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.school-proof p { margin: 3px 0 0; color: #777067; font-size: 12px; line-height: 1.35; }

@media (max-width: 768px) {
    .promo-badge-btn .badge-price { font-size: 16px; }

    .catalog-page-cta {
        margin-top: 24px;
        padding: 0 12px;
        display: block;
        text-align: center;
    }

    .catalog-page-cta .btn { width: 100%; }
    .catalog-page-cta span { margin-top: 9px; display: block; font-size: 11px; }

    .service-speed-banner {
        margin: 26px 0 22px;
        padding: 20px;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px 16px;
        border-radius: 22px;
    }

    .service-speed-value {
        min-width: 0;
        padding-right: 16px;
    }

    .service-speed-value strong { font-size: 46px; }
    .service-speed-copy p { font-size: 12px; }
    .service-speed-banner button { grid-column: 1 / -1; width: 100%; min-height: 46px; }

    .school-proof { margin: 16px 0 18px; padding: 15px 16px; }
    .school-proof > strong { font-size: 40px; }
    .school-proof p { font-size: 11px; }
}

@media (max-width: 430px) {
    .service-speed-copy > span { font-size: 10px; }
    .service-speed-value span { font-size: 10px; }
    .service-speed-copy p { line-height: 1.42; }
}

/* Launch-ready mobile polish: readable contact sheet and a compact bonus after scroll. */
@media screen and (max-width: 768px) {
    .modal-overlay {
        background: rgba(36, 31, 27, 0.58);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .modal-window {
        isolation: isolate;
        border-color: rgba(111, 127, 72, 0.16);
        background: #fffdf8;
        box-shadow: 0 24px 70px rgba(36, 31, 27, 0.38);
    }

    .modal-window::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        background: #fffdf8;
        pointer-events: none;
    }

    .bonus-badge {
        transition: width 0.28s ease, left 0.28s ease, padding 0.28s ease,
                    border-radius 0.28s ease, box-shadow 0.28s ease;
    }

    .bonus-badge.bonus-compact {
        right: 10px;
        left: auto;
        grid-template-columns: auto auto;
        gap: 9px;
        width: auto;
        max-width: calc(100vw - 20px);
        min-height: 50px;
        padding: 7px 38px 7px 14px;
        border-radius: 999px;
        box-shadow: 0 12px 30px rgba(48, 42, 36, 0.18);
    }

    .bonus-badge.bonus-compact .bonus-copy {
        min-width: 0;
    }

    .bonus-badge.bonus-compact .bonus-kicker,
    .bonus-badge.bonus-compact .bonus-copy > span:last-child {
        display: none;
    }

    .bonus-badge.bonus-compact strong {
        margin: 0;
        color: var(--vetka-ink);
        font-size: 14px;
        white-space: nowrap;
    }

    .bonus-badge.bonus-compact .bonus-claim-btn {
        min-width: 78px;
        min-height: 36px;
        padding: 8px 13px;
    }

    .bonus-badge.bonus-compact .bonus-close {
        top: 50%;
        right: 6px;
        width: 27px;
        height: 27px;
        transform: translateY(-50%);
    }
}

/* Corrective mobile pass: remove speculative header copy and all overlapping subscription layers. */
@media screen and (max-width: 768px) {
    .mobile-header-city {
        display: none !important;
    }

    .hero-content {
        padding: 8px 0 4px;
        background: none;
    }

    .hero-branch-decor {
        top: 70px;
        left: 42%;
        width: 112%;
        opacity: 0.085;
        filter: saturate(0.5) brightness(1.2);
    }

    .flower-subscription {
        gap: 14px;
        background: linear-gradient(155deg, #f4ede3, #eef1e3 62%, #f7eee9);
    }

    .subscription-media {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        border: 1px solid rgba(111, 127, 72, 0.13);
        border-radius: 22px;
        background: rgba(255, 253, 248, 0.96);
        box-shadow: 0 16px 36px rgba(75, 58, 42, 0.12);
    }

    .subscription-media img {
        width: 100%;
        height: 230px;
        min-height: 230px;
        border-radius: 0;
        object-fit: cover;
    }

    .subscription-note {
        position: static;
        inset: auto;
        margin: 0;
        padding: 14px 16px 15px;
        border: 0;
        border-top: 1px solid rgba(111, 127, 72, 0.12);
        border-radius: 0;
        background: rgba(255, 253, 248, 0.98);
        box-shadow: none;
        backdrop-filter: none;
    }

    .subscription-note strong {
        font-size: 21px;
    }

    .subscription-note small {
        margin-top: 5px;
        font-size: 11px;
    }

    .subscription-content {
        margin: 0;
        padding: 20px 18px;
        border-radius: 22px;
        box-shadow: 0 14px 32px rgba(75, 58, 42, 0.1);
    }
}

.bonus-badge.bonus-hidden {
    display: none !important;
}

/* Bonus readability: the full notice must be readable at a glance. */
.bonus-badge:not(.bonus-compact):not(.bonus-claimed) {
    width: min(390px, calc(100vw - 32px));
    min-height: 86px;
    padding: 15px 48px 15px 19px;
}

.bonus-badge:not(.bonus-compact):not(.bonus-claimed) .bonus-kicker {
    margin-bottom: 4px;
    font-size: 10px;
    line-height: 1.15;
}

.bonus-badge:not(.bonus-compact):not(.bonus-claimed) strong {
    margin-bottom: 5px;
    font-size: 21px;
    line-height: 1;
}

.bonus-badge:not(.bonus-compact):not(.bonus-claimed) .bonus-copy > span:last-child {
    max-width: 230px;
    color: #655f57;
    font-size: 12px;
    line-height: 1.35;
}

.bonus-badge:not(.bonus-compact):not(.bonus-claimed) .bonus-claim-btn {
    min-width: 92px;
    min-height: 42px;
    padding: 10px 17px;
    font-size: 13px;
}

@media screen and (max-width: 768px) {
    body.bonus-notice-visible:not(.bonus-notice-compact) .hero {
        padding-top: 194px;
    }

    .bonus-badge:not(.bonus-compact):not(.bonus-claimed) {
        right: 10px;
        left: 10px;
        width: auto;
        min-height: 82px;
        padding: 13px 42px 13px 16px;
    }

    .bonus-badge:not(.bonus-compact):not(.bonus-claimed) strong {
        font-size: 20px;
    }

    .bonus-badge:not(.bonus-compact):not(.bonus-claimed) .bonus-copy > span:last-child {
        max-width: none;
        font-size: 11.5px;
    }

    .bonus-badge.bonus-compact strong {
        font-size: 15px;
    }
}

@media screen and (max-width: 380px) {
    .bonus-badge:not(.bonus-compact):not(.bonus-claimed) {
        padding-left: 14px;
    }

    .bonus-badge:not(.bonus-compact):not(.bonus-claimed) .bonus-kicker {
        display: block;
        font-size: 8.5px;
    }

    .bonus-badge:not(.bonus-compact):not(.bonus-claimed) strong {
        font-size: 19px;
    }

    .bonus-badge:not(.bonus-compact):not(.bonus-claimed) .bonus-copy > span:last-child {
        font-size: 11px;
    }
}

/* The contact dialog must always be above the fixed site chrome. */
.modal-overlay {
    z-index: 2000;
}

/* Hero slider controls use the same calm visual language as reviews. */
.slide-nav {
    border: 1px solid rgba(111, 127, 72, 0.24);
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--vetka-green);
    box-shadow: 0 10px 24px rgba(75, 58, 42, 0.14);
    backdrop-filter: blur(12px);
}

.slide-nav svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slide-nav:hover {
    border-color: rgba(111, 127, 72, 0.42);
    background: rgba(232, 238, 218, 0.96);
    color: var(--vetka-ink);
    box-shadow: 0 13px 28px rgba(75, 58, 42, 0.16);
    transform: translateY(-50%) scale(1.04);
}

@media screen and (max-width: 768px) {
    body.modal-open .header,
    body.modal-open .mobile-dock,
    body.modal-open .bonus-badge {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .modal-overlay {
        align-items: flex-start;
        justify-content: center;
        height: 100dvh;
        padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
        overflow: hidden;
    }

    .modal-window {
        width: 100%;
        max-width: 460px;
        max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        margin: 0 auto;
        padding: 28px 18px 22px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 24px;
        overscroll-behavior: contain;
        scrollbar-width: none;
        box-shadow: 0 24px 65px rgba(48, 42, 36, 0.34);
    }

    .modal-window::-webkit-scrollbar {
        display: none;
    }

    .modal-window::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 38px;
        height: 4px;
        border-radius: 999px;
        background: rgba(48, 42, 36, 0.14);
        transform: translateX(-50%);
    }

    .modal-close {
        top: 10px;
        right: 10px;
        z-index: 4;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(48, 42, 36, 0.08);
        border-radius: 50%;
        background: rgba(255, 253, 248, 0.9);
        color: var(--vetka-muted);
        font-size: 25px;
    }

    .modal-title {
        margin-top: 8px;
        padding: 0 38px;
    }

    .modal-subtitle {
        padding: 0 16px;
        font-size: 12px;
        line-height: 1.45;
    }

    /* Main page: remove duplicated school CTA and bring the bouquet visual higher. */
    .hero-school-link {
        display: none;
    }

    .hero-actions {
        margin-bottom: 0;
    }

    .hero-features {
        margin-top: 22px;
        padding-top: 18px;
    }

    .hero-features .feature-item {
        min-height: 64px;
    }

    .hero-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }

    .hero-visual::before {
        content: "Сезонные работы ВЕТКИ";
        color: var(--vetka-clay);
        font: 750 9px/1.2 "Inter", sans-serif;
        letter-spacing: 1.15px;
        text-transform: uppercase;
    }

    .slider-window {
        --mobile-slide-image-height: min(96vw, 390px);
        width: min(340px, 100%);
        max-width: none;
    }

    .slides-container {
        height: calc(var(--mobile-slide-image-height) + 116px);
    }

    .hero-slide {
        height: var(--mobile-slide-image-height);
        overflow: visible;
        border-radius: 26px;
        background: transparent;
        box-shadow: none;
    }

    .hero-slide img {
        height: var(--mobile-slide-image-height);
        border: 1px solid rgba(255, 255, 255, .76);
        border-radius: 26px;
        box-shadow: 0 24px 42px rgba(48, 42, 36, .22);
        object-position: center center;
    }

    .hero-slide .promo-badge-btn {
        bottom: -108px;
        width: calc(100% - 28px);
        min-height: 112px;
        padding: 12px 14px;
        border-radius: 20px;
        background: rgba(255, 253, 248, .97);
        box-shadow: 0 15px 34px rgba(75, 58, 42, .14);
    }

    .slide-nav {
        top: calc(var(--mobile-slide-image-height) / 2);
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .prev-btn {
        left: 9px !important;
    }

    .next-btn {
        right: 9px !important;
    }
}

/* ========================================================================== */
/* COMPLETE MOBILE EXPERIENCE — consistent rhythm for every site section.     */
/* ========================================================================== */
.school-course-tabs,
.review-counter {
    display: none;
}

/* On desktop the bonus is deliberately placed in the first visual field. */
.bonus-badge {
    top: 126px;
    right: 24px;
    bottom: auto;
    width: min(360px, calc(100vw - 32px));
}

@media screen and (max-width: 768px) {
    :root {
        --mobile-page-pad: 14px;
        --mobile-section-space: 58px;
        --anchor-offset: 94px;
        --anchor-catalog: 94px;
        --anchor-delivery: 94px;
        --anchor-subscription: 94px;
        --anchor-care: 94px;
        --anchor-reviews: 94px;
        --anchor-concept: 94px;
        --anchor-school: 94px;
    }

    html {
        scroll-padding-top: 94px;
        scroll-padding-bottom: 84px;
    }

    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
        overflow-x: clip;
    }

    [id] {
        scroll-margin-top: 94px;
    }

    .section-title,
    .delivery-service .section-title,
    .reviews-section .section-title,
    .school-info .section-title,
    .care-section .section-title,
    .flower-subscription .section-title {
        margin-bottom: 12px;
        font-size: clamp(32px, 9.2vw, 40px);
        line-height: 1.04;
        text-align: left;
    }

    .section-subtitle,
    .delivery-service .section-subtitle,
    .reviews-section .section-subtitle {
        margin-bottom: 0;
        font-size: 13px;
        line-height: 1.55;
        text-align: left;
    }

    .section-eyebrow {
        font-size: 10px;
        letter-spacing: 1.15px;
    }

    .btn,
    .btn-buy,
    .btn-course,
    .btn-service-action,
    .btn-academy-instagram,
    .form-submit-btn {
        min-height: 48px;
    }

    /* The notification appears directly under the header, not in a remote corner. */
    .bonus-badge {
        position: fixed;
        top: 86px;
        right: 10px;
        bottom: auto;
        left: 10px;
        z-index: 1150;
        grid-template-columns: minmax(0, 1fr) auto;
        width: auto;
        max-width: none;
        min-height: 66px;
        margin: 0;
        padding: 12px 42px 12px 15px;
        border-radius: 18px;
        box-shadow: 0 18px 42px rgba(48, 42, 36, 0.2);
        animation: bonusMobileEnter 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .bonus-badge .bonus-kicker {
        display: block;
        font-size: 8px;
    }

    .bonus-badge strong {
        font-size: 17px;
    }

    .bonus-badge .bonus-copy > span:last-child {
        font-size: 10px;
    }

    .bonus-badge .bonus-claim-btn {
        min-width: 82px;
        min-height: 38px;
    }

    @keyframes bonusMobileEnter {
        from { opacity: 0; transform: translateY(-12px) scale(0.98); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 104px var(--mobile-page-pad) var(--mobile-section-space);
    }

    .hero-container {
        gap: 30px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-title {
        margin-bottom: 24px;
        font-size: clamp(38px, 11.5vw, 48px);
        text-align: left;
    }

    .hero-subtitle {
        max-width: 38ch;
        margin: 0 0 22px;
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }

    .hero-actions {
        gap: 9px;
    }

    .hero-school-link {
        min-height: 42px;
        justify-content: center;
        margin: 0;
    }

    .hero-features {
        margin-top: 26px;
    }

    .hero-visual {
        margin-top: 0;
    }

    /* Catalog */
    .catalog {
        padding: var(--mobile-section-space) 0 66px;
    }

    .catalog-header {
        margin-bottom: 22px;
        padding: 0 var(--mobile-page-pad);
        text-align: left;
    }

    .catalog .section-title,
    .catalog .section-subtitle {
        text-align: left;
    }

    .catalog-tabs-label {
        padding: 0 var(--mobile-page-pad);
    }

    .catalog-category-tabs,
    .catalog-category-intro {
        margin-right: var(--mobile-page-pad);
        margin-left: var(--mobile-page-pad);
    }

    /* Constructor */
    .constructor-teaser {
        padding: var(--mobile-section-space) var(--mobile-page-pad) 68px;
    }

    .constructor-header-block {
        text-align: left;
    }

    .constructor-header-block h2,
    .constructor-header-block .subtitle {
        text-align: left;
    }

    .constructor-header-block .subtitle {
        font-size: 13px;
        line-height: 1.55;
    }

    .constructor-mobile-progress {
        top: 86px;
    }

    /* Delivery: compact readable steps instead of three oversized blocks. */
    .delivery-service {
        padding: var(--mobile-section-space) var(--mobile-page-pad) 64px;
    }

    .service-header {
        margin-bottom: 24px;
        text-align: left;
    }

    .service-grid {
        gap: 10px;
    }

    .service-card {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 13px;
        row-gap: 6px;
        min-height: 0;
        padding: 17px 38px 17px 16px;
        border-radius: 18px;
    }

    .service-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .service-card h3 {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin: 0;
        font-size: 19px;
        line-height: 1.08;
    }

    .service-card p {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 12px;
        line-height: 1.5;
    }

    .service-step-num {
        top: 15px;
        right: 14px;
        font-size: 10px;
    }

    .delivery-service::before,
    .delivery-service::after {
        width: 140px;
        height: 140px;
        opacity: 0.07;
    }

    /* Subscription: visual first, then one clear explanation and CTA. */
    .flower-subscription {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
        margin: 0;
        padding: var(--mobile-section-space) var(--mobile-page-pad) 64px;
        border-radius: 0;
    }

    .subscription-media {
        order: -1;
        min-height: 250px;
        max-height: 280px;
        border-radius: 20px;
    }

    .subscription-media img {
        min-height: 250px;
    }

    .subscription-note {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 13px 14px;
    }

    .subscription-note strong {
        font-size: 21px;
    }

    .subscription-note small {
        margin-top: 5px;
        font-size: 11px;
    }

    .subscription-content p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.65;
    }

    .subscription-points {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 20px;
    }

    .subscription-points span {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 9px 11px;
        border-radius: 13px;
        font-size: 11px;
        line-height: 1.25;
    }

    .subscription-points span:last-child {
        grid-column: 1 / -1;
    }

    .subscription-mini-gallery {
        gap: 7px;
        margin-bottom: 20px;
    }

    .subscription-mini-gallery img,
    .subscription-mini-gallery img:nth-child(1) {
        height: 76px;
        margin: 0;
        border-radius: 12px;
    }

    .subscription-content .btn {
        width: 100%;
    }

    /* Care: true accordion, one concise item at a time. */
    .care-section {
        padding: var(--mobile-section-space) var(--mobile-page-pad) 64px;
    }

    .care-header {
        margin-bottom: 24px;
        text-align: left;
    }

    .care-grid {
        gap: 10px;
    }

    .care-card {
        height: auto;
        border-radius: 17px;
    }

    .care-card::before {
        right: 18px;
        left: 18px;
    }

    .care-card summary {
        min-height: 68px;
        padding: 18px 44px 18px 18px;
        font-size: 19px;
        line-height: 1.18;
    }

    .care-card summary::after {
        position: absolute;
        top: 23px;
        right: 18px;
        float: none;
    }

    .care-copy {
        padding: 0 18px 20px;
    }

    .care-copy p {
        font-size: 13px;
        line-height: 1.58;
    }

    .care-section::before,
    .care-section::after {
        opacity: 0.05;
    }

    /* School: no hidden horizontal ribbon; one selected program at a time. */
    .school {
        padding: var(--mobile-section-space) var(--mobile-page-pad) 66px;
    }

    .school-container {
        display: flex;
        flex-direction: column;
        gap: 26px;
    }

    .school-info {
        order: 1;
    }

    .school-media {
        order: 2;
        width: 100%;
    }

    .school-lead {
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }

    .school-tags {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        margin-bottom: 18px;
        padding: 0;
        overflow: visible;
    }

    .school-tags span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 8px 9px;
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .school-course-tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        margin-bottom: 10px;
        padding: 5px;
        border: 1px solid var(--vetka-line);
        border-radius: 15px;
        background: rgba(255, 253, 248, 0.78);
    }

    .school-course-tabs button {
        min-width: 0;
        min-height: 42px;
        padding: 8px 5px;
        border: 0;
        border-radius: 11px;
        background: transparent;
        color: var(--vetka-muted);
        font: 750 10px/1.15 "Inter", sans-serif;
        cursor: pointer;
    }

    .school-course-tabs button.is-active {
        background: var(--vetka-green);
        color: var(--vetka-cream);
        box-shadow: 0 8px 18px rgba(111, 127, 72, 0.2);
    }

    .courses-list {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .courses-list .course-item,
    .courses-list .course-item:nth-child(1) {
        display: none !important;
        width: 100%;
        min-height: 0;
        padding: 18px;
    }

    .courses-list .course-item.is-mobile-active {
        display: flex !important;
        flex-direction: column;
    }

    .course-item.reveal-init {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .course-meta {
        gap: 5px;
        margin-bottom: 11px;
    }

    .course-meta h4 {
        font-size: 19px;
        line-height: 1.15;
    }

    .course-meta span {
        font-size: 10px;
    }

    .course-detail {
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.55;
    }

    .course-action {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .course-price {
        font-size: 17px;
    }

    .course-price--note {
        font-size: 10px;
        line-height: 1.3;
    }

    .btn-course {
        padding: 11px 14px;
        font-size: 11px;
    }

    .video-wrapper {
        height: min(88vw, 340px);
        border-radius: 20px;
    }

    .media-overlay {
        padding: 20px;
    }

    .media-overlay h2 {
        font-size: 25px;
        line-height: 1.08;
    }

    .btn-academy-instagram {
        margin: 0;
        padding: 13px 16px;
        font-size: 12px;
    }

    /* Reviews: native swipe, one full card, controls and position counter. */
    .reviews-section {
        padding: var(--mobile-section-space) var(--mobile-page-pad) 104px;
    }

    .reviews-header {
        margin-bottom: 24px;
        text-align: left;
    }

    .reviews-slider-window-wide {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .reviews-viewport-wide {
        width: 100%;
        height: min(122vw, 480px);
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 23px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .reviews-viewport-wide::-webkit-scrollbar {
        display: none;
    }

    .reviews-track-wide {
        position: static;
        display: flex;
        gap: 12px;
        width: max-content;
        height: 100%;
        transform: none !important;
        transition: none;
    }

    .review-slide-item-wide {
        flex: 0 0 calc(100vw - (var(--mobile-page-pad) * 2));
        width: calc(100vw - (var(--mobile-page-pad) * 2));
        height: 100%;
        padding: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .review-photo-card {
        border-radius: 24px 10px 24px 10px;
    }

    .review-photo-card:hover {
        transform: none;
    }

    .review-photo-overlay {
        padding: 18px;
    }

    .photo-review-text {
        font-size: 13px;
        line-height: 1.48;
    }

    .photo-card-meta {
        gap: 7px;
        margin-bottom: 10px;
    }

    .photo-user,
    .photo-platform {
        font-size: 10px;
    }

    .review-nav {
        top: auto;
        bottom: -62px;
        width: 42px;
        height: 42px;
        border-radius: 14px;
        transform: none;
    }

    .review-nav:hover {
        transform: none;
    }

    .prev-review-btn {
        left: calc(50% - 82px);
    }

    .next-review-btn {
        right: calc(50% - 82px);
    }

    .review-counter {
        position: absolute;
        bottom: -48px;
        left: 50%;
        display: block;
        min-width: 58px;
        color: var(--vetka-muted);
        font: 750 11px/1 "Inter", sans-serif;
        text-align: center;
        transform: translateX(-50%);
    }

    /* Footer: two compact navigation columns and a clear contact card. */
    .footer {
        padding: 54px var(--mobile-page-pad) 28px;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 16px;
        text-align: left;
    }

    .footer-brand,
    .footer-contacts {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        max-width: none;
        margin: 14px 0 0;
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-contacts {
        padding: 18px;
        border: 1px solid rgba(111, 127, 72, 0.16);
        border-radius: 18px;
        background: rgba(255, 253, 248, 0.46);
        text-align: left;
    }

    .footer-block h4 {
        margin-bottom: 14px;
        font-size: 11px;
        line-height: 1.3;
    }

    .footer-contacts p,
    .footer-phone {
        margin-right: 0;
        margin-left: 0;
    }

    .links-grid {
        gap: 10px;
    }

    .links-grid a {
        width: auto;
        margin: 0;
        font-size: 12px;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        margin-top: 34px;
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 10px;
        line-height: 1.5;
    }

    /* Touch surfaces should not jump because desktop hover transforms leaked in. */
    .service-card:hover,
    .course-item:hover,
    .product-card:hover,
    .category-card:hover {
        transform: none;
    }
}

@media screen and (max-width: 380px) {
    .bonus-badge {
        grid-template-columns: minmax(0, 1fr) 76px;
        padding-left: 12px;
    }

    .bonus-badge .bonus-kicker {
        display: none;
    }

    .bonus-badge .bonus-claim-btn {
        min-width: 76px;
        padding-right: 9px;
        padding-left: 9px;
    }

    .course-action {
        grid-template-columns: 1fr;
    }

    .btn-course {
        width: 100%;
    }

    .footer-container {
        column-gap: 12px;
    }
}

.bonus-badge.bonus-hidden {
    display: none !important;
}

/* Final mobile visual pass: readability, compact header, delivery and subscription. */
.mobile-header-city {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-header-city {
        display: block;
        color: var(--vetka-clay);
        font: 750 8px/1 "Inter", sans-serif;
        letter-spacing: 1px;
        text-transform: uppercase;
        white-space: nowrap;
    }

    /* When the dismissible bonus is gone, the hero moves up automatically. */
    .hero {
        padding-top: 92px;
        transition: padding-top 0.28s ease;
    }

    body.bonus-notice-visible .hero {
        padding-top: 166px;
    }

    .hero-content {
        padding: 8px 0 4px;
        background: radial-gradient(ellipse at 18% 42%, rgba(255, 250, 242, 0.96) 0%, rgba(255, 250, 242, 0.76) 54%, rgba(255, 250, 242, 0) 83%);
    }

    .hero-branch-decor {
        top: 66px;
        left: 26%;
        width: 126%;
        opacity: 0.11;
        filter: saturate(0.55) brightness(1.18);
    }

    .hero-subtitle {
        color: #5d574f;
        font-weight: 500;
        text-shadow: 0 1px 0 rgba(255, 253, 248, 0.82);
    }

    /* The catalog lead now reads as an intentional note, not a tiny centered paragraph. */
    .catalog-header .section-subtitle {
        width: 100%;
        max-width: none;
        margin: 18px 0 0;
        padding: 11px 13px;
        border-left: 2px solid rgba(111, 127, 72, 0.58);
        border-radius: 0 13px 13px 0;
        background: linear-gradient(90deg, rgba(232, 238, 218, 0.55), rgba(255, 253, 248, 0));
        color: #625b53;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.52;
        text-align: left;
    }

    /* Delivery becomes a decorated vertical route. */
    .service-header .section-eyebrow {
        display: block;
        margin-bottom: 10px;
    }

    .service-grid::before {
        top: 34px;
        bottom: 34px;
        left: 37px;
        z-index: 0;
        display: block;
        width: 1px;
        height: auto;
        background: linear-gradient(to bottom, rgba(111, 127, 72, 0.08), rgba(111, 127, 72, 0.46), rgba(201, 139, 143, 0.2));
    }

    .service-card {
        overflow: hidden;
        border-color: rgba(111, 127, 72, 0.13);
        box-shadow: 0 12px 28px rgba(75, 58, 42, 0.07);
    }

    .service-card:nth-child(1) {
        background: linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(232, 238, 218, 0.68));
    }

    .service-card:nth-child(2) {
        background: linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(239, 232, 220, 0.76));
    }

    .service-card:nth-child(3) {
        background: linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(244, 225, 223, 0.68));
    }

    .service-icon {
        border-radius: 15px 15px 15px 5px;
        background: rgba(255, 253, 248, 0.78);
        box-shadow: 0 8px 18px rgba(75, 58, 42, 0.1);
    }

    .service-card:nth-child(1) .service-icon {
        color: var(--vetka-green);
    }

    .service-card:nth-child(2) .service-icon {
        color: var(--vetka-clay);
    }

    .service-card:nth-child(3) .service-icon {
        color: var(--vetka-rose);
    }

    /* Subscription is a magazine-style card with overlapping content. */
    .flower-subscription {
        gap: 0;
        background: linear-gradient(155deg, #f4ede3, #eef1e3 56%, #f7eee9);
    }

    .subscription-media {
        min-height: 280px;
        max-height: 300px;
        border-radius: 24px 24px 14px 14px;
        box-shadow: 0 22px 48px rgba(75, 58, 42, 0.18);
    }

    .subscription-media::before {
        content: "Подписка без шаблонов";
        position: absolute;
        top: 13px;
        left: 13px;
        z-index: 2;
        padding: 8px 11px;
        border: 1px solid rgba(255, 255, 255, 0.62);
        border-radius: 999px;
        background: rgba(255, 253, 248, 0.86);
        color: var(--vetka-green);
        font: 750 9px/1 "Inter", sans-serif;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        backdrop-filter: blur(10px);
    }

    .subscription-note {
        bottom: 48px;
    }

    .subscription-content {
        position: relative;
        z-index: 3;
        margin: -34px 8px 0;
        padding: 22px 18px 20px;
        border: 1px solid rgba(111, 127, 72, 0.14);
        border-radius: 22px;
        background: rgba(255, 253, 248, 0.96);
        box-shadow: 0 18px 38px rgba(75, 58, 42, 0.12);
        backdrop-filter: blur(16px);
    }

    .subscription-content .section-title {
        font-size: clamp(31px, 9vw, 38px);
    }

    .subscription-content p {
        margin-bottom: 17px;
        color: #625b53;
        font-size: 13px;
        line-height: 1.58;
    }

    .subscription-mini-gallery {
        display: none;
    }

    .subscription-points {
        margin-bottom: 17px;
    }

    .subscription-content .btn {
        box-shadow: 0 10px 24px rgba(111, 127, 72, 0.2);
    }
}

@media screen and (max-width: 360px) {
    .mobile-header-city {
        display: none;
    }

    .header {
        justify-content: space-between;
    }

    .subscription-content {
        margin-right: 4px;
        margin-left: 4px;
        padding-right: 15px;
        padding-left: 15px;
    }
}

.bonus-badge.bonus-hidden {
    display: none !important;
}

/* Final corrective override — deliberately last in the cascade. */
@media screen and (max-width: 768px) {
    .mobile-header-city {
        display: none !important;
    }

    .hero-content {
        padding: 8px 0 4px;
        background: none;
    }

    .hero-branch-decor {
        top: 70px;
        left: 42%;
        width: 112%;
        opacity: 0.085;
        filter: saturate(0.5) brightness(1.2);
    }

    .flower-subscription {
        gap: 14px;
        background: linear-gradient(155deg, #f4ede3, #eef1e3 62%, #f7eee9);
    }

    .subscription-media {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        border: 1px solid rgba(111, 127, 72, 0.13);
        border-radius: 22px;
        background: rgba(255, 253, 248, 0.96);
        box-shadow: 0 16px 36px rgba(75, 58, 42, 0.12);
    }

    .subscription-media img {
        width: 100%;
        height: 230px;
        min-height: 230px;
        border-radius: 0;
        object-fit: cover;
    }

    .subscription-note {
        position: static;
        inset: auto;
        margin: 0;
        padding: 14px 16px 15px;
        border: 0;
        border-top: 1px solid rgba(111, 127, 72, 0.12);
        border-radius: 0;
        background: rgba(255, 253, 248, 0.98);
        box-shadow: none;
        backdrop-filter: none;
    }

    .subscription-note strong {
        font-size: 21px;
    }

    .subscription-note small {
        margin-top: 5px;
        font-size: 11px;
    }

    .subscription-content {
        margin: 0;
        padding: 20px 18px;
        border-radius: 22px;
        box-shadow: 0 14px 32px rgba(75, 58, 42, 0.1);
    }
}

.bonus-badge.bonus-hidden {
    display: none !important;
}

/* Botanical placement stays last so mobile legacy rules cannot fade it away. */
.catalog.catalog-gateway::after {
    right: -68px;
    bottom: 12px;
    width: 350px;
    height: 510px;
    opacity: 0.18;
}

@media screen and (max-width: 768px) {
    .catalog.catalog-gateway::before {
        top: 118px;
        left: -58px;
        width: 158px;
        height: 190px;
        opacity: 0.12;
    }

    .catalog.catalog-gateway::after {
        top: 206px;
        right: -66px;
        bottom: auto;
        width: 180px;
        height: 263px;
        opacity: 0.12;
    }

    .constructor-teaser::before,
    .delivery-service::before,
    .flower-subscription::before,
    .care-section::before,
    .school::before,
    .reviews-section::before {
        width: 150px;
        height: 190px;
        opacity: 0.105;
    }

    .constructor-teaser::before { top: 28px; right: -60px; }
    .delivery-service::before { top: 30px; left: -57px; }
    .flower-subscription::before { top: 42px; right: -56px; }
    .care-section::before { top: 92px; left: -60px; }
    .school::before { top: 42px; right: -60px; }
    .reviews-section::before { top: 70px; left: -58px; }

    .constructor-teaser::after,
    .delivery-service::after,
    .care-section::after,
    .reviews-section::after,
    .footer::before {
        display: none;
    }
}

/* Final visual rhythm: concise metadata and a lighter bouquet-day card. */
.geo-street {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .01em;
}

.bonus-kicker {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: .085em;
}

.product-footer .price,
.course-price,
.price--request,
.promo-badge-btn .badge-price,
.promo-badge-btn .badge-old-price,
.promo-badge-btn .badge-discount,
#bouquetDayCard .promo-badge-btn .badge-price,
#bouquetDayCard .promo-badge-btn .badge-old-price,
#bouquetDayCard .promo-badge-btn .badge-discount {
    font-family: "Inter", sans-serif;
    font-variant-numeric: tabular-nums;
}

#bouquetDayCard .promo-badge-btn {
    background: rgba(255, 253, 248, .76);
    border-color: rgba(255, 255, 255, .72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 650px;
}

.hero-features .feature-item {
    min-width: 0;
    padding: 0 18px;
}

.hero-features .feature-item:first-child {
    padding-left: 0;
}

.hero-features .feature-item + .feature-item {
    padding-left: 18px;
    border-left: 1px solid var(--vetka-line);
}

.feature-num {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: -.035em;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .hero-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
    }

    .hero-features .feature-item {
        min-height: 64px;
        padding: 0 8px;
    }

    .hero-features .feature-item + .feature-item {
        padding-left: 8px;
    }

    .feature-num { font-size: 22px; }
    .feature-txt { font-size: 8px; }

    #bouquetDayCard .promo-badge-btn {
        background: rgba(255, 253, 248, .82);
    }
}

@media (max-width: 380px) {
    .hero-features .feature-item { padding: 0 5px; }
    .feature-num { font-size: 20px; }
    .feature-txt { font-size: 7.5px; letter-spacing: .045em; }
}

@supports (content-visibility: auto) {
    .constructor-teaser,
    .flower-subscription,
    .delivery-service,
    .care-section,
    .school,
    .reviews-section,
    .footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }
}

/* Long Telegram captions stay tidy without hiding the bouquet. */
#bouquetDayCard .promo-badge-btn {
    width: min(300px, calc(100% - 30px));
    min-height: 0;
    padding: 9px 16px;
    white-space: normal;
    text-align: center;
}

#bouquetDayCard .badge-line {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    font-size: 15px;
    line-height: 1.14;
}

#bouquetDayCard .badge-tag {
    font-size: 10px;
}

#bouquetDayCard .badge-offer {
    width: 172px;
    min-height: 43px;
    margin-top: 1px;
}

#bouquetDayCard .badge-old-price {
    font-size: 10.5px;
}

#bouquetDayCard .badge-price {
    font-size: 23px;
}

#bouquetDayCard .badge-discount {
    padding: 5px 7px;
    font-size: 10px;
}

#bouquetDayCard .badge-action {
    font-size: 9px;
}

.mobile-catalog-all-link,
.footer-back-to-top {
    display: none;
}

@media (max-width: 768px) {
    .mobile-catalog-all-link {
        min-height: 52px;
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 18px;
        border: 1px solid rgba(111, 127, 72, .25);
        border-radius: 16px;
        color: var(--vetka-cream);
        background: var(--vetka-ink);
        box-shadow: 0 12px 24px rgba(48, 42, 36, .12);
        font: 700 13px/1 "Inter", sans-serif;
        text-decoration: none;
    }

    .mobile-catalog-all-link span {
        font-size: 18px;
        transition: transform .2s ease;
    }

    .mobile-catalog-all-link:active span {
        transform: translateX(3px);
    }

    #bouquetDayCard .badge-line {
        font-size: 14px;
        line-height: 1.13;
    }

    .hero-slide .promo-badge-btn {
        bottom: 14px;
        min-height: 0;
    }

    .slides-container {
        height: var(--mobile-slide-image-height);
    }

    #bouquetDayCard .promo-badge-btn {
        bottom: 14px;
        min-height: 0;
        padding: 8px 12px;
    }

    #bouquetDayCard .badge-offer {
        width: 160px;
        min-height: 40px;
    }

    #bouquetDayCard .badge-price {
        font-size: 20px;
    }

    .footer-back-to-top {
        min-height: 52px;
        margin: 0 0 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 1px solid rgba(111, 127, 72, .28);
        border-radius: 16px;
        color: var(--vetka-cream);
        background: var(--vetka-ink);
        font: 700 13px/1 "Inter", sans-serif;
        text-decoration: none;
    }

    .footer-back-to-top span {
        font-size: 18px;
    }

    .catalog.catalog-gateway {
        padding-top: 74px;
        overflow: hidden;
    }

    .catalog.catalog-gateway .catalog-featured {
        width: auto;
        max-width: none;
        margin-right: 14px;
        margin-left: 14px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        scroll-snap-type: none;
    }

    .catalog.catalog-gateway .catalog-featured .category-card,
    .catalog.catalog-gateway .catalog-featured .category-card:nth-child(2),
    .catalog.catalog-gateway .catalog-featured .category-card:nth-child(3),
    .catalog.catalog-gateway .catalog-featured .category-card:nth-child(4) {
        width: auto;
        min-width: 0;
        flex: initial;
        scroll-snap-align: none;
    }

    .catalog.catalog-gateway .catalog-featured .category-card:first-child,
    .catalog.catalog-gateway .catalog-featured .category-card:nth-child(4) {
        grid-column: 1 / -1;
    }

    .catalog.catalog-gateway .catalog-featured .category-card:nth-child(2) {
        grid-column: 1 / 2;
    }

    .catalog.catalog-gateway .catalog-featured .category-card:nth-child(3) {
        grid-column: 2 / 3;
    }
}

/* Final constructor overrides: keep the photo choices tactile and clear on all screen sizes. */
.constructor-step .options-row--base {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.constructor-photo-option {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 86px;
    padding: 7px;
    overflow: hidden;
    color: var(--vetka-ink);
    text-align: left;
}

.constructor-photo-option img {
    width: 64px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
}

.constructor-photo-option span,
.constructor-accent-option span,
.constructor-palette-option span {
    position: relative;
    z-index: 1;
}

.constructor-photo-option span {
    padding-right: 6px;
    font: 800 12px/1.18 "Inter", sans-serif;
}

.constructor-photo-option.active-opt {
    color: var(--vetka-cream);
    border-color: var(--vetka-green);
    background: linear-gradient(135deg, var(--vetka-green), #4e5d34);
    box-shadow: 0 12px 22px rgba(80, 101, 48, .22);
}

.constructor-photo-option.active-opt::after {
    top: 9px;
    right: 9px;
    background: var(--vetka-cream);
    box-shadow: 0 0 0 3px rgba(255, 253, 248, .2);
}

.constructor-step .options-row--flower {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.constructor-accent-option {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 48px;
    padding: 7px;
    color: var(--vetka-ink);
    text-align: left;
}

.constructor-accent-option img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.constructor-accent-option span {
    overflow: hidden;
    font: 700 10px/1.1 "Inter", sans-serif;
    text-overflow: ellipsis;
}

.constructor-accent-option.active-opt {
    color: var(--vetka-cream);
    background: var(--vetka-green);
    border-color: var(--vetka-green);
    box-shadow: 0 8px 18px rgba(80, 101, 48, .18);
}

.constructor-accent-option.active-opt::after,
.constructor-palette-option.active-opt::after {
    display: none;
}

.constructor-step .options-row--character {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.constructor-palette-option {
    min-height: 76px;
    padding: 0;
    overflow: hidden;
    border-color: rgba(48, 42, 36, .14);
    color: var(--vetka-cream);
    background: var(--vetka-ink);
}

.constructor-palette-option img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    transition: transform .25s ease, opacity .25s ease;
}

.constructor-palette-option span {
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding: 0 10px 10px;
    background: linear-gradient(0deg, rgba(30, 27, 24, .72), rgba(30, 27, 24, 0) 72%);
    font: 800 11px/1 "Inter", sans-serif;
}

.constructor-palette-option:hover img,
.constructor-palette-option.active-opt img {
    opacity: .9;
    transform: scale(1.06);
}

.constructor-palette-option.active-opt {
    border-color: var(--vetka-green);
    background: var(--vetka-ink);
    box-shadow: 0 0 0 2px var(--vetka-cream), 0 0 0 4px var(--vetka-green), 0 12px 24px rgba(80, 101, 48, .22);
}

.constructor-step .opt-btn[data-val="other"] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-style: dashed;
    font: 700 11px/1.1 "Inter", sans-serif;
}

@media (max-width: 768px) {
    .constructor-step .options-row--base,
    .constructor-step .options-row--flower,
    .constructor-step .options-row--character {
        display: grid;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .constructor-step .options-row--base,
    .constructor-step .options-row--flower {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .constructor-photo-option {
        grid-template-columns: 1fr;
        align-content: end;
        min-height: 116px;
        padding: 0;
        color: var(--vetka-cream);
        background: var(--vetka-ink);
    }

    .constructor-photo-option::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(30, 27, 24, .76), rgba(30, 27, 24, .04) 72%);
        z-index: 1;
    }

    .constructor-photo-option img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        opacity: .86;
    }

    .constructor-photo-option span {
        z-index: 2;
        padding: 0 10px 11px;
        font-size: 11px;
    }

    .constructor-photo-option.active-opt {
        border-color: var(--vetka-green);
        background: var(--vetka-ink);
        box-shadow: 0 0 0 2px var(--vetka-cream), 0 0 0 4px var(--vetka-green);
    }

    .constructor-accent-option {
        min-height: 50px;
    }

    .constructor-accent-option span {
        font-size: 10px;
    }

    .constructor-palette-option {
        min-height: 74px;
    }

    .constructor-palette-option span {
        padding: 0 7px 9px;
        font-size: 10px;
    }
}

/* Last-word mobile placement: bonus stays visible, but never covers the constructor header. */
@media (max-width: 768px) {
    .bonus-badge,
    .bonus-badge.bonus-compact {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        margin: 20px 0 0 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Конструктор пока не открыт: показываем живой «экран за витриной», а не незавершённый интерфейс. */
.constructor-teaser--soon .constructor-soon-stage {
    position: relative;
    min-height: 590px;
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid rgba(117, 137, 72, .22);
    border-radius: 30px;
    background: rgba(255, 253, 248, .58);
    box-shadow: 0 20px 50px rgba(74, 61, 45, .08);
}

.constructor-teaser--soon .constructor-mobile-progress,
.constructor-teaser--soon .constructor-block {
    filter: blur(7px) saturate(.72);
    opacity: .34;
    pointer-events: none;
    user-select: none;
}

.constructor-teaser--soon .constructor-block {
    padding: 26px;
}

.constructor-soon-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(125deg, rgba(255, 253, 248, .35), rgba(246, 242, 231, .7));
    pointer-events: none;
}

.constructor-soon-card {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: min(460px, calc(100% - 40px));
    padding: 34px 36px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(117, 137, 72, .32);
    border-radius: 24px;
    color: var(--vetka-ink);
    background: rgba(255, 253, 248, .92);
    box-shadow: 0 20px 52px rgba(61, 49, 34, .16);
    text-align: center;
    backdrop-filter: blur(16px);
}

.constructor-soon-card > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--vetka-green);
    font: 800 10px/1 "Inter", sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.constructor-soon-card h3 {
    margin: 0;
    font: 700 clamp(30px, 3vw, 42px)/1.04 "Playfair Display", serif;
}

.constructor-soon-card p {
    max-width: 340px;
    margin: 14px auto 22px;
    color: #6f675d;
    font: 500 14px/1.55 "Inter", sans-serif;
}

.constructor-soon-card button {
    min-height: 48px;
    padding: 13px 21px;
    border: 0;
    border-radius: 999px;
    color: var(--vetka-cream);
    background: var(--vetka-green);
    box-shadow: 0 12px 24px rgba(80, 101, 48, .22);
    font: 800 13px/1.1 "Inter", sans-serif;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.constructor-soon-card button:hover {
    background: #4e5d34;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .constructor-teaser--soon .constructor-soon-stage {
        min-height: 420px;
        margin-top: 22px;
        border-radius: 24px;
    }

    .constructor-teaser--soon .constructor-block {
        padding: 12px;
    }

    .constructor-soon-card {
        width: calc(100% - 28px);
        padding: 28px 22px;
        border-radius: 21px;
    }

    .constructor-soon-card h3 {
        font-size: 30px;
    }

    .constructor-soon-card p {
        font-size: 13px;
    }

    .constructor-soon-card button {
        width: 100%;
    }
}
