/* Hero Cart */
.hero-cart {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: white;
    margin-bottom: 40px; /* réduit l'espace blanc après le cart */
}

.hero-cart-table th,
.hero-cart-table td {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    color: white;
}

.hero-cart-table th {
    font-weight: 800;
    text-transform: uppercase;
    color: #ccc;
}

.hero-cart-table .product-name a {
    color: white;
    font-weight: 700;
    text-decoration: none; /* supprime le soulignement */
}
.hero-cart-table .product-name a:hover {
    color: var(--accent-color, #e74c3c);
}

/* Thumbnail */
.hero-cart-table .product-thumbnail img {
    width: 80px;
    height: auto;
    border-radius: 6px;
}

/* Boutons */
.hero-btn {
    background: var(--accent-color, #e74c3c);
    color: white;
    padding: 12px 25px;
    font-weight: 800;
    border-radius: 6px;
    border: 2px solid var(--accent-color, #e74c3c);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-right: 10px; /* espace entre les boutons */
}
.hero-btn:hover {
    background: white;
    color: var(--accent-color, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Remove button */
.hero-remove {
    color: #ccc;
    font-size: 1.4rem;
    text-decoration: none; /* supprime le soulignement */
}
.hero-remove:hover {
    color: var(--accent-color, #e74c3c);
}

/* Backorder */
.hero-backorder {
    color: #f1c40f;
    font-weight: 700;
}

/* Cart collaterals */
.hero-cart-collaterals {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-cart-collaterals .cart_totals {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    color: white;
}

/* Coupon input */
.hero-coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.hero-coupon input.input-text {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #444;
    background: #222;
    color: white;
    flex: 1;
}

.hero-coupon input.input-text::placeholder {
    color: #888;
}

/* Supprimer liens bleus par défaut WooCommerce */
/* a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--accent-color, #e74c3c);
} */

/* Responsive */
@media(max-width:768px){
    .hero-cart {
        padding: 20px;
    }
    .hero-cart-collaterals {
        flex-direction: column;
        align-items: center;
    }
    .hero-coupon {
        flex-direction: column;
        width: 100%;
    }
    .hero-coupon input.input-text,
    .hero-coupon .hero-btn {
        width: 100%;
        margin-right: 0;
    }
}

html, body {
    height: 100%;
    background-color: var(--background-dark);
    font-family: 'Inter', sans-serif; /* Utilisation de la police recommandée */
}
#page, #main { 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.site-main {
    flex-grow: 1; 
}

/* Bouton Valider la commande - style call-to-action */
.hero-cart .checkout-button {
    display: inline-block;
    background: var(--accent-color, #e74c3c) !important; /* orange vif */
    color: white !important;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 18px 45px;
    border-radius: 12px;
    border: 2px solid var(--accent-color, #e74c3c);
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(231,76,60,0.5);
    margin-top: 20px;
    text-decoration: none; /* enlever soulignement si <a> */
}

/* Valider la commande */
.checkout-button {
    display: inline-block;
    background: var(--accent-color, #e74c3c);
    color: white !important;
    font-weight: 900;
    font-size: 1.25rem;
    padding: 18px 45px;
    border-radius: 12px;
    border: 2px solid var(--accent-color, #e74c3c);
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(231,76,60,0.5);
    margin-top: 20px;
}

/* Hover: lift + glow */
.checkout-button:hover {
    background: white !important;
    color: var(--accent-color, #e74c3c) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(231,76,60,0.6), 0 0 10px rgba(231,76,60,0.9);
}



