/* Mobile Product Card Design */
@media (max-width: 768px) {
    .top-selling-section .container {
        padding: 0 10px !important;
    }

    .top-selling-section .row {
        margin: 0 -5px !important;
    }

    .top-selling-section .row > [class*='col-'] {
        padding: 0 5px !important;
        margin-bottom: 10px !important;
    }

    .top-selling-section .product-card2.product-card-mobile {
        background: #fff !important;
        border: 2px solid #ddd !important;
        border-radius: 15px !important;
        padding: 15px 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .top-selling-section .product-card2.product-card-mobile:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        transform: translateY(-2px) !important;
    }

    .top-selling-section .product-card-mobile .product-card-img {
        position: relative !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 120px !important;
        background: #f8f9fa !important;
        border-radius: 8px !important;
        padding: 10px !important;
    }

    .top-selling-section .product-card-mobile .product-card-img a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
    }

    .top-selling-section .product-card-mobile .product-card-img img {
        width: 100% !important;
        height: auto !important;
        max-height: 120px !important;
        object-fit: contain !important;
        border-radius: 8px !important;
    }

    .top-selling-section .product-card-mobile .batch {
        position: absolute !important;
        top: 5px !important;
        right: 5px !important;
        z-index: 2 !important;
    }

    .top-selling-section .product-card-mobile .batch span {
        background: #ff6b6b !important;
        color: #fff !important;
        padding: 3px 8px !important;
        border-radius: 5px !important;
        font-size: 10px !important;
        font-weight: bold !important;
    }

    .top-selling-section .product-card-mobile .cart-btn-area,
    .top-selling-section .product-card-mobile .view-and-favorite-area {
        display: none !important;
    }

    .top-selling-section .product-card-mobile .product-card-content {
        text-align: center !important;
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    .top-selling-section .product-card-mobile .product-card-content h6 {
        font-size: 13px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        min-height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .top-selling-section .product-card-mobile .product-card-content h6 a {
        color: #333 !important;
        text-decoration: none !important;
        font-weight: 600 !important;
    }

    .top-selling-section .product-card-mobile .product-card-content span {
        font-size: 14px !important;
        font-weight: bold !important;
        color: #2c5f8d !important;
        display: block !important;
    }

    .top-selling-section .product-card-mobile .product-card-content span del {
        font-size: 11px !important;
        color: #999 !important;
        margin-left: 5px !important;
        font-weight: normal !important;
    }

    /* Section title adjustments for mobile */
    .top-selling-section .section-title3 {
        margin-bottom: 20px !important;
    }

    .top-selling-section .section-title3 h3 {
        font-size: 18px !important;
    }

    .top-selling-section .view-all {
        font-size: 12px !important;
    }
}

/* Tablet view - 2 cards per row */
@media (min-width: 576px) and (max-width: 768px) {
    .top-selling-section .col-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .top-selling-section .product-card-mobile .product-card-img {
        min-height: 150px !important;
    }

    .top-selling-section .product-card-mobile .product-card-img img {
        max-height: 150px !important;
    }

    .top-selling-section .product-card-mobile .product-card-content h6 {
        font-size: 14px !important;
    }
}

/* Desktop view - keep original design */
@media (min-width: 769px) {
    .top-selling-section .product-card2.product-card-mobile {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .top-selling-section .product-card2.product-card-mobile:hover {
        box-shadow: none !important;
        transform: none !important;
    }

    .top-selling-section .product-card-mobile .cart-btn-area,
    .top-selling-section .product-card-mobile .view-and-favorite-area {
        display: block !important;
    }

    .top-selling-section .product-card-mobile .product-card-content {
        text-align: left !important;
    }

    .top-selling-section .product-card-mobile .product-card-content h6 {
        min-height: auto !important;
        justify-content: flex-start !important;
    }
}
