/* =====================================================================
   Pattes & Moustaches — Charte graphique du front office
   Palette issue de l'image d'inspiration : violet profond, orange vif,
   turquoise, jaune soleil, corail ; fonds lavande doux, formes arrondies.
   Propriétés logiques (inline/block) => support RTL automatique.
   ===================================================================== */

:root {
    --primary: #6b3fd4;
    --primary-600: #5a2fc2;
    --primary-700: #4a24a6;
    --primary-100: #e6dcff;
    --primary-50: #f4f0ff;
    --orange: #ff8a1f;
    --orange-600: #f07300;
    --teal: #20b2aa;
    --teal-50: #e2f7f5;
    --yellow: #f5b82e;
    --yellow-50: #fff6dc;
    --coral: #e2552b;
    --coral-50: #ffe9e1;
    --pink: #f0306a;
    --pink-50: #ffe8f0;
    --green: #2e9d5b;
    --ink: #1f1640;
    --ink-2: #3b3360;
    --muted: #6e6a85;
    --line: #ebe7f5;
    --surface: #f8f6fd;
    --white: #ffffff;
    --danger: #d9363e;
    --success: #23a26d;

    --font-head: 'Fredoka', 'Baloo Bhaijaan 2', system-ui, sans-serif;
    --font-body: 'Nunito', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --shadow-sm: 0 2px 8px rgba(43, 26, 90, .06);
    --shadow: 0 10px 30px rgba(43, 26, 90, .10);
    --shadow-lg: 0 24px 60px rgba(43, 26, 90, .16);
    --shadow-primary: 0 12px 28px rgba(107, 63, 212, .35);
    --container: 1240px;
    --header-h: 84px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

[dir="rtl"] {
    --font-head: 'Baloo Bhaijaan 2', 'Fredoka', system-ui, sans-serif;
    --font-body: 'Cairo', 'Nunito', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
main, .site-footer { overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 1000; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(48px, 7vw, 96px); position: relative; }
.section-sm { padding-block: clamp(32px, 4vw, 56px); }
.bg-surface { background: var(--surface); }
.bg-lavender { background: var(--primary-50); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem } .mt-4 { margin-top: 2rem }
.mb-0 { margin-bottom: 0 } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .wrap { flex-wrap: wrap; }
.icon { flex-shrink: 0; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
    cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
    white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 12px 26px rgba(255, 138, 31, .35); }
.btn-orange:hover { background: var(--orange-600); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { color: #fff; filter: brightness(.95); }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-white:hover { color: var(--primary-600); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary-100); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: var(--primary-50); color: var(--primary); }
.btn-ghost:hover { background: var(--primary-100); color: var(--primary-700); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Badges & pastilles ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .02em; line-height: 1.2; }
.badge-new { background: var(--teal); color: #fff; }
.badge-sale { background: var(--pink); color: #fff; }
.badge-orange { background: var(--orange); color: #fff; }
.badge-soft { background: var(--primary-50); color: var(--primary); }
.badge-green { background: #e3f6ec; color: var(--green); }
.badge-yellow { background: var(--yellow-50); color: #a46c00; }
.badge-gray { background: #eeedf3; color: var(--muted); }
.badge-red { background: #fde7e8; color: var(--danger); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; margin-bottom: .8rem; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow .icon { color: var(--orange); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--primary); color: #fff; font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar a { color: #fff; opacity: .92; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar-links, .topbar-tools { display: flex; align-items: center; gap: 1.4rem; }
.topbar-promo { display: inline-flex; align-items: center; gap: .6rem; }
.topbar-promo .pill { background: var(--orange); color: #fff; font-weight: 800; padding: .15rem .65rem; border-radius: 999px; font-size: .78rem; }
.lang-switch { display: inline-flex; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: .15rem .65rem; border-radius: 999px; font-weight: 700; font-size: .8rem; }
.lang-switch a.active { background: #fff; color: var(--primary); opacity: 1; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .3s, height .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(43, 26, 90, .08); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 70px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); flex-shrink: 0; min-width: 0; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 48px; height: 48px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--primary); letter-spacing: -.01em; }
.logo-text small { font-size: .7rem; color: var(--orange); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
[dir="rtl"] .logo-text small { letter-spacing: 0; }
.logo img { max-height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: .2rem; }
.main-nav > a, .main-nav .nav-item > a { white-space: nowrap; position: relative; display: inline-flex; align-items: center; gap: .25rem; padding: .6rem .85rem; font-family: var(--font-head); font-weight: 500; color: var(--ink); border-radius: 999px; font-size: 1rem; }
.main-nav > a:hover, .main-nav .nav-item > a:hover, .main-nav a.active { color: var(--orange); }
.main-nav a.active::after { content: ''; position: absolute; inset-inline: .85rem; bottom: .2rem; height: 3px; border-radius: 3px; background: var(--orange); }
.nav-item { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); inset-inline-start: -20px; width: 560px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega h4 { font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.mega h4 .icon { color: var(--primary); }
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.mega li a { display: block; padding: .4rem .6rem; border-radius: 10px; color: var(--ink-2); font-size: .95rem; }
.mega li a:hover { background: var(--primary-50); color: var(--primary); }

.header-search { flex: 1; min-width: 170px; max-width: 340px; margin-inline-start: auto; position: relative; }
.header-search input { width: 100%; height: 48px; border-radius: 999px; border: 2px solid transparent; background: var(--surface); padding-inline: 1.2rem 3.4rem; transition: border-color .2s, background .2s; }
.header-search input:focus { outline: none; border-color: var(--primary-100); background: #fff; }
.header-search button { position: absolute; inset-inline-end: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search-suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .5rem; display: none; z-index: 20; }
.search-suggest.open { display: block; }
.search-suggest a { display: flex; align-items: center; gap: .7rem; padding: .5rem; border-radius: 12px; color: var(--ink); }
.search-suggest a:hover { background: var(--primary-50); }
.search-suggest img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.search-suggest small { color: var(--primary); font-weight: 800; }

.header-actions { display: flex; align-items: center; gap: .3rem; }
.header-action { flex-shrink: 0; position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); background: transparent; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.header-action:hover { background: var(--primary-50); color: var(--primary); }
.header-action .count { position: absolute; top: 2px; inset-inline-end: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.header-action .count:empty, .header-action .count[data-count="0"] { display: none; }
.cart-total { font-family: var(--font-head); font-weight: 600; margin-inline-start: .2rem; white-space: nowrap; }
.menu-toggle, .search-toggle { display: none; }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }

/* Menu mobile */
.mobile-nav { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.mobile-nav .backdrop, .drawer .backdrop { position: absolute; inset: 0; background: rgba(31, 22, 64, .45); opacity: 0; transition: opacity .3s; }
.mobile-nav .panel { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: min(88vw, 360px); background: #fff; padding: 1.4rem; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease); }
[dir="rtl"] .mobile-nav .panel { transform: translateX(100%); }
.mobile-nav.open { pointer-events: auto; }
.mobile-nav.open .backdrop { opacity: 1; }
.mobile-nav.open .panel { transform: translateX(0); }
.mobile-nav nav a { display: flex; align-items: center; gap: .7rem; padding: .85rem .4rem; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-size: 1.1rem; }
.mobile-nav nav a .icon { color: var(--primary); }
.mobile-nav .sub a { font-size: .98rem; padding-inline-start: 2.2rem; font-family: var(--font-body); }

/* ---------- Tiroir (mini-panier) ---------- */
.drawer { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.drawer .panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(94vw, 420px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
[dir="rtl"] .drawer .panel { transform: translateX(-100%); }
.drawer.open { pointer-events: auto; }
.drawer.open .backdrop { opacity: 1; }
.drawer.open .panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; display: flex; align-items: center; gap: .5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.drawer-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: .7rem; }
.mini-line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.mini-line img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: var(--surface); }
.mini-line h4 { font-size: .95rem; margin: 0 0 .15rem; font-family: var(--font-body); font-weight: 700; }
.mini-line small { color: var(--muted); }
.free-ship { background: #fff; border-radius: var(--radius); padding: .8rem 1rem; font-size: .9rem; }
.free-ship .bar { height: 8px; background: var(--primary-50); border-radius: 99px; overflow: hidden; margin-top: .5rem; }
.free-ship .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--primary)); border-radius: 99px; transition: width .6s var(--ease); }
[dir="rtl"] .free-ship .bar span { background: linear-gradient(-90deg, var(--teal), var(--primary)); }

/* ---------- Héros animé ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6f2ff 0%, #f1ecff 70%, #fff 100%); padding-block: clamp(40px, 6vw, 72px) clamp(70px, 9vw, 120px); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .35em; }
.hero h1 .accent { color: var(--primary); display: block; }
.hero h1 .word { display: inline-block; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 470px; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.trust-item { display: flex; align-items: center; gap: .65rem; }
.trust-item .ico { width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.trust-item strong { display: block; font-size: .92rem; line-height: 1.2; }
.trust-item small { color: var(--muted); font-size: .8rem; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
.hero-visual .layer { position: absolute; will-change: transform; }
.hero-blob { inset: 12% 0 0 0; }
.hero-blob svg { width: 100%; height: 100%; }
.hero-dog { inset: 0 6% 2% 6%; filter: drop-shadow(0 30px 40px rgba(74, 36, 166, .28)); }
.hero-dog svg { width: 100%; height: 100%; overflow: visible; }
.hero-badge { top: 4%; inset-inline-end: 0; width: 132px; height: 132px; }
.hero-badge .ring { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero-badge .inner { position: absolute; inset: 18px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-head); color: var(--teal); line-height: 1.05; box-shadow: var(--shadow); }
.hero-badge .inner strong { font-size: 1.4rem; display: block; }
.hero-badge .inner span { font-size: .85rem; color: var(--ink-2); }
.hero-deco { pointer-events: none; }
.hero-paw { position: absolute; color: var(--primary); opacity: .09; }
.doodle { position: absolute; }
.doodle-heart { top: 18%; inset-inline-start: 6%; width: 52px; color: var(--primary); }
.doodle-sparks { top: 30%; inset-inline-start: 20%; width: 46px; color: var(--yellow); }
.doodle-paw { bottom: 18%; inset-inline-end: 0; width: 64px; color: var(--primary); }
.doodle-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); }
.hero-wave { position: absolute; bottom: -1px; inset-inline: 0; z-index: 3; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; }
.float-chip { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: .6rem .9rem; display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; z-index: 4; }
.float-chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.chip-rating { bottom: 14%; inset-inline-start: -4%; }
.chip-delivery { top: 40%; inset-inline-end: -6%; }

/* ---------- Titres de section ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: .6rem; }
.section-head h2 .paws { color: var(--orange); }
.section-head p { margin: .4rem 0 0; color: var(--muted); max-width: 560px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: all .2s; color: var(--ink); }
.carousel-nav button:hover { border-color: var(--primary); color: var(--primary); }
[dir="rtl"] .carousel-nav .icon, [dir="rtl"] .icon-flip { transform: scaleX(-1); }

/* ---------- Meilleures ventes (bandeau) ---------- */
.bestsellers-strip { position: relative; margin-top: -64px; z-index: 5; }
.strip-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.2rem 1.4rem 1.4rem; position: relative; }
.strip-tag { position: absolute; top: -18px; inset-inline-start: 24px; background: var(--pink); color: #fff; font-family: var(--font-head); font-weight: 600; padding: .55rem 1.2rem; border-radius: 14px 14px 14px 4px; box-shadow: 0 10px 20px rgba(240, 48, 106, .3); display: flex; align-items: center; gap: .5rem; }
.strip-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.strip-item { display: flex; align-items: center; gap: .8rem; padding: .5rem; border-radius: var(--radius); color: var(--ink); transition: background .2s; }
.strip-item:hover { background: var(--surface); color: var(--ink); }
.strip-item img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; flex-shrink: 0; }
.strip-item h3 { font-size: .92rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.strip-item .price { font-size: .95rem; }

/* ---------- Bannières promotionnelles ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.promo-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 1.8rem; min-height: 230px; display: flex; flex-direction: column; justify-content: center; color: #fff; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s; }
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.promo-card.span-2 { grid-column: span 2; }
.promo-card.span-3 { grid-column: span 3; }
.promo-card .txt { position: relative; z-index: 2; max-width: 58%; }
.promo-card .kicker { font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; opacity: .95; }
[dir="rtl"] .promo-card .kicker { letter-spacing: 0; }
.promo-card .big { font-family: var(--font-head); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1; margin: .3rem 0; }
.promo-card .big small { font-size: .5em; }
.promo-card h3 { color: inherit; font-size: clamp(1.3rem, 2vw, 1.8rem); margin: .2rem 0 .4rem; }
.promo-card p { font-size: .9rem; opacity: .95; margin-bottom: 1rem; }
.promo-card .btn { align-self: flex-start; }
.promo-card .art { position: absolute; inset-block: 0; inset-inline-end: -6%; width: 55%; z-index: 1; display: flex; align-items: flex-end; justify-content: center; transition: transform .6s var(--ease); }
.promo-card:hover .art { transform: scale(1.06) rotate(-2deg); }
.promo-card .art img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.promo-card .disc { position: absolute; top: 1.2rem; inset-inline-start: 1.2rem; z-index: 2; }
.promo-blue { background: linear-gradient(135deg, #b9c7f5, #93a8ee); color: var(--ink); }
.promo-blue:hover { color: var(--ink); }
.promo-blue .big { color: var(--orange); }
.promo-teal { background: linear-gradient(135deg, #2cc5bc, #16a19a); }
.promo-yellow { background: linear-gradient(135deg, #f7c548, #f0a91a); }
.promo-yellow h3, .promo-yellow .big { color: #fff; }
.promo-coral { background: linear-gradient(135deg, #f0683d, #d9481d); }
.promo-purple { background: linear-gradient(135deg, #7a4ce0, #5a2fc2); }
.promo-card .phone { display: inline-flex; align-items: center; gap: .5rem; background: rgba(0, 0, 0, .25); padding: .5rem .9rem; border-radius: 12px; font-weight: 800; font-size: .92rem; align-self: flex-start; }
.promo-card .paw-bg { position: absolute; color: #fff; opacity: .12; z-index: 0; }

/* ---------- Cartes produits ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 1.4rem; }
.product-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product-card { position: relative; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: .9rem; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card .media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); aspect-ratio: 1; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .media img { transform: scale(1.07); }
.product-card .flags { position: absolute; top: .7rem; inset-inline-start: .7rem; display: flex; flex-direction: column; gap: .3rem; z-index: 2; }
.product-card .quick { position: absolute; top: .7rem; inset-inline-end: .7rem; display: flex; flex-direction: column; gap: .4rem; z-index: 2; }
.product-card .quick button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), background .2s, color .2s; opacity: 0; transform: translateX(8px); }
[dir="rtl"] .product-card .quick button { transform: translateX(-8px); }
.product-card:hover .quick button, .product-card .quick button.active, .product-card .quick button:focus-visible { opacity: 1; transform: translateX(0); }
.product-card .quick button:hover { background: var(--primary); color: #fff; }
.product-card .quick button.active { background: var(--pink); color: #fff; }
.product-card .quick button.active .icon-heart { fill: currentColor; }
.product-card .quick button.compare-btn.active { background: var(--teal); }
.product-card .body { padding: .9rem .3rem .2rem; display: flex; flex-direction: column; flex: 1; }
.product-card .brand { font-size: .76rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
[dir="rtl"] .product-card .brand { letter-spacing: 0; }
.product-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.35; margin: .25rem 0 .4rem; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a:hover { color: var(--primary); }
.product-card .rating { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--muted); margin-bottom: .6rem; }
.product-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.add-btn { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--primary); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease), background .2s; flex-shrink: 0; }
.add-btn:hover { background: var(--orange); transform: rotate(-8deg) scale(1.06); }
.add-btn.added { background: var(--success); }
.out-of-stock .media img { filter: grayscale(.6); opacity: .7; }
.stars { display: inline-flex; gap: 1px; }
.star { fill: #e3e0ee; }
.star-full { fill: var(--yellow); }
.star-half { fill: url(#half-star); fill: var(--yellow); opacity: .55; }
.price { font-family: var(--font-head); font-weight: 600; color: var(--primary); font-size: 1.15rem; white-space: nowrap; }
.price del, .price-old { color: var(--muted); font-size: .8em; font-weight: 500; margin-inline-start: .35rem; }
.price-from { font-size: .72rem; color: var(--muted); display: block; font-family: var(--font-body); font-weight: 700; }

/* ---------- Catégories ---------- */
.species-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.6rem; }
.species-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 2.2rem; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.species-card:hover { color: #fff; }
.species-card.dog { background: linear-gradient(140deg, #7a4ce0 0%, #5a2fc2 100%); }
.species-card.cat { background: linear-gradient(140deg, #ff9d3d 0%, #f07300 100%); }
.species-card img { position: absolute; inset-block: 0; inset-inline-end: -4%; height: 112%; width: auto; top: -6%; z-index: -1; transition: transform .8s var(--ease); }
.species-card:hover img { transform: scale(1.05) rotate(2deg); }
.species-card h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.species-card p { max-width: 55%; opacity: .95; margin: .4rem 0 1.2rem; }
.species-card .btn { align-self: flex-start; }
.cat-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.cat-chip { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 1rem .8rem 1.1rem; text-align: center; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.cat-chip:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); color: var(--ink); }
.cat-chip .img { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto .8rem; overflow: hidden; background: var(--surface); }
.cat-chip h3 { font-size: 1.02rem; margin: 0; }
.cat-chip small { color: var(--muted); }

/* ---------- Compteurs animés ---------- */
.counters { background: var(--primary); color: #fff; border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; overflow: hidden; }
.counters::before, .counters::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.counters::before { width: 280px; height: 280px; top: -120px; inset-inline-end: -60px; }
.counters::after { width: 200px; height: 200px; bottom: -100px; inset-inline-start: 10%; }
.counter { text-align: center; position: relative; z-index: 1; }
.counter .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; display: flex; justify-content: center; align-items: baseline; gap: .15rem; }
.counter .num small { font-size: .55em; color: var(--yellow); }
.counter p { margin: .5rem 0 0; opacity: .9; }
.counter .ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; margin: 0 auto .8rem; color: var(--yellow); }

/* ---------- Animaux à vendre ---------- */
.animal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.animal-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.animal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.animal-card .media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; display: block; }
.animal-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.animal-card:hover .media img { transform: scale(1.06); }
.animal-card .status { position: absolute; top: .9rem; inset-inline-start: .9rem; }
.animal-card .sex { position: absolute; top: .9rem; inset-inline-end: .9rem; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.sex-male { color: #3b82f6; } .sex-femelle { color: var(--pink); }
.animal-card .body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.animal-card h3 { margin: 0; font-size: 1.25rem; }
.animal-card h3 a { color: var(--ink); }
.animal-card .meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.animal-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .6rem; border-top: 1px dashed var(--line); }
.animal-card.sold { opacity: .75; }

/* ---------- Races ---------- */
.breed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.4rem; }
.breed-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.breed-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.breed-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; background: var(--surface); }
.breed-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.breed-card:hover .media img { transform: scale(1.06); }
.breed-card .available { position: absolute; top: .9rem; inset-inline-start: .9rem; }
.breed-card .body { padding: 1rem 1.2rem 1.2rem; display: grid; gap: .5rem; }
.breed-card h3 { margin: 0; font-size: 1.2rem; }
.breed-card h3 a { color: var(--ink); }
.breed-card .meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.animal-facts.breed-facts { grid-template-columns: repeat(4, 1fr); }
.brand-link.with-icon { display: inline-flex; align-items: center; gap: .35rem; }
.product-info .h-sm { font-size: 1.05rem; margin: 1.2rem 0 .6rem; }
.trait-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.breed-description p { color: var(--ink-2); line-height: 1.75; margin: 0 0 .8rem; }

/* ---------- Conseiller nutrition (CTA) ---------- */
.advisor { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center; background: linear-gradient(135deg, var(--teal-50), #fff 60%); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 56px); position: relative; overflow: hidden; }
.advisor .art { position: relative; }
.advisor .steps { display: grid; gap: .8rem; margin: 1.2rem 0 1.6rem; }
.advisor .step { display: flex; gap: .8rem; align-items: center; }
.advisor .step span { width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }

/* ---------- Avis clients ---------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.8rem) / 3); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; scroll-behavior: smooth; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel.cols-4 { grid-auto-columns: calc((100% - 4.2rem) / 4); }
.review-card { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: .8rem; }
.review-card .quote { position: absolute; top: 1rem; inset-inline-end: 1.2rem; font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: var(--primary-100); }
.review-card p { color: var(--ink-2); margin: 0; flex: 1; }
.review-card .who { display: flex; align-items: center; gap: .7rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--primary); flex-shrink: 0; font-family: var(--font-head); }
.review-card .who small { display: block; color: var(--muted); font-size: .8rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .media { display: block; aspect-ratio: 16 / 9.5; overflow: hidden; position: relative; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .media img { transform: scale(1.05); }
.post-card .cat { position: absolute; bottom: .9rem; inset-inline-start: .9rem; }
.post-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--primary); }
.post-card .meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: var(--muted); }
.post-card .meta span { display: inline-flex; align-items: center; gap: .3rem; }
.post-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.read-more { margin-top: auto; font-weight: 800; display: inline-flex; align-items: center; gap: .3rem; font-size: .92rem; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; background: linear-gradient(120deg, var(--primary) 0%, #8257e6 100%); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); color: #fff; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.newsletter h2 { color: #fff; }
.newsletter p { opacity: .92; }
.newsletter form { display: flex; gap: .6rem; background: #fff; padding: .45rem; border-radius: 999px; box-shadow: var(--shadow-lg); }
.newsletter input { flex: 1; border: 0; background: transparent; padding-inline: 1.1rem; min-width: 0; color: var(--ink); }
.newsletter input:focus { outline: none; }
.newsletter .deco { position: absolute; opacity: .12; color: #fff; }
.newsletter .note { font-size: .82rem; opacity: .85; margin-top: .8rem; }

/* ---------- Bande « engagements » ---------- */
.features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.feature > span:last-child { min-width: 0; }
.feature { display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: var(--radius); padding: 1rem; border: 1px solid var(--line); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.feature strong { display: block; font-size: .95rem; line-height: 1.2; }
.feature small { color: var(--muted); font-size: .8rem; line-height: 1.3; display: block; }
.ico-purple { background: var(--primary-50); color: var(--primary); }
.ico-teal { background: var(--teal-50); color: var(--teal); }
.ico-yellow { background: var(--yellow-50); color: #d39200; }
.ico-pink { background: var(--pink-50); color: var(--pink); }
.ico-coral { background: var(--coral-50); color: var(--coral); }

/* ---------- Pied de page ---------- */
.site-footer { background: #1d1440; color: #cfc9e6; padding-top: 70px; position: relative; margin-top: 60px; }
.site-footer::before { content: ''; position: absolute; top: -40px; inset-inline: 0; height: 41px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C240 0 480 0 720 20s480 20 720 0v20Z' fill='%231d1440'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 3rem; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #cfc9e6; }
.site-footer a:hover { color: var(--orange); }
.site-footer .logo-text strong { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { color: var(--orange); margin-top: 3px; }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.pay-logos { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.pay-logos span { background: rgba(255, 255, 255, .1); padding: .3rem .7rem; border-radius: 8px; font-weight: 800; font-size: .78rem; color: #fff; }

/* ---------- Pages internes ---------- */
.page-hero { background: linear-gradient(180deg, var(--primary-50), #fff); padding-block: 2rem 2.4rem; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: .4rem 0 .3rem; }
.page-hero p { color: var(--muted); max-width: 680px; margin: 0; }
.page-hero .paw-deco { position: absolute; inset-inline-end: 4%; top: 50%; transform: translateY(-50%); width: 170px; color: var(--primary); opacity: .07; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .86rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .3rem; }
.breadcrumbs li + li::before { content: '›'; color: var(--primary-100); font-size: 1.1rem; margin-inline-end: .3rem; }
[dir="rtl"] .breadcrumbs li + li::before { content: '‹'; }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }
.prose { max-width: 780px; font-size: 1.05rem; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.4rem; border-inline-start: 4px solid var(--orange); background: var(--yellow-50); border-radius: 0 var(--radius) var(--radius) 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 1.6rem; }
.card-soft { background: var(--surface); border-radius: var(--radius-lg); padding: 1.6rem; }
.card h2, .card h3 { margin-top: 0; }

/* ---------- Catalogue ---------- */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
.filter-group { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h4 { font-size: 1rem; margin-bottom: .7rem; display: flex; justify-content: space-between; align-items: center; }
.filter-group label { display: flex; align-items: center; gap: .55rem; padding: .25rem 0; cursor: pointer; font-size: .94rem; color: var(--ink-2); }
.filter-group label small { margin-inline-start: auto; color: var(--muted); font-size: .78rem; }
.filter-group input[type=checkbox], .filter-group input[type=radio] { accent-color: var(--primary); width: 18px; height: 18px; }
.species-toggle { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; background: var(--surface); padding: .3rem; border-radius: 14px; }
.species-toggle a { text-align: center; padding: .5rem .3rem; border-radius: 10px; color: var(--ink-2); font-weight: 700; font-size: .88rem; display: flex; align-items: center; justify-content: center; gap: .3rem; }
.species-toggle a.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.price-range input { width: 100%; }
.range-slider { position: relative; height: 34px; margin-bottom: .4rem; }
.range-slider input[type=range] { position: absolute; inset: 0; width: 100%; pointer-events: none; appearance: none; background: none; height: 34px; margin: 0; }
.range-slider input[type=range]::-webkit-slider-thumb { pointer-events: auto; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: pointer; position: relative; z-index: 2; }
.range-slider input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; cursor: pointer; }
.range-slider .track { position: absolute; top: 15px; inset-inline: 0; height: 4px; background: var(--line); border-radius: 4px; }
.range-slider .fill { position: absolute; top: 15px; height: 4px; background: var(--primary); border-radius: 4px; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.shop-toolbar .count { color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.active-filters a { display: inline-flex; align-items: center; gap: .3rem; background: var(--primary-50); color: var(--primary); padding: .3rem .4rem .3rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.active-filters a .icon { width: 16px; height: 16px; }
.filters-toggle { display: none; }
.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state .art { width: 160px; margin: 0 auto 1.2rem; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.4rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 14px; display: grid; place-items: center; font-weight: 800; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .disabled { opacity: .4; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .label { font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.field label .req { color: var(--pink); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, select.input {
    width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 14px; border: 2px solid var(--line); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .84rem; font-weight: 700; }
.field-hint { color: var(--muted); font-size: .82rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; font-size: .95rem; }
.check input { accent-color: var(--primary); width: 19px; height: 19px; margin-top: 3px; flex-shrink: 0; }
.hp { position: absolute !important; inset-inline-start: -9999px; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.2rem; display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.alert-success { background: #e3f6ec; color: #17734c; }
.alert-error { background: #fde7e8; color: #a7232a; }
.alert-info { background: var(--primary-50); color: var(--primary-700); }
.alert-warning { background: var(--yellow-50); color: #8a5a00; }

/* ---------- Fiche produit ---------- */
.product-page { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 84px 1fr; gap: 1rem; }
.gallery-main { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); aspect-ratio: 1; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .3s; }
.gallery-main.zoom img { transform: scale(1.8); }
.gallery-thumbs { display: flex; flex-direction: column; gap: .7rem; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--surface); aspect-ratio: 1; transition: border-color .2s; }
.gallery-thumbs button.active { border-color: var(--primary); }
.product-info .brand-link { font-weight: 800; color: var(--orange); text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .4rem 0 .6rem; }
.product-info .rating-line { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .92rem; margin-bottom: 1rem; flex-wrap: wrap; }
.product-price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1rem; flex-wrap: wrap; }
.product-price .price { font-size: 2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.variant-group { margin-bottom: 1.2rem; }
.variant-group .label { display: block; margin-bottom: .5rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-options label { position: relative; cursor: pointer; }
.variant-options input { position: absolute; opacity: 0; }
.variant-options span { display: inline-flex; flex-direction: column; align-items: center; padding: .55rem 1rem; border: 2px solid var(--line); border-radius: 14px; font-weight: 700; transition: all .2s; min-width: 76px; text-align: center; }
.variant-options span small { font-weight: 600; color: var(--muted); font-size: .76rem; }
.variant-options input:checked + span { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.variant-options input:disabled + span { opacity: .45; text-decoration: line-through; }
.variant-options input:focus-visible + span { outline: 3px solid var(--orange); }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); display: inline-block; margin-bottom: .2rem; }
.stock-line { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 1.2rem; font-size: .95rem; }
.stock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px #e3f6ec; }
.stock-low .stock-dot { background: var(--orange); box-shadow: 0 0 0 4px var(--yellow-50); }
.stock-out .stock-dot { background: var(--danger); box-shadow: 0 0 0 4px #fde7e8; }
.buy-row { display: flex; gap: .7rem; align-items: stretch; margin-bottom: 1rem; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 42px; height: 50px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { color: var(--primary); }
.qty input { width: 46px; text-align: center; border: 0; font-weight: 800; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { appearance: none; }
.qty.sm button { width: 34px; height: 38px; }
.qty.sm input { width: 34px; }
.buy-row .btn-lg { flex: 1; min-width: 200px; }
.subscribe-box { border: 2px dashed var(--teal); background: var(--teal-50); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.subscribe-box h4 { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; color: #0f7f79; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.2rem 0; }
.perk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: .9rem .5rem; border-radius: var(--radius); background: var(--surface); font-size: .82rem; font-weight: 700; }
.perk .icon { color: var(--primary); }
.tabs { margin-top: 3rem; }
.tab-list { display: flex; gap: .4rem; border-bottom: 2px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list button { padding: .9rem 1.3rem; border: 0; background: none; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--muted); cursor: pointer; position: relative; white-space: nowrap; }
.tab-list button[aria-selected=true] { color: var(--primary); }
.tab-list button[aria-selected=true]::after { content: ''; position: absolute; bottom: -2px; inset-inline: 0; height: 3px; background: var(--primary); border-radius: 3px; }
.tab-panel { padding-block: 1.8rem; }
.tab-panel[hidden] { display: none; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: .75rem 1rem; text-align: start; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; color: var(--muted); font-weight: 700; }
.reviews-summary { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.score-big { font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; line-height: 1; color: var(--ink); }
.dist-row { display: grid; grid-template-columns: 54px 1fr 40px; align-items: center; gap: .6rem; font-size: .88rem; margin-bottom: .35rem; }
.dist-row .bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.dist-row .bar span { display: block; height: 100%; background: var(--yellow); border-radius: 8px; }
.review { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .4rem; flex-wrap: wrap; }
.rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { cursor: pointer; color: #e3e0ee; transition: color .15s, transform .15s; }
.rating-input label svg { width: 30px; height: 30px; fill: currentColor; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--yellow); }
.rating-input label:hover { transform: scale(1.15); }
.sticky-buy { position: fixed; bottom: 0; inset-inline: 0; background: #fff; box-shadow: 0 -10px 30px rgba(43, 26, 90, .12); padding: .7rem 0; z-index: 90; transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-buy.show { transform: translateY(0); }
.sticky-buy .container { display: flex; align-items: center; gap: 1rem; }
.sticky-buy img { width: 48px; height: 48px; border-radius: 12px; }
.sticky-buy strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Fiche animal ---------- */
.animal-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.2rem 0; }
.fact { background: var(--surface); border-radius: var(--radius); padding: .9rem; text-align: center; }
.fact small { display: block; color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.fact strong { font-family: var(--font-head); font-size: 1.1rem; }
.health-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.health-list li { display: flex; align-items: center; gap: .6rem; }
.health-list .ok { color: var(--success); }
.health-list .no { color: var(--muted); }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Panier & commande ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto auto 40px; gap: 1.1rem; align-items: center; padding: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: .8rem; }
.cart-line img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.cart-line h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; margin: 0 0 .2rem; }
.cart-line h3 a { color: var(--ink); }
.cart-line .line-total { font-family: var(--font-head); font-weight: 600; min-width: 96px; text-align: end; }
.remove-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.remove-btn:hover { background: #fde7e8; color: var(--danger); }
.summary { position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.summary h3 { margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; color: var(--ink-2); }
.summary-row.total { border-top: 2px dashed var(--line); margin-top: .6rem; padding-top: 1rem; font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); font-weight: 600; }
.summary-row .green { color: var(--success); font-weight: 700; }
.coupon-form { display: flex; gap: .5rem; margin: 1rem 0; }
.coupon-form input { flex: 1; min-width: 0; min-height: 46px; border-radius: 12px; border: 2px solid var(--line); padding-inline: .9rem; text-transform: uppercase; }
.steps { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: 2rem; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 21px; inset-inline: 8%; height: 3px; background: var(--line); z-index: 0; }
.steps .progress { position: absolute; top: 21px; inset-inline-start: 8%; height: 3px; background: var(--primary); z-index: 0; transition: width .5s var(--ease); }
.step-dot { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; flex: 1; font-weight: 700; font-size: .88rem; color: var(--muted); background: none; border: 0; cursor: pointer; }
.step-dot .n { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-size: 1.05rem; transition: all .3s; }
.step-dot.active, .step-dot.done { color: var(--primary); }
.step-dot.active .n { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.step-dot.done .n { border-color: var(--primary); color: var(--primary); }
.checkout-step[hidden] { display: none; }
.checkout-step h2 { font-size: 1.5rem; display: flex; align-items: center; gap: .6rem; }
.pay-options { display: grid; gap: .8rem; }
.pay-option { display: flex; align-items: center; gap: 1rem; border: 2px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--primary-50); }
.pay-option input { accent-color: var(--primary); width: 20px; height: 20px; }
.pay-option .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.pay-option strong { display: block; }
.pay-option small { color: var(--muted); }
.saved-addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; margin-bottom: 1.2rem; }
.address-pick { border: 2px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; cursor: pointer; font-size: .9rem; background: #fff; text-align: start; }
.address-pick.active { border-color: var(--primary); background: var(--primary-50); }
.step-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.recap-box { background: var(--surface); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.recap-box h4 { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: 1rem; }
.recap-box h4 button { background: none; border: 0; color: var(--primary); font-weight: 700; cursor: pointer; font-size: .85rem; }
.success-hero { text-align: center; padding: 3rem 1rem 2rem; }
.success-hero .check-anim { width: 110px; height: 110px; margin: 0 auto 1.2rem; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding-inline-start: 2rem; padding-bottom: 1.2rem; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.timeline li::after { content: ''; position: absolute; inset-inline-start: 12px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.order-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; margin: 1.5rem 0; }
.order-track .st { text-align: center; font-size: .8rem; font-weight: 700; color: var(--muted); }
.order-track .st .bar { height: 6px; border-radius: 6px; background: var(--line); margin-bottom: .5rem; }
.order-track .st.on { color: var(--primary); }
.order-track .st.on .bar { background: linear-gradient(90deg, var(--primary), var(--teal)); }

/* ---------- Comparateur ---------- */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare-table th { text-align: start; background: var(--surface); width: 180px; font-size: .9rem; color: var(--ink-2); }
.compare-table img { width: 140px; height: 140px; object-fit: cover; border-radius: 16px; margin: 0 auto .6rem; }
.compare-bar { position: fixed; bottom: 1rem; inset-inline: 1rem; z-index: 80; display: flex; justify-content: center; pointer-events: none; }
.compare-bar .inner { pointer-events: auto; background: var(--ink); color: #fff; border-radius: 999px; padding: .5rem .6rem .5rem 1.2rem; display: flex; align-items: center; gap: 1rem; box-shadow: var(--shadow-lg); transform: translateY(150%); transition: transform .4s var(--ease); }
.compare-bar.show .inner { transform: translateY(0); }

/* ---------- Espace client ---------- */
.account-layout { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; position: sticky; top: calc(var(--header-h) + 16px); }
.account-nav .hello { display: flex; align-items: center; gap: .8rem; padding: .5rem .5rem 1rem; border-bottom: 1px solid var(--line); margin-bottom: .6rem; }
.account-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 12px; color: var(--ink-2); font-weight: 700; }
.account-nav a:hover { background: var(--surface); color: var(--primary); }
.account-nav a.active { background: var(--primary-50); color: var(--primary); }
.account-nav a .icon { color: var(--primary); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; display: flex; align-items: center; gap: .9rem; }
.stat-card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; }
.stat-card strong { font-family: var(--font-head); font-size: 1.5rem; display: block; line-height: 1.1; }
.stat-card small { color: var(--muted); font-weight: 700; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th { text-align: start; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: .8rem 1rem; border-bottom: 2px solid var(--line); }
.table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: #fcfbff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.pet-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.pet-card { border-radius: var(--radius-lg); padding: 1.3rem; background: linear-gradient(140deg, var(--primary-50), #fff); border: 1px solid var(--line); position: relative; overflow: hidden; }
.pet-card.chat { background: linear-gradient(140deg, #fff1e3, #fff); }
.pet-card .pet-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--primary); color: #fff; display: grid; place-items: center; margin-bottom: .8rem; }
.pet-card.chat .pet-ico { background: var(--orange); }
.pet-card h3 { margin: 0 0 .3rem; }
.pet-card .actions { display: flex; gap: .4rem; margin-top: 1rem; flex-wrap: wrap; }
.loyalty-card { background: linear-gradient(135deg, var(--primary), #8b5cf6); border-radius: var(--radius-xl); padding: 1.8rem; color: #fff; position: relative; overflow: hidden; }
.loyalty-card .pts { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; }
.loyalty-card .bar { height: 10px; background: rgba(255, 255, 255, .25); border-radius: 10px; overflow: hidden; margin: 1rem 0 .4rem; }
.loyalty-card .bar span { display: block; height: 100%; background: var(--yellow); border-radius: 10px; }
.auth-wrap { max-width: 1000px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.auth-art { background: linear-gradient(150deg, var(--primary), #8257e6); color: #fff; padding: 2.4rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-art h2 { color: #fff; }
.auth-art .art { width: 80%; margin: 1.5rem auto 0; }
.auth-form { padding: clamp(24px, 4vw, 48px); }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .85rem; margin: 1.2rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; top: 1rem; inset-inline-end: 1rem; z-index: 600; display: grid; gap: .6rem; width: min(380px, calc(100vw - 2rem)); }
.toast { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .9rem 1rem; display: flex; gap: .7rem; align-items: center; border-inline-start: 5px solid var(--success); animation: toastIn .4s var(--ease); font-weight: 600; }
.toast.error { border-color: var(--danger); }
.toast .icon { color: var(--success); }
.toast.error .icon { color: var(--danger); }
.toast.hide { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px); } }

/* ---------- Bandeau cookies (consentement mesure d'audience) ---------- */
.cookie-banner { position: fixed; inset-block-end: 1rem; inset-inline: 1rem; z-index: 500; max-width: 760px; margin-inline: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-inline-start: 5px solid var(--primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; animation: cookieIn .45s var(--ease); }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.cookie-banner a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-inline-start: auto; }
.cookie-banner .btn:focus-visible, .link-button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #cfc9e6; cursor: pointer; text-align: start; }
.link-button:hover { color: var(--orange); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 720px) {
    .cookie-banner { inset-inline: .6rem; inset-block-end: .6rem; padding: .9rem 1rem; }
    .cookie-actions { width: 100%; }
    .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ---------- Animations d'apparition (sans GSAP) ---------- */
.no-gsap [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.no-gsap [data-reveal].in { opacity: 1; transform: none; }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.wiggle { animation: wiggle 3s ease-in-out infinite; transform-origin: bottom center; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-8deg); } 20% { transform: rotate(6deg); } 30% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
    .main-nav > a, .main-nav .nav-item > a { padding: .6rem .5rem; font-size: .95rem; }
    .cart-total { display: none; }
}
@media (max-width: 1200px) {
    .header-search { max-width: 260px; }
    .features { grid-template-columns: repeat(3, 1fr); }
    .strip-list { grid-template-columns: repeat(3, 1fr); }
    .strip-list > :nth-child(n+4) { display: none; }
}
@media (max-width: 1024px) {
    :root { --header-h: 72px; }
    .main-nav, .topbar-links { display: none; }
    .menu-toggle { display: inline-grid; }
    .header-search { max-width: none; }
    .cart-total { display: none; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-ctas, .hero-trust { justify-content: center; }
    .hero-visual { max-width: 440px; order: -1; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-card.span-2, .promo-card.span-3 { grid-column: span 1; }
    .promo-card:last-child:nth-child(odd) { grid-column: span 2; }
    .cat-chips { grid-template-columns: repeat(3, 1fr); }
    .counters { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
    .advisor, .newsletter { grid-template-columns: 1fr; }
    .carousel { grid-auto-columns: calc((100% - 1.4rem) / 2); }
    .carousel.cols-4 { grid-auto-columns: calc((100% - 2.8rem) / 3); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters { position: fixed; inset-block: 0; inset-inline-start: 0; width: min(90vw, 340px); z-index: 350; border-radius: 0; max-height: none; transform: translateX(-105%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); top: 0; }
    [dir="rtl"] .filters { transform: translateX(105%); }
    .filters.open { transform: translateX(0); }
    .filters-toggle { display: inline-flex; }
    .product-page { grid-template-columns: 1fr; }
    .gallery { position: static; }
    .cart-layout, .account-layout { grid-template-columns: 1fr; }
    .summary, .account-nav { position: static; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-art { display: none; }
    .reviews-summary { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    body { font-size: 15px; }
    .topbar .container { justify-content: center; }
    .topbar-tools .hide-sm { display: none; }
    .header-inner { gap: .6rem; }
    .header-search { position: absolute; top: 100%; inset-inline: 0; padding: .6rem 16px; background: #fff; display: none; box-shadow: var(--shadow); }
    .header-search.open { display: block; }
    .search-toggle { display: inline-grid; }
    .logo-mark { width: 40px; height: 40px; }
    .logo { flex-shrink: 1; gap: .4rem; }
    .logo-text { min-width: 0; }
    .logo-text strong { font-size: .98rem; line-height: 1.05; }
    .header-actions { gap: 0; }
    .logo-text small { display: none; }
    .header-actions { margin-inline-start: auto; }
    .header-action { width: 40px; height: 40px; }
    .hide-mobile { display: none !important; }
    .species-grid { grid-template-columns: 1fr; }
    .species-card p { max-width: 60%; }
    .promo-grid { grid-template-columns: 1fr; }
    .promo-card:last-child:nth-child(odd) { grid-column: span 1; }
    .cat-chips { grid-template-columns: repeat(2, 1fr); }
    .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
    .product-card { padding: .6rem; border-radius: var(--radius); }
    .product-card .quick button { opacity: 1; transform: none; width: 34px; height: 34px; }
    .product-card h3 { font-size: .92rem; }
    .add-btn { width: 38px; height: 38px; border-radius: 12px; }
    .strip-list { grid-template-columns: 1fr; }
    .strip-list > :nth-child(n+4) { display: flex; }
    .carousel, .carousel.cols-4 { grid-auto-columns: 86%; }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features > :last-child { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .form-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
    .gallery-thumbs button { width: 72px; flex-shrink: 0; }
    .perks, .animal-facts { grid-template-columns: repeat(3, 1fr); }
    .animal-facts.breed-facts { grid-template-columns: repeat(2, 1fr); }
    .cart-line { grid-template-columns: 72px 1fr 38px; grid-template-areas: 'img info rm' 'img qty total'; gap: .6rem .9rem; }
    .cart-line img { width: 72px; height: 72px; grid-area: img; }
    .cart-line .info { grid-area: info; }
    .cart-line .qty { grid-area: qty; justify-self: start; }
    .cart-line .line-total { grid-area: total; min-width: 0; }
    .cart-line .remove-btn { grid-area: rm; }
    .steps .lbl { display: none; }
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .chip-delivery, .chip-rating { display: none; }
    .hero-badge { width: 100px; height: 100px; }
    .hero-badge .inner strong { font-size: 1.05rem; }
    .newsletter form { flex-direction: column; border-radius: var(--radius-lg); }
    .newsletter input { min-height: 48px; }
    .section-head { margin-bottom: 1.3rem; }
}

