/*
 * Seller showroom redesign - isolated scoped copy.
 * Loaded ONLY by views/seller_listings.php (after the page's inline styles).
 * Extracted from _manus_ai/repaired_seller_page/assets/css/style.css (appended section).
 * Do NOT merge into the global style.css - this file is page-scoped.
 */


/*
 * QuickCarsFinder seller showroom visual refresh
 * Load after the existing seller-listings view styles.
 * This stylesheet only changes presentation. It preserves current markup,
 * form fields, links, modal triggers, and JavaScript hooks.
 */

:root {
    --showroom-ink: #0d1511;
    --showroom-ink-soft: #17231c;
    --showroom-surface: #ffffff;
    --showroom-canvas: #f4f7f5;
    --showroom-line: #dfe8e2;
    --showroom-muted: #64736a;
    --showroom-green: #2e6a2e;
    --showroom-green-dark: #1d4d24;
    --showroom-gold: #d6a84d;
    --showroom-shadow: 0 18px 45px rgba(16, 29, 21, 0.10);
    --showroom-shadow-lg: 0 28px 70px rgba(5, 17, 9, 0.22);
}

/* Page foundation */
body {
    background: var(--showroom-canvas);
    color: var(--showroom-ink);
}

.portfolio-container {
    max-width: 1320px;
    padding: 0 24px 28px;
}

/* Hero: create an automotive, high-contrast showroom entrance from any supplied cover image. */
.hero-wrapper {
    min-height: 530px;
    margin-top: 12px;
    margin-bottom: 40px;
    padding-bottom: 0;
    border: 0;
    border-radius: 28px;
    background: var(--showroom-ink);
    box-shadow: var(--showroom-shadow-lg);
    isolation: isolate;
}

.hero-wrapper::before {
    height: 100%;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(4, 12, 7, 0.94) 0%, rgba(4, 12, 7, 0.68) 46%, rgba(4, 12, 7, 0.30) 100%),
        linear-gradient(0deg, rgba(4, 12, 7, 0.94) 0%, transparent 54%);
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, black, transparent 78%);
}

.hero-cover,
.hero-cover-placeholder {
    height: 100%;
    min-height: 530px;
}

.hero-cover {
    filter: saturate(0.58) contrast(1.08) brightness(0.68);
    transform: scale(1.025);
}

