/* ==========================================================================
   Djoloof Business Compagnie (DBC) — Design System
   Style premium inspiré de Samsung / Apple / Boulanger / Darty.
   CSS natif (aucune dépendance Node), optimisé performance.
   ========================================================================== */

:root {
    /* Marque */
    --orange: #F7931E;
    --orange-dark: #d97b06;
    --orange-light: #ffb454;
    --orange-soft: #fff4e6;
    --black: #111111;
    --white: #FFFFFF;

    /* Gris */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Sémantique */
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #2563eb;

    /* Rayons */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;

    /* Ombres modernes */
    --shadow-xs: 0 1px 2px rgba(17,17,17,.05);
    --shadow-sm: 0 2px 8px rgba(17,17,17,.06);
    --shadow: 0 8px 24px rgba(17,17,17,.08);
    --shadow-lg: 0 16px 40px rgba(17,17,17,.12);
    --shadow-orange: 0 10px 30px rgba(247,147,30,.35);

    --header-h: 140px;
    --container: 1280px;
    --transition: 220ms cubic-bezier(.4,0,.2,1);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1,h2,h3,h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 64px; }
.section-sm { padding-block: 40px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-head p { color: var(--gray-500); margin-top: 4px; }
.section-head .link { color: var(--orange); font-weight: 600; white-space: nowrap; }
.eyebrow { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: var(--radius-full); font-weight: 600; font-size: .95rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 1.5px solid var(--gray-300); color: var(--black); background: #fff; }
.btn-outline:hover { border-color: var(--black); }
.btn-ghost { color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--radius-full); font-size: .72rem; font-weight: 700; }
.badge-sale { background: var(--orange); color: #fff; }
.badge-new { background: var(--black); color: #fff; }
.badge-out { background: var(--gray-200); color: var(--gray-600); }
.badge-success { background: #dcfce7; color: var(--success); }
.badge-warning { background: #fef3c7; color: #92400e; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar { background: var(--black); color: #fff; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar a:hover { color: var(--orange-light); }
.topbar .topbar-links { display: flex; gap: 20px; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--gray-100); }
.header-main { display: flex; align-items: center; gap: 24px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; }
.logo .logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; box-shadow: var(--shadow-orange); }
.logo b { color: var(--black); } .logo span { color: var(--orange); }
.logo-img { height: 54px; width: auto; display: block; }
.logo-img--footer { height: 60px; background: #fff; padding: 8px 14px; border-radius: 12px; }
@media (max-width: 768px) { .logo-img { height: 44px; } }

.search-bar { flex: 1; position: relative; max-width: 620px; }
.search-bar input { width: 100%; padding: 13px 48px 13px 20px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-full); background: var(--gray-50); transition: var(--transition); }
.search-bar input:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px var(--orange-soft); }
.search-bar button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gray-700); transition: var(--transition); }
.icon-btn:hover { background: var(--gray-100); color: var(--black); }
.icon-btn .count { position: absolute; top: 4px; right: 4px; background: var(--orange); color: #fff; font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

.nav { border-top: 1px solid var(--gray-100); }
.nav .container { display: flex; align-items: center; gap: 6px; height: 52px; overflow-x: auto; }
.nav a { padding: 8px 14px; border-radius: var(--radius-full); font-size: .9rem; font-weight: 500; color: var(--gray-700); white-space: nowrap; transition: var(--transition); }
.nav a:hover, .nav a.active { background: var(--orange-soft); color: var(--orange-dark); }
.nav a.all { background: var(--black); color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fff 0%, var(--orange-soft) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background-image: url('/assets/img/hero-bg.jpg'); background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.35) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: 480px; padding-block: 48px; }
.hero-content .eyebrow { margin-bottom: 14px; display: block; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.hero-content p { font-size: 1.15rem; color: var(--gray-600); margin: 20px 0 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual img { width: 100%; max-width: 460px; height: auto; object-fit: contain; background: #fff; padding: 28px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-blob { position: absolute; inset: 0; margin: auto; width: 78%; aspect-ratio: 1; background: radial-gradient(circle, var(--orange-light), transparent 70%); filter: blur(40px); opacity: .5; z-index: 0; }

/* ---- Hero slider (bannières dynamiques) ---- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-slider { position: relative; overflow: hidden; background: var(--gray-100); }
.hs-track { display: flex; transition: transform .5s ease; }
.hs-slide { position: relative; flex: 0 0 100%; }
.hs-img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hs-overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 55%, transparent 100%); }
.hs-content { max-width: 560px; color: #fff; }
.hs-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); color: #fff; }
.hs-content p { font-size: 1.05rem; margin: 12px 0 22px; color: rgba(255,255,255,.92); }
.hs-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--black); display: grid; place-items: center; z-index: 2; box-shadow: var(--shadow); transition: var(--transition); }
.hs-nav:hover { background: #fff; }
.hs-prev { left: 16px; } .hs-next { right: 16px; }
.hs-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hs-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); transition: var(--transition); }
.hs-dot.active { background: #fff; width: 26px; border-radius: 6px; }
@media (max-width: 768px) {
    .hs-img { height: 320px; }
    .hs-overlay { align-items: flex-end; padding-bottom: 44px; background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 60%, transparent 100%); }
    .hs-content { text-align: left; }
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); text-align: center; transition: var(--transition); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card .cat-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; transition: var(--transition); }
.cat-card:hover .cat-icon { background: var(--orange); color: #fff; }
.cat-card span { font-weight: 600; font-size: .9rem; }

/* ==========================================================================
   PRODUITS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .p-media { position: relative; aspect-ratio: 1; background: var(--gray-50); display: grid; place-items: center; overflow: hidden; }
.product-card .p-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform var(--transition); }
.product-card:hover .p-media img { transform: scale(1.06); }
.product-card .p-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card .p-fav { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--gray-500); z-index: 2; transition: var(--transition); }
.product-card .p-fav:hover { color: var(--orange); transform: scale(1.1); }
.product-card .p-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .p-brand { font-size: .75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.product-card .p-name { font-weight: 600; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-card .p-rating { display: flex; align-items: center; gap: 4px; color: var(--orange); font-size: .8rem; }
.product-card .p-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.product-card .p-price .now { font-size: 1.15rem; font-weight: 800; color: var(--black); }
.product-card .p-price .was { font-size: .85rem; color: var(--gray-400); text-decoration: line-through; }
.product-card .p-price .save { font-size: .72rem; color: var(--success); font-weight: 700; }
.product-card .p-actions { display: flex; gap: 8px; padding: 0 16px 16px; }

/* ==========================================================================
   POURQUOI DBC
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.feature { text-align: center; padding: 28px 16px; border-radius: var(--radius-lg); transition: var(--transition); }
.feature:hover { background: var(--gray-50); }
.feature .f-icon { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
.feature h4 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .85rem; color: var(--gray-500); }

/* ---------- Avis ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-xs); }
.review-card .stars { color: var(--orange); margin-bottom: 12px; }
.review-card p { color: var(--gray-700); font-style: italic; }
.review-card .author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; font-weight: 700; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--black); color: #fff; border-radius: var(--radius-xl); padding: 48px; text-align: center; }
.newsletter h2 { font-size: 1.8rem; }
.newsletter p { color: var(--gray-400); margin: 10px 0 26px; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin-inline: auto; }
.newsletter input { flex: 1; padding: 14px 20px; border-radius: var(--radius-full); border: none; }
.newsletter input:focus { outline: 3px solid var(--orange); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--gray-900); color: var(--gray-300); padding-top: 56px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { display: block; padding: 5px 0; color: var(--gray-400); transition: var(--transition); font-size: .9rem; }
.footer a:hover { color: var(--orange-light); }
.footer .f-about p { font-size: .9rem; color: var(--gray-400); margin: 14px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--gray-500); }

/* ==========================================================================
   WHATSAPP flottant (mobile)
   ========================================================================== */
.wa-float { position: fixed; bottom: 20px; right: 20px; z-index: 90; display: none; align-items: center; gap: 8px; padding: 14px 20px; background: #25D366; color: #fff; border-radius: var(--radius-full); box-shadow: 0 10px 30px rgba(37,211,102,.4); font-weight: 700; animation: waPulse 2.5s infinite; }
@keyframes waPulse { 0%,100%{ transform: scale(1);} 50%{ transform: scale(1.04);} }

/* ==========================================================================
   ALERTES / FLASH
   ========================================================================== */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: .9rem; font-weight: 500; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* ==========================================================================
   ANIMATIONS (reveal on scroll + skeleton)
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 37%, var(--gray-100) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); }
@keyframes shimmer { 0%{ background-position: 100% 50%;} 100%{ background-position: 0 50%;} }

/* Bande confiance compacte (home) */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); }
.trust-strip .item { display: flex; align-items: center; gap: 12px; }
.trust-strip .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex-shrink: 0; }
.trust-strip strong { display: block; font-size: .92rem; }
.trust-strip span { color: var(--gray-500); font-size: .8rem; }
@media (max-width: 768px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-strip { grid-template-columns: 1fr; } }

