/* Listing detail — gdi-ad-details / sale / material / dump mockups */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    --gdi-dex-primary: #5722c7;
    --gdi-dex-primary-dark: #4a1cad;
    --gdi-dex-primary-soft: #f3effb;
    --gdi-dex-bg: #f4f5f7;
    --gdi-dex-surface: #ffffff;
    --gdi-dex-border: #e6e8ec;
    --gdi-dex-border-soft: #eceef2;
    --gdi-dex-text: #1a1730;
    --gdi-dex-muted: #8b86a0;
    --gdi-dex-radius: 12px;
    --gdi-dex-radius-sm: 10px;
    --gdi-dex-shadow: 0 4px 24px rgba(26, 23, 48, 0.06);
    --gdi-dex-success: #16a34a;
    --gdi-dex-warn: #d97706;
    --gdi-dex-danger: #dc2626;
}

body.gdi-detail-page {
    background: var(--gdi-dex-bg) !important;
    color: var(--gdi-dex-text) !important;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    margin: 0;
}

/* —— Detail topbar —— */
.gdi-detail-topbar {
    background: #fff;
    border-bottom: 1px solid var(--gdi-dex-border-soft);
}

.gdi-detail-topbar--rent,
.gdi-detail-topbar--material {
    background: linear-gradient(90deg, #450e8b 0%, #5722c7 100%);
    border-bottom: none;
}

.gdi-detail-topbar__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.gdi-detail-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--gdi-dex-primary);
    letter-spacing: 0.02em;
}

.gdi-detail-topbar--rent .gdi-detail-topbar__brand,
.gdi-detail-topbar--material .gdi-detail-topbar__brand {
    color: #fff;
}

.gdi-detail-topbar__brand small {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.85;
}

.gdi-detail-topbar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
}

.gdi-detail-topbar__nav a {
    font-size: 0.84rem;
    font-weight: 600;
    color: #5f5a74;
    text-decoration: none;
}

.gdi-detail-topbar--rent .gdi-detail-topbar__nav a,
.gdi-detail-topbar--material .gdi-detail-topbar__nav a {
    color: rgba(255, 255, 255, 0.92);
}

.gdi-detail-topbar__nav a:hover {
    color: var(--gdi-dex-primary);
}

.gdi-detail-topbar--rent .gdi-detail-topbar__nav a:hover,
.gdi-detail-topbar--material .gdi-detail-topbar__nav a:hover {
    color: #fff;
}

.gdi-detail-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.gdi-detail-topbar__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #5f5a74;
    text-decoration: none;
}

.gdi-detail-topbar--rent .gdi-detail-topbar__action,
.gdi-detail-topbar--material .gdi-detail-topbar__action {
    color: rgba(255, 255, 255, 0.9);
}

.gdi-detail-topbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--gdi-dex-primary);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--gdi-dex-primary);
}

.gdi-detail-topbar--rent .gdi-detail-topbar__cta,
.gdi-detail-topbar--material .gdi-detail-topbar__cta {
    background: #fff;
    color: var(--gdi-dex-primary) !important;
    border-color: #fff;
}

.gdi-detail-exact,
.gdi-detail-unified {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-top: 1.25rem;
    padding-bottom: 2.75rem;
}

body.gdi-detail-page.gdi-detail-exact,
body.gdi-detail-page.gdi-detail-unified {
    max-width: none;
    width: 100%;
}

main.container.gdi-detail-ref.gdi-detail-exact,
main.container.gdi-detail-ref.gdi-detail-unified,
main.gdi-detail-exact.container,
main.gdi-detail-unified.container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1240px;
}

/* Единый порядок блоков на всех типах карточек */
.gdi-dex-main-col,
.gdi-dex-layout-main,
.gdi-detail-unified .gdi-dex-layout-main {
    display: block;
}

.gdi-dex-layout-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    margin: 0;
}

