@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600;700&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap");

/* =============================================================
   YVES SOFER — DESIGN SYSTEM  (v20260518-1)
   Refonte complète : moderne, coloré, vivant, premium
   ============================================================= */

/* ---------------------------------------------------------------
   1. VARIABLES
--------------------------------------------------------------- */
:root {
    /* Couleurs principales */
    --ink:            #0f0e17;
    --ink-soft:       #64748b;
    --ink-muted:      #94a3b8;
    --ink-inverse:    #f8faff;

    /* Fonds */
    --bg:             #fffcf7;
    --bg-warm:        #fff8ed;
    --surface:        #ffffff;
    --surface-raised: rgba(255, 255, 255, 0.96);
    --surface-dark:   #0f172a;

    /* Accents couleur — palette riche */
    --coral:          #ef4444;
    --coral-dark:     #dc2626;
    --coral-light:    #fca5a5;
    --orange:         #f97316;
    --gold:           #f59e0b;
    --gold-dark:      #d97706;
    --gold-light:     #fde68a;
    --emerald:        #10b981;
    --emerald-dark:   #059669;
    --purple:         #8b5cf6;
    --purple-dark:    #7c3aed;
    --blue:           #3b82f6;
    --rose:           #f43f5e;

    /* Header */
    --header-from:    #0f172a;
    --header-to:      #1e3a5f;

    /* Typographie */
    --font-sans:    "Plus Jakarta Sans", system-ui, sans-serif;
    --font-display: "Fraunces", "Georgia", serif;
    --font-calli:   "Dancing Script", cursive;

    /* Ombres */
    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 20px 56px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.16);

    /* Rayons */
    --r-xs:  8px;
    --r-sm:  12px;
    --r-md:  18px;
    --r-lg:  24px;
    --r-xl:  32px;
    --r-2xl: 40px;

    /* Transitions */
    --t-fast:   0.15s ease;
    --t-base:   0.22s ease;
    --t-slow:   0.38s ease;
    --t-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------------------------------------------------------------
   2. RESET & BASE
--------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.storefront-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(239, 68, 68, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(239, 68, 68, 0.45);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------------------------------------
   3. SHELL & TOPBAR
--------------------------------------------------------------- */
.storefront-shell {
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0 60px;
    display: grid;
    gap: 0;
}

.storefront-topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    margin-bottom: 14px;
    padding: 11px 24px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: rgba(248, 250, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.storefront-topbar span { white-space: nowrap; }

/* ---------------------------------------------------------------
   4. HEADER
--------------------------------------------------------------- */
.storefront-header {
    position: sticky;
    top: 14px;
    z-index: 100;
    padding: 0 22px;
    border-radius: var(--r-xl);
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transition: background 0.38s ease, border-color 0.38s ease, box-shadow 0.38s ease, backdrop-filter 0.38s ease;
}

.storefront-header.is-scrolled {
    background: rgba(255, 248, 230, 0.30);
    border-color: rgba(255, 220, 170, 0.22);
    box-shadow: 0 4px 28px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.storefront-header__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 70px;
}

/* Brand */
.storefront-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Logo image (remplace le mark texte) */
.storefront-brand__logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    transition: var(--t-spring);
}

.storefront-brand:hover .storefront-brand__logo {
    transform: scale(1.04);
}

.storefront-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    transition: var(--t-spring);
}

.storefront-brand:hover .storefront-brand__mark {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.5);
}

.storefront-brand__copy { display: grid; gap: 2px; }

.storefront-brand__copy strong {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    line-height: 1;
}

.storefront-brand__copy small {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(248, 250, 255, 0.55);
}

/* Nav */
.storefront-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    overflow: hidden;
}

.storefront-nav a,
.storefront-nav button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1a1a2e;
    font-family: var(--font-calli);
    font-size: 1.45rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
    transition: background var(--t-base), color var(--t-base);
}

.storefront-nav a:hover,
.storefront-nav a.is-current,
.storefront-nav button:hover {
    background: rgba(26, 26, 46, 0.1);
    color: #111827;
}

.storefront-nav a.is-current {
    background: rgba(26, 26, 46, 0.14);
    color: #111827;
    font-weight: 700;
}

/* Boutons Email & WhatsApp dans la nav */
.nav-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    font-family: var(--font-calli);
    font-size: 1.1rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.nav-btn-contact:hover {
    background: transparent !important;
    transform: translateY(-2px);
    filter: brightness(1.15);
}
.nav-btn-mail {
    color: #fff !important;
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%) !important;
    box-shadow: 0 3px 10px rgba(99, 102, 241, 0.38);
    text-shadow: none !important;
}
.nav-btn-mail:hover {
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.52) !important;
}
.nav-btn-whatsapp {
    color: #fff !important;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.38);
    text-shadow: none !important;
}
.nav-btn-whatsapp:hover {
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.52) !important;
}

