/* =====================================================================================================
   GameKlub — mise en page (chargée après app.css et site.css par Brand::stylesheets()).
   Ne change ni les couleurs ni les polices : uniquement largeurs, grilles, tailles et espacements, pour que
   les pages occupent bien l'écran, du téléphone au très grand écran.
   ===================================================================================================== */

/* ---------- Corrections ---------- */
/* Bouton « Réserver » des cartes : il gardait la largeur d'une icône (38 px) et le mot était coupé (« Réser »). */
.product-card__cta--text { width: auto; padding: 0 12px; white-space: nowrap; }
/* Vignettes des mini-fiches (vitrine du bandeau, tuiles) : carré fixe, l'image ne gonfle plus la ligne. */
.mini__thumb { aspect-ratio: 1; overflow: hidden; }
.mini__thumb > img, .mini__thumb > .product-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.mini__link { align-items: center; }

/* =====================================================================================================
   Pages « à faire » (Ma réservation, compte, réservations, aide, favoris, pages légales) : le contenu est
   posé dans un cadre blanc au lieu de flotter sur le fond gris, et garde une largeur lisible sur grand écran.
   ===================================================================================================== */
body.shop .page--catalogue, body.shop .page--platforms, body.shop .page--universe, body.shop .page--pokemon-universe, body.shop .page--pokemon-block, body.shop .page--pokemon-extension, body.shop .page--product,
body.shop .page--cart, body.shop .page--account, body.shop .page--reservations, body.shop .page--reservation, body.shop .page--help, body.shop .page--favorites, body.shop .page--legal, body.shop .page--error {
  max-width: 1360px; margin: 8px auto 0; padding: clamp(18px, 2.6vw, 40px);
  background: var(--surface); border: 1px solid var(--shop-line, var(--border)); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 27, 42, .04), 0 12px 32px -18px rgba(15, 27, 42, .18);
}
/* Dans le cadre, les blocs ne sont plus des cartes flottantes : un filet suffit. */
body.shop :is(.page--cart, .page--account, .page--reservations, .page--reservation, .page--help, .page--favorites, .page--catalogue, .page--platforms, .page--universe, .page--pokemon-universe, .page--pokemon-block, .page--pokemon-extension, .page--product) :is(.catalog__filters, .catalog__toolbar, .product-card, .platform-card, .block-card, .buybox, .product__specs-panel, .product__media, .reassurance__item, .cart-summary, .table-card, .help-aside, .reservation-card, .confirm-box, .account-tile, .account-current__item, .empty-state, .how) {
  box-shadow: none; border: 1px solid var(--shop-line, var(--border));
}
body.shop .page :is(.breadcrumb) { margin-bottom: 18px; }
body.shop .page .section-head { margin-bottom: 20px; }
body.shop .page .section-head h1 { font-size: clamp(1.8rem, 1.4rem + 1vw, 2.4rem); }
body.shop .page .section-head p { max-width: 70ch; }

/* ---------- Étapes de la réservation : centrées, plus larges ---------- */
body.shop .page .stepper { max-width: 760px; margin: 6px auto 28px; }
body.shop .page .stepper__label { font-size: .9rem; }
body.shop .page .stepper__mark { width: 32px; height: 32px; font-size: .88rem; }
body.shop .page .stepper__step::before { top: 15px; }
body.shop .page .stepper__mark .icon { width: 16px; height: 16px; }
body.shop .page--reservation .reservation-page > .stepper { max-width: 760px; }

/* ---------- Ma réservation : liste et récapitulatif dans un seul ensemble, lignes compactes ---------- */
@media (min-width: 900px) {
  body.shop .page--cart .cart { grid-template-columns: minmax(0, 1fr) clamp(320px, 28vw, 400px); gap: 0; border: 1px solid var(--shop-line, var(--border)); border-radius: 12px; overflow: hidden; align-items: stretch; }
  body.shop .page--cart .cart__lines { padding: 8px 28px 20px; min-width: 0; }
  body.shop .page--cart .cart-summary { position: static; border: 0; border-left: 1px solid var(--shop-line, var(--border)); border-radius: 0; background: var(--surface-2); padding: 28px; }
  body.shop .page--cart .cart-summary > * { position: relative; }
}
body.shop .page--cart .cart-list { gap: 0; }
body.shop .page--cart .cart-line {
  grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "media body remove" "media qty price";
  align-items: center; gap: 10px 20px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--shop-line, var(--border)); border-radius: 0; background: transparent; box-shadow: none;
}
body.shop .page--cart .cart-line--issue { background: color-mix(in srgb, var(--warning-soft) 45%, transparent); padding-inline: 12px; }
body.shop .page--cart .cart-line__media { align-self: start; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
body.shop .page--cart .cart-line__media .product-image { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
body.shop .page--cart .cart-line__title { font-size: 1.05rem; }
body.shop .page--cart .cart-line__price { align-self: center; font-size: 1.15rem; }
@media (min-width: 760px) {
  body.shop .page--cart .cart-line { grid-template-columns: 96px minmax(0, 1fr) auto minmax(110px, auto) 36px; grid-template-areas: "media body qty price remove"; }
  body.shop .page--cart .cart-line__qty { justify-self: end; }
  body.shop .page--cart .cart-line__remove { align-self: center; }
}
body.shop .page--cart .cart__tools { margin-top: 18px; }
body.shop .page--cart .cart-summary h2 { font-size: 1.2rem; margin-bottom: 14px; }

/* ---------- Compte ---------- */
body.shop .page--account .account-tiles { margin-bottom: 32px; }
body.shop .page--account .account-grid { gap: 20px; }
body.shop .page--account .account-card { padding: clamp(18px, 2vw, 28px); }

/* ---------- Réservation (détail) et liste des réservations ---------- */
body.shop .page--reservation .reservation-page { display: block; }
body.shop .page--reservations .reservation-card { margin-bottom: 16px; }

/* ---------- Aide : la colonne de questions prend la place, l'encart suit le défilement ---------- */
@media (min-width: 1000px) {
  body.shop .page--help .help-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  body.shop .page--help .help-aside { position: sticky; top: calc(var(--header-h, 64px) + 24px); }
}

/* ---------- Pages de connexion : carte centrée dans la hauteur disponible ---------- */
body.shop .page--login, body.shop .page--register, body.shop .page--forgot, body.shop .page--reset { display: grid; place-items: center; min-height: min(70vh, 720px); padding-block: clamp(16px, 4vw, 48px); }
body.shop .page--login .auth-card, body.shop .page--register .auth-card, body.shop .page--forgot .auth-card, body.shop .page--reset .auth-card { width: 100%; max-width: 480px; padding: clamp(24px, 3vw, 40px); }

/* ---------- Le pied de page reste en bas, sans grand vide gris au-dessus ---------- */
body.shop { min-height: 100vh; display: flex; flex-direction: column; }
body.shop > .site-main { flex: 1 0 auto; }
.site-main { padding-bottom: clamp(32px, 4vw, 64px); }

/* =====================================================================================================
   Pages de rayon (catalogue, plateformes, univers, Pokémon) et fiche article : même cadre que les pages
   « à faire ». Le cadre suit la largeur du site (celle de l'en-tête), même sur très grand écran.
   ===================================================================================================== */
body.shop :is(.page--catalogue, .page--platforms, .page--universe, .page--pokemon-universe, .page--pokemon-block, .page--pokemon-extension, .page--product) { max-width: none; }
body.shop .page .banner { margin-top: 0; }
body.shop .page > :last-child > .reassurance:last-child, body.shop .page .reassurance:last-child { margin-bottom: 0; }

/* Catalogue : filtres à gauche séparés par un filet, résultats à droite, comme le récapitulatif de Ma réservation. */
@media (min-width: 960px) {
  body.shop .page--catalogue .catalog__layout { grid-template-columns: 290px minmax(0, 1fr); gap: 0; }
  body.shop .page--catalogue .catalog__filters { border: 0; border-radius: 0; border-right: 1px solid var(--shop-line, var(--border)); padding-right: 16px; margin-right: 28px; }
  body.shop .page--catalogue .catalog__filters .filters { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  body.shop .page--catalogue .catalog__filters .filters > summary { padding-left: 0; }
  body.shop .page--catalogue .catalog__filters .filters__form { padding-left: 0; }
}
body.shop .page--catalogue .section-head { margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--shop-line, var(--border)); }
body.shop .page--catalogue .catalog__layout { padding-bottom: 0; }

/* Plateformes : titres de rayon espacés, tuiles plus généreuses sur grand écran. */
body.shop .page--platforms .section { margin-bottom: 28px; }
body.shop .page--platforms .section + .section { padding-top: 24px; border-top: 1px solid var(--shop-line, var(--border)); }

/* Fiche article : la photo prend la place qu'il faut, infos et encadré d'achat à côté. */
@media (min-width: 1100px) {
  body.shop .page--product .product .product__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(320px, 3.4fr); gap: 36px; }
  body.shop .page--product .product .product__layout--nophoto { grid-template-columns: minmax(200px, 2.4fr) minmax(0, 6fr) minmax(320px, 3.4fr); }
}
body.shop .page--product .product__layout { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--shop-line, var(--border)); }
body.shop .page--product .how { margin-bottom: 32px; }
body.shop .page--product .section:last-child { margin-bottom: 0; }