.gdi-dex-layout-main,
.gdi-dex-layout-sidebar {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

@media (min-width: 992px) {
    .gdi-dex-layout-shell {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    }

    .gdi-dex-layout-main {
        grid-column: 1;
        grid-row: 1;
    }

    .gdi-dex-layout-sidebar {
        grid-column: 2;
        grid-row: 1;
    }

    .gdi-dex-layout-sidebar .sticky-sidebar {
        position: sticky;
        top: 1rem;
    }
}

.gdi-detail-unified .gdi-dex-sidebar-legacy {
    display: none !important;
}

.gdi-detail-exact > .row.g-4,
.gdi-detail-ref.gdi-detail-exact > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.gdi-detail-exact > .row.g-4 > .col-lg-8,
.gdi-detail-exact > .row.g-4 > .col-lg-4,
.gdi-detail-ref.gdi-detail-exact > .row > .col-lg-8,
.gdi-detail-ref.gdi-detail-exact > .row > .col-lg-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 992px) {
    .gdi-detail-exact > .row.g-4,
    .gdi-detail-ref.gdi-detail-exact > .row {
        grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    }

    .gdi-detail-exact > .row.g-4 > .col-lg-8,
    .gdi-detail-ref.gdi-detail-exact > .row > .col-lg-8 {
        grid-column: 1;
        grid-row: 1;
    }

    .gdi-detail-exact > .row.g-4 > .col-lg-4,
    .gdi-detail-ref.gdi-detail-exact > .row > .col-lg-4 {
        grid-column: 2;
        grid-row: 1;
    }
}

.gdi-dex-block--hidden-mockup {
    display: none !important;
}

.gdi-detail-exact .breadcrumb {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gdi-dex-muted);
    box-shadow: none;
}

.gdi-detail-exact .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #c5bfd6;
}

.gdi-detail-exact .breadcrumb-item a {
    color: var(--gdi-dex-muted);
    text-decoration: none;
}

.gdi-detail-exact .breadcrumb-item a:hover {
    color: var(--gdi-dex-primary);
}

.gdi-detail-exact .breadcrumb-item.active {
    color: #6f6a82;
    font-weight: 600;
}

.gdi-detail-exact .card {
    border: 1px solid var(--gdi-dex-border-soft) !important;
    border-radius: var(--gdi-dex-radius) !important;
    box-shadow: var(--gdi-dex-shadow) !important;
    background: var(--gdi-dex-surface) !important;
    transform: none !important;
    margin-bottom: 1rem !important;
}

.gdi-detail-exact .card:hover {
    transform: none !important;
    box-shadow: var(--gdi-dex-shadow) !important;
}

.gdi-detail-exact .card-body {
    padding: 1.35rem 1.45rem;
}

.gdi-detail-exact .gdi-dex-block--gallery .card-body {
    padding: 1rem;
}

.gdi-detail-exact .section-title,
.gdi-detail-exact .gdi-dex-card__title {
    margin: 0 0 0.85rem;
    padding-bottom: 0 !important;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gdi-dex-text);
}

.gdi-detail-exact .section-title::after {
    display: none !important;
}

.gdi-dex-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gdi-dex-hero h1 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.12;
    font-weight: 700;
    color: var(--gdi-dex-text);
}

.gdi-dex-hero__subtitle {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    color: var(--gdi-dex-muted);
    font-weight: 500;
}

.gdi-dex-hero__addr {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    color: var(--gdi-dex-muted);
}

.gdi-dex-hero__addr i {
    color: var(--gdi-dex-primary);
}

.gdi-dex-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.gdi-dex-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: #eef0f4;
    color: #6f6a82;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

a.gdi-dex-tag:hover {
    color: var(--gdi-dex-primary);
}

.gdi-dex-hero__actions {
    display: flex;
    gap: 0.55rem;
    flex-shrink: 0;
}

.gdi-dex-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--gdi-dex-border);
    border-radius: 999px;
    background: #fff;
    color: #5f5a74;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.gdi-dex-icon-btn:hover,
.gdi-dex-icon-btn.active {
    border-color: #cfc5e8;
    color: var(--gdi-dex-primary);
    background: #faf8ff;
}

.gdi-dex-gallery {
    position: relative;
}

.gdi-dex-gallery .main-image {
    width: 100%;
    height: clamp(260px, 42vw, 440px);
    object-fit: cover;
    border-radius: var(--gdi-dex-radius);
    display: block;
}

.gdi-dex-gallery__counter {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(20, 16, 40, 0.72);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
}

