/* Styles généraux */
body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
}

.rtl {
    direction: rtl;
    text-align: right;
}

/* Styles de la navbar */
.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    max-height: 50px;
}

/* Styles des cartes produits */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.product-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

/* Badge du panier */
.badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Boutons */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

/* Formulaires */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #80bdff !important;
    text-decoration: none;
}

/* Styles pour la page détail produit */
.product-detail-img {
    max-height: 400px;
    object-fit: contain;
}

.price-notice {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Styles pour le panier */
.cart-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-img {
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
}

.quantity-input {
    width: 60px;
    text-align: center;
}

/* Styles pour la page de paiement */
.payment-option {
    border: 1px solid #dee2e6;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover, .payment-option.selected {
    border-color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.payment-option.selected {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Styles pour les alertes */
.alert {
    border-radius: 0.25rem;
    padding: 1rem;
}

/* Styles pour les pages admin */
.admin-sidebar {
    background-color: #343a40;
    color: white;
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin: 0.25rem 0
}