/* ============================================
   Home Page Styles
   ============================================ */

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
    background: var(--gradient-hero);
    padding: 120px 20px 60px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(1,55,104,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(2,82,156,0.08) 0%, transparent 50%);
}

/* Particles */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
    position: absolute; display: block; width: 6px; height: 6px;
    background: rgba(1,55,104,0.3); border-radius: 50%;
    animation: floatParticle 15s linear infinite;
}
.hero-particles span:nth-child(1) { left: 10%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 25%; width: 8px; height: 8px; animation-duration: 18s; animation-delay: 2s; background: rgba(2,82,156,0.2); }
.hero-particles span:nth-child(3) { left: 40%; width: 5px; height: 5px; animation-duration: 22s; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 55%; width: 7px; height: 7px; animation-duration: 16s; animation-delay: 1s; background: rgba(2,82,156,0.25); }
.hero-particles span:nth-child(5) { left: 70%; width: 4px; height: 4px; animation-duration: 25s; animation-delay: 3s; }
.hero-particles span:nth-child(6) { left: 85%; width: 6px; height: 6px; animation-duration: 19s; animation-delay: 5s; background: rgba(1,55,104,0.2); }
.hero-particles span:nth-child(7) { left: 15%; width: 3px; height: 3px; animation-duration: 21s; animation-delay: 7s; }
.hero-particles span:nth-child(8) { left: 50%; width: 5px; height: 5px; animation-duration: 17s; animation-delay: 2s; background: rgba(2,82,156,0.15); }
.hero-particles span:nth-child(9) { left: 65%; width: 8px; height: 8px; animation-duration: 23s; animation-delay: 6s; }
.hero-particles span:nth-child(10) { left: 90%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 4s; }

@keyframes floatParticle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}


/* ── Hero Logo ── */
.hero-logo-wrapper {
      margin: 0 auto 20px;
      display: block;
      animation: heroLogoFloat 3s ease-in-out infinite;
  }
.hero-logo-img {
    width: 120px; height: 120px;
    border-radius: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(1,55,104,0.4));
    transition: transform 0.3s ease;
}
.hero-logo-img:hover { transform: scale(1.08) rotate(2deg); }
@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; display: flex; flex-direction: column; align-items: center; }
.hero-badge {
    display: inline-block; padding: 8px 20px; border-radius: 30px;
    background: rgba(1,55,104,0.1); border: 1px solid rgba(1,55,104,0.3);
    color: var(--primary-light); font-size: 0.85rem; font-weight: 500;
    margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.hero-subtitle {
    font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 20px;
    min-height: 30px; font-weight: 400;
}
.hero-desc { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 0.9rem; }
.trust-item span { font-size: 1.1rem; }

.hero-scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    text-align: center; color: var(--text-muted); font-size: 0.8rem;
}
.scroll-arrow { animation: scrollBounce 2s infinite; margin-top: 4px; font-size: 1.2rem; }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ── Brands Marquee ── */
.brands-section {
    padding: 30px 0; background: var(--bg-surface);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}