.gdi-dex-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #4a4560;
    box-shadow: 0 4px 14px rgba(20, 16, 40, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.gdi-dex-gallery__nav--prev { left: 14px; }
.gdi-dex-gallery__nav--next { right: 14px; }

.gdi-dex-thumbs {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.85rem;
    overflow-x: auto;
}

.gdi-dex-thumbs .thumbnail {
    width: 80px !important;
    height: 60px !important;
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}

.gdi-dex-thumbs .thumbnail.active {
    border-color: var(--gdi-dex-primary);
}

.gdi-detail-exact .description-content {
    font-size: 0.92rem;
    line-height: 1.75 !important;
    color: #4f4a62;
}

.gdi-dex-location {
    display: flex;
    gap: 1.25rem;
}

.gdi-dex-location-addr {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #4f4a62;
}

.gdi-dex-location__map {
    flex: 0 0 48%;
    min-width: 240px;
}

.gdi-detail-exact #map {
    height: 320px;
    min-height: 280px;
    width: 100%;
    border-radius: var(--gdi-dex-radius-sm);
    border: 1px solid var(--gdi-dex-border-soft);
}

body.gdi-detail-unified #map {
    height: 320px;
    min-height: 280px;
    width: 100%;
    border-radius: var(--gdi-dex-radius-sm);
    border: 1px solid var(--gdi-dex-border-soft);
}

.gdi-detail-exact--dump #map,
.gdi-detail-exact--dump .gdi-dex-location__map {
    flex: 1 1 100%;
    max-width: 100%;
}

.gdi-detail-exact--dump #map {
    height: 380px;
    min-height: 320px;
}

body.gdi-detail-page {
    overflow-x: clip;
}

body.gdi-detail-page .gdi-detail-exact,
.gdi-detail-unified {
    margin-top: 0;
}

.gdi-detail-exact .sticky-sidebar {
    position: sticky;
    top: 1rem;
    align-self: start;
}

.gdi-dex-price-card__title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gdi-dex-text);
}

.gdi-dex-price--accent {
    color: var(--gdi-dex-primary);
}

.gdi-dex-price {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    font-weight: 800;
    color: var(--gdi-dex-text);
}

.gdi-dex-price-note {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1.15rem;
    font-size: 0.8rem;
    color: var(--gdi-dex-muted);
}

.gdi-dex-cta-stack {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.gdi-dex-cta-stack .btn-primary,
.gdi-dex-cta-stack .phone-reveal-cta,
.gdi-dex-cta-stack .phone-number,
.gdi-dex-cta-stack .phone-number--owner-visible {
    width: 100%;
    min-height: 50px;
    border-radius: var(--gdi-dex-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--gdi-dex-primary) !important;
    border: 2px solid var(--gdi-dex-primary) !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.7rem 1rem;
}

.gdi-dex-cta-stack .btn-outline-primary {
    width: 100%;
    min-height: 48px;
    border-radius: var(--gdi-dex-radius-sm);
    font-weight: 700;
    border: 2px solid var(--gdi-dex-primary) !important;
    color: var(--gdi-dex-primary) !important;
    background: #fff !important;
}

.gdi-dex-cta-stack .phone-reveal-aside,
.gdi-dex-cta-stack .phone-reveal-cta-chev,
.gdi-dex-cta-stack .phone-reveal-cta-sub,
.gdi-dex-cta-stack > .btn-outline-primary.btn-sm,
.gdi-dex-cta-stack > a.btn-sm {
    display: none !important;
}

.gdi-dex-cta-hint {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.78rem;
    color: var(--gdi-dex-muted);
    text-align: center;
}

.gdi-dex-terms {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gdi-dex-terms li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.55rem;
}

.gdi-dex-terms__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--gdi-dex-primary-soft);
    color: var(--gdi-dex-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}

.gdi-dex-terms__label {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--gdi-dex-muted);
}

.gdi-dex-terms__value {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gdi-dex-text);
}

.gdi-dex-specs .characteristics-grid,
.gdi-dex-specs-source .characteristics-grid {
    display: flex;
    flex-direction: column;
}

.gdi-dex-specs .characteristic-item,
.gdi-dex-specs-source .characteristic-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.72rem 0;
    border-bottom: 1px solid var(--gdi-dex-border-soft);
}

.gdi-dex-specs .characteristic-item:last-child,
.gdi-dex-specs-source .characteristic-item:last-child {
    border-bottom: none;
}

.gdi-dex-specs .characteristic-label,
.gdi-dex-specs-source .characteristic-label {
    font-size: 0.84rem;
    color: var(--gdi-dex-muted);
}

