.hidden-mnu__box--middle {
    padding: 50px 15px 55px !important;
    border-bottom: 1px solid #ededed;
}


/* ========================================
Sticky header
======================================== */

html,
body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

#pageWrap,
#pageWrap > .main {
    overflow: visible !important;
    transform: none !important;
    filter: none !important;
    perspective: none !important;
    contain: none !important;
}

#masthead.header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0;
    z-index: 99999;
    width: 100%;
    background-color: #ffffff;
}

#masthead .header-top {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

#masthead .header-bottom {
    position: relative;
    z-index: 2;
}

body.admin-bar #masthead.header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #masthead.header {
        top: 46px;
    }
}


/* ========================================
   Homepage contact section
======================================== */

.home-contact-section {
    position: relative;
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
    background-color: #dce7f1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home-contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0, 26, 53, 0.42),
            rgba(0, 26, 53, 0.18)
        );
    pointer-events: none;
}

/* Контейнер поверх фону */

.home-contact-section__inner {
    position: relative;
    z-index: 1;
}

/* Біла картка форми */

.home-contact-section__card {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 42px 48px 46px;
    border-top: 4px solid #f5a340;
    background-color: #ffffff;
    box-shadow: 0 16px 45px rgba(0, 26, 53, 0.2);
    box-sizing: border-box;
}

/* Заголовок */

.home-contact-section__heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.home-contact-section__title {
    margin: 0 0 10px;
    color: #001a35;
    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
}

.home-contact-section__text {
    margin: 0;
    color: #000000;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

/* ========================================
   CF7 form
======================================== */

.home-contact-section__form {
    width: 100%;
}

.home-contact-section__form form {
    margin: 0;
}

.home-contact-section__form .contacts-feedback-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    width: 100%;
}

.home-contact-section__form .contacts-feedback-field,
.home-contact-section__form .contacts-feedback-submit,
.home-contact-section__form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.home-contact-section__form .contacts-feedback-submit {
    grid-column: 1 / -1;
}

/* Поля */

.home-contact-section__form input[type="text"],
.home-contact-section__form input[type="tel"] {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 17px;
    border: 1px solid #c9d1d9;
    border-radius: 0;
    outline: none;
    background-color: #ffffff;
    color: #001a35;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    box-shadow: none;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-contact-section__form input[type="text"]::placeholder,
.home-contact-section__form input[type="tel"]::placeholder {
    color: #747c84;
    opacity: 1;
}

.home-contact-section__form input[type="text"]:focus,
.home-contact-section__form input[type="tel"]:focus {
    border-color: #f5a340;
    box-shadow: 0 0 0 1px #f5a340;
}

/* Кнопка */

.home-contact-section__form input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 14px 24px;
    border: 1px solid #001a35;
    border-radius: 0;
    background-color: #001a35;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    box-sizing: border-box;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.home-contact-section__form input[type="submit"]:hover,
.home-contact-section__form input[type="submit"]:focus {
    border-color: #f5a340;
    background-color: #f5a340;
    color: #fff;
}

/* Повідомлення CF7 */

.home-contact-section__form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #b52f2f;
    font-size: 12px;
    line-height: 1.4;
}

.home-contact-section__form .wpcf7-response-output {
    padding: 0;
    color: #8b0000;
    background-color: #fff;
    border-left: 0px solid #8b0000;
}

.home-contact-section__form form.sent .wpcf7-response-output {
    border-color: #31904b !important;
}

.home-contact-section__form .wpcf7-spinner,
.home-contact-section__form .ajax-loader {
    display: block;
    margin: 12px auto 0;
}

/* ========================================
   Responsive
======================================== */

@media screen and (max-width: 767px) {
    .home-contact-section {
        padding: 54px 0;
    }

    .home-contact-section__card {
        padding: 30px 22px 32px;
    }

    .home-contact-section__heading {
        margin-bottom: 24px;
    }

    .home-contact-section__title {
        font-size: 25px;
    }

    .home-contact-section__text {
        font-size: 15px;
    }

    .home-contact-section__form .contacts-feedback-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .home-contact-section__form .contacts-feedback-submit {
        grid-column: auto;
    }
}

@media screen and (max-width: 480px) {
    .home-contact-section {
        padding: 40px 0;
    }

    .home-contact-section__card {
        padding: 26px 18px 28px;
    }

    .home-contact-section__title {
        font-size: 25px;
    }
}



