/*
Theme Name: Daba Night Shop
Theme URI: https://dabanightshop.com
Author: Daba Night Shop
Description: Thème bloc sur mesure de l'épicerie de nuit Daba Night Shop (Kénitra) : fond nuit, dégradé du logo, Unbounded. Pensé mobile d'abord, compatible WooCommerce.
Version: 1.0.5
Requires at least: 7.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: daba-night-shop
*/

/* =====================================================================
   1. Jetons
   ===================================================================== */
:root {
  --nuit: #140F14;
  --nuit-2: #1E171E;
  --nuit-3: #2B222B;
  --ligne: rgba(255, 255, 255, .1);
  --blanc: #FFFFFF;
  --doux: rgba(255, 255, 255, .66);
  --accent: #E8263F;
  --grad: linear-gradient(100deg, #FF9F1A 0%, #FF4D3A 50%, #F0207A 100%);
  --grad-nuit: linear-gradient(100deg, #FFB23A 0%, #FF6150 50%, #FF4A94 100%);
  --r-xl: 32px;
  --r-l: 24px;
  --r-m: 18px;
  --r-s: 12px;
  --gouttiere: clamp(16px, 4vw, 56px);
  --largeur: 1320px;
  --police: 'Unbounded', system-ui, sans-serif;
  --t-heros: clamp(40px, 11.6vw, 124px);

  /* Icônes : masques SVG (aucun SVG dans le contenu) */
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h18M3 12h12M3 18h18'/%3E%3C/svg%3E");
  --i-recherche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E");
  --i-sac: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E");
  --i-compte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
  --i-horloge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --i-lieu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --i-carte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E");
  --i-billet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2.5'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3Cpath d='M6 9.5v5M18 9.5v5'/%3E%3C/svg%3E");
  --i-scooter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='17' r='2.5'/%3E%3Ccircle cx='18' cy='17' r='2.5'/%3E%3Cpath d='M8.5 17h7M14 6h2.5l2 8.5M5 13h6l2 4M3.5 10h5'/%3E%3C/svg%3E");
  --i-cadeau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='9' width='17' height='11' rx='2'/%3E%3Cpath d='M12 9v11M3.5 13h17M12 9C10.5 5 7 5 7 7.2 7 9 12 9 12 9Zm0 0c1.5-4 5-4 5-1.8C17 9 12 9 12 9Z'/%3E%3C/svg%3E");
  --i-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
  --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --i-fermer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
  --i-cible: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Ccircle cx='12' cy='12' r='2.2' fill='black'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E");
  --i-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3.6 20.4l1.2-4.1a8.6 8.6 0 1 1 3.1 3.1l-4.3 1Z'/%3E%3Cpath fill='black' stroke='none' d='M9.1 7.6c.3-.3.8-.3 1 .1l.9 1.9c.1.3 0 .6-.2.8l-.6.6a5.6 5.6 0 0 0 2.8 2.8l.6-.6c.2-.2.5-.3.8-.2l1.9.9c.4.2.5.7.1 1l-.8.8c-.6.6-1.6.8-2.4.4a9.3 9.3 0 0 1-4.7-4.7c-.4-.8-.2-1.8.4-2.4l.2-.4Z'/%3E%3C/svg%3E");
}

/* =====================================================================
   2. Base
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--nuit); color: var(--blanc);
  font-family: var(--police); font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: -.005em;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico-avant::before, .ico-apres::after { content: ''; display: inline-block; flex: none; width: 1.4em; height: 1.4em; background: currentColor; -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.zone-entete { display: contents; }
.enveloppe { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }

/* =====================================================================
   3. Titres, textes, boutons
   ===================================================================== */
.titre-section { font-size: clamp(28px, 7.4vw, 64px); font-weight: 800; line-height: .98; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; hyphens: none; }
.sur-titre { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--doux); }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-button .wp-block-button__link, .bouton-lien {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border: 0; border-radius: 999px;
  font-family: var(--police); font-size: 14px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  cursor: pointer;
}
.wp-block-button.bouton-plein .wp-block-button__link, .bouton-plein-lien { background: var(--grad-nuit); color: var(--nuit); box-shadow: 0 10px 30px -10px rgba(255, 77, 58, .7); }
.wp-block-button.bouton-plein .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 77, 58, .8); }
.wp-block-button.bouton-contour .wp-block-button__link { background: transparent; border: 2px solid rgba(255, 255, 255, .25); color: var(--blanc); }
.wp-block-button.bouton-contour .wp-block-button__link:hover { border-color: var(--blanc); }
.wp-block-button.fleche .wp-block-button__link::after { content: ''; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat; }
.wp-block-button.wa .wp-block-button__link::before { content: ''; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-whatsapp) center / contain no-repeat; mask: var(--i-whatsapp) center / contain no-repeat; }
.wp-block-button.large { width: 100%; }
.wp-block-button.large .wp-block-button__link { width: 100%; }

.lien-fleche { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--doux); white-space: nowrap; }
.lien-fleche a { display: inline-flex; align-items: center; gap: 8px; }
.lien-fleche a::after { content: ''; width: 18px; height: 18px; background: var(--accent); -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat; transition: transform .2s; }
.lien-fleche a:hover { color: var(--blanc); }
.lien-fleche a:hover::after { transform: translateX(4px); }

/* =====================================================================
   4. Bandeau d'annonce
   ===================================================================== */
.annonce { display: flex; align-items: center; height: 34px; overflow: hidden; background: var(--grad); color: var(--nuit); }
.annonce-piste { display: flex; align-items: center; gap: 22px; padding-left: 22px; white-space: nowrap; animation: defile 26s linear infinite; }
.annonce-piste p { display: flex; align-items: center; gap: 22px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.annonce-piste p::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--nuit); }
@keyframes defile { to { transform: translateX(-50%); } }

/* =====================================================================
   5. En-tête : menu à gauche, logo au centre, compte + panier à droite
   ===================================================================== */
.entete { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: border-color .2s; }
/* le flou est porté par un pseudo-élément : un backdrop-filter sur l'en-tête enfermerait le tiroir et le mini-panier (position: fixed) */
.entete::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20, 15, 20, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }
@media (max-width: 600px) { .admin-bar .entete { top: 0; } }
.entete.defile { border-bottom-color: var(--ligne); }
.entete-int { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.entete-logo { justify-self: center; }
.entete-logo img, .entete-logo .custom-logo { width: auto !important; height: 46px !important; }
.entete-actions { justify-self: end; display: flex; align-items: center; gap: 4px; }

/* Bouton du menu (navigation native, panneau toujours en tiroir) */
.tiroir-nav { justify-self: start; }
.tiroir-nav .wp-block-navigation__responsive-container-open { display: inline-flex !important; align-items: center; gap: 10px; height: 44px; padding: 0; background: none; border: 0; color: var(--blanc); cursor: pointer; }
.tiroir-nav .wp-block-navigation__responsive-container-open svg { display: none; }
.tiroir-nav .wp-block-navigation__responsive-container-open::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-menu) center / contain no-repeat; mask: var(--i-menu) center / contain no-repeat; }
.tiroir-nav .wp-block-navigation__responsive-container-open::after { content: 'Menu'; display: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Le tiroir */
.wp-block-navigation.tiroir-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
.wp-block-navigation.tiroir-nav .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed; inset: 0; z-index: 100000; display: flex; padding: 0;
  background: rgba(8, 5, 8, .6) !important; color: var(--blanc) !important; animation: voile .3s ease;
}
@keyframes voile { from { background: rgba(8, 5, 8, 0); } }
.tiroir-nav .is-menu-open .wp-block-navigation__responsive-close { width: min(86vw, 380px); max-width: none; margin: 0; height: 100%; }
.tiroir-nav .is-menu-open .wp-block-navigation__responsive-dialog {
  position: relative; height: 100%; margin: 0 !important; padding: 18px 22px 26px; overflow-y: auto;
  background: var(--nuit-2); border-radius: 0 var(--r-l) var(--r-l) 0; animation: tiroir .35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes tiroir { from { transform: translateX(-102%); } }
.tiroir-nav .wp-block-navigation__responsive-container-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--nuit-3); color: var(--blanc); border: 0; cursor: pointer; }
.tiroir-nav .wp-block-navigation__responsive-container-close svg { display: none; }
.tiroir-nav .wp-block-navigation__responsive-container-close::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-fermer) center / contain no-repeat; mask: var(--i-fermer) center / contain no-repeat; }
.tiroir-nav .is-menu-open .wp-block-navigation__responsive-container-content { display: block !important; padding-top: 0 !important; }
.tiroir-nav .is-menu-open .wp-block-navigation__container { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0 !important; }
.tiroir-nav .is-menu-open .wp-block-site-logo { margin: 0 0 22px; }
.tiroir-nav .is-menu-open .wp-block-site-logo img { width: auto !important; height: 44px !important; }
.tiroir-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.tiroir-nav .is-menu-open .wp-block-navigation-item__content {
  display: flex !important; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 0 !important; border-bottom: 1px solid var(--ligne);
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; color: var(--blanc);
}
.tiroir-nav .is-menu-open .wp-block-navigation-item__content::after { content: ''; width: 18px; height: 18px; background: var(--accent); -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat; }
.tiroir-nav .is-menu-open .tiroir-promo .wp-block-navigation-item__label { background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tiroir-nav .is-menu-open .tiroir-secondaire .wp-block-navigation-item__content { padding: 7px 0 !important; border: 0; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--doux); }
.tiroir-nav .is-menu-open .tiroir-secondaire.premier { margin-top: 22px; }
.tiroir-nav .is-menu-open .tiroir-secondaire .wp-block-navigation-item__content::after { display: none; }
.tiroir-nav .is-menu-open .tiroir-pied { margin-top: 22px; }
.tiroir-nav .is-menu-open .tiroir-pied .wp-block-navigation-item__content { justify-content: flex-start; gap: 10px; padding: 0 !important; border: 0; font-size: 12px; font-weight: 400; text-transform: none; color: var(--doux); }
.tiroir-nav .is-menu-open .tiroir-pied .wp-block-navigation-item__content::after { display: none; }
.tiroir-nav .is-menu-open .tiroir-pied .wp-block-navigation-item__content::before { content: ''; width: 18px; height: 18px; background: var(--accent); -webkit-mask: var(--i-horloge) center / contain no-repeat; mask: var(--i-horloge) center / contain no-repeat; }