/* Actions header (droite) */
.storefront-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.storefront-search-flyout,
.storefront-profile,
.storefront-cart-wrap { position: relative; }

.storefront-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px; min-width: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(248, 250, 255, 0.85);
    cursor: pointer;
    transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.storefront-icon-action:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

.storefront-icon-action i { font-size: 1.05rem; }

.storefront-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 42px; height: 42px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.38);
    cursor: pointer;
    transition: background var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.storefront-cart i { font-size: 1.05rem; }

.storefront-cart strong {
    position: absolute;
    top: -4px; right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
}

.storefront-cart:hover {
    background: linear-gradient(135deg, var(--coral-dark) 0%, var(--orange) 100%);
    box-shadow: 0 8px 22px rgba(239, 68, 68, 0.52);
    transform: translateY(-1px);
}

/* Flyout search */
.storefront-search-panel,
.storefront-profile__menu,
.storefront-cart-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 200;
}

.storefront-search-panel {
    display: none;
    width: min(94vw, 460px);
}

.storefront-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-xl);
}

.storefront-search input {
    border: 0;
    background: transparent;
    padding: 0 16px;
    min-height: 52px;
    font-size: 0.98rem;
    color: var(--ink);
}

.storefront-search input:focus { outline: 0; }

.storefront-search button {
    min-width: 100px;
    min-height: 52px;
    border: 0;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.storefront-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.4);
}

/* Flyout panels */
.storefront-profile__menu {
    display: none;
    min-width: 200px;
    padding: 8px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-xl);
}

.storefront-profile__menu[hidden],
.storefront-search-panel[hidden],
.storefront-cart-panel[hidden] { display: none !important; }

.storefront-profile.is-open .storefront-profile__menu,
.storefront-search-flyout.is-open .storefront-search-panel,
.storefront-cart-wrap.is-open .storefront-cart-panel {
    display: grid;
    gap: 4px;
}

.storefront-profile__link {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: var(--r-sm);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
    transition: background var(--t-fast);
}

.storefront-profile__link:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--coral-dark);
}

.storefront-profile__form { display: block; }

.storefront-profile__link--button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

/* Panier mini */
.storefront-cart-panel {
    display: none;
    width: min(94vw, 380px);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.storefront-cart-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    font-weight: 800;
    font-size: 0.92rem;
}

.storefront-cart-panel__head a {
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 700;
}

.storefront-cart-panel__head a:hover { text-decoration: underline; }

.storefront-cart-panel__empty {
    padding: 24px 18px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

.storefront-cart-panel__lines { display: grid; }

.storefront-mini-cart-line {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.storefront-mini-cart-line__media {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--bg-warm);
}

.storefront-mini-cart-line__media img {
    width: 100%; height: 100%;
    object-fit: contain;
}

.storefront-mini-cart-line__content {
    flex: 1;
    display: grid;
    gap: 4px;
}

.storefront-mini-cart-line__title {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}

.storefront-mini-cart-line__title:hover { color: var(--coral); }

.storefront-mini-cart-line__price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--coral-dark);
}

.storefront-mini-cart-line__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.storefront-mini-cart-line__qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: var(--bg);
    color: var(--ink);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background var(--t-fast);
}

.storefront-mini-cart-line__qty:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.storefront-mini-cart-line__count { font-size: 0.84rem; font-weight: 800; min-width: 20px; text-align: center; }
.storefront-mini-cart-line__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    margin-left: 4px;
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    transition: color var(--t-fast);
}
.storefront-mini-cart-line__remove:hover { color: var(--coral); }

.storefront-cart-panel__footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    display: grid;
    gap: 10px;
}

.storefront-cart-panel__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.storefront-cart-panel__total strong { font-size: 1.05rem; color: var(--coral-dark); }

.storefront-cart-panel__cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Menu toggle mobile */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px; min-width: 42px;
    border: 1px solid rgba(26, 26, 46, 0.18);
    border-radius: 999px;
    background: rgba(26, 26, 46, 0.08);
    color: #1a1a2e;
    font-size: 1.15rem;
    cursor: pointer;
    transition: background var(--t-base);
}

.menu-toggle:hover { background: rgba(26, 26, 46, 0.16); }