/* ========================================
   Contacts feedback form
======================================== */

.page-contacts .contacts__title-b {
    flex-direction: column;
    align-items: stretch;
}

/* Address block */

.page-contacts .contacts__title-b > .item {
    width: 100%;
    margin-bottom: 32px;
}

/* Feedback form */

.page-contacts .contacts-feedback {
    width: 100%;
    padding: 13px 0 0 48px;
    box-sizing: border-box;
}

.page-contacts .contacts-feedback__title {
    margin: 0 0 10px;
    color: #001a35;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .03em;
}

.page-contacts .contacts-feedback form {
    margin: 0;
}

.page-contacts .contacts-feedback form p {
    margin: 0 0 14px;
}

.page-contacts .contacts-feedback-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.page-contacts .contacts-feedback-field {
    width: 100%;
    margin: 0;
}

.page-contacts .contacts-feedback .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Inputs */

.page-contacts .contacts-feedback input[type="text"],
.page-contacts .contacts-feedback input[type="tel"] {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #c9d0d7;
    border-radius: 0;
    outline: none;
    background-color: #ffffff;
    color: #001a35;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    box-shadow: none;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.page-contacts .contacts-feedback input[type="text"]::placeholder,
.page-contacts .contacts-feedback input[type="tel"]::placeholder {
    color: #747c84;
    opacity: 1;
}

.page-contacts .contacts-feedback input[type="text"]:focus,
.page-contacts .contacts-feedback input[type="tel"]:focus {
    border-color: #f5a340;
    box-shadow: 0 0 0 1px #f5a340;
}

/* Submit */

.page-contacts .contacts-feedback-submit {
    width: 100%;
    margin-top: 4px;
}

.page-contacts .contacts-feedback input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 13px 20px;
    border: 1px solid #001a35;
    border-radius: 0;
    background-color: #001a35;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    box-sizing: border-box;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.page-contacts .contacts-feedback input[type="submit"]:hover,
.page-contacts .contacts-feedback input[type="submit"]:focus {
    border-color: #f5a340;
    background-color: #f5a340;
    color: #fff;
}

/* CF7 validation */

.page-contacts .contacts-feedback .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #b52f2f;
    font-size: 12px;
    line-height: 1.4;
}

.page-contacts .contacts-feedback .wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #c9d0d7 !important;
    color: #001a35;
    font-size: 13px;
    line-height: 1.5;
}

.page-contacts .contacts-feedback .wpcf7-spinner,
.page-contacts .contacts-feedback .ajax-loader {
    display: block;
    margin: 12px auto 0;
}

/* Tablet and mobile */

