/* delinge.fr : palette et composants de la boutique, chargés après site.css (mêmes variables, autre palette). Aucune ressource externe. */
.delinge {
  --fond: #f6f3ee; --fond-2: #ece6dc; --surface: #ffffff;
  --encre: #2a2f35; --encre-2: #48505a; --discret: #5f6770; --trait: #ddd5c8;
  --eau: #4f5d6b; --eau-vif: #9aaa8f; --eau-doux: #e3e8ec;
  --bandeau: #efe9df; --bandeau-2: #f6f3ee;
  --rupture: #9a3b22; --rupture-doux: #f6e1d9;
  --largeur: 1040px;
}
@media (prefers-color-scheme: dark) {
  .delinge {
    --fond: #1b1f24; --fond-2: #22272d; --surface: #262c33;
    --encre: #eceae6; --encre-2: #cfcac2; --discret: #a7a39c; --trait: #3a4149;
    --eau: #a9b8c6; --eau-vif: #9aaa8f; --eau-doux: #2c3640; --sur-bouton: #15191d;
    --bandeau: #22272d; --bandeau-2: #1b1f24;
    --rupture: #f0a58c; --rupture-doux: #3d2620;
  }
}
.delinge .entete::before { background: linear-gradient(90deg, var(--eau-vif), var(--eau) 60%, var(--encre)); }
.delinge .marque img { height: 36px; }
.nav-delinge { display: flex; align-items: center; gap: .3rem 1rem; margin-left: auto; font: 700 .92rem/1 var(--titre); }
.nav-delinge a { color: var(--encre); text-decoration: none; padding: .5rem .2rem; }
.nav-delinge a:hover, .nav-delinge a:focus-visible { color: var(--eau); text-decoration: underline; text-underline-offset: 4px; }
.nav-panier { display: inline-flex; align-items: center; gap: .3rem; }
.nav-panier svg { width: 1.2rem; height: 1.2rem; }
.compte { min-width: 1.4rem; padding: .2rem .4rem; border-radius: 999px; background: var(--eau); color: var(--sur-bouton); font-size: .75rem; text-align: center; }
@media (max-width: 560px) { .nav-delinge { order: 3; flex-basis: 100%; justify-content: space-between; margin: 0 0 .4rem; } .entete .conteneur { flex-wrap: wrap; } }

.delinge main { padding: 1.2rem 0 2rem; }
.delinge h1 { font-size: clamp(1.4rem, 3.5vw, 2.1rem); }
.delinge h2 { font-size: 1.3rem; margin-top: 1.6rem; }
.chapo { font-size: 1.05rem; color: var(--encre-2); max-width: 44rem; }
figure { margin: 0; }
figure figcaption { font-size: .72rem; color: var(--discret); margin-top: .25rem; }
.photo img, .une-photo img, .bandeau-photo img, .tuile-photo img { width: 100%; height: auto; border-radius: var(--rayon); object-fit: cover; }

.une { display: grid; gap: 1rem; align-items: center; }
.une-photo img { aspect-ratio: 16 / 7; }
@media (min-width: 800px) { .une { grid-template-columns: 1.4fr 1fr; } .une-photo img { aspect-ratio: 4 / 3; } }
.entrees { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.entree { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); color: var(--encre-2); text-decoration: none; }
.entree:hover { border-color: var(--eau); }
.entree-titre { font: 800 1.15rem/1.2 var(--titre); color: var(--eau); }
.tuiles, .grille-produits { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.tuile, .produit a { display: flex; flex-direction: column; gap: .35rem; color: var(--encre); text-decoration: none; }
.tuile-photo img { aspect-ratio: 4 / 3; }
.tuile-nom, .produit-nom { font: 800 1rem/1.25 var(--titre); }
.tuile:hover .tuile-nom, .produit a:hover .produit-nom { color: var(--eau); text-decoration: underline; text-underline-offset: 3px; }

.bandeau-categorie { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 800px) { .bandeau-categorie { grid-template-columns: 1fr 1.2fr; } }
.bandeau-photo img { aspect-ratio: 16 / 9; }
.fil { font-size: .85rem; margin-bottom: .6rem; }
.chargement, .vide { color: var(--discret); }
.erreur-boutique { padding: .8rem 1rem; border-radius: 12px; background: var(--rupture-doux); color: var(--rupture); }

.produit-photo, .produit-ambiance img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); background: var(--fond-2); }
.produit-ambiance { position: relative; }
.produit-ambiance .vignette { position: absolute; right: .6rem; bottom: 1.6rem; width: 3.6rem; height: 3.6rem; border-radius: 10px; box-shadow: 0 2px 8px rgb(0 0 0 / .25); }
.produit-prix { color: var(--encre-2); font-weight: 700; }
.pastilles { display: flex; gap: .25rem; }
.pastille-teinte { display: inline-block; width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid rgb(0 0 0 / .18); flex: none; }
.rupture { display: inline-block; align-self: flex-start; font: 700 .75rem/1 var(--titre); padding: .35em .6em; border-radius: 999px; background: var(--rupture-doux); color: var(--rupture); }