/* ---------------------------------------------------------------
   5. BOUTONS
--------------------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--r-lg);
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(0.98); }

.button.primary {
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.32);
}

.button.primary:hover {
    background: linear-gradient(135deg, var(--coral-dark) 0%, var(--coral) 100%);
    box-shadow: 0 14px 36px rgba(239, 68, 68, 0.44);
}

.button.ghost {
    background: rgba(15, 23, 42, 0.06);
    color: var(--ink);
    border: 1px solid rgba(15, 23, 42, 0.14);
    box-shadow: none;
}

.button.ghost:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.button.outline {
    background: transparent;
    color: var(--coral);
    border: 2px solid var(--coral);
}

.button.outline:hover {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.button.emerald {
    background: linear-gradient(135deg, var(--emerald) 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.button.gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.button.sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.84rem;
    border-radius: var(--r-md);
}

.button.lg {
    min-height: 58px;
    padding: 0 32px;
    font-size: 1.02rem;
    border-radius: var(--r-xl);
}

.inline-form { display: inline; }

.storefront-action--admin {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

/* ---------------------------------------------------------------
   6. PAGE CONTENT & LAYOUT
--------------------------------------------------------------- */
.page-content {
    display: grid;
    gap: 32px;
    padding-top: 32px;
}

.page-section { display: grid; gap: 20px; }

/* ---------------------------------------------------------------
   7. TYPOGRAPHY HELPERS
--------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coral);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 20px; height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--coral) 0%, var(--gold) 100%);
    flex-shrink: 0;
}

.section-heading { display: grid; gap: 8px; margin-bottom: 20px; }

.section-heading p,
.panel p,
.page-hero p,
.catalog-hero p,
.empty-state p,
.success-panel p,
.footer-grid p { margin: 0; color: var(--ink-soft); }

.section-heading--between {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }

/* ---------------------------------------------------------------
   8. PANNEAUX & SURFACES
--------------------------------------------------------------- */
.panel,
.page-hero,
.empty-state,
.success-panel,
.catalog-hero,
.auth-panel,
.spotlight-card,
.breadcrumbs,
.cart-steps {
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--r-xl);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.panel,
.page-hero,
.success-panel,
.empty-state,
.catalog-hero,
.spotlight-card { padding: 32px; }

/* ---------------------------------------------------------------
   9. CARTES PRODUITS
--------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--t-spring), box-shadow var(--t-slow);
}

.product-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.product-card__media {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    background: linear-gradient(135deg, #fef9f0 0%, #fdf4e8 100%);
}

.product-card__media img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-card__media img {
    transform: scale(1.05);
}

.product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: rgba(120, 80, 20, 0.4);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
}

.product-card__topline {
    position: absolute;
    top: 10px; left: 10px; right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    z-index: 1;
}

.product-card__category {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    color: rgba(248, 250, 255, 0.92);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

@keyframes burst-pulse {
  0%, 100% { transform: scale(1) rotate(-4deg); }
  50%       { transform: scale(1.1) rotate(4deg); }
}

.product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.product-badge--warm {
    /* Starburst explosion */
    padding: 0;
    border-radius: 0;
    min-height: unset;
    width: 56px;
    height: 56px;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    background: linear-gradient(135deg, #fcd34d 0%, #fb923c 50%, #ef4444 100%);
    box-shadow: none;
    clip-path: polygon(50% 0%, 63% 18%, 85% 15%, 82% 37%, 100% 50%, 82% 63%, 85% 85%, 63% 82%, 50% 100%, 37% 82%, 15% 85%, 18% 63%, 0% 50%, 18% 37%, 15% 15%, 37% 18%);
    font-size: 0.74rem;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.22);
    filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.55));
    animation: burst-pulse 2.8s ease-in-out infinite;
}

.product-badge--soft {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple-dark);
    box-shadow: none;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.product-badge--green {
    background: linear-gradient(135deg, var(--emerald) 0%, #14b8a6 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

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

.product-card__meta { display: grid; gap: 6px; flex: 1; }

.product-card__meta h3 {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.product-card__meta h3 a:hover { color: var(--coral); }

.product-card__meta p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.product-card__pricing strong {
    font-family: var(--font-display);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--coral-dark);
}

.product-card__pricing span {
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: line-through;
}

.product-card__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.product-card__signals span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: var(--ink-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.product-card__footer {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.product-card__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border: 0;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.32);
    transition: transform var(--t-spring), box-shadow var(--t-base);
    text-decoration: none;
}

.product-card__icon-button:hover {
    transform: scale(1.12) rotate(-3deg);
    box-shadow: 0 8px 22px rgba(239, 68, 68, 0.48);
}

.product-card__quick-add { margin: 0; }

.product-card__link {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: var(--r-md);
    background: rgba(15, 23, 42, 0.05);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
    transition: background var(--t-base), color var(--t-base);
}

.product-card__link:hover {
    background: var(--ink);
    color: #fff;
}

/* ---------------------------------------------------------------
   10. FORMULAIRES
--------------------------------------------------------------- */
.field {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
}

.field span, .field label { color: var(--ink); }

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.94rem;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.field textarea {
    min-height: 130px;
    padding: 14px 16px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ---------------------------------------------------------------
   11. HERO HOME (page-hero standard)
--------------------------------------------------------------- */
.page-hero {
    display: grid;
    padding: 32px;
}

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 4rem); }

/* ---------------------------------------------------------------
   12. CATALOGUE
--------------------------------------------------------------- */
.catalog-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e0 100%);
    border-color: rgba(245, 158, 11, 0.18);
}

