/* ============================================
   VarsityPlug â€” Marketplace Feed Styles (Light)
   ============================================ */

/* === Hero Section === */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    animation: fadeInUp 0.6s ease;
    background: linear-gradient(to bottom, var(--bg-color), var(--card-bg)), url('../assets/hero_bg.png') center/cover no-repeat;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow-x: hidden;
}

/* === Mobile Action Bar === */
.md\:hidden.flex.gap-3 button {
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* === Sidepanel & Dropdowns === */
#filter-sidepanel-overlay.visible,
#mobile-category-dropdown.visible,
#mobile-filter-dropdown.visible {
    display: block !important;
    animation: slideDownFade 0.3s ease forwards;
}

#filter-sidepanel.open {
    transform: translateX(0) !important;
}

.pt-safe {
    padding-top: env(safe-area-inset-top);
}

/* === Category Dropdown === */
#mobile-category-dropdown.visible {
    display: block !important;
    animation: slideDownFade 0.3s ease forwards;
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-cat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy-900);
    transition: all 0.2s ease;
}

.mobile-cat-item:active {
    background: var(--navy-50);
    transform: scale(0.98);
}

.mobile-cat-item.active {
    background: var(--navy-900);
    color: white;
}

/* === Category Segmentation === */
.category-row .listing-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-row .listing-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 1.5rem;
    margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
    .card-title {
        min-height: 1.75rem;
    }
}

.card-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
    line-height: 1.25rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .card-description {
        min-height: 3rem;
        line-height: 1.5rem;
    }
}

.card-seller-row {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--navy-100);
}



/* === Infinite Slider === */
:root {
    --slide-width: 200px;
    --slide-count: 7;
}

.hero-slider-container {
    margin: 2.5rem auto;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    pointer-events: none;
    /* Let clicks pass through to background if needed, but we have hover pause */
}

.hero-slider {
    width: 100%;
    overflow: hidden;
    pointer-events: auto;
}

.slider-track {
    display: flex;
    width: calc(var(--slide-width) * var(--slide-count) * 2);
    animation: scroll-marquee 30s linear infinite;
    -webkit-animation: scroll-marquee 30s linear infinite;
}

.slider-track:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

.slide {
    width: var(--slide-width);
    flex-shrink: 0;
    height: 150px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: var(--card-bg);
    padding: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.06);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--slide-width) * var(--slide-count) * -1));
    }
}

@-webkit-keyframes scroll-marquee {
    0% {
        -webkit-transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(var(--slide-width) * var(--slide-count) * -1));
    }
}

