.offer-detail {
    --offer-ink: #1c2821;
    --offer-muted: #65716a;
    --offer-green: #287646;
    --offer-border: #e0e6df;
    margin-bottom: 0;
    padding-bottom: 64px;
    background: #f5f7f3;
    color: var(--offer-ink);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}

.offer-detail .title-subpage {
    padding-top: 66px !important;
    margin-bottom: 0;
    background: #fff;
    border-bottom: 1px solid var(--offer-border);
    text-align: left;
    text-transform: none;
}

.offer-detail .offer-shell { width: calc(100% - 48px); max-width: 1320px; margin-right: auto; margin-left: auto; }
.offer-detail p { font-weight: 400; }
.offer-detail .subpage-breadcrumb { height: 36px; max-height: none; margin: 0; }
.offer-detail .subpage-breadcrumb .breadcrumb { margin: 0 !important; }
.offer-detail .offer-heading__body { padding-top: 28px; padding-bottom: 30px; }
.offer-heading__mobile-price { display: none; }
.offer-heading__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 16px; }
.offer-type { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 5px; background: #e9f3e8; color: #246639; font-size: 12px; font-weight: 700; }
.offer-type::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.offer-type--rental { background: #eaf1fa; color: #315c8c; }
.offer-heading__category { color: var(--offer-muted); font-size: 13px; text-decoration: none; }
.offer-heading__category:hover { color: var(--offer-green); text-decoration: underline; }

.offer-detail .title-subpage .offer-heading__title {
    max-width: 1050px;
    margin: 0;
    color: var(--offer-ink) !important;
    font-size: clamp(26px, 2.6vw, 40px);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.offer-detail .offer-heading__summary { max-width: 82ch; margin: 16px 0 0; color: var(--offer-muted); font-size: 15px; line-height: 1.65; }
.offer-detail .offer-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); grid-template-areas: 'gallery purchase' 'description purchase'; gap: 28px; padding-top: 30px; }
.offer-media { grid-area: gallery; min-width: 0; }
.offer-section-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 13px; font-weight: 650; }
.offer-section-label__count { color: var(--offer-muted); font-size: 12px; font-weight: 400; }
.offer-gallery { min-width: 0; max-width: 100%; }
.offer-gallery__stage { position: relative; overflow: hidden; border: 1px solid var(--offer-border); border-radius: 16px; background: #fff; }

.offer-detail .offer-gallery__slides {
    display: flex;
    width: 100%;
    aspect-ratio: 3 / 2;
    max-height: 540px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.offer-gallery__slides::-webkit-scrollbar { display: none; }
.offer-detail .offer-gallery__slide { flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; padding: 0; list-style: none; scroll-snap-align: start; scroll-snap-stop: always; }
.offer-detail .offer-gallery__slide::before { display: none; }
.offer-gallery__slide > a { display: block; height: 100%; cursor: zoom-in; }
.offer-gallery__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.offer-gallery [hidden] { display: none; }

.offer-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #dce2dc; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--offer-ink); box-shadow: 0 3px 12px #14201912; font: 32px/1 Arial, sans-serif; cursor: pointer; transition: background .15s, color .15s; }
.offer-gallery__prev, .offer-lightbox__prev { left: 14px; }
.offer-gallery__next, .offer-lightbox__next { right: 14px; }
.offer-gallery__arrow:hover { background: var(--offer-ink); color: #fff; }
.offer-gallery__arrow:disabled { opacity: .3; cursor: default; }
.offer-gallery__counter { position: absolute; right: 14px; bottom: 14px; padding: 5px 11px; border: 1px solid #e0e6df; border-radius: 6px; background: rgba(255,255,255,.95); color: var(--offer-ink); font: 12px/1.5 system-ui, sans-serif; pointer-events: none; }
.offer-gallery__zoom { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 10px; border: 1px solid #e0e6df; border-radius: 6px; background: rgba(255,255,255,.95); color: var(--offer-ink); font-size: 11px; cursor: pointer; }
.offer-gallery__zoom:hover { border-color: var(--offer-green); }
.offer-gallery__zoom svg, .offer-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.offer-gallery__thumbs { position: relative; display: flex; gap: 9px; margin-top: 12px; padding: 2px; overflow-x: auto; overscroll-behavior-x: contain; }
.offer-gallery__thumb { flex: 0 0 88px; padding: 4px; overflow: hidden; border: 1px solid #dce2da; border-radius: 9px; background: #fff; cursor: pointer; }
.offer-gallery__thumb img { display: block; width: 100%; height: 60px; border-radius: 4px; object-fit: cover; }
.offer-gallery__thumb:hover { border-color: var(--offer-green); }
.offer-gallery__thumb[aria-current='true'] { border-color: var(--offer-green); box-shadow: 0 0 0 1px var(--offer-green); }
.offer-detail :focus-visible { outline: 3px solid #378e50; outline-offset: 3px; }
.offer-gallery__slides:focus-visible { outline-offset: -3px; }

.offer-purchase { grid-area: purchase; position: sticky; top: 86px; align-self: start; min-width: 0; scroll-margin-top: 90px; }
.offer-purchase__card { padding: 28px; border: 1px solid #334439; border-radius: 16px; background: #1b2a21; color: #fff; box-shadow: 0 12px 32px #1b2a210d; }
.offer-purchase__topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 24px; color: #b9c8b9; font-size: 11px; }
.offer-purchase__topline span:last-child { white-space: nowrap; }
.offer-detail .offer-purchase__label { margin-top: 0 !important; margin-bottom: 8px !important; padding: 0; border: 0; background: none; margin: 0 0 8px; color: #cbd6cb; font-size: 13px !important; font-weight: 500; }
.offer-detail .offer-purchase__price { margin: 0; color: #fff; font: 700 clamp(29px, 2.8vw, 42px)/1.15 system-ui, sans-serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
.offer-detail .offer-purchase__note { margin: 13px 0 0; color: #b9c8b9; font-size: 12px; line-height: 1.65; }
.offer-purchase__facts { margin: 24px 0; padding: 17px 0; border-top: 1px solid #ffffff20; border-bottom: 1px solid #ffffff20; font-size: 12px; }
.offer-purchase__facts > div { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 12px; padding: 6px 0; }
.offer-purchase__facts dt { color: #aabbac; font-weight: 400; }
.offer-purchase__facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.offer-purchase__facts a { color: #fff; text-decoration: none; }
.offer-purchase__facts a:hover { text-decoration: underline; }
.offer-purchase__actions { display: grid; gap: 10px; }
.offer-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 13px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 650; text-decoration: none; text-align: left; transition: background .15s, border-color .15s; }
.offer-button--primary { background: #f6c900; color: #17221b; font-family: system-ui, sans-serif; font-size: 20px; letter-spacing: -.02em; }
.offer-button--primary small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.offer-button--primary svg { width: 22px; height: 22px; }
.offer-button--primary:hover { background: #ffdc3a; color: #17221b; }
.offer-button--secondary { border-color: #ffffff40; background: transparent; color: #fff; }
.offer-button--secondary:hover { border-color: #ffffff90; background: #ffffff09; color: #fff; }
.offer-detail .offer-purchase__reference { margin: 17px 0 0; color: #b9c8b9; font-size: 10px; text-align: center; }
.offer-purchase__reference strong { color: #fff; }
.offer-back-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--offer-muted); font-size: 12px; text-decoration: none; }
.offer-back-link:hover { color: var(--offer-green); }

.offer-description { grid-area: description; min-width: 0; padding: 30px; border: 1px solid var(--offer-border); border-radius: 16px; background: #fff; }
.offer-description__heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--offer-border); }
.offer-description__heading > span { width: 4px; height: 23px; border-radius: 2px; background: #3d963b; flex-shrink: 0; }
.offer-detail .offer-description__heading h2 { margin-top: 0 !important; margin-bottom: 0 !important; padding: 0; border: 0; background: none; margin: 0; font-size: 21px !important; font-weight: 650; letter-spacing: -.025em; }
.offer-detail .offer-detail__content { max-width: 76ch; color: #4a564e; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.offer-detail__content p { margin: 0 0 18px; }
.offer-detail .offer-detail__content :is(p,li) { font-size: inherit; line-height: inherit; color: inherit; font-weight: 400; }
.offer-detail__content > :last-child { margin-bottom: 0; }
.offer-detail__content strong { color: var(--offer-ink); }
.offer-detail .offer-detail__content :is(h2,h3,h4) { padding: 0; border: 0; background: none; margin: 28px 0 14px; color: var(--offer-ink); font-size: 20px !important; line-height: 1.4; font-weight: 650; }
.offer-detail .offer-detail__content ul { padding: 0; margin: 0 0 20px; }
.offer-detail .offer-detail__content ul li { padding-left: 17px; margin: 5px 0; }
.offer-detail .offer-detail__content ul li::before { content: ''; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: var(--offer-green); }
.offer-detail__content :is(table,iframe,video) { max-width: 100%; }
.offer-detail__content table { display: block; width: 100%; overflow-x: auto; }
.offer-detail__content td, .offer-detail__content th { padding: 9px; border-bottom: 1px solid var(--offer-border); }
.offer-detail__content img { max-width: 100%; height: auto; border-radius: 8px; }
.offer-detail__content a, .offer-text-link { color: var(--offer-green); text-underline-offset: 4px; }
.offer-text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 650; text-decoration: none; }
.offer-text-link:hover { color: #164d2c; text-decoration: underline; }
.offer-description__contact { margin-top: 26px; }
.offer-gallery__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; padding: 40px; border: 1px dashed #cdd8c9; border-radius: 16px; background: #edf2e9; text-align: center; }
.offer-gallery__empty > svg { width: 62px; height: 62px; margin-bottom: 18px; fill: none; stroke: #7a9274; stroke-width: 1.6; }
.offer-detail .offer-gallery__empty h2 { margin-top: 0 !important; margin-bottom: 10px !important; padding: 0; border: 0; background: none; margin: 0 0 10px; font-size: 23px !important; font-weight: 600; }
.offer-detail .offer-gallery__empty p { max-width: 36ch; margin: 0 0 18px; color: var(--offer-muted); font-size: 14px; }

.offer-lightbox { width: min(1200px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; overflow: hidden; border: 1px solid #dce2dc; border-radius: 14px; background: #fff; color: var(--offer-ink); }
.offer-lightbox:not([open]) { display: none; }
.offer-lightbox::backdrop { background: #0b130de6; backdrop-filter: blur(5px); }
.offer-lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid #e0e6df; }
.offer-detail .offer-lightbox__top p { margin: 0; font-size: 13px; font-weight: 650; }
.offer-lightbox__top [data-viewer-counter] { margin-left: 12px; color: var(--offer-muted); font: 12px system-ui, sans-serif; }
.offer-lightbox__close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #f0f3ee; color: var(--offer-ink); font: 30px/1 Arial,sans-serif; cursor: pointer; }
.offer-lightbox__stage { position: relative; height: min(75dvh, 800px); background: #fff; }
.offer-lightbox__image { display: block; width: 100%; height: 100%; object-fit: contain; }
body.offer-lightbox-open { overflow: hidden; }

@media (min-width: 992px) and (max-width: 1350px) {
    .offer-detail .title-subpage { padding-top: 110px !important; }
    .offer-purchase { top: 130px; scroll-margin-top: 130px; }
    .offer-purchase__card { padding: 22px; }
}

@media (max-width: 991px) {
    .offer-detail .title-subpage { padding-top: 57px !important; }
    .offer-detail .offer-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: 'gallery' 'purchase' 'description'; gap: 24px; }
    .offer-purchase { position: static; }
    .offer-detail .offer-heading__mobile-price { display: block; margin: 14px 0 0; color: var(--offer-green); font: 700 25px/1.2 system-ui,sans-serif; letter-spacing: -.03em; }
    .offer-purchase__card { padding: 26px; }
    .offer-detail .offer-purchase__price { font-size: 36px; }
    .offer-purchase__facts > div { grid-template-columns: 130px minmax(0,1fr); }
}

@media (max-width: 575px) {
    .offer-detail { padding-bottom: 36px; }
    .offer-detail .offer-shell { width: calc(100% - 32px); }
    .offer-detail .title-subpage { padding-top: 52px !important; }
    .offer-detail .offer-heading__body { padding: 20px 0 24px; }
    .offer-detail .title-subpage .offer-heading__title { font-size: 26px; line-height: 1.2; }
    .offer-heading__meta { gap: 8px 12px; margin-bottom: 14px; }
    .offer-heading__category { font-size: 11px; }
    .offer-detail .offer-heading__summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 13px; font-size: 13px; }
    .offer-detail .offer-layout { padding: 22px 0 0; gap: 22px; }
    .offer-gallery__stage, .offer-purchase__card, .offer-description { border-radius: 12px; }
    .offer-gallery__thumb { flex-basis: 72px; }
    .offer-gallery__thumb img { height: 48px; }
    .offer-gallery__prev, .offer-lightbox__prev { left: 8px; }
    .offer-gallery__next, .offer-lightbox__next { right: 8px; }
    .offer-gallery__arrow { width: 38px; height: 38px; }
    .offer-gallery__zoom { left: 10px; bottom: 10px; font-size: 10px; }
    .offer-gallery__counter { right: 10px; bottom: 10px; font-size: 11px; }
    .offer-purchase__card { padding: 23px; }
    .offer-purchase__facts > div { grid-template-columns: 95px minmax(0,1fr); }
    .offer-purchase__topline { font-size: 10px; padding-bottom: 20px; }
    .offer-description { padding: 22px 18px; }
    .offer-detail .offer-description__heading h2 { font-size: 20px !important; }
    .offer-detail .offer-detail__content { font-size: 13px; }
    .offer-gallery__empty { min-height: 280px; padding: 28px; }
    .offer-lightbox { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 10px; }
    .offer-lightbox__top { padding: 8px 12px; }
    .offer-lightbox__stage { height: 70dvh; }
}

@media (max-height: 700px) and (min-width: 992px) { .offer-purchase { position: static; } }
@media (prefers-reduced-motion: reduce) { .offer-detail *, .offer-detail *::before { transition: none !important; } }
