/* =========================================================================
   Keur Serigne Bi — Feuille de style principale (site public + admin)
   ========================================================================= */

:root {
    --brand: #137B65;
    --brand-2: #19A487;
    --brand-dark: #0E5E4D;
    --brand-soft: #E7F5F0;
    --brand-softer: #F2FAF7;
    --gold: #C8973A;
    --gold-soft: #FBF3E3;
    --ink: #13201B;
    --text: #2B3632;
    --muted: #66736E;
    --line: #E6EBE8;
    --bg: #FFFFFF;
    --bg-soft: #F6F8F7;
    --danger: #B4372E;
    --danger-soft: #FCEDEC;
    --wa: #25D366;
    --wa-dark: #1DA851;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(16, 32, 27, .05), 0 2px 8px rgba(16, 32, 27, .04);
    --shadow: 0 4px 14px rgba(16, 32, 27, .06), 0 1px 3px rgba(16, 32, 27, .05);
    --shadow-lg: 0 20px 45px -12px rgba(16, 32, 27, .18);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -.015em; color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
svg.i { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--brand); color: #fff; border: 1px solid transparent;
    padding: 13px 24px; border-radius: 12px;
    font: 600 .95rem/1.2 'Inter', sans-serif; text-decoration: none; cursor: pointer;
    transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), color .2s;
    box-shadow: 0 6px 16px -6px rgba(19, 123, 101, .55);
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 9px 14px; font-size: .85rem; border-radius: 10px; box-shadow: none; }
.btn-block { width: 100%; }
.btn-secondary, .btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover, .btn-light:hover { background: var(--bg-soft); color: var(--brand); }
.btn-whatsapp { background: var(--wa); box-shadow: 0 6px 16px -6px rgba(37, 211, 102, .6); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-whatsapp-outline { background: #fff; color: var(--wa-dark); border-color: #BDEBCF; box-shadow: none; }
.btn-whatsapp-outline:hover { background: #ECFBF2; color: var(--wa-dark); }
.btn-danger { background: #fff; color: var(--danger); border-color: #F1CFCB; box-shadow: none; }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--brand); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Alertes ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; margin: 20px 0; border-radius: 12px; font-size: .95rem; border: 1px solid transparent; }
.alert-success { background: var(--brand-soft); color: var(--brand-dark); border-color: #CDEBE1; }
.alert-error { background: var(--danger-soft); color: var(--danger); border-color: #F4D4D0; }
.alert-warning { background: var(--gold-soft); color: #7A5716; border-color: #F0DDB6; }
.alert ul { margin: 0; padding-left: 18px; }
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 2000; box-shadow: var(--shadow-lg); margin: 0; animation: toast-in .45s var(--ease), toast-out .5s var(--ease) 4s forwards; max-width: calc(100% - 32px); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -16px); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, -16px); visibility: hidden; } }

/* ---------- Formulaires ---------- */
.form-group { margin-bottom: 18px; }
.form-group label, .label { display: block; margin-bottom: 7px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.form-group input:not([type=checkbox]):not([type=radio]), .form-group textarea, .form-group select, .input {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fff;
    font: 400 .97rem 'Inter', sans-serif; color: var(--ink); border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus, .input:focus {
    outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(25, 164, 135, .15);
}
.form-group small.error, .field-error { color: var(--danger); font-size: .83rem; display: block; margin-top: 5px; }
.hint { color: var(--muted); font-size: .82rem; margin-top: 6px; display: block; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 500 !important; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }

/* =========================================================================
   SITE PUBLIC
   ========================================================================= */

/* Bande d'annonce */
.announce { background: var(--brand-dark); color: #E9F7F2; overflow: hidden; white-space: nowrap; padding: 9px 0; font-size: .84rem; }
.announce-track { display: inline-flex; gap: 56px; animation: marquee 40s linear infinite; padding-left: 56px; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(16, 32, 27, .25); }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 28px; }
.logo-img { height: 64px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .logo-img { height: 52px; }
.search { flex: 1; max-width: 420px; position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--line); background: var(--bg-soft); font: .92rem 'Inter', sans-serif; border-radius: 999px; transition: all .2s; color: var(--ink); }
.search input:focus { outline: none; background: #fff; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(25, 164, 135, .12); }
.main-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.main-nav > a, .nav-dropdown > a { color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 10px 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.main-nav > a:hover, .nav-dropdown:hover > a, .main-nav a.active { background: var(--brand-softer); color: var(--brand); }
.nav-dropdown { position: relative; }
.nav-dropdown > a svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s var(--ease); z-index: 50; }
.nav-dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .9rem; color: var(--text); text-decoration: none; }
.dropdown-menu a:hover { background: var(--brand-softer); color: var(--brand); }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); background: transparent; border: 0; cursor: pointer; text-decoration: none; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--brand-softer); color: var(--brand); }
.icon-btn svg { width: 23px; height: 23px; }
.cart-badge { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 999px; border: 2px solid #fff; }
.cart-badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(25, 164, 135, .10), transparent 65%); left: -220px; top: -180px; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand-dark); font-size: .8rem; font-weight: 600; letter-spacing: .02em; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 0 rgba(25, 164, 135, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(25, 164, 135, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 164, 135, 0); } }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-text { font-size: 1.14rem; color: var(--muted); max-width: 46ch; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-perks { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-perks div { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text); font-weight: 500; }
.hero-perks svg { width: 22px; height: 22px; color: var(--brand); }

.hero-visual { position: relative; padding: 0 26px 26px 0; }
.hero-visual::before { /* le rectangle vert */
    content: ''; position: absolute; inset: 26px 0 0 26px; border-radius: 28px;
    background: linear-gradient(150deg, var(--brand-2) 0%, var(--brand) 55%, var(--brand-dark) 100%);
    animation: float-bg 8s ease-in-out infinite;
}
.hero-visual::after { content: ''; position: absolute; width: 120px; height: 120px; right: -8px; top: -18px; border-radius: 50%; background: var(--gold-soft); border: 2px dashed #E6C98C; z-index: 0; animation: spin 40s linear infinite; }
@keyframes float-bg { 50% { transform: translate(6px, -6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-slider { position: relative; z-index: 1; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); display: block; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .35s var(--ease), background .3s; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.hero-dots button.is-active { width: 28px; background: #fff; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .25s; box-shadow: var(--shadow); }
.hero-slider:hover .hero-arrow { opacity: 1; }
.hero-arrow.prev { left: 14px; } .hero-arrow.next { right: 14px; }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-collage { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; aspect-ratio: 1/1; }
.hero-collage a { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-collage a:hover img { transform: scale(1.06); }
.hero-collage a:nth-child(2) { transform: translateY(24px); }
.hero-collage a:nth-child(4) { transform: translateY(24px); }
.hero-empty { position: relative; z-index: 1; aspect-ratio: 1/1; display: grid; place-items: center; text-align: center; color: #fff; padding: 40px; }
.hero-empty a { color: #fff; }
.hero-float { position: absolute; z-index: 4; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 600; color: var(--ink); animation: floaty 5s ease-in-out infinite; }
.hero-float small { display: block; color: var(--muted); font-weight: 400; font-size: .76rem; }
.hero-float .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.hero-float .ic svg { width: 20px; height: 20px; }
.hero-float.f1 { left: -34px; bottom: 70px; }
.hero-float.f2 { right: -6px; top: 40px; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; color: var(--brand); display: block; margin-bottom: 8px; }
.page-top { padding-top: 40px; }

/* Univers (catégories) */
.universes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.universe { position: relative; border-radius: var(--radius-lg); padding: 34px; overflow: hidden; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; text-decoration: none; isolation: isolate; }
.universe.para { background: linear-gradient(135deg, #137B65, #0C4F41); }
.universe.cosm { background: linear-gradient(135deg, #C8973A, #8E6420); }
.universe::before { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .09); right: -70px; bottom: -110px; z-index: -1; transition: transform .7s var(--ease); }
.universe:hover::before { transform: scale(1.35); }
.universe h3 { color: #fff; font-size: 1.9rem; }
.universe p { color: rgba(255, 255, 255, .82); margin: 8px 0 0; max-width: 36ch; }
.universe .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.universe .links span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 13px; border-radius: 999px; font-size: .82rem; }
.universe .go { position: absolute; top: 30px; right: 30px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.universe:hover .go { transform: rotate(-45deg); background: #fff; color: var(--ink); }
.universe .go svg { width: 20px; height: 20px; }

/* Filtres */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-size: .87rem; font-weight: 500; border-radius: 999px; transition: all .2s; }
.chip:hover { border-color: var(--brand-2); color: var(--brand); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* Grille produits */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.product-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-media { position: relative; display: block; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-body { padding: 14px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.product-card h3 { font-family: 'Inter', sans-serif; font-size: .98rem; font-weight: 600; line-height: 1.35; margin: 0 0 14px; letter-spacing: 0; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--brand); }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions form { flex: 1; margin: 0; }
.card-actions .btn { width: 100%; padding: 11px 12px; font-size: .87rem; border-radius: 11px; box-shadow: none; }
.card-actions .btn-wa-icon { width: 44px; flex: 0 0 44px; padding: 0; background: #ECFBF2; color: var(--wa-dark); border: 1px solid #C7EED6; }
.card-actions .btn-wa-icon:hover { background: var(--wa); color: #fff; }
.card-actions .btn-wa-icon svg { width: 20px; height: 20px; fill: currentColor; }
.badge { position: absolute; top: 22px; left: 22px; z-index: 2; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.badge.best { background: var(--gold); }
.badge.new { background: var(--brand-2); }
.badge.out { background: #fff; color: var(--danger); border: 1px solid #F1CFCB; left: auto; right: 22px; }
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); grid-column: 1 / -1; }
.empty-state svg { width: 44px; height: 44px; color: #B8C4BF; margin-bottom: 10px; }

/* Bloc confiance */
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.trust-icon svg { width: 24px; height: 24px; }
.trust-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; margin: 0 0 8px; letter-spacing: 0; }
.trust-card p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* Bandeau WhatsApp */
.cta-band { border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--ink) 0%, #173A31 100%); color: #fff; padding: 46px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 211, 102, .25), transparent 70%); right: -80px; top: -120px; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #B7C6C0; margin: 8px 0 0; max-width: 52ch; }
.cta-band .btn { position: relative; z-index: 1; }

/* Fiche produit */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-media { position: sticky; top: 110px; border-radius: 24px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); aspect-ratio: 1/1; cursor: zoom-in; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease-out; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.pdp-info .desc { color: var(--text); font-size: 1.02rem; }
.price-note { display: flex; align-items: center; gap: 10px; background: var(--brand-softer); border: 1px solid #D5EEE6; color: var(--brand-dark); padding: 13px 16px; border-radius: 12px; font-size: .9rem; margin: 18px 0 24px; }
.price-note svg { width: 20px; height: 20px; flex-shrink: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 52px; height: 48px; border: 0; text-align: center; font: 600 1rem 'Inter', sans-serif; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.pdp-actions form { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 0; }
.reassure { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.reassure li { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.reassure svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }

/* Panier / commande */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 14px; background: var(--bg-soft); }
.cart-item h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; margin: 0 0 8px; letter-spacing: 0; }
.cart-item h3 a { color: var(--ink); text-decoration: none; }
.cart-item .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cart-item .qty button { height: 38px; width: 36px; } .cart-item .qty input { height: 38px; width: 42px; }
.link-danger { background: none; border: 0; color: var(--danger); cursor: pointer; font-size: .85rem; padding: 6px; display: inline-flex; align-items: center; gap: 4px; }
.link-danger svg { width: 16px; height: 16px; }
.summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: sticky; top: 110px; }
.summary h3 { font-size: 1.3rem; margin-bottom: 16px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; padding: 7px 0; }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.steps { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: .8rem; }
.steps .on b { background: var(--brand); color: #fff; }
.steps .on { color: var(--ink); font-weight: 600; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-size: .9rem; background: #fff; transition: all .2s; }
.pagination a:hover { border-color: var(--brand-2); color: var(--brand); }
.pagination .active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .disabled { color: #B8C1BD; }

/* Pied de page */
.big-footer { background: #0B1B17; color: #B9C4BE; padding: 70px 0 28px; margin-top: 40px; }
.big-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 14px; margin-bottom: 16px; }
.footer-logo img { height: 54px; }
.big-footer h4 { font-family: 'Inter', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 6px 0 18px; font-weight: 600; }
.big-footer ul { list-style: none; padding: 0; margin: 0; }
.big-footer li { margin-bottom: 12px; }
.big-footer a { color: #B9C4BE; text-decoration: none; font-size: .93rem; transition: color .2s; display: inline-flex; gap: 10px; align-items: center; }
.big-footer a:hover { color: #fff; }
.big-footer li svg { width: 17px; height: 17px; color: var(--brand-2); }
.big-footer .tagline { color: #8FA098; font-size: .93rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border: 1px solid #25372F; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--brand); border-color: var(--brand); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.big-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; margin-top: 50px; border-top: 1px solid #1A2B24; color: #6E7C75; font-size: .85rem; }
.big-footer .bottom a { font-size: .85rem; color: #8FA098; }

/* Boutons flottants */
.floating-actions { position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 950; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: #fff; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); position: relative; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; fill: currentColor; }
.fab-call { background: var(--brand); }
.fab-call svg { fill: none; stroke: currentColor; }
.fab-whatsapp { background: var(--wa); }
.fab-whatsapp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; left: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); z-index: 940; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Animations au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================================
   PAGES DE CONNEXION
   ========================================================================= */
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { background: linear-gradient(150deg, var(--brand-2), var(--brand) 50%, var(--brand-dark)); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-aside::after { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); right: -160px; bottom: -160px; }
.auth-aside h2 { color: #fff; font-size: 2.6rem; max-width: 14ch; }
.auth-aside p { color: rgba(255, 255, 255, .8); max-width: 40ch; }
.auth-aside .footer-logo img { height: 60px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }
.auth-card .btn { width: 100%; }
.auth-back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; text-decoration: none; margin-top: 18px; }
.auth-back:hover { color: var(--brand); }
.auth-mobile-logo { display: none; }

/* =========================================================================
   ADMINISTRATION
   ========================================================================= */
.admin-body { background: var(--bg-soft); }
.admin-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.admin-sidebar { background: #0E231D; color: #C4D1CB; padding: 22px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; z-index: 1001; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 22px; text-decoration: none; }
.admin-brand .logo-box { background: #fff; border-radius: 12px; padding: 6px 10px; }
.admin-brand img { height: 36px; }
.admin-brand span { color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.admin-brand small { display: block; color: #7F968D; font-weight: 400; font-size: .75rem; }
.admin-nav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: #62786F; padding: 16px 12px 6px; font-weight: 600; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; color: #C4D1CB; text-decoration: none; font-size: .93rem; font-weight: 500; transition: background .2s, color .2s; margin-bottom: 2px; }
.admin-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-nav a.active { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -8px rgba(25, 164, 135, .8); }
.admin-nav a svg { width: 20px; height: 20px; }
.admin-nav .count { margin-left: auto; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.admin-sidebar .spacer { flex: 1; }
.admin-sidebar .site-link { border: 1px solid #22392F; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 12px 32px; display: flex; align-items: center; gap: 14px; }
.admin-topbar .crumb { font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; min-width: 0; }
.admin-topbar .crumb strong { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-topbar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.admin-topbar form { margin: 0; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .87rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.user-chip .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.admin-content { padding: 32px; max-width: 1280px; width: 100%; }
.admin-burger { display: none; }
.admin-overlay { display: none; }

.page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-header h1 { font-size: 2rem; }
.page-header p { margin: 6px 0 0; color: var(--muted); }
.page-header .actions { display: flex; gap: 10px; flex-wrap: wrap; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head h2 { font-family: 'Inter', sans-serif; font-size: 1.02rem; font-weight: 600; letter-spacing: 0; }
.panel-body { padding: 22px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.kpi .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.kpi .ic.gold { background: var(--gold-soft); color: var(--gold); }
.kpi .ic.blue { background: #EAF1FC; color: #2F6BD1; }
.kpi .ic.rose { background: #FCEEF3; color: #C2416F; }
.kpi .ic svg { width: 24px; height: 24px; }
.kpi .v { font-family: 'Fraunces', serif; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.kpi .l { font-size: .84rem; color: var(--muted); margin-top: 4px; }

.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quick { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: all .2s; background: #fff; }
.quick:hover { border-color: var(--brand-2); background: var(--brand-softer); }
.quick .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; color: var(--brand); flex-shrink: 0; }
.quick .ic svg { width: 21px; height: 21px; }
.quick b { display: block; font-size: .95rem; }
.quick span { font-size: .84rem; color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-top: 22px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 12px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: #FAFCFB; }
.table .thumb { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--bg-soft); border: 1px solid var(--line); }
.table .thumb-wide { width: 90px; height: 60px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.table .name { font-weight: 600; color: var(--ink); }
.table .sub { font-size: .8rem; color: var(--muted); }
.table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.table .actions form { margin: 0; }
.icon-action { width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; text-decoration: none; transition: all .2s; }
.icon-action:hover { border-color: var(--brand-2); color: var(--brand); background: var(--brand-softer); }
.icon-action.danger:hover { border-color: #F1CFCB; color: var(--danger); background: var(--danger-soft); }
.icon-action svg { width: 17px; height: 17px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--text); white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.green { background: var(--brand-soft); color: var(--brand-dark); }
.pill.gray { background: #EFF1F0; color: #6C7773; }
.pill.gold { background: var(--gold-soft); color: #8E6420; }
.pill.blue { background: #EAF1FC; color: #2F5FB3; }
.pill.violet { background: #F1EDFC; color: #6040B5; }
.pill.red { background: var(--danger-soft); color: var(--danger); }
.pill.plain::before { display: none; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toolbar .input { width: auto; min-width: 240px; padding: 10px 14px; }
.toolbar select.input { min-width: 170px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: .88rem; font-weight: 500; }
.tabs a:hover { background: var(--bg-soft); color: var(--ink); }
.tabs a.active { background: var(--ink); color: #fff; }

.form-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; border: 2px dashed #CFDAD5; border-radius: 16px; padding: 22px; background: var(--bg-soft); cursor: pointer; transition: border-color .2s, background .2s; min-height: 200px; overflow: hidden; }
.dropzone:hover, .dropzone.drag { border-color: var(--brand-2); background: var(--brand-softer); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 34px; height: 34px; color: var(--brand); }
.dropzone .dz-text { font-size: .9rem; color: var(--muted); }
.dropzone .dz-text b { color: var(--brand); }
.dropzone img.dz-preview { width: 100%; max-height: 320px; object-fit: contain; border-radius: 10px; background: #fff; }
.dropzone.square img.dz-preview { aspect-ratio: 1/1; object-fit: cover; max-height: none; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.switch-row:last-child { border-bottom: 0; }
.switch-row b { display: block; font-size: .93rem; color: var(--ink); }
.switch-row span { font-size: .82rem; color: var(--muted); }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; background: #D5DDD9; border-radius: 999px; transition: .25s; cursor: pointer; }
.switch i::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + i { background: var(--brand-2); }
.switch input:checked + i::before { transform: translateX(20px); }
.sticky-actions { position: sticky; bottom: 0; background: rgba(246, 248, 247, .92); backdrop-filter: blur(8px); padding: 16px 0; margin-top: 10px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--line); }

.banner-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.banner-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s; }
.banner-card:hover { box-shadow: var(--shadow); }
.banner-card .img { aspect-ratio: 1/1; background: var(--bg-soft); position: relative; }
.banner-card .img img { width: 100%; height: 100%; object-fit: cover; }
.banner-card .img .pill { position: absolute; top: 12px; left: 12px; }
.banner-card .img .order { position: absolute; top: 12px; right: 12px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.banner-card .body { padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.banner-card .body b { font-size: .93rem; display: block; color: var(--ink); }
.banner-card .body small { color: var(--muted); font-size: .8rem; word-break: break-all; }

.bars { display: flex; align-items: flex-end; gap: 14px; height: 240px; padding: 10px 4px 0; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.bar .col { width: 100%; max-width: 56px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); min-height: 4px; position: relative; transform-origin: bottom; animation: grow .9s var(--ease) both; }
.bar .col.today { background: linear-gradient(180deg, #E0B25C, var(--gold)); }
.bar .num { font-size: .82rem; font-weight: 700; color: var(--ink); }
.bar .day { font-size: .76rem; color: var(--muted); text-transform: capitalize; }
@keyframes grow { from { transform: scaleY(0); } }

.detail-list { display: grid; grid-template-columns: 130px 1fr; gap: 12px 16px; font-size: .93rem; margin: 0; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; color: var(--ink); font-weight: 500; }
.status-select { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.status-select label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: .88rem; font-weight: 500; transition: all .2s; }
.status-select input { accent-color: var(--brand); }
.status-select label:has(input:checked) { border-color: var(--brand-2); background: var(--brand-softer); color: var(--brand-dark); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .trust-cards { grid-template-columns: repeat(2, 1fr); }
    .hero-float.f1 { left: -10px; }
}
@media (max-width: 960px) {
    .container { padding: 0 20px; }
    .header-inner { flex-wrap: wrap; gap: 12px; padding: 10px 20px; }
    .logo-img, .site-header.scrolled .logo-img { height: 48px; }
    .search { order: 5; flex-basis: 100%; max-width: none; }
    .nav-toggle { display: inline-flex; }
    .header-icons { margin-left: auto; display: flex; gap: 4px; }
    .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; flex-direction: column; align-items: stretch; gap: 2px; padding: 80px 18px 24px; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); z-index: 1200; overflow-y: auto; margin: 0; }
    .main-nav.open { transform: none; }
    .main-nav .desktop-only { display: none; }
    .nav-dropdown .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
    .nav-dropdown > a svg { display: none; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(10, 20, 17, .45); z-index: 1100; opacity: 0; visibility: hidden; transition: .3s; }
    .nav-backdrop.open { opacity: 1; visibility: visible; }
    .nav-close { position: absolute; top: 18px; right: 18px; }
    .hero { padding: 30px 0 50px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
    .universes { grid-template-columns: 1fr; }
    .pdp, .cart-layout { grid-template-columns: 1fr; gap: 30px; }
    .pdp-media, .summary { position: static; }
    .big-footer .cols { grid-template-columns: 1fr 1fr; }
    .auth-split { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .auth-mobile-logo { display: block; text-align: center; margin-bottom: 20px; }
    .auth-mobile-logo img { height: 70px; display: inline-block; }

    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; left: 0; top: 0; width: 272px; transform: translateX(-100%); transition: transform .3s var(--ease); }
    .admin-sidebar.open { transform: none; }
    .admin-overlay.open { display: block; position: fixed; inset: 0; background: rgba(10, 20, 17, .45); z-index: 1000; }
    .admin-burger { display: inline-flex; }
    .admin-topbar { padding: 10px 16px; }
    .admin-content { padding: 22px 16px; }
    .hide-sm { display: none !important; }
    .dash-grid, .form-grid { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 961px) { .mobile-only { display: none !important; } }
@media (max-width: 640px) {
    body { font-size: 15px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { padding: 8px; border-radius: 16px; }
    .product-body { padding: 10px 4px 4px; }
    .product-card h3 { font-size: .88rem; }
    .card-actions .btn { font-size: .8rem; padding: 10px 8px; }
    .card-actions .btn-wa-icon { width: 40px; flex-basis: 40px; }
    .badge { top: 14px; left: 14px; font-size: .64rem; }
    .trust-cards { grid-template-columns: 1fr; }
    .section { padding: 44px 0; }
    .hero-perks { gap: 14px; }
    .hero-float { display: none; }
    .hero-cta .btn { flex: 1; }
    .cta-band { padding: 32px 24px; }
    .big-footer .cols { grid-template-columns: 1fr; gap: 30px; }
    .floating-actions { bottom: 16px; right: 16px; }
    .fab { width: 50px; height: 50px; }
    .to-top { left: 16px; bottom: 16px; }
    .kpis { grid-template-columns: 1fr 1fr; gap: 12px; }
    .kpi { padding: 14px; gap: 12px; flex-direction: column; align-items: flex-start; }
    .quick-grid, .form-row { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 1.6rem; }
    .toolbar .input { min-width: 0; flex: 1; }
    .cart-item { grid-template-columns: 70px 1fr; }
    .cart-item img { width: 70px; height: 70px; }
    .cart-item > :last-child { grid-column: 2; }
    .status-select { grid-template-columns: 1fr; }
    .auth-card { padding: 26px 22px; }
}

.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.bar .col { max-height: calc(100% - 56px); }
@media (min-width: 961px) { .admin-shell { background: linear-gradient(to right, #0E231D 264px, transparent 264px); } }
html, body { overflow-x: clip; }
@media (max-width: 960px) {
    .main-nav { visibility: hidden; }
    .main-nav.open { visibility: visible; }
}
@media (max-width: 640px) { .hero-cta .btn { white-space: nowrap; padding: 14px 16px; font-size: .92rem; } }

.announce-item { display: inline-flex; align-items: center; gap: 56px; }
.announce-item::after { content: '✦'; opacity: .55; font-size: .7rem; }
.form-grid > *, .dash-grid > * { min-width: 0; }