/* Compte et mini-panier */
.entete-compte { display: none !important; }
.entete-compte a, .entete-compte .wc-block-customer-account__account-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.entete-compte svg, .entete-compte .wc-block-customer-account__visual { display: none !important; }
.entete-compte a::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-compte) center / contain no-repeat; mask: var(--i-compte) center / contain no-repeat; }
.entete-compte a:hover, .entete-panier .wc-block-mini-cart__button:hover { background: var(--nuit-2); }
.entete-panier .wc-block-mini-cart__button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: none; border: 0; color: var(--blanc); cursor: pointer; }
.entete-panier .wc-block-mini-cart__amount, .entete-panier .wc-block-mini-cart__tax-label { display: none !important; }
.entete-panier .wc-block-mini-cart__quantity-badge { position: static; display: grid; place-items: center; }
.entete-panier .wc-block-mini-cart__icon { display: none; }
.entete-panier .wc-block-mini-cart__quantity-badge::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-sac) center / contain no-repeat; mask: var(--i-sac) center / contain no-repeat; }
.entete-panier .wc-block-mini-cart__badge {
  position: absolute; top: 4px; right: 2px; transform: none; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; border: 0;
  background: var(--accent) !important; color: var(--blanc) !important; font-size: 10px; font-weight: 800; line-height: 19px; text-align: center;
}
.entete-panier .wc-block-mini-cart__badge:empty { display: none; }

/* =====================================================================
   6. Héros (accueil)
   ===================================================================== */
.heros { position: relative; overflow: hidden; padding-top: 14px; }
.heros::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 40% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 88% 58%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 62% 36%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 86%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 94% 90%, #fff 50%, transparent 51%);
}
.heros-int { position: relative; display: grid; gap: 4px; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }

/* Recherche (bloc Recherche, limité aux produits) */
.recherche .wp-block-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.recherche .wp-block-search__inside-wrapper { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 999px; background: var(--nuit-2); border: 1px solid var(--ligne); width: 100% !important; }
.recherche .wp-block-search__inside-wrapper::before { content: ''; flex: none; width: 20px; height: 20px; background: var(--doux); -webkit-mask: var(--i-recherche) center / contain no-repeat; mask: var(--i-recherche) center / contain no-repeat; }
.recherche .wp-block-search__input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; color: var(--blanc); font: inherit; font-size: 13px; }
.recherche .wp-block-search__input::placeholder { color: rgba(255, 255, 255, .45); }
.recherche .wp-block-search__inside-wrapper:focus-within { border-color: rgba(255, 97, 80, .7); }
.recherche .wp-block-search__button { display: none; }

.heros-texte { position: relative; z-index: 2; padding-top: 30px; }
.statut { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.statut::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #FFB23A; box-shadow: 0 0 0 0 rgba(255, 178, 58, .6); animation: pouls 2s infinite; }
.statut.ferme::before { background: var(--accent); animation: none; }
@keyframes pouls { 70% { box-shadow: 0 0 0 9px rgba(255, 178, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 178, 58, 0); } }

/* Titre en escalier : 1re ligne, <em> = 2e ligne, <strong> = 3e ligne ; le <code> est le O-lune du logo */
.heros-titre {
  margin-top: 20px; width: fit-content;
  font-size: var(--t-heros); font-weight: 800; line-height: .96; letter-spacing: -.025em; text-transform: uppercase; hyphens: none; white-space: nowrap;
  text-indent: .5em;
  background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heros-titre em, .heros-titre strong { display: block; font-style: normal; font-weight: inherit; text-indent: 0; }
.heros-titre em { padding-left: 1.45em; }
.heros-titre code {
  display: inline-block; overflow: hidden; width: calc(var(--t-heros) * .8); height: calc(var(--t-heros) * .8);
  margin-right: calc(var(--t-heros) * .045); vertical-align: calc(var(--t-heros) * -.007);
  font-size: 0; background: url(assets/img/anneau.svg) center / contain no-repeat;
}
.heros-chapo { margin-top: 22px; max-width: 30em; font-size: 14px; color: var(--doux); }
.heros-actions { margin-top: 26px; }
.heros-actions .bouton-plein { flex: 1 1 auto; }
.heros-actions .bouton-plein .wp-block-button__link { width: 100%; }

/* L'objet : la lune du logo, les produits en orbite (repère : centre 210,175 ; rayon 150 ; boîte 358 × 380) */
.heros-objet { position: relative; height: 380px; margin-top: 14px; }
.heros-objet::before { content: ''; position: absolute; left: 90px; top: 55px; width: 240px; height: 240px; background: url(assets/img/anneau.svg) center / contain no-repeat; filter: drop-shadow(0 0 46px rgba(255, 77, 58, .5)); animation: flotte 9s ease-in-out infinite; }
.heros-objet::after { content: ''; position: absolute; left: 60px; top: 25px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .2); animation: tourne 60s linear infinite; }
@keyframes flotte { 50% { transform: translateY(-10px); } }
@keyframes tourne { to { transform: rotate(360deg); } }
.heros-objet .orbite { position: absolute; z-index: 1; border-radius: 50%; overflow: hidden; border: 5px solid var(--nuit); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); }
.heros-objet .orbite img { width: 100%; height: 100%; object-fit: cover; }
.heros-objet .orbite-1 { width: 130px; height: 130px; left: 22px; top: 24px; }
.heros-objet .orbite-2 { width: 112px; height: 112px; left: 210px; top: 258px; }
.heros-objet .orbite-3 { width: 84px; height: 84px; left: 286px; top: 41px; }
.pastille {
  position: absolute; left: 39px; top: 213px; z-index: 3; display: grid; place-content: center;
  width: 96px; height: 96px; border-radius: 50%; background: var(--blanc); color: var(--nuit); text-align: center;
  font-size: 9px; font-weight: 700; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
}
.pastille strong { display: block; font-size: 14px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Atouts sous le héros */
.atouts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 6px auto 0; padding: 0 var(--gouttiere); }
.atouts li { display: flex; flex-direction: column; gap: 8px; padding: 18px 10px 20px 0; border-top: 1px solid var(--ligne); font-size: 11px; line-height: 1.35; color: var(--doux); }
.atouts li + li { padding-left: 12px; border-left: 1px solid var(--ligne); }
.atouts li::before { content: ''; width: 20px; height: 20px; background: var(--accent); -webkit-mask: var(--i-horloge) center / contain no-repeat; mask: var(--i-horloge) center / contain no-repeat; }
.atouts li:nth-child(2)::before { -webkit-mask-image: var(--i-lieu); mask-image: var(--i-lieu); }
.atouts li:nth-child(3)::before { -webkit-mask-image: var(--i-carte); mask-image: var(--i-carte); }
.atouts strong { display: block; font-size: 12px; font-weight: 700; color: var(--blanc); }

/* =====================================================================
   7. Sections de l'accueil
   ===================================================================== */
.tete-section { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 24px; }