.catalog-hero h1 { font-size: clamp(2rem, 4.5vw, 3.8rem); }

.catalog-hero p { color: var(--ink-soft); }

.catalog-hero__stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.catalog-hero__stats article {
    display: grid;
    gap: 3px;
    padding: 14px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.8);
    min-width: 110px;
    text-align: center;
}

.catalog-hero__stats strong {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--coral-dark);
}

.catalog-hero__stats span {
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.category-scroller {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 22px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--r-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 800;
    transition: transform var(--t-base), background var(--t-base), border-color var(--t-base), box-shadow var(--t-base), color var(--t-base);
}

.category-pill:hover,
.category-pill.is-current {
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.28);
}

.category-pill strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px; height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    font-size: 0.72rem;
    color: var(--ink-soft);
}

.category-pill.is-current strong,
.category-pill:hover strong {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Toolbar catalogue */
.catalog-toolbar {
    padding: 22px 24px;
}

.filter-summary { display: grid; gap: 8px; margin-bottom: 18px; }
.filter-summary h2 { font-size: 1.5rem; }

.catalog-filters {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}

.active-filter {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--coral-dark);
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.result-chip {
    display: grid;
    gap: 2px;
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.result-chip strong {
    font-family: var(--font-display);
    color: var(--coral-dark);
}

.result-chip span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---------------------------------------------------------------
   13. FICHE PRODUIT
--------------------------------------------------------------- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.breadcrumbs a:hover { color: var(--coral); }

.product-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
}

.product-panel h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); }

.product-gallery { display: grid; gap: 12px; }

.gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #fef9f0 0%, #fdf4e8 100%);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.gallery-main img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 20px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 72px; height: 72px;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 2px solid rgba(15, 23, 42, 0.08);
    cursor: pointer;
    background: var(--bg-warm);
    transition: border-color var(--t-base);
}

.gallery-thumb.is-active,
.gallery-thumb:hover { border-color: var(--coral); }

.gallery-thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 4px;
}

.product-pricing {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
}

.product-pricing strong {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--coral-dark);
}

.product-pricing span { color: var(--ink-muted); text-decoration: line-through; font-size: 1.1rem; }

.detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple-dark);
    font-size: 0.76rem;
    font-weight: 800;
    border: 1px solid rgba(139, 92, 246, 0.18);
}

.product-info { display: grid; gap: 18px; }

.product-description { line-height: 1.75; color: var(--ink-soft); }

/* Variations */
.variation-grid { display: flex; flex-wrap: wrap; gap: 8px; }

.variation-btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--t-base);
}

.variation-btn.is-selected,
.variation-btn:hover {
    border-color: var(--coral);
    background: rgba(239, 68, 68, 0.08);
    color: var(--coral-dark);
}

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

.quantity-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--t-base);
}

.quantity-btn:hover { border-color: var(--coral); background: rgba(239, 68, 68, 0.08); color: var(--coral-dark); }

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    border-radius: var(--r-sm);
    font-weight: 800;
    font-size: 1rem;
    padding: 8px;
}

/* ---------------------------------------------------------------
   14. PANIER
--------------------------------------------------------------- */
.cart-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
}

.cart-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--ink-soft);
    font-size: 0.85rem;
    font-weight: 800;
}

.cart-step.is-current {
    background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.cart-step.is-done {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald-dark);
}

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

.cart-lines { display: grid; gap: 12px; }

.cart-line {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-xs);
}

.cart-line__media {
    width: 88px; height: 88px;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--bg-warm);
}

.cart-line__media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-line__info { display: grid; gap: 6px; }
.cart-line__name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.cart-line__name:hover { color: var(--coral); }
.cart-line__cat { color: var(--ink-soft); font-size: 0.8rem; font-weight: 700; }

.cart-line__controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-line__price {
    text-align: right;
    display: grid;
    gap: 4px;
}

.cart-line__price strong {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--coral-dark);
}

.cart-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cart-summary {
    position: sticky;
    top: 100px;
    padding: 24px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 14px;
}

.cart-summary h2 { font-size: 1.4rem; }

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.9rem;
    font-weight: 700;
}

.summary-line span { color: var(--ink-soft); }
.summary-line strong { font-family: var(--font-display); }
.summary-line--total { font-size: 1.1rem; border-bottom: 0; }
.summary-line--total strong { color: var(--coral-dark); font-size: 1.5rem; }

.summary-note { padding: 12px 14px; border-radius: var(--r-md); background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.14); }
.summary-note p { color: var(--emerald-dark); font-size: 0.82rem; font-weight: 700; }