/* ==========================================================================
   BOUTIQUE : fil d'ariane, listing, filtres
   ========================================================================== */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 18px 0; font-size: .85rem; color: var(--gray-500); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--gray-300); }

.page-head { padding: 8px 0 24px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.page-head .count { color: var(--gray-500); margin-top: 4px; }

.listing { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 150px; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 22px; }
.filters h3 { font-size: 1rem; margin-bottom: 6px; }
.filter-group { padding: 16px 0; border-top: 1px solid var(--gray-100); }
.filter-group:first-of-type { border-top: none; }
.filter-group h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); margin-bottom: 12px; }
.filter-group label { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .9rem; cursor: pointer; }
.filter-group input[type="checkbox"] { width: auto; accent-color: var(--orange); }
.price-inputs { display: flex; gap: 8px; }
.price-inputs input { width: 100%; padding: 9px 10px; border: 1.5px solid var(--gray-200); border-radius: 8px; font-size: .85rem; }

.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.listing-toolbar select { padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-full); background: #fff; font-size: .88rem; }
.filters-toggle { display: none; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-full); border: 1.5px solid var(--gray-200); font-weight: 600; font-size: .9rem; transition: var(--transition); }
.pagination a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .current { background: var(--orange); color: #fff; border-color: var(--orange); }

.empty-state { text-align: center; padding: 64px 20px; color: var(--gray-500); }
.empty-state .ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--gray-100); display: grid; place-items: center; color: var(--gray-400); }

