/*
Theme Name: Clairava
Theme URI: https://clairava.fr
Author: Clairava
Description: Thème personnalisé Clairava
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a1a;
    --accent: #8B4513;
    --accent-dark: #5D2E0A;
    --success: #28a745;
    --danger: #dc3545;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --gray-medium: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.urgency-bar {
    background: linear-gradient(90deg, var(--danger), #ff6b6b);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: 700;
}

.trust-bar {
    background: var(--success);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-badges {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-weight: 600;
}

header.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--gray-medium);
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--accent);
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.single_add_to_cart_button,
button.button.alt {
    background: linear-gradient(135deg, var(--danger), #ff4757) !important;
    color: white !important;
    padding: 20px 40px !important;
    border: none !important;
    border-radius: 15px !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    width: 100%;
    transition: all 0.3s;
}

.single_add_to_cart_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220,53,69,0.3);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--accent) !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
}

footer.site-footer {
    background: linear-gradient(135deg, var(--primary), #333333);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-section a,
.footer-section p {
    color: #bdc3c7;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
}

.footer-section a:hover {
    color: white;
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* CHECKOUT PAGE */
.woocommerce-checkout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.woocommerce-checkout h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.woocommerce-checkout .form-row {
    margin-bottom: 1rem;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.woocommerce-checkout label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

#payment {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

#place_order {
    background: linear-gradient(135deg, var(--danger), #ff4757) !important;
    color: white !important;
    padding: 20px 40px !important;
    border: none !important;
    border-radius: 15px !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    width: 100%;
    cursor: pointer;
    margin-top: 1rem;
}

#place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,53,69,0.3);
}