/* ---------------------------------------------------------------
   15. CHECKOUT
--------------------------------------------------------------- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.checkout-form { display: grid; gap: 20px; }

.checkout-section {
    padding: 24px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 16px;
}

.checkout-section h2 { font-size: 1.3rem; }

.shipping-methods { display: grid; gap: 10px; }

.shipping-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    background: var(--surface);
    cursor: pointer;
    transition: border-color var(--t-base), background var(--t-base);
}

.shipping-option:has(input:checked),
.shipping-option:hover { border-color: var(--coral); background: rgba(239, 68, 68, 0.04); }

.shipping-option input { accent-color: var(--coral); }
.shipping-option strong { flex: 1; font-size: 0.9rem; }
.shipping-option em { color: var(--coral-dark); font-style: normal; font-weight: 800; }

/* ---------------------------------------------------------------
   16. AUTH
--------------------------------------------------------------- */
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.auth-panel {
    padding: 36px;
    background: var(--surface);
}

.auth-panel h1 { font-size: clamp(2rem, 4vw, 3rem); }

.auth-sidecar {
    padding: 36px;
    border-radius: var(--r-xl);
    background: linear-gradient(145deg, var(--header-from) 0%, var(--header-to) 100%);
    color: var(--ink-inverse);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-sidecar h2 { color: #fff; font-size: 1.8rem; }
.auth-sidecar p { color: rgba(248, 250, 255, 0.78); margin: 0; }

.auth-form { display: grid; gap: 16px; }

.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.88rem;
    font-weight: 700;
}

.auth-links a { color: var(--coral); }
.auth-links a:hover { text-decoration: underline; }

.auth-points { display: grid; gap: 10px; margin-top: 8px; }
.auth-points p { color: rgba(248, 250, 255, 0.75); font-size: 0.88rem; }

/* ---------------------------------------------------------------
   17. COMPTE
--------------------------------------------------------------- */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.account-nav {
    padding: 20px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 4px;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    transition: background var(--t-fast), color var(--t-fast);
}

.account-nav a:hover,
.account-nav a.is-current { background: rgba(239, 68, 68, 0.08); color: var(--coral-dark); }

.account-highlights { display: grid; gap: 14px; }

.account-highlight {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.account-highlight strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--coral-dark);
}

.account-highlight span { color: var(--ink-soft); font-size: 0.82rem; font-weight: 700; }

/* ---------------------------------------------------------------
   18. CONTACT
--------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    align-items: start;
}

.contact-form {
    padding: 32px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 16px;
}

.contact-copy { display: grid; gap: 12px; }

.contact-card {
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    display: grid;
    gap: 8px;
}

.contact-card h3 { font-size: 1rem; }

.contact-highlight {
    padding: 20px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(249, 115, 22, 0.06) 100%);
    border: 1px solid rgba(239, 68, 68, 0.14);
    display: grid;
    gap: 8px;
}

.contact-highlight h3 { font-size: 1rem; color: var(--coral-dark); }
.contact-highlight p { font-size: 0.88rem; }

/* Trust grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trust-grid article {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: var(--r-md);
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
    text-align: center;
}

.trust-grid i { font-size: 1.4rem; color: var(--gold-dark); }
.trust-grid strong { font-size: 0.88rem; font-weight: 800; }
.trust-grid span { color: var(--ink-soft); font-size: 0.78rem; }

/* ---------------------------------------------------------------
   19. FLASH
--------------------------------------------------------------- */
.flash {
    padding: 14px 20px;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 700;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.flash-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-dark);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--coral-dark);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ---------------------------------------------------------------
   20. EMPTY STATE
--------------------------------------------------------------- */
.empty-state {
    display: grid;
    gap: 16px;
    padding: 48px 32px;
    text-align: center;
    justify-items: center;
    background: linear-gradient(135deg, #fff8f0 0%, #fff0e0 100%);
}

.empty-state h2, .empty-state h3 { color: var(--ink); }

/* ---------------------------------------------------------------
   21. SUCCESS
--------------------------------------------------------------- */
.success-panel {
    display: grid;
    gap: 18px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(20, 184, 166, 0.06) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.success-panel h1 { color: var(--emerald-dark); font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

.order-summary { padding: 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(15, 23, 42, 0.07); }

/* ---------------------------------------------------------------
   22. SPOTLIGHT / SECTIONS VITRINE
--------------------------------------------------------------- */
.spotlight-card { padding: 28px; }

.spotlight-card--dark {
    background: linear-gradient(145deg, var(--header-from) 0%, var(--header-to) 100%);
    color: var(--ink-inverse);
    border-color: rgba(255, 255, 255, 0.05);
}

.spotlight-card--dark h2,
.spotlight-card--dark .eyebrow { color: var(--ink-inverse); }

.spotlight-card--dark p { color: rgba(248, 250, 255, 0.75); }

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.spotlight-list { display: grid; gap: 10px; }

.spotlight-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--t-base);
}

.spotlight-item:hover { background: rgba(255, 255, 255, 0.13); }
.spotlight-item strong { color: var(--gold); }

/* Value cards */
.value-ribbon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.value-card {
    padding: 24px;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-spring), box-shadow var(--t-slow);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-card h3 { margin-bottom: 10px; font-size: 1.08rem; }
.value-card p { color: var(--ink-soft); font-size: 0.9rem; }

.value-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(249, 115, 22, 0.12) 100%);
    color: var(--coral);
    font-size: 1.3rem;
    margin-bottom: 14px;
}

