:root {
    --primary: #d85aa3;
    --secondary: #58c7bb;
    --dark: #555;
    --light: #ffffff;
    --bg-soft: rgba(255, 255, 255, 0.88);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 22px;
    --container: 1200px;
}

/* Fiche article */
.product-card__details {
    align-self: flex-start;
    margin-top: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.product-card__details:hover { text-decoration: underline; }

.product-modal__details {
    align-self: flex-start;
    margin-top: 14px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.product-modal__details:hover { text-decoration: underline; }

.product-detail {
    padding: 142px 0 84px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: #888;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.product-detail__back {
    white-space: nowrap;
}

.product-detail__back:hover {
    text-decoration: none;
}

.product-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 36px;
    align-items: start;
}

.product-detail__gallery,
.product-detail__info {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(224, 82, 163, 0.18);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.08);
}

.product-detail__gallery {
    overflow: hidden;
}

.product-detail__main-image {
    aspect-ratio: 4 / 5;
    background: #f8f0f6;
}

.product-detail__main-image img,
.product-detail__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 12px;
}

.product-detail__thumb {
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.product-detail__thumb.is-active {
    border-color: var(--primary);
}

.product-detail__no-image {
    min-height: 420px;
    display: grid;
    place-items: center;
    color: #aaa;
    background: #f8f0f6;
}

.product-detail__info {
    padding: 34px;
}

.product-detail__cat {
    margin: 0 0 10px;
    color: var(--secondary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-detail__info h1 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.product-detail__badge {
    position: static;
    display: inline-flex;
    margin-top: 16px;
}

.product-detail__short {
    margin: 22px 0 0;
    color: #555;
    font-size: 1.08rem;
    line-height: 1.65;
}

.product-detail__tabs {
    margin-top: 24px;
}

.product-detail__tab-list {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(216, 90, 163, 0.18);
    border-radius: 999px;
    background: rgba(248, 240, 246, 0.85);
}

.product-detail__tab {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #666;
    font-weight: 800;
    cursor: pointer;
}

.product-detail__tab.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(216, 90, 163, 0.22);
}

.product-detail__panel {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.78);
    color: #555;
    line-height: 1.75;
}

.product-detail__description {
    margin-top: 20px;
    color: #555;
    line-height: 1.75;
}

.product-detail__buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.product-detail__price {
    margin: 0;
    min-width: 100%;
    color: var(--primary);
    font-size: 1.9rem;
    font-weight: 800;
}

.product-detail__unavailable {
    flex-basis: 100%;
    margin: 0;
    color: #a33;
    font-weight: 700;
}

.product-detail__reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.product-detail__reassurance span {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 8px 12px;
    background: #fff;
    color: #666;
    font-size: 0.86rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .product-detail { padding-top: 112px; }
    .product-detail__layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .product-detail__info { padding: 24px 20px; }
    .product-detail__buy { align-items: stretch; }
    .product-detail__buy form,
    .product-detail__buy .btn { width: 100%; }
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
}

body.site-body {
    background-image: url('/images/background/fond-floral.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #fdf6fb;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(88, 199, 187, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.logo {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(216,90,163,0.18));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.82rem;
    color: var(--dark);
    line-height: 1.3;
}

.main-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
}

.hero {
    padding: 80px 0 40px;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero-card {
    max-width: 680px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(216, 90, 163, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.eyebrow {
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-card h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: #444;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.categories-section {
    padding: 40px 0 80px;
}

.section-title {
    margin-bottom: 26px;
    background: rgba(255, 255, 255, 0.82);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section-title h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    color: var(--primary);
}

.section-title p {
    margin: 0;
}

/* ── Mosaïque éditoriale ──────────────────────────────────── */
.categories-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    grid-template-rows: 420px 320px;
    gap: 8px;
    border-radius: 26px;
    overflow: hidden;
}

/* Tuile générique */
.cat-tile {
    display: block;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Positions dans la mosaïque */
.cat-tile--1 { grid-column: 1; grid-row: 1; }
.cat-tile--2 { grid-column: 2; grid-row: 1; }
.cat-tile--3 { grid-column: 3; grid-row: 1; }   /* large — col 3 = 2fr */
.cat-tile--4 { grid-column: 4; grid-row: 1; }
.cat-tile--5 { grid-column: 1 / -1; grid-row: 2; } /* pleine largeur */

.cat-tile__inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cat-tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Overlay de base */
.cat-tile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.15) 50%,
        transparent 100%
    );
    transition: background 0.4s ease;
}

/* Contenu bas de la tuile */
.cat-tile__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 26px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cat-tile__name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.cat-tile--5 .cat-tile__name {
    font-size: 2rem;
}

.cat-tile__cta {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 7px 16px;
    border-radius: 999px;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
}

/* ── Effets au survol ────────────────────────────────────── */
.cat-tile:hover .cat-tile__img {
    transform: scale(1.07);
}

.cat-tile:hover .cat-tile__overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.cat-tile:hover .cat-tile__name {
    transform: translateY(-4px);
}

.cat-tile:hover .cat-tile__cta {
    opacity: 1;
    transform: translateY(0);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ── Auth pages ───────────────────────────────────────────── */
.auth-section {
    padding: 60px 0;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.auth-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-soft);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-title {
    margin: 0 0 6px;
    font-size: 2rem;
    color: var(--primary);
}

.auth-subtitle {
    margin: 0 0 28px;
    color: var(--dark);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-row--3 {
    grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 680px) {
    .form-row--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .form-row--3 { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    background: white;
}

.form-group input:focus {
    border-color: var(--primary);
}

.form-group .form-error,
.form-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #c0392b;
    font-size: 0.85rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* ── Indicateurs de force du mot de passe ─────────────── */
.pw-rules {
    list-style: none;
    padding: 10px 0 4px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

.pw-rules li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #999;
    transition: color .2s;
}

.pw-rules li::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dc3545;
    flex-shrink: 0;
    transition: background .25s ease, transform .15s ease;
}

.pw-rules li.valid {
    color: #3a2a1e;
}

.pw-rules li.valid::before {
    background: #28a745;
    transform: scale(1.15);
}

.auth-card--wide {
    max-width: 720px;
}

.form-section-label {
    margin: 4px 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    border-bottom: 1px solid rgba(216, 90, 163, 0.18);
    padding-bottom: 6px;
}

.form-section-optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #aaa;
    font-size: 0.78rem;
}

.form-group--grow { flex: 1 1 0; }
.form-group--small { flex: 0 0 130px; }

.form-group textarea {
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    background: white;
    resize: vertical;
    font-family: inherit;
}

.form-group textarea:focus {
    border-color: var(--primary);
}

.form-actions {
    margin-top: 8px;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .categories-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 300px);
        border-radius: 20px;
    }
    .cat-tile--1 { grid-column: 1; grid-row: 1; }
    .cat-tile--2 { grid-column: 2; grid-row: 1; }
    .cat-tile--3 { grid-column: 1; grid-row: 2; }
    .cat-tile--4 { grid-column: 2; grid-row: 2; }
    .cat-tile--5 { grid-column: 1 / -1; grid-row: 3; }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-card {
        padding: 26px;
    }

    .categories-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 260px);
        border-radius: 16px;
    }

    .cat-tile--1,
    .cat-tile--2,
    .cat-tile--3,
    .cat-tile--4,
    .cat-tile--5 {
        grid-column: 1;
        grid-row: auto;
    }

    .cat-tile__cta {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Page hero (boutique, à propos, contact…) ──────────── */
.page-hero {
    padding: 160px 0 36px;
    text-align: center;
}

.page-hero__title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
}

