/* Mobile Button Text Fix - Responsive Improvements */

/* Fix for "Sepete Ekle" button text on mobile */
@media (max-width: 576px) {

    /* Force single column layout on mobile */
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .btn-add-to-cart {
        font-size: 0.85rem;
        padding: 10px 8px;
        white-space: nowrap;
    }

    /* Ensure button text doesn't overflow */
    .btn-add-to-cart span {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Product card adjustments for mobile */
    .product-card {
        padding: 10px;
        max-width: 100%;
    }

    .product-name {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-price {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
}

/* Small mobile devices */
@media (max-width: 375px) {
    .btn-add-to-cart {
        font-size: 0.8rem;
        padding: 8px 6px;
    }

    .product-name {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 1.3rem;
    }
}