/* Rayons */
.rayons { padding: 64px 0 24px; }
.grille-rayons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rayon { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1 / 1.08; padding: 14px; border-radius: var(--r-l); overflow: hidden; isolation: isolate; background: var(--nuit-2); }
.rayon .wp-block-image { position: absolute; inset: 0; z-index: -2; }
.rayon .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rayon::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 15, 20, 0) 40%, rgba(20, 15, 20, .88) 100%); pointer-events: none; }
.rayon:hover .wp-block-image img { transform: scale(1.06); }
.rayon-nom { font-size: 14px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.rayon-nom a::before { content: ''; position: absolute; inset: 0; z-index: 2; }
.rayon-promo { grid-column: 1 / -1; aspect-ratio: auto; min-height: 150px; padding: 20px; background: var(--grad); color: var(--nuit); }
.rayon-promo::after { content: ''; position: absolute; z-index: -1; inset: auto -54px -78px auto; width: 190px; height: 190px; background: var(--nuit); opacity: .12; border-radius: 0; -webkit-mask: url(assets/img/anneau.svg) center / contain no-repeat; mask: url(assets/img/anneau.svg) center / contain no-repeat; }
.rayon-promo .rayon-nom { font-size: 26px; }
.rayon-sous { margin-top: 6px; font-size: 12px; font-weight: 500; }
.rayon-promo-pct { position: absolute; top: 6px; right: 18px; font-size: 92px; font-weight: 800; line-height: 1; }

/* Vitrine à onglets */
.vitrine { padding: 56px 0 72px; }
.onglets { display: flex; gap: 4px; max-width: 100%; padding: 5px; border-radius: 999px; background: var(--nuit-2); overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglet { flex: none; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 38px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; color: var(--doux); cursor: pointer; transition: background .2s, color .2s; user-select: none; }
.onglet.est-actif { background: var(--blanc); color: var(--nuit); }
@media (max-width: 380px) { .onglet { padding: 0 11px; font-size: 10px; } }
.panneau { display: none; }
.panneau.est-actif { display: block; animation: apparait .35s ease; }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } }

/* Étapes : le champ de couleur */
.etapes { position: relative; margin-top: 130px; padding: 0 0 64px; background: var(--grad); color: var(--nuit); }
.etapes-int { display: grid; gap: 34px; }
.etapes-photo { position: relative; width: 74%; margin: -110px 0 0 auto !important; aspect-ratio: 9 / 10; border-radius: var(--r-xl); overflow: hidden; border: 6px solid var(--nuit); box-shadow: 0 30px 60px -20px rgba(20, 15, 20, .7); }
.etapes-photo img { width: 100%; height: 100%; object-fit: cover; }
.etapes .titre-section { margin-bottom: 30px; }
.escalier { display: grid; gap: 14px; }
.marche { display: flex; align-items: flex-start; gap: 16px; max-width: 92%; padding: 18px 18px 20px; border-radius: var(--r-l); background: var(--nuit); color: var(--blanc); }
.marche.m1 { margin-left: 4%; }
.marche.m2 { margin-left: 8%; }
.marche-num { flex: none; font-size: 44px; font-weight: 800; line-height: .9; background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marche h3 { font-size: 15px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.marche p:not(.marche-num) { margin-top: 6px; font-size: 12px; color: var(--doux); }
.etapes-simple { margin-top: 0; padding: 56px 0 64px; }

/* Les chiffres */
.regles { padding: 72px 0 40px; }
.chiffres { display: grid; grid-template-columns: 1fr 1fr; margin-top: 30px; border-top: 1px solid var(--ligne); }
.chiffre { padding: 22px 12px 24px 0; border-bottom: 1px solid var(--ligne); }
.chiffre:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--ligne); }
.chiffre-val { width: fit-content; font-size: clamp(30px, 9vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.03em; white-space: nowrap; background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chiffre-label { margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--doux); }
.regles-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 12px; color: var(--doux); }
.regles-note::before { content: ''; width: 18px; height: 18px; flex: none; background: var(--accent); -webkit-mask: var(--i-lieu) center / contain no-repeat; mask: var(--i-lieu) center / contain no-repeat; }
.regles-page { padding: 4px 0 40px; }
.regles-page .chiffres { margin-top: 0; }

/* Carte WhatsApp */
.contact-wa { padding: 32px 0 80px; }
.carte-wa { position: relative; overflow: hidden; isolation: isolate; padding: 34px 22px 26px; border-radius: var(--r-xl); background: var(--nuit-2); border: 1px solid var(--ligne); }
.carte-wa::before { content: ''; position: absolute; z-index: -1; width: 200px; height: 200px; right: -96px; top: -96px; background: url(assets/img/anneau.svg) center / contain no-repeat; opacity: .9; }
.carte-wa .titre-section { margin-top: 12px; }
.carte-wa > p:not(.sur-titre):not(.carte-wa-numero) { margin-top: 16px; max-width: 34em; font-size: 13px; color: var(--doux); }
.carte-wa .wp-block-buttons { margin-top: 26px; }
.carte-wa .wp-block-button, .carte-wa .wp-block-button .wp-block-button__link { width: 100%; }
.carte-wa-numero { width: fit-content; margin-top: 18px; font-size: clamp(22px, 6.4vw, 44px); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =====================================================================
   8. Cartes produits (bloc « Collection de produits »)
   ===================================================================== */
.produits .wc-block-product-template, .grille-produits .wc-block-product-template {
  display: grid !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; list-style: none;
}
/* accueil et suggestions : carrousel en mobile */
.produits .wc-block-product-template {
  grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none !important;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gouttiere)) !important; padding-inline: var(--gouttiere) !important; scroll-padding-inline: var(--gouttiere);
}
.produits .wc-block-product-template::-webkit-scrollbar { display: none; }
.grille-produits .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.wc-block-product-template .wc-block-product {
  position: relative; display: flex; flex-direction: column; width: auto !important; max-width: none !important; margin: 0 !important;
  padding: 8px 8px 8px; border-radius: var(--r-l); background: var(--nuit-2); scroll-snap-align: start; text-align: left;
}
.wc-block-product .wc-block-components-product-image { position: relative; margin: 0 !important; aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; background: var(--nuit-3); }
.wc-block-product .wc-block-components-product-image a, .wc-block-product .wc-block-components-product-image img { display: block; width: 100%; height: 100% !important; object-fit: cover; aspect-ratio: 1; border-radius: 0; transition: transform .5s; }
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.05); }
.wc-block-components-product-sale-badge, .badge-nouveau {
  position: absolute; z-index: 2; top: 8px; left: 8px; right: auto !important; margin: 0 !important;
  height: 24px; padding: 0 9px; border: 0; border-radius: 999px; background: var(--accent); color: var(--blanc);
  font-size: 10px; font-weight: 800; line-height: 24px; letter-spacing: 0; text-transform: none;
}
.badge-nouveau { background: var(--blanc); color: var(--nuit); }
.wc-block-components-product-sale-badge .screen-reader-text { position: absolute !important; }
.wc-block-product .wp-block-post-title { margin: 12px 6px 0 !important; min-height: 2.7em; font-size: 12px !important; font-weight: 500; line-height: 1.35 !important; letter-spacing: -.005em; text-transform: none; text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wc-block-product .wp-block-post-title a { color: var(--blanc); }
.wc-block-product .wp-block-woocommerce-product-price { margin: auto 52px 0 6px !important; padding-top: 10px; text-align: left !important; }
.wc-block-product .wc-block-components-product-price, .fiche-prix .wc-block-components-product-price { display: flex; flex-direction: column; align-items: flex-start; font-size: 14px !important; font-weight: 800; line-height: 1.2; color: var(--blanc); text-align: left !important; }
.wc-block-components-product-price del { order: -1; font-size: 11px; font-weight: 500; color: var(--doux); text-decoration: line-through; opacity: 1; }
.wc-block-components-product-price ins { text-decoration: none; background: none; }
.wc-block-product .wp-block-woocommerce-product-button { position: absolute; right: 10px; bottom: 10px; margin: 0 !important; }
.wc-block-product .wc-block-components-product-button__button, .wc-block-product .wp-block-button__link {
  display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; padding: 0 !important; border-radius: 50% !important; border: 0;
  background: var(--grad-nuit) !important; color: var(--nuit) !important; font-size: 0 !important; overflow: hidden; transition: transform .2s;
}
.wc-block-product .wc-block-components-product-button__button::before { content: ''; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }
.wc-block-product .wc-block-components-product-button__button:hover { transform: scale(1.08); }
.wc-block-product .wc-block-components-product-button__button.loading { opacity: .7; }
.wc-block-product .wc-block-components-product-button__button.added::before { -webkit-mask-image: var(--i-check); mask-image: var(--i-check); }
.wc-block-product .wc-block-components-product-button > a.added_to_cart, .wc-block-product .wc-block-components-product-button__button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wc-block-product-template .wc-block-components-product-image .wc-block-components-product-sale-badge { position: absolute; }

/* Pagination */
.wp-block-query-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px !important; }
.wp-block-query-pagination-numbers { display: flex; gap: 8px; }
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px;
  background: var(--nuit-2); border: 1px solid var(--ligne); font-size: 13px; font-weight: 800; color: var(--blanc);
}
.wp-block-query-pagination .page-numbers.current { background: var(--grad-nuit); border-color: transparent; color: var(--nuit); }
.wp-block-query-pagination-previous-arrow, .wp-block-query-pagination-next-arrow { margin: 0 !important; }

/* =====================================================================
   9. En-têtes de pages internes
   ===================================================================== */