.page-hero__sub {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark);
}

/* ── Boutique : tri ──────────────────────────────────────── */
.shop-bar--page { top: 63px; }

.shop-bar__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-sort__select {
    padding: 9px 14px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 999px;
    font-size: 0.88rem;
    background: white;
    cursor: pointer;
    outline: none;
}

.shop-count {
    margin: 0 0 24px;
    font-size: 0.92rem;
    color: #888;
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.product-card__badge--low { background: #e67e22; }

.product-card__badge--unique {
    background: linear-gradient(135deg, var(--primary), #a0349a);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.68rem;
    box-shadow: 0 2px 8px rgba(216, 90, 163, 0.45);
}

.product-card__desc {
    margin: 0;
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
}

/* ── À propos ────────────────────────────────────────────── */
.apropos-section { padding: 0 0 80px; }

.apropos-intro {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
    background: rgba(255,255,255,0.88);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.apropos-intro__text h2 {
    margin: 0 0 20px;
    font-size: 2rem;
    color: var(--primary);
}

.apropos-intro__text p {
    line-height: 1.8;
    margin: 0 0 14px;
}

.apropos-img-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f5e6f0, #e6f5f0);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 0.9rem;
    border: 2px dashed rgba(216,90,163,0.25);
}

.apropos-values { margin-bottom: 60px; }

.apropos-values__title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 32px;
}

.apropos-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: rgba(255,255,255,0.88);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.25s;
}

.value-card:hover { transform: translateY(-4px); }

.value-card__icon { font-size: 2.2rem; margin-bottom: 14px; }

.value-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: var(--primary);
}

