/* =====================================================================
   JR Listing Detail — design system v1.1 · 2026-06-28
   ---------------------------------------------------------------------
   New components introduced in this pass:
     · jr-spec-strip          — adaptive 4-tile spec row + trust strip
     · jr-breadcrumb-meta     — breadcrumb + saved/watchers/updated strip
     · jr-benefits-strip      — bottom 4-column trust band

   Foundation tokens for the wider redesign (glass cards, emerald
   gradient buttons, radial page background) are exposed as utility
   classes so Tier 2 partials can compose against them.
   ===================================================================== */


/* ── Foundation tokens (consumed by all jr-* listing components) ────── */

:root {
    --jr-emerald-600: #16a34a;
    --jr-emerald-700: #047857;
    --jr-emerald-800: #166534;
    --jr-emerald-50:  #ecfdf5;
    --jr-emerald-100: #d1fae5;
    --jr-slate-50:    #f8fafc;
    --jr-slate-100:   #f1f5f9;
    --jr-slate-200:   #e2e8f0;
    --jr-slate-500:   #64748b;
    --jr-slate-700:   #334155;
    --jr-slate-900:   #0f172a;

    --jr-card-radius:    20px;
    --jr-card-radius-lg: 28px;

    --jr-shadow-card:    0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 24px rgba(15, 23, 42, 0.05);
    --jr-shadow-glass:   0 24px 70px rgba(15, 23, 42, 0.08);
}

/* ── jr-glass-card — reusable surface used by Tier 2 partials ───────── */

.jr-glass-card {
    border-radius: var(--jr-card-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--jr-shadow-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ── jr-spec-strip — vehicle / property / service / goods ───────────── */

.jr-spec-strip {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem !important;
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: var(--jr-card-radius);
    box-shadow: var(--jr-shadow-card);
}

@media (min-width: 768px) {
    .jr-spec-strip {
        padding: 1.75rem !important;
    }
}

.jr-spec-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .jr-spec-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.jr-spec-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    padding: 0.85rem 0.55rem;
    background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
    border: 1px solid var(--jr-slate-200);
    border-radius: 14px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.jr-spec-tile:hover {
    border-color: #bbf7d0;
    transform: translateY(-1px);
}

.jr-spec-tile-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--jr-emerald-50);
    color: var(--jr-emerald-700);
    font-size: 0.85rem;
}

.jr-spec-tile-text {
    min-width: 0;
    width: 100%;
    line-height: 1.2;
}

.jr-spec-tile-value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--jr-slate-900);
    line-height: 1.15;
    /* Allow values to wrap to 2 short lines instead of being truncated. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.jr-spec-tile-label {
    margin-top: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--jr-slate-500);
    line-height: 1.2;
}

.jr-spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.jr-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    background: var(--jr-slate-50);
    border: 1px solid var(--jr-slate-200);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1;
    cursor: default;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.jr-spec-pill:hover {
    background: var(--jr-slate-100);
    border-color: #cbd5e1;
}

.jr-spec-pill i {
    font-size: 0.85rem;
    color: var(--jr-emerald-700);
}

.jr-spec-trust {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, var(--jr-emerald-50) 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.jr-spec-trust-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--jr-emerald-800);
    line-height: 1.25;
}

.jr-spec-trust-icon {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    color: var(--jr-emerald-600);
    font-size: 1rem;
}

.jr-spec-trust-icon--rated {
    color: var(--jr-emerald-700);
}

.jr-spec-strip[data-group="goods"] .jr-spec-pills {
    margin-top: 0;
}

[dir="rtl"] .jr-spec-trust {
    background: linear-gradient(225deg, #f0fdf4 0%, var(--jr-emerald-50) 100%);
}


/* ── jr-breadcrumb-meta — top-of-page breadcrumb + stats strip ──────── */

.jr-breadcrumb-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0 1rem;
    margin-bottom: 1rem;
}

.jr-breadcrumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.825rem;
    color: var(--jr-slate-500);
    line-height: 1.4;
    min-width: 0;
}

.jr-breadcrumb-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--jr-slate-500);
    transition: color 0.15s ease;
}

.jr-breadcrumb-link:hover {
    color: var(--jr-emerald-700);
}

.jr-breadcrumb-link--home {
    color: var(--jr-slate-700);
}

.jr-breadcrumb-link--current {
    font-weight: 700;
    color: var(--jr-emerald-700);
    cursor: default;
}

.jr-breadcrumb-sep {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1;
}

.jr-breadcrumb-meta-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.825rem;
    color: var(--jr-slate-500);
}