@media (max-width: 768px) {
    :root {
        --slide-width: 160px;
    }

    .slide {
        height: 120px;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #000000;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* === Stats Bar === */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 2rem;
    margin: 0 auto 2rem;
    max-width: 600px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-full);
    box-shadow: var(--card-shadow);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.stat-item strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* === Filters Bar === */
.filters-section {
    padding: 1rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.4rem 0.9rem;
    border-radius: 0.75rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.category-tab:hover,
.category-tab.active {
    background: #eff6ff;
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.sort-select {
    padding: 0.4rem 2.2rem 0.4rem 0.9rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: var(--font-sans);
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 11px;
}

.sort-select option {
    background: #ffffff;
    color: var(--text-primary);
}

/* === Listings Grid (Overrides/Additions) === */
.listings-section {
    padding: 0 0 2rem;
}

/* Listings Grid and Cards are now managed in main.css for universal accessibility */
/* Add marketplace-specific grid adjustments here if needed */

/* === Listing Card Marketplace-Specific Styles === */
/* Base styles now in main.css */


.card-seller {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.seller-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.seller-info {
    display: flex;
    flex-direction: column;
}

.seller-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.seller-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.btn-view-store {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-view-store:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.plug-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #0f172a;
    color: #fbbf24;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
}

/* === Custom Scrollbar Hide === */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.listing-card.plug-store {
    border: 1px solid rgba(226, 232, 240, 0.4); /* Softened border to prevent dark lines */
}

.listing-card.plug-store:hover {
    border-color: var(--primary-light);
}

.card-time {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.card-footer-actions {
    padding: 0.9rem 1.1rem;
    border-top: 1px solid #f1f5f9;
    background: #fafaf9;
    border-radius: 0 0 12px 12px;
}

.btn-full {
    width: 100%;
}

/* === Empty State === */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.empty-icon i {
    width: 64px;
    height: 64px;
}

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* === Skeleton Cards === */
.skeleton-card {
    animation: fadeInUp 0.4s ease both;
    background: #ffffff;
    border-color: #e2e8f0;
}

.skeleton-img {
    height: 200px;
    border-radius: 12px 12px 0 0;
}

.skeleton-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skeleton-line {
    height: 12px;
}

.skeleton-line.w-60 {
    width: 60%;
}

.skeleton-line.w-40 {
    width: 40%;
}

.skeleton-line.w-80 {
    width: 80%;
}

/* === Price Range Filter === */
.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.price-range input[type="number"] {
    width: 80px;
    padding: 0.4rem 0.6rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-family: var(--font-sans);
    outline: none;
}

.price-range input:focus {
    border-color: var(--primary);
}

/* === Load More === */
.load-more-section {
    text-align: center;
    padding: 2rem 0;
}

/* === Search Highlight === */
.search-highlight {
    color: var(--primary);
    font-weight: 600;
}

/* === Featured Horizontal Scroll === */
.featured-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

@media (max-width: 768px) {
    .featured-scroll {
        display: flex;
        align-items: stretch; /* Force equal heights */
        gap: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.5rem;
        scroll-snap-type: x mandatory;
    }
    .featured-scroll::-webkit-scrollbar { display: none; }
    .featured-scroll > * {
        flex-shrink: 0;
        width: 65%;
        min-width: 180px;
        height: auto; /* Allow stretching */
        scroll-snap-align: start;
        display: flex;
    }
}
/* === Responsive === */
@media (max-width: 900px) {
    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 2.5rem 0 1.5rem;
    }

    .listings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .listing-card .card-image {
        height: 140px;
        background: #ffffff !important;
        transform: translateZ(0);
        overflow: hidden;
    }

    .stats-bar {
        gap: 1rem;
        padding: 0.6rem 1rem;
    }

    .filters-section {
        gap: 0.6rem;
    }

    .filters-right {
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .listings-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

/* === Lightbox Modal === */
.lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.lightbox-backdrop.flex {
    display: flex !important;
}

.hidden {
    display: none !important;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: #000;
}

.lightbox-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
    background: white;
    color: #0F172A; /* navy-900 */
    transform: scale(1.1);
}

.lightbox-counter {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* === Focus / Deep-Link Highlight === */
.listing-focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.4);
    animation: focusPulse 2.5s ease-out forwards;
    position: relative;
    z-index: 5;
}

@keyframes focusPulse {
    0%   { box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.5); }
    40%  { box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.3); }
    70%  { box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15); }
    100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); border-color: #e2e8f0 !important; }
}

/* ============================================================
   PROMO BANNER CAROUSEL
   ============================================================ */

.banner-carousel-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    box-shadow:
        0 4px 6px -1px rgba(0,0,0,0.12),
        0 24px 64px -12px rgba(0,0,0,0.3);
    transform: translateZ(0); /* Fix for sub-pixel overflow lines */
}

/* â”€â”€ Track â”€â”€ */
.banner-track {
    display: flex;
    width: 100%;
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
    cursor: grab;
}
.banner-track:active { cursor: grabbing; }

/* â”€â”€ Each Slide â”€â”€ */
.banner-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--slide-bg, #020617);
    height: 300px;
    overflow: hidden;
}

/* Dot-grid texture â€” left side only */
.banner-decor-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.09) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 0;
}

/* Bottom-left accent glow */
.banner-slide::before {
    content: '';
    position: absolute;
    bottom: -60px; left: -40px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--slide-accent-soft, rgba(255,255,255,0.05)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative crosses */
.banner-cross {
    position: absolute;
    color: rgba(255,255,255,0.16);
    pointer-events: none;
    z-index: 1;
    width: 13px;
    height: 13px;
}
.banner-cross svg { width: 13px; height: 13px; display: block; }
.banner-cross-tl { top: 1.75rem; left: 10%; }
.banner-cross-br { bottom: 1.75rem; left: 46%; }

/* -- Left Content area -- */
.banner-slide .banner-content {
    position: relative;
    z-index: 2;
    flex: 0 0 50%;
    padding: 2.25rem 1.25rem 2.25rem 2.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 0.7rem !important;
}

.banner-slide .banner-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.28rem 0.85rem !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 9999px !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.7) !important;
    line-height: 1 !important;
    width: fit-content !important;
}

