/* ═══════════════════════════════════════════════════════════
   Public Share — Architectural Dossier (ps-*)
   Photography-first · warm stone · deep teal accent
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

.ps-root { color-scheme: light; }

.ps-body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #ebe6df;
    color: #12141a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.65;
}

.ps-body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 55% at 80% -10%, rgba(15, 118, 110, 0.09), transparent 55%),
        radial-gradient(ellipse 70% 45% at 0% 20%, rgba(180, 140, 90, 0.08), transparent 50%),
        linear-gradient(180deg, #f3efe8 0%, #ebe6df 40%, #e5dfd6 100%);
}

.ps-body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ps-page {
    --ps-brand: #0F766E;
    --ps-brand-2: #0d9488;
    --ps-brand-soft: #ecf8f6;
    --ps-brand-muted: #cce8e4;
    --ps-ink: #12141a;
    --ps-text: #12141a;
    --ps-text-soft: #3a3d46;
    --ps-muted: #6b6f7a;
    --ps-surface: #faf8f5;
    --ps-surface-2: #f3efe8;
    --ps-border: #ddd6cb;
    --ps-border-light: #e8e2d8;
    --ps-wa: #16a34a;
    --ps-radius: 14px;
    --ps-radius-md: 10px;
    --ps-radius-sm: 8px;
    --ps-shadow-xs: 0 1px 2px rgba(18, 20, 26, 0.04);
    --ps-shadow: 0 4px 20px rgba(18, 20, 26, 0.06);
    --ps-shadow-lg: 0 16px 40px rgba(18, 20, 26, 0.08);
    --ps-max: 1080px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding-bottom: 5rem;
}

/* ── Reveal motion ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ── Topbar ── */
.ps-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 245, 0.82);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid var(--ps-border-light);
}

.ps-topbar::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--ps-brand), transparent 70%);
    opacity: 0.7;
}

.ps-topbar-inner {
    max-width: var(--ps-max);
    margin: 0 auto;
    padding: 0.75rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ps-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.ps-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow-xs);
}

.ps-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.ps-brand-text em {
    font-style: normal;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--ps-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-brand-text small {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--ps-muted);
}

.ps-topbar-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* ── Buttons ── */
.ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.62rem 1.1rem;
    border-radius: var(--ps-radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    letter-spacing: -0.01em;
}

.ps-btn:hover { transform: translateY(-1px); }
.ps-btn:active { transform: translateY(0); }
.ps-btn:focus-visible {
    outline: 2px solid var(--ps-brand);
    outline-offset: 2px;
}
.ps-btn:disabled,
.ps-btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.ps-btn--primary {
    background: var(--ps-brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(15, 118, 110, 0.28);
}

.ps-btn--primary:hover {
    background: #0c635c;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.32);
}

.ps-btn--wa {
    background: var(--ps-wa);
    color: #fff;
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.22);
}

.ps-btn--wa:hover { background: #15803d; }

.ps-btn--ghost {
    background: var(--ps-surface);
    color: var(--ps-brand);
    border: 1px solid var(--ps-brand-muted);
}

.ps-btn--ghost:hover {
    background: var(--ps-brand-soft);
}

.ps-btn--sm { padding: 0.48rem 0.85rem; font-size: 0.76rem; }
.ps-btn--block { width: 100%; }

.ps-btn--nav {
    background: var(--ps-brand);
    color: #fff;
    font-weight: 700;
}

.ps-btn--nav:hover { color: #fff; background: #0c635c; }

.ps-btn--nav-alt {
    background: var(--ps-surface);
    color: var(--ps-text);
    border: 1px solid var(--ps-border);
    font-weight: 600;
}

.ps-btn--nav-alt:hover {
    border-color: var(--ps-brand-muted);
    color: var(--ps-brand);
}

/* ── Full-bleed gallery ── */
.ps-hero {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ps-gallery-wrap {
    background: #1a1c22;
    overflow: hidden;
    position: relative;
}

.ps-gallery-main {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: min(68vh, 620px);
    position: relative;
    background: #1a1c22;
}

.ps-gallery-main .swiper-wrapper { height: 100%; }
.ps-gallery-main .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-gallery-slide {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    cursor: zoom-in;
    background: #1a1c22;
    overflow: hidden;
}

.ps-gallery-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, #22252c 20%, #2e323c 40%, #22252c 60%);
    background-size: 200% 100%;
    animation: ps-shimmer 1.2s ease-in-out infinite;
    z-index: 0;
}

.ps-gallery-slide.is-loaded .ps-gallery-skeleton,
.ps-gallery-slide.is-error .ps-gallery-skeleton { display: none; }

@keyframes ps-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.ps-gallery-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ps-gallery-slide.is-loaded .ps-gallery-img { opacity: 1; }

.ps-gallery-slide.is-portrait .ps-gallery-img {
    object-fit: contain;
    background: #12141a;
}

.ps-gallery-slide.is-error {
    cursor: default;
    background: linear-gradient(160deg, #2a2d35 0%, #3d414c 100%);
}

.ps-gallery-slide.is-error::after {
    content: 'بارگذاری تصویر ممکن نشد';
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
}

.ps-gallery-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.45rem;
    border-radius: 999px;
    background: rgba(18, 20, 26, 0.55);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mobile hero title/price overlay */
.ps-hero-overlay {
    display: none;
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 4;
    pointer-events: none;
    padding: 3.5rem 1rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 26, 0.72) 70%);
}

.ps-hero-overlay-inner {
    max-width: var(--ps-max);
    margin: 0 auto;
}

.ps-hero-overlay-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #f8fafc;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.ps-hero-overlay-price {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #99f6e4;
    letter-spacing: -0.02em;
}

.ps-gallery-nav {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ps-gallery-nav:hover { background: rgba(255, 255, 255, 0.28); }
.ps-gallery-nav:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.ps-gallery-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    min-width: 3.2rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.ps-gallery-thumbs {
    padding: 0.55rem 1rem;
    background: #14161b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-gallery-thumbs .swiper-slide {
    width: 72px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.4;
    cursor: pointer;
    border: 2px solid transparent;
    transition: opacity 0.2s, border-color 0.2s;
}

.ps-gallery-thumbs .swiper-slide:focus-visible {
    outline: 2px solid var(--ps-brand-2);
    outline-offset: 2px;
}

.ps-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--ps-brand-2);
}