@media screen and (max-width: 991px) {
    .page-contacts .contacts__title-b {
        width: 100%;
        margin-left: 0;
    }

    .page-contacts .contacts-feedback {
        padding-left: 38px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 767px) {
    .page-contacts .contacts__title-b > .item {
        margin-bottom: 26px;
    }

    .page-contacts .contacts-feedback {
        padding: 24px 0 0;
    }

    .page-contacts .contacts-feedback__title {
        font-size: 17px;
    }
}

/* ========================================
   Contacts: correct address/form/map grid
======================================== */

@media screen and (min-width: 992px) {

    .page-contacts .contacts-wrap:last-child {
        display: grid !important;
        grid-template-columns:
            minmax(0, 40%)
            minmax(0, calc(60% - 70px));
        column-gap: 70px;
        align-items: start;
        overflow: visible !important;
    }

    /* Ліва колонка: адреса + форма */

    .page-contacts .contacts__title-b {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: auto !important;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Карта */

    .page-contacts .contacts-map {
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        box-sizing: border-box;
    }
}

/* ========================================
   Prevent CF7 form overflow
======================================== */

.page-contacts .contacts-feedback,
.page-contacts .contacts-feedback__form,
.page-contacts .contacts-feedback .wpcf7,
.page-contacts .contacts-feedback form,
.page-contacts .contacts-feedback-fields,
.page-contacts .contacts-feedback-field,
.page-contacts .contacts-feedback-submit,
.page-contacts .contacts-feedback p,
.page-contacts .contacts-feedback .wpcf7-form-control-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.page-contacts .contacts-feedback input[type="text"],
.page-contacts .contacts-feedback input[type="tel"],
.page-contacts .contacts-feedback input[type="submit"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.page-contacts .contacts-map iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    border: 0;
}



/* ========================================
   Contacts and delivery page titles
======================================== */

.page-contacts .main-title,
.page-delivery2 .main-title {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    width: 100%;
    margin: 64px 0 46px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Прибираємо стару довгу лінію контейнера */

.page-contacts .main-title::before,
.page-contacts .main-title::after,
.page-delivery2 .main-title::before,
.page-delivery2 .main-title::after {
    content: none !important;
    display: none !important;
}

/* Лінія тільки за шириною тексту */

.page-contacts .main-title .h2,
.page-delivery2 .main-title .h2 {
    position: relative;
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 0 12px !important;
    border: 0 !important;
    border-bottom: 2px solid #001a35 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    box-sizing: border-box;
}

.page-contacts .main-title .h2::before,
.page-contacts .main-title .h2::after,
.page-delivery2 .main-title .h2::before,
.page-delivery2 .main-title .h2::after {
    content: none !important;
    display: none !important;
}


/* ========================================
   Delivery page
======================================== */

.page-delivery2 {
    width: 100%;
    padding: 0 0 64px;
    background-color: #f3f4f5;
}

.page-delivery2 .delivery-page {
    width: 100%;
    background-color: transparent;
}

.page-delivery2 .delivery-page > .cn {
    padding-top: 94px;
    padding-bottom: 52px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.page-delivery2 .main-title {
    margin-top: 0 !important;
    margin-bottom: 46px !important;
}

/* Основний блок */

.page-delivery2 .delivery-page__panel {
    width: 100%;
    padding: 42px;
    border: 1px solid #dfe4e8;
    background-color: #ffffff;
    box-shadow: none;
    box-sizing: border-box;
}

.page-delivery2 .delivery-page__service {
    width: 100%;
    min-width: 0;
}

.page-delivery2 .delivery-page__service-head {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    width: 100%;
}

.page-delivery2 .delivery-page__service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    min-width: 0;
    box-sizing: border-box;
}

.page-delivery2 .delivery-page__service-icon img {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.page-delivery2 .delivery-page__service-copy {
    min-width: 0;
}

.page-delivery2 .delivery-page__service-title {
    margin: 0;
    color: #001a35;
    font-family: "Montserrat", sans-serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

/* ========================================
   Carrier logos
======================================== */

.page-delivery2 .delivery-page__carriers {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 34px;
}

.page-delivery2 .delivery-page__carrier {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 108px;
    padding: 18px;
    border: 1px solid #e1e5e8;
    background-color: #fafbfc;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.page-delivery2 .delivery-page__carrier:hover {
    border-color: #f5a340;
    box-shadow: 0 7px 20px rgba(0, 26, 53, 0.08);
    transform: translateY(-2px);
}

.page-delivery2 .delivery-page__carrier img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 62px;
    object-fit: contain;
}

/* Розділювач */

.page-delivery2 .delivery-page__divider {
    width: 100%;
    height: 1px;
    margin: 42px 0;
    background-color: #dfe4e8;
}

/* ========================================
   Pickup address
======================================== */

.page-delivery2 .delivery-page__pickup-address {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    width: 100%;
    max-width: 760px;
    margin-top: 22px;
    padding: 18px 22px;
    border: 1px solid #e1e5e8;
    border-left: 4px solid #f5a340;
    background-color: #fafbfc;
    box-sizing: border-box;
}

/* Маркер адреси */

.page-delivery2 .delivery-page__pickup-marker {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #f5a340;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-sizing: border-box;
}

.page-delivery2 .delivery-page__pickup-marker::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #f5a340;
}

/* Текст адреси */

.page-delivery2 .delivery-page__pickup-text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    min-width: 0;
    color: #565d64;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.55;
}

.page-delivery2 .delivery-page__pickup-city {
    color: #001a35;
    font-weight: 600;
}

.page-delivery2 .delivery-page__pickup-city::after {
    content: ",";
}

.page-delivery2 .delivery-page__pickup-text address {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
    font-style: normal;
}

/* ========================================
   Optional map
======================================== */

.page-delivery2 .delivery-page__map {
    width: 100%;
    min-height: 380px;
    margin-top: 32px;
    overflow: hidden;
    border: 1px solid #dfe4e8;
    background-color: #e9edf0;
    box-sizing: border-box;
}

.page-delivery2 .delivery-page__map .acf-map {
    width: 100%;
    height: 380px;
    min-height: 380px;
    margin: 0;
}

.page-delivery2 .delivery-page__map iframe {
    display: block;
    width: 100% !important;
    height: 380px !important;
    border: 0;
}


/* ========================================
   Responsive
======================================== */

@media screen and (max-width: 1199px) {
    .page-delivery2 .delivery-page__carriers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 991px) {
	.page-delivery2 .delivery-page > .cn {
        padding-top: 48px;
    }

    .page-delivery2 .main-title {
        margin-top: 0 !important;
        margin-bottom: 38px !important;
    }
	
    .page-contacts .main-title,
    .page-delivery2 .main-title {
        margin-top: 48px !important;
        margin-bottom: 38px !important;
    }

    .page-delivery2 .delivery-page__panel {
        padding: 32px;
    }

    .page-delivery2 .delivery-page__service-title {
        font-size: 24px;
    }

    .page-delivery2 .delivery-page__divider {
        margin: 36px 0;
    }
}

@media screen and (max-width: 767px) {
    .page-delivery2 {
        padding-bottom: 36px;
    }
    
        .page-delivery2 .main-title {
        margin-top: 0 !important;
        margin-bottom: 30px !important;
    }

    .page-contacts .main-title .h2,
    .page-delivery2 .main-title .h2 {
        padding-bottom: 9px !important;
    }

    .page-delivery2 .delivery-page > .cn {
        padding-top: 48px;
        padding-bottom: 38px;
    }

    .page-delivery2 .delivery-page__panel {
        padding: 24px 20px;
    }

    .page-delivery2 .delivery-page__service-head {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .page-delivery2 .delivery-page__service-icon {
        width: 58px;
        height: 58px;
    }

    .page-delivery2 .delivery-page__service-icon img {
        width: 54px;
        height: 54px;
    }

    .page-delivery2 .delivery-page__service-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .page-delivery2 .delivery-page__carriers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 26px;
    }

    .page-delivery2 .delivery-page__carrier {
        min-height: 92px;
        padding: 13px;
    }

    .page-delivery2 .delivery-page__carrier img {
        max-height: 52px;
    }

    .page-delivery2 .delivery-page__divider {
        margin: 30px 0;
    }

    .page-delivery2 .delivery-page__pickup-address {
        align-items: start;
        margin-top: 17px;
        padding: 16px;
    }

    .page-delivery2 .delivery-page__pickup-text {
        display: block;
        font-size: 15px;
    }

    .page-delivery2 .delivery-page__pickup-city {
        display: block;
        margin-bottom: 2px;
    }

    .page-delivery2 .delivery-page__pickup-city::after {
        content: "";
    }

    .page-delivery2 .delivery-page__pickup-text address {
        display: block;
    }

    .page-delivery2 .delivery-page__map,
    .page-delivery2 .delivery-page__map .acf-map,
    .page-delivery2 .delivery-page__map iframe {
        height: 310px !important;
        min-height: 310px;
    }
}

@media screen and (max-width: 480px) {
    .page-delivery2 .delivery-page__carriers {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-delivery2 .delivery-page__carrier {
        min-height: 88px;
    }
}




/* ==========================================================
   RSBC HEADER CONTACTS — CLEAN VERSION
   ========================================================== */

:root {
    --rsbc-primary: #001a35;
    --rsbc-primary-hover: #002a52;
    --rsbc-accent: #f8a84e;
    --rsbc-text: #1c2733;
    --rsbc-muted: #68727c;
    --rsbc-border: #dce2e7;
}


/* ==========================================================
   BASE
   ========================================================== */

.rsbc-header-contact,
.rsbc-mobile-contact {
    display: none;
}


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

@media screen and (min-width: 1050px) {

    #masthead .header-top {
        background-color: #fff;
    }

    #masthead .header-top .cn {
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
        column-gap: clamp(28px, 3vw, 56px);
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }


    /* ======================================================
       LOGO
       ====================================================== */

    #masthead .header-top .logo,
    #masthead .header-top .site-branding {
        display: flex;
        width: 240px;
        min-width: 0;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
    }

    #masthead .header-top .logo a,
    #masthead .header-top .site-branding a {
        display: block;
        width: 100%;
    }

    #masthead .header-top .logo img,
    #masthead .header-top .site-branding img {
        display: block;
        width: auto;
        max-width: 220px;
        max-height: 62px;
        margin: 0;
    }


    /* ======================================================
       THREE HEADER BLOCKS
       ====================================================== */

    #masthead .header-top-info {
        display: grid;
        grid-template-columns: 250px 285px 220px;
        justify-content: end;
        align-items: center;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }


    /* ======================================================
       WORK TIME + PHONES
       ====================================================== */

    #masthead .header-top-info > .work-time,
    #masthead .header-top-info > .phones {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 16px;
        width: 100%;
        min-width: 0;
        min-height: 74px;
        align-items: center;
        margin: 0;
        padding: 0;
    }


    /* Icons */

    #masthead .header-top-info .work-time__icon,
    #masthead .header-top-info .phones__icon {
        display: block;
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin: 0;
        padding: 0;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    #masthead .header-top-info .phones__icon {
        background-size: 92%;
    }


    /* Content */

    #masthead .header-top-info .work-time__content,
    #masthead .header-top-info .phones__content {
        display: flex;
        min-width: 0;
        min-height: 74px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin: 0;
        padding: 0;
    }


    /* Titles */

    #masthead .header-top-info .work-time__title,
    #masthead .header-top-info .phones__title {
        display: block;
        margin: 0 0 7px;
        padding: 0;
        color: #111;
        font-family: inherit;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }


    /* Values */

    #masthead .header-top-info .work-time__content p,
    #masthead .header-top-info .phones__content a {
        display: block;
        margin: 0;
        padding: 0;
        color: #363636;
        font-family: inherit;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;
        text-decoration: none;
        white-space: nowrap;
    }

    #masthead .header-top-info .phones__content a:hover,
    #masthead .header-top-info .phones__content a:focus {
        color: var(--rsbc-accent);
    }


    /* ======================================================
       EMAIL + FEEDBACK BUTTON
       ====================================================== */

    #masthead .rsbc-header-contact {
        display: grid;
        grid-template-rows: 20px 40px;
        width: 220px;
        min-width: 220px;
        min-height: 74px;
        align-content: center;
        justify-self: end;
        margin: 0;
        padding: 0;
    }


    /* Email */

    #masthead .rsbc-header-contact__email {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 15px;
        align-items: center;
        margin: 0;
        padding: 0;
        overflow: hidden;
        color: #363636;
        font-family: inherit;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        text-overflow: ellipsis;
        transition: color 0.2s ease;
        justify-content: center;
    }

    #masthead .rsbc-header-contact__email:hover,
    #masthead .rsbc-header-contact__email:focus {
        color: var(--rsbc-accent);
    }


    /* Button */

    #masthead .rsbc-header-contact__button {
        display: flex;
        width: 220px;
        height: 40px;
        min-width: 220px;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0 18px;
        border: 1px solid var(--rsbc-primary);
        border-radius: 0;
        outline: none;
        background-color: var(--rsbc-primary);
        color: #fff;
        font-family: inherit;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.2;
        text-align: center;
        text-transform: uppercase;
        white-space: nowrap;
        cursor: pointer;
        box-sizing: border-box;
        box-shadow: none;
        transition:
            background-color 0.2s ease,
            border-color 0.2s ease;
    }

    #masthead .rsbc-header-contact__button:hover,
    #masthead .rsbc-header-contact__button:focus {
        border-color: var(--rsbc-primary-hover);
        background-color: var(--rsbc-primary-hover);
        color: #fff;
    }
}