.banner-slide .banner-heading {
    font-family: var(--font-display, 'Space Grotesk', sans-serif) !important;
    font-size: clamp(1.9rem, 4.2vw, 3.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.0 !important;
    letter-spacing: -0.04em !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.banner-slide .banner-heading-alt {
    display: block !important;
    color: transparent !important;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.45) !important;
    letter-spacing: 0.05em !important;
}

.banner-slide .banner-sub {
    font-size: 0.79rem !important;
    color: rgba(255,255,255,0.5) !important;
    line-height: 1.7 !important;
    max-width: 270px !important;
    font-weight: 500 !important;
}

.banner-slide .banner-cta {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    max-width: fit-content !important;
    gap: 0.5rem !important;
    margin-top: 0.2rem !important;
    padding: 0.55rem 1.1rem !important;
    background: #ffffff !important;
    color: #020617 !important;
    border: none !important;
    border-radius: 3px !important;
    font-family: var(--font-display, 'Space Grotesk', sans-serif) !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 0 28px rgba(255,255,255,0.1) !important;
}
.banner-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,255,255,0.2);
}
.banner-cta:active { transform: scale(0.96); }

/* â”€â”€ Right: Full-bleed image panel â”€â”€ */
.banner-visual {
    position: absolute;
    top: 0; right: 0;
    width: 58%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Accent glow orb behind product */
.banner-glow {
    position: absolute;
    top: 50%; left: 40%;
    transform: translate(-50%, -50%);
    width: 90%; height: 90%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--glow-color, rgba(255,255,255,0.1)) 0%,
        transparent 65%
    );
    filter: blur(28px);
    z-index: 0;
    pointer-events: none;
}

/* Left-to-right gradient â€” blends image into dark bg */
.banner-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--slide-bg, #020617) 0%,
        transparent 42%
    );
    z-index: 2;
    pointer-events: none;
}

/* Bottom fade */
.banner-visual::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30%;
    background: linear-gradient(to top, var(--slide-bg, #020617) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}

.banner-product-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    pointer-events: none;
    transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Transparent PNG variant â€” show full product */
.banner-product-img.contain {
    object-fit: contain;
    padding: 1.25rem 0.5rem 1.25rem 0;
}
.banner-carousel-wrapper:hover .banner-product-img {
    transform: scale(1.07);
}

/* â”€â”€ Dot indicators â”€â”€ */
.banner-dots {
    position: absolute;
    bottom: 1rem;
    left: 2.75rem;
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}
.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
}
.banner-dot.active {
    width: 24px;
    background: #ffffff;
}
.banner-dot:hover:not(.active) {
    background: rgba(255,255,255,0.55);
}

/* â”€â”€ Prev / Next arrows â”€â”€ */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
}
.banner-carousel-wrapper:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}
.banner-arrow-prev { left: 0.75rem; }
.banner-arrow-next { right: 0.75rem; }

/* -- Mobile: same row layout, compact height -- */
@media (max-width: 640px) {
    .banner-carousel-wrapper .banner-slide { height: 180px !important; }
    .banner-slide .banner-content { 
        padding: 1rem 0.5rem 1rem 1.25rem !important; 
        gap: 0.35rem !important;
        flex: 0 0 46% !important;
        max-width: 46% !important;
    }
    .banner-slide .banner-heading { font-size: 1.15rem !important; }
    .banner-slide .banner-sub { display: none !important; }
    .banner-slide .banner-eyebrow { font-size: 0.5rem !important; padding: 0.15rem 0.5rem !important; letter-spacing: 0.1em !important; }
    .banner-slide .banner-cta { 
        padding: 0.45rem 0.8rem !important; 
        font-size: 0.6rem !important; 
        margin-top: 0 !important;
        gap: 0.3rem !important;
    }
    .banner-slide .banner-visual { width: 54% !important; }
    .banner-slide .banner-dots { left: 1.25rem !important; bottom: 0.5rem !important; }
    .banner-slide .banner-arrow { display: none !important; }
}

@media (min-width: 641px) and (max-width: 900px) {
    .banner-slide { height: 250px; }
    .banner-visual { width: 56%; }
    .banner-content { padding: 1.75rem 1rem 1.75rem 2rem; }
}

/* --- Listing Box Cleanup --- */
.card-image {
    background: #ffffff !important;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Fix for Safari border-radius bleed */
}