.jr-breadcrumb-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
}

.jr-breadcrumb-meta-icon {
    color: #94a3b8;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .jr-breadcrumb-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .jr-breadcrumb-meta-stats {
        gap: 0.85rem;
        font-size: 0.78rem;
    }
}


/* ── jr-benefits-strip — bottom 4-column trust band ─────────────────── */

.jr-benefits-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0 1rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: var(--jr-card-radius-lg);
    box-shadow: var(--jr-shadow-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 640px) {
    .jr-benefits-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .jr-benefits-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 1.5rem 1.75rem;
    }
}

.jr-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--jr-slate-200);
}

.jr-benefit:last-child {
    border-bottom: none;
}

@media (min-width: 640px) {
    .jr-benefit {
        border-bottom: none;
        border-right: 1px solid var(--jr-slate-200);
        padding: 0.5rem 1.25rem;
    }
    .jr-benefit:nth-child(2),
    .jr-benefit:last-child {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    .jr-benefit {
        border-right: 1px solid var(--jr-slate-200);
    }
    .jr-benefit:nth-child(2) {
        border-right: 1px solid var(--jr-slate-200);
    }
    .jr-benefit:last-child {
        border-right: none;
    }
}

.jr-benefit-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--jr-emerald-50);
    color: var(--jr-emerald-700);
    font-size: 1.4rem;
}

.jr-benefit-text {
    min-width: 0;
}

.jr-benefit-title {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--jr-slate-900);
    line-height: 1.25;
}

.jr-benefit-copy {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--jr-slate-500);
}

/* ── jr-social-proof — "People also saved this item" card ───────────── */

.jr-social-proof {
    padding: 1.1rem 1.25rem;
    margin-top: 1rem;
}

.jr-social-proof-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.jr-social-proof-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--jr-slate-900);
    line-height: 1.25;
}

.jr-social-proof-count {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--jr-emerald-700);
    line-height: 1;
}

.jr-social-proof-body {
    margin-top: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.jr-social-proof-avatars {
    display: inline-flex;
    align-items: center;
}

.jr-social-proof-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-left: -8px;
    object-fit: cover;
    background: var(--jr-slate-100);
    color: var(--jr-slate-500);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.jr-social-proof-avatar:first-child {
    margin-left: 0;
}

.jr-social-proof-avatar--initial i {
    font-size: 0.85rem;
    color: #94a3b8;
}

.jr-social-proof-avatar--overflow {
    width: auto;
    padding: 0 0.55rem;
    background: var(--jr-slate-100);
    color: var(--jr-slate-700);
    font-size: 0.72rem;
}

.jr-social-proof-recent {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    color: var(--jr-slate-500);
    line-height: 1.3;
}

.jr-social-proof-recent i {
    color: #94a3b8;
    font-size: 0.9rem;
}


/* ── jr-emerald-btn — primary CTA used across all Tier 2 partials ───── */

.jr-emerald-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(180deg, var(--jr-emerald-600) 0%, var(--jr-emerald-800) 100%);
    border: 1px solid rgba(110, 231, 183, 0.6);
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(0, 115, 67, 0.32);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.jr-emerald-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(0, 115, 67, 0.36);
    color: #fff;
}

.jr-emerald-btn--outline {
    background: rgba(255, 255, 255, 0.85);
    color: var(--jr-emerald-800);
    border: 2px solid var(--jr-emerald-700);
    box-shadow: var(--jr-shadow-card);
}

.jr-emerald-btn--outline:hover {
    background: var(--jr-emerald-50);
    color: var(--jr-emerald-800);
}

.jr-cta-trailing-arrow {
    margin-left: auto;
    font-size: 0.85rem;
    opacity: 0.85;
}

[x-cloak] { display: none !important; }


/* =====================================================================
   JR Listing Detail — v1.2 right-column trio (2026-06-28)
   ---------------------------------------------------------------------
     · jr-summary-card     — title / price / badges / CTAs
     · jr-seller-card      — trusted seller + 3-up stats
     · jr-location-card    — privacy radius map
   ===================================================================== */


/* ── jr-summary-card ─────────────────────────────────────────────────── */

.jr-summary-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.5rem !important;
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: var(--jr-card-radius-lg);
    box-shadow: var(--jr-shadow-card);
}

@media (min-width: 768px) {
    .jr-summary-card { padding: 1.75rem !important; }
}

.jr-summary-head { display: flex; flex-direction: column; gap: 0.85rem; }

.jr-summary-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
}