.ps-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-gallery-empty {
    aspect-ratio: 16 / 10;
    max-height: 360px;
    background: linear-gradient(160deg, #2a2d35 0%, #3d414c 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.ps-gallery-empty-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.ps-gallery-empty p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ── Identity sheet ── */
.ps-container {
    max-width: var(--ps-max);
    margin: 0 auto;
    padding: 1.25rem 1.35rem 0;
}

.ps-identity {
    background: var(--ps-surface);
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow);
    padding: 1.25rem 1.4rem 1.35rem;
    margin-bottom: 1rem;
}

.ps-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ps-muted);
    margin-bottom: 0.7rem;
}

.ps-crumb i { font-size: 0.5rem; opacity: 0.5; }

.ps-identity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.ps-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.ps-tag--deal {
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    border: 1px solid var(--ps-brand-muted);
}

.ps-tag--file {
    background: var(--ps-ink);
    color: #faf8f5;
}

.ps-tag--adv {
    background: var(--ps-surface-2);
    color: var(--ps-text-soft);
    border: 1px solid var(--ps-border);
}

.ps-tag--warn {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.ps-identity-title {
    margin: 0;
    font-size: clamp(1.45rem, 3.4vw, 2.15rem);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -0.035em;
    color: var(--ps-ink);
}

.ps-identity-loc {
    margin: 0.55rem 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ps-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ps-identity-loc i {
    color: var(--ps-brand);
    font-size: 0.8rem;
}

/* ── Overview card (identity + finance + specs) ── */
.ps-overview {
    margin: 0 0 1.15rem;
    padding: 1.25rem 1.3rem 1.3rem;
    background:
        linear-gradient(165deg, rgba(15, 118, 110, 0.06) 0%, transparent 42%),
        var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius);
    box-shadow: var(--ps-shadow-xs);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 1.15rem 1.5rem;
    align-items: start;
}

.ps-overview .ps-identity {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    grid-column: 1;
    grid-row: 1;
}

.ps-overview .ps-finance {
    margin: 0;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.72);
    grid-column: 2;
    grid-row: 1;
}

.ps-overview .ps-specs {
    margin: 0;
    background: rgba(255, 255, 255, 0.55);
    grid-column: 1 / -1;
    grid-row: 2;
    border: none;
    box-shadow: none;
}

.ps-overview:not(:has(.ps-finance)) {
    grid-template-columns: 1fr;
}

.ps-section-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ps-ink);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ps-section-title i {
    color: var(--ps-brand);
    font-size: 0.85rem;
}

.ps-quote-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--ps-brand);
}

.ps-quote-kicker i { font-size: 0.75rem; }

.ps-block-title i {
    color: var(--ps-brand);
    margin-left: 0.35rem;
    font-size: 0.85rem;
}

.ps-desc {
    padding: 1.1rem 1.2rem;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius);
}

.ps-desc .ps-block-title {
    border-bottom: 1px solid var(--ps-border-light);
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
}

/* ── Finance card ── */
.ps-finance {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius);
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: var(--ps-shadow-xs);
    position: relative;
    overflow: hidden;
}

.ps-finance::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ps-brand), var(--ps-brand-2));
}

.ps-finance-primary {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--ps-brand);
    line-height: 1.28;
}

.ps-finance-note {
    display: inline-flex;
    margin-top: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    border: 1px solid var(--ps-brand-muted);
}

.ps-finance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.ps-finance-grid:empty,
.ps-finance-grid:not(:has(.ps-finance-item)) { display: none; margin: 0; }

.ps-finance-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border-light);
}

.ps-finance-ico {
    width: 2rem;
    height: 2rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    font-size: 0.78rem;
}

.ps-finance-item-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ps-finance-item--pps .ps-finance-ico { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.ps-finance-item--deposit .ps-finance-ico { background: rgba(5, 150, 105, 0.1); color: #059669; }
.ps-finance-item--rent .ps-finance-ico { background: rgba(15, 118, 110, 0.12); color: var(--ps-brand); }
.ps-finance-item--price .ps-finance-ico { background: rgba(180, 140, 90, 0.14); color: #9a7040; }

.ps-finance-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ps-muted);
    margin-bottom: 0;
}

.ps-finance-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ps-ink);
    letter-spacing: -0.02em;
}

.ps-finance-item--rent .ps-finance-value {
    color: var(--ps-brand);
}

/* ── Specs strip ── */
.ps-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 1rem;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius);
    overflow: hidden;
}

.ps-spec {
    flex: 1 1 120px;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.95rem 1.1rem;
    border-left: 1px solid var(--ps-border-light);
    min-width: 0;
}

.ps-spec:last-child { border-left: none; }

.ps-spec-ico {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    font-size: 0.78rem;
}

.ps-spec-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ps-spec-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ps-muted);
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

.ps-spec strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ps-ink);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

/* ── Amenities ── */
.ps-amenities {
    margin-bottom: 1.15rem;
    padding: 1.1rem 1.2rem;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius);
}

.ps-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.55rem;
}

.ps-amenity {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--ps-radius-sm);
    border: 1px solid var(--ps-border-light);
    background: var(--ps-surface-2);
    min-height: 44px;
}

.ps-amenity-icon {
    width: auto;
    height: auto;
    min-width: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 0.95rem;
    flex-shrink: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--ps-brand);
}

.ps-amenity.is-yes {
    border-color: var(--ps-brand-muted);
    background: var(--ps-brand-soft);
}

.ps-amenity.is-yes .ps-amenity-icon {
    background: transparent;
    color: #16a34a;
}

.ps-amenity.is-no {
    opacity: 0.72;
}

.ps-amenity.is-no .ps-amenity-icon {
    background: transparent;
    color: #a1a1aa;
}

.ps-amenity.is-unknown {
    opacity: 0.55;
}

