.product-page__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.product-page__head .product-page__header {
    margin: 0;
    flex: 1 1 auto;
}

.product-page__brand {
    margin: 4px 0 0 auto;
    line-height: 0;
    flex: 0 0 auto;
}

.product-page__brand-image {
    display: block;
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}

@media (max-width: 767px) {
    .product-page__brand {
        margin-left: 0;
    }

    .product-page__brand-image {
        max-width: 100px;
        max-height: 34px;
    }
}

.category__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.category__head .category__title {
    margin: 0;
    flex: 1 1 auto;
}

.category__brand {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.category__brand img {
    display: block;
    max-width: 110px;
    max-height: 34px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}

.header-custom-offer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    gap: 10px;
    line-height: 1.2;
}

.header-custom-offer__brand {
    flex: 0 0 auto;
}

.header-custom-offer__logo {
    display: block;
    max-width: 72px;
    max-height: 22px;
    width: auto;
    height: auto;
}

.header-custom-offer__content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-custom-offer__title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #282f37;
    white-space: nowrap;
}

.header-custom-offer__link {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(40, 47, 55, 0.75);
    text-decoration: none;
    border-bottom: 1px dashed rgba(40, 47, 55, 0.35);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.header-custom-offer__link:hover {
    color: #007bff;
    border-color: #007bff;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .header-custom-offer__logo {
        max-width: 60px;
        max-height: 18px;
    }

    .header-custom-offer__title {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .header-custom-offer {
        display: none;
    }
}

.header-custom-offer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    gap: 10px;
    line-height: 1.2;
}

.header-custom-offer__brand {
    flex: 0 0 auto;
}

.header-custom-offer__logo {
    display: block;
    max-width: 72px;
    max-height: 22px;
    width: auto;
    height: auto;
}

.header-custom-offer__content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-custom-offer__title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #282f37;
    white-space: nowrap;
}

.header-custom-offer__link {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(40, 47, 55, 0.75);
    text-decoration: none;
    border-bottom: 1px dashed rgba(40, 47, 55, 0.35);
    transition: color 0.25s ease, border-color 0.25s ease;
}

.header-custom-offer__link:hover {
    color: #007bff;
    border-color: #007bff;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .header-custom-offer__logo {
        max-width: 60px;
        max-height: 18px;
    }

    .header-custom-offer__title {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .header-custom-offer {
        display: none;
    }
}

.cv-contacts {
    max-width: 1100px;
    margin: 0 auto;
}

.cv-contacts__intro {
    margin-bottom: 30px;
}

.cv-contacts__intro p {
    margin: 12px 0 0;
    color: #666666;
    line-height: 1.7;
    max-width: 900px;
}

.cv-contacts__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.cv-contacts__item {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-left: 4px solid #c81e2d;
    border-radius: 10px;
    padding: 20px 22px;
}

.cv-contacts__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999999;
    margin-bottom: 10px;
}

.cv-contacts__value {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #222222;
    margin-bottom: 8px;
}

.cv-contacts__value a {
    color: #222222;
    text-decoration: none;
}

.cv-contacts__value a:hover {
    color: #c81e2d;
}

.cv-contacts__note {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.cv-contacts__map {
    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    overflow: hidden;
}

.cv-contacts__map-head {
    padding: 22px 24px 18px;
    border-bottom: 1px solid #ededed;
    background: #fafafa;
}

.cv-contacts__map-head h2 {
    margin: 0 0 8px;
}

.cv-contacts__map-head p {
    margin: 0;
    color: #666666;
    line-height: 1.6;
}

.cv-contacts__map-frame {
    line-height: 0;
}

.cv-contacts__map-frame iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 768px) {
    .cv-contacts__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cv-contacts__item {
        padding: 18px;
    }

    .cv-contacts__map-head {
        padding: 18px;
    }

    .cv-contacts__map-frame iframe {
        height: 340px;
    }
}

.order-page .s-checkbox input.wa-error + span {
    background: #dee2e6 !important;
    border: 1px solid #dc3545 !important;
}
