/* ═══════════════════════════════════════════════════════════
   Public Share — Premium V4 (Filing purple · minimal editorial)
   Scoped: .ps-theme-premium inside .ps-page
   ═══════════════════════════════════════════════════════════ */

.ps-body:has(.ps-theme-premium) {
    background: #f4f4f5;
    color: #0f0f12;
}

.ps-body:has(.ps-theme-premium)::before {
    background:
        radial-gradient(ellipse 80% 55% at 100% 0%, rgba(124, 58, 237, 0.07), transparent 52%),
        radial-gradient(ellipse 65% 45% at 0% 30%, rgba(15, 15, 18, 0.04), transparent 50%),
        linear-gradient(180deg, #fafafa 0%, #f4f4f5 48%, #efeff1 100%);
    opacity: 1;
}

.ps-body:has(.ps-theme-premium)::after {
    opacity: 0.02;
}

.ps-theme-premium {
    --ps-brand: #7c3aed;
    --ps-brand-2: #8b5cf6;
    --ps-brand-soft: #f5f3ff;
    --ps-brand-muted: #ddd6fe;
    --ps-ink: #0f0f12;
    --ps-text: #18181b;
    --ps-text-soft: #3f3f46;
    --ps-muted: #71717a;
    --ps-surface: #ffffff;
    --ps-surface-2: #faf8ff;
    --ps-border: #e4e4e7;
    --ps-border-light: #ececf1;
    --ps-radius: 20px;
    --ps-radius-md: 14px;
    --ps-radius-sm: 10px;
    --ps-shadow-xs: 0 1px 2px rgba(15, 15, 18, 0.04);
    --ps-shadow: 0 8px 30px rgba(15, 15, 18, 0.06);
    --ps-shadow-lg: 0 24px 60px rgba(124, 58, 237, 0.12);
    --ps-max: 1120px;
    padding-bottom: 4.5rem;
}

/* ── Topbar ── */
.ps-theme-premium .ps-topbar {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid color-mix(in srgb, var(--ps-border-light) 90%, #fff);
}

.ps-theme-premium .ps-topbar::after {
    height: 1px;
    background: linear-gradient(90deg, var(--ps-brand), rgba(124, 58, 237, 0.05) 72%);
    opacity: 1;
}

.ps-theme-premium .ps-brand-logo {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 15, 18, 0.06);
    border-color: var(--ps-border-light);
}

.ps-theme-premium .ps-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ps-theme-premium .ps-topbar-call {
    border-radius: 999px;
    padding-inline: 0.95rem;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}

.ps-theme-premium .ps-topbar-wa {
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Hero / gallery ── */
@media (min-width: 768px) {
    .ps-theme-premium .ps-hero {
        max-width: var(--ps-max);
        margin: 0.35rem auto 0;
        padding: 0 1.35rem;
    }

    .ps-theme-premium .ps-gallery-wrap {
        border-radius: 24px;
        box-shadow: var(--ps-shadow-lg);
    }

    .ps-theme-premium .ps-gallery-main {
        border-radius: 24px 24px 0 0;
        max-height: min(62vh, 580px);
    }

    .ps-theme-premium .ps-gallery-thumbs {
        border-radius: 0 0 24px 24px;
        background: #101014;
    }
}

.ps-theme-premium .ps-hero-overlay {
    background: linear-gradient(180deg, transparent 28%, rgba(9, 9, 11, 0.82) 100%);
}

.ps-theme-premium .ps-hero-overlay-title {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ps-theme-premium .ps-hero-overlay-price {
    color: #e9d5ff;
    font-weight: 800;
}

.ps-theme-premium .ps-gallery-thumbs .swiper-slide-thumb-active {
    border-color: var(--ps-brand-2);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35);
}

/* ── Overview — بدون پوشش روی بندانگشتی‌ها ── */
.ps-theme-premium .ps-container {
    position: relative;
    z-index: 4;
    padding-top: 0.85rem;
    margin-top: 0;
}

.ps-theme-premium .ps-hero + .ps-container {
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .ps-theme-premium .ps-hero + .ps-container {
        margin-top: 1rem;
    }
}

.ps-theme-premium .ps-container--tail {
    padding-top: 0;
    margin-top: 0.5rem;
}

.ps-theme-premium .ps-overview {
    margin-bottom: 1.25rem;
    padding: 1.35rem 1.4rem 1.4rem;
    background: var(--ps-surface);
    border: 1px solid color-mix(in srgb, var(--ps-border) 88%, #fff);
    border-radius: 22px;
    box-shadow:
        0 1px 2px rgba(15, 15, 18, 0.03),
        0 20px 50px -28px rgba(124, 58, 237, 0.22);
}

.ps-theme-premium .ps-overview .ps-finance {
    background: var(--ps-brand-soft);
    border: 1px solid var(--ps-brand-muted);
    border-radius: var(--ps-radius-md);
    padding: 0.85rem 1rem;
}

.ps-theme-premium .ps-finance-primary {
    color: var(--ps-brand);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.ps-theme-premium .ps-overview .ps-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
    gap: 0.5rem;
    padding: 0.65rem 0 0;
    border-top: 1px solid var(--ps-border-light);
}

.ps-theme-premium .ps-spec {
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border-light);
    border-radius: 12px;
    padding: 0.55rem 0.65rem;
}

.ps-theme-premium .ps-spec-ico {
    color: var(--ps-brand);
    background: color-mix(in srgb, var(--ps-brand) 10%, #fff);
}

.ps-theme-premium .ps-tag--deal {
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    border-radius: 999px;
    border-color: var(--ps-brand-muted);
}

.ps-theme-premium .ps-tag--file {
    background: #18181b;
    border-radius: 999px;
}

.ps-theme-premium .ps-identity-title {
    letter-spacing: -0.035em;
}

/* ── Amenities & blocks ── */
.ps-theme-premium .ps-amenities,
.ps-theme-premium .ps-details,
.ps-theme-premium .ps-quote {
    border-radius: var(--ps-radius);
    border-color: var(--ps-border-light);
    box-shadow: var(--ps-shadow-xs);
}

.ps-theme-premium .ps-amenity.is-yes {
    border-color: color-mix(in srgb, #22c55e 35%, var(--ps-border-light));
    background: color-mix(in srgb, #22c55e 6%, #fff);
}

.ps-theme-premium .ps-section-title i,
.ps-theme-premium .ps-block-title i,
.ps-theme-premium .ps-quote-kicker {
    color: var(--ps-brand);
}

.ps-theme-premium .ps-block-title {
    border-bottom-color: var(--ps-border-light);
    font-size: 0.95rem;
}

.ps-theme-premium .ps-tab.is-active {
    color: var(--ps-brand);
    border-bottom-color: var(--ps-brand);
}

/* ── Agent sidebar ── */
.ps-theme-premium .ps-agent {
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--ps-border) 90%, #fff);
    background:
        linear-gradient(165deg, rgba(124, 58, 237, 0.05) 0%, transparent 55%),
        var(--ps-surface);
    box-shadow:
        0 1px 2px rgba(15, 15, 18, 0.03),
        0 16px 40px -24px rgba(124, 58, 237, 0.18);
    padding: 1.1rem 1.15rem;
}

.ps-theme-premium .ps-agent-avatar {
    border-radius: 16px;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(15, 15, 18, 0.1);
}

.ps-theme-premium .ps-agent-phone {
    border-radius: 12px;
    background: var(--ps-brand-soft);
    border: 1px solid var(--ps-brand-muted);
    color: var(--ps-brand);
    font-weight: 800;
}

.ps-theme-premium .ps-btn--primary {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.32);
}

.ps-theme-premium .ps-btn--ghost {
    border-color: var(--ps-brand-muted);
}

/* ── Map finale ── */
.ps-theme-premium .ps-map-finale {
    background: transparent;
}

.ps-theme-premium .ps-map-finale-shell {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow);
}

.ps-theme-premium .ps-map-route--neshan,
.ps-theme-premium .ps-map-route--google,
.ps-theme-premium .ps-map-route--waze,
.ps-theme-premium .ps-map-route--balad {
    border-radius: 14px;
}

/* ── Marketplace inquiry ── */
.ps-theme-premium .ps-mkt-inquiry {
    max-width: var(--ps-max);
    margin: 1.5rem auto 0;
    padding: 1.2rem 1.35rem 1.35rem;
    border-radius: 22px;
    border: 1px solid var(--ps-brand-muted);
    background:
        linear-gradient(165deg, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        var(--ps-surface);
    box-shadow: var(--ps-shadow-xs);
}

.ps-theme-premium .ps-mkt-inquiry h2 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ps-theme-premium .ps-mkt-inquiry-form input[type="text"],
.ps-theme-premium .ps-mkt-inquiry-form input[type="tel"],
.ps-theme-premium .ps-mkt-inquiry-form textarea {
    border-radius: 12px;
    border-color: var(--ps-border);
    background: #fff;
}

.ps-theme-premium .ps-mkt-inquiry-form input:focus,
.ps-theme-premium .ps-mkt-inquiry-form textarea:focus {
    border-color: var(--ps-brand-2);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
    outline: none;
}

/* ── Dock (mobile) ── */
.ps-theme-premium .ps-dock {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid var(--ps-border-light);
    box-shadow: 0 -12px 40px rgba(15, 15, 18, 0.08);
}

.ps-theme-premium .ps-dock-price {
    color: var(--ps-brand);
}

/* ── Footer ── */
.ps-theme-premium .ps-footer {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem 2.25rem;
    background: transparent;
    border-top: 1px solid var(--ps-border-light);
    color: var(--ps-muted);
}

.ps-theme-premium .ps-footer strong {
    color: var(--ps-text);
}

.ps-theme-premium .ps-footer a {
    color: var(--ps-brand);
}

/* ── Lightbox accent ── */
.ps-theme-premium .ps-lightbox-close:focus-visible,
.ps-theme-premium .ps-gallery-nav:focus-visible {
    outline-color: var(--ps-brand-2);
}

/* ── Desktop topbar call hidden on mobile (dock handles) ── */
@media (max-width: 767px) {
    .ps-theme-premium .ps-topbar-actions {
        display: none;
    }

    .ps-theme-premium .ps-container {
        padding-inline: 0.85rem;
        padding-top: 0.65rem;
    }

    .ps-theme-premium .ps-hero + .ps-container {
        margin-top: 0.5rem;
    }

    .ps-theme-premium .ps-overview {
        border-radius: 20px 20px 18px 18px;
        padding: 1.1rem 1rem 1.15rem;
        box-shadow:
            0 8px 32px -20px rgba(15, 15, 18, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    }

    .ps-theme-premium .ps-overview {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .ps-theme-premium .ps-overview .ps-finance {
        grid-column: 1;
        grid-row: auto;
    }

    .ps-theme-premium:not(.ps-atlas) .ps-overview .ps-specs {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.45rem;
        overflow-x: auto;
        padding-bottom: 0.15rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .ps-theme-premium:not(.ps-atlas) .ps-overview .ps-specs::-webkit-scrollbar {
        display: none;
    }

    .ps-theme-premium:not(.ps-atlas) .ps-overview .ps-spec {
        flex: 0 0 auto;
        min-width: 6.5rem;
    }

    .ps-theme-premium .ps-hero .ps-gallery-wrap {
        border-radius: 0 0 22px 22px;
        box-shadow: 0 16px 40px -28px rgba(15, 15, 18, 0.45);
    }

    .ps-theme-premium .ps-mkt-inquiry {
        margin-inline: 0.85rem;
        padding: 1rem;
    }

    .ps-theme-premium .ps-agent {
        border-radius: 18px;
    }
}

@media (min-width: 961px) {
    .ps-theme-premium.ps-atlas .ps-atlas-shell {
        grid-template-columns: minmax(268px, 308px) minmax(0, 1fr);
        column-gap: 0;
    }
}

/* ═══ V2 — رفع شلوغی، نقشه روشن، موبایل‌فرست ═══ */

.ps-theme-premium .ps-section-title {
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.ps-theme-premium .ps-section-title i {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    font-size: 0.72rem;
    background: var(--ps-brand-soft);
}

/* امکانات — چیپ‌های یکدست */
.ps-theme-premium .ps-amenities--premium {
    margin-bottom: 0.75rem;
    padding: 0.95rem 1.05rem 1rem;
    border: 1px solid var(--ps-border-light);
    background: var(--ps-surface);
    box-shadow: var(--ps-shadow-xs);
}

.ps-theme-premium .ps-amenity-grid {
    grid-template-columns: repeat(auto-fill, minmax(9.25rem, 1fr));
    gap: 0.4rem;
}

.ps-theme-premium .ps-amenity {
    gap: 0.45rem;
    padding: 0.48rem 0.55rem;
    min-height: auto;
    border-radius: 12px;
    border: 1px solid var(--ps-border-light);
    background: #fff;
}

.ps-theme-premium .ps-amenity.is-yes {
    border-color: color-mix(in srgb, var(--ps-brand) 18%, var(--ps-border-light));
    background: #fff;
}

.ps-theme-premium .ps-amenity.is-yes .ps-amenity-icon {
    color: var(--ps-brand);
}

.ps-theme-premium .ps-amenity.is-yes .ps-amenity-state {
    color: var(--ps-muted);
    font-weight: 600;
}

.ps-theme-premium .ps-amenity-extras {
    margin-top: 0.55rem;
    gap: 0.35rem;
}

.ps-theme-premium .ps-amenity-chip {
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ps-text-soft);
    background: #fff;
    border: 1px solid var(--ps-border-light);
}

.ps-theme-premium .ps-amenity-chip i {
    color: var(--ps-brand);
    opacity: 0.85;
}

/* پیام مشاور */
.ps-theme-premium .ps-quote {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    border: none;
    border-inline-start: 3px solid var(--ps-brand);
    border-radius: 0 14px 14px 0;
    background: color-mix(in srgb, var(--ps-brand-soft) 55%, #fff);
    box-shadow: none;
}

.ps-theme-premium .ps-quote-kicker {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
}

.ps-theme-premium .ps-quote-body {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--ps-text-soft);
}

.ps-theme-premium .ps-quote footer {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    color: var(--ps-muted);
}

/* جزئیات تکمیلی */
.ps-theme-premium .ps-details {
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow-xs);
}

.ps-theme-premium .ps-details .ps-block-title {
    padding: 0.95rem 1.1rem 0.7rem;
    margin: 0;
    border-bottom: 1px solid var(--ps-border-light);
}

.ps-theme-premium .ps-tabs {
    padding-inline: 1rem;
    border-bottom-color: var(--ps-border-light);
}

.ps-theme-premium .ps-tab {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.65rem 0.75rem;
    color: var(--ps-muted);
}

.ps-theme-premium .ps-spec-row {
    border-bottom-color: var(--ps-border-light);
}

/* کارت مشاور */
.ps-theme-premium .ps-agent::before {
    display: none;
}

.ps-theme-premium .ps-agent-name {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.ps-theme-premium .ps-agent-btns .ps-btn {
    border-radius: 12px;
    min-height: 44px;
}

.ps-theme-premium .ps-agent-more {
    border-top-color: var(--ps-border-light);
}

.ps-theme-premium .ps-agent-office-nav-links {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
}

.ps-theme-premium .ps-agent-office-nav-links a {
    min-height: 46px;
    border-radius: 11px;
    font-size: 0.62rem;
    background: var(--ps-surface-2);
}

.ps-theme-premium .ps-agent-socials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.35rem, 1fr));
    gap: 0.35rem;
    border-top: none;
    padding-top: 0.35rem;
    margin-top: 0.35rem;
}

.ps-theme-premium .ps-agent-social {
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.35rem;
    border-radius: 11px;
}

.ps-theme-premium .ps-agent-social > span:not(.ps-agent-social-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.ps-theme-premium .ps-agent-socials-label {
    grid-column: 1 / -1;
    margin: 0.15rem 0 0;
}

/* نقشه — تم روشن (رفع نوارهای تیره) */
.ps-theme-premium .ps-map-finale,
.ps-theme-premium .ps-map-finale--office {
    --ps-map-ink: var(--ps-text);
    --ps-map-muted: var(--ps-muted);
    --ps-map-panel: #fff;
    --ps-map-deep: #fff;
    margin-top: 1.25rem;
    padding: 0 1rem 1.25rem;
    background: transparent;
    color: var(--ps-text);
    overflow: visible;
}

.ps-theme-premium .ps-map-finale-shell {
    max-width: var(--ps-max);
    padding: 0;
    gap: 0.85rem;
}

.ps-theme-premium .ps-map-finale-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: 18px;
    box-shadow: var(--ps-shadow-xs);
}

.ps-theme-premium .ps-map-finale-intro--compact {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ps-theme-premium .ps-map-finale-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
    margin-bottom: 0;
}

.ps-theme-premium .ps-map-finale-title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ps-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ps-theme-premium .ps-map-finale-title i {
    color: var(--ps-brand);
    font-size: 0.82rem;
}

.ps-theme-premium .ps-map-finale-kicker {
    display: none;
}

.ps-theme-premium .ps-map-finale-accuracy {
    color: var(--ps-text-soft);
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border-light);
}

.ps-theme-premium .ps-map-finale-accuracy--exact {
    color: #15803d;
    background: color-mix(in srgb, #22c55e 10%, #fff);
    border-color: color-mix(in srgb, #22c55e 25%, var(--ps-border-light));
}

.ps-theme-premium .ps-map-finale-place-card {
    width: 100%;
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border-light);
    box-shadow: none;
    backdrop-filter: none;
}

.ps-theme-premium .ps-map-finale-place-body em {
    color: var(--ps-muted);
}

.ps-theme-premium .ps-map-finale-place-body strong {
    color: var(--ps-ink);
    font-size: 0.92rem;
}

.ps-theme-premium .ps-map-finale-place-pin {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.85rem;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--ps-brand-2), var(--ps-brand));
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28);
}

