/* My Home BF1 — couleurs tirées du logo : bleu, jaune, rouge */
:root {
  --bleu: #164f82;
  --bleu-fonce: #0e3559;
  --jaune: #e3a13a;
  --jaune-clair: #ffd15c;
  --rouge: #c9333a;
  --papier: #f6f4ef;
  --blanc: #fff;
  --encre: #17202a;
  --gris: #5f6870;
  --trait: #dcd8cf;
  --titre: "Archivo", "Arial Narrow", sans-serif;
  --texte: "Archivo", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texte); font-size: 15px; background: var(--papier); color: var(--encre); line-height: 1.45; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.infobar { background: var(--bleu-fonce); color: #cfdbe7; font-size: 12.5px; }
.infobar-inner { max-width: 1200px; margin: 0 auto; padding: 5px 14px; display: flex; justify-content: space-between; gap: 12px; }
.infobar a { color: #fff; text-decoration: none; font-weight: 600; }
@media (max-width: 640px) { .infobar .hide-m { display: none; } }

.topbar { background: var(--blanc); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--trait); }
.topbar-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 10px 14px; }
.logo img { height: 38px; width: auto; }
.search { flex: 1; display: flex; border: 2px solid var(--bleu); border-radius: 999px; overflow: hidden; background: #fff; }
.search input { flex: 1; border: 0; padding: 9px 12px; font: inherit; min-width: 0; outline: none; }
.search button { border: 0; background: var(--bleu); color: #fff; font-weight: 700; padding: 0 16px; }
.cart-btn { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--bleu); font-weight: 700; font-size: 14px; }
.cart-count { background: var(--rouge); color: #fff; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
@media (max-width: 640px) {
  .topbar-inner { flex-wrap: wrap; gap: 10px; }
  .logo img { height: 32px; }
  .search { order: 3; flex-basis: 100%; }
  .cart-btn { margin-left: auto; }
}

.catnav { background: var(--bleu); display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
.catnav a { color: #fff; white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 12px; border-bottom: 3px solid transparent; }
.catnav a:hover, .catnav a.active { border-bottom-color: var(--jaune); }
.catnav a.promo-link { background: var(--rouge); }

main { max-width: 1200px; margin: 0 auto; padding: 16px 14px 8px; min-height: 60vh; outline: none; }

/* ---------- Accueil : vitrine + boîtes (structure inspirée des grands sites marchands) ---------- */
main { padding-top: 0; }
.vitrine { margin: 0 -14px; min-height: 420px; color: #fff; display: flex; align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(14,53,89,0) 55%, var(--papier) 100%),
    linear-gradient(90deg, rgba(14,53,89,.92) 0%, rgba(14,53,89,.55) 45%, rgba(14,53,89,.1) 100%),
    var(--photo) center / cover no-repeat,
    linear-gradient(120deg, var(--bleu-fonce), var(--bleu) 60%, #2a6aa5);
}
.vitrine-texte { padding: 48px 28px 150px; max-width: 620px; }
.sur-titre { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jaune-clair); margin: 0 0 10px; }
.vitrine h1 { font-family: var(--titre); font-stretch: 75%; font-weight: 800; font-size: clamp(34px, 5.2vw, 58px); line-height: .95; margin: 0 0 14px; text-transform: uppercase; }
.vitrine p { margin: 0 0 20px; font-size: 16px; color: #e3ebf3; max-width: 44ch; }
.vitrine-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vitrine .ouvert { background: rgba(255,255,255,.95); padding: 5px 10px; border-radius: 999px; }

.boites { position: relative; z-index: 2; margin-top: -130px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.boite { background: var(--blanc); border-radius: 10px; padding: 18px 18px 16px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(23,32,42,.06), 0 8px 24px -12px rgba(23,32,42,.18); }
.boite h2 { font-family: var(--titre); font-stretch: 80%; font-weight: 800; font-size: 21px; line-height: 1.05; margin: 0 0 12px; }
.boite-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; flex: 1; }
.boite-grille a { text-decoration: none; font-size: 12.5px; color: var(--gris); position: relative; }
.boite-grille .ph { border-radius: 6px; margin-bottom: 4px; aspect-ratio: 1; }
.boite-grille span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boite-grille em { position: absolute; top: 6px; left: 6px; background: var(--rouge); color: #fff; font-style: normal; font-weight: 800; font-size: 11.5px; padding: 2px 6px; border-radius: 4px; }
.boite-grille a:hover span { color: var(--bleu); text-decoration: underline; }
.lien { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--bleu); }
.lien:hover { color: var(--rouge); }
.boite-bon .bon { align-self: flex-start; background: var(--jaune-clair); border: 2px dashed var(--encre); border-radius: 6px; padding: 10px 16px; text-align: center; transform: rotate(-3deg); margin: 4px 0 12px 4px; font-family: var(--titre); font-stretch: 75%; }
.bon b { display: block; font-size: 38px; line-height: 1; font-weight: 900; }
.bon span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.boite-bon p { font-size: 14px; margin: 0 0 12px; color: var(--gris); }
.boite-bon dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 13.5px; padding-top: 12px; border-top: 1px solid var(--trait); }
.boite-bon dt { color: var(--gris); } .boite-bon dd { margin: 0; font-weight: 600; }
.ouvert { display: inline-block; font-weight: 700; font-size: 13px; color: #1d7a3a; }
.ouvert.ferme { color: var(--rouge); }
@media (max-width: 1000px) { .boites { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .vitrine { min-height: 0; }
  .vitrine-texte { padding: 32px 18px 110px; }
  .boites { grid-template-columns: 1fr; margin-top: -90px; gap: 12px; }
}

.comment { border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--blanc); border: 1px solid var(--trait); margin-bottom: 26px; counter-reset: etape; }
.comment li { list-style: none; padding: 14px 16px 14px 52px; position: relative; font-size: 14px; color: var(--gris); border-left: 1px solid var(--trait); }
.comment li:first-child { border-left: 0; }
.comment li::before { counter-increment: etape; content: counter(etape); position: absolute; left: 16px; top: 12px; font-family: var(--titre); font-stretch: 75%; font-weight: 900; font-size: 28px; line-height: 1; color: var(--jaune); }
.comment b { display: block; color: var(--encre); font-size: 15px; }
.comment { padding: 0; }
@media (max-width: 760px) { .comment { grid-template-columns: 1fr; } .comment li { border-left: 0; border-top: 1px solid var(--trait); } .comment li:first-child { border-top: 0; } }

/* Rayons */
.cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; margin-bottom: 30px; }
.cats a { background: var(--blanc); text-decoration: none; display: flex; flex-direction: column; }
.cats img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cats span { padding: 8px 10px; font-weight: 700; font-size: 13.5px; color: var(--bleu); }
.cats a:hover span { color: var(--rouge); text-decoration: underline; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Titres de section ---------- */
.section { margin-bottom: 30px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-bottom: 2px solid var(--encre); padding-bottom: 6px; margin-bottom: 12px; }
.section-head h2 { margin: 0; font-family: var(--titre); font-stretch: 75%; font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.section-head a { font-size: 14px; font-weight: 700; color: var(--bleu); }
.page-title { font-family: var(--titre); font-stretch: 75%; font-weight: 800; font-size: 34px; text-transform: uppercase; margin: 4px 0 14px; line-height: 1; }

/* ---------- Fiches produits ---------- */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.row > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }

.card { background: var(--blanc); border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card:hover { border-color: var(--bleu); }
.card a.thumb { display: block; }
.ph { aspect-ratio: 1; background: #fff; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.card .info { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .name { font-size: 14px; text-decoration: none; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .name:hover { text-decoration: underline; }

/* Étiquette de prix façon rayon */
.prix { display: flex; align-items: stretch; width: max-content; }
.prix .montant { background: var(--jaune-clair); border-radius: 4px; font-family: var(--titre); font-stretch: 75%; font-weight: 900; font-size: 22px; line-height: 1; padding: 5px 8px 4px; }
.prix .montant small { font-size: 12px; font-weight: 700; margin-left: 2px; }
.prix .avant { font-size: 12px; color: var(--gris); text-decoration: line-through; align-self: center; margin-left: 8px; }
.badge { position: absolute; top: 8px; right: 8px; border-radius: 4px; background: var(--rouge); color: #fff; font-family: var(--titre); font-stretch: 75%; font-weight: 800; font-size: 16px; padding: 4px 8px; z-index: 1; }
.stock { font-size: 12.5px; font-weight: 600; }
.stock.ok { color: #1d7a3a; } .stock.limite { color: #a65d00; } .stock.rupture { color: var(--rouge); }
.card .btn { margin-top: auto; }

.btn { border: 2px solid var(--bleu); background: var(--blanc); color: var(--bleu); border-radius: 999px; padding: 8px 12px; font-weight: 700; text-decoration: none; display: inline-block; text-align: center; }
.btn:hover { background: var(--bleu); color: #fff; }
.btn.plein { background: var(--jaune-clair); border-color: var(--jaune-clair); color: var(--encre); }
.btn.plein:hover { background: #fff; }
.btn:disabled { border-color: var(--trait); color: #999; background: #f3f3f3; cursor: not-allowed; }
.btn.wa { background: #1f8f4e; border-color: #1f8f4e; color: #fff; font-size: 16px; padding: 13px; width: 100%; }
.btn.wa:hover { background: #17733e; }

/* ---------- Liste / filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filters select, .filters input { padding: 8px 10px; border: 1px solid var(--trait); border-radius: 3px; font: inherit; background: #fff; }
.empty { text-align: center; color: var(--gris); padding: 40px 0; }

/* ---------- Fiche produit ---------- */
.crumbs { font-size: 13px; color: var(--gris); margin-bottom: 10px; }
.product { border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--blanc); padding: 18px; border: 1px solid var(--trait); }
.product h1 { font-family: var(--titre); font-stretch: 75%; font-weight: 800; font-size: 32px; line-height: 1.05; margin: 0 0 12px; }
.product .prix .montant { font-size: 34px; padding: 7px 12px 6px; }
.economie { color: var(--rouge); font-weight: 700; margin: 8px 0 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--trait); width: max-content; }
.qty button { border: 0; background: #f1efe9; width: 38px; height: 38px; font-size: 18px; }
.qty span { width: 40px; text-align: center; font-weight: 700; }
.buy { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; max-width: 380px; }
.perks { font-size: 14px; color: var(--gris); padding-left: 18px; margin-top: 16px; }
@media (max-width: 720px) { .product { grid-template-columns: 1fr; } }

/* ---------- Panier ---------- */
.cart { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }
.cart-items { border-radius: 10px; background: var(--blanc); border: 1px solid var(--trait); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-bottom: 1px solid var(--trait); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .remove { background: none; border: 0; color: var(--rouge); font-size: 13px; padding: 0; text-decoration: underline; }
.summary { border-radius: 10px; background: var(--blanc); border: 1px solid var(--trait); border-top: 4px solid var(--bleu); padding: 16px; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 10px; }
.summary label { font-size: 13px; font-weight: 700; display: flex; flex-direction: column; gap: 4px; }
.summary input, .summary textarea { padding: 9px; border: 1px solid var(--trait); border-radius: 3px; font: inherit; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--titre); font-stretch: 75%; font-weight: 900; font-size: 26px; text-transform: uppercase; }
.note { font-size: 12.5px; color: var(--gris); margin: 0; }
@media (max-width: 820px) { .cart { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- Gestion (démo) ---------- */
.admin { max-width: 480px; margin: 0 auto; }
.demo-flag { background: #fff6dc; border-left: 4px solid var(--jaune); padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.admin-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--trait); padding: 8px; margin-bottom: 6px; }
.admin-item input[type=number] { width: 90px; padding: 6px; border: 1px solid var(--trait); font: inherit; }
.switch { display: flex; flex-direction: column; align-items: center; font-size: 11px; gap: 2px; }
.switch input { width: 22px; height: 22px; accent-color: var(--bleu); }

/* ---------- Pied de page ---------- */
.footer { background: var(--bleu-fonce); color: #cfdbe7; margin-top: 34px; border-top: 6px solid var(--jaune); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 26px 14px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; font-size: 14px; }
.footer strong { color: #fff; font-family: var(--titre); font-stretch: 75%; text-transform: uppercase; font-size: 18px; }
.footer p { margin: 6px 0; }
.footer a { color: #fff; }
.footer-small { text-align: center; font-size: 12px; padding: 0 0 16px; margin: 0; opacity: .7; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 80px); background: var(--encre); color: #fff; padding: 10px 16px; font-size: 14px; opacity: 0; transition: .25s; z-index: 50; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .row { grid-auto-columns: 46%; }
  .cats { grid-template-columns: repeat(8, 38%); overflow-x: auto; scroll-snap-type: x mandatory; }
  .cats a { scroll-snap-align: start; }
  .prix .montant { font-size: 19px; }
  .card .btn { padding: 7px 8px; font-size: 13.5px; }
}

/* =====================================================================
   Direction « premium » : plus d'air, moins de couleurs à la fois,
   typographie posée, photos mises en valeur. Surcharge les règles ci-dessus.
   ===================================================================== */
:root {
  --papier: #faf9f6;
  --trait: #ebe8e1;
  --encre: #141b22;
  --gris: #6b7178;
  --ombre: 0 1px 2px rgba(20,27,34,.04), 0 12px 32px -16px rgba(20,27,34,.16);
  --rayon: 14px;
}
body { font-size: 15.5px; letter-spacing: .005em; -webkit-font-smoothing: antialiased; }

/* En-tête épuré : tout en blanc, navigation en texte */
.infobar { background: var(--encre); color: #b9c0c7; font-size: 12px; letter-spacing: .02em; }
.topbar { box-shadow: none; border-bottom: 1px solid var(--trait); }
.topbar-inner { padding: 14px 20px; gap: 28px; }
.search { border: 1px solid var(--trait); background: #f3f2ee; border-radius: 999px; }
.search input { background: transparent; padding: 11px 18px; }
.search button { background: var(--encre); margin: 4px; border-radius: 999px; padding: 0 18px; font-weight: 600; }
.cart-btn { color: var(--encre); font-weight: 600; }
.catnav { background: #fff; border-top: 1px solid var(--trait); padding: 0 12px; justify-content: center; gap: 6px; }
.catnav a { color: var(--encre); font-weight: 500; font-size: 14px; padding: 12px 12px; border-bottom-width: 2px; }
.catnav a:hover, .catnav a.active { border-bottom-color: var(--bleu); color: var(--bleu); }
.catnav a.promo-link { background: none; color: var(--rouge); font-weight: 700; }
@media (max-width: 900px) { .catnav { justify-content: flex-start; } }

main { padding: 24px 20px 8px; }

/* Vitrine : encadrée, grande, arrondie */
.vitrine { margin: 0; border-radius: 20px; overflow: hidden; min-height: 500px; align-items: center;
  background:
    linear-gradient(90deg, rgba(10,30,52,.88) 0%, rgba(10,30,52,.55) 50%, rgba(10,30,52,.05) 100%),
    var(--photo) center / cover no-repeat,
    radial-gradient(120% 140% at 100% 0%, #2c6aa3 0%, var(--bleu) 45%, #0b2b49 100%);
}
.vitrine-texte { padding: 56px 56px 56px; }
.sur-titre { color: var(--jaune); font-weight: 600; letter-spacing: .14em; font-size: 12px; }
.vitrine h1 { font-stretch: 100%; text-transform: none; font-weight: 700; letter-spacing: -.025em; line-height: 1.02; font-size: clamp(34px, 4.6vw, 60px); }
.vitrine p { font-size: 17px; color: #d6e0ea; }
.vitrine .ouvert { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); font-weight: 500; }
.vitrine .ouvert.ferme { color: #ffd5d5; }

/* Encadrés : sous la vitrine, plus aérés */
.boites { margin-top: 24px; gap: 20px; margin-bottom: 40px; }
.boite { border-radius: var(--rayon); padding: 22px; box-shadow: none; border: 1px solid var(--trait); }
.boite h2 { font-stretch: 100%; font-weight: 700; letter-spacing: -.015em; font-size: 19px; margin-bottom: 16px; }
.boite-grille .ph { border-radius: 10px; background: #f3f2ee; }
.boite-grille em { background: #fff; color: var(--rouge); box-shadow: var(--ombre); }
.lien { color: var(--encre); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; align-self: flex-start; padding-bottom: 1px; }
.boite-bon { background: var(--bleu); color: #fff; border-color: var(--bleu); }
.boite-bon h2 { color: #fff; }
.boite-bon .bon { transform: none; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; border-radius: 12px; padding: 14px 18px; margin: 0 0 14px; }
.boite-bon .bon b { font-stretch: 100%; font-weight: 700; letter-spacing: -.02em; font-size: 34px; color: var(--jaune-clair); }
.boite-bon .bon span { font-family: var(--texte); font-weight: 500; letter-spacing: .1em; font-size: 11px; opacity: .8; }
.boite-bon p, .boite-bon dt { color: #c9d6e3; }
.boite-bon dl { border-top-color: rgba(255,255,255,.2); }
.boite-bon a { color: #fff; }

/* Étapes et rayons */
.comment { background: transparent; border: 0; gap: 20px; margin-bottom: 48px; border-radius: 0; overflow: visible; }
.comment li { border: 0 !important; padding: 0 0 0 46px; }
.comment li::before { font-stretch: 100%; font-weight: 300; font-size: 34px; color: var(--bleu); top: -4px; left: 0; }
.cats { background: transparent; border: 0; gap: 14px; margin-bottom: 52px; border-radius: 0; overflow: visible; }
.cats a { border-radius: var(--rayon); overflow: hidden; background: #fff; border: 1px solid var(--trait); transition: transform .2s, box-shadow .2s; }
.cats a:hover { transform: translateY(-3px) !important; box-shadow: var(--ombre); }
.cats img { aspect-ratio: 1; }
.cats span { color: var(--encre); font-weight: 600; padding: 10px 12px 12px; }

/* Titres de section */
.section { margin-bottom: 52px; }
.section-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 18px; }
.section-head h2, .page-title { font-stretch: 100%; text-transform: none; font-weight: 700; letter-spacing: -.02em; font-size: 28px; }
.page-title { font-size: 34px; margin: 8px 0 20px; }
.section-head a { color: var(--encre); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Fiches produit : photo reine, prix sobre */
.grid, .row { gap: 20px; }
.card { border: 0; border-radius: var(--rayon); background: transparent; overflow: visible; }
.card:hover { border: 0; }
.card a.thumb { border-radius: var(--rayon); overflow: hidden; background: #f3f2ee; }
.card .ph { background: #f3f2ee; }
.card .ph img { transition: transform .4s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .info { padding: 12px 2px 4px; gap: 6px; }
.card .name { font-size: 14.5px; font-weight: 500; }
.prix .montant { background: none; padding: 0; border-radius: 0; font-stretch: 100%; font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: var(--encre); }
.prix .montant small { font-weight: 500; font-size: 13px; margin-left: 3px; color: var(--gris); }
.prix .avant { margin-left: 10px; }
.card .badge { top: 10px; left: 10px; right: auto; background: #fff; color: var(--rouge); font-stretch: 100%; font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 4px 9px; box-shadow: var(--ombre); }
.stock { font-weight: 500; font-size: 12.5px; }
.btn { border-width: 1px; border-color: var(--encre); color: var(--encre); font-weight: 600; padding: 9px 16px; }
.btn:hover { background: var(--encre); color: #fff; }
.btn.plein { background: #fff; border-color: #fff; color: var(--encre); }
.btn.plein:hover { background: var(--jaune-clair); border-color: var(--jaune-clair); }
.btn.wa { border-radius: 999px; }

/* Fiche, panier */
.product { border: 0; padding: 0; background: transparent; gap: 48px; }
.product > .ph { border-radius: 20px; background: #f3f2ee; }
.product h1 { font-stretch: 100%; font-weight: 700; letter-spacing: -.02em; font-size: 34px; }
.product .prix .montant { font-size: 30px; padding: 0; }
.economie { color: var(--rouge); font-weight: 600; }
.qty { border-radius: 999px; overflow: hidden; }
.cart-items, .summary { border-radius: var(--rayon); }
.summary { border-top: 1px solid var(--trait); box-shadow: var(--ombre); }
.total { font-stretch: 100%; text-transform: none; font-weight: 700; letter-spacing: -.02em; }
.summary input, .summary textarea { border-radius: 10px; background: #faf9f6; }

/* Pied de page */
.footer { background: var(--encre); border-top: 0; margin-top: 64px; }
.footer strong { font-stretch: 100%; text-transform: none; font-size: 16px; font-weight: 700; }
.footer-inner { padding: 44px 20px 28px; }

@media (max-width: 600px) {
  main { padding: 14px 14px 8px; }
  .vitrine { min-height: 440px; border-radius: 16px; align-items: flex-end; }
  .vitrine-texte { padding: 28px 22px; }
  .boites { margin-top: 16px; }
  .grid, .row { gap: 12px; }
  .section { margin-bottom: 40px; }
  .section-head h2 { font-size: 23px; }
  .cats { gap: 10px; grid-template-columns: repeat(8, 40%); }
  .product { gap: 20px; }
}

.boites { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .boites { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .boites { grid-template-columns: minmax(0, 1fr); } }
.boite-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.boite-grille a { min-width: 0; }

/* Vitrine avec la photo du magasin : la façade entière à droite, fondue dans le bleu */
.vitrine {
  background:
    linear-gradient(90deg, #0b2440 0%, #0b2440 47%, rgba(11,36,64,.6) 58%, rgba(11,36,64,.15) 72%, rgba(11,36,64,0) 85%),
    var(--photo) right center / auto 100% no-repeat,
    #0b2440;
}
@media (max-width: 900px) {
  .vitrine {
    min-height: 560px; align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(11,36,64,0) 25%, rgba(11,36,64,.85) 58%, #0b2440 75%),
      var(--photo) center top / 100% auto no-repeat,
      #0b2440;
  }
}
@media (max-width: 600px) { .vitrine { min-height: 520px; } }
@media (max-width: 600px) {
  .vitrine { min-height: 600px;
    background:
      linear-gradient(180deg, rgba(11,36,64,0) 30%, rgba(11,36,64,.9) 46%, #0b2440 55%),
      var(--photo) center top / 100% auto no-repeat, #0b2440; }
}

/* Vitrine pleine largeur : la photo du magasin couvre tout, bord à bord */
body { overflow-x: clip; }
.vitrine {
  margin: -24px calc(50% - 50vw) 0; border-radius: 0; min-height: 560px; align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(8,24,42,.82) 0%, rgba(8,24,42,.45) 40%, rgba(8,24,42,0) 70%),
    linear-gradient(0deg, rgba(8,24,42,.55) 0%, rgba(8,24,42,0) 45%),
    var(--photo) center 35% / cover no-repeat,
    #0b2440;
}
.vitrine-texte { padding: 56px max(20px, calc(50vw - 580px)) 64px; max-width: none; width: 100%; }
.vitrine-texte > * { max-width: 620px; }
@media (max-width: 900px) {
  .vitrine { min-height: 520px;
    background:
      linear-gradient(0deg, rgba(8,24,42,.92) 0%, rgba(8,24,42,.6) 45%, rgba(8,24,42,0) 75%),
      var(--photo) center 30% / cover no-repeat, #0b2440; }
}
@media (max-width: 600px) {
  .vitrine { margin-top: -14px; min-height: 560px;
    background:
      linear-gradient(0deg, rgba(8,24,42,.94) 0%, rgba(8,24,42,.7) 45%, rgba(8,24,42,0) 72%),
      var(--photo) 50% 30% / cover no-repeat, #0b2440; }
  .vitrine-texte { padding: 28px 20px 32px; }
}
.vitrine, .vitrine:is(*) { margin: 0 !important; }

/* Bon de réduction façon ticket papier */
.ticket { position: relative; background: #fffdf7; color: var(--encre); border-radius: 6px; margin: 2px 0 16px; padding: 12px 16px 10px; box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--bleu); transform: translateY(-50%); }
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket-haut { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1.5px dashed #c9c3b5; }
.ticket-haut img { height: 18px; width: auto; }
.ticket-haut span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.ticket-montant { font-family: var(--titre); font-weight: 800; font-size: 34px; letter-spacing: -.02em; line-height: 1; padding: 10px 0 6px; color: var(--bleu); }
.ticket-montant small { font-size: 14px; font-weight: 700; color: var(--encre); letter-spacing: 0; }
.ticket-bas { font-size: 11.5px; color: var(--gris); }

/* =====================================================================
   Système « magasin de maison » (principes relevés sur Refero, style IKEA,
   appliqués aux couleurs My Home) :
   - à plat : aucune ombre, aucun dégradé de surface (seul le voile photo) ;
   - un seul arrondi : 8 px partout ;
   - deux graisses : 400 et 700, titres resserrés ;
   - le jaune n'active que : boutons principaux et encadré mis en avant ;
   - le bleu ne sert qu'aux liens.
   ===================================================================== */
:root {
  --encre: #111111; --gris: #767676; --papier: #ffffff; --trait: #e6e6e6; --surface: #f5f5f5;
  --jaune-action: #ffc72c; --lien: #164f82; --r: 8px;
}
body { background: #fff; color: var(--encre); font-size: 16px; line-height: 1.57; }
h1, h2, h3, .page-title, .section-head h2, .boite h2, .product h1, .total { font-weight: 700 !important; letter-spacing: -.028em !important; font-stretch: 100% !important; }
*, *::before, *::after { box-shadow: none !important; }

/* Arrondi unique */
.search, .search button, .btn, .btn.wa, .qty, .card, .card a.thumb, .ph, .boite, .boite-grille .ph, .cats a,
.product > .ph, .cart-items, .summary, .summary input, .summary textarea, .filters select, .filters input,
.ticket, .badge, .card .badge, .boite-grille em, .cart-count, .vitrine .ouvert, .admin-item, .demo-flag { border-radius: var(--r) !important; }

/* En-tête */
.infobar { background: var(--surface); color: var(--gris); }
.infobar a { color: var(--encre); font-weight: 700; }
.search { background: var(--surface); border: 1px solid transparent; }
.search:focus-within { border-color: var(--encre); background: #fff; }
.search button { background: var(--encre); font-weight: 700; }
.catnav a { font-weight: 400; }
.catnav a:hover, .catnav a.active { color: var(--encre); border-bottom-color: var(--encre); }
.catnav a.promo-link { color: var(--encre); font-weight: 700; }
.catnav a.promo-link::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); margin-right: 7px; vertical-align: 1px; }

/* Boutons : jaune = action principale ; contour noir = secondaire ; bleu = liens seulement */
.btn { border: 1px solid var(--encre); background: #fff; color: var(--encre); font-weight: 700; padding: 10px 18px; }
.btn:hover { background: var(--encre); color: #fff; }
.btn.plein { background: var(--jaune-action); border-color: var(--jaune-action); color: var(--encre); }
.btn.plein:hover { background: #ffd65e; border-color: #ffd65e; color: var(--encre); }
.btn.wa { font-weight: 700; }
a.lien, .section-head a { color: var(--lien); border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 400; }
.crumbs a, .cart-item a, .footer a { color: inherit; }

/* Vitrine : voile noir neutre sur la photo (pas de teinte bleue) */
.vitrine { background:
    linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,0) 70%),
    linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 45%),
    var(--photo) center 35% / cover no-repeat, #222 !important; }
@media (max-width: 900px) { .vitrine { background:
    linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 75%),
    var(--photo) center 30% / cover no-repeat, #222 !important; } }
.sur-titre { color: #fff; opacity: .85; letter-spacing: .02em; text-transform: none; font-weight: 400; font-size: 15px; }
.vitrine h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.vitrine .ouvert { background: #fff; color: var(--encre); font-weight: 700; backdrop-filter: none; }
.vitrine .ouvert.ferme { color: var(--rouge); }

/* Encadrés : plats, fond gris clair ; l'encadré des bons est le panneau jaune */
.boite { background: var(--surface); border: 0; padding: 20px; }
.boite-grille .ph { background: #fff; }
.boite-grille em, .card .badge { background: var(--rouge); color: #fff; font-weight: 700; }
.boite-bon { background: var(--jaune-action); color: var(--encre); }
.boite-bon h2 { color: var(--encre); }
.boite-bon p, .boite-bon dt { color: #3a3a3a; }
.boite-bon dl { border-top-color: rgba(0,0,0,.15); }
.boite-bon a { color: var(--encre); }
.ticket { background: #fff; }
.ticket::before, .ticket::after { background: var(--jaune-action); }
.ticket-montant { color: var(--encre); font-weight: 700; }

/* Étapes, rayons, sections : plus d'air (80 px entre blocs sur ordinateur) */
.comment li::before { font-weight: 700; color: var(--encre); }
.comment, .cats { margin-bottom: 64px; }
.section { margin-bottom: 80px; }
.cats a { border: 0; background: var(--surface); }
.cats a:hover { transform: none !important; }
.cats a:hover span { color: var(--encre); text-decoration: underline; }
.cats span { font-weight: 700; }

/* Fiches produits : photo sur gris clair, texte noir, prix gras */
.card a.thumb, .card .ph, .product > .ph { background: var(--surface); }
.card:hover .ph img { transform: none; }
.card:hover .name { text-decoration: underline; }
.card .name { font-weight: 400; }
.prix .montant { font-weight: 700; color: var(--encre); font-size: 20px; }
.stock { font-weight: 400; }

/* Panier, pied de page */
.summary { border: 1px solid var(--trait); }
.footer { background: var(--surface); color: var(--gris); }
.footer strong { color: var(--encre); }
.footer a { color: var(--encre); }
.footer-small { opacity: 1; }
@media (max-width: 600px) { .section { margin-bottom: 48px; } .comment, .cats { margin-bottom: 40px; } }

/* Bloc des fêtes : vert sapin sobre, seule touche saisonnière */
:root { --sapin: #1f4d3a; }
.fetes { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; background: var(--sapin); color: #fff; border-radius: var(--r); padding: 36px; margin-bottom: 64px; }
.fetes-sur { margin: 0 0 8px; font-size: 15px; color: #f3d38a; }
.fetes h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.1; }
.fetes-texte p { color: #d5e2da; margin: 0 0 20px; }
.fetes-produits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fetes .card { background: #fff; color: var(--encre); padding: 0 0 10px; }
.fetes .card .info { padding: 10px 10px 0; }
.fetes .card .btn { font-size: 13.5px; padding: 8px 10px; }
.catnav a.noel-link { color: var(--sapin); font-weight: 700; }
@media (max-width: 1000px) { .fetes { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .fetes { padding: 22px 16px; margin-bottom: 40px; } .fetes h2 { font-size: 25px; } .fetes-produits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* Noël aux couleurs du logo : rouge de l'arc + jaune */
:root { --sapin: #b8282f; }
.fetes-sur { color: var(--jaune-clair); }
.fetes-texte p { color: #fbe3e4; }
