@charset "UTF-8";

/* =========================
   BASE
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f6f8;
    color: #1f2937;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    display: block;
    padding: 24px 0 40px;
}

.container {
    width: min(1280px, calc(100% - 24px));
    margin: 0 auto;
}

.section {
    padding: 0 0 24px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.2;
}

h1 {
    font-size: 30px;
    margin-bottom: 6px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 18px;
}

.subtitle {
    margin: 0;
    color: #6b7280;
}

.empty-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
}

/* =========================
   HEADER
========================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding-top: 10px;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo img {
    height: 36px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 24px;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 9px 12px;
    border-radius: 10px;
    color: #4b5563;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
    background: #f3f4f6;
    color: #111827;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1f6feb;
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    margin-left: auto;
}

.cart-link:hover {
    background: #1659bd;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: #1f6feb;
    font-size: 12px;
    font-weight: 700;
}

.category-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 14px;
}

.category-strip a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    color: #4b5563;
}

.category-strip a:hover {
    background: #f9fafb;
    color: #111827;
}

/* =========================
   HERO / ACCUEIL
========================= */

.hero {
    padding-bottom: 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
}

.hero-main,
.hero-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    background: #eff6ff;
    color: #1f6feb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.hero-grid p,
.hero-card p,
.hero-card li {
    color: #6b7280;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.hero-card ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.hero-point {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
}

.hero-point strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #111827;
}

.hero-point span {
    font-size: 13px;
    color: #6b7280;
}

/* =========================
   FILTRES
========================= */

.filters-form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 12px;
    margin-bottom: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

/* =========================
   FORMULAIRES
========================= */

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1f6feb;
    box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.10);
}

/* =========================
   BOUTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-primary {
    background: #1f6feb;
    color: #fff;
}

.btn-primary:hover {
    background: #1659bd;
}

.btn-secondary {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

/* =========================
   CATÉGORIES
========================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.category-card:hover {
    background: #f9fafb;
}

.category-card span {
    font-size: 13px;
    color: #6b7280;
}

/* =========================
   GRILLE PRODUITS
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.product-card:hover {
    border-color: #d1d5db;
}

.product-image-wrap {
    display: block;
    background: #f3f4f6;
}

.product-image,
.product-slider img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 14px;
}

.product-placeholder.large {
    height: 420px;
    border-radius: 14px;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}

.product-category {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
}

.product-content h3 {
    margin: 0 0 8px;
}

.product-content p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 14px;
}

.product-stock {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #1f6feb;
    margin: 10px 0;
}

.product-price.large {
    font-size: 32px;
    margin: 10px 0 18px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
}

.product-actions form {
    margin: 0;
}

.product-actions .btn,
.product-actions button {
    flex: 1;
}

/* =========================
   SLIDER BOUTIQUE
========================= */

.product-slider {
    position: relative;
    overflow: hidden;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.65);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-counter {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(17, 24, 39, 0.65);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
}

/* =========================
   PAGE PRODUIT PREMIUM
========================= */

.product-premium {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 460px;
    gap: 28px;
    align-items: start;
}

.product-premium__gallery,
.product-premium__content {
    min-width: 0;
}

.product-premium__main {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
}

.product-premium__main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.product-premium__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.product-premium__thumbs img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
}

.product-premium__thumbs img:hover {
    border-color: #cbd5e1;
}

.product-premium__thumbs img.active {
    border-color: #1f6feb;
}

.product-premium__header {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
}

.product-premium__header h1 {
    font-size: 34px;
    margin: 10px 0 14px;
}

.product-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.meta-badge.in-stock {
    background: #ecfdf3;
    color: #166534;
}

.meta-badge.out-stock {
    background: #fef2f2;
    color: #991b1b;
}

.product-purchase-box {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 18px;
}

.product-price-box {
    margin-bottom: 16px;
}

.product-price-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.product-purchase-info {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: #4b5563;
    font-size: 14px;
}

.purchase-form {
    display: grid;
    gap: 16px;
}

.purchase-row {
    display: grid;
    gap: 16px;
}