.ps-theme-premium .ps-map-finale-place-pulse {
    display: none;
}

.ps-theme-premium .ps-map-route-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
}

.ps-theme-premium .ps-map-route.ps-map-route--chip {
    display: inline-flex;
    grid-template-columns: unset;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    color: var(--ps-text);
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border-light);
    box-shadow: none;
    text-decoration: none;
}

.ps-theme-premium .ps-map-route.ps-map-route--chip:hover {
    transform: none;
    border-color: color-mix(in srgb, var(--ps-brand) 25%, var(--ps-border-light));
    background: #fff;
}

.ps-theme-premium .ps-map-route-text em {
    display: none;
}

.ps-theme-premium .ps-map-route-text strong {
    font-size: 0.72rem;
    font-weight: 700;
}

.ps-theme-premium .ps-map-route-ico {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 8px;
    font-size: 0.68rem;
    box-shadow: none;
}

.ps-theme-premium .ps-map-route-go {
    display: none;
}

.ps-theme-premium .ps-map-finale-canvas {
    margin-top: 0.65rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow-xs);
}

.ps-theme-premium .ps-map-finale-frame-edge {
    display: none;
}

/* فرم بازار */
.ps-theme-premium .ps-mkt-inquiry--premium {
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ps-border-light);
    background: var(--ps-surface);
    box-shadow: var(--ps-shadow);
    border-radius: 18px;
    max-width: 100%;
}