.ps-amenity-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ps-ink);
    line-height: 1.25;
}

.ps-amenity-state {
    margin-right: auto;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--ps-muted);
}

.ps-amenity.is-yes .ps-amenity-state { color: #15803d; }

.ps-amenity-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.ps-amenity-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    border: 1px solid var(--ps-brand-muted);
    min-height: 32px;
}

.ps-amenity-chip i {
    font-size: 0.72rem;
    width: 0.9rem;
    text-align: center;
    opacity: 0.9;
}

/* ── Highlights (legacy) ── */
.ps-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
    margin-bottom: 1.15rem;
    padding: 0.15rem 0.25rem;
}

.ps-hl {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ps-text-soft);
}

.ps-hl i {
    color: var(--ps-brand);
    font-size: 0.7rem;
}

/* ── Quote ── */
.ps-quote {
    margin: 0 0 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--ps-radius-md);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-right: 3px solid var(--ps-brand);
}

.ps-quote p {
    margin: 0 0 0.45rem;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ps-text-soft);
    font-weight: 500;
}

.ps-quote-body {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ps-text-soft);
    font-weight: 500;
}

.ps-quote-body p { margin: 0 0 0.45rem; }
.ps-quote-body ul,
.ps-quote-body ol { margin: 0.35rem 0 0.55rem; padding-inline-start: 1.2rem; }
.ps-quote-body a { color: var(--ps-brand); text-decoration: underline; }
.ps-quote-body strong,
.ps-quote-body b { font-weight: 700; color: var(--ps-ink); }

.ps-quote footer {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ps-brand);
}

/* ── Layout ── */
.ps-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 1.15rem;
    align-items: start;
}

.ps-main { min-width: 0; }

.ps-sidebar {
    min-width: 0;
    position: sticky;
    top: 4.5rem;
}

/* ── Content blocks (editorial, light chrome) ── */
.ps-block {
    margin-bottom: 1.15rem;
    padding-bottom: 0.25rem;
}

.ps-block-title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ps-ink);
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--ps-border);
}

.ps-desc-body {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--ps-text-soft);
    white-space: pre-wrap;
}

.ps-details {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius);
    overflow: hidden;
    padding: 0;
}

.ps-details .ps-block-title {
    margin: 0;
    padding: 1rem 1.2rem 0.85rem;
    border-bottom: none;
}

/* ── Tabs ── */
.ps-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 1rem;
    border-bottom: 1px solid var(--ps-border-light);
    overflow-x: auto;
    scrollbar-width: none;
}

.ps-tabs::-webkit-scrollbar { display: none; }

.ps-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.85rem 0.9rem;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    color: var(--ps-muted);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

.ps-tab em {
    font-style: normal;
    font-size: 0.62rem;
    padding: 0.08rem 0.35rem;
    border-radius: 4px;
    background: var(--ps-border-light);
    color: var(--ps-muted);
}

.ps-tab:hover { color: var(--ps-brand); }
.ps-tab:focus-visible {
    outline: 2px solid var(--ps-brand);
    outline-offset: -2px;
    border-radius: 4px 4px 0 0;
}

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

.ps-tab.is-active em {
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
}

.ps-tab span { line-height: 1.2; }
.ps-tab i { font-size: 0.72rem; opacity: 0.85; }
.ps-tab.is-active i { opacity: 1; }

.ps-panels { padding: 1.15rem 1.2rem; }

/* Accordion — mobile default; desktop uses same DOM with hidden summaries */
.ps-accordion { display: block; }

.ps-acc-item {
    border-bottom: 1px solid var(--ps-border-light);
}

.ps-acc-item:last-child { border-bottom: none; }

.ps-acc-summary {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.95rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ps-ink);
    cursor: pointer;
    list-style: none;
    min-height: 48px;
    user-select: none;
}

.ps-acc-summary::-webkit-details-marker { display: none; }

.ps-acc-summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: auto;
    font-size: 0.65rem;
    color: var(--ps-muted);
    transition: transform 0.2s ease;
}

.ps-acc-item[open] > .ps-acc-summary {
    color: var(--ps-brand);
}

.ps-acc-item[open] > .ps-acc-summary::after {
    transform: rotate(180deg);
    color: var(--ps-brand);
}

.ps-acc-summary:focus-visible {
    outline: 2px solid var(--ps-brand);
    outline-offset: -2px;
}

.ps-acc-body {
    padding: 0 1.1rem 1rem;
    animation: ps-acc-in 0.22s ease;
}

@keyframes ps-acc-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.ps-spec-grid { display: grid; gap: 0; }

.ps-spec-row {
    display: grid;
    grid-template-columns: minmax(100px, 30%) 1fr;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--ps-border-light);
    align-items: start;
}

.ps-spec-row:last-child { border-bottom: none; }

.ps-spec-key {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ps-muted);
}

.ps-spec-key i {
    margin-top: 0.15rem;
    width: 1rem;
    text-align: center;
    color: var(--ps-brand);
    font-size: 0.72rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.ps-spec-val {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--ps-text);
    word-break: break-word;
}

/* ── Embedded features ── */
.ps-page .ws-ld-features--embedded {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.ps-page .ws-ld-features-embedded-meta {
    display: none;
}

.ps-page .ws-ld-features-core {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.ps-page .ws-ld-feat-core-card {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.7rem;
    border-radius: var(--ps-radius-sm);
    border: 1px solid var(--ps-border-light);
    background: var(--ps-surface-2);
}

.ps-page .ws-ld-feat-core-card[data-known="0"] { opacity: 0.65; }

.ps-page .ws-ld-feat-core-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.75rem;
    flex-shrink: 0;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
}

.ps-page .ws-ld-feat-core-icon i,
.ps-page .ws-ld-feat-group-icon i,
.ps-page .ws-ld-feat-item-icon i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    line-height: 1;
    display: inline-block;
}

.ps-page .ws-ld-feat-core-card.state-yes .ws-ld-feat-core-icon {
    background: #ecfdf5;
    color: #16a34a;
}

.ps-page .ws-ld-feat-core-card.state-no .ws-ld-feat-core-icon {
    background: #f4f4f5;
    color: #a1a1aa;
}