/* ---------------------------------------------------------------
   23. HOME HERO (home-hero)
--------------------------------------------------------------- */
.home-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    padding: 32px;
    background: linear-gradient(145deg, #fff8f0 0%, #fffaf5 100%);
}

.home-hero__copy, .home-hero__aside { display: grid; gap: 18px; }
.home-hero h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); }

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

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-metric {
    display: grid;
    gap: 4px;
    padding: 16px 14px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    text-align: center;
}

.hero-metric strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--coral-dark); }
.hero-metric span { font-size: 0.76rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; }

.hero-mini-grid { display: grid; gap: 10px; }

.hero-mini-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.hero-mini-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.hero-mini-card span { font-size: 0.74rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-mini-card strong { font-family: var(--font-display); font-size: 1.02rem; }
.hero-mini-card em { color: var(--coral); font-style: normal; font-weight: 800; }

/* Hero feature */
.hero-category-list, .hero-category-grid { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1.5px solid rgba(15, 23, 42, 0.1);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
    transition: all var(--t-base);
}

.hero-category-pill:hover {
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.28);
}

.hero-category-pill strong {
    min-width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.07);
    font-size: 0.72rem;
    color: var(--ink-soft);
}

.hero-feature {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: var(--r-xl);
    background: var(--header-from);
    color: var(--ink-inverse);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform var(--t-slow), box-shadow var(--t-slow);
}

.hero-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

.hero-feature__media { position: absolute; inset: 0; }

.hero-feature__media img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.hero-feature__body {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    min-height: 320px;
    padding: 24px;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 15, 30, 0.85) 100%);
}

.hero-feature__body span { color: rgba(248, 250, 255, 0.72); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-feature__body strong { font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.hero-feature__body p { margin: 6px 0 0; color: rgba(248, 250, 255, 0.82); font-size: 0.95rem; }

/* Category showcase */
.category-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.category-tile {
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-spring), box-shadow var(--t-slow), border-color var(--t-base);
}

.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(239, 68, 68, 0.2); }
.category-tile span { font-size: 0.72rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; }
.category-tile strong { font-family: var(--font-display); font-size: 1.1rem; }
.category-tile em { color: var(--coral); font-style: normal; font-weight: 800; }

/* ---------------------------------------------------------------
   24. FOOTER
--------------------------------------------------------------- */
.storefront-footer {
    margin-top: 40px;
    padding: 36px;
    border-radius: var(--r-2xl);
    background: linear-gradient(145deg, var(--header-from) 0%, var(--header-to) 100%);
    color: var(--ink-inverse);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.footer-grid h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 14px;
}

.footer-grid p, .footer-grid a { color: rgba(248, 250, 255, 0.65); font-size: 0.88rem; line-height: 1.8; }
.footer-grid a { display: block; }
.footer-grid a:hover { color: var(--gold); }

.storefront-footer__note {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(248, 250, 255, 0.45);
    font-size: 0.82rem;
    font-weight: 600;
}

/* ---------------------------------------------------------------
   25. PURCHASE NOTE / LINE META
--------------------------------------------------------------- */
.purchase-note { font-size: 0.84rem; color: var(--ink-soft); }
.line-meta-pill {
    min-height: 28px;
    padding: 0 10px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--ink-soft);
}

/* ---------------------------------------------------------------
   26. ADMIN (minimal, fonctionnel)
--------------------------------------------------------------- */
.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    padding: 20px;
    background: var(--header-from);
    color: var(--ink-inverse);
    display: grid;
    align-content: start;
    gap: 4px;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--r-sm);
    color: rgba(248, 250, 255, 0.72);
    font-size: 0.86rem;
    font-weight: 700;
    transition: background var(--t-fast), color var(--t-fast);
}

.admin-sidebar a:hover,
.admin-sidebar a.is-current { background: rgba(255, 255, 255, 0.1); color: #fff; }

.admin-content { padding: 24px; display: grid; gap: 24px; align-content: start; }

.admin-card {
    padding: 24px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: var(--shadow-sm);
}

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th, .admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    font-size: 0.88rem;
    text-align: left;
}