/* ---------- Accueil : une tuile « à la une » seule occupe toute la largeur, ses articles en ligne ---------- */
.bento > .bento__tile:only-child { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .bento > .bento__tile:only-child .bento__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 24px; }
}
body.shop .home > .section, body.shop .home > .bento, body.shop .home > .how { margin-bottom: clamp(40px, 3.5vw, 64px); }

/* =====================================================================================================
   Administration : contenu centré sur grand écran, chaque page dans un cadre blanc.
   ===================================================================================================== */
body.admin-shell .admin-shell__content { max-width: 1640px; margin: 0 auto; padding-top: 28px; }
/* Chaque page est posée dans un cadre blanc, comme côté boutique ; les blocs à l'intérieur gardent leur fond
   blanc et sont dessinés par un filet (l'ombre devient un trait fin), l'en-tête de page est séparé par un filet. */
body.admin-shell .admin-shell__content > div:not(.flash):not(.notice):not([role="status"]):not([role="alert"]) {
  padding: clamp(18px, 2.4vw, 36px); background: var(--adm-card, var(--surface)); border: 1px solid var(--adm-line, var(--border)); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 27, 42, .04), 0 12px 32px -18px rgba(15, 27, 42, .18);
  --adm-shadow: 0 0 0 1px var(--adm-line, var(--border));
}
body.admin-shell .admin-shell__content > * > .page-head { margin: 0 0 28px; padding: 0 0 20px; border-bottom: 1px solid var(--adm-line, var(--border)); }
body.admin-shell .admin-shell__content .page-head .admin-back { margin-bottom: 6px; }
@media (max-width: 640px) {
  body.admin-shell .admin-shell__content > div:not(.flash):not(.notice):not([role="status"]):not([role="alert"]) { padding: 16px 12px; border-radius: 10px; }
}

/* =====================================================================================================
   Administration — menu de gauche : rien n'est coupé, même avec un grand logo ou un zoom navigateur.
   Le logo rétrécit pour laisser la place à l'étiquette « Administration » ; les intitulés passent à la ligne
   au lieu d'être tronqués.
   ===================================================================================================== */
@media (min-width: 981px) { body.admin-shell { grid-template-columns: clamp(260px, 17vw, 290px) minmax(0, 1fr); } }
body.admin-shell .admin-shell__brand { min-width: 0; overflow: hidden; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 10px; }
body.admin-shell .admin-shell__brand > svg, body.admin-shell .admin-shell__brand > img { flex: 0 1 auto; min-width: 0; max-width: 100%; height: auto !important; max-height: 34px; width: auto !important; object-fit: contain; object-position: left center; align-self: center; }
body.admin-shell .admin-shell__brand > span { flex: none; white-space: nowrap; }
body.admin-shell .admin-menu__link { align-items: center; line-height: 1.3; }
body.admin-shell .admin-menu__link span:first-of-type { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
/* Menu : le cadre prend toute la largeur comme les autres pages, la liste garde une largeur de lecture. */
body.admin-shell .admin-shell__content > .menu-page { max-width: none; }
body.admin-shell .menu-page > :not(.page-head) { max-width: 820px; }

/* =====================================================================================================
   Accueil (29/11/2026) : plus dense et rythmé, sans changer la palette. Un fond (léger dégradé du bleu de
   l'en-tête + trame de points), chaque bloc posé dans un cadre blanc comme le reste du site, les rayons en
   tuiles compactes sous le bandeau, les tuiles « à la une » sur toute la largeur, le bloc magasin mis en page.
   Toutes les teintes viennent des variables existantes (--brand-*, --surface, --background).
   ===================================================================================================== */
body.shop:has(.page--home) {
  background-color: var(--background);
  background-image:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand-600) 14%, transparent) 1px, transparent 1.6px),
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 24%, var(--background)) 0, color-mix(in srgb, var(--brand) 8%, var(--background)) 420px, var(--background) 900px);
  background-size: 22px 22px, 100% 900px;
  background-repeat: repeat, no-repeat;
}
/* Un seul rythme vertical : les blocs sont espacés par la grille, plus par leurs marges propres. */
body.shop .page--home .home { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 1.7vw, 28px); }
body.shop .page--home .home > *, body.shop .page--home .home > * > .section { margin-top: 0; margin-bottom: 0; }

/* Cadres : rangées de produits, rayons, rangées d'univers */
body.shop .home > .section, body.shop .home > .home-uni > .section {
  margin-bottom: 0; padding: clamp(16px, 1.5vw, 26px) clamp(16px, 1.6vw, 28px) clamp(12px, 1.2vw, 20px);
  background: var(--surface); border: 1px solid var(--shop-line, var(--border)); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 27, 42, .04), 0 12px 32px -18px rgba(15, 27, 42, .18);
}
body.shop .home > .section > .section-head, body.shop .home > .home-uni > .section > .section-head {
  align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--shop-line, var(--border));
}
body.shop .home > .section > .section-head h2, body.shop .home > .home-uni > .section > .section-head h2 {
  position: relative; padding-left: 14px; font-size: clamp(1.25rem, 1.05rem + .5vw, 1.55rem); line-height: 1.2;
}
body.shop .home > .section > .section-head h2::before, body.shop .home > .home-uni > .section > .section-head h2::before {
  content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; border-radius: 2px; background: var(--accent, var(--brand-600));
}
body.shop .home > .section > .section-head p, body.shop .home > .home-uni > .section > .section-head p { padding-left: 14px; margin-top: 2px; }
/* Dans un cadre, une carte n'a pas besoin d'ombre : un filet suffit. */
body.shop .home > .section .product-card, body.shop .home > .home-uni .product-card { box-shadow: none; border: 1px solid var(--shop-line, var(--border)); }
@media (max-width: 859px) {
  body.shop .home > .section, body.shop .home > .home-uni > .section { padding-inline: var(--gutter); overflow: hidden; }
}

