/* PRATINIUM thème v1.7.702 — menu « trois barres » du header (coin droit).
 * Bouton : dans la barre du logo, collé au bord droit, centré verticalement, sur toutes les pages.
 * Panneau : rattaché à <body> par pratinium-burger-menu-v702.js, positionné sous le bouton.
 * Sélecteurs à identifiants doublés + !important : passent devant les nombreuses couches du header.
 */

/* ───────────────────────────── Bouton ───────────────────────────── */
html body #header #pf702-burger.pf702-burger {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 30 !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 38px !important;
  height: 34px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  outline: 0 !important;
  cursor: pointer !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, border-color .2s ease !important;
}
html body #header #pf702-burger.pf702-burger:hover,
html body #header #pf702-burger.pf702-burger[aria-expanded="true"] {
  background: rgba(236, 208, 140, .08) !important;
  border-color: rgba(236, 208, 140, .28) !important;
}
html body #header #pf702-burger.pf702-burger:focus-visible {
  border-color: rgba(236, 208, 140, .7) !important;
  box-shadow: 0 0 0 3px rgba(212, 171, 92, .25) !important;
}
html body #header #pf702-burger .pf702-burger__bar {
  display: block !important;
  width: 22px !important;
  height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 2px !important;
  background: linear-gradient(90deg, #ecd08c 0%, #d4ab5c 100%) !important;
  transform-origin: center !important;
  transition: transform .25s ease, opacity .2s ease !important;
}
/* bouton ouvert : croix */
html body #header #pf702-burger[aria-expanded="true"] .pf702-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
html body #header #pf702-burger[aria-expanded="true"] .pf702-burger__bar:nth-child(2) { opacity: 0 !important; }
html body #header #pf702-burger[aria-expanded="true"] .pf702-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }

@media (max-width: 575.98px) {
  html body #header #pf702-burger.pf702-burger { right: 8px !important; width: 34px !important; }
}

/* ───────────────────────────── Panneau ───────────────────────────── */
html body nav#pf702-menu.pf702-menu[hidden] { display: none !important; }

html body nav#pf702-menu.pf702-menu {
  position: fixed !important;
  top: 56px;
  right: 16px;
  left: auto !important;
  z-index: 2147483001 !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 300px !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100vh - 72px);
  margin: 0 !important;
  padding: 8px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, rgba(31, 29, 27, .97) 0%, rgba(22, 21, 20, .98) 100%) !important;
  border: 1px solid rgba(236, 208, 140, .22) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .35) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-family: Inter, Montserrat, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #ece3cf !important;
  text-align: left !important;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
html body nav#pf702-menu.pf702-menu.is-open { opacity: 1; transform: none; }

html body nav#pf702-menu .pf702-menu__group {
  display: block !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}
html body nav#pf702-menu .pf702-menu__group--last { border-bottom: 0 !important; }

html body nav#pf702-menu ul,
html body nav#pf702-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}
html body nav#pf702-menu li::before,
html body nav#pf702-menu li::marker { content: none !important; }

/* lignes principales */
html body nav#pf702-menu .pf702-menu__title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  color: #f3ead6 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  text-decoration: none !important;
  text-transform: none !important;
  background: transparent !important;
  transition: background-color .15s ease, color .15s ease !important;
}
html body nav#pf702-menu a.pf702-menu__title:hover,
html body nav#pf702-menu a.pf702-menu__title:focus-visible {
  background: rgba(236, 208, 140, .09) !important;
  color: #ecd08c !important;
  outline: 0 !important;
}
html body nav#pf702-menu .pf702-menu__title--static { cursor: default !important; }
html body nav#pf702-menu .pf702-menu__title--logout { color: #e9b8a8 !important; }
html body nav#pf702-menu .pf702-menu__title--logout:hover { color: #ffd2c4 !important; background: rgba(233, 120, 96, .10) !important; }

/* sous-liens de Mon compte */
html body nav#pf702-menu .pf702-menu__list {
  display: block !important;
  margin: 0 0 2px 23px !important;
  padding: 0 0 0 12px !important;
  border-left: 1px solid rgba(236, 208, 140, .18) !important;
}
html body nav#pf702-menu .pf702-menu__list--nested {
  margin: 0 0 2px 10px !important;
  border-left-color: rgba(236, 208, 140, .12) !important;
}
html body nav#pf702-menu .pf702-menu__link {
  display: block !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  color: #d9cfb8 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: background-color .15s ease, color .15s ease !important;
}
html body nav#pf702-menu .pf702-menu__list--nested .pf702-menu__link {
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .03em !important;
  text-transform: none !important;
}
html body nav#pf702-menu .pf702-menu__link:hover,
html body nav#pf702-menu .pf702-menu__link:focus-visible {
  background: rgba(236, 208, 140, .08) !important;
  color: #ecd08c !important;
  outline: 0 !important;
}
html body nav#pf702-menu .pf702-menu__sublabel {
  display: block !important;
  padding: 8px 10px 4px !important;
  color: #b9ab8c !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

