/* =========================================================
   Boutique — thème blanc & rose, mobile d'abord
   ========================================================= */
:root {
    --rose-50: #fff7fa;
    --rose-100: #ffeaf1;
    --rose-200: #ffd2e1;
    --rose-300: #ffa9c6;
    --rose-400: #f26d9b;
    --rose-500: #e0457b;
    --rose-600: #d6336c;
    --rose-700: #b32558;
    --rose-800: #8a1c44;
    --ink: #2b2025;
    --ink-2: #4a3a42;
    --muted: #85737c;
    --line: #f2e4ea;
    --ok: #198754;
    --warn: #b7791f;
    --danger: #c0392b;
    --info: #2b6cb0;
    --radius: 14px;
    --shadow: 0 8px 28px rgba(214, 51, 108, .10);
    --shadow-sm: 0 2px 10px rgba(43, 32, 37, .06);
    --font-head: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-ui: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --header-h: 60px;
    --bottom-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; overscroll-behavior-x: none; }
body {
    margin: 0;
    font-weight: 400;
    overflow-x: clip;
    max-width: 100vw;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: #fff;
    padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom));
    -webkit-tap-highlight-color: transparent;
}
body.no-bottom-nav { padding-bottom: 0; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-600); text-decoration: none; }
a:hover { color: var(--rose-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
h1, .logo, .section-title, .hero h1 { font-family: var(--font-head); }
h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 600; letter-spacing: .01em; }
h1, .section-title, .hero h1, .track-band h2 { line-height: 1.1; }
.h3 { font-size: 18px; margin-bottom: 14px; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.22em; }
.icon-xl { width: 52px; height: 52px; stroke-width: 1.5; color: var(--rose-300); margin: 0 auto 12px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px; border-radius: 12px; border: 1.5px solid transparent;
    font: inherit; font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
    text-align: center; white-space: nowrap; position: relative; overflow: hidden;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, #e0457b 0%, #c9306a 55%, #b32558 100%); color: #fff; box-shadow: 0 10px 22px -8px rgba(201, 48, 106, .55); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(201, 48, 106, .65); }
.btn-outline { background: rgba(255, 255, 255, .7); color: var(--rose-700); border-color: var(--rose-300); backdrop-filter: blur(4px); }
.btn-outline:hover { background: var(--rose-600); border-color: var(--rose-600); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(201, 48, 106, .5); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f1b9b3; }
.btn-danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-lg { padding: 17px 30px; font-size: 13.5px; }
.btn-sm { padding: 9px 16px; font-size: 11.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.icon-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
    color: var(--ink); cursor: pointer; font-size: 20px;
}
.icon-btn:hover { background: var(--rose-50); color: var(--rose-600); }
.icon-btn.danger { color: var(--muted); }
.icon-btn.danger:hover { color: var(--danger); background: #fdf0ee; }
.link-more { font-weight: 600; font-size: 14px; }

/* ---------- Formulaires ---------- */
.form { display: block; }
.field { margin-bottom: 16px; }
.field label, .field > .lbl { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.input {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
    font: inherit; font-size: 16px; color: var(--ink); background: #fff; appearance: none; -webkit-appearance: none;
}
select.input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2385737c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
textarea.input { resize: vertical; min-height: 70px; }
.input:focus { outline: none; border-color: var(--rose-500); box-shadow: 0 0 0 4px rgba(224, 69, 123, .14); }
.hint { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.err, .form-error { display: block; color: var(--danger); font-size: 13px; margin-top: 5px; font-weight: 500; }
.has-error .input { border-color: var(--danger); }
.check { display: flex; align-items: center; gap: 10px; margin: 6px 0 18px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--rose-600); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Alertes, badges ---------- */
.alert { padding: 12px 16px; border-radius: 12px; margin: 14px 0; font-size: 14.5px; border: 1px solid transparent; }
.alert-success { background: #eaf7f0; color: #14633f; border-color: #c4e8d5; }
.alert-error { background: #fdf0ee; color: #922a1e; border-color: #f4cac4; }
.alert-info { background: #edf4fc; color: #234f80; border-color: #cfe0f3; }
.alert-warning { background: #fff6e5; color: #7b5311; border-color: #f3dfb3; }
.flash-zone { padding-top: 8px; }
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge-warning { background: #fff2d6; color: #8a5a00; }
.badge-info { background: #e3effc; color: #1f5a99; }
.badge-primary { background: var(--rose-100); color: var(--rose-700); }
.badge-success { background: #dff3e8; color: #14633f; }
.badge-danger { background: #fde4e0; color: #a02a1d; }
.badge-muted { background: #eee9ec; color: #6a5b63; }

/* ---------- Cartes ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pad { padding: 18px; }
@media (min-width: 700px) { .pad { padding: 24px; } }

/* ---------- En-tête ---------- */
.announce { background: var(--rose-600); color: #fff; text-align: center; font-size: 13px; padding: 7px 12px; font-weight: 500; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.logo { font-size: 28px; font-weight: 600; letter-spacing: .06em; color: var(--rose-600); letter-spacing: .2px; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo:hover { color: var(--rose-700); }
.header-actions { display: flex; align-items: center; gap: 2px; }
.cart-badge {
    position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--rose-600); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.main-nav {
    position: fixed; inset: 0; z-index: 70; background: #fff; display: flex; flex-direction: column; justify-content: center;
    padding: 90px 32px 40px; gap: 4px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
    background: radial-gradient(circle at 85% 8%, var(--rose-100), #fff 55%);
}
.main-nav a { padding: 12px 0; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 34px; letter-spacing: .02em; border-bottom: 1px solid var(--line); }
.main-nav a.nav-cat { font-family: var(--font); font-weight: 400; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 0 10px 4px; color: var(--ink-2); border-bottom: 0; }
.main-nav a:hover, .main-nav a.active { color: var(--rose-600); background: transparent; }
.nav-close { position: absolute; top: 12px; right: 14px; width: 48px; height: 48px; font-size: 26px; background: #fff; border: 1px solid var(--line); }
.nav-backdrop { display: none !important; }
body.menu-open { overflow: hidden; }
body.menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }

@media (min-width: 900px) {
    body { padding-bottom: 0; }
    .menu-toggle, .nav-close, .nav-backdrop { display: none !important; }
    .logo { flex: none; text-align: left; margin-right: 12px; }
    .main-nav {
        position: static; transform: none; opacity: 1; visibility: visible; width: auto; flex: 1; padding: 0; flex-direction: row; align-items: center; justify-content: flex-start;
        gap: 2px; box-shadow: none; overflow-x: auto; scrollbar-width: none; background: transparent;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a, .main-nav a.nav-cat { padding: 8px 12px; font-family: var(--font); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border: 0; }
}

/* ---------- Navigation mobile du bas ---------- */
.bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-top: 1px solid var(--line); height: calc(var(--bottom-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 18px rgba(43, 32, 37, .05);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 11px; font-weight: 600; }
.bottom-nav a .icon { width: 23px; height: 23px; }
.bottom-nav a.active { color: var(--rose-600); }
.bn-icon { position: relative; display: inline-flex; }
.bn-icon .cart-badge { top: -6px; right: -10px; }
@media (min-width: 900px) { .bottom-nav { display: none; } }

.wa-float {
    position: fixed; right: 14px; bottom: calc(var(--bottom-h) + 16px + env(safe-area-inset-bottom)); z-index: 44;
    width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .4); font-size: 26px;
}
.wa-float:hover { color: #fff; filter: brightness(.95); }
.no-bottom-nav .wa-float { bottom: 16px; }
.page-product .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .wa-float, .page-product .wa-float, .no-bottom-nav .wa-float { bottom: 22px; right: 22px; } }

/* ---------- Page : en-têtes, sections ---------- */
.page-head { padding: 22px 0 10px; }
.page-head h1 { margin-bottom: 4px; }
.section { padding: 28px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 5vw, 38px); font-weight: 500; margin-bottom: 16px; }
.section-head .section-title { margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); padding: 14px 0 8px; }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb a { color: var(--muted); }
.empty { text-align: center; padding: 50px 16px; }

/* ---------- Accueil ---------- */
.hero { background: linear-gradient(135deg, var(--rose-100) 0%, #fff 62%); overflow: hidden; }
.hero-grid { display: grid; gap: 22px; padding: 26px 0 28px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px !important; display: inline-block; background: #fff; color: var(--rose-700); border: 1px solid var(--rose-200); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 11vw, 74px); font-weight: 500; line-height: 1.02; margin-bottom: 16px; }
.hero p { font-size: 17px; font-weight: 300; color: var(--ink-2); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-blob { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--rose-200); top: 6%; right: 2%; filter: blur(2px); opacity: .7; }
.hero-card {
    position: relative; width: min(66%, 300px); border-radius: 22px; overflow: hidden; background: #fff;
    box-shadow: var(--shadow); transform: rotate(2deg); border: 6px solid #fff; display: block; color: var(--ink);
}
.hero-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.hero-card span { display: block; padding: 10px 12px; font-size: 13px; font-weight: 600; text-align: center; }
.hero-card-empty { padding: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; padding: 64px 0; } .hero-card { width: min(78%, 360px); } }

.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.trust-grid > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 18px 8px; font-size: 13px; color: var(--muted); }
.trust-grid .icon { width: 28px; height: 28px; color: var(--rose-500); margin-bottom: 6px; }
.trust-grid strong { color: var(--ink); font-size: 14px; }
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-row-scroll { flex-wrap: nowrap; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
.cat-row-scroll::-webkit-scrollbar { display: none; }
.cat-chip { display: inline-block; padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.cat-chip:hover { border-color: var(--rose-300); color: var(--rose-700); }
.cat-chip.active { background: var(--rose-600); border-color: var(--rose-600); color: #fff; }

.track-band { display: grid; gap: 16px; align-items: center; background: linear-gradient(135deg, var(--rose-100), var(--rose-50)); border: 1px solid var(--rose-200); border-radius: 20px; padding: 24px 20px; }
.track-band h2 { font-family: var(--font-head); font-size: 32px; font-weight: 500; margin-bottom: 4px; }
.track-band p { margin: 0; color: var(--ink-2); }
.track-mini { display: flex; gap: 8px; }
.track-mini .input { flex: 1; min-width: 0; }
@media (min-width: 800px) { .track-band { grid-template-columns: 1.2fr 1fr; padding: 32px 36px; } }

/* ---------- Produits ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.pcard { display: block; color: var(--ink); }
.pcard:hover { color: var(--ink); }
.pcard-img { position: relative; border-radius: 14px; overflow: hidden; background: var(--rose-50); aspect-ratio: 4 / 5; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--rose-600); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-dark { background: var(--ink); }
.pcard-body { padding: 10px 2px 0; }
.pcard-cat { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.pcard-body h3 { font-size: 15px; font-weight: 500; letter-spacing: .02em; margin-bottom: 4px; line-height: 1.3; }
.pcard-desc { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { color: var(--rose-600); font-size: 16px; }
.price s { color: var(--muted); font-size: 13px; }
.price.big strong { font-size: 26px; }
.price.big s { font-size: 16px; }

.filters { display: block; margin: 8px 0 22px; }
.filters .search-box { position: relative; }
.filters .search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filters .search-box .input { padding-left: 42px; }
.filters .btn { grid-column: 1 / -1; }
@media (min-width: 800px) {
    .filters { grid-template-columns: 1fr 190px 190px auto; }
    .filters .search-box { grid-column: auto; }
    .filters .btn { grid-column: auto; }
}
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 32px 0 8px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.pagination a:hover { border-color: var(--rose-300); color: var(--rose-700); }
.pagination .current { background: var(--rose-600); border-color: var(--rose-600); color: #fff; }
.pagination .dots { border: 0; background: transparent; }

/* ---------- Fiche produit ---------- */
.product-layout { display: grid; gap: 22px; padding-bottom: 10px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; } .gallery { position: sticky; top: calc(var(--header-h) + 18px); } }
.gallery-main { position: relative; border-radius: 18px; overflow: hidden; background: var(--rose-50); aspect-ratio: 4 / 5; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb { flex: none; width: 68px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; background: var(--rose-50); cursor: pointer; opacity: .75; }
.thumb img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.thumb.active { border-color: var(--rose-600); opacity: 1; }
.product-info h1 { margin: 4px 0 10px; font-size: clamp(32px, 6vw, 46px); font-weight: 500; }
.product-info form { margin-top: 18px; }
.opt-group { margin-bottom: 18px; }
.opt-label { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.opt-label strong { color: var(--rose-700); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-width: 52px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--rose-300); }
.chip.active { border-color: var(--rose-600); background: var(--rose-50); color: var(--rose-700); box-shadow: 0 0 0 3px rgba(214, 51, 108, .12); }
.chip.disabled { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 42px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--rose-50); color: var(--rose-600); }
.qty input { width: 48px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 16px; -moz-appearance: textfield; background: transparent; color: var(--ink); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm button { width: 34px; height: 36px; }
.qty-sm input { width: 38px; height: 36px; font-size: 15px; }
.stock-note { color: var(--warn); font-size: 13px; font-weight: 600; margin: 8px 0 0; }
.buy-actions { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 560px) { .buy-actions { grid-template-columns: 1fr 1fr; } }
.perks { list-style: none; margin: 22px 0; padding: 16px; background: var(--rose-50); border-radius: 14px; display: grid; gap: 10px; font-size: 14px; font-weight: 500; }
.perks .icon { color: var(--rose-500); margin-right: 6px; }
.desc h2 { font-size: 18px; margin-top: 8px; }
.desc p { color: var(--ink-2); }
.buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 22px rgba(43, 32, 37, .08);
}
.buybar .btn { flex: 1; max-width: 240px; padding: 13px 20px; }
.buybar-price strong { display: block; color: var(--rose-600); font-size: 19px; line-height: 1.1; }
.buybar-price s { color: var(--muted); font-size: 12.5px; }
.page-product { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .buybar { display: none; } .page-product { padding-bottom: 0; } }

/* ---------- Panier / commande ---------- */
.cart-layout { display: grid; gap: 22px; align-items: start; padding-bottom: 30px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.55fr 1fr; gap: 32px; } .summary { position: sticky; top: calc(var(--header-h) + 18px); } }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cart-line.is-out { opacity: .65; }
.cart-thumb img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--rose-50); }
.cart-name { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cart-total { margin-left: auto; color: var(--rose-600); }
.sum-list { margin: 14px 0; }
.sum-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; }
.sum-list dt { color: var(--ink-2); }
.sum-list dd { margin: 0; font-weight: 600; text-align: right; }
.sum-total { border-top: 1.5px dashed var(--rose-200); margin-top: 6px; padding-top: 12px !important; font-size: 18px !important; }
.sum-total dt { color: var(--ink); font-weight: 700; }
.sum-total dd { color: var(--rose-600); font-size: 20px; }
.sum-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-item img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--rose-50); }
.sum-name { font-weight: 600; line-height: 1.3; }
.free-ship { background: var(--rose-50); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--rose-700); }
.free-ship.ok { background: #eaf7f0; color: #14633f; }
.cod-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; }
.cod-note .icon { color: var(--rose-500); }
.pay-box { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--rose-200); background: var(--rose-50); border-radius: 14px; margin: 6px 0 18px; }
.pay-box .icon { width: 28px; height: 28px; color: var(--rose-600); }

/* ---------- Confirmation ---------- */
.done-card { text-align: center; margin: 24px 0 40px; }
.done-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--rose-600); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 32px; box-shadow: 0 10px 24px rgba(214, 51, 108, .3); }
.done-icon .icon { stroke-width: 3; }
.order-ref { display: inline-flex; flex-direction: column; gap: 2px; background: var(--rose-50); border: 1.5px dashed var(--rose-300); border-radius: 14px; padding: 10px 24px; margin: 6px 0 18px; }
.order-ref strong { font-size: 20px; letter-spacing: .04em; color: var(--rose-700); }
.recap { text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; margin: 14px 0; }
.recap-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.recap-row:last-child { border-bottom: 0; }
.recap-row > span:last-child { white-space: nowrap; font-weight: 600; }
.recap-row .muted { display: block; }
.recap-total { font-size: 16px; color: var(--rose-700); font-weight: 700; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0; }

/* ---------- Suivi ---------- */
.track-form { display: flex; gap: 10px; }
.track-form .input { flex: 1; min-width: 0; }
.track-card { margin: 16px 0; }
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.track-num { font-size: 17px; letter-spacing: .03em; }
.progress { display: flex; list-style: none; padding: 0; margin: 20px 0 22px; }
.progress li { flex: 1; text-align: center; position: relative; }
.progress li::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.progress li:first-child::before { display: none; }
.progress li.done::before, .progress li.current::before { background: var(--rose-500); }
.progress .dot { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.progress .dot .icon { width: 15px; height: 15px; stroke-width: 3.2; }
.progress li.done .dot { background: var(--rose-600); border-color: var(--rose-600); }
.progress li.current .dot { border-color: var(--rose-600); box-shadow: 0 0 0 5px rgba(214, 51, 108, .15); }
.progress .plabel { display: block; font-size: 12.5px; font-weight: 600; margin-top: 6px; color: var(--muted); }
.progress li.done .plabel, .progress li.current .plabel { color: var(--ink); }
.timeline-box summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--rose-700); padding: 8px 0; }
.timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--rose-200); }
.timeline li { position: relative; padding: 0 0 14px 14px; }
.timeline li::before { content: ''; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--rose-500); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--rose-200); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--rose-50); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 34px; }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-logo { display: block; flex: none; text-align: left; font-size: 28px; margin-bottom: 6px; }
.site-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 14.5px; }
.site-footer li a { color: var(--ink-2); }
.site-footer li a:hover { color: var(--rose-600); }
.contact-list .icon { color: var(--rose-500); margin-right: 6px; }
.footer-bottom { padding: 18px 0 22px; margin-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Installateur ---------- */
.install-body { background: var(--rose-50); padding-bottom: 0; }
.install-wrap { max-width: 640px; padding: 30px 0 60px; }
.install-wrap .card { margin: 16px 0; }
.install-title { color: var(--rose-600); }
.checklist { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.checklist li { padding: 4px 0; }
.checklist .ok { color: var(--ok); }
.checklist .ko { color: var(--danger); font-weight: 600; }
.checklist .warn { color: var(--warn); }
code { background: var(--rose-100); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

@media print { .announce, .site-header, .bottom-nav, .wa-float, .buybar, .site-footer, .btn { display: none !important; } body { padding: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Carte description produit */
.desc-card { margin: 4px 0 22px; padding: 18px 18px 16px; border: 1px solid var(--rose-100); border-radius: 18px; background: linear-gradient(160deg, var(--rose-50), #fff 70%); box-shadow: 0 6px 18px rgba(214, 51, 108, .06); }
.desc-card h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--rose-700); }
.desc-card h2 svg { width: 18px; height: 18px; }
.desc-card p { margin: 0; font-weight: 400; font-size: 16px; line-height: 1.65; color: var(--ink, #2b2226); overflow-wrap: anywhere; }
.desc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.desc-list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--ink, #2b2226); overflow-wrap: anywhere; }
.desc-list li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--rose-400), var(--rose-600)); }


/* Description produit : texte simple, comme le reste du site */
.desc-card p, .desc-list li { font-size: 15.5px; line-height: 1.7; font-weight: 400; font-style: normal; color: var(--ink-2); }
.desc-card h2 { font-size: 22px; }