/* Rayons : tuiles compactes, sur une ligne quand l'écran le permet, en bande défilante sur téléphone */
body.shop .home-rayons .universe-tiles { display: flex; flex-wrap: wrap; gap: 10px; }
body.shop .home-rayons .universe-tiles > li { flex: 1 1 calc(25% - 10px); min-width: 0; }
@media (min-width: 1000px) { body.shop .home-rayons .universe-tiles > li { flex-basis: calc(100% / var(--n2, 6) - 10px); } }
body.shop .home-rayons .universe-tile { min-height: 0; height: 100%; padding: 12px 12px 10px; gap: 2px; border-radius: 10px; }
body.shop .home-rayons .universe-tile .universe-tile__icon { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px; }
body.shop .home-rayons .universe-tile .universe-tile__icon .nav-icon { width: 22px; height: 22px; }
body.shop .home-rayons .universe-tile__name { min-height: 0; margin-top: 0; font-size: .98rem; line-height: 1.2; overflow-wrap: break-word; }
body.shop .home-rayons .universe-tile__platforms { display: none; }
body.shop .home-rayons .universe-tile__count { margin-top: 2px; font-size: .78rem; font-weight: 600; opacity: .92; white-space: nowrap; }
@media (min-width: 1500px) {
  body.shop .home-rayons .universe-tiles > li { flex-basis: calc(100% / var(--n, 6) - 10px); }
}
@media (max-width: 759px) {
  body.shop .home-rayons .universe-tiles { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  body.shop .home-rayons .universe-tiles::-webkit-scrollbar { display: none; }
  body.shop .home-rayons .universe-tiles > li { flex: 0 0 128px; scroll-snap-align: start; }
}

/* Tuiles « à la une » : elles se partagent toute la largeur, quel que soit leur nombre */
@media (min-width: 760px) {
  body.shop .bento--n1 { grid-template-columns: minmax(0, 1fr); }
  body.shop .bento--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  body.shop .bento--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.shop .home .bento__tile { border-radius: 14px; padding: clamp(18px, 1.6vw, 28px); min-height: 0; }
@media (min-width: 1200px) {
  body.shop .bento--n2 .bento__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body.shop .bento--n2 .bento__title { font-size: 1.5rem; max-width: 26ch; }
}

/* « Comment se passe une réservation » : bandeau teinté, titre à gauche des trois étapes sur grand écran */
body.shop .home > .how {
  padding: clamp(18px, 1.6vw, 28px); border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border-color: color-mix(in srgb, var(--brand) 32%, var(--surface));
}
body.shop .home > .how .how__icon { background: var(--surface); }
@media (min-width: 1300px) {
  body.shop .home > .how { display: grid; grid-template-columns: minmax(180px, 15%) minmax(0, 1fr); gap: 32px; align-items: center; }
  body.shop .home > .how .how__title { margin: 0; font-size: 1.35rem; line-height: 1.25; }
}

/* Le magasin : un cadre en deux volets (coordonnées et horaires, photo de la boutique) */
body.shop .home-shop {
  display: grid; overflow: hidden; background: var(--surface); border: 1px solid var(--shop-line, var(--border)); border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 27, 42, .04), 0 12px 32px -18px rgba(15, 27, 42, .18);
}
body.shop .home-shop__text { display: grid; gap: 14px; align-content: center; padding: clamp(20px, 2.6vw, 44px); min-width: 0; }
body.shop .home-shop__text > h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); }
body.shop .home-shop__lead { margin: 0; max-width: 56ch; color: var(--muted); }
body.shop .home-shop__text > .open-badge { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--surface-2); font-size: .9rem; }
body.shop .home-shop__text > .open-badge--closed .open-badge__dot { background: var(--muted); }
body.shop .home-shop .shop-address, body.shop .home-shop .shop-hours { margin: 0; }
body.shop .home-shop__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
body.shop .home-shop__photo { min-height: 220px; background-size: cover; background-position: center; }
@media (min-width: 560px) {
  body.shop .home-shop__text { grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(24px, 3vw, 56px); }
  body.shop .home-shop__text > :not(.shop-address):not(.shop-hours) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  body.shop .home-shop--photo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  body.shop .home-shop__photo { min-height: 340px; }
}

/* Cartes étroites (deux par ligne sur téléphone) : le bouton « Réserver » passe sous le prix au lieu de le recouvrir. */
@media (max-width: 559px) {
  .product-card__footer { flex-wrap: wrap; }
  .product-card__footer > .product-card__form, .product-card__footer > .product-card__cta--text { flex: 1 1 100%; }
  .product-card__footer .product-card__cta--text { width: 100%; }
}

/* Photo des cartes : l'attribut height="320" figeait la hauteur (photo étirée en hauteur, carte deux fois trop
   longue sur téléphone, différente d'une carte sans photo). La photo suit maintenant la largeur de la carte. */
.product-card__media > img.product-image { height: auto; }
/* Bouton de recherche : il gardait un arrondi de pilule dans un champ aux coins droits. */
body.shop .search-box__submit { border-radius: 0; }

/* Accueil sur téléphone : bandeau plus court (les chiffres répètent le bouton et la vitrine), en-têtes de bloc sur une ligne. */
@media (max-width: 639px) {
  body.shop .home .hero__facts--strip { display: none; }
  body.shop .home > .section > .section-head, body.shop .home > .home-uni > .section > .section-head { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 10px; }
  body.shop .home > .section > .section-head p, body.shop .home > .home-uni > .section > .section-head p { display: none; }
  body.shop .home > .section > .section-head .section-head__link, body.shop .home > .home-uni > .section > .section-head .section-head__link { flex: none; font-size: .9rem; white-space: nowrap; }
  body.shop .home-rayons .universe-tile .universe-tile__icon { margin-bottom: 10px; }
}

/* =====================================================================================================
   Ergonomie et finition (29/11/2026, audit) — mise en page seulement, couleurs existantes
   ===================================================================================================== */

/* Cartes article : le bouton « Réserver » passe toujours sous le prix (grille), l'indication de stock
   (« Dernier exemplaire », « Plus que 3 ») tient sur une ligne au lieu d'être écrasée contre le bouton. */
.product-card__footer { flex-wrap: wrap; row-gap: 8px; }
.product-card__footer > .product-card__form, .product-card__footer > .product-card__cta--text { flex: 1 1 100%; }
.product-card__footer .product-card__form .button, .product-card__footer .product-card__cta--text { width: 100%; justify-content: center; }
.product-card__footer > div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.product-card__footer .product-card__stock { white-space: nowrap; }
/* Vue en liste : le bouton reste à droite. */
.product-list .product-card__footer { flex-wrap: nowrap; }
.product-list .product-card__footer > .product-card__form { flex: none; }
.product-list .product-card__footer .product-card__form .button { width: auto; }

/* Réservation : la jaquette de l'article au lieu d'un pictogramme. */
.reservation-items__thumb--photo { width: 56px; height: 56px; background: var(--surface-2); border: 1px solid var(--border); }
.reservation-items__thumb--photo img { object-fit: contain; }

/* Fiche sur téléphone : la barre « Réserver » glisse hors de l'écran quand le bouton principal est visible. */
@media (max-width: 760px) {
  .buybar { transition: transform .18s ease; }
  .buybar.is-away { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }

/* Filtres : État, Prix, Disponibilité d'abord ; plateformes regroupées par univers, repliables. */
.filters__uni { border-top: 1px solid var(--border); }
.filters__uni:first-child { border-top: 0; }
.filters__uni > summary { list-style: none; cursor: pointer; margin: 0; padding: 8px 0; align-items: center; }
.filters__uni > summary::-webkit-details-marker { display: none; }
.filters__uni > summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); flex: none; }
.filters__uni[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.filters__uni > summary > span:first-child { flex: 1; }
.filters__uni > .check { padding-left: 2px; }
.filters__uni-all { margin: 2px 0 10px; font-size: .82rem; }

/* Visuel sans photo : bandeau au nom complet de la plateforme, comme le haut d'une jaquette. */
.product-image--placeholder { position: relative; overflow: hidden; }
.product-image__band { position: absolute; top: 0; left: 0; right: 0; padding: 6px 10px; background: var(--platform-color, var(--brand-700)); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-image--placeholder .product-image__label { display: none; }
.product-image--placeholder .product-image__sub { display: block; font-size: .75rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); opacity: 1; }
.product-image--large .product-image__band { padding: 10px 16px; font-size: .9rem; }
.product-image--large .product-image__sub { font-size: .95rem; }
.mini__thumb .product-image__band, .mini__thumb .product-image__sub { display: none; }
.mini__thumb .product-image--placeholder .product-image__label { display: block; }

/* Pied de page : rubriques repliables sur téléphone, titres normaux sur grand écran. */
.site-footer__group > summary { list-style: none; }
.site-footer__group > summary::-webkit-details-marker { display: none; }
@media (min-width: 641px) { .site-footer__group > summary { pointer-events: none; } }
@media (max-width: 640px) {
  .site-footer__cols { gap: 0; }
  .site-footer__brand { margin-bottom: 16px; }
  .site-footer__group { border-top: 1px solid rgba(255, 255, 255, .14); }
  .site-footer__group:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .site-footer__group > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; }
  .site-footer__group > summary .site-footer__title { margin: 0; }
  .site-footer__group > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); color: rgba(255, 255, 255, .7); margin-right: 4px; }
  .site-footer__group[open] > summary::after { transform: rotate(-135deg); }
  .site-footer__group > ul.links { padding-bottom: 14px; }
}