.ps-page .ws-ld-feat-core-dot { display: none; }

.ps-page .ws-ld-feat-core-body {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.ps-page .ws-ld-feat-core-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--ps-muted);
}

.ps-page .ws-ld-feat-core-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ps-text);
}

.ps-page .ws-ld-features-bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.ps-page .ws-ld-feat-group {
    padding: 0.75rem;
    border-radius: var(--ps-radius-md);
    border: 1px solid var(--ps-border-light);
    background: var(--ps-surface);
}

.ps-page .ws-ld-feat-group-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ps-border-light);
}

.ps-page .ws-ld-feat-group-head h3 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ps-text);
}

.ps-page .ws-ld-feat-group-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
    flex-shrink: 0;
}

.ps-page .ws-ld-feat-group-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ps-page .ws-ld-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--ps-border-light);
}

.ps-page .ws-ld-feat-item:last-child { border-bottom: none; }

.ps-page .ws-ld-feat-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 7px;
    font-size: 0.65rem;
    flex-shrink: 0;
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
}

.ps-page .ws-ld-feat-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
}

.ps-page .ws-ld-feat-item-label {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--ps-muted);
}

.ps-page .ws-ld-feat-item-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ps-text);
    text-align: left;
}

.ps-page .ws-ld-feat-item.state-yes .ws-ld-feat-item-value { color: #15803d; }
.ps-page .ws-ld-feat-item.state-no .ws-ld-feat-item-value { color: var(--ps-muted); }

.ps-page .ws-ld-feat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    width: 100%;
}

.ps-page .ws-ld-feat-chip {
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
    border: 1px solid var(--ps-brand-muted);
}

/* ── Supplementary ── */
.ps-page .ws-extra-groups {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ps-page .ws-extra-group-title {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ps-text);
}

.ps-page .ws-extra-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ps-page .ws-extra-item {
    display: grid;
    grid-template-columns: minmax(90px, 32%) 1fr;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--ps-border-light);
    align-items: start;
}

.ps-page .ws-extra-item:last-child { border-bottom: none; }

.ps-page .ws-extra-item dt {
    margin: 0;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ps-muted);
}

.ps-page .ws-extra-item dt i {
    margin-top: 0.12rem;
    width: 1rem;
    text-align: center;
    color: var(--ps-brand);
    font-size: 0.72rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.ps-page .ws-extra-item dd {
    margin: 0;
    font-size: 0.84rem;
    color: var(--ps-text);
}

.ps-page .ws-field-empty {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ps-muted);
}

/* ── Field values ── */
.ps-fv-text { word-break: break-word; }

.ps-fv-url {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 100%;
}

.ps-fv-url-label {
    font-size: 0.78rem;
    color: var(--ps-text-soft);
    background: var(--ps-surface-2);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--ps-border-light);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ps-fv-url-actions {
    display: inline-flex;
    gap: 0.25rem;
}

.ps-fv-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ps-border);
    border-radius: 7px;
    background: var(--ps-surface);
    color: var(--ps-muted);
    cursor: pointer;
    font-size: 0.7rem;
    text-decoration: none;
    transition: border-color 0.12s, color 0.12s, background 0.12s;
}

.ps-fv-btn:hover,
.ps-fv-btn.is-copied {
    border-color: var(--ps-brand-muted);
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
}

.ps-fv-prose {
    font-size: 0.84rem;
    line-height: 1.8;
    color: var(--ps-text-soft);
}

.ps-fv-prose-more {
    margin-top: 0.35rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--ps-brand);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

/* ── Agent card ── */
.ps-agent {
    position: relative;
    padding: 1.15rem;
    border-radius: var(--ps-radius);
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow);
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.ps-agent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ps-brand), var(--ps-brand-2));
}

.ps-agent-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.ps-agent-avatar {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--ps-border-light);
}

.ps-agent-avatar--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ps-brand);
    color: #fff;
    font-size: 1.35rem;
}

.ps-agent-intro { min-width: 0; flex: 1; }

.ps-agent-kicker {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ps-brand);
}

.ps-agent-name {
    margin: 0.15rem 0 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.ps-agent-agency {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: var(--ps-muted);
    font-weight: 500;
}

.ps-agent-meta {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ps-muted);
    text-align: center;
}

.ps-agent-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ps-text);
    text-decoration: none;
    direction: ltr;
    text-align: center;
    padding: 0.55rem;
    margin-bottom: 0.45rem;
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface-2);
    border: 1px solid var(--ps-border-light);
    letter-spacing: 0.02em;
    transition: border-color 0.15s, color 0.15s;
}

.ps-agent-contacts {
    margin-bottom: 0.55rem;
}

.ps-agent-landline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ps-text);
    text-decoration: none;
    direction: ltr;
    padding: 0.45rem;
    margin-bottom: 0.35rem;
    border-radius: var(--ps-radius-sm);
    background: color-mix(in srgb, var(--ps-brand) 6%, var(--ps-surface-2));
    border: 1px solid var(--ps-border-light);
}

.ps-agent-address {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--ps-muted);
    background: var(--ps-surface-2);
    border-radius: var(--ps-radius-sm);
    border: 1px solid var(--ps-border-light);
}

.ps-agent-address i {
    color: var(--ps-brand);
    margin-top: 0.15rem;
}

.ps-agent-website {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--ps-radius-sm);
    border: 1px solid var(--ps-border-light);
    background: var(--ps-surface);
    color: var(--ps-brand);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.ps-agent-website:hover {
    border-color: var(--ps-brand);
}

.ps-agent-office-nav {
    margin: 0 0 0.75rem;
    padding: 0.65rem;
    border-radius: var(--ps-radius-sm);
    border: 1px dashed var(--ps-border-light);
    background: color-mix(in srgb, var(--ps-brand) 4%, transparent);
}

.ps-agent-office-nav-label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ps-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

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

.ps-agent-office-nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 52px;
    padding: 0.35rem 0.25rem;
    border-radius: 8px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    color: var(--ps-text);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.2;
}

.ps-agent-office-nav-links a i {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
}