.tete-page { position: relative; overflow: hidden; padding: 26px 0 30px; }
.tete-page::before { content: ''; position: absolute; width: 150px; height: 150px; right: -58px; top: -98px; background: url(assets/img/anneau.svg) center / contain no-repeat; filter: drop-shadow(0 0 40px rgba(255, 77, 58, .35)); pointer-events: none; }
.tete-page.sans-anneau::before, .tete-compacte::before { display: none; }
.tete-compacte { padding-bottom: 18px; }
.ariane, .woocommerce-breadcrumb { position: relative; display: flex; flex-wrap: wrap; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ariane a:hover, .woocommerce-breadcrumb a:hover { color: var(--blanc); }
.ariane-sep { color: rgba(255, 255, 255, .28); }
.titre-page {
  position: relative; max-width: 100%; width: fit-content; margin-top: 18px !important;
  font-size: clamp(36px, 10.4vw, 104px); font-weight: 800; line-height: .95; letter-spacing: -.025em; text-transform: uppercase; hyphens: none; text-wrap: balance;
  background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.titre-page-moyen { font-size: clamp(28px, 7.6vw, 72px); }
.chapo-page, .tete-page .wp-block-term-description { position: relative; margin-top: 16px !important; max-width: 34em; font-size: 14px; color: var(--doux); }
.tete-page .wp-block-term-description p { margin: 0; }

/* Catégorie : la photo dans le O du logo */
.tete-categorie .enveloppe { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.tete-categorie .titre-page { font-size: clamp(30px, 9vw, 104px); }
.medaillon { position: relative; width: 112px; aspect-ratio: 1; margin: 0 -10px -4px 0; }
.medaillon::before { content: ''; position: absolute; inset: 0; background: url(assets/img/anneau.svg) center / contain no-repeat; filter: drop-shadow(0 0 30px rgba(255, 77, 58, .45)); }
.medaillon img { position: absolute; left: 50%; top: 50%; width: 57% !important; height: 57% !important; transform: translate(-50%, -50%); border-radius: 50%; object-fit: cover; }

/* Promotions : le champ de couleur */
.tete-promo { position: relative; overflow: hidden; isolation: isolate; padding: 26px 0 36px; background: var(--grad); color: var(--nuit); }
.tete-promo .enveloppe { position: relative; }
.tete-promo::after { content: ''; position: absolute; z-index: -2; width: 260px; height: 260px; right: -90px; bottom: -120px; background: var(--nuit); opacity: .12; -webkit-mask: url(assets/img/anneau.svg) center / contain no-repeat; mask: url(assets/img/anneau.svg) center / contain no-repeat; }
.tete-promo .ariane { color: rgba(20, 15, 20, .62); }
.tete-promo .ariane-sep { color: rgba(20, 15, 20, .4); }
.tete-promo .titre-page { background: none; color: var(--nuit); }
.tete-promo .chapo-page { max-width: 22em; color: rgba(20, 15, 20, .8); }
.tete-promo-pct { position: absolute; right: 18px; bottom: -40px; z-index: -1; font-size: 150px; font-weight: 800; line-height: 1; opacity: .16; }

/* =====================================================================
   10. Catalogue : filtres, tri, grille
   ===================================================================== */
.catalogue { padding: 6px 0 80px; }
.puces { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gouttiere)); padding: 4px var(--gouttiere); }
.puces::-webkit-scrollbar { display: none; }
.puce a, .puces .wc-block-product-categories-list-item > a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--nuit-2); border: 1px solid var(--ligne);
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--doux); white-space: nowrap; transition: background .2s, color .2s;
}
.puce { flex: none; }
.puce a:hover, .puces .wc-block-product-categories-list-item > a:hover { color: var(--blanc); }
.puce.est-actif a, .puces .wc-block-product-categories-list-item.est-actif > a { background: var(--blanc); border-color: var(--blanc); color: var(--nuit); }
.puce-promo a { color: #FF6150; }
.puces .wp-block-woocommerce-product-categories { flex: none; margin: 0; }
.puces .wc-block-product-categories-list { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.puces .wc-block-product-categories-list-item { flex: none; margin: 0; }
.puces .wc-block-product-categories-list-item ul { display: none; }
.puces .wc-block-product-categories-list-item-count { display: none; }
.barre-outils { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; }
.barre-outils .woocommerce-result-count, .barre-nb { margin: 0; font-size: 12px; color: var(--doux); }
.barre-outils .woocommerce-ordering { position: relative; margin: 0; }
.barre-outils .woocommerce-ordering::after { content: ''; position: absolute; right: 14px; top: 12px; width: 16px; height: 16px; background: var(--accent); -webkit-mask: var(--i-chevron) center / contain no-repeat; mask: var(--i-chevron) center / contain no-repeat; pointer-events: none; }
.barre-outils select { appearance: none; -webkit-appearance: none; height: 40px; max-width: 54vw; padding: 0 40px 0 16px; border-radius: 999px; background: var(--nuit-2); border: 1px solid var(--ligne); color: var(--blanc); font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; }
.barre-outils select option { background: var(--nuit-2); color: var(--blanc); text-transform: none; }
.suite-catalogue { margin-top: 40px !important; }
.wc-block-product-collection-no-results, .wp-block-woocommerce-product-collection-no-results { padding: 40px 0; color: var(--doux); }

/* =====================================================================
   11. Fiche produit
   ===================================================================== */
.fiche-zone { padding: 22px 0 48px; }
.fiche { display: grid; gap: 24px; margin-top: 18px; }
.fiche-galerie .woocommerce-product-gallery { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--nuit-2); }
.fiche-galerie .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fiche-galerie .woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 15, 20, .6); font-size: 0; }
.fiche-galerie .woocommerce-product-gallery__trigger::before { content: ''; width: 18px; height: 18px; background: var(--blanc); -webkit-mask: var(--i-recherche) center / contain no-repeat; mask: var(--i-recherche) center / contain no-repeat; }
.fiche-galerie .flex-control-thumbs { display: flex; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.fiche-galerie .flex-control-thumbs li { width: 64px; }
.fiche-galerie .flex-control-thumbs img { border-radius: var(--r-s); opacity: .6; cursor: pointer; }
.fiche-galerie .flex-control-thumbs img.flex-active { opacity: 1; }
.fiche-galerie .onsale { position: absolute; z-index: 2; top: 14px; left: 14px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent); font-size: 12px; font-weight: 800; line-height: 30px; }
.fiche-cat a { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fiche-cat .wp-block-post-terms__separator { color: var(--doux); }
.fiche-titre { margin-top: 10px !important; font-size: clamp(28px, 7.6vw, 56px) !important; font-weight: 800; line-height: 1 !important; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.fiche-prix { margin-top: 16px !important; }
.fiche-prix .wc-block-components-product-price { flex-direction: row; align-items: baseline; gap: 12px; font-size: 26px !important; }
.fiche-prix .wc-block-components-product-price del { font-size: 15px; }
.fiche-resume { margin-top: 14px !important; max-width: 32em; font-size: 14px; color: var(--doux); }
.fiche-resume p { margin: 0; }
.fiche-stock { margin-top: 16px !important; }
.fiche-stock .wc-block-components-product-stock-indicator, .fiche-stock p { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blanc); }
.fiche-stock .wc-block-components-product-stock-indicator::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #FFB23A; }
.fiche-stock .wc-block-components-product-stock-indicator--out-of-stock::before { background: var(--accent); }

/* Formulaire d'ajout au panier (bloc « Formulaire d'ajout au panier ») */
.fiche-achat { margin-top: 22px !important; }
.fiche-achat form.cart { display: flex; gap: 10px; margin: 0; }
.fiche-achat .quantity, .wc-block-components-quantity-selector { position: relative; flex: none; display: inline-flex; align-items: center; height: 56px; padding: 0 6px; border-radius: 999px; background: var(--nuit-2); border: 1px solid var(--ligne); }
.fiche-achat .quantity input.qty { width: 64px; height: 100%; border: 0; background: none; color: var(--blanc); font: inherit; font-size: 15px; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.fiche-achat .quantity input::-webkit-outer-spin-button, .fiche-achat .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fiche-achat .quantity button, .wc-block-components-quantity-selector__button { display: grid; place-items: center; width: 40px; height: 40px; min-width: 0; padding: 0; border-radius: 50%; border: 0; background: none; color: var(--blanc); font-size: 20px; font-weight: 500; cursor: pointer; opacity: 1 !important; }
.fiche-achat .quantity button:hover, .wc-block-components-quantity-selector__button:hover { background: var(--nuit-3); }
.fiche-achat .single_add_to_cart_button, .fiche-achat button[type="submit"] {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--grad-nuit); color: var(--nuit); box-shadow: 0 10px 30px -10px rgba(255, 77, 58, .7);
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; cursor: pointer;
}
.fiche-achat .single_add_to_cart_button:hover { transform: translateY(-2px); }
.fiche-achat .stock { margin: 0 0 10px; font-size: 12px; color: var(--doux); }

.garanties { margin-top: 26px !important; border-top: 1px solid var(--ligne); }
.garanties li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 12px; line-height: 1.35; color: var(--doux); }
.garanties li::before { content: ''; flex: none; width: 24px; height: 24px; background: var(--accent); -webkit-mask: var(--i-scooter) center / contain no-repeat; mask: var(--i-scooter) center / contain no-repeat; }
.garanties li:nth-child(2)::before { -webkit-mask-image: var(--i-billet); mask-image: var(--i-billet); }
.garanties li:nth-child(3)::before { -webkit-mask-image: var(--i-cadeau); mask-image: var(--i-cadeau); }
.garanties strong { display: block; font-size: 13px; font-weight: 700; color: var(--blanc); }
.vitrine-liee { padding: 40px 0 80px; }

