/* ============================================
   টপ সেলিং হিরো সেকশন - প্রাইমারী থিম
   ============================================ */
.top-selling-hero {
    background: linear-gradient(135deg, var(--primary, #017e3d), var(--primary-dark, #00632f));
    padding: 40px 20px;
    border-radius: 16px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ব্যাকগ্রাউন্ড ডেকোরেশন */
.top-selling-hero::before {
    content: '👑';
    position: absolute;
    top: -30px;
    right: -10px;
    font-size: 150px;
    opacity: 0.08;
    transform: rotate(20deg);
}

.top-selling-hero::after {
    content: '⭐';
    position: absolute;
    bottom: -40px;
    left: -20px;
    font-size: 120px;
    opacity: 0.06;
    transform: rotate(-15deg);
}

.top-selling-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* আইকন */
.top-selling-hero-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: inline-block;
    animation: crown-bounce 2.5s ease-in-out infinite;
}

@keyframes crown-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* টাইটেল */
.top-selling-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.top-selling-hero-title span {
    color: #ffd700;
    position: relative;
}

.top-selling-hero-title span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
}

/* সাবটাইটেল */
.top-selling-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* ============================================
   স্ট্যাটস
   ============================================ */
.top-selling-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.top-selling-stats .stat-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-selling-stats .stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.top-selling-stats .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.top-selling-stats .stat-label {
    font-size: 12px;
    opacity: 0.8;
}

/* ============================================
   টপ সেলিং কার্ড
   ============================================ */
.top-selling-card {
    border: 2px solid #ffd700;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-selling-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.25);
}

/* টপ সেলিং ব্যাজ */
.top-selling-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ffd700;
    color: #1f2937;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 3;
    animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* র‍্যাঙ্ক ব্যাজ (১ম, ২য়, ৩য়) */
.top-selling-rank {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
    border: 1px solid #ffd700;
}

.top-selling-rank.rank-1 {
    background: linear-gradient(135deg, #ffd700, #f59e0b);
    color: #1f2937;
    border-color: #f59e0b;
}

.top-selling-rank.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #9ca3af);
    color: #1f2937;
    border-color: #9ca3af;
}

.top-selling-rank.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #b45309);
    color: white;
    border-color: #b45309;
}

/* টপ সেলিং প্রাইস */
.top-selling-price {
    color: #ffd700;
    font-size: 20px;
}

/* টপ সেলিং কার্ট বাটন */
.top-selling-cart-btn {
    background: #ffd700 !important;
    color: #1f2937 !important;
    border: none !important;
}

.top-selling-cart-btn:hover {
    background: #f59e0b !important;
    transform: translateY(-2px);
}

/* ============================================
   বিক্রির পরিসংখ্যান
   ============================================ */
.sales-stats {
    text-align: center;
    margin-bottom: 8px;
}

.sales-count {
    font-size: 12px;
    color: var(--gray-500, #6b7280);
    background: var(--gray-100, #f3f4f6);
    padding: 2px 12px;
    border-radius: 20px;
    display: inline-block;
}

.sales-count i {
    color: #ffd700;
    margin-right: 4px;
}

/* ============================================
   রেসপন্সিভ
   ============================================ */
@media (max-width: 768px) {
    .top-selling-hero {
        padding: 30px 16px;
    }

    .top-selling-hero-title {
        font-size: 28px;
    }

    .top-selling-hero-subtitle {
        font-size: 14px;
    }

    .top-selling-hero-icon {
        font-size: 32px;
    }

    .top-selling-stats {
        gap: 15px;
        flex-wrap: wrap;
    }

    .top-selling-stats .stat-box {
        padding: 10px 18px;
        min-width: 80px;
    }

    .top-selling-stats .stat-number {
        font-size: 22px;
    }

    .top-selling-price {
        font-size: 16px;
    }

    .top-selling-rank {
        font-size: 11px;
        padding: 2px 8px;
    }
}

@media (max-width: 480px) {
    .top-selling-hero-title {
        font-size: 22px;
    }

    .top-selling-stats .stat-box {
        padding: 8px 14px;
        min-width: 70px;
    }

    .top-selling-stats .stat-number {
        font-size: 18px;
    }

    .top-selling-stats .stat-label {
        font-size: 10px;
    }
}