/* Confirmation : l'annulation est mise à l'écart des actions courantes. */
.reservation-page__cancel { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }

/* Admin, liste des réservations : clôture directe au comptoir. */
.quick-close { margin-top: 8px; }
.quick-close__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.quick-close__confirm .muted { flex: 1 1 100%; font-size: .82rem; }

/* Admin, séance photo. */
.photo-session { margin: 0 0 16px; }
.photo-session a { margin-left: 6px; font-weight: 600; }
.photo-session__next { flex: 1 1 100%; order: 3; display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .9rem; font-weight: 600; }
.reservation-aside > p:last-child { margin-top: 12px; }

/* Ma réservation sur téléphone : le titre prend toute la largeur, quantité et prix passent dessous. */
@media (max-width: 559px) {
  body.shop .page--cart .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "media body remove" "qty qty price"; gap: 10px 14px; position: static; }
  body.shop .page--cart .cart-line__media { width: 72px; height: 72px; }
  body.shop .page--cart .cart-line__remove { position: static; align-self: start; }
  body.shop .page--cart .cart-line__body { padding-right: 0; }
  body.shop .page--cart .cart-line__qty { flex-direction: row; align-items: center; gap: 10px; }
  body.shop .page--cart .cart-line__price { justify-items: end; grid-auto-flow: row; }
}

/* =====================================================================================================
   Finitions (29/11/2026, second audit)
   ===================================================================================================== */

/* Recherche : la boîte coupait tout ce qui dépassait (overflow: hidden), donc la liste de suggestions n'apparaissait
   jamais. Les coins arrondis sont maintenant portés par les éléments eux-mêmes. */
body.shop .search-box { overflow: visible; }
body.shop .search-box input[type="search"] { border-radius: 9px 0 0 9px; }
body.shop .search-box__submit { border-radius: 0 9px 9px 0; }
@media (min-width: 768px) {
  body.shop .search-box__scope { border-radius: 9px 0 0 9px; }
  body.shop .search-box input[type="search"] { border-radius: 0; }
}
body.shop .search-box__list { z-index: 140; }

/* Mes réservations : jaquettes des articles sur chaque carte. */
.reservation-card__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; padding: 0; list-style: none; }
.reservation-card__thumbs li { width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); }
.reservation-card__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.reservation-card__thumbs svg { width: 22px; height: 22px; }
.reservation-card__more { font-size: .85rem; font-weight: 700; }

/* Vus récemment : « Effacer » est un bouton qui a l allure des liens de rubrique. */
button.section-head__link { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; }
[data-recent][hidden] { display: none; }
[data-fav-clear] { margin-top: 18px; }

/* Pastilles de la vitrine : zone de clic de 24 px de haut (doigt sur téléphone), même dessin. */
.hero__showcase-dots button { position: relative; }
.hero__showcase-dots button::after { content: ""; position: absolute; inset: -8px -3px; }

/* « Vouliez-vous dire … ? » au-dessus du conseil, dans l'état vide de la recherche. */
.empty-state__fix { margin: 6px 0 2px; font-size: 1.05rem; }

/* ==========================================================================
   Finitions des parcours (30/11/2026) : comptoir, import, confirmation, cartes
   ========================================================================== */

/* Vignette d'un article sans photo dans Ma réservation : abrégé de la plateforme centré, sans bandeau ni « Photo à venir » (trop petits). */
body.shop .cart-line__media .product-image--placeholder { display: grid; place-items: center; align-content: center; gap: 4px; padding: 6px; }
body.shop .cart-line__media .product-image__band, body.shop .cart-line__media .product-image__sub { display: none; }
body.shop .cart-line__media .product-image--placeholder .product-image__label { display: block; font-size: .8rem; font-weight: 800; color: var(--platform-color, var(--brand-700)); text-align: center; }
body.shop .cart-line__media .product-image--placeholder svg { width: 28px; height: 28px; margin: 0; }

/* Confirmation : une adresse email longue revient à la ligne ; sur téléphone, la coche passe au-dessus du texte. */
.confirm-banner > div { min-width: 0; }
.confirm-banner p { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .confirm-banner--big { flex-direction: column; gap: 12px; padding: 18px; }
}

/* Cartes : prix toujours sur la même ligne d'une carte à l'autre ; « Plus que N » / « Dernier exemplaire » dessous. */
.product-card__footer > div:first-child { flex-direction: column; align-items: flex-start; row-gap: 2px; min-height: 2.95rem; }
.product-list .product-card__footer > div:first-child { min-height: 0; }

/* Réservations de l'admin : sur tablette et petit portable, la colonne « Créée le » cède sa place (date dans la fiche). */
@media (min-width: 1100px) and (max-width: 1439px) {
  .admin-table--cards .admin-table__created, .admin-table--cards th:nth-child(5) { display: none; }
  .admin-table--cards .admin-table__items { min-width: 150px; }
  .admin-table--cards table { min-width: 0; }
}

/* Retrait partiel : une ligne par article, quantité emportée à droite. */
.partial-pickup { margin: 4px 0 12px; text-align: left; }
.partial-pickup summary { cursor: pointer; font-weight: 600; color: var(--brand-700); }
.partial-pickup > p { margin: 8px 0; font-size: .85rem; }
.partial-pickup__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.partial-pickup__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.partial-pickup__list label { min-width: 0; font-size: .9rem; overflow-wrap: anywhere; }
.partial-pickup__qty { display: flex; align-items: center; gap: 6px; flex: none; font-size: .85rem; }
.partial-pickup__qty input { width: 4.2em; padding: 6px 8px; text-align: center; }
.reservation-items__left { color: #b45309; font-weight: 600; }

/* Import : ce que l'aperçu a trouvé, puis « Importer ce fichier ». */
.import-preview-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 0 0 16px; }
.import-preview-lists h3 { margin: 0 0 8px; font-size: 1rem; }
.import-preview-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: 10px; max-height: 260px; overflow: auto; }
.import-preview-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-top: 1px solid var(--border); font-size: .9rem; }
.import-preview-list li:first-child { border-top: 0; }
.import-preview-list__num { flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.import-preview-list__num strong { color: var(--text); }
.import-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 0; }

