/* =========================================================
   BLOOOW UI AUDIT V4
   Final cross-section consistency layer.
   Loaded after all legacy/page styles so Business, Events and
   Offers share one deliberate interaction and spacing system.
========================================================= */

/* ---------------------------------------------------------
   1. INTERNAL HEADER: DETAIL PAGES MUST NEVER COLLIDE
--------------------------------------------------------- */
@media (min-width: 821px) {
    .discovery-detail-page .blooow-header-frame,
    .discovery-detail-page .blooow-header-top {
        min-height: 88px;
        grid-template-columns: 160px minmax(0, 1fr) 58px;
        position: relative;
    }

    .discovery-detail-page .blooow-header-brand,
    .discovery-detail-page.business-page:not(.contact-page) .blooow-header-brand {
        position: relative;
        inset: auto;
        z-index: 1;
        width: 150px;
        height: 82px;
        align-self: center;
        justify-self: start;
    }

    .discovery-detail-page .blooow-brand-lockup,
    .discovery-detail-page.business-page:not(.contact-page) .blooow-brand-lockup {
        position: relative;
        top: auto;
        left: auto;
        width: 150px;
        height: 82px;
        transform: none;
    }

    .discovery-detail-page .blooow-brand-lockup .blooow-header-portrait {
        top: 0;
        width: 52px;
        height: 52px;
    }

    .discovery-detail-page .blooow-brand-lockup .blooow-header-wordmark {
        bottom: 2px;
        width: 130px;
    }

    .discovery-detail-page .blooow-header-center {
        grid-column: 2;
    }

    .discovery-detail-page .blooow-theme-toggle {
        grid-column: 3;
    }
}

/* ---------------------------------------------------------
   2. CATEGORY SYSTEM: BUSINESS + EVENTS + OFFERS
--------------------------------------------------------- */
.business-page .category-discovery {
    padding-bottom: 16px;
}

.business-page .category-rail {
    gap: 10px;
    padding: 3px 1px 4px;
    scroll-snap-type: x proximity;
}

.business-page .category-tile,
.events-page .category-tile,
.offers-page .category-tile {
    width: 148px;
    height: 108px;
    flex: 0 0 148px;
    padding: 12px 12px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    color: var(--text);
    text-align: center;
    box-shadow: none;
    scroll-snap-align: start;
}

.business-page .category-tile:hover,
.business-page .category-tile:focus-visible {
    border-color: var(--line-strong);
    background: var(--surface-2);
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.business-page .category-tile.selected {
    border-color: var(--blue-line);
    background: var(--blue-soft);
    color: var(--blue-strong);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 16%, transparent);
}

.business-page .category-tile.selected:hover,
.business-page .category-tile.selected:focus-visible {
    border-color: var(--blue);
    background: color-mix(in srgb, var(--blue-soft) 82%, var(--surface));
}

.business-page .category-art,
.events-page .category-art,
.offers-page .category-art {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
}