.purchase-qty input {
    max-width: 120px;
}

.purchase-actions {
    display: grid;
    gap: 10px;
}

.btn-buy {
    min-height: 46px;
    font-size: 15px;
}

.product-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
}

.product-info-card h2 {
    margin-bottom: 14px;
}

.product-description.premium {
    border: 0;
    padding: 0;
    margin: 0;
    color: #374151;
    line-height: 1.7;
}

/* =========================
   GALERIE / ZOOM
========================= */

.gallery-main {
    background: #f3f4f6;
    border-radius: 14px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.zoomable-image {
    cursor: pointer;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.gallery-thumbs img,
.thumb {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    background: #fff;
}

.gallery-thumbs img:hover,
.thumb:hover {
    border-color: #cbd5e1;
}

.gallery-thumbs img.active,
.thumb.active {
    border-color: #1f6feb;
}

.image-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(17, 24, 39, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-zoom-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
}

.image-zoom-content img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.image-zoom-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    font-size: 26px;
    cursor: pointer;
}

.no-scroll {
    overflow: hidden;
}

/* =========================
   CARDS / CONTACT
========================= */

.container.narrow {
    max-width: 820px;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
}

/* =========================
   ALERTES
========================= */

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid transparent;
    font-weight: 600;
}

.alert.success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.alert.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* =========================
   PANIER
========================= */

.cart-table {
    display: grid;
    gap: 14px;
}

.cart-row {
    display: grid;
    grid-template-columns: 100px 1.4fr 140px 140px 140px;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px;
}

.cart-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-summary {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.cart-summary p {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
}

/* =========================
   COMMANDE
========================= */

.order-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 22px;
}

.checkout-form,
.order-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.order-summary h2 {
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    border-bottom: 0;
}

.order-summary hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 12px 0;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 36px;
    padding: 28px 0;
    background: #111827;
    color: #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 22px;
}

.site-footer h3 {
    margin-bottom: 12px;
    color: #fff;
}

.site-footer p {
    color: #cbd5e1;
    margin: 0 0 8px;
}

.site-footer a:hover {
    color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .hero-grid,
    .order-layout,
    .product-premium {
        grid-template-columns: 1fr;
    }

    .filters-form {
        grid-template-columns: 1fr 1fr;
    }

    .product-purchase-box {
        position: static;
        top: auto;
    }

    .header-main {
        flex-wrap: wrap;
    }

    .cart-link {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100%, calc(100% - 18px));
    }

    main {
        padding-top: 18px;
    }

    .filters-form,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .hero-actions a {
        width: 100%;
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .gallery-main img,
    .product-placeholder.large,
    .product-premium__main img {
        height: 300px;
    }

    .cart-row {
        grid-template-columns: 90px 1fr;
        align-items: start;
    }

    .cart-row > div:nth-child(3),
    .cart-row > div:nth-child(4),
    .cart-row > div:nth-child(5) {
        grid-column: 2;
    }

    .main-nav {
        margin-left: 0;
    }
}

@media (max-width: 540px) {
    .product-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: start;
    }

    .main-nav {
        justify-content: center;
        width: 100%;
    }

    .header-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-link {
        margin-left: 0;
    }

    .gallery-thumbs img,
    .thumb,
    .product-premium__thumbs img {
        width: 64px;
        height: 64px;
    }

    .product-premium__header h1 {
        font-size: 28px;
    }
}


/* =========================
   PROMOTION DU JOUR
========================= */

.promo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
}

.promo-sticker {
    display: inline-block;
    align-self: flex-start;
    background: #dc2626;
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.promo-image-wrap {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
}

.promo-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.promo-title {
    font-size: 20px;
    margin: 0;
}

.promo-prices {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.promo-old-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 15px;
}

.promo-price {
    color: #dc2626;
    font-size: 28px;
    font-weight: 800;
}

.promo-empty {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.promo-soon {
    font-size: 24px;
    font-weight: 700;
    color: #6b7280;
    text-align: center;
    padding: 10px 0 0;
}
.promo-image {
    width: 100%;
    height: 200px; /* ajuste entre 180 et 240 selon ton rendu */
    object-fit: cover;
    display: block;
}
.promo-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    background: #f3f4f6;
}
.product-price-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.product-price-group.large {
    margin: 12px 0 18px;
}

.product-old-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 14px;
}