/* ==========================================================
   COMPACT DESKTOP / LAPTOP
   ========================================================== */

@media screen and (min-width: 1050px) and (max-width: 1399px) {

    #masthead .header-top .cn {
        grid-template-columns: 175px minmax(0, 1fr);
        column-gap: 18px;
        min-height: 94px;
    }


    /* Logo */

    #masthead .header-top .logo,
    #masthead .header-top .site-branding {
        width: 175px;
    }

    #masthead .header-top .logo img,
    #masthead .header-top .site-branding img {
        max-width: 165px;
        max-height: 54px;
    }


    /* Columns */

    #masthead .header-top-info {
        grid-template-columns: 180px 205px 185px;
        column-gap: 18px;
    }


    /* Work time and phones */

    #masthead .header-top-info > .work-time,
    #masthead .header-top-info > .phones {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 10px;
        min-height: 66px;
    }

    #masthead .header-top-info .work-time__icon,
    #masthead .header-top-info .phones__icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    #masthead .header-top-info .work-time__content,
    #masthead .header-top-info .phones__content {
        min-height: 66px;
    }

    #masthead .header-top-info .work-time__title,
    #masthead .header-top-info .phones__title {
        margin-bottom: 5px;
        font-size: 13px;
    }

    #masthead .header-top-info .work-time__content p,
    #masthead .header-top-info .phones__content a {
        font-size: 12px;
        line-height: 1.4;
    }


    /* Email and button */

    #masthead .rsbc-header-contact {
        grid-template-rows: 18px 36px;
        row-gap: 8px;
        width: 185px;
        min-width: 185px;
        min-height: 66px;
    }

    #masthead .rsbc-header-contact__email {
        height: 18px;
        font-size: 12px;
    }

    #masthead .rsbc-header-contact__button {
        width: 185px;
        min-width: 185px;
        height: 36px;
        min-height: 36px;
        padding: 0 12px;
        font-size: 10px;
    }
}