/* Accordéons (bloc Détails) */
.accordeons { margin-top: 26px !important; }
.wp-block-details.accordeon { border-bottom: 1px solid var(--ligne); }
.wp-block-details.accordeon summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.wp-block-details.accordeon summary::-webkit-details-marker { display: none; }
.wp-block-details.accordeon summary::after { content: ''; flex: none; width: 20px; height: 20px; background: var(--accent); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; transition: transform .25s; }
.wp-block-details.accordeon[open] summary::after { transform: rotate(45deg); }
.wp-block-details.accordeon > :not(summary) { max-width: 40em; padding: 0 0 20px; font-size: 13px; color: var(--doux); }
.wp-block-details.accordeon .wp-block-post-content > * + * { margin-top: 10px; }
.accordeons-faq { border-top: 1px solid var(--ligne); }
.accordeons-faq .wp-block-details.accordeon summary { padding: 22px 0; font-size: 15px; font-weight: 600; letter-spacing: -.005em; text-transform: none; }

/* =====================================================================
   12. Panier (bloc Panier) et mini-panier
   ===================================================================== */
.panier-zone { padding: 6px 0 40px; }
.seuil { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; margin-bottom: 18px; padding: 16px 18px 18px; border-radius: var(--r-l); background: var(--nuit-2); border: 1px solid var(--ligne); --progression: 0%; }
.seuil::before { content: ''; width: 26px; height: 26px; background: #FFB23A; -webkit-mask: var(--i-cadeau) center / contain no-repeat; mask: var(--i-cadeau) center / contain no-repeat; }
.seuil p { font-size: 13px; }
.seuil strong { font-weight: 800; background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seuil::after { content: ''; grid-column: 1 / -1; height: 8px; border-radius: 9px; background: linear-gradient(var(--nuit-3), var(--nuit-3)); background-image: var(--grad), linear-gradient(var(--nuit-3), var(--nuit-3)); background-size: var(--progression) 100%, 100% 100%; background-repeat: no-repeat; transition: background-size .5s ease; }
.seuil.est-vide { display: none; }

.wc-block-cart, .wp-block-woocommerce-cart { margin: 0 !important; }
.wc-block-components-sidebar-layout { display: grid !important; gap: 24px; margin: 0 !important; }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-sidebar-layout .wc-block-components-sidebar { width: 100% !important; padding: 0 !important; margin: 0 !important; }
.wc-block-cart-items { width: 100%; border-collapse: collapse; border: 0 !important; }
.wc-block-cart-items__header { display: none; }
.wc-block-cart-items__row { display: grid !important; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0 !important; border-bottom: 1px solid var(--ligne) !important; }
.wc-block-cart-items__row td { padding: 0 !important; border: 0 !important; }
.wc-block-cart-item__image img { width: 76px !important; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-m); }
.wc-block-components-product-name { font-size: 13px !important; font-weight: 600; line-height: 1.3; color: var(--blanc) !important; text-decoration: none !important; }
.wc-block-cart-item__prices, .wc-block-cart-item__product .wc-block-components-product-metadata { margin-top: 4px; font-size: 12px; color: var(--doux); }
.wc-block-cart-item__quantity { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.wc-block-components-quantity-selector { height: 40px; width: auto !important; padding: 0 3px; margin: 0 !important; }
.wc-block-components-quantity-selector::after { display: none; }
.wc-block-components-quantity-selector__input { width: 30px !important; min-width: 0 !important; height: 32px; border: 0 !important; background: none !important; color: var(--blanc) !important; font: inherit !important; font-size: 13px !important; font-weight: 800 !important; text-align: center; box-shadow: none !important; }
.wc-block-components-quantity-selector__button { width: 32px; height: 32px; font-size: 16px; }
.wc-block-cart-item__remove-link { display: grid !important; place-items: center; width: 36px; height: 36px; padding: 0 !important; border-radius: 50%; font-size: 0 !important; color: var(--doux) !important; text-decoration: none !important; }
.wc-block-cart-item__remove-link svg { width: 20px; height: 20px; fill: currentColor; }
.wc-block-cart-item__remove-link:hover { background: var(--nuit-2); color: var(--accent) !important; }
.wc-block-cart-item__total { text-align: right; font-size: 14px; font-weight: 800; white-space: nowrap; }
.wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }
.wc-block-components-product-badge, .wc-block-components-sale-badge { padding: 2px 8px !important; border: 0 !important; border-radius: 999px !important; background: var(--accent) !important; color: var(--blanc) !important; font-size: 10px !important; }

.wc-block-cart__sidebar, .wp-block-woocommerce-checkout-order-summary-block, .wc-block-components-sidebar .wc-block-components-panel {
  padding: 22px 20px !important; border-radius: var(--r-xl); background: var(--nuit-2); border: 1px solid var(--ligne);
}
.wc-block-cart__totals-title { margin: 0 !important; padding: 0 !important; font-size: 15px !important; font-weight: 800 !important; letter-spacing: .01em; text-transform: uppercase !important; text-align: left !important; }
.wc-block-components-totals-wrapper { padding: 10px 0 !important; border-top: 1px solid var(--ligne) !important; }
.wc-block-components-totals-wrapper:first-of-type { border-top: 0 !important; }
.wc-block-components-totals-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0 !important; font-size: 13px; }
.wc-block-components-totals-item__value { font-weight: 700; white-space: nowrap; }
.wc-block-components-totals-item__description { width: 100%; font-size: 11px; color: var(--doux); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 15px; font-weight: 800; text-transform: uppercase; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 22px; font-weight: 800; }
.wc-block-components-panel__button, .wc-block-components-totals-coupon-link { padding: 4px 0 !important; color: var(--doux) !important; font-size: 12px !important; font-weight: 600; text-decoration: none !important; background: none !important; border: 0 !important; }
.wc-block-components-totals-coupon__form { display: flex; gap: 8px; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select select {
  height: 48px !important; padding: 18px 16px 4px !important; border-radius: 14px !important; border: 1.5px solid rgba(255, 255, 255, .14) !important;
  background: var(--nuit) !important; color: var(--blanc) !important; font: inherit !important; font-size: 14px !important; box-shadow: none !important;
}
.wc-block-components-text-input label { left: 16px !important; color: var(--doux) !important; font-size: 13px !important; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-mini-cart__footer-checkout {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 56px !important; padding: 0 26px !important; border: 0 !important; border-radius: 999px !important;
  background: var(--grad-nuit) !important; color: var(--nuit) !important; box-shadow: 0 10px 30px -10px rgba(255, 77, 58, .7);
  font: inherit !important; font-size: 14px !important; font-weight: 700 !important; letter-spacing: .01em; text-transform: uppercase; text-decoration: none !important;
}
.wc-block-components-button.outlined, .wc-block-mini-cart__footer-cart { background: transparent !important; border: 2px solid rgba(255, 255, 255, .25) !important; color: var(--blanc) !important; box-shadow: none; }
.wc-block-cart__submit-container { margin-top: 16px; }
.wc-block-cart__submit-button { width: 100%; }
.wc-block-cart__empty-cart__title, .wp-block-woocommerce-empty-cart-block h2 { font-size: 22px !important; font-weight: 800; text-transform: uppercase; }

/* Mini-panier (tiroir de droite) */
.wc-block-components-drawer__screen-overlay { background: rgba(8, 5, 8, .6) !important; }
.wc-block-components-drawer { background: var(--nuit-2) !important; color: var(--blanc) !important; border-radius: var(--r-l) 0 0 var(--r-l); }
.wc-block-mini-cart__title { font-size: 18px !important; font-weight: 800; text-transform: uppercase; }
.wc-block-components-drawer__close { color: var(--blanc) !important; }
.wc-block-mini-cart__products-table .wc-block-cart-items__row { grid-template-columns: 64px minmax(0, 1fr) auto; }
.wc-block-mini-cart__footer { border-top: 1px solid var(--ligne) !important; box-shadow: none !important; }
.wc-block-mini-cart__footer-actions { display: grid !important; gap: 10px; }

/* =====================================================================
   13. Commande (formulaire classique, adapté au Maroc : position GPS)
   ===================================================================== */
.commande-zone { padding: 6px 0 80px; }
.woocommerce-checkout form.checkout { display: grid; gap: 16px; counter-reset: etape; }
.woocommerce-checkout .col2-set { display: grid; gap: 14px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce-billing-fields, .woocommerce-additional-fields, .daba-geoloc-bloc, .woocommerce-checkout-review-order {
  padding: 20px 18px 22px; border: 1px solid var(--ligne); border-radius: var(--r-l); background: var(--nuit-2);
}
.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3, .daba-geoloc-bloc > h3, #order_review_heading {
  display: flex; align-items: center; gap: 12px; margin: 0 0 4px; font-size: 14px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase;
}
.woocommerce-billing-fields > h3::before, .woocommerce-additional-fields > h3::before, .daba-geoloc-bloc > h3::before {
  counter-increment: etape; content: counter(etape); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-nuit); color: var(--nuit); font-size: 13px;
}
.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
.woocommerce form .form-row { display: grid; gap: 7px; grid-column: 1 / -1; margin: 14px 0 0; padding: 0; }
.woocommerce form .form-row-first { grid-column: 1; }
.woocommerce form .form-row-last { grid-column: 2; }
.woocommerce form .form-row label { font-size: 12px; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, .82); }
.woocommerce form .form-row .required { color: var(--accent); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { font-size: 11px; font-weight: 500; color: var(--doux); }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-form input.input-text {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .14);
  background: var(--nuit); color: var(--blanc); font: inherit; font-size: 14px; outline: none; transition: border-color .2s;
}
.woocommerce form .form-row textarea { height: auto; min-height: 96px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: #FF6150; }
.woocommerce form .form-row input::placeholder, .woocommerce form .form-row textarea::placeholder { color: rgba(255, 255, 255, .35); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--accent); }
.woocommerce form .form-row .description, .champ-aide { font-size: 11px; color: var(--doux); }
.woocommerce form .form-row input[type="checkbox"] { width: 18px; height: 18px; margin-right: 8px; accent-color: #FF6150; vertical-align: -3px; }
#billing_country_field, #billing_state_field { display: none !important; }

/* Bloc position GPS */
.daba-geoloc-bloc { margin-top: 14px; }
.daba-geoloc-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 56px; margin-top: 16px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--grad-nuit); color: var(--nuit); box-shadow: 0 10px 30px -10px rgba(255, 77, 58, .7);
  font: inherit; font-size: 14px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; cursor: pointer;
}
.daba-geoloc-bouton::before { content: ''; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-cible) center / contain no-repeat; mask: var(--i-cible) center / contain no-repeat; }
.daba-geoloc-bouton.charge { opacity: .7; pointer-events: none; }
.daba-geoloc-bouton.charge::before { animation: tourne 1.2s linear infinite; }
.daba-geoloc-aide { margin-top: 10px; font-size: 11px; line-height: 1.5; color: var(--doux); }
.daba-geoloc-carte { position: relative; z-index: 0; height: 240px; margin-top: 14px; border-radius: 18px; overflow: hidden; border: 1.5px solid rgba(255, 255, 255, .14); background: var(--nuit-3); }
.daba-geoloc-carte.leaflet-container { font-family: var(--police); background: var(--nuit-3); }
.daba-geoloc-carte .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.88) saturate(.45); }
.daba-geoloc-carte .leaflet-control-attribution { background: rgba(20, 15, 20, .75); color: rgba(255, 255, 255, .55); font-size: 9px; }
.daba-geoloc-carte .leaflet-control-attribution a { color: rgba(255, 255, 255, .8); }
.daba-geoloc-carte .leaflet-bar { border: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); }
.daba-geoloc-carte .leaflet-bar a { width: 34px; height: 34px; line-height: 34px; background: var(--nuit-2); color: var(--blanc); border-color: var(--ligne); }
.daba-geoloc-repere { background: none; border: 0; }
.daba-geoloc-repere svg { display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .7)); }
.daba-geoloc-statut { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; line-height: 1.4; color: var(--doux); }
.daba-geoloc-statut::before { content: ''; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i-lieu) center / contain no-repeat; mask: var(--i-lieu) center / contain no-repeat; }
.daba-geoloc-statut.ok { color: var(--blanc); }
.daba-geoloc-statut.ok::before { background: #FFB23A; -webkit-mask-image: var(--i-check); mask-image: var(--i-check); }
.daba-geoloc-statut.hors { color: #FF6B7D; }
.daba-geoloc-wa { margin-top: 4px; font-size: 11px; color: var(--doux); }
.daba-geoloc-wa a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }

/* Récapitulatif, livraison, paiement */
#order_review_heading { margin: 0; padding: 0 2px; }
.woocommerce-checkout-review-order { display: grid; gap: 4px; }
.shop_table.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 10px 0; border: 0; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; font-weight: 400; }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; font-weight: 700; white-space: nowrap; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 800; color: #FF6150; }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { padding-top: 16px; border-bottom: 0; font-size: 15px; font-weight: 800; text-transform: uppercase; }
.woocommerce-checkout-review-order-table .order-total td { font-size: 22px; text-transform: none; }
#shipping_method { margin: 0; padding: 0; list-style: none; text-align: right; }
#shipping_method li { margin: 0; font-weight: 700; }
#shipping_method input { accent-color: #FF6150; }
.woocommerce-shipping-totals th { font-weight: 600 !important; }
#payment { margin-top: 10px; }
#payment .wc_payment_methods { margin: 0; padding: 0; list-style: none; }
#payment .wc_payment_method { padding: 16px; border-radius: 16px; border: 1.5px solid #FF6150; background: rgba(255, 97, 80, .08); }
#payment .wc_payment_method > input { accent-color: #FF6150; margin-right: 8px; }
#payment .wc_payment_method > label { font-size: 13px; font-weight: 700; }
#payment .payment_box { margin-top: 8px; font-size: 11px; line-height: 1.5; color: var(--doux); }
#payment .payment_box p { margin: 0; }
#payment .place-order { display: grid; gap: 12px; margin-top: 16px; }
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 11px; line-height: 1.5; color: var(--doux); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-wrapper a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
#place_order {
  width: 100%; height: 62px; border: 0; border-radius: 999px; background: var(--grad-nuit); color: var(--nuit); box-shadow: 0 10px 30px -10px rgba(255, 77, 58, .7);
  font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; cursor: pointer;
}
.woocommerce-form-coupon-toggle, .checkout_coupon { display: none !important; }

