.offer-summary-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.offer-share-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.offer-share-icon-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--navy);
    background: rgba(255, 253, 250, 0.72);
    border: 1px solid rgba(16, 35, 63, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(16, 35, 63, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.offer-share-icon-button:hover,
.offer-share-icon-button:focus-visible {
    color: #ffffff;
    background: var(--navy);
    border-color: rgba(16, 35, 63, 0.44);
    box-shadow: 0 14px 30px rgba(16, 35, 63, 0.18);
    outline: none;
    transform: translateY(-1px);
}

.offer-share-icon-button.is-copied {
    color: #ffffff;
    background: var(--success, #2e6f54);
    border-color: rgba(46, 111, 84, 0.34);
}

.offer-share-icon {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.offer-share-status {
    min-height: 18px;
    color: var(--success, #2e6f54);
    font-size: 13px;
    font-weight: 750;
}

.offer-share-toast {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 5;
    min-width: max-content;
    min-height: 0;
    padding: 7px 10px;
    color: #ffffff;
    background: rgba(16, 35, 63, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(16, 35, 63, 0.18);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.offer-share-toast:not(:empty) {
    opacity: 1;
    transform: translateY(0);
}

.offer-gallery-slide[data-offer-lightbox-src] {
    cursor: zoom-in;
}

.offer-gallery-slide[data-offer-lightbox-src]:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.86);
    outline-offset: -8px;
}

.offer-gallery-control,
.offer-lightbox-control {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    color: #ffffff;
    background: linear-gradient(145deg, rgba(17, 24, 36, 0.52), rgba(17, 24, 36, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
}

.offer-gallery-control:hover,
.offer-gallery-control:focus-visible,
.offer-lightbox-control:hover,
.offer-lightbox-control:focus-visible {
    color: var(--navy);
    background: rgba(255, 253, 250, 0.94);
    border-color: rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.offer-gallery-arrow-icon {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.offer-contact-column {
    gap: 0;
}

.offer-contact-person-card {
    gap: 16px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 250, 0.92));
    border: 1px solid rgba(218, 207, 190, 0.92);
    box-shadow: 0 22px 56px rgba(22, 24, 22, 0.09);
}

.offer-contact-person-card > span {
    justify-self: center;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.offer-contact-person-card h2 {
    justify-self: center;
    max-width: 280px;
    text-align: center;
    line-height: 1.1;
}

.offer-contact-person {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    align-items: center;
    padding: 18px 16px;
    text-align: center;
    background: rgba(245, 240, 232, 0.58);
    border: 1px solid rgba(218, 207, 190, 0.78);
    border-radius: 8px;
}

.offer-contact-avatar {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    overflow: hidden;
    color: #ffffff;
    background: radial-gradient(circle at 28% 22%, rgba(198, 149, 61, 0.88), var(--navy) 72%);
    border: 1px solid rgba(16, 35, 63, 0.18);
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(16, 35, 63, 0.18);
    font-size: 30px;
    font-weight: 800;
}

.offer-contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-contact-person-info {
    display: grid;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    text-align: center;
}

.offer-contact-person-info strong {
    color: var(--ink);
    font-size: 21px;
    line-height: 1.15;
}

.offer-contact-person-info span {
    max-width: 260px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
}

.offer-contact-lines {
    display: grid;
    gap: 8px;
    padding: 14px 0 2px;
}

.offer-contact-lines a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.offer-contact-lines a:hover,
.offer-contact-lines a:focus-visible {
    color: var(--gold);
    outline: none;
}

.offer-contact-reveal {
    justify-content: center;
    min-height: 46px;
    text-align: center;
    overflow-wrap: anywhere;
    white-space: normal;
}

.offer-contact-reveal.is-revealed {
    color: var(--navy);
    background: rgba(245, 240, 232, 0.72);
    border-color: rgba(198, 149, 61, 0.34);
    box-shadow: none;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
}

.offer-contact-reveal.is-revealed:hover,
.offer-contact-reveal.is-revealed:focus-visible {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);
    outline: none;
}

.offer-contact-person-card p {
    justify-self: center;
    max-width: 310px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.46;
    text-align: center;
}

.offer-contact-person-card .offer-contact-actions {
    gap: 10px;
    padding-top: 2px;
}

.offer-contact-person-card .btn-primary {
    box-shadow: 0 14px 28px rgba(16, 35, 63, 0.18);
}

.offer-contact-person-card .btn-ghost {
    background: rgba(255, 253, 250, 0.76);
}

.offer-contact-person-card .text-link {
    justify-self: center;
    color: var(--muted);
    font-size: 14px;
}

.offer-contact-person-card .text-link:hover,
.offer-contact-person-card .text-link:focus-visible {
    color: var(--gold);
    outline: none;
}

.offer-seller-card {
    display: grid;
    gap: 14px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 250, 0.9));
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(22, 24, 22, 0.08);
}

.offer-seller-card > span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-seller-card h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.7vw, 30px);
    line-height: 1.08;
}

.offer-seller-body {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.offer-seller-avatar {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    overflow: hidden;
    color: #ffffff;
    background: var(--navy);
    border: 1px solid rgba(16, 35, 63, 0.16);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(16, 35, 63, 0.16);
    font-weight: 800;
}

.offer-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-seller-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.offer-seller-info strong {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.2;
}

.offer-seller-info span,
.offer-seller-info a {
    color: var(--muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.offer-seller-info a:hover,
.offer-seller-info a:focus-visible {
    color: var(--gold);
    outline: none;
}

.offer-contact-card {
    box-shadow: 0 18px 46px rgba(22, 24, 22, 0.08);
}

.offer-map-preview {
    overflow: hidden;
    margin-top: 18px;
    background: var(--shell);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.offer-map-preview iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
    filter: saturate(0.9) contrast(0.98);
}

.offer-map-link {
    margin-top: 14px;
}

.offer-lightbox[hidden] {
    display: none !important;
}

.offer-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 28px;
}

.offer-lightbox-backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    background: rgba(8, 12, 18, 0.78);
    border: 0;
    cursor: zoom-out;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.offer-lightbox-panel {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1120px, 100%);
    max-height: calc(100vh - 56px);
    color: #ffffff;
}

.offer-lightbox-panel img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 118px);
    object-fit: contain;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.offer-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #ffffff;
    background: rgba(17, 24, 36, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.offer-lightbox-close:hover,
.offer-lightbox-close:focus-visible {
    color: var(--navy);
    background: rgba(255, 253, 250, 0.94);
    outline: none;
}

.offer-lightbox-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    cursor: pointer;
    transform: translateY(-50%);
}

.offer-lightbox-control:hover,
.offer-lightbox-control:focus-visible {
    transform: translateY(-50%) scale(1.04);
}

.offer-lightbox-control.is-prev {
    left: 16px;
}

.offer-lightbox-control.is-next {
    right: 16px;
}

.offer-lightbox-caption {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 4px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.offer-lightbox-caption span:last-child {
    text-align: right;
    overflow-wrap: anywhere;
}

body.offer-lightbox-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .offer-seller-card,
    .offer-contact-person-card {
        min-height: 100%;
    }
}

@media (max-width: 760px) {
    .offer-gallery-control,
    .offer-lightbox-control {
        width: 42px;
        height: 42px;
    }

    .offer-gallery-arrow-icon {
        width: 21px;
        height: 21px;
    }

    .offer-contact-person-card,
    .offer-seller-card {
        padding: 20px;
    }

    .offer-contact-person {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 16px 14px;
    }

    .offer-contact-avatar {
        width: 88px;
        height: 88px;
        font-size: 26px;
    }

    .offer-contact-person-card p {
        max-width: 280px;
    }

    .offer-map-preview iframe {
        min-height: 260px;
    }

    .offer-lightbox {
        padding: 14px;
    }

    .offer-lightbox-panel {
        max-height: calc(100vh - 28px);
    }

    .offer-lightbox-panel img {
        max-height: calc(100vh - 92px);
    }

    .offer-lightbox-caption {
        display: grid;
        gap: 4px;
    }

    .offer-lightbox-caption span:last-child {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .offer-summary-top {
        align-items: flex-start;
    }

    .offer-share-toast {
        right: -2px;
    }

    .offer-contact-person,
    .offer-seller-body {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .offer-contact-avatar,
    .offer-seller-avatar {
        width: 76px;
        height: 76px;
    }

    .offer-lightbox-control.is-prev {
        left: 8px;
    }

    .offer-lightbox-control.is-next {
        right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-gallery-control,
    .offer-lightbox-control,
    .offer-lightbox-close,
    .offer-share-icon-button,
    .offer-share-toast,
    .offer-contact-reveal {
        transition: none;
    }
}