.fiche { display: grid; gap: 1.4rem; }
@media (min-width: 800px) { .fiche { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.fiche-categorie { margin: 0 0 .3rem; font-size: .85rem; }
.fiche-description { color: var(--encre-2); }
.selecteur { border: 0; padding: 0; margin: 1rem 0 0; }
.selecteur legend { font-size: .9rem; color: var(--encre-2); margin-bottom: .4rem; }
.choix-liste { display: flex; flex-wrap: wrap; gap: .4rem; }
.choix { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .8rem; border-radius: 10px; border: 1px solid var(--trait); background: var(--surface); color: var(--encre); font: 600 .9rem/1 var(--sans); cursor: pointer; }
.choix[aria-pressed="true"] { border-color: var(--eau); box-shadow: inset 0 0 0 1px var(--eau); }
.choix-rupture span:not(.pastille-teinte):not(.visuellement-cache) { text-decoration: line-through; color: var(--discret); }
.choix:disabled { opacity: .35; cursor: not-allowed; }
.choix:focus-visible, .bouton:focus-visible { outline: 3px solid var(--eau-vif); outline-offset: 2px; }
.fiche-prix { font: 800 1.5rem/1.2 var(--titre); margin: 1rem 0 .2rem; }
.fiche-prix small { font-size: .8rem; color: var(--discret); }
.fiche-stock.en-stock { color: var(--libre); font-weight: 700; }
.bouton { cursor: pointer; }
.bouton:disabled { opacity: .45; cursor: not-allowed; }
.fiche-message, .panier-message, .panier-info { min-height: 1.4em; margin-top: .6rem; }

.lignes-panier { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.ligne { display: grid; grid-template-columns: 1fr auto auto; gap: .3rem .8rem; align-items: center; padding: .7rem .9rem; background: var(--surface); border: 1px solid var(--trait); border-radius: 12px; }
.ligne-nom { grid-column: 1 / -1; font-weight: 700; color: var(--encre); }
.ligne-detail { grid-column: 1 / -1; font-size: .85rem; color: var(--encre-2); }
.ligne-qte input { width: 4.5rem; min-height: 40px; padding: .3rem .5rem; border-radius: 8px; border: 1px solid var(--trait); background: var(--fond); color: var(--encre); font: inherit; }
.ligne-prix { font-weight: 700; text-align: right; }
.ligne-retirer { border: 0; background: none; color: var(--eau); text-decoration: underline; cursor: pointer; font: inherit; min-height: 40px; }
.recap { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; max-width: 26rem; margin: 0 0 0 auto; }
.recap dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.recap .recap-total { font: 800 1.15rem/1.3 var(--titre); border-top: 1px solid var(--trait); padding-top: .4rem; }
.franco { text-align: right; font-size: .9rem; color: var(--encre-2); }
.cgv-case { display: flex; gap: .6rem; align-items: flex-start; justify-content: flex-end; margin: 1rem 0 .4rem; }
.cgv-case input { width: 1.25rem; height: 1.25rem; margin-top: .1rem; flex: none; }
[data-boutique="panier"] .bouton { display: flex; margin-left: auto; }

.cartes-laveries { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.carte-laverie { padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); box-shadow: var(--ombre); }
.carte-laverie h2 { margin-top: 0; }
.cgv h2 { font-size: 1.05rem; }
.cgv h3 { font-size: .98rem; margin-top: 1.1rem; }