.jr-summary-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--jr-slate-500);
    background: var(--jr-slate-50);
    border: 1px solid var(--jr-slate-200);
    border-radius: 999px;
    line-height: 1.2;
    white-space: nowrap;
}

.jr-summary-meta-pill i { color: #94a3b8; font-size: 0.78rem; }

.jr-summary-meta-code {
    color: var(--jr-emerald-700);
    background: var(--jr-emerald-50);
    border-color: #bbf7d0;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.jr-summary-meta-code i { color: var(--jr-emerald-600); }

.jr-summary-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: var(--jr-slate-900);
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.jr-summary-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.25rem;
    border-top: 1px dashed var(--jr-slate-200);
    padding: 1rem 0 0;
}

.jr-summary-price {
    margin: 0;
    font-size: clamp(1.85rem, 3.6vw, 2.5rem);
    font-weight: 900;
    color: var(--jr-emerald-700);
    line-height: 1;
    letter-spacing: -0.01em;
}

.jr-summary-price-sym {
    font-size: 0.7em;
    font-weight: 800;
    margin-right: 0.1em;
    color: var(--jr-emerald-600);
}

.jr-summary-price-free { color: #0891b2; }

.jr-summary-price-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jr-summary-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.74rem;
    font-weight: 700;
    border-radius: 999px;
    line-height: 1;
    white-space: nowrap;
}

.jr-summary-price-badge.is-fixed {
    color: var(--jr-emerald-800);
    background: var(--jr-emerald-50);
    border: 1px solid #bbf7d0;
}

.jr-summary-price-badge.is-negotiable {
    color: #b45309;
    background: #fef3c7;
    border: 1px solid #fde68a;
}

.jr-summary-price-badge.is-trade {
    color: #6d28d9;
    background: #ede9fe;
    border: 1px solid #ddd6fe;
}

.jr-summary-price-badge.is-condition {
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
}

.jr-summary-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    padding: 0.7rem 0.9rem;
    background: linear-gradient(135deg, #f0fdf4 0%, var(--jr-emerald-50) 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
}

.jr-summary-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--jr-emerald-800);
    line-height: 1.25;
}

.jr-summary-trust-item i {
    color: var(--jr-emerald-600);
    font-size: 0.9rem;
}

.jr-summary-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.25rem;
}

.jr-summary-cta-primary {
    width: 100%;
    padding: 1.05rem 1.4rem;
    font-size: 0.98rem;
}

.jr-summary-cta-secondary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--jr-emerald-800);
    background: #fff;
    border: 2px solid var(--jr-emerald-700);
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.jr-summary-cta-secondary:hover {
    background: var(--jr-emerald-50);
    color: var(--jr-emerald-800);
    transform: translateY(-1px);
}

.jr-summary-action-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--jr-slate-200);
}

.jr-summary-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.6rem 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jr-slate-500);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.jr-summary-action-btn:hover {
    background: var(--jr-slate-50);
    color: var(--jr-slate-900);
}

.jr-summary-action-btn.is-active {
    color: #dc2626;
    background: #fef2f2;
}

.jr-summary-action-btn.is-active i { color: #dc2626; }

.jr-summary-action-btn i { font-size: 0.95rem; }

.jr-summary-action-report:hover { color: #b45309; background: #fffbeb; }

.jr-summary-action-share { position: relative; flex: 1; display: flex; }

.jr-summary-action-share > .jr-summary-action-btn { width: 100%; }

.jr-summary-share-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    min-width: 200px;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.jr-summary-share-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
    color: var(--jr-slate-700);
    background: transparent;
    border: none;
    border-radius: 9px;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

.jr-summary-share-item:hover {
    background: var(--jr-slate-50);
    color: var(--jr-slate-900);
}


/* ── jr-seller-card ──────────────────────────────────────────────────── */

.jr-seller-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem !important;
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: var(--jr-card-radius);
    box-shadow: var(--jr-shadow-card);
}

@media (min-width: 768px) {
    .jr-seller-card { padding: 1.75rem !important; }
}

.jr-seller-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.jr-seller-card-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--jr-slate-900);
}

.jr-seller-card-title i {
    color: var(--jr-emerald-700);
    font-size: 1.1rem;
}

.jr-seller-view-profile {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--jr-emerald-700);
    text-decoration: none;
    transition: color 0.15s ease, gap 0.15s ease;
}

.jr-seller-view-profile:hover {
    color: var(--jr-emerald-800);
    gap: 0.5rem;
}