.admin-table th { font-weight: 800; color: var(--ink-soft); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; }
.admin-table tr:hover td { background: rgba(15, 23, 42, 0.02); }

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.status-pill.active, .status-pill.paid, .status-pill.completed { background: rgba(16, 185, 129, 0.12); color: var(--emerald-dark); }
.status-pill.pending { background: rgba(245, 158, 11, 0.12); color: var(--gold-dark); }
.status-pill.cancelled, .status-pill.inactive { background: rgba(239, 68, 68, 0.1); color: var(--coral-dark); }

/* ---------------------------------------------------------------
   27. REVEAL ANIMATIONS
--------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------------------
   28. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1280px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .checkout-layout, .cart-layout { grid-template-columns: 1fr 320px; }
}

@media (max-width: 1024px) {
    .home-hero { grid-template-columns: 1fr; }
    .catalog-hero { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .spotlight-grid { grid-template-columns: 1fr; }
    .auth-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .catalog-filters { grid-template-columns: 1fr 1fr; }
    .value-ribbon { grid-template-columns: 1fr 1fr; }
    .category-showcase { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .storefront-shell { width: calc(100% - 16px); padding-bottom: 40px; }
    .storefront-topbar { display: none; }
    .storefront-header { top: 8px; padding: 0 12px; }
    .storefront-header__row { grid-template-columns: auto 1fr auto; min-height: 58px; }
    .storefront-brand__logo { height: 40px; }
    .storefront-nav { display: none; }
    .storefront-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 0 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .storefront-nav.is-open a,
    .storefront-nav.is-open button { border-radius: var(--r-sm); font-size: 1rem; min-height: 44px; }
    .storefront-search-flyout,
    .storefront-profile { display: none; }
    .menu-toggle { display: inline-flex; }
    .panel, .page-hero, .success-panel, .empty-state,
    .catalog-hero, .spotlight-card, .auth-panel { padding: 20px; }
    .contact-form { padding: 20px; }
    .checkout-section { padding: 16px; }
    .cart-summary { position: static; padding: 16px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .product-panel { grid-template-columns: 1fr; padding: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .hero-metrics { grid-template-columns: 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .catalog-filters { grid-template-columns: 1fr; }
    .value-ribbon { grid-template-columns: 1fr; }
    .category-showcase { grid-template-columns: 1fr; }
    .auth-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .catalog-hero { gap: 16px; }
    .catalog-hero__stats { flex-wrap: wrap; gap: 8px; }
    .catalog-hero__stats article { min-width: 80px; padding: 10px 12px; }
    .cart-steps { gap: 6px; padding: 12px 14px; overflow-x: auto; flex-wrap: nowrap; }
    .cart-step { font-size: 0.78rem; min-height: 32px; padding: 0 10px; white-space: nowrap; flex-shrink: 0; }
    .page-content { gap: 20px; padding-top: 20px; }
    .storefront-footer { padding: 24px 20px; margin-top: 24px; }
    .footer-grid { margin-bottom: 20px; gap: 18px; }
    .category-scroller { padding: 14px 16px; gap: 8px; }
    .category-pill { min-height: 34px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    .storefront-shell { width: calc(100% - 12px); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .storefront-cart-panel, .storefront-search-panel { right: -10px; left: -10px; width: auto; }
    .storefront-search-panel { width: calc(100vw - 24px); }
    .footer-grid { grid-template-columns: 1fr; }
    h1 { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
    h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem); }
    .panel, .page-hero, .success-panel, .empty-state,
    .catalog-hero, .spotlight-card, .auth-panel { padding: 16px; }
    .product-panel { padding: 16px; }
    .product-pricing strong { font-size: 1.8rem; }
    .gallery-thumbs { gap: 6px; }
    .gallery-thumb { width: 60px; height: 60px; }
    .cart-line { grid-template-columns: 72px 1fr auto; gap: 10px; padding: 12px; }
    .cart-line__media { width: 72px; height: 72px; }
    .storefront-actions { gap: 5px; }
    .storefront-icon-action { width: 38px; height: 38px; min-width: 38px; }
    .storefront-cart { font-size: 0.9rem; }
    .contact-layout { grid-template-columns: 1fr; }
    .spotlight-grid { grid-template-columns: 1fr; }
    .auth-panel h1 { font-size: 1.8rem; }
    .breadcrumbs { font-size: 0.78rem; padding: 10px 14px; }
}

/* =========================================================
   SUIVI COMMANDE CLIENT — order tracking page
   ========================================================= */