/* pastille panier */
html body nav#pf702-menu .pf702-badge {
  display: none !important;
  margin-left: auto !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ecd08c, #d4ab5c) !important;
  color: #1a1918 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 22px !important;
  text-align: center !important;
}
html body nav#pf702-menu .pf702-badge.is-on { display: inline-block !important; }

/* devise */
html body nav#pf702-menu .pf702-currency {
  display: flex !important;
  gap: 6px !important;
  margin: 2px 12px 6px 47px !important;
  padding: 4px !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .03) !important;
}
html body nav#pf702-menu .pf702-currency__opt {
  flex: 1 1 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: #d9cfb8 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: background-color .15s ease, color .15s ease !important;
}
html body nav#pf702-menu .pf702-currency__opt:hover,
html body nav#pf702-menu .pf702-currency__opt:focus-visible {
  color: #ecd08c !important;
  background: rgba(236, 208, 140, .08) !important;
  outline: 0 !important;
}
html body nav#pf702-menu .pf702-currency__opt.is-current {
  color: #1a1918 !important;
  background: linear-gradient(180deg, #ecd08c, #d4ab5c) !important;
  cursor: default !important;
}
html body nav#pf702-menu .pf702-currency__opt.is-unavailable {
  opacity: .4 !important;
  pointer-events: none !important;
}

/* icônes (masques SVG, couleur or) */
html body nav#pf702-menu .pf702-ico {
  flex: 0 0 auto !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  background: #d4ab5c !important;
  -webkit-mask: var(--pf702-ico) center / contain no-repeat;
  mask: var(--pf702-ico) center / contain no-repeat;
}
html body nav#pf702-menu .pf702-menu__title--logout .pf702-ico { background: #e9b8a8 !important; }
.pf702-ico--account  { --pf702-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E"); }
.pf702-ico--cart     { --pf702-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.5L21 8H6.2'/%3E%3Ccircle cx='10' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E"); }
.pf702-ico--contact  { --pf702-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6.5 8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.pf702-ico--currency { --pf702-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h11l-3-3M17 17H6l3 3'/%3E%3C/svg%3E"); }
.pf702-ico--logout   { --pf702-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3'/%3E%3Cpath d='M10 17l-5-5 5-5M5 12h11'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  html body nav#pf702-menu.pf702-menu,
  html body #header #pf702-burger .pf702-burger__bar { transition: none !important; }
}

/* ─────────── v1.7.704 — pastille panier sur le bouton trois barres ─────────── */
html body #header #pf702-burger .pf704-burger-badge {
  display: none !important;
  position: absolute !important;
  top: -6px !important;
  right: -7px !important;
  z-index: 2 !important;
  box-sizing: border-box !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 5px !important;
  border: 2px solid #1c1a19 !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #f3d995 0%, #d4ab5c 100%) !important;
  color: #1a1918 !important;
  font: 700 10px/14px Inter, Montserrat, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  pointer-events: none !important;
}
html body #header #pf702-burger .pf704-burger-badge.is-on {
  display: inline-block !important;
  animation: pf704-badge-pulse 2.4s ease-out infinite !important;
}
/* lueur sur les barres quand le panier n'est pas vide */
html body #header #pf702-burger.pf704-has-cart:not([aria-expanded="true"]) {
  border-color: rgba(236, 208, 140, .35) !important;
  background: rgba(236, 208, 140, .06) !important;
}
/* animation relancée quand un article est ajouté */
html body #header #pf702-burger .pf704-burger-badge.is-bump {
  animation: pf704-badge-bump .5s cubic-bezier(.3, 1.6, .5, 1) 1, pf704-badge-pulse 2.4s ease-out .5s infinite !important;
}
/* menu ouvert : la pastille s'efface (le détail est dans le panneau) */
html body #header #pf702-burger[aria-expanded="true"] .pf704-burger-badge { display: none !important; }

@keyframes pf704-badge-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(236, 208, 140, .65); }
  70%  { box-shadow: 0 0 0 9px rgba(236, 208, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 208, 140, 0); }
}
@keyframes pf704-badge-bump {
  0% { transform: scale(.4); } 100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  html body #header #pf702-burger .pf704-burger-badge.is-on,
  html body #header #pf702-burger .pf704-burger-badge.is-bump { animation: none !important; }
}

/* ─────────── v1.7.705 — bouton cliquable sur mobile ───────────
 * Sur mobile, d'anciennes règles (custom-mobile-header-menu-v46.css…) placent la ligne du logo
 * .pf-header-row-global en z-index 1000 sur toute la largeur : elle recouvrait le bouton (z-index 30).
 * Le bouton passe au-dessus de tout ce qui partage la barre du header.
 */
html body #header#header #pf702-burger.pf702-burger {
  z-index: 2147483000 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}
html body #header#header #pf702-burger.pf702-burger * { pointer-events: none !important; }
