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

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f4f7fb;
    color:#1f2937;
}

.top-info{
    background:#0f172a;
    color:white;
    padding:10px 20px;
    display:flex;
    gap:25px;
    flex-wrap:wrap;
    justify-content:center;
    font-size:14px;
}

.main-header{
    background:white;
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    max-width:1400px;
    margin:auto;
}
.logo{
    height:120px;
}

.search-bar{
    display:flex;
    flex:1;
    max-width:900px;
    margin:auto;
}
.search-bar input{
    flex:1;
    padding:14px;
    border:2px solid #d1d5db;
    border-radius:12px 0 0 12px;
}

.search-bar button{
    background:#2563eb;
    color:white;
    border:none;
    padding:14px 25px;
    border-radius:0 12px 12px 0;
    cursor:pointer;
}

.nav{
    background:#1e3a8a;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

.nav a{
    color:white;
    text-decoration:none;
    padding:15px 20px;
    font-weight:bold;
}

.nav a:hover{
    background:#2563eb;
}

.hero{
    text-align:center;
    padding:80px 20px;
    background:linear-gradient(135deg,#1e3a8a,#2563eb);
    color:white;
}

.hero h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    max-width:800px;
    margin:auto;
}

.btn{
    display:inline-block;
    margin-top:30px;
    background:white;
    color:#1e3a8a;
    padding:15px 30px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
}

.products{
    padding:60px 20px;
}

.products h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:18px;
    padding:25px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.card h3{
    color:#1e3a8a;
    margin-bottom:15px;
}

.price{
    color:#2563eb;
    font-weight:bold;
    margin-top:15px;
}

.footer{
    background:#0f172a;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:60px;
}
.email-link{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

.email-link:hover{
    text-decoration:underline;
}

.small-hero{
    padding:50px 20px;
}

.contact-wrapper{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:30px;
}

.contact-info-card,
.contact-form-card{
    background:white;
    border-radius:22px;
    padding:30px;
    box-shadow:0 8px 30px rgba(0,0,0,0.08);
}

.contact-info-card h2,
.contact-form-card h2{
    color:#1e3a8a;
    margin-bottom:20px;
}

.contact-info-card a{
    color:#2563eb;
    font-weight:bold;
    text-decoration:none;
}

.contact-form-card form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.contact-form-card input,
.contact-form-card textarea{
    width:100%;
    padding:14px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    font-size:16px;
}

.contact-form-card button{
    margin-top:10px;
    background:#2563eb;
    color:white;
    border:none;
    padding:15px 25px;
    border-radius:12px;
    font-weight:bold;
    cursor:pointer;
}

.success-message{
    background:#dcfce7;
    color:#166534;
    padding:18px;
    border-radius:12px;
    font-weight:bold;
}

.error-message{
    background:#fee2e2;
    color:#991b1b;
    padding:15px;
    border-radius:12px;
    margin-bottom:15px;
}

@media (max-width:800px){
    .contact-wrapper{
        grid-template-columns:1fr;
    }
}

.product-detail{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

.product-box{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:40px;
    background:white;
    padding:35px;
    border-radius:24px;
    box-shadow:0 8px 30px rgba(0,0,0,0.08);
}

.product-photo{
    background:#f1f5f9;
    border-radius:20px;
    min-height:360px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.product-photo img{
    max-width:100%;
    max-height:420px;
    object-fit:contain;
}

.no-image{
    color:#64748b;
    font-weight:bold;
}

.product-info h1{
    color:#1e3a8a;
    font-size:36px;
    margin-bottom:10px;
}

.product-brand{
    color:#64748b;
    font-weight:bold;
    margin-bottom:20px;
}

.product-price-big{
    color:#2563eb;
    font-size:34px;
    font-weight:900;
    margin-bottom:25px;
}

.product-short{
    line-height:1.6;
    margin-bottom:25px;
}

.add-cart-form{
    display:flex;
    gap:12px;
    margin-bottom:15px;
}

.add-cart-form input{
    width:90px;
    padding:14px;
    border:1px solid #cbd5e1;
    border-radius:12px;
}

.add-cart-form button{
    background:#2563eb;
    color:white;
    border:none;
    border-radius:12px;
    padding:14px 24px;
    font-weight:bold;
    cursor:pointer;
}

.secondary-btn{
    background:#0f172a;
}

.product-description{
    background:white;
    margin-top:30px;
    padding:30px;
    border-radius:22px;
    box-shadow:0 8px 30px rgba(0,0,0,0.06);
}

.product-description h2{
    color:#1e3a8a;
    margin-bottom:15px;
}

@media(max-width:800px){
    .product-box{
        grid-template-columns:1fr;
    }
}

.cart-page{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}

.cart-page h1{
    color:#1e3a8a;
    margin-bottom:30px;
}

.cart-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.cart-item{
    background:white;
    border-radius:20px;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 6px 25px rgba(0,0,0,0.08);
}

.cart-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.cart-actions button{
    width:40px;
    height:40px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:white;
    font-size:18px;
    cursor:pointer;
}

.remove-btn{
    text-decoration:none;
    color:#dc2626;
    font-weight:bold;
}

.cart-total{
    margin-top:30px;
    background:white;
    padding:30px;
    border-radius:20px;
    text-align:right;
    box-shadow:0 6px 25px rgba(0,0,0,0.08);
}

.account-page{
    max-width:800px;
    margin:50px auto;
    padding:0 20px;
}

.account-card{
    background:white;
    border-radius:24px;
    padding:35px;
    box-shadow:0 8px 30px rgba(0,0,0,0.08);
}

.account-card h1{
    color:#1e3a8a;
    margin-bottom:25px;
}

.account-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.account-form input{
    padding:14px;
    border:1px solid #cbd5e1;
    border-radius:12px;
    font-size:16px;
}

.account-form button{
    margin-top:10px;
    background:#2563eb;
    color:white;
    border:none;
    border-radius:12px;
    padding:15px 25px;
    font-weight:bold;
    cursor:pointer;
}

.account-link{
    margin-top:20px;
}

.account-link a{
    color:#2563eb;
    font-weight:bold;
}

.account-info{
    background:#f1f5f9;
    padding:20px;
    border-radius:16px;
    margin:25px 0;
}

.account-actions{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}
.actions-principales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}
.recaptcha-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:25px 0;
}
.password-wrapper{
    position:relative;
    width:100%;
}

.password-wrapper input{
    width:100%;
    box-sizing:border-box;
    padding-right:45px;
}

.toggle-password{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    user-select:none;
}
.footer{
    background:#111;
    color:#ddd;
    margin-top:50px;
    padding:50px 20px 20px;
}

.footer-container{
    max-width:1400px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:40px;
}

.footer-col h3{
    color:#00a3ff;
    margin-bottom:15px;
    font-size:18px;
}

.footer-col ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-col li{
    margin-bottom:10px;
}

.footer-col a{
    color:#ddd;
    text-decoration:none;
    transition:0.3s;
}

.footer-col a:hover{
    color:#00a3ff;
}

.footer-col p{
    margin:8px 0;
    line-height:1.6;
}

.footer-bottom{
    border-top:1px solid #333;
    margin-top:30px;
    padding-top:15px;
    text-align:center;
    color:#999;
    font-size:14px;
}

@media(max-width:768px){

    .footer{
        padding:30px 15px 15px;
    }

    .footer-container{
        grid-template-columns:1fr;
        gap:25px;
    }

    .footer-col{
        text-align:center;
    }
}
.delivery-page{
    max-width:1280px;
    margin:0 auto;
    padding:35px 20px 50px;
}

.delivery-hero{
    margin-bottom:30px;
}

.delivery-hero h1{
    color:#0b376d;
    font-size:34px;
    margin-bottom:8px;
}

.delivery-hero p{
    color:#18304f;
    font-size:17px;
}

.delivery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.delivery-card{
    background:#fff;
    border-radius:22px;
    padding:28px;
    min-height:250px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    border:1px solid #dbe7f5;
}

.delivery-card h2{
    font-size:22px;
    margin:12px 0 18px;
    line-height:1.2;
}

.delivery-card p{
    font-size:16px;
    line-height:1.55;
    color:#10233f;
    margin-bottom:14px;
}

.delivery-icon{
    width:62px;
    height:62px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    margin-bottom:10px;
}

.delivery-card.blue{
    background:#f4f9ff;
    border-color:#b7d8ff;
}

.delivery-card.blue h2{
    color:#0066d6;
}

.delivery-card.blue .delivery-icon{
    background:#d8ebff;
}

.delivery-card.green{
    background:#f3fff8;
    border-color:#b8e8ca;
}

.delivery-card.green h2{
    color:#087b3a;
}

.delivery-card.green .delivery-icon{
    background:#d8f5e2;
    color:#087b3a;
    font-weight:800;
}

.delivery-card.orange{
    background:#fffaf0;
    border-color:#f2d08b;
}

.delivery-card.orange h2{
    color:#e08100;
}

.delivery-card.orange .delivery-icon{
    background:#ffe7ad;
}

.delivery-card.purple{
    background:#fbf7ff;
    border-color:#d8c3f0;
}

.delivery-card.purple h2{
    color:#5420a3;
}

.delivery-card.purple .delivery-icon{
    background:#eadcff;
}

.delivery-card.red{
    background:#fff5f5;
    border-color:#f0b6b6;
}

.delivery-card.red h2{
    color:#d31313;
}

.delivery-card.red .delivery-icon{
    background:#ffdada;
}

@media(max-width:1000px){
    .delivery-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .delivery-page{
        padding:25px 15px 35px;
    }

    .delivery-grid{
        grid-template-columns:1fr;
    }

    .delivery-hero h1{
        font-size:28px;
    }
}
.account-card{
    padding:30px;
    margin-bottom:20px;
}

.account-info{
    background:#eef3f8;
    border-radius:15px;
    padding:20px;
    margin:15px 0;
}

.account-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:15px;
}

.account-page{
    max-width:900px;
    margin:30px auto;
    padding:0 15px;
}
/* ADMIN AJOUT PRODUIT */

.account-page form.account-card {
    max-width: 850px;
    margin: 25px auto 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-page form.account-card label {
    display: block;
    font-weight: 700;
    color: #123c7c;
    margin-top: 12px;
    margin-bottom: 4px;
}

.account-page form.account-card input,
.account-page form.account-card select,
.account-page form.account-card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cfd8e3;
    border-radius: 14px;
    background: #ffffff;
    font-size: 15px;
    color: #0d1b2a;
    box-sizing: border-box;
}

.account-page form.account-card textarea {
    min-height: 110px;
    resize: vertical;
}

.account-page form.account-card input:focus,
.account-page form.account-card select:focus,
.account-page form.account-card textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.account-page form.account-card input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.account-page form.account-card button.btn,
.account-page form.account-card a.btn {
    margin-top: 18px;
    width: fit-content;
}

.account-page form.account-card .secondary-btn {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .account-page form.account-card {
        margin: 20px 15px 50px;
    }

    .account-page form.account-card button.btn,
    .account-page form.account-card a.btn {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}