.business-page .category-art img,
.events-page .category-art img,
.offers-page .category-art img {
    width: 38px;
    height: 38px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.business-page .category-label,
.events-page .category-label,
.offers-page .category-label {
    width: 100%;
    min-width: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: currentColor;
    font-size: .68rem;
    font-weight: 820;
    line-height: 1.08;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

/* Author CSS otherwise overrides the browser's [hidden] behaviour. */
.discovery-category-glyph[hidden],
.category-icon-fallback[hidden] {
    display: none !important;
}

.discovery-category-glyph,
.category-icon-fallback {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface-2);
    color: var(--muted-strong);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 900;
}

/* Keep monochrome icon assets legible in each theme without changing photos. */
:root[data-theme="dark"] .business-page .category-art img {
    filter: grayscale(1) invert(1);
}

:root[data-theme="light"] .business-page .category-art img {
    filter: grayscale(1) invert(0);
}

/* ---------------------------------------------------------
   3. BUSINESS SUBCATEGORY CARDS
--------------------------------------------------------- */
.marketplace-subcategory-discovery {
    margin-top: 3px;
    padding: 0 0 15px;
    border-bottom: 1px solid var(--line);
}

.marketplace-subcategory-rail {
    gap: 9px;
    margin: 0;
    padding: 2px 1px 4px;
    border: 0;
    scroll-snap-type: x proximity;
}

.marketplace-subcategory-card {
    flex: 0 0 132px;
    width: 132px;
    min-height: 86px;
    padding: 9px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    text-align: center;
    box-shadow: none;
    scroll-snap-align: start;
}

.marketplace-subcategory-card:hover,
.marketplace-subcategory-card:focus-visible {
    border-color: var(--line-strong);
    background: var(--surface-2);
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.marketplace-subcategory-card.selected {
    border-color: var(--blue-line);
    background: var(--blue-soft);
    color: var(--blue-strong);
}

.marketplace-subcategory-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
}

.marketplace-subcategory-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.marketplace-subcategory-name,
.marketplace-subcategory-copy strong {
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: currentColor;
    font-size: .65rem;
    font-weight: 820;
    line-height: 1.1;
    text-align: center;
    text-wrap: balance;
}

.marketplace-subcategory-copy {
    align-items: center;
    gap: 2px;
}

.marketplace-subcategory-copy small {
    font-size: .5rem;
    letter-spacing: .12em;
}

/* Keep controls inside the viewport rather than hanging outside the rail. */
.discovery-scroll-button-left { left: 6px; }
.discovery-scroll-button-right { right: 6px; }

/* ---------------------------------------------------------
   4. MARKETPLACE TOOLBARS + CARDS
--------------------------------------------------------- */
.business-page .listing-toolbar {
    min-height: 58px;
    padding: 10px 0;
}

.business-page .listing-kind-tabs {
    padding-block: 1px;
}

.business-page .listing-filter-chip {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: var(--line-strong);
}

.business-page .listing-filter-chip.selected {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.business-page .listing-filter-chip:hover,
.business-page .listing-filter-chip:focus-visible {
    border-color: var(--blue-line);
}

.marketplace-card {
    border-color: var(--line-strong);
    background: var(--surface);
    box-shadow: none;
}

.marketplace-card:hover,
.marketplace-card:focus-visible {
    border-color: color-mix(in srgb, var(--blue) 38%, var(--line-strong));
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

.marketplace-card-body {
    background: var(--surface);
}

.marketplace-card:hover .marketplace-card-body,
.marketplace-card:focus-visible .marketplace-card-body {
    background: var(--surface-2);
    color: var(--text);
}

/* Event and offer cards are discovery cards, not inverted hover billboards. */
.event-card-meta,
.offer-card-meta {
    justify-content: space-between;
}

.event-card-date-badge {
    border-color: rgba(0,0,0,.18);
    box-shadow: 0 5px 16px rgba(0,0,0,.15);
}

/* ---------------------------------------------------------
   5. ONE VERIFICATION LANGUAGE ACROSS BLOOOW
--------------------------------------------------------- */
.listing-verified,
.status-badge,
.detail-media-badge {
    min-height: 28px;
    padding: 4px 9px 4px 5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--blue-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--blue-soft) 92%, var(--surface));
    color: var(--blue-strong);
    font-size: .62rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    box-shadow: none;
}

.listing-verified,
.detail-media-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.verified-check,
.status-badge .status-icon,
.detail-media-badge > span:first-child {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: .62rem;
}

.status-badge-featured {
    border-color: var(--line-strong);
    background: color-mix(in srgb, var(--surface-2) 92%, transparent);
    color: var(--text);
}

.status-badge-featured .status-icon {
    background: var(--text);
    color: var(--bg);
}

.detail-chip-verified {
    border-color: var(--blue-line);
    background: var(--blue-soft);
    color: var(--blue-strong);
}

/* ---------------------------------------------------------
   6. DETAIL PAGE SHELL
--------------------------------------------------------- */
.discovery-detail-shell-refined {
    width: min(calc(100% - 48px), 1220px);
    margin: 0 auto;
    padding: 28px 0 72px;
}

.detail-back-pill {
    min-height: 36px;
    margin: 0 0 18px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--muted-strong);
    opacity: 1;
}

.detail-back-pill:hover,
.detail-back-pill:focus-visible {
    border-color: var(--blue-line);
    background: var(--blue-soft);
    color: var(--blue-strong);
}

.discovery-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .98fr);
    gap: clamp(28px, 3vw, 44px);
    align-items: start;
}

.discovery-detail-media-refined {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 560px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: #0a0a0b;
}

.discovery-detail-media-refined > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.discovery-detail-copy-refined {
    padding: 4px 0 0;
}

