/* ==========================================================================
   Menu téléphone (≤ 760 px) : bouton ☰ dans l'en-tête, panneau plein écran.
   Les liens sont repris automatiquement de la navigation du site (js/menu.js).
   ========================================================================== */
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  align-items: center; justify-content: center; flex: none; }
.menu-btn span { position: relative; display: block; width: 16px; height: 1.5px; background: currentColor; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease, ease); }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 79; background: var(--espresso, #6e5646); color: var(--bone, #f8f4ef);
  padding: calc(84px + var(--announce-h, 0px)) var(--gutter, 20px) max(32px, env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-menu li { border-bottom: 1px solid color-mix(in srgb, var(--bone, #f8f4ef) 14%, transparent); }
.mobile-menu a, .mobile-menu .mm-action { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0;
  font-family: var(--display, sans-serif); font-weight: 700; font-size: clamp(24px, 7vw, 34px); letter-spacing: -0.02em; text-align: left; color: inherit; }
.mobile-menu a::after, .mobile-menu .mm-action::after { content: '→'; font-family: var(--sans, sans-serif); font-weight: 400; font-size: 20px; opacity: .6; }
.mobile-menu .mm-cta { display: flex; justify-content: center; font-size: 15px; padding: 0 26px; }
.mobile-menu .mm-cta::after { content: none; }
.mobile-menu .mm-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; opacity: .7; }
.mobile-menu .mm-foot a { display: inline; padding: 0; font-family: var(--sans, sans-serif); font-weight: 400; font-size: 13px; letter-spacing: 0; text-decoration: underline; text-underline-offset: 3px; }
.mobile-menu .mm-foot a::after { content: none; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--espresso, #6e5646); color: var(--bone, #f8f4ef); }
html body.menu-open .site-header .header-cta, html body.menu-open .site-header .brand, html body.menu-open .site-header .menu-btn { color: var(--bone, #f8f4ef); border-color: color-mix(in srgb, var(--bone, #f8f4ef) 35%, transparent); }
/* plus fort que la règle du thème « atnailz » (en-tête transparent) qui remet le logo en noir */
html body.menu-open .site-header.site-header .brand img { filter: invert(1) brightness(2); }

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
}
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: mm-in .4s var(--ease, ease) both; }
  .mobile-menu:not([hidden]) li { animation: mm-li .5s var(--ease, ease) both; animation-delay: calc(var(--i, 0) * 45ms + 80ms); }
  @keyframes mm-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
  @keyframes mm-li { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* boutons du haut (espace, wishlist, panier, menu) : verre teinté pour rester lisibles sur les photos (lune, etc.) */
.site-header { --hdr-glass: rgba(21, 17, 18, .6); }
html[data-season='atnailz'] .site-header:not(.is-solid) { --hdr-glass: rgba(244, 237, 227, .8); }
.site-header .header-cta:not(.is-logged), .site-header .menu-btn {
  background: var(--hdr-glass); border-color: color-mix(in srgb, currentColor 55%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .45);
}
.site-header .header-cta:not(.is-logged):hover { background: var(--bone, #f8f4ef); color: var(--ink, #2b211b); }
body.menu-open .site-header .header-cta:not(.is-logged), body.menu-open .site-header .menu-btn { background: rgba(244, 237, 227, .1); box-shadow: none; }

/* espace personnel : en tête du menu, mis en avant */
.mobile-menu li:has(.mm-account) { border-bottom: 0; margin-bottom: 6px; }
.mobile-menu .mm-action.mm-account { justify-content: flex-start; gap: 12px; padding: 14px 18px; border-radius: 16px; font-size: clamp(17px, 4.8vw, 20px); letter-spacing: 0;
  background: color-mix(in srgb, var(--bone, #f8f4ef) 10%, transparent); border: 1px solid color-mix(in srgb, var(--bone, #f8f4ef) 22%, transparent); }
.mobile-menu .mm-account::after { margin-left: auto; }