.ps-agent-office-nav-link--google i {
    background: rgba(66, 133, 244, 0.12);
    color: #4285f4;
}

.ps-agent-office-nav-link--waze i {
    background: rgba(51, 181, 229, 0.12);
    color: #33b5e5;
}

.ps-agent-office-nav-link--balad i {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}

.ps-agent-office-nav-links a:hover {
    border-color: var(--ps-brand);
    color: var(--ps-brand);
}

.ps-agent-card-btn {
    display: block;
    width: 100%;
    margin: 0 0 0.75rem;
    padding: 0;
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius-sm);
    background: var(--ps-surface-2);
    cursor: pointer;
    overflow: hidden;
    font-family: inherit;
    text-align: center;
}

.ps-agent-card-btn img {
    display: block;
    width: 100%;
    height: 96px;
    object-fit: cover;
}

.ps-agent-card-btn span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ps-brand);
}

.ps-agent-socials-label {
    grid-column: 1 / -1;
    margin: 0.35rem 0 0;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ps-muted);
    letter-spacing: 0.02em;
}

.ps-agent-phone:hover {
    border-color: var(--ps-brand-muted);
    color: var(--ps-brand);
}

.ps-agent-btns {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.ps-agent-btns .ps-btn {
    min-height: 46px;
    font-weight: 800;
}

.ps-agent-more {
    margin-top: 0.35rem;
    border-top: 1px solid var(--ps-border-light);
    padding-top: 0.35rem;
}

.ps-agent-more-summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ps-brand);
    padding: 0.55rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
}

.ps-agent-more-summary::-webkit-details-marker { display: none; }

.ps-agent-more-summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
    margin-right: auto;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.ps-agent-more[open] .ps-agent-more-summary::after {
    transform: rotate(180deg);
}

.ps-agent-more-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.25rem 0 0.35rem;
}

.ps-agent-muted {
    font-size: 0.82rem;
    color: var(--ps-muted);
    text-align: center;
    margin: 0;
}

.ps-agent-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ps-border-light);
}

.ps-agent-more-body .ps-agent-socials {
    margin-top: 0.25rem;
    padding-top: 0.55rem;
}

.ps-agent-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.3rem 0.55rem 0.3rem 0.35rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--ps-social, var(--ps-brand)) 18%, var(--ps-border-light));
    background: var(--ps-surface);
    color: var(--ps-ink);
    font-size: 0.7rem;
    font-weight: 650;
    text-decoration: none;
    transition: transform 0.15s, border-color 0.15s, background 0.15s;
}

.ps-agent-social:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--ps-social, var(--ps-brand)) 40%, var(--ps-border-light));
    background: color-mix(in srgb, var(--ps-social, var(--ps-brand)) 6%, var(--ps-surface));
    box-shadow: none;
}

.ps-agent-social-icon {
    width: 20px;
    height: 20px;
    border-radius: 0;
    overflow: visible;
    flex-shrink: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    place-items: center;
}

.ps-agent-social-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    background: transparent;
}

.ps-brand-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
    display: block;
}