.discovery-detail-copy-refined h1 {
    margin: 0;
    font-size: clamp(2.15rem, 4vw, 3.35rem);
    line-height: 1;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.detail-subtitle {
    margin-top: 9px;
    color: var(--muted-strong);
    opacity: 1;
}

.detail-badge-row {
    margin-bottom: 15px;
}

.detail-chip {
    min-height: 26px;
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--muted-strong);
}

.detail-content-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.detail-content-section .detail-description {
    margin-top: 10px;
    max-width: none;
    color: var(--text);
    font-size: .9rem;
    line-height: 1.72;
    opacity: .86;
    overflow-wrap: anywhere;
}

.detail-primary-action,
.detail-secondary-action {
    min-height: 44px;
    border-radius: 11px;
}

.detail-primary-action {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.detail-primary-action:hover,
.detail-primary-action:focus-visible {
    border-color: var(--blue-strong);
    background: var(--blue-strong);
    color: #fff;
}

.detail-secondary-action {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--text);
}

.detail-secondary-action:hover,
.detail-secondary-action:focus-visible {
    border-color: var(--blue-line);
    background: var(--blue-soft);
    color: var(--blue-strong);
}

/* ---------------------------------------------------------
   7. EVENT DETAIL: CLEAR START/END SEMANTICS
--------------------------------------------------------- */
.event-detail-fact-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-info-card {
    min-height: 112px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: var(--surface);
}

.detail-info-icon {
    border-color: var(--line-strong);
    background: var(--surface-2);
}

.detail-info-label,
.detail-section-kicker,
.offer-meta-card span {
    color: var(--muted);
    opacity: 1;
}

.detail-info-card strong {
    font-size: .84rem;
}