/* ==========================================================
   MOBILE HEADER
   ========================================================== */

@media screen and (max-width: 1049px) {

    #masthead .header-top-info {
        display: none;
    }

    .rsbc-header-contact,
    .rsbc-mobile-contact {
        display: none;
    }


    /* ======================================================
       CONTACTS INSIDE MOBILE MENU
       ====================================================== */

    .hidden-mnu__box--bottom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 30px;
        width: 100%;
        align-items: start;
        margin: 0;
        padding: 32px 24px;
        box-sizing: border-box;
    }

    .hidden-mnu__box--bottom > .address {
        display: none;
    }


    /* Work time and phones */

    .hidden-mnu__box--bottom > .work-time,
    .hidden-mnu__box--bottom > .phones {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 12px;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .hidden-mnu__box--bottom .work-time__icon,
    .hidden-mnu__box--bottom .phones__icon {
        display: block;
        width: 34px;
        height: 34px;
        min-width: 34px;
        margin: 0;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .hidden-mnu__box--bottom .phones__icon {
        background-size: 84%;
    }

    .hidden-mnu__box--bottom .work-time__content,
    .hidden-mnu__box--bottom .phones__content {
        display: flex;
        min-width: 0;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .hidden-mnu__box--bottom .work-time__title,
    .hidden-mnu__box--bottom .phones__title {
        display: block;
        margin: 0 0 5px;
        color: var(--rsbc-primary);
        font-family: inherit;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.25;
    }

    .hidden-mnu__box--bottom .work-time p,
    .hidden-mnu__box--bottom .phones a {
        display: block;
        margin: 0;
        padding: 0;
        color: #363636;
        font-family: inherit;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.4;
        text-decoration: none;
    }


    /* Email and feedback button */

    .hidden-mnu-contact {
        display: grid;
        grid-column: 1 / -1;
        grid-template-rows: auto 42px;
        row-gap: 10px;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 20px 0 0;
        border-top: 1px solid var(--rsbc-border);
        box-sizing: border-box;
        justify-content: center;
    }
    
    .hidden-mnu__box {

    height: auto !important;

	 }

    .hidden-mnu-contact__icon,
    .hidden-mnu-contact__title {
        display: none;
    }

    .hidden-mnu-contact__content,
    .hidden-mnu-contact__row {
        display: contents;
    }

    .hidden-mnu-contact__email {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        color: var(--rsbc-primary);
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .hidden-mnu-contact__email:hover,
    .hidden-mnu-contact__email:focus {
        color: var(--rsbc-accent);
    }

    .hidden-mnu-contact__address {
        display: block;
    }

    .hidden-mnu-contact__button {
        display: flex;
        width: 100%;
        height: 42px;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0 16px;
        border: 1px solid var(--rsbc-primary);
        border-radius: 0;
        outline: none;
        background-color: var(--rsbc-primary);
        color: #fff;
        font-family: inherit;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        text-transform: uppercase;
        cursor: pointer;
        box-sizing: border-box;
        box-shadow: none;
    }

    .hidden-mnu-contact__button:hover,
    .hidden-mnu-contact__button:focus {
        border-color: var(--rsbc-primary-hover);
        background-color: var(--rsbc-primary-hover);
        color: #fff;
    }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media screen and (max-width: 699px) {

    .hidden-mnu__box--bottom {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 28px 22px;
    }

    .hidden-mnu__box--bottom > .work-time,
    .hidden-mnu__box--bottom > .phones,
    .hidden-mnu__box--bottom > .hidden-mnu-contact {
        width: 100%;
    }
}



/* ==========================================================
   MODAL
   ========================================================== */

body.rsbc-feedback-modal-open {
    overflow: hidden;
}

.rsbc-feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.rsbc-feedback-modal.is-open {
    display: flex;
}

.rsbc-feedback-modal__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 26, 53, 0.84);
    cursor: pointer;
}

.rsbc-feedback-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 26, 53, 0.34);
}