.jr-seller-identity {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.jr-seller-avatar-wrap {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
}

.jr-seller-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--jr-slate-100);
    border: 1px solid rgba(0,0,0,0.04);
}

.jr-seller-avatar-mini {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--jr-emerald-100);
}

.jr-seller-online-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.jr-seller-identity-text {
    flex: 1;
    min-width: 0;
}

.jr-seller-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jr-seller-name {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--jr-slate-900);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.jr-seller-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--jr-emerald-800);
    background: var(--jr-emerald-50);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.jr-seller-verified-chip i { font-size: 0.7rem; }

.jr-seller-sub {
    margin: 0.18rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--jr-slate-500);
    line-height: 1.3;
}

.jr-seller-sub i {
    color: #94a3b8;
    font-size: 0.75rem;
    width: 14px;
    text-align: center;
}

.jr-seller-sub.is-online { color: #15803d; }
.jr-seller-sub.is-online i { color: #22c55e; font-size: 0.6rem; }

.jr-seller-trust-pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--jr-emerald-800);
    background: linear-gradient(135deg, #f0fdf4 0%, var(--jr-emerald-50) 100%);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    letter-spacing: 0.01em;
}

.jr-seller-trust-pill i { color: var(--jr-emerald-700); }

.jr-seller-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.85rem;
    background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
    border: 1px solid var(--jr-slate-200);
    border-radius: 14px;
}

.jr-seller-stat {
    text-align: center;
    min-width: 0;
}

.jr-seller-stat + .jr-seller-stat {
    border-left: 1px solid var(--jr-slate-200);
}

.jr-seller-stat-value {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--jr-slate-900);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jr-seller-stat-label {
    margin: 0.15rem 0 0;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--jr-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.jr-seller-verify-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jr-seller-verify-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.36rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--jr-slate-700);
    background: var(--jr-slate-50);
    border: 1px solid var(--jr-slate-200);
    border-radius: 999px;
    line-height: 1;
}

.jr-seller-verify-chip i { color: var(--jr-emerald-600); font-size: 0.8rem; }

.jr-seller-rating-chip { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.jr-seller-rating-chip i { color: #f59e0b; }
.jr-seller-rating-count { color: var(--jr-slate-500); font-weight: 600; }

.jr-seller-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.jr-seller-cta-primary { width: 100%; padding: 0.95rem 1.25rem; }

.jr-seller-cta-secondary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--jr-slate-700);
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.jr-seller-cta-secondary:hover {
    background: var(--jr-slate-50);
    border-color: #cbd5e1;
    color: var(--jr-slate-900);
}

.jr-seller-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--jr-emerald-700);
    background: transparent;
    border: 1px dashed #bbf7d0;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.jr-seller-expand-btn:hover { background: var(--jr-emerald-50); }

.jr-seller-expand-btn i {
    transition: transform 0.2s ease;
}

.jr-seller-expand-btn .rotate-180 { transform: rotate(180deg); }

.jr-seller-expand-panel {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--jr-slate-200);
}

.jr-seller-expand-line {
    margin: 0;
    display: flex;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--jr-slate-700);
}

.jr-seller-expand-line i {
    color: var(--jr-emerald-600);
    font-size: 0.9rem;
    margin-top: 0.18rem;
}

.jr-seller-expand-label {
    margin: 0 0 0.25rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--jr-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jr-seller-expand-text {
    margin: 0;
    font-size: 0.86rem;
    color: var(--jr-slate-700);
    line-height: 1.5;
}

.jr-seller-expand-hours {
    margin: 0;
    padding: 0.55rem 0.7rem;
    font-family: inherit;
    font-size: 0.82rem;
    color: var(--jr-slate-700);
    background: var(--jr-slate-50);
    border-radius: 10px;
    white-space: pre-wrap;
}

.jr-seller-admin-banner {
    margin-top: 0.5rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.78rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
}

.jr-seller-card-empty .jr-seller-empty-msg {
    margin: 0;
    font-size: 0.85rem;
    color: var(--jr-slate-500);
}


/* ── jr-location-card ────────────────────────────────────────────────── */

.jr-location-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 1.5rem !important;
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: var(--jr-card-radius);
    box-shadow: var(--jr-shadow-card);
}

@media (min-width: 768px) {
    .jr-location-card { padding: 1.75rem !important; }
}

.jr-location-card-head {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.jr-location-card-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--jr-slate-900);
}

.jr-location-card-title i { color: var(--jr-emerald-700); font-size: 1.1rem; }