.ps-theme-premium .ps-mkt-inquiry-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1.1rem 1.2rem 0.85rem;
    background: linear-gradient(165deg, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    border-bottom: 1px solid var(--ps-border-light);
}

.ps-theme-premium .ps-mkt-inquiry-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
    border: 1px solid var(--ps-brand-muted);
}

.ps-theme-premium .ps-mkt-inquiry-head h2 {
    margin: 0;
}

.ps-theme-premium .ps-mkt-inquiry-head .ps-mkt-inquiry-lead {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
}

.ps-theme-premium .ps-mkt-inquiry-form {
    padding: 1rem 1.2rem 1.15rem;
}

.ps-theme-premium .ps-mkt-inquiry-form label {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ps-text-soft);
}

.ps-theme-premium .ps-mkt-inquiry-row {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .ps-theme-premium .ps-mkt-inquiry-row {
        grid-template-columns: 1fr 1fr;
    }
}

.ps-theme-premium .ps-mkt-inquiry-form input[type="text"],
.ps-theme-premium .ps-mkt-inquiry-form input[type="tel"],
.ps-theme-premium .ps-mkt-inquiry-form textarea {
    margin-top: 0;
    min-height: 2.65rem;
    padding: 0.55rem 0.7rem;
}

.ps-theme-premium .ps-mkt-inquiry-type {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.65rem 0 0.5rem;
}

