/* ==========================================================================
   Evera Prime â€” Next-Gen Retail Storefront Stylesheet
   Blended Amazon.ae Rich Commerce & Shopify Global Markets Showcase
   Three.js 3D Delivery Simulation HUD & Ultra-Responsive Layouts
   Taste-Skill & Impeccable Compliant (0 Emojis, 0 Static Drop Shadows, No wildcard transitions)
   ========================================================================== */

/* Main Storefront Container */
.evera-prime-storefront {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px 48px;
    box-sizing: border-box;
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Amazon.ae Style Top Navigation Header
   -------------------------------------------------------------------------- */
.amz-top-header {
    background: #0B132B;
    border-bottom: 2px solid rgba(37, 99, 235, 0.25);
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

.amz-brand-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.amz-brand-logo {
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.amz-brand-badge {
    background: #2563EB;
    color: #F59E0B;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.amz-deliver-to-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-size: 11.5px;
    line-height: 1.3;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.amz-deliver-to-pill:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.35);
}

.amz-search-wrapper {
    flex: 1 1 360px;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    background: #070D18;
    border: 1px solid rgba(37, 99, 235, 0.35);
    box-sizing: border-box;
}

.amz-search-dept-select {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.15);
    color: #94A3B8;
    font-size: 12px;
    font-weight: 600;
    padding: 0 10px;
    outline: none;
    cursor: pointer;
}

.amz-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: #FFFFFF;
    font-size: 13.5px;
    outline: none;
    min-width: 0;
}

.amz-search-btn {
    background: #F59E0B;
    border: none;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #070D18;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.amz-search-btn:hover {
    background: #D97706;
}

.amz-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.amz-action-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.amz-action-pill:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
}

.amz-wallet-pill {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10B981;
}

.amz-wallet-pill:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.5);
}

/* --------------------------------------------------------------------------
   Amazon Sub-navigation Ribbon (Departments & Flash Deals)
   -------------------------------------------------------------------------- */
.amz-subnav-ribbon {
    background: #070D18;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.amz-subnav-ribbon::-webkit-scrollbar {
    display: none;
}

.amz-subnav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.amz-subnav-pill:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.amz-subnav-pill.active {
    color: #FFFFFF;
    background: rgba(37, 99, 235, 0.25);
    border-color: #2563EB;
}

.amz-subnav-pill.flash-deal {
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
}

/* --------------------------------------------------------------------------
   Template A: Amazon.ae Hero Multi-Banner Promotion Carousel / Grid (Image 2)
   -------------------------------------------------------------------------- */
.amz-hero-tiles-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin: 20px 0 24px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .amz-hero-tiles-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .amz-hero-tiles-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .amz-hero-tiles-container {
        grid-template-columns: 1fr;
    }
}

.amz-hero-card {
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.amz-hero-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Specific Banner Card Themes matching Reference Image 2 */
.amz-card-11-11 {
    background: #9A3412; /* Rich sunset crimson/orange solid tone */
    color: #FFFFFF;
}

.amz-card-luggage {
    background: #C2410C; /* Warm terracotta/orange */
    color: #FFFFFF;
}

.amz-card-diwali {
    background: #78350F; /* Deep festive amber/burgundy */
    color: #FFFFFF;
}

.amz-card-original {
    background: #0B132B; /* Deep prime video navy */
    color: #FFFFFF;
    border-color: rgba(37, 99, 235, 0.35);
}

.amz-card-appliances {
    background: #B45309; /* Deep appliance warm gold */
    color: #FFFFFF;
}

.amz-card-watches {
    background: #1E293B; /* Sleek luxury slate */
    color: #FFFFFF;
    border-color: rgba(245, 158, 11, 0.3);
}

.amz-card-dates-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    color: #FDE047;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    width: fit-content;
}

.amz-card-title {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 6px;
}

.amz-card-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin: 0 0 10px;
    font-weight: 600;
}

.amz-card-media-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 8px 0;
    min-height: 110px;
}