/* Notifications WooCommerce */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px !important; padding: 14px 16px !important; list-style: none;
  border: 1px solid var(--ligne) !important; border-radius: 16px !important; background: var(--nuit-2) !important; color: var(--blanc) !important; font-size: 13px;
}
.woocommerce-error, .wc-block-components-notice-banner.is-error { border-color: rgba(232, 38, 63, .6) !important; background: rgba(232, 38, 63, .1) !important; }
.wc-block-components-notice-banner > svg { fill: #FF6150 !important; background: none !important; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; color: #FF6150; font-weight: 700; text-decoration: underline; background: none; border: 0; }

/* =====================================================================
   14. Mon compte
   ===================================================================== */
.compte-zone { padding: 8px 0 88px; }
.compte-zone .woocommerce > h2 { margin-bottom: 14px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
#customer_login { display: grid; gap: 14px; }
#customer_login .u-column1, #customer_login .u-column2 { width: auto; float: none; padding: 24px 20px; border-radius: var(--r-xl); background: var(--nuit-2); border: 1px solid var(--ligne); }
#customer_login .u-column2 { background: transparent; }
#customer_login h2 { font-size: 18px; font-weight: 800; text-transform: uppercase; }
.woocommerce-form-login .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--doux); }
.woocommerce-form-login__submit, .woocommerce-form-register__submit, .woocommerce-Button, .woocommerce-account .button {
  width: 100%; height: 56px; margin-top: 16px; border: 0; border-radius: 999px; background: var(--grad-nuit); color: var(--nuit);
  font: inherit; font-size: 14px; font-weight: 700; text-transform: uppercase; cursor: pointer;
}
.woocommerce-form-register__submit { background: transparent; border: 2px solid rgba(255, 255, 255, .25); color: var(--blanc); }
.woocommerce-LostPassword a, .lost_password a { font-size: 12px; color: var(--doux); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-privacy-policy-text p { margin: 12px 0 0; }
.woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 20px; padding: 0; list-style: none; scrollbar-width: none; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--nuit-2); border: 1px solid var(--ligne); font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; color: var(--doux); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--blanc); color: var(--nuit); }
.woocommerce-MyAccount-content { font-size: 13px; color: var(--doux); }
.woocommerce-MyAccount-content a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-orders-table, .woocommerce-table--order-details { width: 100%; border-collapse: collapse; font-size: 12px; }
.woocommerce-orders-table th, .woocommerce-orders-table td, .woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 10px 6px; border-bottom: 1px solid var(--ligne); text-align: left; }