.event-time-lines {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.event-time-line {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
}

.event-time-line small {
    color: var(--muted);
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.event-time-line span {
    color: var(--text);
    font-size: .73rem;
    line-height: 1.35;
}

.event-time-primary {
    margin-top: 3px;
    color: var(--text);
    font-size: .84rem;
    font-weight: 820;
    line-height: 1.35;
}

.event-time-secondary {
    color: var(--muted-strong);
    font-size: .72rem;
    line-height: 1.35;
}

/* ---------------------------------------------------------
   8. OFFER DETAIL: PRODUCT FIRST, REGULATION SUPPORTING
--------------------------------------------------------- */
.offer-detail-media {
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 520px;
    background: var(--surface);
}

.offer-detail-media.institution-logo-detail-media {
    padding: clamp(36px, 6vw, 78px);
    background: #fff;
}

.offer-institution-lockup {
    margin-bottom: 16px;
}

.institution-mark-detail {
    border-color: var(--line-strong);
    background: #fff;
}

.offer-detail-benefit-refined {
    margin-top: 13px;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.2;
}

.offer-summary-section {
    margin-top: 21px;
}

.offer-detail-meta-strip {
    margin-top: 18px;
    gap: 10px;
}

.offer-meta-card {
    min-height: 82px;
    border-color: var(--line-strong);
    background: var(--surface);
}

.offer-trust-panel {
    margin-top: 10px;
    border-color: var(--line-strong);
    background: var(--surface);
}

.offer-trust-copy p {
    color: var(--muted-strong);
    opacity: 1;
}

.discovery-regulatory-note {
    border-color: var(--line-strong);
    background: var(--surface);
}

/* ---------------------------------------------------------
   9. RESPONSIVE AUDIT
--------------------------------------------------------- */
@media (max-width: 1000px) {
    .business-page .category-tile,
    .events-page .category-tile,
    .offers-page .category-tile {
        width: 138px;
        flex-basis: 138px;
        height: 104px;
    }

    .discovery-detail-hero {
        grid-template-columns: minmax(0, 1fr) minmax(340px, .95fr);
        gap: 26px;
    }
}

@media (max-width: 820px) {
    .discovery-detail-shell-refined {
        width: min(calc(100% - 28px), 720px);
        padding-top: 18px;
    }

    .discovery-detail-hero {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .discovery-detail-media-refined,
    .offer-detail-media {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
}

@media (max-width: 640px) {
    .business-page .category-tile,
    .events-page .category-tile,
    .offers-page .category-tile {
        width: 124px;
        flex-basis: 124px;
        height: 98px;
        padding: 9px 8px;
        gap: 6px;
        border-radius: 13px;
    }

    .business-page .category-art,
    .events-page .category-art,
    .offers-page .category-art {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .business-page .category-art img,
    .events-page .category-art img,
    .offers-page .category-art img {
        width: 34px;
        height: 34px;
    }

    .business-page .category-label,
    .events-page .category-label,
    .offers-page .category-label {
        font-size: .63rem;
    }

    .marketplace-subcategory-card {
        flex-basis: 116px;
        width: 116px;
        min-height: 80px;
    }

    .business-page .listing-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .business-page .listing-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .business-page .listing-sort-dropdown {
        width: 140px;
        flex: 0 0 140px;
    }

    .discovery-detail-shell-refined {
        width: calc(100% - 18px);
        padding: 14px 0 48px;
    }

    .detail-back-pill {
        margin-bottom: 12px;
    }

    .discovery-detail-copy-refined h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .event-detail-fact-grid,
    .offer-detail-meta-strip {
        grid-template-columns: 1fr;
    }

    .detail-info-card {
        min-height: 94px;
    }

    .detail-actions-prominent {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .detail-actions-prominent .detail-primary-action,
    .detail-actions-prominent .detail-secondary-action {
        width: 100%;
    }

    .offer-trust-panel {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .offer-regulator-link {
        width: 100%;
    }
}

/* =========================================================
   BLOOOW UI AUDIT V5 — DEPLOYMENT CLEANUP
   Fixes verified badges, event card layering, category icon
   scale, offer artwork preservation, and desktop detail-header
   logo clearance. Keep this block last in the cascade.
========================================================= */

/* 1. Verification must read as an intentional, opaque trust marker. */
.listing-verified,
.status-badge.status-badge-verified,
.detail-media-badge.status-badge-verified {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    box-shadow: 0 5px 16px rgba(45, 91, 255, .22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
}

.listing-verified .verified-check,
.status-badge.status-badge-verified .status-icon,
.detail-media-badge.status-badge-verified > span:first-child {
    background: #fff;
    color: var(--blue);
}

/* Featured is deliberately neutral so it cannot be confused with verification. */
.status-badge.status-badge-featured,
.listing-verified.status-badge-featured,
.detail-media-badge.status-badge-featured {
    border-color: var(--text);
    background: var(--text);
    color: var(--bg);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.status-badge.status-badge-featured .status-icon,
.listing-verified.status-badge-featured .verified-check,
.detail-media-badge.status-badge-featured > span:first-child {
    background: var(--bg);
    color: var(--text);
}

/* 2. Event date badge must sit above the media image layer. */
.event-card-date-badge {
    z-index: 4;
    pointer-events: none;
}

/* 3. Larger category artwork without changing category-card dimensions. */
.business-page .category-tile,
.events-page .category-tile,
.offers-page .category-tile {
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 4px;
}

.business-page .category-art,
.events-page .category-art,
.offers-page .category-art {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.business-page .category-art img,
.events-page .category-art img,
.offers-page .category-art img {
    width: 47px;
    height: 47px;
}

.marketplace-subcategory-card {
    padding-top: 7px;
    padding-bottom: 7px;
    gap: 5px;
}

.marketplace-subcategory-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
}

.marketplace-subcategory-icon img {
    width: 36px;
    height: 36px;
}

/* 4. Offer artwork is an advert creative: never crop it on the detail page.
      Let its natural aspect ratio determine the media height. */
.offer-detail-media.discovery-detail-media-refined {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    display: grid;
    place-items: center;
    background: var(--surface-2);
}

.offer-detail-media.discovery-detail-media-refined > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    display: block;
    object-fit: contain;
    object-position: center;
}

.offer-detail-media.institution-logo-detail-media {
    min-height: 360px;
}

.offer-detail-media.institution-logo-detail-media > img {
    width: min(100%, 420px);
    height: auto;
    max-height: 320px;
    margin: auto;
    object-fit: contain;
}

/* Dates remain backend data. The public offer detail page now moves directly
   from the offer hero to regulatory context. */
.offer-trust-panel {
    margin-top: 18px;
}

/* 5. Detail pages have no search row. Give the desktop logo a self-contained
      header box so the logo can never intersect the header divider. */
@media (min-width: 821px) {
    body.discovery-detail-page .blooow-header {
        padding-bottom: 10px;
    }

    body.discovery-detail-page .blooow-header-frame,
    body.discovery-detail-page .blooow-header-top {
        min-height: 104px;
        grid-template-columns: 174px minmax(0, 1fr) 58px;
        align-items: center;
    }

    body.discovery-detail-page .blooow-header-brand,
    body.discovery-detail-page.business-page:not(.contact-page) .blooow-header-brand {
        position: relative;
        top: auto;
        left: auto;
        inset: auto;
        width: 164px;
        height: 92px;
        align-self: center;
        justify-self: start;
        overflow: visible;
    }

    body.discovery-detail-page .blooow-brand-lockup,
    body.discovery-detail-page.business-page:not(.contact-page) .blooow-brand-lockup {
        position: relative;
        top: auto;
        left: auto;
        width: 156px;
        height: 86px;
        margin: 0;
        transform: none;
    }

    body.discovery-detail-page .blooow-brand-lockup .blooow-header-portrait {
        top: 1px;
        width: 50px;
        height: 50px;
    }

    body.discovery-detail-page .blooow-brand-lockup .blooow-header-wordmark {
        bottom: 7px;
        width: 132px;
        max-height: 34px;
    }

    body.discovery-detail-page .blooow-header-center {
        grid-column: 2;
        align-self: center;
    }

    body.discovery-detail-page .blooow-theme-toggle {
        grid-column: 3;
        align-self: center;
    }

    body.discovery-detail-page .discovery-detail-shell-refined {
        padding-top: 26px;
    }
}

@media (max-width: 640px) {
    .business-page .category-art,
    .events-page .category-art,
    .offers-page .category-art {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .business-page .category-art img,
    .events-page .category-art img,
    .offers-page .category-art img {
        width: 42px;
        height: 42px;
    }

    .marketplace-subcategory-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .marketplace-subcategory-icon img {
        width: 33px;
        height: 33px;
    }
}

/* Keep every public "verified" treatment opaque and immediately readable. */
.detail-chip-verified {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    opacity: 1;
}

/* =========================================================
   BLOOOW SPOTLIGHT V1
   Promotion is deliberately separate from blue verification.
========================================================= */
.marketplace-card.spotlight-card {
    box-shadow:
        0 0 0 1px rgba(201, 29, 37, .32),
        0 12px 28px rgba(0, 0, 0, .08);
}

.marketplace-card.spotlight-card:hover,
.marketplace-card.spotlight-card:focus-visible {
    box-shadow:
        0 0 0 2px rgba(201, 29, 37, .6),
        0 16px 34px rgba(0, 0, 0, .14);
}

.listing-spotlight {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8f1118;
    border-radius: 999px;
    background: #c91d25;
    color: #fff;
    box-shadow: 0 5px 16px rgba(201, 29, 37, .24);
}

.spotlight-star-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .92rem;
    line-height: 1;
}

.listing-engagement > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.listing-eye-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.spotlight-detail-row {
    margin: 12px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-spotlight-badge {
    position: static;
    width: auto;
    height: auto;
    min-height: 34px;
    padding: 6px 12px 6px 8px;
    gap: 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.detail-spotlight-badge .spotlight-star-chip {
    width: 18px;
    height: 18px;
    font-size: .84rem;
}

@media (max-width: 640px) {
    .marketplace-card .listing-spotlight {
        top: 8px;
        left: 8px;
        width: 28px;
        height: 28px;
        min-height: 28px;
    }

    .detail-spotlight-badge {
        min-height: 32px;
        padding: 6px 10px 6px 8px;
    }

    .detail-spotlight-badge .spotlight-star-chip {
        width: 17px;
        height: 17px;
        font-size: .8rem;
    }
}


/* ---------------------------------------------------------
   LISTING CARD VERIFIED MARK — ICON ONLY
   Compact verification seal for marketplace cards.
   This intentionally overrides the shared pill styling above.
--------------------------------------------------------- */
.marketplace-card .listing-verified {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 0;
    display: grid;
    place-items: center;
    gap: 0;

    top: 8px;
    right: 8px;

    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

.marketplace-card .listing-verified .verified-check {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    display: block;
    flex: 0 0 auto;

    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 950;
    line-height: 1;
    transform: translateY(-0.25px);
}

.marketplace-card:hover .listing-verified,
.marketplace-card:focus-visible .listing-verified {
    background: var(--blue-strong);
}