.gdi-dex-specs .characteristic-value,
.gdi-dex-specs-source .characteristic-value {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

/* Trust / verification */
.gdi-dex-trust {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--gdi-dex-radius);
    background: linear-gradient(135deg, #eef4ff 0%, #f3effb 100%);
    border: 1px solid #dbe4f8;
}

.gdi-dex-trust__row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.gdi-dex-trust__row:last-child {
    margin-bottom: 0;
}

.gdi-dex-trust__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.gdi-dex-trust__icon--ok {
    background: var(--gdi-dex-primary);
    color: #fff;
}

.gdi-dex-trust__icon--no {
    background: #fee2e2;
    color: var(--gdi-dex-danger);
}

.gdi-dex-trust__label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--gdi-dex-text);
    line-height: 1.35;
}

.gdi-dex-trust__hint {
    display: block;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--gdi-dex-muted);
    margin-top: 0.15rem;
}

.listing-auto-reg-verification-callout {
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    border-left: 3px solid #0d6efd;
    background: #f3f8ff;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #334155;
}

.listing-auto-reg-verification-callout__text {
    margin: 0;
}

.listing-auto-reg-verification-callout__text strong {
    font-weight: 700;
    color: #0b3d91;
}

.listing-auto-reg-verification-callout__btn {
    margin-top: 0.5rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
}

.verification-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #ecfdf3;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.verification-badge.danger {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.gdi-dex-seller-card .gdi-dex-seller-head {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.gdi-dex-seller-card .gdi-dex-seller-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.gdi-dex-seller-card .gdi-dex-seller-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gdi-dex-text);
    text-decoration: none;
}

.gdi-dex-seller-card .gdi-dex-seller-type {
    font-size: 0.78rem;
    color: var(--gdi-dex-muted);
}

.gdi-dex-seller-card .gdi-dex-seller-rating {
    font-size: 0.82rem;
    font-weight: 600;
    color: #b45309;
    margin-top: 0.25rem;
}

.gdi-dex-seller-card .gdi-dex-seller-rating a {
    color: var(--gdi-dex-primary);
    text-decoration: none;
    font-weight: 600;
}

.gdi-dex-seller-card .btn-outline-secondary {
    width: 100%;
    border-radius: var(--gdi-dex-radius-sm);
    font-weight: 600;
}

.gdi-dex-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.gdi-dex-highlight {
    padding: 1rem;
    border-radius: var(--gdi-dex-radius);
    background: #fff;
    border: 1px solid var(--gdi-dex-border-soft);
    text-align: center;
}

.gdi-dex-highlight__icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: var(--gdi-dex-primary-soft);
    color: var(--gdi-dex-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdi-dex-highlight__value {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.gdi-dex-highlight__label {
    font-size: 0.72rem;
    color: var(--gdi-dex-muted);
}

.gdi-detail-exact--material .gdi-dex-material-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin: 1rem 0;
}

.gdi-dex-material-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #5f5a74;
}

.gdi-dex-material-trust__item i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gdi-dex-primary-soft);
    color: var(--gdi-dex-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gdi-detail-exact .gdi-dex-sidebar-legacy,
.gdi-detail-unified .gdi-dex-sidebar-legacy,
.gdi-detail-exact .gdi-dex-specs-source,
.gdi-detail-unified .gdi-dex-specs-source {
    display: none !important;
}

.gdi-detail-exact--sale .gdi-dex-specs-source {
    display: block !important;
}

.gdi-detail-exact--sale .gdi-dex-specs {
    display: none !important;
}

.gdi-detail-exact .gdi-dex-block--extra .owner-contact-panel,
.gdi-detail-exact .gdi-dex-block--extra .contact-info-compact {
    display: block !important;
}

.gdi-dex-cta-stack .phone-number--revealed {
    background: #f3effb !important;
    border: 2px solid rgba(87, 34, 199, 0.2) !important;
    color: var(--gdi-dex-text) !important;
    cursor: default;
}

.gdi-dex-cta-stack .phone-number--revealed strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.phone-reveal-result.is-visible {
    display: block !important;
}

.gdi-detail-exact--dump .gdi-dex-highlights {
    display: grid !important;
}

/* —— Owner / customer contact panel (all detail pages) —— */
.gdi-detail-exact .owner-contact-panel {
    border-radius: var(--gdi-dex-radius);
    overflow: hidden;
    background: var(--gdi-dex-surface);
    border: 1px solid rgba(87, 34, 199, 0.14);
    box-shadow: var(--gdi-dex-shadow);
}

.gdi-detail-exact .owner-contact-panel__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(105deg, #2a1060 0%, #5722c7 55%, #6b28d9 100%);
    color: #f5f3ff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gdi-detail-exact .owner-contact-panel__head i {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gdi-detail-exact .owner-contact-panel__body {
    padding: 1.35rem 1.45rem;
    background: linear-gradient(180deg, #faf8ff 0%, #fff 55%);
}

.gdi-detail-exact .owner-contact-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gdi-dex-text);
    text-decoration: none;
}