.hero-cover-placeholder {
    background:
        radial-gradient(circle at 72% 8%, rgba(72, 159, 82, 0.30), transparent 32%),
        linear-gradient(118deg, #07100a 0%, #14271a 52%, #0b1710 100%);
}

.hero-spacer {
    height: 310px;
}

.hero-profile-zone {
    z-index: 4;
    max-width: 1240px;
    margin-top: -84px;
    padding: 0 44px 42px;
    align-items: flex-end;
}

.hero-avatar-wrapper {
    padding: 4px;
    border-radius: 24px;
    background: linear-gradient(145deg, #f6fbf7 0%, #77a67e 100%);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.hero-avatar,
.hero-avatar-placeholder {
    width: 146px;
    height: 146px;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
}

.hero-avatar:hover {
    transform: none;
}

.hero-info {
    min-height: 220px;
    margin-left: 28px;
    padding: 30px 34px 26px;
    color: #fff;
    background: rgba(12, 23, 15, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.21);
}

.hero-name {
    margin-bottom: 6px;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-tagline {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1rem;
    font-weight: 500;
}

.trust-badges {
    gap: 8px;
}

.badge-trust {
    min-height: 30px;
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}

.badge-trust:hover {
    transform: none;
}

.badge-verified {
    color: #d7f9dc;
    background: rgba(47, 143, 63, 0.24);
    border-color: rgba(146, 235, 154, 0.28);
    animation: none;
}

.badge-premium {
    color: #ffe5aa;
    background: rgba(202, 151, 48, 0.17);
    border-color: rgba(232, 190, 104, 0.26);
    box-shadow: none;
}

.badge-id {
    color: #d7ebff;
    background: rgba(53, 123, 210, 0.18);
    border-color: rgba(139, 191, 255, 0.22);
}

.quick-stats-row {
    gap: 0;
    margin-top: 22px;
    padding-top: 17px;
    border-top-color: rgba(255, 255, 255, 0.16);
}

.q-stat {
    min-width: 92px;
    padding-right: 24px;
    margin-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.q-stat:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
}

.q-stat-val,
.q-stat-val.text-primary {
    color: #a4e0ab !important;
    font-size: 1.35rem;
}

.q-stat-label {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.66rem;
    letter-spacing: 0.11em;
}

/* Contact action: decisive conversion point, with WhatsApp as primary action. */
.action-connect-wrapper {
    top: 18px;
    z-index: 50;
    margin: -18px auto 44px;
}

.action-connect-wrapper .action-connect-bar {
    max-width: 980px;
    min-height: 82px;
    padding: 14px 16px 14px 26px;
    background: #fff;
    border: 1px solid var(--showroom-line);
    border-radius: 18px;
    box-shadow: var(--showroom-shadow);
}

.connect-prompt {
    color: var(--showroom-ink);
    font-size: 0.94rem;
}

.connect-prompt .text-success {
    color: var(--showroom-green) !important;
}

.action-buttons {
    gap: 10px;
}

.btn-contact-pill {
    min-height: 48px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
}

.btn-whatsapp {
    background: var(--showroom-green);
    box-shadow: 0 7px 16px rgba(46, 106, 46, 0.22);
}

.btn-whatsapp:hover {
    background: var(--showroom-green-dark);
    transform: translateY(-1px);
}

.btn-call {
    color: #fff;
    background: var(--showroom-ink);
}

.btn-call:hover {
    color: #fff;
    background: #1f3326;
    transform: translateY(-1px);
}

.btn-circle-action {
    width: 48px;
    height: 48px;
    color: var(--showroom-ink);
    background: #f7faf8;
    border-color: var(--showroom-line);
    border-radius: 10px;
    box-shadow: none;
}

.btn-circle-action:hover {
    color: var(--showroom-green);
    background: #edf6ee;
    border-color: #b8d8bd;
    transform: none;
    box-shadow: none;
}

/* Informational grid */
.bento-card {
    padding: 28px;
    margin-bottom: 0;
    background: var(--showroom-surface);
    border: 1px solid var(--showroom-line);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(21, 43, 28, 0.05);
}

.bento-card:hover {
    background: var(--showroom-surface);
    border-color: #cbdacf;
    box-shadow: 0 10px 26px rgba(21, 43, 28, 0.05);
    transform: none;
}

.section-title {
    color: var(--showroom-ink);
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-title i {
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--showroom-green);
    border-radius: 9px;
    font-size: 0.92rem;
}

.section-title .text-warning,
.section-title .text-danger {
    color: #fff !important;
    background: var(--showroom-ink-soft);
}

.about-text {
    color: #4c5d53;
    font-size: 0.94rem;
    line-height: 1.72;
}

.about-text-collapsed::after {
    background: linear-gradient(to bottom, transparent, #fff);
}

.info-row {
    gap: 12px;
    margin-bottom: 0;
    padding-top: 4px;
}

.info-icon {
    width: 38px;
    height: 38px;
    color: var(--showroom-green);
    background: #edf6ee;
    border: 1px solid #d8ecda;
    border-radius: 10px;
    box-shadow: none;
}

.business-hours-row.active-day {
    background: #edf6ee;
    border-color: #d0e9d3;
    box-shadow: none;
}

.business-hours-row.active-day td {
    color: var(--showroom-green-dark) !important;
}

/* Media is intentionally more editorial and darker than the utility cards. */
.video-showcase-grid .bento-card {
    overflow: hidden;
}

.cinematic-thumb {
    border: 0;
    border-radius: 13px;
    box-shadow: none;
}

.play-pulse {
    width: 64px;
    height: 64px;
    background: var(--showroom-green);
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.16);
    animation: none;
}

.cinematic-thumb:hover .play-pulse {
    background: var(--showroom-green-dark);
}

.tiktok-strip {
    gap: 12px;
}

.tiktok-card {
    width: 118px;
    border-radius: 12px;
}

/* Inventory and filters */
.premium-pinned-frame {
    border-radius: 17px !important;
    padding: 2px !important;
    background: linear-gradient(135deg, #d9bd78 0%, #526d57 100%) !important;
    box-shadow: 0 14px 32px rgba(85, 75, 32, 0.15) !important;
}

.showroom-scroll {
    gap: 18px;
    padding: 2px 2px 18px;
}

.showroom-scroll > div {
    flex-basis: 316px;
}

.filter-bar-compact {
    padding: 18px;
    margin-bottom: 34px;
    background: var(--showroom-ink);
    border: 0;
    border-radius: 18px;
    box-shadow: var(--showroom-shadow);
}

.filter-bar-compact .input-group-text,
.filter-bar-compact .form-control,
.filter-bar-compact .form-select {
    color: #eef7f0;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.17) !important;
}

.filter-bar-compact .form-control::placeholder {
    color: rgba(238, 247, 240, 0.60);
}

.filter-bar-compact .form-select {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.filter-bar-compact .form-select option {
    color: var(--showroom-ink);
    background: #fff;
}

.form-control,
.form-select {
    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    color: inherit;
    border-color: #8bb593 !important;
    box-shadow: 0 0 0 3px rgba(88, 155, 97, 0.24);
}

.filter-bar-compact .btn-primary {
    min-height: 44px;
    color: #fff;
    background: var(--showroom-green);
    border-color: var(--showroom-green);
    border-radius: 10px;
}

.filter-bar-compact .btn-primary:hover {
    background: var(--showroom-green-dark);
    border-color: var(--showroom-green-dark);
}

#full-inventory > .d-flex .section-title {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
}

#full-inventory > .d-flex .section-title .badge {
    color: var(--showroom-green-dark) !important;
    background: #edf6ee !important;
    border-color: #d5ead7 !important;
    font-size: 0.76rem !important;
}

#sortSelect {
    min-height: 42px;
    color: var(--showroom-ink);
    border: 1px solid var(--showroom-line) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

/* Vehicle cards: less generic card, more premium marketplace listing. */
a .listing-card,
.listing-card {
    border: 1px solid var(--showroom-line) !important;
    border-radius: 16px;
    box-shadow: 0 9px 22px rgba(21, 43, 28, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

a:hover .listing-card {
    border-color: #a9c9ae !important;
    box-shadow: 0 19px 34px rgba(21, 43, 28, 0.15);
    transform: translateY(-5px);
}

.listing-card .card-img-container {
    overflow: hidden;
    background: #eaf0ec;
}

.listing-card .card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 280ms ease;
}

a:hover .listing-card .card-img-top {
    transform: scale(1.035);
}

.listing-card .card-body {
    min-height: 160px;
    padding: 18px !important;
}

.listing-card .card-title {
    color: var(--showroom-ink);
    font-size: 1.03rem;
    letter-spacing: -0.02em;
}

.listing-card .listing-price {
    color: var(--showroom-green-dark) !important;
    font-size: 1.16rem;
}

.listing-card .badge-condition {
    padding: 5px 8px;
    color: var(--showroom-green-dark);
    background: #edf6ee;
    border: 1px solid #d7ead9;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.listing-card .badge-condition-outline {
    color: #53645a;
    background: #fff;
    border-color: #dfe8e2;
}

/* Mobile refinements: protect first viewport and keep the fixed conversion bar functional. */
@media (max-width: 767.98px) {
    .portfolio-container {
        padding: 0 14px 108px;
    }

    .hero-wrapper {
        min-height: 500px;
        margin-top: 0;
        margin-bottom: 28px;
        border-radius: 0 0 22px 22px;
    }

    .hero-cover,
    .hero-cover-placeholder {
        min-height: 500px;
        height: 500px;
    }

    .hero-spacer {
        height: 230px;
    }

    .hero-profile-zone {
        margin-top: -74px;
        padding: 0 22px 28px;
        align-items: center;
    }

    .hero-avatar-wrapper {
        border-radius: 18px;
    }

    .hero-avatar,
    .hero-avatar-placeholder {
        width: 112px;
        height: 112px;
        border-radius: 15px;
    }

    .hero-info {
        min-height: 0;
        margin: 14px 0 0;
        padding: 22px 18px;
        text-align: center;
        border-radius: 18px;
    }

    .hero-name {
        font-size: 2.1rem;
    }

    .trust-badges,
    .quick-stats-row {
        justify-content: center;
    }

    .badge-trust {
        padding: 6px 8px;
        font-size: 0.67rem;
    }

    .q-stat {
        min-width: auto;
        padding: 0 13px;
        margin: 0;
    }

    .action-connect-wrapper {
        padding: 0 12px;
        bottom: 12px;
    }

    .action-connect-wrapper .action-connect-bar {
        min-height: 64px;
        padding: 8px;
        border-radius: 15px;
    }

    .btn-contact-pill {
        min-height: 46px;
        padding: 10px 14px;
        border-radius: 9px;
    }

    .btn-circle-action {
        width: 46px;
        height: 46px;
        border-radius: 9px;
    }

    .bento-card {
        padding: 20px;
        border-radius: 16px;
    }

    .filter-bar-compact {
        padding: 14px;
        border-radius: 16px;
    }

    .showroom-scroll > div {
        flex-basis: 280px;
    }

    #full-inventory > .d-flex {
        align-items: flex-start !important;
        gap: 12px;
    }

    #sortSelect {
        min-width: 130px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* World-class showroom refinements: visual-only, data-agnostic, and hook-safe. */

:root {
    --wc-green: #2e6a2e;
    --wc-green-bright: #4f9d59;
    --wc-ink: #07110b;
    --wc-cream: #f7faf7;
    --wc-line: rgba(29, 77, 36, 0.13);
}

html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(circle at 12% 7%, rgba(93, 158, 101, 0.08), transparent 27rem),
        var(--showroom-canvas, #f4f7f5);
}

/* Add a discreet showroom eyebrow and make the hero feel like an arrival moment. */
.hero-wrapper {
    min-height: 560px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 32px 80px rgba(5, 17, 9, 0.24);
}

.hero-wrapper::before {
    background:
        linear-gradient(90deg, rgba(2, 9, 5, 0.96) 0%, rgba(2, 9, 5, 0.72) 43%, rgba(2, 9, 5, 0.20) 100%),
        linear-gradient(0deg, rgba(2, 9, 5, 0.96) 0%, rgba(2, 9, 5, 0.02) 68%);
}

.hero-cover,
.hero-cover-placeholder { min-height: 560px; }

.hero-spacer { height: 342px; }

.hero-info {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(8, 22, 12, 0.94), rgba(17, 39, 22, 0.84));
    border-color: rgba(193, 235, 197, 0.20);
}

.hero-info::before {
    content: 'DEALER SHOWROOM';
    display: block;
    margin-bottom: 12px;
    color: #9bd5a2;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.20em;
}

.hero-info::after {
    content: '';
    position: absolute;
    right: -42px;
    top: -48px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(164, 224, 171, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(164, 224, 171, 0.035), 0 0 0 45px rgba(164, 224, 171, 0.025);
    pointer-events: none;
}

.hero-name { max-width: 14ch; }

.trust-badges { position: relative; z-index: 1; }

/* Clearer separation between content chapters. */
.portfolio-container > .mb-5,
#full-inventory {
    position: relative;
}

.portfolio-container > .mb-5::before,
#full-inventory::before {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 14px;
    background: var(--wc-green-bright);
    border-radius: 99px;
}

/* Premium inventory spotlight should feel like a product feature, not another card. */
.premium-pinned-frame .listing-card {
    background: linear-gradient(155deg, #ffffff 0%, #f2f8f3 100%) !important;
}

.premium-pinned-frame .listing-card .card-img-top {
    aspect-ratio: 16 / 10;
}

/* Improve the browse experience with stronger grouping and hover affordances. */
#listingsGrid {
    row-gap: 26px !important;
}

#listingsGrid > [class*="col-"] {
    display: flex;
}

#listingsGrid > [class*="col-"] > a {
    width: 100%;
}

.listing-card .card-img-container::after {
    content: 'VIEW VEHICLE';
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 6px 9px;
    color: #fff;
    background: rgba(7, 17, 11, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 6px;
    font-size: 0.60rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

a:hover .listing-card .card-img-container::after,
a:focus-visible .listing-card .card-img-container::after {
    opacity: 1;
    transform: translateY(0);
}

/* Make missing/optional media feel intentional rather than empty. */
.cinematic-thumb > div:first-child,
.tiktok-card > div:first-child {
    background:
        radial-gradient(circle at 50% 35%, rgba(79, 157, 89, 0.26), transparent 25%),
        linear-gradient(135deg, #07100a, #17271a) !important;
}

/* Keep the conversion action unmistakable while it is sticky. */
.action-connect-wrapper .action-connect-bar::before {
    content: 'READY TO BUY?';
    color: var(--wc-green);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .hero-profile-zone { padding-bottom: 48px; }
    .action-connect-wrapper .action-connect-bar { padding-left: 28px; }
}

@media (max-width: 767.98px) {
    .hero-wrapper { min-height: 520px; }
    .hero-cover,
    .hero-cover-placeholder { min-height: 520px; height: 520px; }
    .hero-spacer { height: 246px; }
    .hero-info::before { margin-bottom: 10px; }
    .hero-name { max-width: none; }
    .action-connect-wrapper .action-connect-bar::before { display: none; }
    .listing-card .card-img-container::after { display: none; }
}
/* ============================================================
   Showroom landing-page upgrades (hero CTAs, eyebrows, brand
   chips, Visit-Us closing band). Scoped to the seller page.
   ============================================================ */

/* Hero call-to-action group: turn the first viewport into a decision point. */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.hero-cta:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.hero-cta-whatsapp {
    background: var(--showroom-green);
    box-shadow: 0 8px 18px rgba(46, 106, 46, 0.32);
}

.hero-cta-whatsapp:hover {
    background: var(--showroom-green-dark);
    box-shadow: 0 10px 22px rgba(46, 106, 46, 0.4);
}

.hero-cta-call {
    background: #fff;
    color: var(--showroom-ink);
    box-shadow: 0 8px 18px rgba(5, 17, 9, 0.25);
}

.hero-cta-call:hover {
    color: var(--showroom-ink);
    background: #f1f6f2;
}

.hero-cta-directions {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.hero-cta-directions:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Section eyebrows: small uppercase chapter markers above titles. */
.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--showroom-green);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #9bd5a2;
}

/* Brand chips: store-inventory quick filters, feel like a showroom shelf. */
.brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: var(--showroom-surface);
    border: 1px solid var(--showroom-line);
    border-radius: 999px;
    color: var(--showroom-ink-soft);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.brand-chip:hover {
    border-color: #b8d8bd;
    color: var(--showroom-green-dark);
    background: #edf6ee;
    text-decoration: none;
    transform: translateY(-1px);
}

.brand-chip.active {
    background: var(--showroom-green);
    border-color: var(--showroom-green);
    color: #fff;
}

.brand-chip.active:hover {
    background: var(--showroom-green-dark);
    border-color: var(--showroom-green-dark);
    color: #fff;
}

.chip-count {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--showroom-muted);
}

.brand-chip.active .chip-count {
    color: rgba(255, 255, 255, 0.85);
}

/* Visit-us closing band: dealer-branded ending before the platform footer. */
.visit-band {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0;
    margin-top: 64px;
    margin-bottom: 48px;
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    background: var(--showroom-ink);
    color: #fff;
    box-shadow: var(--showroom-shadow-lg);
}

.visit-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    background:
        radial-gradient(circle at 12% 2%, rgba(93, 158, 101, 0.16), transparent 24rem),
        var(--showroom-ink);
}

.visit-title {
    margin: 0 0 12px;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.visit-lead {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.visit-avail {
    color: #a4e0ab;
    font-weight: 700;
}

.visit-points {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
}

.visit-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    line-height: 1.5;
}

.visit-point i {
    margin-top: 2px;
    color: #9bd5a2;
}

.visit-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(155, 213, 162, 0.5);
}

.visit-link:hover {
    color: #9bd5a2;
}

.visit-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.visit-map {
    position: relative;
    min-height: 320px;
    background: #0b1710;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.visit-map::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

/* Responsive hero CTAs and visit band. */
@media (max-width: 767.98px) {
    .hero-ctas {
        margin-top: 18px;
        gap: 8px;
    }

    .hero-cta {
        flex: 1 1 auto;
        justify-content: center;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 0.84rem;
    }

    .visit-band {
        grid-template-columns: 1fr;
        border-radius: 18px;
        margin-top: 44px;
        margin-bottom: 32px;
    }

    .visit-info {
        padding: 30px 24px;
    }

    .visit-title {
        font-size: 1.35rem;
    }

    .visit-map,
    .visit-map iframe {
        min-height: 240px;
    }
}
/* ============================================================
   Pass 2: sticky anchor nav + trust strip (page-scoped).
   ============================================================ */

/* Sticky anchor nav: one-page skeleton under the hero. */
.anchor-nav-wrap {
    position: sticky;
    top: 12px;
    z-index: 60;
    display: flex;
    justify-content: center;
    margin: -6px 0 26px;
    pointer-events: none;
}

.anchor-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--showroom-line);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(16, 29, 21, 0.12);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.anchor-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--showroom-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease;
}

