.offer-view {
    --offer-border: #dce4ef;
    --offer-accent: #434c94;
    --offer-inset: clamp(16px, 3vw, 28px);
}

.offer-view .offer-heading {
    margin-bottom: 24px;
}

.offer-view .offer-heading h1 {
    margin-bottom: 8px;
    color: var(--offer-accent);
}

.offer-view .offer-photo-gallery .galleria-theme-classic,
.offer-view .offer-photo-gallery .galleria-stage,
.offer-view .offer-photo-gallery .galleria-thumbnails-container,
.offer-view .offer-photo-gallery .galleria-thumbnails .galleria-image {
    background-color: #fff;
}

.offer-view .offer-photo-gallery .galleria-stage {
    border: 1px solid var(--offer-border);
    border-radius: 8px;
}

.offer-view .offer-photo-gallery .galleria-thumbnails .galleria-image {
    border-color: var(--offer-border);
}

.offer-view .offer-photo-gallery .galleria-thumbnails .galleria-image.active {
    border-color: var(--offer-accent);
}

.offer-view .offer-panel {
    padding: var(--offer-inset);
    border: 1px solid var(--offer-border);
    border-radius: 8px;
    background: #fff;
    overflow-wrap: anywhere;
}

.offer-view .offer-panel {
    margin-bottom: 20px;
}

.offer-view .offer-contacts,
.offer-view .offer-company,
.offer-view .offer-benefits,
.offer-view .offer-terms,
.offer-view .offer-requirements {
    background: transparent;
}

.offer-view .offer-terms {
    display: flow-root;
    background: #fffcf3;
}

.offer-view .offer-purchase-minimum .item-title {
    display: block;
    margin-bottom: 3px;
}

.offer-view .offer-terms .partner-discount {
    border: 1px solid #bddcc9;
    border-radius: 6px;
    background: #e8f5ec;
    color: #255b3e;
}

.offer-view .offer-section-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--offer-border);
}

.offer-view .offer-section-links a {
    text-decoration: underline;
}

.offer-view .offer-contacts-link {
    font-weight: 700;
}

.offer-view .offer-panel[id] {
    scroll-margin-top: 20px;
}

@media (max-width: 991px) {
    .offer-view .offer-terms {
        clear: both;
    }
}

.offer-view .offer-panel-tinted {
    background: #f7f8fc;
}

.offer-view .offer-panel h2 {
    margin: 0 0 14px;
    color: var(--offer-accent);
    font-size: clamp(22px, 2.5vw, 28px);
    line-height: 1.25;
}

.offer-view .offer-panel p:last-child {
    margin-bottom: 0;
}

.offer-view .offer-benefit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.offer-view .offer-benefit-tags .advantage-tag {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 4px 9px;
    border: 1px solid #eadba8;
    border-radius: 6px;
    background: #fff7d6;
    color: #45391e;
    white-space: normal;
}

.offer-view .offer-company .image-gallery,
.offer-view .offer-company .company-video {
    margin-top: 16px;
}

.offer-view .offer-panel img {
    max-width: 100%;
}

.offer-view .offer-contacts .toggle-contact-info {
    margin-top: 0;
}

.offer-view .offer-contacts h2 {
    margin-bottom: 0;
}