.brands-marquee { overflow: hidden; position: relative; }
.brands-marquee::before, .brands-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.brands-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-surface), transparent); }
.brands-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-surface), transparent); }
.brands-track {
    display: flex; gap: 60px; animation: marquee 30s linear infinite;
    width: max-content;
}
.brand-item {
    font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
    color: var(--text-muted); white-space: nowrap; letter-spacing: 3px;
    transition: color var(--transition); cursor: default;
}
.brand-item:hover { color: var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Featured Products Grid ── */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: var(--gradient-card); border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(1,55,104,0.15);
    border-color: rgba(1,55,104,0.3);
}
.product-card-img {
    aspect-ratio: 1 / 1; width: 100%; height: auto; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #ffffff;
}
.product-card-img img {
    width: 100%; height: 100%; object-fit: contain; padding: 10px;
}
.product-card-img .product-img-placeholder { height: 100%; }
.product-card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 10; }
.product-card-badges .badge { padding: 4px 10px; font-size: 0.68rem; border-radius: 4px; font-weight: 700; letter-spacing: 0.5px; border: none; }
.product-card-badges .badge-success { background: #013768 !important; color: #ffffff !important; box-shadow: 0 2px 8px rgba(1, 55, 104, 0.4); }
.product-card-badges .badge-accent { background: #02529C !important; color: #ffffff !important; box-shadow: 0 2px 8px rgba(2, 82, 156, 0.4); }
.product-card-body { padding: 14px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-card-brand { font-size: 0.72rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.product-card-body h3 { font-size: 0.95rem; margin-bottom: 6px; font-weight: 600; }
.product-card-body .star-rating { margin-bottom: 8px; font-size: 0.75rem; }
.product-card-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.product-card-features { margin-bottom: 16px; }
.product-card-features li { font-size: 0.85rem; color: var(--text-secondary); padding: 2px 0; }
.product-card-features li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.product-card-actions { display: flex; gap: 6px; margin-top: auto; }
.product-card-actions .btn { flex: 1; font-size: 0.75rem; padding: 8px; }

/* ── Service Highlight Cards ── */
.service-highlight-card {
    text-align: center;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    width: 100%;
}
.service-icon img {
    display: block;
    margin: 0 auto;
    object-fit: contain;
}
.service-highlight-card h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
    color: #013768;
    font-weight: 700;
    font-family: var(--font-heading);
}
.service-highlight-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #334155;
    text-align: center;
}
.service-link {
    color: #013768;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: gap var(--transition);
}
.service-link:hover { gap: 8px; color: #02529C; }

/* ── Why Choose Us ── */
.why-choose-section { background: var(--bg-surface); }
.why-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.why-card:hover { border-color: rgba(1,55,104,0.3); transform: translateY(-5px); }
.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    width: 100%;
}
.why-icon img {
    display: block;
    margin: 0 auto;
    object-fit: contain;
}
.why-card h3, .why-card h4 {
    margin-bottom: 10px;
    color: #013768;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}
.why-card p {
    font-size: 0.9rem;
    color: #334155;
    text-align: center;
}

/* ── Stats Counter ── */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(1,55,104,0.08), rgba(2,82,156,0.08));
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number {
    font-family: var(--font-heading); font-size: 3rem; font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-number::after { content: '+'; }
.stat-label { color: var(--text-secondary); font-size: 1rem; margin-top: 8px; font-weight: 500; }

/* ── Testimonials ── */
.testimonial-slider { position: relative; overflow: hidden; max-width: 700px; margin: 0 auto; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
    min-width: 100%; padding: 40px; text-align: center;
    background: var(--bg-glass); border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}
.testimonial-card .star-rating { justify-content: center; margin-bottom: 20px; font-size: 1.1rem; }
.testimonial-card .testimonial-text { font-size: 1.1rem; font-style: italic; color: var(--text-primary); margin-bottom: 20px; line-height: 1.8; }
.testimonial-card .testimonial-author { color: var(--primary); font-weight: 600; font-size: 1rem; }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testimonial-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--text-muted); cursor: pointer;
    transition: all var(--transition); border: none;
}
.testimonial-dot.active { background: var(--primary); transform: scale(1.3); }

/* ── CTA Banner ── */
.cta-banner {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: #fff; margin-bottom: 12px; font-size: 2rem; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

/* ── CTA Banner Buttons High-Contrast ── */
.cta-banner .btn-primary {
    background: #0D9488 !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4) !important;
}
.cta-banner .btn-primary:hover {
    background: #0B7A70 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}
.cta-banner .btn-secondary {
    background: #FFFFFF !important;
    color: #013768 !important;
    border: 2px solid #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}
.cta-banner .btn-secondary:hover {
    background: #F1F5F9 !important;
    color: #013768 !important;
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .home-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-title { font-size: 2.2rem; }
    .home-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    .product-card-body { padding: 10px; }
    .product-card-body h3 { font-size: 0.85rem; }
    .product-card-brand { font-size: 0.65rem; }
    .product-card-price { font-size: 0.85rem; }
    .product-card-actions { flex-direction: column; gap: 4px; }
    .product-card-actions .btn { width: 100%; font-size: 0.7rem; padding: 6px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 2.2rem; }
    .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
    .hero-scroll-indicator { display: none; }
}
@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-btns .btn { width: 100%; max-width: 280px; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE APP HOME SCREEN STYLE (Flipkart Style)
   ============================================================ */
.mobile-app-home {
    display: none;
    background: #FFFFFF;
    padding-bottom: 80px; /* spacing for bottom nav */
}

@media (max-width: 768px) {
    /* Hide desktop index layout parts */
    .hero { display: none !important; }
    .brands-section { display: none !important; }
    #about-showroom { display: none !important; }
    section[style*="padding:50px 0"] { display: none !important; }
    #featured-products { display: none !important; }
    .stats-section { display: none !important; }
    .testimonials-section { display: none !important; }
    .cta-banner { display: none !important; }
    #main-footer { display: none !important; }

    /* Show mobile home app layout */
    .mobile-app-home {
        display: block;
        padding-top: 92px;
        background: #FFFFFF;
    }
    
    /* Top Blue Header */
    .app-top-header {
        background: #02529C; /* Royal Blue */
        padding: 12px 14px 16px;
        color: #ffffff;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 4px 20px rgba(2,82,156,0.2);
        margin-top: 0px;
    }
    
    /* Service Tabs Row */
    .app-service-tabs {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    .app-tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 23%;
        text-decoration: none;
        color: #ffffff;
    }
    .app-tab-item span {
        font-size: 0.72rem;
        font-weight: 600;
        margin-top: 4px;
        color: rgba(255,255,255,0.9);
    }
    .tab-badge-icon {
        width: 50px;
        height: 38px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    
    /* Location Bar */
    .app-location-row {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.75rem;
        margin-bottom: 12px;
        color: rgba(255,255,255,0.85);
    }
    .loc-text {
        flex-grow: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .coin-badge {
        background: rgba(255,255,255,0.18);
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 12px;
        padding: 2px 8px;
        font-size: 0.7rem;
        font-weight: 700;
        color: #FFDE59; /* coin yellow */
        display: flex;
        align-items: center;
        gap: 2px;
    }
    
    /* Search Row */
    .app-search-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .app-search-box {
        flex-grow: 1;
        background: #ffffff;
        border-radius: 10px;
        height: 42px;
        display: flex;
        align-items: center;
        padding: 0 12px;
        gap: 8px;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    }
    .app-search-box input {
        flex-grow: 1;
        border: none;
        background: transparent;
        font-size: 0.85rem;
        color: #333333;
        outline: none;
    }
    .search-icon { color: #888888; font-size: 0.95rem; }
    .mic-icon {
        font-size: 1.3rem;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Hero Banner Slider */
    .app-banner-slider {
        margin: 12px 14px 4px 14px;
        border-radius: 16px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06);
        height: 155px;
        max-height: 165px;
    }
    .app-banner-track {
        display: flex;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        width: 300%; /* 3 slides */
        height: 100%;
    }
    .app-banner-slide {
        display: flex;
        padding: 14px 16px;
        height: 100%;
        max-height: 165px;
        align-items: center;
        justify-content: space-between;
        color: #ffffff;
        background: #02529C; /* solid royal blue */
        position: relative;
        overflow: hidden;
        width: calc(100% / 3);
        flex-shrink: 0;
        cursor: pointer;
    }
    /* Curved yellow vector edge on the right */
    /* Curved vector edge on the right */
    .slide-vector {
        position: absolute;
        right: -15%;
        top: -20%;
        width: 55%;
        height: 140%;
        background: #FFDE59;
        border-radius: 50% 0 0 50% / 50% 0 0 50%;
        z-index: 1;
    }
    /* Slide 2: Green-tinted variant */
    .app-banner-slide.slide-referral {
        background: #013768;
    }
    .app-banner-slide.slide-referral .slide-vector {
        background: #34D399;
    }
    /* Slide 3: Orange-tinted variant */
    .app-banner-slide.slide-exchange {
        background: #1E3A5F;
    }
    .app-banner-slide.slide-exchange .slide-vector {
        background: #FB923C;
    }
    .slide-left {
        width: 55%;
        display: flex;
        flex-direction: column;
        gap: 6px;
        position: relative;
        z-index: 2;
    }
    .special-offer-badge {
        background: #FFDE59;
        border: 2px solid #EF4444;
        color: #0F172A;
        padding: 4px 10px;
        border-radius: 8px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        box-shadow: 3px 3px 0px #EF4444;
        transform: rotate(-3deg);
        margin-bottom: 6px;
        align-self: flex-start;
    }
    .referral-badge {
        background: #D1FAE5;
        border-color: #10B981;
        box-shadow: 3px 3px 0px #10B981;
    }
    .referral-badge .offer-text {
        color: #10B981 !important;
        text-shadow: 1px 1px 0px #064E3B !important;
    }
    .exchange-badge {
        background: #FFEDD5;
        border-color: #EA580C;
        box-shadow: 3px 3px 0px #EA580C;
    }
    .exchange-badge .offer-text {
        color: #EA580C !important;
        text-shadow: 1px 1px 0px #431407 !important;
    }
    .special-offer-badge .special-text {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        font-weight: 900;
    }
    .special-offer-badge .offer-text {
        font-size: 0.92rem;
        color: #EF4444;
        text-shadow: 1px 1px 0px #0F172A;
        font-weight: 950;
        margin-top: 1px;
    }
    .app-banner-slide h3 {
        font-size: 0.82rem;
        font-weight: 800;
        line-height: 1.35;
        margin: 0;
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }
    .app-banner-slide p {
        font-size: 0.72rem;
        opacity: 0.9;
        margin: 4px 0 0 0;
        position: relative;
        z-index: 2;
        line-height: 1.35;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }
    .app-banner-slide h3 .highlight-price {
        color: #FFDE59;
        font-size: 1.1rem;
        font-weight: 900;
    }
    .slide-referral h3 .highlight-price {
        color: #34D399;
    }
    .slide-exchange h3 .highlight-price {
        color: #FB923C;
    }
    .slide-right {
        width: 35%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }
    .slide-right img {
        max-width: 100%;
        max-height: 110px;
        height: auto;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    }
    .slider-dots {
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 4px;
        z-index: 5;
    }
    .slider-dots .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255,255,255,0.4);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .slider-dots .dot.active {
        width: 18px;
        border-radius: 3px;
        background: #ffffff;
    }
    .slider-tc {
        background: transparent;
        color: var(--text-muted);
        font-size: 0.64rem;
        text-align: center;
        padding: 4px 14px 10px 14px;
        position: static;
        letter-spacing: 0.2px;
        line-height: 1.3;
    }

    /* 2x4 Grid */
    .app-category-grid {
        background: #ffffff;
        margin: 14px 14px;
        border-radius: 16px;
        padding: 14px 10px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 6px;
        border: 1px solid #E2E8F0;
        box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    }
    .app-grid-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        cursor: pointer;
    }
    .app-grid-img {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    }
    .app-grid-img img {
        width: 80%;
        height: 80%;
        object-fit: contain;
    }
    .app-grid-item span {
        font-size: 0.75rem;
        font-weight: 600;
        color: #334155;
        margin-top: 6px;
        line-height: 1.15;
        text-align: center;
        max-width: 100%;
    }

    /* Product Shelf Section */
    .app-shelf-section {
        background: #ffffff;
        margin: 14px 14px;
        border-radius: 16px;
        padding: 14px;
        border: 1px solid #E2E8F0;
        box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    }
    .app-shelf-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: #0F172A;
        margin-bottom: 12px;
    }
    .app-shelf-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        min-height: 154px;
    }
    .app-shelf-scroll::-webkit-scrollbar {
        display: none;
    }
    .app-shelf-card {
        flex: 0 0 100px;
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }
    .app-shelf-card-img {
        width: 100px;
        height: 100px;
        border-radius: 12px;
        background: #F8FAFC;
        border: 1px solid #F1F5F9;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-bottom: 6px;
    }
    .app-shelf-card-img img {
        width: 85%;
        height: 85%;
        object-fit: contain;
    }
    .app-shelf-card-name {
        font-size: 0.72rem;
        color: #334155;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.35;
        height: 32px;
        margin-bottom: 4px;
    }
    .app-shelf-card-price {
        font-size: 0.8rem;
        color: #02529C;
        font-weight: 700;
    }
}