.tyres-section {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.tyres-section h2 {
    color: #dc3545;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tyres-info {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
}

.price-table th {
    background-color: #dc3545;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:hover td {
    background-color: #2a2a2a;
}

.check-icon {
    color: #dc3545;
    margin-right: 10px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.brand-card {
    background-color: #2a2a2a;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.brand-logo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.brand-info {
    padding: 1rem;
    text-align: center;
}

.brand-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.brand-premium {
    color: gold;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.edit-form {
    background-color: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

/* Styles pour la section d'exposition de pneus */
.tyres-showcase {
    padding: 1rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.showcase-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.showcase-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.showcase-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    background-color: #2a2a2a;
    min-height: 80px;
}

/* Styles responsifs */
/* Modifier les styles responsifs existants */
@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr; /* Passer à une seule colonne sur mobile */
        gap: 1rem;
    }
    
    .showcase-image {
        height: 180px;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr); /* Afficher sur deux colonnes */
        gap: 0.75rem; /* Réduire l'espace entre les cartes */
    }
    
    .brand-card {
        /* Réduire la taille des cartes sur mobile */
        font-size: 0.9rem;
    }
    
    .brand-logo {
        height: 100px; /* Réduire la hauteur du logo */
    }
    
    .brand-info {
        padding: 0.75rem; /* Réduire le padding */
    }
    
    .tyres-section {
        padding: 1.5rem 1rem; /* Réduire le padding sur mobile */
    }
    
    .tyres-showcase {
        padding: 0.5rem;
    }

    .text-center .btn-danger.btn-lg {
        width: 100%;
        margin: 1rem 0;
    }

    .products-container {
        padding: 20px 10px;
    }

    .edit-form {
        padding: 1rem;
    }
    
    .edit-section {
        margin-top: 1rem;
    }
    
    .tyres-section h2 {
        font-size: 1.5rem;
    }
    
    .tyres-info {
        font-size: 1rem;
    }
}

/* Ajouter ces styles pour rendre le tableau plus lisible sur mobile */
@media (max-width: 576px) {
    .price-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .price-table th, 
    .price-table td {
        padding: 8px 10px;
    }
}

/* Styles pour la section de mise en valeur Tristar */
.tristar-highlight {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #dc3545;
}

.tristar-highlight h4 {
    color: #f8f9fa;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Ajustements responsifs pour la section Tristar */
@media (max-width: 768px) {
    .tristar-highlight .showcase-grid {
        margin-top: 2rem;
        /* Modification pour afficher les images l'une en dessous de l'autre sur mobile */
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Définir une largeur pour les éléments de la grille Tristar sur mobile */
    .tristar-highlight .showcase-item {
        width: 100%;
    }
    
    /* Ajuster la hauteur des images pour qu'elles soient cohérentes */
    .tristar-highlight .showcase-image {
        height: 150px;
    }
}