.amz-card-media-box img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.amz-card-footer-pill {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amz-card-code-tag {
    color: #F59E0B;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Template B: Amazon 4-Item Discovery Category Blocks (Image 2 Bottom)
   -------------------------------------------------------------------------- */
.amz-discovery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .amz-discovery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .amz-discovery-grid {
        grid-template-columns: 1fr;
    }
}

.amz-discovery-card {
    background: #0B132B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    box-sizing: border-box;
}

.amz-discovery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.amz-discovery-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
}

.amz-discovery-link {
    color: #60A5FA;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.amz-discovery-link:hover {
    text-decoration: underline;
}

.amz-discovery-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.amz-sub-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.amz-sub-item:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.35);
}

.amz-sub-item-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 6px;
    background: #070D18;
}

.amz-sub-item-label {
    font-size: 11px;
    color: #E2E8F0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amz-installment-banner {
    background: #0F172A;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --------------------------------------------------------------------------
   Template C: Shopify Global Markets Borderless Selling Showcase (Image 1)
   -------------------------------------------------------------------------- */
.shopify-markets-container {
    background: #070D18;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.shopify-markets-header {
    margin-bottom: 22px;
    max-width: 650px;
}

.shopify-markets-title {
    font-size: 22px;
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.shopify-markets-desc {
    color: #94A3B8;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

.shopify-stage-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 380px;
    position: relative;
}

@media (max-width: 768px) {
    .shopify-stage-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.shopify-country-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

@media (max-width: 768px) {
    .shopify-country-bar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
    }
}

.shopify-country-pill {
    width: 64px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.shopify-country-pill:hover,
.shopify-country-pill.active {
    background: rgba(37, 99, 235, 0.25);
    border-color: #2563EB;
}

.shopify-flag-code {
    font-size: 11px;
    font-weight: 900;
    color: #FFFFFF;
}

.shopify-cur-code {
    font-size: 9.5px;
    color: #60A5FA;
    font-weight: 700;
}

/* Vector Dotted Map Backdrop */
.shopify-world-map-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.35;
    z-index: 1;
}

/* Floating Elements Canvas */
.shopify-interactive-stage {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

@media (max-width: 768px) {
    .shopify-interactive-stage {
        height: auto;
        flex-direction: column;
        gap: 16px;
    }
}

/* Floating Product Card (Image 1 central white card) */
.shopify-floating-product {
    background: #FFFFFF;
    color: #070D18;
    border-radius: 14px;
    padding: 12px;
    width: 210px;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

.shopify-product-photo {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 10px;
    background: #F1F5F9;
}

.shopify-buy-now-btn {
    width: 100%;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.shopify-buy-now-btn:hover {
    background: #2563EB;
}

/* Floating Order Pill (Image 1 "GB Order for £100.00") */
.shopify-floating-order-pill {
    position: absolute;
    top: 50%;
    inset-inline-start: 45%;
    transform: translateY(-50%);
    background: #FFFFFF;
    color: #070D18;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    z-index: 5;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .shopify-floating-order-pill {
        position: static;
        transform: none;
    }
}

.shopify-order-badge {
    background: #0F172A;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Floating Shipping Package Dimensions Card (Image 1 right card) */
.shopify-floating-package-card {
    position: absolute;
    inset-inline-end: 20px;
    top: 25px;
    width: 250px;
    background: #FFFFFF;
    color: #070D18;
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 4;
    font-size: 11.5px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .shopify-floating-package-card {
        position: static;
        width: 100%;
        max-width: 320px;
    }
}

.shopify-pkg-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 2px solid rgba(241, 245, 249, 0.5);
}

.shopify-pkg-title {
    font-weight: 700;
    color: #0F172A;
}

.shopify-pkg-dim {
    font-size: 10px;
    color: #64748B;
}

.shopify-tag-suggested {
    background: #E0F2FE;
    color: #0284C7;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.shopify-label-btn {
    width: 100%;
    margin-top: 10px;
    background: #0F172A;
    color: #FFFFFF;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.shopify-label-btn:hover {
    background: #2563EB;
}

/* --------------------------------------------------------------------------
   Template D: Dedicated Three.js 3D Delivery Simulation Zone
   -------------------------------------------------------------------------- */
.delivery-3d-wrapper {
    background: #0B132B;
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.delivery-3d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.delivery-3d-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
}

.delivery-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
}

.delivery-3d-canvas-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: #070D18;
    border: 1px solid rgba(37, 99, 235, 0.25);
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .delivery-3d-canvas-container {
        height: 280px;
    }
}

.delivery-3d-canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* 3D Telemetry Overlay HUD */
.delivery-3d-hud {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
}

.delivery-hud-chip {
    background: rgba(7, 13, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

/* 3D Camera Controls */
.delivery-cam-controls {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.delivery-cam-btn {
    background: rgba(7, 13, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.delivery-cam-btn.active,
.delivery-cam-btn:hover {
    background: #2563EB;
    border-color: #60A5FA;
}

.delivery-turbo-btn {
    position: absolute;
    bottom: 12px;
    inset-inline-end: 12px;
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid #F59E0B;
    color: #F59E0B;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.delivery-turbo-btn:hover {
    background: #F59E0B;
    color: #070D18;
}

/* Interactive Headlight Switcher */
.delivery-light-btn {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    background: rgba(7, 13, 24, 0.85);
    border: 2px solid #38BDF8;
    color: #38BDF8;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.delivery-light-btn:hover {
    background: #38BDF8;
    color: #070D18;
}

/* Give Water to Driver Button */
.delivery-water-btn {
    background: rgba(14, 165, 233, 0.18);
    border: 2px solid #0EA5E9;
    color: #38BDF8;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.delivery-water-btn:hover {
    background: #0EA5E9;
    color: #FFFFFF;
    transform: scale(1.03);
}

/* Driver Hydration Indicator Pill */
.driver-hydration-badge {
    background: rgba(14, 165, 233, 0.15);
    border: 2px solid rgba(14, 165, 233, 0.35);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #38BDF8;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Dubai Landmark Billboard Pill */
.dubai-landmark-chip {
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid #F59E0B;
    color: #FDE047;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}


/* --------------------------------------------------------------------------
   Captain Profile Card (Pool of 50 UAE Captains)
   -------------------------------------------------------------------------- */
.captain-profile-strip {
    margin-top: 14px;
    background: rgba(7, 13, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.captain-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captain-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1E293B;
    border: 2px solid #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10B981;
    font-weight: 900;
    font-size: 16px;
}

.captain-name {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
}

.captain-sub {
    font-size: 11.5px;
    color: #94A3B8;
}

.captain-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captain-action-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none;
    transition: background-color 0.2s ease;
}

.captain-call-btn {
    background: #10B981;
    color: #FFFFFF;
}

.captain-call-btn:hover {
    background: #059669;
}

.captain-chat-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.captain-chat-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Product Card Layout & Steppers
   -------------------------------------------------------------------------- */
.prime-card {
    background: #0B132B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.prime-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.4);
}

.prime-card-img-box {
    position: relative;
    width: 100%;
    height: 180px;
    background: #070D18;
    overflow: hidden;
    cursor: pointer;
}

.prime-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.prime-card:hover .prime-card-img {
    transform: scale(1.03);
}

.prime-card-badges {
    position: absolute;
    top: 8px;
    inset-inline-start: 8px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.prime-badge-tag {
    background: #2563EB;
    color: #F59E0B;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.discount-badge-tag {
    background: #DC2626;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.prime-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.prime-card-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 6px;
    color: #FFFFFF;
    cursor: pointer;
}

.prime-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0 12px;
}

.prime-card-price {
    font-size: 18px;
    font-weight: 900;
    color: #10B981;
}

.prime-card-orig-price {
    font-size: 12px;
    color: #64748B;
    text-decoration: line-through;
}

.prime-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prime-stepper-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.prime-stepper-btn:hover {
    background: rgba(37, 99, 235, 0.3);
    border-color: #2563EB;
}

.prime-stepper-val {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    min-width: 20px;
    text-align: center;
}

.prime-add-cart-btn {
    flex: 1;
    background: #2563EB;
    border: none;
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.prime-add-cart-btn:hover {
    background: #1D4ED8;
}