/* Réservations de l'admin sur tablette (761–1099 px) : les mêmes fiches que sur téléphone, deux par ligne. */
@media (min-width: 761px) and (max-width: 1099px) {
  .admin-table--cards { border: 0; background: none; box-shadow: none; overflow: visible; }
  .admin-table--cards table, .admin-table--cards tbody, .admin-table--cards td { display: block; }
  .admin-table--cards table { min-width: 0; width: 100%; }
  .admin-table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .admin-table--cards tbody tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; margin: 0 0 10px; padding: 14px;
    border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
  .admin-table--cards tbody tr.is-urgent { border-color: #f59e0b; }
  .admin-table--cards tbody td { padding: 0; border: 0; min-width: 0; text-align: left; white-space: normal; }
  .admin-table--cards .admin-table__number { font-size: 1.05rem; }
  .admin-table--cards .admin-table__number::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .admin-table--cards .admin-table__status { justify-self: end; }
  .admin-table--cards .admin-table__who, .admin-table--cards .admin-table__items { grid-column: 1 / -1; min-width: 0; }
  .admin-table--cards .admin-table__who a { position: relative; z-index: 1; }
  .admin-table--cards .admin-table__who .muted { display: block; overflow-wrap: anywhere; }
  .admin-table--cards .admin-table__created { display: none; }
  .admin-table--cards .admin-table__due::before { content: attr(data-label) " : "; color: var(--muted); }
  .admin-table--cards .admin-table__due .countdown { white-space: nowrap; }
  .admin-table--cards .admin-table__due .admin-table__sub { display: block; }
  .admin-table--cards .admin-table__total { justify-self: end; font-size: 1.1rem; font-weight: 700; }
  .admin-table--cards .admin-table__flags { display: flex; flex-wrap: nowrap; gap: 6px; margin: 4px 0 0; }
  .admin-table--cards tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .admin-table--cards tbody tr { margin: 0; align-content: start; }
}

/* Fiche réservation de l'admin : avec le menu latéral, les deux colonnes n'ont la place qu'à partir de 1200 px ;
   en dessous, les actions passent sous les articles (le tableau des articles gardait 320 px et cachait le total). */
@media (max-width: 1199px) {
  body.admin-shell .reservation-page__layout { grid-template-columns: minmax(0, 1fr); }
}

/* Tableaux de l'admin entre la tablette et le petit portable (menu latéral ouvert) : tout tient sans défilement de côté. */
@media (min-width: 761px) and (max-width: 1279px) {
  .products-table .products-table__actions { width: 1%; white-space: normal; }
  .products-table .products-table__actions .button { display: flex; justify-content: center; width: 100%; margin: 0; }
  .products-table .products-table__actions .button + .button { margin: 6px 0 0; }
  .products-table th:nth-child(3), .products-table td:nth-child(3) { display: none; }
  .products-table .products-table__product, .products-table .products-table__product > * { min-width: 0; overflow-wrap: anywhere; }
  .products-table .products-table__photo { white-space: normal; }
  .users-table th:nth-child(7), .users-table td:nth-child(7) { display: none; }
  .import-history th:nth-child(4), .import-history td:nth-child(4), .import-history th:nth-child(5), .import-history td:nth-child(5) { display: none; }
}

/* Fiches des réservations (téléphone et tablette) : pas de filets de tableau à l'intérieur d'une fiche. */
@media (max-width: 1099px) {
  body.admin-shell .admin-table--cards tbody td { border-top: 0; }
}
/* Note interne : pleine largeur, comme les boutons d'action au-dessus. */
body.admin-shell .reservation-page textarea[name="note"] { width: 100%; }
@media (max-width: 1199px) { body.admin-shell .reservation-page__layout { gap: 16px; } }
.import-result .import-result__tiles { margin-bottom: 20px; }
@media (max-width: 560px) { .import-result__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .import-tile strong { font-size: 1.35rem; } }

/* =====================================================================================================
   Retouches du 30/11/2026 (retours de Kyou sur la capture de l'accueil) : tuiles « à la une », visuel des
   articles sans photo, boutons, ombres. Palette inchangée : tout vient des variables --brand-*, --promo-*,
   --platform-color.
   ===================================================================================================== */

/* ---------- Tuiles « à la une » : un texte d'accroche à gauche, trois vraies fiches à droite ---------- */
body.shop .home .bento__tile {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 1.6vw, 28px); align-items: center;
  padding: clamp(20px, 1.8vw, 32px); border: 1px solid transparent; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(15, 27, 42, .05), 0 18px 36px -22px rgba(15, 27, 42, .35);
}
body.shop .home .bento__tile--occasions {
  background: linear-gradient(135deg, var(--brand-900) 0%, color-mix(in srgb, var(--brand-900) 62%, var(--brand-600)) 100%);
}
body.shop .home .bento__tile--bons-plans, body.shop .home .bento__tile--derniers {
  background: linear-gradient(135deg, var(--promo-soft) 0%, color-mix(in srgb, var(--promo-soft) 55%, var(--surface)) 100%);
  border-color: color-mix(in srgb, var(--promo-600) 28%, var(--surface));
}
/* Deux grands cercles en transparence dans l'angle : le fond n'est plus un aplat. */
body.shop .home .bento__tile::before, body.shop .home .bento__tile::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
body.shop .home .bento__tile::before { width: 340px; height: 340px; left: -120px; bottom: -190px; background: color-mix(in srgb, currentColor 7%, transparent); }
body.shop .home .bento__tile::after { width: 220px; height: 220px; left: 120px; bottom: -150px; border: 28px solid color-mix(in srgb, currentColor 6%, transparent); }
body.shop .home .bento__tile--bons-plans, body.shop .home .bento__tile--derniers { color: var(--promo); }
body.shop .home .bento__intro { display: grid; gap: 10px; justify-items: start; align-content: center; min-width: 0; color: var(--foreground); }
body.shop .home .bento__tile--occasions .bento__intro { color: #fff; }
body.shop .home .bento__kicker { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; opacity: 1; }
body.shop .home .bento__tile--occasions .bento__kicker { background: rgba(255, 255, 255, .14); color: #fff; }
body.shop .home .bento__tile--bons-plans .bento__kicker, body.shop .home .bento__tile--derniers .bento__kicker { background: var(--promo); color: #fff; }
body.shop .home .bento__title { max-width: 22ch; font-size: clamp(1.35rem, 1.05rem + .8vw, 1.8rem); line-height: 1.15; }
body.shop .home .bento__text { max-width: 36ch; }
body.shop .home .bento__count { margin: 0; font-size: .92rem; color: inherit; opacity: .85; }
body.shop .home .bento__count strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
body.shop .home .bento__cta.button { margin-top: 8px; padding-top: 0; align-self: auto; }
body.shop .home .bento__tile--occasions .bento__cta.button { background: #fff; color: var(--brand-900); border-color: #fff; }
body.shop .home .bento__tile--occasions .bento__cta.button:hover { background: var(--brand-50); color: var(--brand-900); }
body.shop .home .bento__tile--bons-plans .bento__cta.button, body.shop .home .bento__tile--derniers .bento__cta.button { background: var(--promo); color: #fff; border-color: color-mix(in srgb, var(--promo) 85%, #000); }
body.shop .home .bento__tile--bons-plans .bento__cta.button:hover, body.shop .home .bento__tile--derniers .bento__cta.button:hover { background: color-mix(in srgb, var(--promo) 88%, #000); color: #fff; }
/* Les trois articles : de petites fiches blanches, photo en haut. */
body.shop .home .bento .bento__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, .8vw, 14px); margin: 0; align-self: center; }
body.shop .home .bento .mini { display: flex; min-width: 0; }
body.shop .home .bento .mini__link {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 100%; margin: 0; padding: 8px 8px 10px; border-radius: 12px;
  background: var(--surface); color: var(--foreground); box-shadow: 0 1px 2px rgba(15, 27, 42, .08), 0 10px 22px -14px rgba(15, 27, 42, .45); transition: transform .15s, box-shadow .15s;
}
body.shop .home .bento .mini__link:hover { background: var(--surface); transform: translateY(-3px); box-shadow: 0 1px 2px rgba(15, 27, 42, .08), 0 18px 28px -14px rgba(15, 27, 42, .5); }
body.shop .home .bento .mini__thumb { width: 100%; aspect-ratio: 1; border-radius: 8px; background: var(--surface-2); }
body.shop .home .bento .mini__thumb > img { object-fit: contain; }
body.shop .home .bento .mini__body { gap: 2px; padding: 0 4px; }
body.shop .home .bento .mini__platform { color: var(--platform-color, var(--brand-700)); }
body.shop .home .bento .mini__title { color: var(--foreground); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; font-size: .9rem; }
body.shop .home .bento .mini__price { color: var(--foreground); font-size: 1.05rem; }
@media (min-width: 1200px) {
  body.shop .home .bento--n1 .bento__tile, body.shop .home .bento--n2 .bento__tile { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); }
  body.shop .home .bento--n1 .bento__products { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 479px) {
  body.shop .home .bento .mini__title { font-size: .8rem; }
  body.shop .home .bento .mini__platform { font-size: .6rem; letter-spacing: .04em; }
  body.shop .home .bento .mini__link { padding: 6px 6px 8px; }
}

/* ---------- Article sans photo : un boîtier de jeu aux couleurs de la plateforme, au lieu d'une icône sur fond vide ---------- */
.product-card__media > .product-image--placeholder, .product-image--large.product-image--placeholder {
  container-type: size; display: block; padding: 0; background-color: var(--surface-2);
  background-image: radial-gradient(90% 70% at 50% 100%, color-mix(in srgb, var(--platform-color, var(--brand-700)) 12%, transparent), transparent 70%);
}
/* le boîtier */
.product-card__media > .product-image--placeholder::before, .product-image--large.product-image--placeholder::before {
  content: ""; position: absolute; top: 9%; bottom: 9%; left: 50%; aspect-ratio: 5 / 7; transform: translateX(-50%); border-radius: 3% / 2.2%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .22) 0, rgba(0, 0, 0, .22) 4%, rgba(255, 255, 255, .18) 4%, rgba(255, 255, 255, 0) 9%),
    linear-gradient(160deg, color-mix(in srgb, var(--platform-color, var(--brand-700)) 86%, #fff) 0%, var(--platform-color, var(--brand-700)) 45%, color-mix(in srgb, var(--platform-color, var(--brand-700)) 72%, #000) 100%);
  box-shadow: 0 1px 2px rgba(15, 27, 42, .25), 0 14px 22px -12px rgba(15, 27, 42, .55);
}
/* le bandeau du haut de la jaquette : nom de la plateforme */
.product-card__media > .product-image--placeholder .product-image__band, .product-image--large.product-image--placeholder .product-image__band {
  top: 9%; left: 50%; right: auto; width: calc(82% * 5 / 7); width: calc(82cqh * 5 / 7); transform: translateX(-50%); box-sizing: border-box; padding: 5% 4% 5% 8%; border-radius: 3% 3% 0 0 / 6% 6% 0 0;
  background: rgba(0, 0, 0, .28); color: #fff; font-size: .62rem; font-size: clamp(.5rem, 4.6cqmin, 1.1rem); letter-spacing: .06em; text-align: center;
}
.product-card__media > .product-image--placeholder svg, .product-image--large.product-image--placeholder svg {
  position: absolute; top: 50%; left: 50%; width: 24%; width: 24cqmin; height: auto; aspect-ratio: 1; margin: 0; padding: 0; transform: translate(-50%, -50%);
  border-radius: 0; background: none; box-shadow: none; color: #fff; opacity: .92;
}
.product-card__media > .product-image--placeholder .product-image__sub, .product-image--large.product-image--placeholder .product-image__sub {
  position: absolute; left: 50%; bottom: 15%; width: calc(82% * 5 / 7); width: calc(82cqh * 5 / 7); transform: translateX(-50%); color: rgba(255, 255, 255, .85);
  font-size: .62rem; font-size: clamp(.5rem, 4.2cqmin, 1rem); font-weight: 600; letter-spacing: .04em; text-align: center;
}

/* ---------- Boutons de la boutique : plus de tenue (hauteur, graisse, relief léger, survol net) ---------- */
body.shop .button { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: .95rem; font-weight: 700; }
body.shop .button--sm { min-height: 36px; padding: 0 14px; border-radius: 8px; font-size: .87rem; }
body.shop .button--primary, body.shop button.primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-600) 88%, #fff) 0%, var(--brand-600) 55%, color-mix(in srgb, var(--brand-600) 90%, #000) 100%);
  border-color: color-mix(in srgb, var(--brand-600) 78%, #000);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 1px 2px rgba(15, 27, 42, .18), 0 8px 16px -8px color-mix(in srgb, var(--brand-600) 75%, transparent);
}
body.shop .button--primary:hover, body.shop button.primary:hover {
  background: linear-gradient(180deg, var(--brand-600) 0%, color-mix(in srgb, var(--brand-600) 82%, #000) 100%); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 2px 4px rgba(15, 27, 42, .2), 0 12px 20px -8px color-mix(in srgb, var(--brand-600) 80%, transparent);
}
body.shop .button--ghost { border-width: 1.5px; border-color: color-mix(in srgb, var(--brand-600) 45%, var(--surface)); color: var(--brand-700-bg, var(--brand-700)); box-shadow: 0 1px 2px rgba(15, 27, 42, .06); }
body.shop .button--ghost:hover { background: var(--brand-50); border-color: var(--brand-600); color: var(--brand-800-bg, var(--brand-800)); transform: translateY(-1px); }
body.shop .button:active { transform: translateY(1px); }
/* « Réserver » sur les cartes : fond bleu clair plein, devient bleu au survol (il ressemblait à un champ vide). */
body.shop .product-card__cta--text {
  height: 40px; border-radius: 10px; font-weight: 700; font-size: .92rem;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 38%, var(--surface)); color: var(--brand-700-bg, var(--brand-700));
  transition: background-color .12s, color .12s, border-color .12s, box-shadow .12s;
}
body.shop .product-card__cta--text:not(:disabled):hover, body.shop .product-card:hover .product-card__cta--text:not(:disabled):not(.is-in-cart) {
  background: var(--brand-600); border-color: color-mix(in srgb, var(--brand-600) 78%, #000); color: #fff; box-shadow: 0 8px 14px -8px color-mix(in srgb, var(--brand-600) 80%, transparent);
}

/* ---------- Ombres : l'en-tête se détache de la page, le bandeau d'accueil aussi ---------- */
body.shop .site-header { box-shadow: 0 1px 0 rgba(4, 60, 90, .25), 0 10px 24px -8px rgba(4, 60, 90, .45); }
body.shop .home > .hero { box-shadow: 0 1px 2px rgba(15, 27, 42, .1), 0 24px 44px -24px rgba(11, 58, 87, .6); }

/* ---------- Bandeau des quatre engagements (bas des pages de rayon et de l'aide), refait le 30/11/2026 ----------
   Un seul bandeau teinté, comme « Comment se passe une réservation » : plus de cadres imbriqués ni de vides
   entre les cases, une pastille blanche pour chaque pictogramme, texte centré en hauteur. */
body.shop .reassurance {
  gap: 0; padding: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--surface)); border-radius: 14px;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
}
body.shop .page .reassurance .reassurance__item, body.shop .reassurance .reassurance__item {
  gap: 14px; align-items: center; min-width: 0; margin: -1px 0 0 -1px; padding: clamp(14px, 1.3vw, 22px) clamp(16px, 1.4vw, 24px);
  border: 0; border-top: 1px solid color-mix(in srgb, var(--brand) 22%, var(--surface)); border-left: 1px solid color-mix(in srgb, var(--brand) 22%, var(--surface));
  border-radius: 0; background: transparent; box-shadow: none;
}
body.shop .reassurance__icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0; border-radius: 14px; background: var(--surface); color: var(--brand-700-bg, var(--brand-700)); box-shadow: 0 1px 2px rgba(15, 27, 42, .06); }
body.shop .reassurance__icon .icon { width: 24px; height: 24px; }
body.shop .reassurance__item strong { font-size: 1rem; line-height: 1.3; }
body.shop .reassurance__item p { margin-top: 2px; font-size: .9rem; line-height: 1.45; text-wrap: pretty; }

/* =====================================================================================================
   Retouches du 30/11/2026 (suite) : pictogrammes et logos des rayons plus grands, raccourcis de l'en-tête,
   menu du compte, page Aide. Palette inchangée.
   ===================================================================================================== */

/* ---------- Logos et pictogrammes des rayons : lisibles ----------
   Un logo envoyé par le magasin est souvent large (« Pokémon », « Nintendo ») : il garde sa hauteur et prend
   la largeur qu'il lui faut, au lieu d'être réduit dans un carré. */
body.shop .home-rayons .universe-tile .universe-tile__icon { width: 46px; height: 46px; border-radius: 12px; }
body.shop .home-rayons .universe-tile .universe-tile__icon .nav-icon { width: 28px !important; height: 28px !important; }
body.shop .home-rayons .universe-tile .universe-tile__icon--logo { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 46px; max-width: 100%; height: 46px; padding: 6px 10px; }
body.shop .home-rayons .universe-tile .universe-tile__icon--logo .nav-icon { display: block; width: auto !important; height: 34px !important; }
body.shop .home-rayons .universe-tile .universe-tile__icon--logo .nav-icon img { width: auto; height: 34px; max-width: 104px; }
/* Menu déroulant : titre du rayon, liste « Autres univers », plateformes */
body.shop .mega__head h3 { display: flex; align-items: center; }
body.shop .mega__head h3 .mega__universe-icon { flex: none; width: 28px !important; height: 28px !important; margin-right: 10px; }
body.shop .mega__head h3 .mega__universe-icon.nav-icon--image { width: auto !important; height: 34px !important; }
body.shop .mega__head h3 .mega__universe-icon.nav-icon--image img { width: auto; height: 34px; max-width: 132px; }
body.shop #mega-plus .mega__label > .nav-icon { flex: none; width: 28px !important; height: 28px !important; margin-right: 4px; }
body.shop #mega-plus .mega__label > .nav-icon--image { width: auto !important; min-width: 28px; }
body.shop #mega-plus .mega__label > .nav-icon--image img { width: auto; height: 28px; max-width: 84px; }
body.shop .mega__platforms .mega__label > .nav-icon, body.shop .mega__links .mega__label > .nav-icon { flex: none; width: 20px !important; height: 20px !important; }
body.shop .mega__title > .nav-icon { width: 16px !important; height: 16px !important; }
/* Tiroir du téléphone */
body.shop .drawer__universe-icon { flex: none; width: 24px !important; height: 24px !important; margin-right: 10px; }
body.shop .drawer__universe-icon.nav-icon--image { width: auto !important; min-width: 24px; height: 26px !important; }
body.shop .drawer__universe-icon.nav-icon--image img { width: auto; height: 26px; max-width: 84px; }
body.shop .drawer .mega__label > .nav-icon { flex: none; width: 20px !important; height: 20px !important; }
/* Bandeau en tête des pages de rayon */
body.shop .banner__nav-icon { width: 40px !important; height: 40px !important; padding: 6px; border-radius: 10px; box-sizing: border-box; }
body.shop .banner__nav-icon.nav-icon--image { width: auto !important; min-width: 44px; height: 48px !important; padding: 7px 12px; }
body.shop .banner__nav-icon.nav-icon--image img { width: auto; height: 34px; max-width: 150px; }

/* ---------- Raccourcis de l'en-tête (compte, Ma réservation, Sauvegardés, Aide) ----------
   Même largeur de base, pictogramme plus grand, libellé plus gras, survol en pastille ; « Ma réservation »,
   l'action principale, est posée sur une pastille ; la flèche du compte est à côté du nom, plus sur l'icône. */
body.shop .site-header__actions { gap: 4px; align-items: center; }
body.shop .header-action { position: relative; gap: 3px; min-height: 52px; padding: 6px 10px; border-radius: 10px; transition: background-color .12s, box-shadow .12s; }
body.shop .header-action .icon { width: 24px; height: 24px; }
body.shop .header-action:hover, body.shop .menu[open] > .header-action { background: rgba(255, 255, 255, .18); }
body.shop .header-action__label { font-size: .8rem; font-weight: 600; line-height: 1.15; letter-spacing: .005em; white-space: nowrap; }
body.shop .header-action__count { top: 1px; right: 50%; transform: translateX(22px); box-shadow: 0 0 0 2px var(--header-bg); }
body.shop .header-action__caret { display: none; }
@media (min-width: 768px) {
  body.shop .header-action { min-width: 76px; }
  body.shop .header-cart .header-action { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
  body.shop .header-cart .header-action:hover { background: rgba(255, 255, 255, .28); }
  body.shop .menu > .header-action { display: inline-grid; grid-template-columns: auto auto; justify-content: center; align-content: center; column-gap: 2px; }
  body.shop .menu > .header-action > .icon:first-child { grid-column: 1 / -1; justify-self: center; }
  body.shop .menu > .header-action > .header-action__caret { display: block; position: static; width: 12px; height: 12px; align-self: center; opacity: .9; transition: transform .15s; }
}

/* ---------- Menu du compte ---------- */
body.shop .menu__panel--account { top: calc(100% + 10px); width: 280px; min-width: 0; padding: 8px; border-radius: 14px; border-color: var(--shop-line, var(--border)); box-shadow: 0 2px 4px rgba(15, 27, 42, .06), 0 24px 48px -16px rgba(15, 27, 42, .35); }
body.shop .menu__panel--account .menu__head { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; padding: 10px 10px 14px; border-bottom: 1px solid var(--shop-line, var(--border)); }
body.shop .menu__avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-600); color: #fff; font-weight: 800; font-size: 1.05rem; }
body.shop .menu__who { display: grid; min-width: 0; }
body.shop .menu__who strong { font-size: 1rem; line-height: 1.25; }
body.shop .menu__mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; color: var(--muted); }
body.shop .menu__panel--account a, body.shop .menu__panel--account button { gap: 12px; min-height: 42px; padding: 8px 10px; border-radius: 9px; font-size: .95rem; font-weight: 500; cursor: pointer; }
body.shop .menu__panel--account a .icon, body.shop .menu__panel--account button .icon { flex: none; width: 20px; height: 20px; color: var(--muted); }
body.shop .menu__panel--account a:hover, body.shop .menu__panel--account button:hover { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); color: var(--brand-800-bg, var(--brand-800)) !important; }
body.shop .menu__panel--account a:hover .icon, body.shop .menu__panel--account button:hover .icon { color: var(--brand-700-bg, var(--brand-700)); }
body.shop .menu__panel--account .menu__item--admin { margin-bottom: 6px; background: color-mix(in srgb, var(--brand) 9%, var(--surface)); color: var(--brand-800-bg, var(--brand-800)) !important; font-weight: 700; }
body.shop .menu__panel--account .menu__item--admin .icon { color: var(--brand-700-bg, var(--brand-700)); }
body.shop .menu__logout { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--shop-line, var(--border)); }
body.shop .menu__panel--account .menu__logout button:hover { background: var(--danger-soft); color: var(--danger) !important; }
body.shop .menu__panel--account .menu__logout button:hover .icon { color: var(--danger); }