/* Page wrapper */
.order-tracking-page {
    max-width: 960px;
    margin: 2rem auto 4rem;
    padding: 0 1.5rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--color-muted, #6b7280);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color .2s;
}
.back-link:hover { color: var(--color-primary, #111); }

/* Annulation */
.tracking-cancelled-banner {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    border-radius: .75rem;
    padding: 1rem 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Pipeline visuel */
.tracking-pipeline {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.5rem 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    overflow-x: auto;
    gap: 0;
}
.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
    min-width: 80px;
}
.tracking-step__dot {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    border: 2px solid transparent;
    transition: all .3s;
}
.tracking-step--done .tracking-step__dot   { background: #d1fae5; color: #059669; border-color: #6ee7b7; }
.tracking-step--current .tracking-step__dot{ background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; box-shadow: 0 0 0 4px #eff6ff; }
.tracking-step--todo .tracking-step__dot   { background: #f3f4f6; color: #9ca3af; border-color: #e5e7eb; }
.tracking-step__label {
    font-size: .7rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}
.tracking-step--done .tracking-step__label    { color: #059669; }
.tracking-step--current .tracking-step__label { color: #1d4ed8; }
.tracking-step--todo .tracking-step__label    { color: #9ca3af; }

.tracking-connector {
    flex: 1;
    height: 2px;
    min-width: 20px;
    margin-bottom: 1.2rem;
}
.tracking-connector--done { background: #6ee7b7; }
.tracking-connector--todo { background: #e5e7eb; }

/* Grille détails commande */
.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.order-items-panel,
.order-tracking-card { grid-column: 1 / -1; }

/* Carte suivi colis */
.order-tracking-card {
    border: 2px solid #bfdbfe;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 60%);
}
.order-tracking-card--pending {
    border-color: #e5e7eb;
    background: #fafafa;
}
.tracking-info { display: flex; flex-direction: column; gap: .75rem; margin-top: .5rem; }
.tracking-info__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .5rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.tracking-info__label { font-size: .85rem; color: #6b7280; }
.tracking-info__value { font-size: .9rem; font-weight: 600; color: #111; }
.tracking-number-mono { font-family: monospace; letter-spacing: .05em; font-size: .95rem; }
.tracking-cta {
    align-self: flex-start;
    margin-top: .5rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.tracking-pending-msg {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #6b7280;
    font-size: .9rem;
    padding: .75rem 0;
}

/* Badges suivi dans la liste commandes */
.tracking-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}
.tracking-badge--active  { background: #d1fae5; color: #065f46; }
.tracking-badge--pending { background: #f3f4f6; color: #9ca3af; }

/* Badges statut commande (côté client, réutilise les mêmes noms) */
.order-status {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 99px;
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
}
.order-status--pending   { background: #fef3c7; color: #b45309; }
.order-status--paid      { background: #dbeafe; color: #1d4ed8; }
.order-status--preparing { background: #ede9fe; color: #6d28d9; }
.order-status--shipped   { background: #cffafe; color: #0e7490; }
.order-status--completed { background: #d1fae5; color: #065f46; }
.order-status--cancelled { background: #fee2e2; color: #b91c1c; }

/* spec-row total */
.spec-row--total span,
.spec-row--total strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
}

/* Responsive */
@media (max-width: 700px) {
    .order-detail-grid { grid-template-columns: 1fr; }
    .tracking-pipeline { gap: 0; padding: 1rem .75rem; }
    .tracking-step { min-width: 60px; }
    .tracking-step__label { font-size: .62rem; }
}

/* =========================================================
   PAIEMENT — page de choix du mode de paiement
   ========================================================= */

.payment-layout {
    max-width: 960px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

/* Panel méthodes */
.payment-methods-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Méthode individuelle */
.payment-method {
    border: 1px solid #e5e7eb;
    border-radius: .875rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .875rem;
    transition: border-color .2s, box-shadow .2s;
}
.payment-method:hover {
    border-color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(99,102,241,.06);
}

.payment-method__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.payment-method__logos {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.payment-method__logos img { height: 28px; }
.payment-method__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.paypal-title { color: #003087; }

.payment-method__brands {
    display: flex;
    gap: .35rem;
}
.card-brand {
    display: inline-block;
    padding: .15rem .45rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
}

.payment-method__desc {
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.payment-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: .9rem 1.5rem;
}

.payment-method__note {
    font-size: .78rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
}

/* Séparateur "ou" */
.payment-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #9ca3af;
    font-size: .85rem;
}
.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Bande de confiance */
.payment-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
    padding: 1rem 0 0;
    border-top: 1px solid #f3f4f6;
    font-size: .8rem;
    color: #6b7280;
}
.payment-trust-row span {
    display: flex;
    align-items: center;
    gap: .3rem;
}
.payment-trust-row i { color: #10b981; }

/* Récap total mis en valeur */
.price-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
}

.summary-back {
    margin-top: .5rem;
    width: 100%;
    justify-content: center;
}

/* PayPal button container sizing */
#paypal-button-container { min-height: 48px; }

/* Responsive */
@media (max-width: 800px) {
    .payment-layout {
        grid-template-columns: 1fr;
    }
}