.value-card p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: #666; }

.apropos-process {
    background: rgba(255,255,255,0.88);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.apropos-process h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 0 36px;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.process-step h4 { margin: 0 0 8px; font-size: 1rem; color: var(--dark); }
.process-step p { margin: 0; font-size: 0.85rem; color: #888; line-height: 1.5; }

.process-step__arrow {
    align-self: center;
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    flex-shrink: 0;
}

.apropos-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(216,90,163,0.08), rgba(88,199,187,0.08));
    border-radius: var(--radius);
    padding: 52px 40px;
    box-shadow: var(--shadow);
}

.apropos-cta h2 { font-size: 1.8rem; color: var(--primary); margin: 0 0 12px; }
.apropos-cta p { margin: 0 0 28px; font-size: 1.05rem; }

.apropos-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Barre boutique (nav catégories + recherche) ────────── */
.shop-bar {
    position: sticky;
    top: 63px;
    z-index: 10;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding: 12px 0;
}

.shop-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.shop-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.shop-nav__item {
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.shop-nav__item:hover,
.shop-nav__item.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.shop-search {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 999px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.shop-search:focus-within {
    border-color: var(--primary);
}

.shop-search__input {
    border: none;
    outline: none;
    padding: 9px 16px;
    font-size: 0.9rem;
    background: transparent;
    width: 220px;
}

.shop-search__btn {
    background: none;
    border: none;
    padding: 9px 14px 9px 6px;
    cursor: pointer;
    color: var(--dark);
    display: flex;
    align-items: center;
}

/* ── Grille produits ─────────────────────────────────────── */
.products-section {
    padding: 40px 0 60px;
}

.search-info {
    margin-bottom: 24px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.82);
    border-radius: 10px;
    font-size: 0.95rem;
}

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

.product-card {
    background: rgba(255,255,255,0.9);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* ── Carousel produit ─────────────────────────────────────── */
.product-carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #f5f0eb;
    border-radius: 16px 16px 0 0;
}

.product-carousel__track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
    will-change: transform;
}

.product-carousel__slide {
    flex: 0 0 100%;
    height: 100%;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Flèches */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.product-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow--prev { left: 8px; }
.carousel-arrow--next { right: 8px; }

/* Dots */
.product-carousel__dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}
.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
    background: #fff;
    transform: scale(1.25);
}

.product-card__img-link {
    display: block;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #f5f0eb;
}

