.hb{--green:#193c38;--paper:#f7f4ee;--pink:#bd4b76;--sand:#e9e3d7;color:var(--green);font-family:Arial,Helvetica,sans-serif}.hb-shell{width:min(1160px,calc(100% - 40px));margin:auto}.hb h1,.hb h2,.hb h3,.hb p{margin-top:0}.hb h1,.hb h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.055em;line-height:.98}.hb h1{font-size:clamp(48px,7vw,86px);max-width:720px}.hb h2{font-size:clamp(38px,5vw,62px);max-width:650px}.hb h3{font-size:21px;line-height:1.1;margin-bottom:12px}.hb a{color:inherit}.hb-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:700}.hb-intro,.hb-lead{font-size:18px;line-height:1.4;max-width:470px}.hb-button{display:inline-block;padding:15px 27px;border-radius:99px;background:var(--green);color:white;text-decoration:none;font-size:15px}.hb-hero{position:relative;min-height:620px;display:flex;align-items:end;background:#222;overflow:hidden}.hb-hero__image{position:absolute;inset:0}.hb-hero__image img{width:100%;height:100%;object-fit:cover;display:block}.hb-hero__content{position:relative;padding:90px 0;color:#fff}.hb-hero__content .hb-kicker{margin-bottom:22px}.hb-hero__content .hb-lead{margin:26px 0 32px}.hb-hero .hb-button{background:var(--pink)}.hb-services,.hb-locations,.hb-features,.hb-reviews,.hb-faq{padding:100px 0}.hb-services{position:relative;padding:80px 0 100px;background:var(--hb-bg-color,#fdfbf9);color:#1d1d1d}.hb-services .hb-shell{width:min(1160px,calc(100% - 52px));margin:0 auto}.hb-services__head{margin:0 auto 50px;text-align:var(--hb-title-align,center)}.hb-services__title{margin:0;font:400 var(--hb-title-size,54px)/.98 "Wremena",Georgia,serif;letter-spacing:-.08em;text-transform:uppercase}.hb-services__text{margin:14px 0 0;text-align:var(--hb-text-align,center);font:400 16px/19px Inter,Arial,sans-serif}.hb-services__tabs{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 var(--hb-tab-gap,48px);margin:0 auto 36px;padding:0}.hb-services__tab{padding:0 0 5px;border:0;border-bottom:1px solid transparent;background:transparent;opacity: 76%;color:var(--hb-tab-color,#1d1d1d);font:400 var(--hb-tab-size,16px)/1 Inter,Arial,sans-serif;cursor:pointer;transition:opacity .2s ease, border-bottom-color .2s ease;text-decoration:none}.hb-services__tab.is-active,.hb-services__tab:hover{border-bottom-color:var(--hb-tab-active,#1d1d1d);opacity:1;}.hb-services__grid{display:grid;grid-template-columns:repeat(var(--hb-columns,3),minmax(0,1fr));gap:var(--hb-card-gap,32px)}.hb-service{position:relative;display:flex;flex-direction:column;min-height:0;padding:var(--hb-card-padding,0);background:var(--hb-card-bg,#ffffff);border:var(--hb-card-border,0);border-radius:var(--hb-card-radius,20px);overflow:visible;box-shadow:var(--hb-card-shadow,none);gap:var(--hb-card-item-gap,0)}.hb-service__art{aspect-ratio: 1.18;margin:0;overflow:hidden;border-radius:12px;background:#e9e0d5}.hb-service__art img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;transition: scale .5s ease;}.hb-service h3{max-width:100%;margin:0 0 var(--hb-title-price-gap,10px);font:400 var(--hb-item-title-size,24px)/1.2 "Wremena",Georgia,serif;letter-spacing:-.03em;text-transform:none;text-align:var(--hb-item-title-align,left);color:#1d1d1d}.hb-service__price{margin:0;color:#696e6b;font:400 var(--hb-item-text-size,14px)/1.6 Inter,Arial,sans-serif}.hb-service__price strong{font-weight:500;color:#1d1d1d}.hb-service__action{display:none!important}@media(max-width:1024px){.hb-services__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hb-services__title{font-size:48px}}@media(max-width:760px){.hb-services{padding:60px 0 80px}.hb-services .hb-shell{width:calc(100% - 20px)}.hb-services__head{margin-bottom:30px}.hb-services__title{font-size:32px;letter-spacing:-.05em}.hb-services__tabs{justify-content:flex-start;gap:20px;overflow:auto}.hb-services__grid{grid-template-columns:1fr;gap:20px}.hb-service h3{font-size:18px;margin-bottom:6px}}.hb-locations{background:var(--green);color:#f8f4eb}.hb-split{display:flex;justify-content:space-between;gap:50px;margin-bottom:44px}.hb-split .hb-intro{margin-top:15px}.hb-locations__list{display:grid;grid-template-columns:repeat(3,1fr);}.hb-location{background:#f8f4eb;color:var(--green);border-radius:16px;overflow:hidden}.hb-location__map{height:160px;background:linear-gradient(135deg,#a4b6ae,#d8d3c3);display:flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:28px}.hb-location p{font-size:14px;}.hb-location a{display:flex;text-decoration:none;border-bottom:1px solid var(--pink);font-size:16px}.hb-features{background:#ede8dd}.hb-grid--features{grid-template-columns:repeat(4,1fr)}.hb-grid--features article{min-height:190px;padding:22px;background:#f7f4ee;border-radius:14px}.hb-grid--features span{display:block;font-size:24px;color:var(--pink);margin-bottom:30px}.hb-grid--features p{color:#596762;font-size:14px}.hb-reviews{background:var(--paper)}.hb-grid--reviews{grid-template-columns:repeat(3,1fr)}.hb-grid--reviews blockquote{padding:24px;margin:0;background:#fff;border-radius:16px;display:flex;flex-direction:column;min-height:270px}.hb-stars{color:#e39a39;letter-spacing:2px}.hb-grid--reviews blockquote p{margin:22px 0;font-size:16px}.hb-grid--reviews cite{font-style:normal;font-weight:bold;margin-top:auto}.hb-grid--reviews a{font-size:16px;margin-top:14px}.hb-faq{background:#e2e9e4}.hb-faq__list{margin-top:35px;border-top:1px solid rgba(25,60,56,.25)}.hb-faq details{border-bottom:1px solid rgba(25,60,56,.25);padding:0 0 18px}.hb-faq summary{padding:20px 0 0;cursor:pointer;font-size:19px;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:20px}.hb-faq summary span{color:var(--pink);font-size:24px;font-weight:400}.hb-faq details[open] summary span{transform:rotate(45deg)}.hb-faq details p{max-width:700px;margin:14px 0 0}.hb-lead-form{padding:100px 0;background:var(--green)}.hb-lead-form__card{max-width:720px;margin:auto;padding:40px !important;background:#eee7dd;border-radius:24px;text-align:center}.hb-lead-form__card h2{max-width: unset!important;}.hb-lead-form__card>p:not(.hb-kicker){max-width:520px;margin:0 auto 30px}.hb-lead-form form{display:grid;grid-template-columns:1fr auto;gap:10px;max-width:540px;margin:auto}.hb-lead-form input,.hb-lead-form button{height:52px;border-radius:8px;font:inherit}.hb-lead-form input{border:1px solid #bec5bd;padding:0 16px}.hb-lead-form button{border:0;background:var(--pink);color:#fff;padding:0 25px;cursor:pointer}.hb-lead-form small{grid-column:1/-1;text-align:left;font-size:11px;color:#69736e}@media(max-width:760px){.hb-shell{width:calc(100% - 20px)}.hb-hero{min-height:590px}.hb-hero__content{padding:65px 0}.hb-hero__content .hb-lead{font-size:17px}.hb-services,.hb-locations,.hb-features,.hb-reviews,.hb-faq,.hb-lead-form{padding:64px 0}.hb-grid--services,.hb-locations__list,.hb-grid--reviews{grid-template-columns:1fr}.hb-grid--features{grid-template-columns:1fr 1fr;gap:10px}.hb-grid--features article{min-height:160px;padding:16px}.hb-grid--features span{margin-bottom:20px}.hb-grid--features h3{font-size:17px}.hb-split{display:block;margin-bottom:30px}.hb-split .hb-intro{font-size:16px}.hb-service{min-height:310px}.hb-location__map{height:130px}.hb-lead-form__card{padding:38px 20px}.hb-lead-form form{grid-template-columns:1fr}.hb-lead-form small{text-align:center}}
.hb-location__book {
    border-bottom: 0px !important;
    color: white !important;
}
.hb-lead-form__card .hb-kicker {
    display: none !important;
}


.hb-promo-card a {font-size: 16px !important;}

/* Услуги — мобильная сетка карточек и табов. */
@media (max-width: 760px) {
    .hb.hb-services .hb-shell {
        width: calc(100% - 20px) !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .hb-promo-card a {font-size: 14px !important;}

    .hb.hb-services .hb-services__head {
        margin-bottom: 28px !important;
    }

    .hb.hb-services .hb-services__title {
        font-size: 20px !important;
    }

    .hb.hb-services .hb-services__tabs {
        display: flex !important;
        gap: 16px 10px !important;
        width: 100%;
        margin: 0 auto 32px !important;
        overflow: visible !important;
        flex-wrap: wrap;
        max-width: 70%;
    }

    .hb.hb-services .hb-services__tab {
        min-width: 0;
        padding: 0 2px 5px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        white-space: normal;
        text-align: center;
    }

    .hb.hb-services .hb-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .hb.hb-services .hb-service {
        display: flex;
        flex-direction: column;
        min-height: 330px !important;
        /*height: 330px;*/
        padding: 10px 10px 14px !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    .hb.hb-services .hb-service__art {
        flex: 0 0 auto;
        width: 100% !important;
        margin: 0 !important;
    }

    .hb.hb-services .hb-service h3 {
        margin: 12px 0 0 !important;
        font-size: 16px !important;
        line-height: 1.08 !important;
    }

    .hb.hb-services .hb-service__price {
        margin: auto 0 0 !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .hb.hb-services {
        background-image: none !important;
    }

    .hb.hb-services .hb-services__pagination {
        align-items: center;
        flex-wrap: nowrap;
        gap: 20px;
        margin-top: 32px;
    }

    .hb.hb-services .hb-services__page {
        min-width: 0;
        width: auto;
        height: 32px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #777;
        font-size: 18px;
        line-height: 32px;
    }

    .hb.hb-services .hb-services__page:hover,
    .hb.hb-services .hb-services__page.is-active {
        border: 0;
        background: transparent;
        color: #191919;
    }

    .hb.hb-services .hb-services__page.is-active {
        font-weight: 500;
    }

    .hb.hb-services .hb-services__page--arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        flex: 0 0 32px;
        color: #191919;
    }

    .hb.hb-services .hb-services__page--arrow svg {
        display: block;
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
}

@media (max-width: 760px) {
    .hb-reviews__badges {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
        margin-top: 16px !important;
    }

    .hb-reviews__badge {
        grid-template-columns: 34px minmax(0, 1fr) !important;
        gap: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 76px !important;
        height: auto !important;
        margin-top: 0 !important;
        padding: 8px !important;
        border-radius: 9px !important;
    }

    .hb-reviews__badge-brand {
        gap: 3px !important;
    }

    .hb-reviews__badge-brand img {
        width: 28px !important;
        height: 28px !important;
    }

    .hb-reviews__badge-brand b {
        max-width: 34px !important;
        font-size: 7px !important;
        line-height: 1.05 !important;
    }

    .hb-reviews__badge-main {
        gap: 4px !important;
    }

    .hb-reviews__badge-score {
        font-size: 20px !important;
    }

    .hb-reviews__badge-divider {
        height: 26px !important;
    }

    .hb-reviews__badge-count {
        font-size: 8px !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }

    .hb-reviews__badge-stars {
        margin-top: -2px !important;
        font-size: 11px !important;
        letter-spacing: 1px !important;
    }
}

.hb-location__more {
    text-decoration: underline !important;
    border-bottom: 0px !important;
    transition: text-decoration .2s ease;
}
.hb-location__more:hover {text-decoration: underline transparent !important;}

/* Все секции Hairisma рисуют фон на 100% ширины. Внутренний контент имеет
   только обязательные поля по 20px и больше не ограничивается 1160px. */
.hb-header,.hb-footer,.hb-hero,.hb-lead-form,.hb-locations,.hb-services,.hb-results,.hb-method,.hb-wheel,.hb-team,.hb-features,.hb-quiz,.hb-certificates,.hb-promos,.hb-faq,.hb-reviews,.hb-showcase,.hb-memberships,.hb-landing{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
.hb-shell,.hb-services .hb-shell,.hb-landing__shell,.hb-header__inner,.hb-footer__inner{width: 100% !important;max-width:none!important;box-sizing:border-box}
/* No implicit theme gap between Hairisma sections. Explicit block margin
   controls are applied inline by borders.php and therefore still work. */
:is(.hb,.hr,.hbb,.hb-header,.hb-footer,.hb-landing)+:is(.hb,.hr,.hbb,.hb-header,.hb-footer,.hb-landing){margin-block-start:0!important}

.hb-shell {
    width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
/* Hairisma services: extended controls */
.hb-services{border-radius:var(--hb-block-radius,0)}
.hb .hb-services__title{font-family:var(--hb-title-family,"Wremena"),Georgia,serif;font-weight:var(--hb-title-weight,400);text-transform:var(--hb-title-transform,uppercase);letter-spacing:var(--hb-title-tracking,-.08em);text-align:var(--hb-title-align,center);font-size:var(--hb-title-size,54px);line-height:.98;max-width:none}
.hb .hb-services__text{text-align:var(--hb-text-align,center)}
.hb .hb-service h3{font-family:var(--hb-item-title-family,"Wremena"),Georgia,serif;font-weight:var(--hb-item-title-weight,400);text-transform:var(--hb-item-title-transform,none);letter-spacing:var(--hb-item-title-tracking,-.03em);color:var(--hb-item-title-color,#1d1d1d);}
.hb .hb-service__price{font-family:var(--hb-item-text-family,Inter),Arial,sans-serif;font-weight:var(--hb-item-text-weight,400);text-transform:var(--hb-item-text-transform,none);letter-spacing:var(--hb-item-text-tracking,0);color:var(--hb-item-text-color,#696e6b);margin-top: auto;}
.hb .hb-service__art{width:var(--hb-image-width,100%);border-radius:var(--hb-image-radius,12px)}
.hb .hb-service__art img{object-fit:var(--hb-image-fit,cover)}
.hb-service{flex-direction:var(--hb-card-direction,column);justify-content:var(--hb-card-justify,flex-start);align-items:var(--hb-card-align,stretch);background-image:var(--hb-card-bg-image,none);background-size:var(--hb-card-bg-size,cover);background-position:var(--hb-card-bg-pos,center);box-shadow: none;transition: box-shadow .2s ease;}
.hb-service:hover {box-shadow: 0 0 30px 1px rgba(0, 0, 0, 0.1);}
.hb-service:hover img{scale:1.05;}
.hb-service::before{content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;background:var(--hb-card-overlay,transparent);pointer-events:none}
.hb-service>*{position:relative;z-index:1}
/* Отступ название → цена: обычный режим задаётся отступом у заголовка,
   режим «цена прижата к низу» растягивает карточку и держит минимальный зазор. */
.hb-service.is-price-bottom .hb-service__price{margin-top:auto;padding-top:var(--hb-title-price-gap,10px)}
.hb-services__pagination{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:20px;margin-top:40px}
.hb-services__page{min-width:0;width:auto;height:32px;padding:0;border:0;border-radius:0;background:transparent;color:#777;font:400 18px/32px Inter,Arial,sans-serif;cursor:pointer;transition:color .2s ease}
.hb-services__page:hover{border:0;background:transparent;color:#191919}
.hb-services__page.is-active{border:0;background:transparent;color:#191919;font-weight:500}
.hb-services__page--arrow{display:inline-flex;align-items:center;justify-content:center;width:32px;flex:0 0 32px;color:#191919}
.hb-services__page--arrow svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}


@media (max-width: 760px) {
    #zapis .hb-shell {
        width: min(1800px, calc(100% - 20px)) !important;
    }

    .hb-lead-split__text h2, .hb-lead-split__text p {
        text-align: center !important;
    }

    .hb-lead-1 .hb-lead-split__card {
            padding: 30px 15px !important;
    }

    #zapis {
        padding-bottom: 30px !important;
    }

    .hb-location {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .hb-locations {
        padding-bottom: 60px !important;
    }

    .hb-services {
        border-radius: 20px 20px 20px 20px !important;
    }

    .hb-services__tabs {
                justify-content: center !important;
        gap: 20px !important;
        overflow: auto !important;
        display: flex !important;
    }

    .hb-results__tabs {
        justify-content: center !important;
        gap: 20px !important;
        overflow: auto !important;
        display: flex !important;
    }

    .hb-features {
        padding: 40px 0 60px !important;
    }

    .hb-features__head h2 {
        font-size: 20px !important;
    }

    .hb-grid--features article {
        min-height: auto !important;
    }

    article[style*="background:#00000000"] {
        display: none !important;
    }

    .hb-quiz__header h2 {
        font-size: 20px !important;
    }

    .hb-quiz {
        padding: 25px 0 188px !important;
    }

    .hb-quiz__manager-notice {
        display: none !important;
    }

    .hb-reviews {
        padding: 35px 0 192px !important;
    }

    .hb-shell h2 {
        font-size: 20px !important;
    }

    #certificate {
        padding-top: 32px;
    }

    #certificate .hb-certificates h2 {
        font-size: 20px !important;
    }

    .hb-certificate a {
        width: 100% !important;
    }

    #promos {
        padding-top: 32px;
    }
}
/* ==================================================================== */
/* Актуальные акции (#promos) — мобильная версия                        */
/* Все значения ниже можно править вручную.                             */
/* ==================================================================== */
@media (max-width: 760px) {
    /* Радиус секции «Актуальные акции» (фон блока).
       Радиус из настроек блока приходит инлайн-стилем с !important
       (border-radius:var(--hb-section-radius)!important), поэтому на мобилке
       мы перекрываем саму переменную. Вторая строка — fallback, если
       инлайн-стиля нет. Оба значения держите одинаковыми. */
    #promos.hb-promos {
        --hb-section-radius: 20px 20px 20px 20px !important;
        border-radius: 20px 20px 20px 20px !important;
    }

    /* Карточки акций: радиус + ширина карточки в слайдере */
    #promos .hb-promo-card {
        border-radius: 10px 10px 10px 10px !important;
        flex: 0 0 85% !important; /* ширина карточки слайдера, % от ширины экрана */
        min-width: 0 !important;
        box-sizing: border-box !important;
        scroll-snap-align: center !important;
    }

    /* Слайдер вместо списка: горизонтальный свайп с прилипанием карточек */
    #promos .hb-promos__grid {
        display: flex !important;
        min-width: 0;
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y pinch-zoom;
        gap: 12px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        /* слайдер растянут на всю ширину shell-грида (заголовок + кнопки сверху) */
        grid-column: 1 / -1 !important;
        /* выезд за 20px-поля .hb-shell, чтобы соседняя карточка
           выглядывала у края экрана; числа держите синхронно */
        margin-left: -20px !important;
        margin-right: -20px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        scrollbar-width: none;
    }

    #promos .hb-promos__grid::-webkit-scrollbar {
        display: none;
    }

    .hb-faq {
        padding-top: 32px !important;
    }

    #final-booking {
        padding-top: 32px !important;
    }

    #promos {
        padding-bottom: 155px;
    }

    .hb-faq .hb-shell {
        padding-top: 0px !important;
    }
}
@media (min-width: 761px) {
    .hb-wheel__branches {
        display: none !important;
    }
}
/* ==================================================================== */
/* FAQ (hb-faq) — мобильная версия: радиусы                             */
/* Все значения ниже можно править вручную.                             */
/* ==================================================================== */
@media (max-width: 760px) {
    /* Радиус секции FAQ (фон блока). Радиус из настроек блока приходит
       инлайн-стилем с !important, поэтому перекрываем переменную.
       Оба значения держите одинаковыми. */
    .hb.hb-faq {
        --hb-section-radius: 14px 14px 14px 14px !important;
        border-radius: 14px 14px 14px 14px !important;
    }

    /* Радиус полупрозрачного контейнера со списком вопросов */
    .hb-faq .hb-shell {
        border-radius: 12px 12px 12px 12px !important;
    }

    /* Радиус вопросов (details) */
    .hb-faq details {
        border-radius: 8px 8px 8px 8px !important;
    }

    /* Финальная заявка (#final-booking): на мобилке сжимаем боковые
       отступы внутреннего контейнера (.hb-shell), чтобы белая карточка
       была ближе к краям секции */
    #final-booking .hb-shell {
        width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Финальная заявка: радиус секции (фон с фото). Радиус из настроек
       блока приходит инлайн-стилем (с !important через переменную),
       поэтому перекрываем переменную. Оба значения держите одинаковыми. */
    #final-booking {
        --hb-section-radius: 20px 20px 20px 20px !important;
        border-radius: 20px 20px 20px 20px !important;
    }


    /* Финальная заявка: радиус внешней карточки split-варианта */
    #final-booking .hb-lead-split__card {
        border-radius: 12px 12px 12px 12px !important;
    }

    /* Финальная заявка: радиус белой панели с формой */
    #final-booking .hb-lead-split__form {
        border-radius: 10px 10px 10px 10px !important;
    }

    /* Финальная заявка: радиус карточки centered-варианта (если используется) */
    #final-booking .hb-lead-form__card {
        border-radius: 12px 12px 12px 12px !important;
    }

    /* Акции: заголовок слева, кнопки-стрелки справа — одна строка */
    #promos .hb-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        column-gap: 12px;
        row-gap: 20px; /* отступ между строкой заголовка и слайдером */
    }

    #promos .hb-shell > h2 {
        grid-column: 1 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    /* Акции: кнопки-стрелки слайдера (аутлайн, только мобильная версия) */
    .hb-promos__nav {
        grid-column: 2 !important;
        display: flex;
        gap: 8px;
        margin: 0;
    }

    .hb-promos__arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 999px;
        background: transparent;
        color: #ffffff; /* стрелки SVG = stroke:currentColor, поэтому белые */
        cursor: pointer;
    }

    .hb-promos__arrow:disabled {
        opacity: 0.35;
        cursor: default;
    }

    .hb-promos__arrow svg {
        display: block;
        width: 18px;
        height: 18px;
    }

    .hb-lead-2 .hb-lead-form__card {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .hb-footer {
        padding: 0px !important;
    }
}

