/* Kategori Sekmesi Genel Stil */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1 1 auto;
    text-align: center;
}

.tab-button i {
    font-size: 1.2rem;
}

/* Sekme Renkleri */
.tab-button.products {
    background-color: #ff9800; /* Turuncu */
}
.tab-button.description {
    background-color: #8bc34a; /* Yeşil */
}
.tab-button.terms {
    background-color: #03a9f4; /* Mavi */
}

.tab-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.tab-button.active {
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

/* Sekme İçerik Alanı */
.tab-content {
    display: none;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ürün Tablosu Stil */
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.product-table th, .product-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 0.9rem;
}

.product-table th {
    background-color: #f1f1f1;
}

.product-name {
    font-weight: bold;
    color: #333;
}

.product-price {
    color: #4caf50;
    font-weight: bold;
}

.product-bonus {
    color: #e91e63;
    font-weight: bold;
}

.buy-button {
    background-color: #ffcc00;
    border: none;
    padding: 8px 15px;
    font-weight: bold;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    width: 100%;
}

.buy-button:hover {
    background-color: #ffa000;
    color: white;
}

.out-of-stock {
    color: #e53935;
    font-weight: bold;
}

/* Mobil Uyumluluk İçin Medya Sorguları */
@media (max-width: 1024px) {
    /* Sekme Butonları */
    .tab-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .tab-button {
        padding: 12px 16px;
        font-size: 1rem;
    }

    /* Sekme İçerik Alanı */
    .tab-content {
        padding: 15px;
    }

    /* Ürün Tablosu */
    .product-table th, .product-table td {
        padding: 10px;
        font-size: 0.85rem;
    }

    /* Satın Alma Butonu */
    .buy-button {
        padding: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .tab-button {
        font-size: 0.9rem;
    }
    .product-table th, .product-table td {
        font-size: 0.8rem;
    }
    .buy-button {
        font-size: 0.9rem;
    }
}
/* Fiyat filtresi stil */
    .price-filter {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 20px;
        gap: 8px;
        font-size: 1rem;
        font-weight: bold;
        color: #333;
    }

    .price-filter label {
        font-weight: bold;
    }

    .price-filter select {
        padding: 8px 10px;
        font-size: 0.9rem;
        border: 2px solid #ddd;
        border-radius: 5px;
        outline: none;
        transition: border-color 0.3s;
        background-color: #f8f9fa;
    }

    .price-filter select:hover,
    .price-filter select:focus {
        border-color: #FC2203;
    }

    /* Ürün listeleme kartı */
    .product-list-item {
        background-color: #fff;
    }
    
    /* Ürün resmi */
    .product-image-container {
        width: 100px;
        height: 100px;
        overflow: hidden;
        border-radius: 8px;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Ürün ismi ve açıklama */
    .product-name {
        font-weight: bold;
        font-size: 1.1rem;
    }

    .product-description {
        color: #555;
        font-size: 0.9rem;
    }

    /* Fiyat stili */
    .product-price {
        font-weight: bold;
        color: #28a745;
        font-size: 1.1rem;
    }

    /* Adet butonları */
    .quantity-control .quantity-btn {
        width: 30px;
        height: 30px;
    }

    .quantity-control input {
        text-align: center;
        width: 50px;
    }
@media (max-width: 1024px) {
    .product-list-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .product-image-container {
        width: 100%;
        max-width: 120px; /* Küçük boyut için ayarlandı */
        height: 120px; /* Kare görünüm için yükseklik eklendi */
        margin: 0 auto 8px;
        border-radius: 6px;
        overflow: hidden;
        transition: transform 0.2s ease;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-details {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-name {
        font-size: 1rem;
        color: #333;
        font-weight: bold;
        margin: 6px 0;
    }

    .product-description {
        font-size: 0.9rem;
        color: #777;
        margin: 4px 0;
    }

    .product-price {
        font-size: 1.1rem;
        font-weight: bold;
        color: #28a745;
        margin: 8px 0;
    }

    .product-actions {
        display: flex;
        gap: 4px;
        justify-content: center;
        width: 100%;
        margin-top: 6px;
    }

    .product-actions .btn {
        flex: 1;
        padding: 6px 8px;
        border-radius: 12px;
        font-weight: bold;
        font-size: 0.8rem;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .product-actions .btn-primary:hover {
        background-color: #004080;
        color: #fff;
    }

    .product-actions .btn-success:hover {
        background-color: #1c7c37;
        color: #fff;
    }
}