/* ---------- Page Aide : de l'air sous le bandeau, colonnes alignées, questions soignées ---------- */
body.shop .page--help .reassurance { margin: 0 0 clamp(28px, 3vw, 44px); }
body.shop .page--help .faq > h2 { margin: clamp(32px, 3vw, 44px) 0 14px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; scroll-margin-top: 150px; }
body.shop .page--help .faq > h2:first-child { margin-top: 0; }
body.shop .page--help .faq details { margin: 0 0 10px; padding: 0; border: 1px solid var(--shop-line, var(--border)); border-radius: 12px; background: var(--surface); overflow: hidden; transition: border-color .12s, box-shadow .12s; }
body.shop .page--help .faq details:hover { border-color: color-mix(in srgb, var(--brand-600) 45%, var(--surface)); }
body.shop .page--help .faq details[open] { border-color: color-mix(in srgb, var(--brand-600) 45%, var(--surface)); box-shadow: 0 10px 24px -18px rgba(15, 27, 42, .35); }
body.shop .page--help .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; font-size: 1rem; font-weight: 650; line-height: 1.35; cursor: pointer; list-style: none; }
body.shop .page--help .faq summary::-webkit-details-marker { display: none; }
body.shop .page--help .faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--brand-700-bg, var(--brand-700)); border-bottom: 2px solid var(--brand-700-bg, var(--brand-700)); transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
body.shop .page--help .faq details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
body.shop .page--help .faq details[open] > summary { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border-bottom: 1px solid color-mix(in srgb, var(--brand) 22%, var(--surface)); }
body.shop .page--help .faq details > div { padding: 16px 18px 18px; line-height: 1.6; }
body.shop .page--help .help-aside { gap: 12px; padding: 22px; border-radius: 14px; }
body.shop .page--help .help-aside h2 { font-size: 1.2rem; }