.ps-theme-premium .ps-mkt-inquiry-type label {
    flex-direction: row;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--ps-border-light);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
}

.ps-theme-premium .ps-mkt-inquiry-type label:has(input:checked) {
    border-color: var(--ps-brand-muted);
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
}

.ps-theme-premium .ps-mkt-consent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.74rem;
    line-height: 1.55;
    color: var(--ps-muted);
    margin: 0.5rem 0 0.65rem;
}

.ps-theme-premium .ps-mkt-inquiry-form .ps-btn--block {
    min-height: 2.85rem;
    border-radius: 12px;
    font-weight: 800;
}

/* موبایل */
@media (max-width: 767px) {
    .ps-theme-premium .ps-layout {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .ps-theme-premium .ps-sidebar {
        order: -1;
        position: static;
    }

    .ps-theme-premium .ps-agent {
        margin-bottom: 0.15rem;
    }

    .ps-theme-premium .ps-map-finale,
    .ps-theme-premium .ps-map-finale--office {
        padding-inline: 0.85rem;
    }

    .ps-theme-premium .ps-amenity-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ps-theme-premium .ps-container--tail {
        padding-inline: 0.85rem;
    }
}

@media (min-width: 769px) {
    .ps-theme-premium .ps-map-finale-intro--compact {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .ps-theme-premium .ps-map-finale-intro-copy {
        flex: 1 1 14rem;
        min-width: 0;
    }

    .ps-theme-premium .ps-map-route-strip {
        flex: 1 1 auto;
        justify-content: flex-end;
        max-width: 100%;
    }
}