/* Единый мобильный паттерн основных контентных блоков Hairisma. */
@media (max-width: 760px) {
    .hb:is(
        .hb-lead-form,
        .hb-locations,
        .hb-services,
        .hb-results,
        .hb-method,
        .hb-wheel,
        .hb-team,
        .hb-features,
        .hb-quiz,
        .hb-certificates,
        .hb-promos,
        .hb-faq,
        .hb-reviews,
        .hb-showcase,
        .hb-memberships
    ) {
        --hb-section-radius-mobile: 20px 20px 20px 20px !important;
        --hb-section-radius: 20px 20px 20px 20px !important;
        --hb-block-radius: 20px 20px 20px 20px !important;
        padding-top: 32px !important;
        border-radius: 20px 20px 20px 20px !important;
    }

    .hb:is(
        .hb-lead-form,
        .hb-locations,
        .hb-services,
        .hb-results,
        .hb-method,
        .hb-team,
        .hb-features,
        .hb-quiz,
        .hb-certificates,
        .hb-promos,
        .hb-faq,
        .hb-reviews,
        .hb-memberships
    ) h2 {
        font-size: 20px !important;
    }
}

/* Финальная форма: запас остаётся внутри фона, а не под ним. */
@media (max-width: 760px) {
    .hb-block-overlap:has(#final-booking#final-booking) {
        box-sizing: border-box;
        padding-bottom: 0 !important;
    }

    #final-booking#final-booking.hb-lead-form {
        padding-bottom: 80px !important;
        margin-bottom: 0 !important;
    }

    /* Только страницы с финальной формой: не менять футер после FAQ/статей. */
    .wp-site-blocks:has(#final-booking) > footer.wp-block-template-part:has(.hb-footer) {
        position: relative;
        z-index: 3;
        margin-block-start: -40px !important;
    }

    .wp-site-blocks:has(#final-booking) > footer.wp-block-template-part .hb-block-overlap:has(.hb-footer),
    .wp-site-blocks:has(#final-booking) > footer.wp-block-template-part .hb-footer {
        margin-top: 0 !important;
    }

    .hb-footer {
        --hb-section-radius: 20px 20px 0 0 !important;
        --hb-section-radius-mobile: 20px 20px 0 0 !important;
        --hb-section-radius-tl-override: 20px !important;
        --hb-section-radius-tr-override: 20px !important;
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
    }

    .hb-footer .hb-footer__inner {
        border-top-left-radius: 20px !important;
        border-top-right-radius: 20px !important;
    }
}