/* ---------- Messages et encarts (information, succès, avertissement, erreur), boutique et administration ----------
   Un seul dessin : fond presque blanc, filet d'accent à gauche, pictogramme de la couleur du message, texte
   dans la couleur normale du site. Remplace les aplats jaunes, verts et rouges. `--tone` porte la couleur. */
body.shop :is(.notice, .alert, .closures-notice, .flash), body.admin-shell :is(.notice, .alert, .closures-notice, .flash) {
  --tone: var(--brand-600); position: relative; padding: 12px 16px 12px 50px; border: 1px solid color-mix(in srgb, var(--tone) 26%, var(--surface)); border-left: 4px solid var(--tone); border-radius: 10px;
  background: color-mix(in srgb, var(--tone) 5%, var(--surface)); color: var(--foreground); font-size: .93rem; font-weight: 500; line-height: 1.5; box-shadow: none;
}
body.shop :is(.notice, .alert, .closures-notice, .flash)::before, body.admin-shell :is(.notice, .alert, .closures-notice, .flash)::before {
  content: ""; display: block; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; margin: 0; border-radius: 0; background: var(--tone);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1 5h2v2h-2V7Zm0 4h2v6h-2v-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1 5h2v2h-2V7Zm0 4h2v6h-2v-6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.shop :is(.notice--success, .flash--success), body.admin-shell :is(.notice--success, .flash--success) { --tone: var(--success); }
body.shop :is(.alert--warning, .closures-notice, .flash--warn), body.admin-shell :is(.alert--warning, .closures-notice, .flash--warn) { --tone: var(--warning); }
body.shop :is(.notice--error, .alert--danger, .flash--error), body.admin-shell :is(.notice--error, .alert--danger, .flash--error) { --tone: var(--danger); }
body.shop :is(.notice--success, .flash--success)::before, body.admin-shell :is(.notice--success, .flash--success)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.4-5.4 1.4 1.4-6.800 6.800Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.4-5.4 1.4 1.4-6.800 6.800Z'/%3E%3C/svg%3E");
}
body.shop :is(.notice--error, .alert--warning, .alert--danger, .closures-notice, .flash--warn, .flash--error)::before, body.admin-shell :is(.notice--error, .alert--warning, .alert--danger, .closures-notice, .flash--warn, .flash--error)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2Zm-1 7h2v6h-2V9Zm0 8h2v2h-2v-2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2Zm-1 7h2v6h-2V9Zm0 8h2v2h-2v-2Z'/%3E%3C/svg%3E");
}
body.shop :is(.notice, .alert, .closures-notice, .flash) strong, body.admin-shell :is(.notice, .alert, .closures-notice, .flash) strong { font-weight: 700; color: inherit; }
body.shop :is(.notice, .alert, .closures-notice, .flash) a:not(.button), body.admin-shell :is(.notice, .alert, .closures-notice, .flash) a:not(.button) { color: var(--brand-700-bg, var(--brand-700)); font-weight: 600; }
body.shop .notice__close, body.admin-shell .notice__close { color: var(--muted); }
/* Les messages en haut de page (confirmation, erreur) gardent une ombre : ils flottent au-dessus du contenu. */
body.shop .notice[data-notice] { background: var(--surface); box-shadow: 0 1px 2px rgba(15, 27, 42, .06), 0 14px 28px -18px rgba(15, 27, 42, .4); }
body.shop .closures-notice { margin: 12px 0 0; }