.rsbc-feedback-modal__dialog::before {
    content: "";
    display: block;
    height: 4px;
    background: var(--rsbc-accent);
}

.rsbc-feedback-modal__content {
    padding: 46px 48px 48px;
}

.rsbc-feedback-modal__title {
    margin: 0 50px 30px 0 !important;
    padding: 0 !important;
    color: var(--rsbc-primary) !important;
    font-family: inherit !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}

.rsbc-feedback-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.rsbc-feedback-modal__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 1.5px;
    background: var(--rsbc-primary);
}

.rsbc-feedback-modal__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.rsbc-feedback-modal__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* ==========================================================
   CONTACT FORM 7
   ========================================================== */

.rsbc-feedback-modal .wpcf7,
.rsbc-feedback-modal .wpcf7-form,
.rsbc-feedback-modal .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.rsbc-feedback-modal .wpcf7-form p {
    margin: 0 0 16px;
}

.rsbc-feedback-fields {
    display: grid;
    gap: 18px;
}

.rsbc-feedback-field {
    display: grid;
    gap: 8px;
}

.rsbc-feedback-field label {
    margin: 0;
    color: var(--rsbc-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.rsbc-feedback-modal input[type="text"],
.rsbc-feedback-modal input[type="tel"],
.rsbc-feedback-modal input[type="email"] {
    display: block;
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid var(--rsbc-border) !important;
    border-radius: 0 !important;
    outline: none !important;
    background: #fff !important;
    color: var(--rsbc-primary) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.rsbc-feedback-modal input::placeholder {
    color: #929ba4 !important;
    opacity: 1;
}

.rsbc-feedback-modal input[type="text"]:focus,
.rsbc-feedback-modal input[type="tel"]:focus,
.rsbc-feedback-modal input[type="email"]:focus {
    border-color: var(--rsbc-accent) !important;
    box-shadow: 0 0 0 3px rgba(248, 168, 78, 0.14) !important;
}

.rsbc-feedback-modal input[type="submit"],
.rsbc-feedback-modal .rsbc-feedback-submit {
    display: block !important;
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    border: 1px solid var(--rsbc-primary) !important;
    border-radius: 0 !important;
    background: var(--rsbc-primary) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 50px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    cursor: pointer;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.rsbc-feedback-modal input[type="submit"]:hover,
.rsbc-feedback-modal input[type="submit"]:focus,
.rsbc-feedback-modal .rsbc-feedback-submit:hover,
.rsbc-feedback-modal .rsbc-feedback-submit:focus {
    border-color: var(--rsbc-primary-hover) !important;
    background: var(--rsbc-primary-hover) !important;
}

.rsbc-feedback-modal .wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
}

.rsbc-feedback-modal .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: var(--rsbc-error);
    font-size: 12px;
}

.rsbc-feedback-modal .wpcf7-response-output {
    margin: 18px 0 0 !important;
    padding: 14px 16px !important;
    border: 0 !important;
    border-left: 4px solid var(--rsbc-error) !important;
    background: #fff2f2;
    color: #842828;
    font-size: 14px;
    line-height: 1.5;
}

.rsbc-feedback-modal form.sent .rsbc-feedback-fields {
    display: none;
}

.rsbc-feedback-modal form.sent .wpcf7-response-output {
    margin-top: 0 !important;
    border-left-color: var(--rsbc-success) !important;
    background: #eef8f1;
    color: #245d34;
}


/* ==========================================================
   MODAL MOBILE
   ========================================================== */

@media screen and (max-width: 560px) {

    .rsbc-feedback-modal {
        align-items: flex-start;
        padding: 10px;
        overflow-y: auto;
    }

    .rsbc-feedback-modal__dialog {
        max-height: none;
        margin: auto 0;
    }

    .rsbc-feedback-modal__content {
        padding: 34px 20px 28px;
    }

    .rsbc-feedback-modal__title {
        margin-right: 38px !important;
        margin-bottom: 24px !important;
        font-size: 26px !important;
    }

    .rsbc-feedback-modal__close {
        top: 14px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .rsbc-feedback-modal input[type="text"],
    .rsbc-feedback-modal input[type="tel"],
    .rsbc-feedback-modal input[type="email"],
    .rsbc-feedback-modal input[type="submit"] {
        height: 50px !important;
    }

    .rsbc-feedback-modal input[type="submit"] {
        line-height: 48px !important;
    }
}




/* ==========================================================
   ABOUT PAGE
   ========================================================== */

@media screen and (min-width: 992px) {

    /* Блоки про компанію */

    .page-about .rsbc-about-row {
        display: grid;
        grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
        align-items: center;
        gap: 70px;
        margin-bottom: 80px;
        padding: 0 40px !important;
    }

    .page-about .rsbc-about-row:nth-child(even) {
        grid-template-columns: minmax(0, 58%) minmax(320px, 42%);
    }

    .page-about .rsbc-about-row:nth-child(even) .rsbc-about-media {
        grid-column: 1;
        grid-row: 1;
    }

    .page-about .rsbc-about-row:nth-child(even) .rsbc-about-copy {
        grid-column: 2;
        grid-row: 1;
    }


    /* Блоки продукції */

    .page-about .rsbc-product-row {
        display: grid;
        grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
        align-items: center;
        gap: 70px;
    }


    /* Текст */

    .page-about .rsbc-about-copy,
    .page-about .rsbc-product-copy {
        width: 100%;
        max-width: 440px;
        margin: 0;
        padding: 0 !important;

        color: #1c2733;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.75;
    }

    .page-about .rsbc-about-row:nth-child(even) .rsbc-about-copy,
    .page-about .rsbc-product-copy {
        justify-self: end;
    }

    .page-about .rsbc-about-copy p,
    .page-about .rsbc-product-copy p {
        margin: 0 0 16px;
    }

    .page-about .rsbc-about-copy p:last-child,
    .page-about .rsbc-product-copy p:last-child {
        margin-bottom: 0;
    }


    /* Зображення */

    .page-about .rsbc-about-media,
    .page-about .rsbc-product-media {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .page-about .rsbc-about-media img,
    .page-about .rsbc-product-media img {
        display: block;
        height: auto;
        margin: 0;
    }

    .page-about .rsbc-about-media {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
}


/* Планшет і мобільний */

@media screen and (max-width: 991px) {

    .page-about .rsbc-about-row,
    .page-about .rsbc-product-row {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin-bottom: 45px;
    }

    .page-about .rsbc-about-copy,
    .page-about .rsbc-product-copy {
        order: 1;
        width: 100%;
        max-width: none;
        padding: 0 !important;
        font-size: 15px;
        line-height: 1.7;
    }

    .page-about .rsbc-about-media,
    .page-about .rsbc-product-media {
        order: 2;
        width: 100%;
    }
}


/* Кнопки */

.page-about .rsbc-about-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin: 60px auto 60px;
}

.page-about .rsbc-about-actions .btn {
    display: inline-flex;
    min-width: 260px;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 30px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    box-sizing: border-box;
}

.page-about .rsbc-about-actions .btn--feedback {
    border: 2px solid #001a35;
    background: #fff;
    color: #001a35;
}

.page-about .rsbc-about-actions .btn--feedback:hover,
.page-about .rsbc-about-actions .btn--feedback:focus {
    background: #001a35;
    color: #fff;
}

@media screen and (max-width: 560px) {

	.page-about .rsbc-about-actions {
    margin: 0;

    .page-about .rsbc-about-actions .btn {
        width: 100%;
        min-width: 0;
    }
}