.anchor-link:hover {
    background: #edf6ee;
    color: var(--showroom-green-dark);
    text-decoration: none;
}

.anchor-link.anchor-active {
    background: var(--showroom-green);
    color: #fff;
}

.anchor-link.anchor-active:hover {
    background: var(--showroom-green-dark);
    color: #fff;
}

.anchor-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 1px 6px;
    background: rgba(100, 115, 106, 0.14);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
}

.anchor-link.anchor-active .anchor-count {
    background: rgba(255, 255, 255, 0.22);
}

/* Keeps incoming sections visible below the sticky nav when anchored. */
#showroom-info,
#premium-fleet,
#videos,
#full-inventory,
#visit-us,
#trust-strip {
    scroll-margin-top: 84px;
}

/* Trust strip: why buy from us. */
.trust-strip {
    background: var(--showroom-surface);
    border: 1px solid var(--showroom-line);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: 0 10px 26px rgba(21, 43, 28, 0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #f7faf8;
    border: 1px solid #e3ece5;
    border-radius: 14px;
    transition: border-color 160ms ease, transform 160ms ease;
}

.trust-card:hover {
    border-color: #b8d8bd;
    transform: translateY(-2px);
}

.trust-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #edf6ee;
    color: var(--showroom-green-dark);
    font-size: 1rem;
}

