/* ═══════════════════════════════════════════════════════════════════════════
   SHOWCASE CAROUSEL V3 PREMIUM - Dark Mode Cards
   TradeFlow Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* === SECTION CONTAINER === */
.showcase-section {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

.showcase-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 8px;
}

.showcase-section-header .title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.showcase-section-header .title i {
    color: #D97706;
    font-size: 0.9rem;
}

.showcase-section-header .see-all {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.showcase-section-header .see-all:hover {
    color: #D97706;
}

/* === CAROUSEL CONTAINER === */
.showcase-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 16px 20px 24px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    user-select: none;
}

/* Hide scrollbar */
.showcase-carousel::-webkit-scrollbar {
    display: none;
}

.showcase-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* === V3 PREMIUM CARD (Dark Mode) === */
.showcase-card-v3-premium {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* Hover Effects */
.showcase-card-v3-premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(217, 119, 6, 0.35), 0 0 60px rgba(217, 119, 6, 0.15) !important;
}

.showcase-card-v3-premium:hover .card-bg-layer {
    transform: scale(1.05);
}

.showcase-card-v3-premium:hover .product-title-v3 {
    color: #D97706 !important;
}

.showcase-card-v3-premium:hover .cta-btn-v3 {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.5);
}

/* Featured card pulse animation */
.showcase-card-v3-premium.featured {
    animation: featured-glow 3s ease-in-out infinite;
}

@keyframes featured-glow {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25), 0 0 40px rgba(217, 119, 6, 0.1);
    }

    50% {
        box-shadow: 0 12px 32px rgba(217, 119, 6, 0.4), 0 0 60px rgba(217, 119, 6, 0.2);
    }
}

/* Pulse badge animation */
@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* === ADD NEW CARD (V3 Style) === */
.showcase-add-card {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.showcase-add-card:hover {
    transform: translateY(-4px);
    border-color: #D97706 !important;
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
}

.showcase-add-card:hover .icon {
    transform: scale(1.1);
    border-color: #D97706;
}

/* === EMPTY STATE === */
.showcase-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 384px;
    width: 100%;
    color: #94a3b8;
    gap: 12px;
}

.showcase-empty i {
    font-size: 1.5rem;
}

.showcase-empty p {
    font-size: 0.85rem;
    font-weight: 500;
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
    .showcase-carousel {
        gap: 24px;
    }

    .showcase-card-v3-premium {
        min-width: 288px !important;
        width: 288px !important;
    }

    .showcase-add-card {
        min-width: 288px !important;
        width: 288px !important;
    }
}

@media (min-width: 1024px) {
    .showcase-section {
        padding: 0 20px;
        background: transparent;
        border-bottom: none;
    }

    .showcase-section-header {
        padding: 24px 0 12px;
    }

    .showcase-section-header .title {
        font-size: 1.15rem;
    }

    .showcase-carousel {
        padding: 16px 0 32px;
        gap: 24px;
    }

    .showcase-card-v3-premium {
        min-width: 280px !important;
        width: 280px !important;
        height: 400px !important;
    }

    .showcase-add-card {
        min-width: 280px !important;
        width: 280px !important;
        height: 400px !important;
    }
}

/* === SECTION DIVIDER: Normal Listings Header === */
.listings-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 12px;
    margin-top: 4px;
}

.listings-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.listings-section-title i {
    color: #64748b;
    font-size: 0.85rem;
}

.listings-section-count {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
}

.listings-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
}

@media (min-width: 1024px) {
    .listings-section-header {
        padding: 24px 0 12px;
    }
}

/* === PRICE EMPHASIS (Showcase V3 Premium) === */
.showcase-card-v3-premium .price-v3 {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: #D97706 !important;
    text-shadow: 0 2px 12px rgba(217, 119, 6, 0.4) !important;
    letter-spacing: -0.02em;
}

.showcase-card-v3-premium:hover .price-v3 {
    text-shadow: 0 4px 16px rgba(217, 119, 6, 0.6) !important;
}

/* === LEGACY SUPPORT (Hidden - V2 styles) === */
.showcase-story-card {
    display: none !important;
}