/* Confirmation de commande */
.merci-zone { padding: 10px 0 88px; }
.merci-zone .wc-block-order-confirmation-status p { color: var(--doux); }
.wc-block-order-confirmation-summary-list { display: grid; gap: 10px; margin: 20px 0; padding: 18px; border-radius: var(--r-l); background: var(--nuit-2); border: 1px solid var(--ligne); list-style: none; }
.wc-block-order-confirmation-summary-list-item__key { color: var(--doux); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.wc-block-order-confirmation-summary-list-item__value { font-weight: 700; }
.merci-zone h2, .merci-zone h3 { margin-top: 24px; font-size: 16px; font-weight: 800; text-transform: uppercase; }
.merci-zone table { width: 100%; border-collapse: collapse; font-size: 13px; }
.merci-zone td, .merci-zone th { padding: 10px 0; border-bottom: 1px solid var(--ligne); text-align: left; }
.merci-zone address { font-style: normal; color: var(--doux); }
.daba-merci-position { margin-top: 20px; padding: 18px; border-radius: var(--r-l); background: var(--nuit-2); border: 1px solid var(--ligne); font-size: 13px; }
.daba-merci-position a.bouton-plein-lien { margin-top: 12px; height: 52px; padding: 0 22px; }

/* =====================================================================
   15. Pages d'information, FAQ, contact, textes
   ===================================================================== */
.infos-zone { padding: 8px 0 64px; }
.infos-grille { display: grid; gap: 12px; }
.info { padding: 22px 20px 24px; border-radius: var(--r-l); background: var(--nuit-2); border: 1px solid var(--ligne); }
.info::before { content: ''; display: block; width: 28px; height: 28px; background: var(--accent); -webkit-mask: var(--icone, var(--i-lieu)) center / contain no-repeat; mask: var(--icone, var(--i-lieu)) center / contain no-repeat; }
.info.i-horloge { --icone: var(--i-horloge); }
.info.i-scooter { --icone: var(--i-scooter); }
.info.i-billet { --icone: var(--i-billet); }
.info.i-sac { --icone: var(--i-sac); }
.info h2 { margin-top: 16px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.info p { margin-top: 8px; font-size: 13px; color: var(--doux); }
.info a, .chapo-page a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
.faq-zone { padding: 26px 0 88px; }
.faq-grille { display: grid; gap: 30px; }
.faq-tete .wp-block-buttons { margin-top: 22px; }
.contact-zone { padding: 8px 0 88px; }
.contact-grille { display: grid; gap: 14px; }
.carte-wa-grande .wp-block-buttons { margin-top: 20px; }
.texte-zone { padding: 10px 0 88px; }
.prose { max-width: 760px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .8); }
.prose h2 { margin: 38px 0 12px; font-size: 16px; font-weight: 800; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; color: var(--blanc); }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; margin: 12px 0; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-nuit); }
.prose a { color: var(--blanc); text-decoration: underline; text-underline-offset: 3px; }
.prose mark { padding: 0 4px; border-radius: 4px; background: rgba(255, 178, 58, .18); color: #FFC66E; }
.prose-alerte { padding: 14px 16px; border-radius: 14px; border: 1px dashed rgba(255, 178, 58, .5); font-size: 12px; color: #FFC66E; }

/* 404 : le O-lune du logo en zéro */
.zone-404 { padding: 48px 0 110px; }
.code-404 { --t-404: clamp(110px, 34vw, 300px); display: flex; align-items: center; gap: .04em; width: fit-content; font-size: var(--t-404); font-weight: 800; line-height: .9; letter-spacing: -.03em; background: var(--grad-nuit); -webkit-background-clip: text; background-clip: text; color: transparent; }
.code-404 code { display: inline-block; overflow: hidden; width: calc(var(--t-404) * .76); height: calc(var(--t-404) * .76); font-size: 0; background: url(assets/img/anneau.svg) center / contain no-repeat; filter: drop-shadow(0 0 40px rgba(255, 77, 58, .5)); }
.zone-404 .titre-page { margin-top: 26px !important; }

/* =====================================================================
   16. Pied de page
   ===================================================================== */
.pied { padding: 56px 0 96px; background: #0D090D; border-top: 1px solid var(--ligne); }
.pied-haut { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
.pied-marque { grid-column: 1 / -1; }
.pied-marque .custom-logo, .pied-marque img { width: auto !important; height: 70px !important; }
.pied-marque p { margin-top: 18px; max-width: 26em; font-size: 12px; color: var(--doux); }
.pied-col h3 { margin-bottom: 14px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.pied-col li + li { margin-top: 9px; }
.pied-col a { font-size: 12px; color: var(--doux); }
.pied-col a:hover { color: var(--blanc); }
.pied-horaires { font-size: 22px; font-weight: 800; line-height: 1.1; }
.pied-horaires strong { display: block; font-weight: 800; }
.pied-horaires span, .pied-horaires em { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; font-style: normal; color: var(--doux); }
.pied-wa { margin-top: 16px; }
.pied-wa a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--blanc); }
.pied-wa a::before { content: ''; width: 18px; height: 18px; background: var(--accent); -webkit-mask: var(--i-whatsapp) center / contain no-repeat; mask: var(--i-whatsapp) center / contain no-repeat; }
.pied-bas { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ligne); font-size: 11px; color: rgba(255, 255, 255, .45); }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* WhatsApp toujours visible + toast d'ajout au panier */
.wa-flottant { position: fixed; right: 16px; bottom: 16px; z-index: 30; }
.wa-flottant a { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--grad-nuit); color: var(--nuit); box-shadow: 0 14px 30px -8px rgba(255, 77, 58, .75); font-size: 0; }
.wa-flottant a::before { content: ''; width: 28px; height: 28px; background: currentColor; -webkit-mask: var(--i-whatsapp) center / contain no-repeat; mask: var(--i-whatsapp) center / contain no-repeat; }
.daba-toast {
  position: fixed; left: 16px; right: 88px; bottom: 20px; z-index: 50; padding: 14px 16px; border-radius: var(--r-m); background: var(--blanc); color: var(--nuit);
  font-size: 12px; font-weight: 600; line-height: 1.4; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
  transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s, visibility 0s .35s;
}
.daba-toast.visible { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.daba-toast b { font-weight: 800; }
.daba-toast .barre { display: block; height: 5px; margin-top: 9px; border-radius: 9px; background: #EEE6EC; overflow: hidden; }
.daba-toast .barre i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width .5s ease; }

/* =====================================================================
   17. Tablette
   ===================================================================== */
@media (min-width: 700px) {
  body { font-size: 15px; }
  .tiroir-nav .wp-block-navigation__responsive-container-open::after { display: inline; }
  .entete-compte { display: block !important; }
  .entete-logo img, .entete-logo .custom-logo { height: 52px !important; }
  .tete-section { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
  .grille-rayons { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .rayon-promo { grid-column: span 2; }
  .produits .wc-block-product-template { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-auto-columns: auto; overflow: visible; margin: 0 !important; padding: 0 !important; gap: 14px !important; }
  .grille-produits .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
  .chiffres { grid-template-columns: repeat(4, 1fr); }
  .chiffre, .chiffre:nth-child(even) { padding: 26px 18px 28px; border-left: 1px solid var(--ligne); }
  .chiffre:first-child { padding-left: 0; border-left: 0; }
  .chiffre-val { font-size: min(4.6vw, 60px); }
  .pied-haut { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .pied-marque { grid-column: auto; }
  .pied-bas { flex-direction: row; justify-content: space-between; }
  .carte-wa { padding: 56px 48px; }
  .carte-wa .wp-block-button, .carte-wa .wp-block-button .wp-block-button__link { width: auto; }
  .daba-toast { left: auto; right: 92px; width: 360px; }
  .tete-page::before { width: 320px; height: 320px; right: -110px; top: -120px; }
  .medaillon { width: 180px; }
  #customer_login, .compte-grille { grid-template-columns: 1fr 1fr; }
  .infos-grille { grid-template-columns: 1fr 1fr; gap: 14px; }
  .infos-grille-compacte { grid-template-columns: repeat(3, 1fr); }
  .tete-promo-pct { font-size: 220px; bottom: -60px; }
}

/* =====================================================================
   18. Bureau
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --t-heros: clamp(56px, 6vw, 90px); }
  .heros { padding-top: 22px; }
  .heros-int { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: auto 1fr; column-gap: 40px; }
  .recherche { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 560px; }
  .heros-texte { padding: 70px 0 60px; }
  .heros-chapo { font-size: 16px; }
  .heros-actions .bouton-plein { flex: 0 0 auto; }
  .heros-actions .bouton-plein .wp-block-button__link { width: auto; }
  /* repère bureau : centre 300,300 ; rayon 250 ; boîte 600 × 620 */
  .heros-objet { justify-self: end; width: 600px; height: 620px; margin: 20px 0 0; }
  .heros-objet::after { left: 50px; top: 50px; width: 500px; height: 500px; }
  .heros-objet::before { left: 100px; top: 100px; width: 400px; height: 400px; }
  .heros-objet .orbite { border-width: 7px; }
  .heros-objet .orbite-1 { width: 210px; height: 210px; left: -10px; top: 52px; }
  .heros-objet .orbite-2 { width: 170px; height: 170px; left: 309px; top: 447px; }
  .heros-objet .orbite-3 { width: 130px; height: 130px; left: 432px; top: 81px; }
  .pastille { width: 140px; height: 140px; left: 25px; top: 373px; font-size: 11px; }
  .pastille strong { font-size: 19px; }
  .atouts li { flex-direction: row; align-items: center; gap: 14px; padding: 26px 20px 28px 0; font-size: 13px; }
  .atouts li + li { padding-left: 24px; }
  .atouts li::before { width: 26px; height: 26px; }
  .atouts strong { font-size: 15px; }

  .rayons { padding: 110px 0 40px; }
  .rayon { padding: 22px; }
  .rayon-nom { font-size: 17px; }
  .rayon-promo { padding: 28px; }
  .rayon-promo .rayon-nom { font-size: 38px; }
  .rayon-promo-pct { top: 0; right: 30px; font-size: 150px; }
  .rayon-promo::after { width: 300px; height: 300px; right: -70px; bottom: -130px; }
  .tete-section { margin-bottom: 36px; }

  .vitrine { padding: 90px 0 120px; }
  .wc-block-product-template .wc-block-product { padding: 10px; }
  .wc-block-product .wp-block-post-title { font-size: 13px !important; }
  .wc-block-product .wc-block-components-product-price { font-size: 16px !important; }
  .wc-block-product .wc-block-components-product-button__button { width: 46px; height: 46px; }
  .grille-produits .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

  .etapes { margin-top: 170px; padding: 110px 0; }
  .etapes-int { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 70px; }
  .etapes-photo { width: 100%; margin: -210px 0 0 !important; }
  .etapes .titre-section { margin-bottom: 44px; }
  .escalier { gap: 16px; }
  .marche { max-width: 78%; padding: 24px 28px 26px; gap: 24px; }
  .marche.m1 { margin-left: 10%; }
  .marche.m2 { margin-left: 22%; }
  .marche-num { font-size: 64px; }
  .marche h3 { font-size: 18px; }
  .marche p:not(.marche-num) { font-size: 13px; }
  .etapes-simple { margin-top: 0; padding: 100px 0; }
  .etapes-simple .etapes-int { grid-template-columns: 1fr; }
  .etapes-simple .etapes-texte { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 60px; }
  .etapes-simple .titre-section { margin: 0; }

  .regles { padding: 120px 0 60px; }
  .chiffre-label { font-size: 13px; }
  .contact-wa { padding: 60px 0 120px; }
  .carte-wa::before { width: 460px; height: 460px; right: -110px; top: -150px; }
  .carte-wa > p:not(.sur-titre):not(.carte-wa-numero) { font-size: 15px; }
  .pied { padding: 80px 0 40px; }
  .pied-marque .custom-logo, .pied-marque img { height: 90px !important; }

  .tete-page { padding: 44px 0 50px; }
  .tete-compacte { padding-bottom: 30px; }
  .tete-page::before { width: 440px; height: 440px; right: -120px; top: -190px; }
  .chapo-page, .tete-page .wp-block-term-description { font-size: 16px; }
  .tete-categorie .titre-page { font-size: clamp(60px, 7vw, 104px); }
  .medaillon { width: 300px; margin: -24px 0 -30px; }
  .tete-promo { padding: 44px 0 60px; }
  .tete-promo-pct { right: 30px; bottom: -80px; font-size: 320px; }
  .tete-promo::after { width: 540px; height: 540px; right: -150px; bottom: -280px; }

  .fiche-zone { padding: 34px 0 90px; }
  .fiche { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; margin-top: 26px; }
  .fiche-galerie { position: sticky; top: 100px; }
  .fiche-prix .wc-block-components-product-price { font-size: 32px !important; }

  .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .wc-block-cart__sidebar { position: sticky; top: 100px; padding: 28px !important; }
  .wc-block-cart-items__row { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; }
  .wc-block-cart-item__image img { width: 96px !important; }

  .woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
  .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
  .woocommerce-checkout #order_review_heading { grid-column: 2; }
  .woocommerce-checkout #order_review { grid-column: 2; position: sticky; top: 100px; }
  .woocommerce-billing-fields, .woocommerce-additional-fields, .daba-geoloc-bloc, .woocommerce-checkout-review-order { padding: 28px 28px 30px; }
  .daba-geoloc-carte { height: 300px; }

  .faq-grille { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
  .faq-tete { position: sticky; top: 110px; }
  .faq-tete .titre-page { font-size: clamp(40px, 4vw, 60px); }
  .contact-grille { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
  .infos-grille-compacte { grid-template-columns: 1fr; }
  .prose { font-size: 15px; }
}
@media (min-width: 1240px) { .tete-promo-pct { opacity: 1; } }

/* =====================================================================
   19. Compléments
   ===================================================================== */
.prose code { padding: 0 4px; border-radius: 4px; background: rgba(255, 178, 58, .18); color: #FFC66E; font-family: inherit; font-size: inherit; }
.ariane { margin: 0; }
.ariane a { color: rgba(255, 255, 255, .5); }
/* Suggestions du bloc Panier et grille du panier vide */
.wp-block-woocommerce-cart .wc-block-product-template { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; margin: 0 !important; padding: 0 !important; }
.wp-block-woocommerce-cart .wp-block-woocommerce-product-collection > h2, .wp-block-woocommerce-cart .wp-block-heading { margin: 30px 0 14px !important; font-size: 18px !important; font-weight: 800; text-align: left !important; text-transform: uppercase; }
.wp-block-woocommerce-empty-cart-block .wp-block-separator { display: none; }
.wc-block-grid__products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.wc-block-grid__product { position: relative; margin: 0 !important; padding: 8px 8px 14px !important; border-radius: var(--r-l); background: var(--nuit-2); text-align: left !important; max-width: none !important; flex: none !important; }
.wc-block-grid__product-image img { border-radius: var(--r-m); aspect-ratio: 1; object-fit: cover; }
.wc-block-grid__product-title { margin: 10px 6px 0; font-size: 12px; font-weight: 500; }
.wc-block-grid__product-price { margin: 6px 6px 0; font-size: 14px; font-weight: 800; }
.wc-block-grid__product-add-to-cart .wp-block-button__link { height: 40px; margin: 10px 6px 0; padding: 0 16px; font-size: 11px; background: var(--grad-nuit); color: var(--nuit); }
@media (min-width: 700px) {
  .wp-block-woocommerce-cart .wc-block-product-template, .wc-block-grid__products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* =====================================================================
   20. Ajustements après recette sur le site
   ===================================================================== */
/* carte produit : le lien « Voir le panier » apparu après un ajout ne doit pas recouvrir la carte */
.wc-block-product .wp-block-woocommerce-product-button > span { display: none !important; }
/* bouton de fermeture des alertes : pas le style des gros boutons */
.wc-block-components-notice-banner .wc-block-components-button, .wc-block-components-notice-banner__dismiss {
  min-height: 0 !important; height: auto !important; margin-left: auto; padding: 4px !important; border: 0 !important;
  background: none !important; box-shadow: none !important; color: var(--doux) !important;
}
.wc-block-components-notice-banner__dismiss svg { fill: currentColor !important; width: 18px; height: 18px; }
/* commande : les grilles ne doivent pas déborder en mobile */
.woocommerce-checkout form.checkout > *, .woocommerce-checkout .col2-set > *, .woocommerce-billing-fields__field-wrapper > *, .woocommerce form .form-row { min-width: 0; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { min-width: 0; max-width: 100%; }
.shop_table.woocommerce-checkout-review-order-table { table-layout: fixed; }
.woocommerce-checkout-review-order-table tr > :first-child { width: 56%; }
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td { white-space: normal; }
/* ordre des coordonnées : prénom, nom, téléphone, e-mail */
#billing_first_name_field { order: 1; } #billing_last_name_field { order: 2; } #billing_phone_field { order: 3; } #billing_email_field { order: 4; }
#billing_country_field, #billing_state_field { order: 9; }
/* fiche produit : sélecteur de quantité et pastille promo (les feuilles WooCommerce sont plus spécifiques) */
.fiche-achat .quantity, .fiche-achat .wc-block-components-quantity-selector { background: var(--nuit-2) !important; border: 1px solid var(--ligne) !important; border-radius: 999px !important; box-shadow: none !important; }
.fiche-achat .wc-block-components-quantity-selector::after { display: none !important; }
.fiche-achat .wc-block-components-quantity-selector__input { width: 34px !important; height: 40px !important; border: 0 !important; background: none !important; color: var(--blanc) !important; font: inherit !important; font-size: 15px !important; font-weight: 800 !important; box-shadow: none !important; }
.fiche-achat .wc-block-components-quantity-selector__button { color: var(--blanc) !important; background: none !important; }
.fiche-galerie .onsale {
  position: absolute !important; top: 14px !important; left: 14px !important; right: auto !important; z-index: 3;
  min-width: 0 !important; min-height: 0 !important; height: 30px; margin: 0 !important; padding: 0 12px !important; border-radius: 999px !important;
  background: var(--accent) !important; color: var(--blanc) !important; font-size: 12px !important; font-weight: 800; line-height: 30px !important;
}
/* garanties : titre au-dessus du texte, icône à gauche */
.garanties li { position: relative; display: block; padding: 14px 0 14px 38px; }
.garanties li::before { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
/* fil d'Ariane WooCommerce */
.woocommerce-breadcrumb .ariane-sep { margin: 0 2px; }
/* porte 4 : atouts — icône, puis titre et texte (le texte est un nœud anonyme : grille plutôt que flex) */
.atouts li { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0; align-content: start; }
.atouts li::before { margin-bottom: 8px; }
/* porte 4 : cartes produits — la ligne prix réserve la hauteur du bouton, comme dans la maquette */
.wc-block-product .wp-block-woocommerce-product-price { display: flex; align-items: flex-end; min-height: 50px; }
.wc-block-product .wp-block-woocommerce-product-button { right: 8px; bottom: 8px; }
@media (min-width: 1024px) {
  .atouts li { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .atouts li::before { grid-row: 1 / span 2; margin: 0; }
  .wc-block-product .wp-block-woocommerce-product-price { min-height: 56px; }
  .wc-block-product .wp-block-woocommerce-product-button { right: 10px; bottom: 10px; }
}