.jr-location-card-sub {
    font-size: 0.74rem;
    color: var(--jr-slate-500);
    font-weight: 500;
}

.jr-location-address {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--jr-slate-700);
    background: var(--jr-slate-50);
    border: 1px solid var(--jr-slate-200);
    border-radius: 12px;
}

.jr-location-address i { color: var(--jr-emerald-600); font-size: 0.95rem; }

.jr-location-map-wrap {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--jr-slate-200);
}

.jr-location-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.jr-location-map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    pointer-events: none;
    padding: 0.75rem;
}

.jr-location-privacy-ring {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--jr-emerald-800);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.jr-location-privacy-ring i { color: var(--jr-emerald-700); }

.jr-location-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jr-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.36rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--jr-slate-700);
    background: var(--jr-slate-50);
    border: 1px solid var(--jr-slate-200);
    border-radius: 999px;
    line-height: 1;
}

.jr-location-chip i { color: var(--jr-emerald-600); font-size: 0.78rem; }

.jr-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.jr-location-primary-btn {
    flex: 1 1 calc(60% - 0.55rem);
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
}

.jr-location-secondary-btn {
    flex: 1 1 35%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--jr-slate-700);
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.jr-location-secondary-btn:hover {
    background: var(--jr-slate-50);
    border-color: #cbd5e1;
    color: var(--jr-slate-900);
}

.jr-location-no-map {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    color: var(--jr-slate-500);
    background: var(--jr-slate-50);
    border: 1px dashed var(--jr-slate-200);
    border-radius: 12px;
}

/* ============================================================
   More from this seller — compact 2-card grid right-column block
   ============================================================ */
.jr-more-from-seller {
    background: #fff;
    border: 1px solid var(--jr-slate-200);
    border-radius: var(--jr-card-radius-lg);
    box-shadow: var(--jr-card-shadow);
    padding: 1.25rem 1.25rem 1.35rem;
}
.jr-mfs-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}
.jr-mfs-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--jr-slate-900);
}
.jr-mfs-title i {
    color: var(--jr-emerald-600);
}
.jr-mfs-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jr-emerald-600);
    text-decoration: none;
    transition: color .15s ease, transform .15s ease;
}
.jr-mfs-link:hover {
    color: var(--jr-emerald-700);
}
.jr-mfs-link:hover i {
    transform: translateX(2px);
}
.jr-mfs-link i {
    transition: transform .15s ease;
    font-size: 0.7rem;
}
.jr-mfs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.jr-mfs-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--jr-slate-200);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.jr-mfs-card:hover {
    border-color: var(--jr-emerald-600);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}
.jr-mfs-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--jr-slate-50);
}
.jr-mfs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.jr-mfs-meta {
    padding: 0.6rem 0.7rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.jr-mfs-card-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jr-slate-900);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jr-mfs-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jr-emerald-700);
}

/* ============================================================
   Mobile sticky bottom action bar — hidden on >= 1024px
   Mirrors the mobile-mockup pattern (Call / Chat / Save).
   ============================================================ */
.jr-mobile-bottombar {
    display: none;
}
@media (max-width: 1023.98px) {
    .jr-mobile-bottombar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        display: flex;
        gap: 0.5rem;
        padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: saturate(160%) blur(8px);
        -webkit-backdrop-filter: saturate(160%) blur(8px);
        border-top: 1px solid var(--jr-slate-200);
        box-shadow: 0 -10px 30px -10px rgba(15, 23, 42, .12);
    }

    .jr-mobile-bottombar .jr-mbb-btn {
        flex: 1 1 0;
        min-width: 0;
    }

    /* Body padding so content isn't hidden behind the bar */
    body:has(.jr-mobile-bottombar) {
        padding-bottom: 4.5rem;
    }
}
.jr-mbb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
    white-space: nowrap;
}
.jr-mbb-btn i {
    font-size: 0.95rem;
}
.jr-mbb-btn:active {
    transform: translateY(1px);
}
.jr-mbb-btn-primary {
    background: linear-gradient(180deg, var(--jr-emerald-600), var(--jr-emerald-700));
    color: #fff;
}
.jr-mbb-btn-secondary {
    background: #fff;
    color: var(--jr-emerald-700);
    border-color: var(--jr-emerald-600);
}
.jr-mbb-btn-tertiary {
    background: #fff;
    color: var(--jr-slate-700);
    border-color: var(--jr-slate-200);
}
.jr-mbb-btn-tertiary.is-saved {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.jr-mbb-btn-tertiary.is-saved i {
    color: #dc2626;
}