/* Grille catégories (page /categories) */
.cat-block { margin-bottom: 40px; }
.cat-block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cat-block-head .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
.cat-children { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cat-children a { padding: 14px 16px; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); font-weight: 500; font-size: .9rem; transition: var(--transition); }
.cat-children a:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateX(3px); }

/* ==========================================================================
   FICHE PRODUIT
   ========================================================================== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 12px 0 48px; }
.gallery .main-img { background: var(--gray-50); border-radius: var(--radius-xl); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.gallery .thumbs img { width: 76px; height: 76px; object-fit: contain; padding: 8px; background: var(--gray-50); border: 2px solid transparent; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.gallery .thumbs img.active, .gallery .thumbs img:hover { border-color: var(--orange); }

.pd-info .pd-brand { color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; font-weight: 600; }
.pd-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 6px 0 12px; }
.pd-rating { display: flex; align-items: center; gap: 8px; color: var(--orange); font-size: .9rem; margin-bottom: 18px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.pd-price .now { font-size: 2rem; font-weight: 800; }
.pd-price .was { font-size: 1.1rem; color: var(--gray-400); text-decoration: line-through; }
.pd-stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; margin-bottom: 20px; }
.pd-stock.in { color: var(--success); } .pd-stock.out { color: var(--danger); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--gray-200); border-radius: var(--radius-full); overflow: hidden; }
.qty button { width: 44px; height: 48px; font-size: 1.2rem; color: var(--gray-600); }
.qty input { width: 52px; height: 48px; text-align: center; border: none; font-weight: 700; }
.pd-reassurance { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.pd-reassurance div { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--gray-600); }
.pd-reassurance .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex-shrink: 0; }

.pd-sections { margin: 40px 0; }
.pd-block { margin-bottom: 40px; }
.pd-block h2 { font-size: 1.5rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gray-100); }
.pd-desc { max-width: 820px; color: var(--gray-700); line-height: 1.8; white-space: pre-line; }
.spec-table { width: 100%; border-collapse: collapse; max-width: 720px; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); font-size: .92rem; }
.spec-table td:first-child { font-weight: 600; color: var(--gray-600); width: 40%; background: var(--gray-50); }

.wa-order { background: #e8f9ef; border: 1px solid #b7ebc9; border-radius: var(--radius-lg); padding: 18px; display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.wa-order .ic { width: 46px; height: 46px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; flex-shrink: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .features { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    /* Header : la recherche passe sur une 2e ligne, pleine largeur */
    .header-main { flex-wrap: wrap; gap: 12px 14px; height: auto; padding-block: 12px; }
    .logo { order: 1; }
    .header-actions { order: 2; margin-left: auto; gap: 4px; }
    .search-bar { order: 3; display: block; flex-basis: 100%; max-width: none; }

    /* Héro */
    .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-block: 32px; gap: 24px; }
    .hero-content p { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-visual { order: -1; }
    .hero-visual img { max-width: 300px; padding: 20px; }

    /* Grilles */
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .cat-children { grid-template-columns: repeat(2, 1fr); }

    .newsletter form { flex-direction: column; }
    .wa-float { display: inline-flex; }
    .section { padding-block: 44px; }

    /* Boutique */
    .listing { grid-template-columns: 1fr; }
    .filters { position: fixed; inset: 0; z-index: 200; border-radius: 0; overflow-y: auto; display: none; }
    .filters.open { display: block; }
    .filters-toggle { display: inline-flex; }

    /* Fiche produit */
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .gallery .main-img img { padding: 20px; }
    .pd-reassurance { grid-template-columns: 1fr; }
    .pd-actions { gap: 10px; }
    .pd-actions .btn { flex: 1 1 auto; }

    /* Boutons plus compacts */
    .btn-lg { padding: 14px 22px; font-size: 1rem; }
}
@media (max-width: 600px) {
    /* Topbar : on garde les liens utiles, on masque le message pour gagner de la place */
    .topbar .container { justify-content: center; gap: 16px; }
    .topbar > .container > span { display: none; }
}
@media (max-width: 480px) {
    .container { padding-inline: 16px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .product-grid { gap: 12px; }
    .pd-price .now { font-size: 1.6rem; }
    .nav .container { height: 48px; }
}