.ps-btn--wa,
.ps-btn--social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.ps-btn--social {
    background: var(--ps-surface) !important;
    color: var(--ps-ink) !important;
    border: 1px solid color-mix(in srgb, var(--ps-social, #64748b) 20%, transparent) !important;
}

/* ── Full-bleed map finale ── */
.ps-map-finale {
    --ps-map-ink: #f4faf9;
    --ps-map-muted: rgba(226, 232, 240, 0.72);
    --ps-map-deep: #071614;
    --ps-map-panel: rgba(8, 28, 26, 0.72);
    position: relative;
    margin-top: 2.25rem;
    padding: 0 0 1.75rem;
    background:
        radial-gradient(ellipse 60% 40% at 20% 0%, rgba(45, 212, 191, 0.1), transparent 55%),
        linear-gradient(180deg, #0d2421 0%, var(--ps-map-deep) 55%, #050f0e 100%);
    color: var(--ps-map-ink);
    overflow: hidden;
}

.ps-map-finale--office {
    margin-top: 0;
    padding-top: 0.35rem;
    background:
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(45, 212, 191, 0.08), transparent 55%),
        linear-gradient(180deg, #0a1f1c 0%, #061412 55%, #040c0b 100%);
}

.ps-map-finale--office .ps-map-finale-kicker {
    background: color-mix(in srgb, #0d9488 18%, transparent);
    color: #5eead4;
}

.ps-map-finale--office .ps-map-finale-place-pin {
    background: linear-gradient(160deg, #14b8a6, #0f766e);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.ps-map-finale-atmosphere,
.ps-map-finale-orb,
.ps-map-finale-grid {
    display: none;
}

.ps-map-finale-shell {
    position: relative;
    z-index: 1;
    max-width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.75rem 0 0;
    display: grid;
    gap: 1.15rem;
}

.ps-map-finale-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 1rem 1.5rem;
    align-items: end;
}

.ps-map-finale-intro-copy {
    min-width: 0;
}

.ps-map-finale-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.ps-map-finale-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #99f6e4;
    background: rgba(15, 118, 110, 0.4);
    border: 1px solid rgba(45, 212, 191, 0.28);
}

.ps-map-finale-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    color: #f8fafc;
}

.ps-map-finale-lead {
    display: none;
}

.ps-map-finale-place-card {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    max-width: 100%;
    padding: 0.85rem 1.05rem 0.85rem 0.85rem;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 32px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.ps-map-finale-place-pin {
    position: relative;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(160deg, #ef4444, #b91c1c);
    box-shadow: 0 8px 20px rgba(185, 28, 28, 0.35);
    font-size: 1rem;
}

.ps-map-finale-place-pulse {
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(248, 113, 113, 0.55);
    animation: ps-map-pin-pulse 2s ease-out infinite;
}

.ps-map-finale-place-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ps-map-finale-place-body em {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(153, 246, 228, 0.85);
    letter-spacing: 0.02em;
}

.ps-map-finale-place-body strong {
    font-size: 1.02rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.35;
}

.ps-map-finale-accuracy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ps-map-finale-accuracy--exact {
    background: rgba(16, 185, 129, 0.16);
    color: #a7f3d0;
    border-color: rgba(52, 211, 153, 0.3);
}

.ps-map-finale-accuracy--approx,
.ps-map-finale-accuracy--radius {
    background: rgba(251, 191, 36, 0.14);
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.28);
}

.ps-map-finale-routes {
    display: grid;
    gap: 0.55rem;
    align-content: end;
}

.ps-map-route {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 0.85rem;
    border-radius: 14px;
    text-decoration: none;
    color: #f8fafc;
    background: var(--ps-map-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ps-map-route:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.ps-map-route-ico {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.ps-map-route-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.ps-map-route-text strong {
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

.ps-map-route-text em {
    font-style: normal;
    font-size: 0.66rem;
    color: rgba(226, 232, 240, 0.68);
}

.ps-map-route-go {
    font-size: 0.72rem;
    opacity: 0.55;
    transition: opacity 0.15s, transform 0.15s;
}

.ps-map-route:hover .ps-map-route-go {
    opacity: 1;
    transform: translate(-2px, -2px);
}

.ps-map-route--google .ps-map-route-ico {
    background: linear-gradient(145deg, #4285f4, #34a853);
    color: #fff;
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.35);
}
.ps-map-route--google:hover {
    background: color-mix(in srgb, #4285f4 18%, var(--ps-map-panel));
    border-color: rgba(66, 133, 244, 0.4);
}

.ps-map-route--neshan .ps-map-route-ico {
    background: linear-gradient(145deg, #0d9488, #0f766e);
    color: #fff;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}
.ps-map-route--neshan:hover {
    background: color-mix(in srgb, #0d9488 18%, var(--ps-map-panel));
    border-color: rgba(45, 212, 191, 0.35);
}

.ps-map-route--waze .ps-map-route-ico {
    background: linear-gradient(145deg, #33ccff, #05c);
    color: #fff;
    box-shadow: 0 6px 16px rgba(51, 204, 255, 0.3);
}
.ps-map-route--waze:hover {
    background: color-mix(in srgb, #33ccff 16%, var(--ps-map-panel));
    border-color: rgba(51, 204, 255, 0.35);
}

.ps-map-route--balad .ps-map-route-ico {
    background: linear-gradient(145deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.3);
}
.ps-map-route--balad:hover {
    background: color-mix(in srgb, #f59e0b 16%, var(--ps-map-panel));
    border-color: rgba(245, 158, 11, 0.35);
}

.ps-map-finale-canvas {
    position: relative;
    width: 100%;
}

.ps-map-finale-frame {
    position: relative;
    border-radius: 22px;
    overflow: visible; /* اجازه باز شدن منوی نوع نقشه */
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 24px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background: #0b1a18;
}

.ps-map-finale-frame-edge {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: 22px;
    box-shadow:
        inset 0 40px 50px -30px rgba(7, 22, 20, 0.55),
        inset 0 -24px 40px -28px rgba(7, 22, 20, 0.45);
}

.ps-map-finale .ws-ld-location-map-wrap,
.ps-map-finale .ws-ld-location-map-stage {
    position: relative;
}

.ps-map-finale .ws-ld-location-map-wrap {
    --lm-primary: #14b8a6;
    --lm-border: transparent;
    --lm-surface: transparent;
    --lm-surface-2: rgba(15, 23, 42, 0.62);
    --lm-text: #f8fafc;
    --lm-text-secondary: #cbd5e1;
    --lm-text-muted: #94a3b8;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

/* نوار نوع نقشه — شناور روی نقشه (نه هدر جدا) */
.ps-page .ps-map-finale .ws-ld-location-map-head,
.ps-map-finale .ws-ld-location-map-head {
    position: absolute;
    top: 0.95rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 520;
    width: min(calc(100% - 1.4rem), 260px);
    margin: 0;
    padding: 0.3rem 0.4rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(8, 20, 18, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ps-page .ps-map-finale .ws-ld-location-map-head-main,
.ps-map-finale .ws-ld-location-map-head-main {
    display: none;
}

.ps-map-finale .ws-ld-basemap-wrap {
    width: 100%;
    position: relative;
    z-index: 1;
}

.ps-map-finale .ws-ld-basemap-wrap.is-open {
    z-index: 650;
}

.ps-map-finale .ws-ld-basemap-toggle {
    width: 100%;
    justify-content: center;
    background: transparent;
    border: none;
    color: #e2e8f0;
    box-shadow: none;
    min-height: 2.05rem;
    padding-inline: 0.55rem;
}

.ps-map-finale .ws-ld-basemap-label {
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.78rem;
}

.ps-map-finale .ws-ld-basemap-chevron {
    color: #94a3b8;
}

.ps-map-finale .ws-ld-basemap-menu {
    top: calc(100% + 0.5rem);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: 230px;
    max-height: min(52vh, 320px);
    overflow: auto;
    background: rgba(8, 20, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    z-index: 660;
}

.ps-map-finale .ws-ld-location-map-stage {
    border-radius: 22px;
    border: none;
    overflow: hidden;
}

.ps-map-finale .ws-ld-location-map {
    height: min(64vh, 560px);
    min-height: 340px;
    width: 100%;
}

.ps-map-finale .ws-ld-location-map-chrome {
    top: auto;
    bottom: 1rem;
    inset-inline-end: 1rem;
    gap: 0.35rem;
}

.ps-map-finale .ws-ld-location-map-badge,
.ps-map-finale .ws-ld-location-map-tool {
    background: rgba(8, 20, 18, 0.78);
    border-color: rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.ps-map-finale .ps-map-nav-actions { display: none; }

/* legacy aliases kept harmless if referenced */
.ps-map-finale-actions,
.ps-map-finale-btn { display: none; }

@keyframes ps-map-pin-pulse {
    0% { transform: scale(0.85); opacity: 0.8; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ps-map-finale-place-pulse { animation: none; }
    .ps-map-route:hover { transform: none; }
}

.ps-map-wrap {
    background: var(--ps-surface);
    border: 1px solid var(--ps-border-light);
    border-radius: var(--ps-radius);
    overflow: visible;
    box-shadow: var(--ps-shadow-xs);
    position: relative;
    z-index: 2;
}

.ps-page .ws-ld-location-map-wrap {
    --lm-primary: #0F766E;
    --lm-border: var(--ps-border-light);
    --lm-surface: var(--ps-surface);
    --lm-surface-2: var(--ps-surface-2);
    --lm-text: var(--ps-ink);
    --lm-text-secondary: var(--ps-text-soft);
    --lm-text-muted: var(--ps-muted);
    margin-top: 0;
    overflow: visible;
    border: none;
    border-radius: var(--ps-radius);
}

.ps-page .ws-ld-location-map-head {
    padding: 0.85rem 1rem 0.55rem;
    background: var(--ps-surface);
    z-index: 40;
    border-radius: var(--ps-radius) var(--ps-radius) 0 0;
}

/* finale: بازنویسی هدر شناور بعد از استایل کارت معمولی */
.ps-page .ps-map-finale .ws-ld-location-map-head {
    position: absolute;
    top: 0.95rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    z-index: 520;
    width: min(calc(100% - 1.4rem), 260px);
    margin: 0;
    padding: 0.3rem 0.4rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(8, 20, 18, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ps-page .ps-map-finale .ws-ld-location-map-head-main {
    display: none;
}

.ps-page .ws-ld-location-map-title {
    color: var(--ps-ink);
    font-weight: 700;
}

.ps-page .ws-ld-location-accuracy {
    background: var(--ps-brand-soft);
    color: var(--ps-brand);
}

.ps-page .ws-ld-basemap-option.is-active {
    background: var(--ps-brand-soft);
}

.ps-page .ws-ld-location-map-stage {
    border-radius: 0;
    z-index: 1;
}

.ps-page .ps-map-finale .ws-ld-location-map-stage {
    border-radius: 22px;
    overflow: hidden;
}

.ps-map-nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.75rem 1rem 1rem;
}

.ps-divar-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem;
    border-radius: var(--ps-radius-md);
    background: transparent;
    color: var(--ps-text-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    border: 1px dashed var(--ps-border);
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    margin-bottom: 1rem;
}

.ps-divar-link:hover {
    border-color: var(--ps-brand-muted);
    border-style: solid;
    color: var(--ps-brand);
    background: var(--ps-brand-soft);
}

/* ── Dock ── */
.ps-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(250, 248, 245, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--ps-border-light);
    box-shadow: 0 -8px 28px rgba(18, 20, 26, 0.08);
    transform: translateY(110%);
    animation: ps-dock-in 0.4s ease forwards;
}

@keyframes ps-dock-in {
    to { transform: translateY(0); }
}

.ps-dock-price {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--ps-brand);
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.ps-dock-actions {
    display: flex;
    gap: 0.45rem;
    width: 100%;
}

.ps-dock-actions .ps-btn { flex: 1; min-height: 44px; }

/* ── Footer — always dark strip ── */
.ps-footer {
    max-width: none;
    margin: 0;
    padding: 1.35rem 1.35rem 2rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.9);
    background: #050f0e;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ps-footer p { margin: 0 0 0.35rem; color: inherit; }

.ps-footer strong { color: #e2e8f0; }

.ps-footer a {
    color: #2dd4bf;
    text-decoration: none;
    font-weight: 600;
}

.ps-footer a:hover { text-decoration: underline; }

/* ── Lightbox ── */
.ps-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(18, 20, 26, 0.94);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    touch-action: pan-y;
}

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

.ps-lightbox img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: var(--ps-radius-sm);
    box-shadow: var(--ps-shadow-lg);
    user-select: none;
    -webkit-user-drag: none;
}

.ps-lightbox-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2;
    transition: background 0.15s;
}

.ps-lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

.ps-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ps-lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.ps-lightbox-nav--prev { right: 1rem; }
.ps-lightbox-nav--next { left: 1rem; }

.ps-lightbox-count {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    direction: ltr;
    z-index: 2;
}

/* ── Inactive ── */
.ps-inactive-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.ps-inactive-card {
    text-align: center;
    max-width: 400px;
    padding: 2.35rem 2rem;
    background: var(--ps-surface);
    border-radius: var(--ps-radius);
    border: 1px solid var(--ps-border-light);
    box-shadow: var(--ps-shadow-lg);
}

.ps-inactive-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    font-size: 1.35rem;
    color: var(--ps-muted);
    background: var(--ps-surface-2);
    margin-bottom: 1rem;
}

.ps-inactive-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ps-inactive-card p {
    margin: 0 0 1.35rem;
    font-size: 0.88rem;
    color: var(--ps-muted);
    line-height: 1.7;
}

.ps-page.has-dock { padding-bottom: calc(6.25rem + env(safe-area-inset-bottom)); }

/* ── Responsive ── */
@media (max-width: 960px) {
    .ps-layout { grid-template-columns: 1fr; }
    .ps-sidebar {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
    }
    .ps-gallery-main { aspect-ratio: 16 / 10; max-height: 420px; }
    .ps-page .ws-ld-features-bento { grid-template-columns: 1fr; }
    .ps-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .ps-overview .ps-identity,
    .ps-overview .ps-finance,
    .ps-overview .ps-specs {
        grid-column: 1;
        grid-row: auto;
    }
    .ps-dock { display: flex; }
    .ps-page { padding-bottom: calc(6.25rem + env(safe-area-inset-bottom)); }
}

@media (min-width: 961px) {
    .ps-dock { display: none !important; }
    .ps-agent-more > .ps-agent-more-summary { display: none; }
    .ps-agent-more { border-top: none; padding-top: 0; margin-top: 0.15rem; }
    .ps-agent-more-body { display: flex !important; }
    .ps-agent-more-body .ps-agent-socials {
        opacity: 0.92;
    }
    .ps-agent-more-body .ps-agent-address,
    .ps-agent-more-body .ps-agent-website,
    .ps-agent-more-body .ps-agent-office-nav,
    .ps-agent-more-body .ps-agent-card-btn {
        font-size: 0.78rem;
    }
}

@media (max-width: 768px) {
    .ps-tabs { display: none; }
    .ps-details { padding-bottom: 0; }

    .ps-hero-overlay { display: block; }
    .ps-gallery-controls { bottom: auto; top: 0.85rem; left: auto; right: 0.85rem; transform: none; }

    .ps-page:has(.ps-hero-overlay) .ps-identity-title {
        font-size: 1.2rem;
    }
    .ps-page:has(.ps-hero-overlay) .ps-finance-primary {
        font-size: 1.15rem;
    }

    .ps-gallery-main {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .ps-gallery-thumbs { padding: 0.45rem 0.75rem; }
    .ps-gallery-thumbs .swiper-slide { width: 60px; height: 44px; }

    .ps-container { padding: 1rem 0.9rem 0; }

    .ps-map-finale {
        margin-top: 1.75rem;
        padding-bottom: 1.35rem;
    }
    .ps-map-finale-shell {
        max-width: calc(100% - 1.2rem);
        padding-top: 1.35rem;
        gap: 1rem;
    }
    .ps-map-finale-intro {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .ps-map-finale-title {
        font-size: clamp(1.25rem, 5.5vw, 1.55rem);
        margin-bottom: 0.7rem;
    }
    .ps-map-finale-place-card {
        display: flex;
        width: 100%;
    }
    .ps-map-finale-routes {
        grid-template-columns: 1fr;
    }
    .ps-map-finale-frame {
        border-radius: 16px;
    }
    .ps-map-finale .ws-ld-location-map-stage {
        border-radius: 16px;
    }
    .ps-page .ps-map-finale .ws-ld-location-map-stage {
        border-radius: 16px;
    }
    .ps-map-finale-frame-edge {
        border-radius: 16px;
    }
    .ps-map-finale .ws-ld-location-map {
        height: min(56vh, 460px);
        min-height: 300px;
    }
    .ps-page .ps-map-finale .ws-ld-location-map-head,
    .ps-map-finale .ws-ld-location-map-head {
        width: min(calc(100% - 1rem), 230px);
        top: 0.75rem;
    }
    .ps-map-finale .ws-ld-location-map-chrome {
        bottom: 0.75rem;
        inset-inline-end: 0.75rem;
    }

    .ps-amenities { padding: 1rem 1.05rem; }

    .ps-amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .ps-specs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ps-spec {
        border-left: none;
        border-bottom: 1px solid var(--ps-border-light);
    }
    .ps-spec:nth-child(odd) {
        border-left: 1px solid var(--ps-border-light);
    }

    .ps-spec-row { grid-template-columns: 1fr; gap: 0.15rem; padding: 0.6rem 0; }
    .ps-topbar-inner { padding: 0.65rem 0.9rem; }
    .ps-brand-logo { width: 38px; height: 38px; }
    .ps-brand-text em { font-size: 0.92rem; }

    .ps-agent {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
        padding: 0.9rem;
    }
    .ps-agent-top { margin-bottom: 0; flex: 1; min-width: 0; }
    .ps-agent-avatar { width: 44px; height: 44px; border-radius: 10px; }
    .ps-agent-contacts { display: none; }
    .ps-agent-btns {
        flex-direction: row;
        width: 100%;
    }
    .ps-agent-btns .ps-btn {
        flex: 1;
        font-size: 0.76rem;
        padding: 0.65rem 0.6rem;
        min-height: 44px;
    }
    .ps-agent-more {
        width: 100%;
        flex-basis: 100%;
    }

    .ps-page .ws-ld-features-core { grid-template-columns: 1fr; }
    .ps-page .ws-extra-item { grid-template-columns: 1fr; gap: 0.15rem; }
    .ps-lightbox-nav--prev { right: 0.5rem; }
    .ps-lightbox-nav--next { left: 0.5rem; }

    .ps-footer {
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    .ps-map-finale-shell { max-width: calc(100% - 0.9rem); padding-top: 1.2rem; }
    .ps-map-finale .ws-ld-location-map {
        height: min(52vh, 400px);
        min-height: 260px;
    }
    .ps-map-route { padding: 0.65rem 0.75rem; gap: 0.55rem; }
    .ps-map-route-ico { width: 2.1rem; height: 2.1rem; border-radius: 10px; }
    .ps-amenity-grid { grid-template-columns: 1fr; }
    .ps-finance-grid { grid-template-columns: 1fr; }
    .ps-dock-price { font-size: 0.72rem; }
}

@media (max-width: 900px) and (min-width: 769px) {
    .ps-map-finale-intro {
        grid-template-columns: 1fr;
    }
    .ps-map-finale-routes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 769px) {
    .ps-tabs { display: flex; }
    .ps-accordion { display: block; }
    .ps-acc-summary { display: none; }
    .ps-acc-item {
        border-bottom: none;
    }
    .ps-acc-item:not([open]) { display: none; }
    .ps-acc-item[open] .ps-acc-body {
        display: block;
        padding: 1.15rem 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ps-dock {
        animation: none;
        transform: none;
    }
    .ps-gallery-skeleton { animation: none; }
}

/* Portal basemap menu (body-attached) */
.ws-ld-basemap-menu.is-ported {
    position: fixed;
    z-index: 10050;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ps-mkt-inquiry {
    margin: 1.5rem auto 0;
    max-width: 640px;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: var(--ps-surface, #fff);
}

.ps-mkt-inquiry h2 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.ps-mkt-inquiry-lead {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    color: var(--ps-muted, #64748b);
    line-height: 1.55;
}

.ps-mkt-inquiry-form label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.55rem;
}

.ps-mkt-inquiry-form input[type="text"],
.ps-mkt-inquiry-form input[type="tel"],
.ps-mkt-inquiry-form textarea {
    width: 100%;
    margin-top: 0.25rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    font: inherit;
}

.ps-mkt-inquiry-row {
    display: grid;
    gap: 0.5rem;
}

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

.ps-mkt-inquiry-type {
    border: 0;
    padding: 0;
    margin: 0.35rem 0 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.ps-mkt-consent {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.78rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.ps-mkt-inquiry-status {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
}