.product-old-price.large {
    font-size: 20px;
}

.product-price.promo {
    color: #dc2626;
    font-weight: 800;
}

.product-price.promo.large {
    font-size: 34px;
}

.promo-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
}

/* =========================
   FORMULAIRES PUBLICS PRO
========================= */

.form-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px;
}

.form-card h1 {
    margin-bottom: 10px;
    font-size: 30px;
}

.form-card .subtitle {
    margin-bottom: 24px;
    color: #6b7280;
    line-height: 1.6;
}

.form-modern {
    display: grid;
    gap: 18px;
}

.form-modern .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}



.form-modern .form-row.one {
    grid-template-columns: 1fr;
}

.form-modern input,
.form-modern select,
.form-modern textarea {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    color: #111827;
    margin: 0;
}

.form-modern textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-modern input:focus,
.form-modern select:focus,
.form-modern textarea:focus {
    outline: none;
    border-color: #1f6feb;
    box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

.form-section {
    margin-top: 10px;
    padding-top: 6px;
}

.form-section h3 {
    margin: 0 0 16px;
    font-size: 19px;
    color: #111827;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.checkbox-card:hover {
    background: #f9fafb;
    border-color: #cbd5e1;
}

.checkbox-card input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #9ca3af;
    border-radius: 6px;
    background: #fff;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: 0.2s ease;
}

.checkbox-card input[type="checkbox"]:checked {
    background: #1f6feb;
    border-color: #1f6feb;
}

.checkbox-card input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-card span {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.35;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 4px;
}

.btn.full {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
}

/* messages */
.alert {
    margin-bottom: 20px;
}

.alert p {
    margin: 6px 0;
}

/* responsive */
@media (max-width: 768px) {
    .form-card {
        padding: 20px;
    }

    .form-modern .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-card h1 {
        font-size: 26px;
    }
}

.btn-secondary {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
}
.product-image-wrap,
.product-premium__main {
    position: relative;
    overflow: hidden;
}

.sold-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
    background: rgba(220, 38, 38, 0.92);
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 3px;
    padding: 12px 120px;
    text-transform: uppercase;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    pointer-events: none;
}

@media (max-width: 768px) {
    .sold-overlay {
        font-size: 20px;
        padding: 10px 70px;
    }
}

.sold-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    background: rgba(220, 38, 38, 0.95);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
    padding: 8px 38px;
    text-transform: uppercase;
    z-index: 5;
    border-radius: 4px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    pointer-events: none;
}

@media (max-width: 768px) {
    .sold-overlay {
        font-size: 14px;
        padding: 7px 24px;
    }
}
.checkout-choice-section {
    margin-top: 22px;
}

.checkout-choice-section h3 {
    margin-bottom: 12px;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 18px 46px;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease;
    min-height: 110px;
}

.choice-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.choice-card input[type="radio"] {
    position: absolute;
    left: 16px;
    top: 20px;
    width: 18px;
    height: 18px;
    margin: 0;
}

.choice-card__title {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.choice-card__desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.45;
}

.choice-card:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.10);
}

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.checkout-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 18px 46px;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease;
    min-height: 110px;
}

.choice-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.choice-card input[type="radio"] {
    position: absolute;
    left: 16px;
    top: 20px;
    width: 18px;
    height: 18px;
    margin: 0;
}

.choice-card__title {
    font-weight: 700;
    font-size: 15px;
    color: #111827;
}

.choice-card__desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.45;
}

.choice-card:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.10);
}

.relais-box {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    background: #f9fafb;
}

.relais-note {
    margin-bottom: 12px;
    color: #6b7280;
}

.order-summary-card {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.btn-espace {
    display:inline-block;
    background:#111827;
    color:#fff;
    padding:10px 14px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    margin-left:8px;
}

.btn-espace:hover {
    background:#2563eb;
}