.product-card__no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 0.82rem;
    text-align: center;
    padding: 16px;
}

.product-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card__cat {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--secondary);
}

.product-card__name {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.product-card__name a {
    text-decoration: none;
    color: var(--dark);
}

.product-card__name a:hover { color: var(--primary); }

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.product-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.product-card__out {
    font-size: 0.82rem;
    color: #aaa;
    font-style: italic;
}

.products-empty {
    text-align: center;
    padding: 60px 0;
    background: rgba(255,255,255,0.7);
    border-radius: 18px;
    color: #888;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.07);
    padding: 40px 0 28px;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover { color: var(--primary); }

.footer-copy {
    margin: 0;
    font-size: 0.82rem;
    color: #aaa;
}

.footer-credit {
    margin: -4px 0 0;
    font-size: 0.78rem;
    color: #aaa;
}

.footer-credit a {
    color: #888;
    font-weight: 700;
    text-decoration: none;
}

.footer-credit a:hover { color: var(--primary); }

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.footer-legal a,
.footer-legal__cookies {
    font-size: 0.78rem;
    color: #aaa;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s;
}
.footer-legal a:hover,
.footer-legal__cookies:hover { color: var(--primary); }

@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .apropos-values__grid { grid-template-columns: repeat(2, 1fr); }
    .apropos-intro { grid-template-columns: 1fr; }
    .apropos-intro__visual { display: none; }
}

@media (max-width: 768px) {
    .shop-bar { top: 0; }
    .shop-bar__inner { flex-direction: column; align-items: stretch; }
    .shop-search__input { width: 100%; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .apropos-values__grid { grid-template-columns: 1fr; }
    .apropos-process { padding: 28px; }
    .process-step__arrow { display: none; }
    .process-steps { flex-direction: column; gap: 16px; }
    .apropos-cta { padding: 32px 20px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   PANIER — bouton nav
══════════════════════════════════════════════════════════════ */
.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    transition: color 0.2s;
    padding: 2px 4px;
}
.cart-btn:hover { color: var(--primary); }
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* ══════════════════════════════════════════════════════════════
   PAGE PANIER
══════════════════════════════════════════════════════════════ */
.cart-section { padding: 48px 0 80px; }

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

/* ── Items ── */
.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto;
    align-items: center;
    gap: 20px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.cart-item__img-wrap { width: 90px; height: 90px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cart-item__img      { width: 100%; height: 100%; object-fit: cover; }
.cart-item__no-img   { width: 100%; height: 100%; background: #f0ede8; }

.cart-item__name  { font-size: 1rem; font-weight: 700; margin: 0 0 4px; }
.cart-item__price { font-size: 0.88rem; color: #888; margin: 0; }

.cart-item__qty {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qty-btn {
    width: 32px; height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.qty-btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }
.qty-value { font-weight: 700; min-width: 24px; text-align: center; }

.cart-item__subtotal { font-weight: 700; font-size: 1rem; white-space: nowrap; }

.cart-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    padding: 4px;
    transition: color 0.2s;
}
.cart-item__remove:hover { color: #e53935; }

/* ── Résumé ── */
.cart-summary {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    position: sticky;
    top: 100px;
}
.cart-summary__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 20px;
}
.cart-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0ede8;
    font-size: 0.95rem;
}
.cart-summary__row--total {
    font-weight: 800;
    font-size: 1.1rem;
    border-bottom: none;
    padding-top: 16px;
    margin-top: 4px;
}
.cart-summary__ship { color: #aaa; font-size: 0.85rem; }

.btn-full { width: 100%; margin-top: 20px; }

.cart-summary__back {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 0.88rem;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.cart-summary__back:hover { color: var(--primary); }

/* ── Panier vide ── */
.cart-empty {
    text-align: center;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.cart-empty__icon { color: #ccc; }
.cart-empty__msg  { font-size: 1.1rem; color: #888; margin: 0; }

/* ── Flash messages ── */
.flash {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}
.flash--success { background: #e8f5e9; color: #2e7d32; }
.flash--error   { background: #fdecea; color: #c62828; }

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — étapes
══════════════════════════════════════════════════════════════ */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 18px;
}
.checkout-step {
    font-size: 0.88rem;
    font-weight: 600;
    color: #bbb;
    padding: 7px 20px;
    border: 1px solid #ddd;
    background: #fff;
}
.checkout-step:first-child { border-radius: 999px 0 0 999px; }
.checkout-step:last-child  { border-radius: 0 999px 999px 0; }
.checkout-step--done   { color: var(--secondary); border-color: var(--secondary); background: #f0faf9; }
.checkout-step--active { color: var(--primary);   border-color: var(--primary);   background: #fdf0f8; }

/* ── Page infos livraison ── */
.checkout-info-section { padding: 40px 0 80px; }

.checkout-info-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Notice France métropolitaine */
.checkout-france-notice {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #1e40af;
    margin-bottom: 16px;
}

/* Bandeau connexion */
.checkout-account-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fdf6fb;
    border: 1px solid #f0d0e8;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.checkout-account-banner__text { font-size: 0.92rem; color: #555; }
.checkout-account-banner__text strong { color: var(--primary); }
.checkout-account-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Formulaire */
.checkout-form__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 24px; }

.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.checkout-form .form-group { margin-bottom: 16px; }
.checkout-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}
.checkout-form input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.checkout-form input:focus { border-color: var(--primary); outline: none; }
.checkout-form .form-error,
.checkout-form ul { color: #c62828; font-size: 0.82rem; margin: 4px 0 0; padding: 0; list-style: none; }

/* ── Options transporteur ── */
.shipping-section { margin-top: 28px; }

.shipping-free-banner {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.shipping-free-hint {
    font-size: 0.88rem;
    color: #888;
    margin: 0 0 16px;
}
.shipping-free-hint__remaining { color: var(--primary); font-weight: 600; }

.shipping-options { display: flex; flex-direction: column; gap: 10px; }

.shipping-option {
    display: block;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.shipping-option:hover { border-color: #ccc; }
/* Sélection via CSS natif — fonctionne dans tous les navigateurs modernes */
.shipping-option:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: #fdf0f8;
}
/* Fallback JS (classe ajoutée par JS pour anciens navigateurs) */
.shipping-option--selected { border-color: var(--primary); background: #fdf0f8; }
.shipping-option__radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.shipping-chrono-upgrade {
    margin-top: 12px;
    border: 2px dashed #e0b0d0;
    cursor: pointer;
}
.shipping-chrono-upgrade input[type="checkbox"] {
    display: inline-block;
    margin-right: 10px;
    flex-shrink: 0;
    cursor: pointer;
}
.shipping-chrono-upgrade .shipping-option__content {
    align-items: center;
}
.shipping-chrono-upgrade .shipping-option__price {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.shipping-option__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.shipping-option__left { display: flex; flex-direction: column; gap: 2px; }
.shipping-option__name { font-weight: 700; font-size: 0.95rem; }
.shipping-option__desc { font-size: 0.82rem; color: #888; }
.shipping-option__delay { font-size: 0.8rem; color: var(--secondary); font-weight: 600; }
.shipping-option__price { font-weight: 800; font-size: 1rem; white-space: nowrap; flex-shrink: 0; }
.shipping-option__free { color: #2e7d32; font-weight: 700; }

.shipping-info-note {
    text-align: center;
    font-size: 0.82rem;
    color: #aaa;
    margin: 16px 0 0;
}

/* ── Widget Mondial Relay ── */
.mr-widget-wrap {
    background: #fffbf0;
    border: 1px solid #f0d070;
    border-radius: 10px;
    padding: 16px;
    margin: -6px 0 8px;
}
.mr-widget-wrap .mr-widget-title { font-size: 0.9rem; font-weight: 600; margin: 0 0 10px; }
.mr-relay-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
}
.mr-relay-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid #f0e8c0;
    margin-bottom: 6px;
    background: #fff;
    transition: border-color .15s, background .15s;
}
.mr-relay-item:hover { border-color: #d4a900; background: #fffbf0; }
.mr-relay-item.selected { border-color: #2e7d32; background: #e8f5e9; }
.mr-relay-item strong { font-size: 0.9rem; }
.mr-relay-item span { font-size: 0.82rem; color: #777; }
.mr-loading { padding: 8px 0; font-size: 0.9rem; margin: 0; color: #555; }
.mr-error { padding: 8px 0; font-size: 0.9rem; margin: 0; color: #c0392b; }
.mr-relay-chosen {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-top: 10px;
}
.mr-relay-map {
    margin-top: 10px;
}
.mr-relay-map__frame {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 8px;
    background: #f6f2eb;
}
.mr-relay-map__link {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 700;
}
.mr-widget-notice {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #999;
}
.mr-widget-notice a { color: #f0a500; }

/* Récap panier dans la sidebar */
.checkout-recap-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f0ede8;
    font-size: 0.9rem;
}
.checkout-recap-item__name em { color: #aaa; font-style: normal; margin-left: 4px; }

@media (max-width: 900px) {
    .checkout-info-layout { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .checkout-form .form-row { grid-template-columns: 1fr; }
    .checkout-account-banner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — succès / annulation
══════════════════════════════════════════════════════════════ */
.checkout-result {
    padding: 80px 0;
}
.checkout-result__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.checkout-result__icon {
    width: 96px; height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.checkout-result__icon--ok     { background: #e8f5e9; color: #2e7d32; }
.checkout-result__icon--cancel { background: #fdecea; color: #c62828; }

.checkout-result__title { font-size: 2rem; font-weight: 800; margin: 0 0 12px; }
.checkout-result__sub   { font-size: 1.05rem; color: #666; margin: 0 0 36px; }

.checkout-result__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Récap commande ── */
.order-recap {
    text-align: left;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    margin: 0 auto 36px;
}
.order-recap__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 20px; }

.order-recap__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.order-recap__table th,
.order-recap__table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0ede8;
    text-align: left;
}
.order-recap__table th { font-weight: 700; color: #888; }
.order-recap__total td { font-weight: 800; font-size: 1rem; border-top: 2px solid #f0ede8; border-bottom: none; }

.order-recap__address {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0ede8;
    font-size: 0.92rem;
}
.order-recap__address h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 8px; }
.order-recap__address p  { margin: 0; line-height: 1.7; color: #555; }

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}
@media (max-width: 600px) {
    .cart-item { grid-template-columns: 72px 1fr; grid-template-rows: auto auto auto; }
    .cart-item__qty { grid-column: 2; }
    .cart-item__subtotal { grid-column: 2; }
    .cart-item__remove { grid-column: 1; grid-row: 2; justify-self: center; }
}

/* ── Carte produit cliquable ──────────────────────────────── */
.product-card[data-product] { cursor: pointer; }
.product-card[data-product]:hover .product-card__name { color: var(--primary); }

/* ── Modale détail produit ───────────────────────────────── */
.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.product-modal.is-open { display: flex; }

.product-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 10, 20, 0.6);
    backdrop-filter: blur(6px);
}

.product-modal__box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 24px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    animation: modal-in 0.28s cubic-bezier(.22,.68,0,1.2) both;
}

@keyframes modal-in {
    from { transform: translateY(28px) scale(0.96); }
    to   { transform: none; }
}

.product-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    background: rgba(255,255,255,0.92);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.product-modal__close:hover { background: var(--primary); color: #fff; }

.product-modal__inner {
    display: grid;
    grid-template-columns: 45% 1fr;
    min-height: 360px;
}

.product-modal__gallery {
    position: relative;
    background: #f8f0f6;
    border-radius: 24px 0 0 24px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.product-modal__carousel {
    position: relative;
    width: 100%;
}
.product-modal__carousel .product-carousel__track { height: 100%; }
.product-modal__carousel .carousel-arrow { opacity: 1; }
.product-modal__carousel .product-card__img { height: 100%; object-fit: cover; }

.product-modal__no-img {
    padding: 48px 24px;
    text-align: center;
    color: #bbb;
    font-size: 0.9rem;
    align-self: center;
}

.product-modal__info {
    padding: 40px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-modal__cat {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--secondary);
}

.product-modal__name {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--dark);
}

.product-modal__short {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.55;
    font-style: italic;
}

.product-modal__long {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.75;
    border-top: 1px solid rgba(216, 90, 163, 0.15);
    padding-top: 12px;
}

.product-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0e8f0;
}

.product-modal__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 640px) {
    .product-modal__inner { grid-template-columns: 1fr; }
    .product-modal__gallery {
        border-radius: 24px 24px 0 0;
        min-height: 240px;
    }
    .product-modal__info { padding: 24px 20px 24px; }
}

/* ══════════════════════════════════════════════════════════════
   Barre de cookies
══════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c1f16;
    color: #f5f0eb;
    z-index: 9900;
    box-shadow: 0 -3px 20px rgba(0, 0, 0, .35);
    padding: 18px 0;
    animation: cookie-in .35s ease both;
}

.cookie-banner--hiding {
    animation: cookie-out .35s ease both;
}

@keyframes cookie-in {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cookie-out {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #e8d5c4;
    flex: 1 1 300px;
}

.cookie-banner__text strong {
    color: #fff;
}

.cookie-banner__link {
    color: #e8b89a;
    text-decoration: underline;
    white-space: nowrap;
    margin-left: 4px;
}
.cookie-banner__link:hover { color: #fff; }

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__refuse {
    background: none;
    border: none;
    color: #c4a898;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    white-space: nowrap;
}
.cookie-banner__refuse:hover { color: #fff; }

@media (max-width: 600px) {
    .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
    .cookie-banner__actions { width: 100%; justify-content: space-between; }
}

/* ══════════════════════════════════════════════════════════════
   Page Mon compte
══════════════════════════════════════════════════════════════ */
.account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.account-title {
    font-size: 1.9rem;
    color: var(--primary);
    margin: 0 0 4px;
}
.account-welcome {
    margin: 0;
    color: var(--dark);
    font-size: 1rem;
}

/* Grille 2 colonnes */
.account-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 860px) {
    .account-layout { grid-template-columns: 1fr; }
}

/* Cartes */
.account-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.account-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    background: #faf8f5;
}
.account-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.account-card__action {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    transition: background .2s, color .2s;
}
.account-card__action:hover {
    background: var(--primary);
    color: #fff;
}
.account-card__footer {
    padding: 14px 22px;
    border-top: 1px solid rgba(0,0,0,.07);
    background: #faf8f5;
}
.account-card__link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.account-card__link:hover { text-decoration: underline; }

/* Infos client */
.account-info {
    margin: 0;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.account-info__row {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
    font-size: 0.9rem;
}
.account-info__row:last-child { border-bottom: none; }
.account-info__row--full { flex-direction: column; gap: 4px; }
.account-info dt {
    min-width: 90px;
    color: #8a7060;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: .3px;
    flex-shrink: 0;
}
.account-info dd {
    margin: 0;
    color: #3a2a1e;
    line-height: 1.5;
}
.account-info__empty { color: #bbb; font-style: italic; }

/* Zone vide commandes */
.account-empty {
    padding: 40px 22px;
    text-align: center;
    color: #8a7060;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Liste des commandes */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.order-card {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(0,0,0,.07);
}
.order-card:last-child { border-bottom: none; }

.order-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.order-card__num {
    font-weight: 700;
    font-size: 0.9rem;
    color: #3a2a1e;
}
.order-card__date {
    margin-left: auto;
    font-size: 0.82rem;
    color: #8a7060;
}

/* Badges de statut */
.order-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.order-status--pending   { background: #fff3cd; color: #856404; }
.order-status--paid      { background: #cfe2ff; color: #084298; }
.order-status--shipped   { background: #d1e7dd; color: #0a3622; }
.order-status--cancelled { background: #f8d7da; color: #721c24; }

/* Articles de la commande */
.order-items {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.order-item {
    display: flex;
    gap: 8px;
    font-size: 0.88rem;
    color: #3a2a1e;
    align-items: baseline;
}
.order-item__name { flex: 1; }
.order-item__qty  { color: #8a7060; white-space: nowrap; }
.order-item__price { white-space: nowrap; font-weight: 600; }

.order-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 0.85rem;
}
.order-card__shipping { color: #8a7060; }
.order-card__total    { color: #3a2a1e; font-size: 0.95rem; }

/* Page édition */
.account-edit-header {
    margin-bottom: 28px;
}
.account-back {
    display: inline-block;
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 8px;
    font-weight: 600;
}
.account-back:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   Pages d'erreur (404 / 500)
══════════════════════════════════════════════════════════════ */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}
.error-page__inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}
.error-page__code {
    font-size: 7rem;
    font-weight: 800;
    color: var(--primary);
    opacity: .15;
    line-height: 1;
    margin: 0 0 -20px;
    letter-spacing: -4px;
}
.error-page__title {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 0 16px;
}
.error-page__text {
    color: #6c5c52;
    line-height: 1.7;
    margin: 0 0 32px;
}
.error-page__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   Pages légales (mentions, CGV, confidentialité)
══════════════════════════════════════════════════════════════ */
.legal-page {
    padding: 48px 0 64px;
}

.legal-page__title {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 0 6px;
}

.legal-page__updated {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0 0 40px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(92, 61, 46, .12);
}

.legal-section p,
.legal-section li {
    font-size: 0.93rem;
    line-height: 1.75;
    color: #4a3728;
}

.legal-section ul {
    padding-left: 20px;
    margin: 8px 0;
}

.legal-section ul li {
    margin-bottom: 4px;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 12px 0 16px;
}

.legal-table th {
    background: #faf8f5;
    color: var(--primary);
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    border-bottom: 2px solid rgba(92, 61, 46, .15);
}

.legal-table td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    color: #4a3728;
    vertical-align: top;
}

.legal-table tr:last-child td { border-bottom: none; }

.legal-table tr:hover td { background: #fdfcfb; }

.legal-page__links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.legal-page__links a {
    font-size: 0.88rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.legal-page__links a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .legal-table { font-size: 0.8rem; }
    .legal-table th,
    .legal-table td { padding: 7px 10px; }
}

/* ── Modal confirmation ajout panier ──────────────────────── */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.cart-modal.is-open { display: flex; }

.cart-modal__backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
}

.cart-modal__box {
    position: relative;
    background: #ffffff !important;
    z-index: 10000;
    border-radius: 16px;
    padding: 40px 36px 32px;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,.18);
    animation: modal-in .28s cubic-bezier(.22,.68,0,1.2) both;
}

.cart-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.cart-modal__close:hover { background: var(--primary); color: #fff; }

.cart-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-light, #f5ede6);
    color: var(--primary);
    margin-bottom: 16px;
}

.cart-modal__label {
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 6px;
}

.cart-modal__product {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text, #2c2c2c);
    margin: 0 0 28px;
    min-height: 1.4em;
}

.cart-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.cart-modal__actions .btn { flex: 1 1 140px; }

@media (max-width: 480px) {
    .cart-modal__box { padding: 32px 20px 24px; }
    .cart-modal__actions { flex-direction: column; }
    .cart-modal__actions .btn { flex: none; width: 100%; }
}