.gdi-detail-exact .owner-contact-company {
    font-size: 0.88rem;
    color: var(--gdi-dex-muted);
    margin-top: 0.35rem;
}

.gdi-detail-exact .owner-trust-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.gdi-detail-exact .owner-rep-rating-panel {
    border-radius: var(--gdi-dex-radius-sm);
    border: 1px solid rgba(87, 34, 199, 0.14);
    background: linear-gradient(145deg, #fff 0%, #f8f5ff 100%);
    padding: 1rem 1.1rem;
    box-shadow: 0 2px 12px rgba(87, 34, 199, 0.06);
}

.gdi-detail-exact .owner-rep-rating-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.gdi-detail-exact .owner-rep-rating-meta {
    font-size: 0.78rem;
    color: var(--gdi-dex-muted);
    margin-top: 0.65rem;
    line-height: 1.45;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(87, 34, 199, 0.16);
}

.gdi-detail-exact .owner-rep-pop-btn {
    border: 1px solid rgba(87, 34, 199, 0.28) !important;
    background: #fff !important;
    color: var(--gdi-dex-text) !important;
    font-weight: 700 !important;
    padding: 0.5rem 0.9rem !important;
    box-shadow: 0 2px 10px rgba(87, 34, 199, 0.08);
}

.gdi-detail-exact .owner-rep-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gdi-detail-exact .btn-review-write {
    border: none;
    background: var(--gdi-dex-primary);
    color: #fff !important;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
}

.gdi-detail-exact .btn-complaint-outline {
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #b91c1c !important;
    background: #fef2f2;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
}

.gdi-detail-exact .phone-reveal-cta {
    width: 100%;
    border: none;
    border-radius: var(--gdi-dex-radius-sm);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: linear-gradient(125deg, #5722c7 0%, #4a1cad 45%, #2a1060 100%);
    color: #fff;
    cursor: pointer;
    text-align: left;
    min-height: 4.5rem;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.gdi-detail-exact .phone-reveal-cta:hover:not(:disabled) {
    filter: brightness(1.05);
    box-shadow: 0 4px 16px rgba(87, 34, 199, 0.25);
}

.gdi-detail-exact .phone-reveal-cta-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.gdi-detail-exact .phone-reveal-cta-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gdi-detail-exact .phone-reveal-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.gdi-detail-exact .phone-reveal-cta-title {
    font-weight: 800;
    font-size: 0.95rem;
}

.gdi-detail-exact .phone-reveal-cta-sub {
    font-size: 0.75rem;
    opacity: 0.9;
}

.gdi-detail-exact .phone-reveal-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--gdi-dex-radius-sm);
    background: var(--gdi-dex-primary-soft);
    border: 1px solid rgba(87, 34, 199, 0.18);
}

.gdi-search-footer {
    background: #fff;
    border-top: 1px solid var(--gdi-dex-border-soft);
    padding: 1.25rem;
}

.gdi-search-footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--gdi-dex-muted);
}

.gdi-search-footer a {
    color: var(--gdi-dex-muted);
    text-decoration: none;
}

.gdi-search-footer a:hover {
    color: var(--gdi-dex-primary);
}