.trust-title {
    margin: 0 0 4px;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--showroom-ink);
}

.trust-desc {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--showroom-muted);
}

@media (max-width: 767.98px) {
    .anchor-nav-wrap {
        top: 8px;
        margin: -4px 0 20px;
    }

    .anchor-nav {
        width: 100%;
        justify-content: space-between;
        border-radius: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .anchor-nav::-webkit-scrollbar {
        display: none;
    }

    .anchor-link {
        flex: 1 0 auto;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.76rem;
    }

    .trust-strip {
        padding: 22px 18px;
    }
}
/* ============================================================
   Pass 3: floating contact widget (right-edge dock). Replaces
   the old sticky action bar - no more double floating chrome.
   ============================================================ */

.contact-widget {
    position: fixed;
    right: 18px;
    top: 50%;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(-50%) translateX(80px);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
}

.contact-widget.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.widget-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(5, 17, 9, 0.30);
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.widget-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: scale(1.07);
}

.widget-whatsapp {
    background: var(--showroom-green);
}

.widget-whatsapp:hover {
    background: var(--showroom-green-dark);
    box-shadow: 0 12px 30px rgba(46, 106, 46, 0.42);
}

.widget-call {
    background: var(--showroom-ink);
}

.widget-call:hover {
    background: #1f3326;
}

.widget-share {
    background: #fff;
    color: var(--showroom-ink);
}

.widget-share:hover {
    background: #f1f6f2;
    color: var(--showroom-green-dark);
}

.widget-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    padding: 6px 11px;
    background: var(--showroom-ink);
    color: #fff;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.widget-btn:hover .widget-tooltip {
    opacity: 1;
}

.wa-online-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #4ade80;
    border: 2px solid #fff;
}

/* Mobile: thumb-zone dock above the back-to-top button. */
@media (max-width: 767.98px) {
    .contact-widget {
        right: 14px;
        top: auto;
        bottom: 96px;
        transform: translateY(14px);
        gap: 9px;
    }

    .contact-widget.visible {
        transform: translateY(0);
    }

    .widget-btn {
        width: 48px;
        height: 48px;
        font-size: 1.05rem;
    }

    .widget-tooltip {
        display: none;
    }
}