/* ---------- Rangées d'articles : flèches et défilement sans fin (30/11/2026) ----------
   app.js pose .has-js (flèches visibles dès 860 px), .is-static quand tout tient à l'écran. Arrivée au bout,
   la flèche ramène au début. Sur téléphone, on fait glisser au doigt comme avant, sans flèche. */
@media (min-width: 860px) {
  body.shop .carousel.has-js .carousel__nav { top: calc(4px + (100% - 12px) * .34); margin-top: -23px; width: 46px; height: 46px; border: 1px solid var(--shop-line, var(--border)); background: var(--surface); color: var(--brand-700); box-shadow: 0 6px 18px -6px rgba(7, 19, 29, .35), 0 1px 2px rgba(7, 19, 29, .12); opacity: 1; transition: background-color .15s, color .15s, transform .15s, box-shadow .15s; }
  body.shop .carousel.has-js .carousel__nav .icon { width: 24px; height: 24px; }
  body.shop .carousel.has-js .carousel__nav--prev { left: -20px; }
  body.shop .carousel.has-js .carousel__nav--next { right: -20px; }
  body.shop .carousel.has-js .carousel__nav:hover:not(:disabled) { background: var(--brand-600); border-color: var(--brand-600); color: #fff; transform: scale(1.06); }
  body.shop .carousel.has-js .carousel__nav:active:not(:disabled) { transform: scale(.96); }
  body.shop .carousel.has-js .carousel__nav:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-600) 45%, transparent); outline-offset: 2px; }
  body.shop .carousel.has-js .carousel__nav:disabled, body.shop .carousel.is-static .carousel__nav { display: none; }
  /* Les flèches disent déjà qu'il y a une suite : plus de fondu sur les fiches du bord. */
  body.shop .carousel.has-js .carousel__track { --fade-l: 0px; --fade-r: 0px; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Tuiles « Les rayons » de l'accueil : un seul dessin (30/11/2026) ----------
   Même fond pour toutes (dégradé à la couleur du rayon, jamais l'image de rubrique étirée), même pastille
   blanche : pictogramme à la couleur du rayon, ou logo envoyé par le magasin, à hauteur égale. */
body.shop .home-rayons .universe-tile, body.shop .home-rayons .universe-tile--image { padding: 14px 14px 12px; border-radius: 12px; background: radial-gradient(120% 130% at 100% 0%, color-mix(in srgb, var(--universe-color) 62%, #fff) 0%, transparent 52%), linear-gradient(140deg, color-mix(in srgb, var(--universe-color) 74%, #07131d), color-mix(in srgb, var(--universe-color) 92%, #000)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
body.shop .home-rayons .universe-tile .universe-tile__icon, body.shop .home-rayons .universe-tile .universe-tile__icon--logo { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: auto; min-width: 52px; max-width: 100%; height: 52px; padding: 8px 12px; margin-bottom: 16px; border-radius: 12px; background: #fff; color: color-mix(in srgb, var(--universe-color) 82%, #07131d); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
body.shop .home-rayons .universe-tile .universe-tile__icon .nav-icon { width: 30px !important; height: 30px !important; }
body.shop .home-rayons .universe-tile .universe-tile__icon--logo .nav-icon { display: block; width: auto !important; height: 36px !important; max-width: 100%; }
body.shop .home-rayons .universe-tile .universe-tile__icon--logo .nav-icon img { width: auto; height: 36px; max-width: min(112px, 100%); object-fit: contain; }
body.shop .home-rayons .universe-tile__name { font-size: .98rem; }
body.shop .home-rayons .universe-tile__count { font-size: .8rem; }
@media (max-width: 639px) {
  body.shop .home-rayons .universe-tile .universe-tile__icon, body.shop .home-rayons .universe-tile .universe-tile__icon--logo { height: 46px; min-width: 46px; padding: 7px 10px; margin-bottom: 12px; }
  body.shop .home-rayons .universe-tile .universe-tile__icon--logo .nav-icon, body.shop .home-rayons .universe-tile .universe-tile__icon--logo .nav-icon img { height: 32px !important; max-width: 96px; }
}
body.shop .cart-toast .button { white-space: nowrap; flex: none; }