@media (max-width: 991.98px) {
    .gdi-dex-hero { flex-direction: column; }
    .gdi-dex-location { flex-direction: column; }
    .gdi-detail-exact .sticky-sidebar { position: static; }
    .gdi-dex-highlights { grid-template-columns: 1fr; }
    .gdi-detail-exact--material .gdi-dex-material-trust { grid-template-columns: 1fr; }

    body.gdi-detail-unified .gdi-dex-price-card {
        margin-bottom: 0.75rem !important;
    }

    body.gdi-detail-unified .gdi-dex-price {
        font-size: 1.55rem;
        margin-bottom: 0.2rem;
    }

    body.gdi-detail-unified .gdi-dex-price-note {
        margin-bottom: 0.75rem;
    }

    body.gdi-detail-unified .gdi-dex-cta-stack {
        margin-bottom: 0.75rem;
    }

    body.gdi-detail-unified .card.gdi-dex-trust {
        margin-bottom: 0.75rem !important;
    }

    body.gdi-detail-unified .gdi-dex-trust {
        padding: 0.65rem 0.8rem;
    }

    body.gdi-detail-unified .gdi-dex-trust__row {
        margin-bottom: 0.45rem;
        gap: 0.5rem;
    }

    body.gdi-detail-unified .gdi-dex-trust__hint {
        display: none;
    }

    body.gdi-detail-unified .gdi-dex-trust__label {
        font-size: 0.8rem;
    }

    body.gdi-detail-unified .gdi-dex-specs {
        margin-bottom: 0.75rem !important;
    }
}

.gdi-dex-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    padding: 0.55rem 0.65rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(91, 33, 182, 0.14);
    box-shadow: 0 -8px 24px rgba(31, 25, 55, 0.12);
    backdrop-filter: blur(8px);
}

.gdi-dex-mobile-bar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.45rem;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
}

.gdi-dex-mobile-bar__price {
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gdi-dex-primary, #5722c7);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gdi-dex-mobile-bar__btn {
    min-height: 42px;
    padding: 0.45rem 0.75rem;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
    cursor: pointer;
}

.gdi-dex-mobile-bar__btn--phone {
    background: var(--gdi-dex-primary, #5722c7);
    color: #fff;
}

.gdi-dex-mobile-bar__btn--msg {
    background: #fff;
    color: var(--gdi-dex-primary, #5722c7);
    border: 2px solid var(--gdi-dex-primary, #5722c7);
}

@media (max-width: 991.98px) {
    body.gdi-detail-unified.gdi-dex-has-mobile-bar .gdi-dex-mobile-bar {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .gdi-dex-icon-btn span { display: none; }
    .gdi-dex-icon-btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        border-radius: 50%;
    }
}

/* Request details */
.request-ad-details .request-detail-hero h1 {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 700;
    color: var(--gdi-dex-text);
}

.request-ad-details .request-detail-sidebar .card {
    border-radius: var(--gdi-dex-radius) !important;
}

.request-ad-details .verification-status .text-success {
    color: var(--gdi-dex-success) !important;
}

.request-ad-details .verification-status .text-danger {
    color: var(--gdi-dex-danger) !important;
}

/* Unified detail pages (body.gdi-detail-unified): те же стили, что у .gdi-detail-exact */
body.gdi-detail-unified .owner-contact-panel {
    border-radius: var(--gdi-dex-radius);
    overflow: hidden;
    background: var(--gdi-dex-surface);
    border: 1px solid rgba(87, 34, 199, 0.14);
    box-shadow: var(--gdi-dex-shadow);
}

body.gdi-detail-unified .owner-contact-panel__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(105deg, #2a1060 0%, #5722c7 55%, #6b28d9 100%);
    color: #f5f3ff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.gdi-detail-unified .owner-contact-panel__head i {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.gdi-detail-unified .owner-contact-panel__body {
    padding: 1.35rem 1.45rem;
    background: linear-gradient(180deg, #faf8ff 0%, #fff 55%);
}

body.gdi-detail-unified .owner-contact-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gdi-dex-text);
    text-decoration: none;
}

body.gdi-detail-unified .owner-contact-company {
    font-size: 0.88rem;
    color: var(--gdi-dex-muted);
    margin-top: 0.35rem;
}

body.gdi-detail-unified .owner-rep-rating-panel {
    border: 1px solid rgba(87, 34, 199, 0.14);
    border-radius: 10px;
    padding: 1rem;
    background: linear-gradient(145deg, #fff, #f8f5ff);
}

body.gdi-detail-unified .description-content,
body.gdi-detail-unified .gdi-dex-description,
body.gdi-detail-unified .request-desc-full {
    line-height: 1.65;
    white-space: normal;
}

body.gdi-detail-unified .gdi-dex-location-addr {
    margin-bottom: 0.85rem;
}
