/* =====================================================================
   AEY Mobile — Mobile Components Layer · v2 · 2026-05-22
   Composants spécifiques smartphone (extraits des designs K).
   Dépend de aey-tokens.css.
   ===================================================================== */

/* ---------- 1 · Burger button ---------- */
.aey-burger { width:36px; height:36px; border-radius:var(--r-pill); background:var(--surface-elev); border:1px solid var(--border-dark); display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:background var(--t-fast) var(--ease); flex-shrink:0; }
.aey-burger:hover { background:var(--border-dark); }
.aey-burger svg { width:16px; height:16px; }

/* ---------- 2 · Bottom tabbar ---------- */
.aey-tabbar { position:fixed; bottom:14px; left:14px; right:14px; z-index:var(--z-sticky); background:rgba(20,20,28,0.90); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); border:1px solid var(--border-dark); border-radius:var(--r-pill); padding:5px; display:flex; justify-content:space-around; box-shadow:var(--shadow-lg); bottom:max(14px, env(safe-area-inset-bottom)); }
.aey-tabbar__item { flex:1; padding:9px 4px; border-radius:var(--r-pill); text-align:center; font-size:11px; font-weight:600; color:var(--paper-2); background:transparent; transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); text-decoration:none; display:inline-flex; align-items:center; justify-content:center; gap:5px; line-height:1; }
.aey-tabbar__item:hover { color:var(--paper); }
.aey-tabbar__item.is-active { background:var(--mint); color:#fff; }
.aey-has-tabbar { padding-bottom:96px; }

/* ---------- 3 · Mini stat ---------- */
.aey-mstat { background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-sm); padding:10px 12px; }
.aey-mstat__n { font-family:var(--font-display); font-size:19px; font-weight:700; letter-spacing:-0.03em; color:var(--paper); line-height:1.1; }
.aey-mstat__l { font-size:10px; color:var(--paper-3); text-transform:uppercase; letter-spacing:0.4px; margin-top:1px; }
.aey-mstat-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.aey-mstat-grid--2 { grid-template-columns:1fr 1fr; }
.aey-mstat-grid--4 { grid-template-columns:repeat(4, 1fr); }

/* ---------- 4 · Country photo ---------- */
.aey-country-photo { position:relative; border-radius:var(--r-md); overflow:hidden; background-color:var(--surface-elev); background-size:cover; background-position:center; }
.aey-country-photo > img { width:100%; height:100%; object-fit:cover; display:block; }
.aey-country-photo--rounded-none { border-radius:0; }
.aey-country-photo--rounded-sm { border-radius:var(--r-sm); }
.aey-country-photo--rounded-lg { border-radius:var(--r-lg); }
.aey-country-photo__gradient { position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(10,10,15,0.85) 100%); pointer-events:none; }
.aey-country-photo__chip { position:absolute; top:14px; left:14px; background:rgba(255,255,255,0.18); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); padding:5px 11px; border-radius:var(--r-pill); font-size:11px; color:#fff; display:inline-flex; align-items:center; gap:6px; }
.aey-country-photo__caption { position:absolute; bottom:18px; left:18px; right:18px; color:#fff; }
.aey-country-photo__caption h1 { font-family:var(--font-display); font-size:34px; font-weight:700; letter-spacing:-0.045em; line-height:0.98; color:#fff; margin:0; }
.aey-country-photo__caption .accent { color:var(--mint); }

/* ---------- 5 · Mini destination card ---------- */
.aey-mini-dest { background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-md); overflow:hidden; text-decoration:none; color:inherit; display:block; transition:transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.aey-mini-dest:hover { transform:translateY(-2px); border-color:rgba(10,123,255,0.4); }
.aey-mini-dest__photo { width:100%; height:80px; background-color:var(--surface-elev); background-size:cover; background-position:center; position:relative; }
.aey-mini-dest__body { padding:10px; }
.aey-mini-dest__name { font-size:13px; font-weight:600; color:var(--paper); }
.aey-mini-dest__row { display:flex; justify-content:space-between; align-items:center; margin-top:4px; }
.aey-mini-dest__price { font-size:11px; color:var(--paper-3); }
.aey-mini-dest__price strong { color:var(--paper); font-weight:600; }
.aey-mini-dest__plus { width:22px; height:22px; border-radius:var(--r-pill); background:var(--mint); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; line-height:1; }

/* ---------- 6 · Mascot block ---------- */
.aey-mascot-block { position:relative; background:linear-gradient(135deg, rgba(10,123,255,0.18) 0%, rgba(10,123,255,0.04) 100%); border:1px solid rgba(10,123,255,0.3); border-radius:var(--r-md); padding:18px 18px 18px 110px; min-height:110px; overflow:hidden; }
.aey-mascot-block__img { position:absolute; left:-4px; top:50%; transform:translateY(-50%) rotate(-6deg); width:100px; height:auto; filter:drop-shadow(0 8px 14px rgba(10,123,255,0.35)); pointer-events:none; }
.aey-mascot-block__title { font-family:var(--font-display); font-size:16px; font-weight:700; letter-spacing:-0.02em; color:var(--paper); margin:0; }
.aey-mascot-block__sub { font-size:11px; color:var(--paper-2); margin-top:4px; line-height:1.4; }
.aey-mascot-block--sm { padding:14px 14px 14px 96px; min-height:92px; }
.aey-mascot-block--sm .aey-mascot-block__img { width:90px; left:-8px; }
.aey-mascot-block--sm .aey-mascot-block__title { font-size:13px; }
.aey-mascot-block--solid { background:linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%); border-color:transparent; color:#fff; }
.aey-mascot-block--solid .aey-mascot-block__title, .aey-mascot-block--solid .aey-mascot-block__sub { color:#fff; }
.aey-mascot-block--solid .aey-mascot-block__img { filter:drop-shadow(0 6px 12px rgba(0,0,0,0.3)); }

/* ---------- 7 · Step card ---------- */
.aey-step-card { background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-sm); padding:12px 14px; display:flex; align-items:center; gap:12px; }
.aey-step-card__num { width:28px; height:28px; border-radius:var(--r-pill); background:var(--mint); color:#fff; font-family:var(--font-mono); font-size:12px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.aey-step-card__title { font-size:13px; font-weight:600; color:var(--paper); }
.aey-step-card__desc { font-size:11px; color:var(--paper-2); margin-top:2px; line-height:1.4; }
.aey-step-card--big { border-radius:var(--r-md); padding:14px 16px; gap:14px; }
.aey-step-card--big .aey-step-card__num { width:auto; height:auto; background:transparent; font-family:var(--font-display); font-size:36px; font-weight:700; letter-spacing:-0.04em; color:var(--paper); opacity:0.85; }
.aey-step-card--big .aey-step-card__title { font-size:14px; font-family:var(--font-display); }
.aey-step-card--mint { background:var(--mint); border-color:transparent; color:#fff; }
.aey-step-card--mint .aey-step-card__title, .aey-step-card--mint .aey-step-card__num { color:#fff; }
.aey-step-card--mint .aey-step-card__desc { color:rgba(255,255,255,0.9); }

/* ---------- 8 · Trust mini + strip ---------- */
.aey-trust-mini { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--paper); }
.aey-trust-mini__icon { width:16px; height:16px; border-radius:var(--r-pill); background:var(--mint); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; flex-shrink:0; }
.aey-trust-strip { background:linear-gradient(135deg, rgba(10,123,255,0.18) 0%, rgba(10,123,255,0.04) 100%); border:1px solid rgba(10,123,255,0.3); border-radius:var(--r-md); padding:14px 16px; }
.aey-trust-strip__grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }

/* ---------- 9 · Progress bar ---------- */
.aey-progress { height:6px; border-radius:var(--r-pill); background:rgba(255,255,255,0.08); overflow:hidden; }
.aey-progress--sm { height:4px; }
.aey-progress__fill { height:100%; background:var(--mint); border-radius:var(--r-pill); transition:width var(--t-slow) var(--ease); }

/* ---------- 10 · Account KPI ---------- */
.aey-acc-kpi { background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-sm); padding:10px 12px; }
.aey-acc-kpi__k { font-family:var(--font-mono); font-size:9px; font-weight:500; text-transform:uppercase; letter-spacing:0.12em; color:var(--paper-3); }
.aey-acc-kpi__v { font-family:var(--font-display); font-size:18px; font-weight:700; letter-spacing:-0.03em; color:var(--paper); margin-top:2px; }
.aey-acc-kpi__sub { font-size:9px; color:var(--paper-3); margin-top:1px; }
.aey-acc-kpi--highlight { background:var(--mint); border-color:transparent; color:#fff; }
.aey-acc-kpi--highlight .aey-acc-kpi__k { color:rgba(255,255,255,0.75); }
.aey-acc-kpi--highlight .aey-acc-kpi__v { color:#fff; }
.aey-acc-kpi--highlight .aey-acc-kpi__sub { color:rgba(255,255,255,0.85); }

/* ---------- 11 · Account eSIM ---------- */
.aey-acc-esim { background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-sm); padding:10px 12px; }
.aey-acc-esim__head { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.aey-acc-esim__name { font-size:12px; font-weight:600; flex:1; color:var(--paper); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.aey-acc-esim__name .meta { color:var(--paper-3); font-weight:400; }
.aey-acc-esim__exp { font-size:10px; color:var(--mint); font-weight:600; flex-shrink:0; }

/* ---------- 12 · Action pill ---------- */
.aey-action-pill { flex:1; background:rgba(255,255,255,0.06); border:1px solid var(--border-dark); border-radius:var(--r-sm); padding:10px 8px; font-size:12px; font-weight:600; color:var(--paper); display:inline-flex; align-items:center; justify-content:center; gap:6px; text-decoration:none; transition:background var(--t-fast) var(--ease); }
.aey-action-pill:hover { background:rgba(255,255,255,0.1); }
.aey-action-pill__icon { color:var(--mint); font-size:14px; font-weight:700; line-height:1; }

/* ---------- 13 · Tile ---------- */
.aey-tile { background:var(--surface-dark); color:var(--paper); border:1px solid var(--border-dark); border-radius:var(--r-md); padding:14px; display:flex; flex-direction:column; justify-content:space-between; min-height:90px; text-decoration:none; transition:transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.aey-tile:hover { transform:translateY(-2px); border-color:rgba(10,123,255,0.4); }
.aey-tile--mint { background:var(--mint); color:#fff; border-color:transparent; }
.aey-tile__title { font-family:var(--font-display); font-size:17px; font-weight:700; letter-spacing:-0.02em; }
.aey-tile__sub { font-size:12px; opacity:0.7; margin-top:2px; }
.aey-tile__arrow { width:18px; height:18px; opacity:0.8; }

/* ---------- 14 · Search pill ---------- */
.aey-search-pill { display:flex; align-items:center; gap:10px; background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-pill); padding:10px 14px; }
.aey-search-pill__icon { width:14px; height:14px; color:var(--paper-3); flex-shrink:0; }
.aey-search-pill input, .aey-search-pill__placeholder { flex:1; background:transparent; border:none; outline:none; font-size:12px; color:var(--paper); }
.aey-search-pill__placeholder { color:var(--paper-3); }
.aey-search-pill input::placeholder { color:var(--paper-3); }

/* ---------- 15 · Filter pills ---------- */
.aey-filter-pills { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.aey-filter-pills::-webkit-scrollbar { display:none; }
.aey-filter-pill { padding:7px 12px; border-radius:var(--r-pill); font-size:12px; font-weight:500; white-space:nowrap; background:transparent; color:var(--paper-2); border:1px solid var(--border-dark); cursor:pointer; transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); text-decoration:none; }
.aey-filter-pill:hover { color:var(--paper); }
.aey-filter-pill.is-active { background:var(--paper); color:var(--ink); border-color:transparent; }

/* ---------- 16 · Featured tile ---------- */
.aey-featured-tile { background:linear-gradient(135deg, var(--mint) 0%, var(--mint-deep) 100%); color:#fff; border-radius:var(--r-md); padding:16px; display:flex; align-items:center; gap:14px; text-decoration:none; }
.aey-featured-tile__flag { font-size:34px; line-height:1; flex-shrink:0; }
.aey-featured-tile__body { flex:1; min-width:0; }
.aey-featured-tile__label { font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase; opacity:0.7; }
.aey-featured-tile__title { font-family:var(--font-display); font-size:18px; font-weight:700; letter-spacing:-0.02em; margin-top:2px; }
.aey-featured-tile__sub { font-size:11px; opacity:0.8; margin-top:1px; }

/* ---------- 17 · Cart bar ---------- */
.aey-cart-bar { position:fixed; bottom:calc(14px + 60px + max(0px, env(safe-area-inset-bottom))); left:14px; right:14px; background:var(--paper); color:var(--ink); border-radius:var(--r-pill); padding:8px 8px 8px 16px; display:flex; justify-content:space-between; align-items:center; box-shadow:var(--shadow-lg); z-index:calc(var(--z-sticky) - 1); }
.aey-cart-bar__count { font-family:var(--font-mono); font-size:10px; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-3); }
.aey-cart-bar__total { font-family:var(--font-display); font-size:18px; font-weight:700; letter-spacing:-0.02em; color:var(--ink); }

/* ---------- 18 · Section helpers ---------- */
.aey-m-section { padding:24px 14px 0; }
.aey-m-section--last { padding-bottom:80px; }
.aey-m-section__head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; }
.aey-m-section__head .label-mono { color:var(--paper-3); }
.aey-m-section__more { font-size:11px; color:var(--mint); text-decoration:none; }

/* ---------- 19 · Testimonial card ---------- */
.aey-testimonial { background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-md); padding:16px; }
.aey-testimonial__stars { display:flex; gap:2px; margin-bottom:8px; color:var(--mint); font-size:14px; }
.aey-testimonial__quote { font-size:13px; color:var(--paper); line-height:1.5; margin:0; font-weight:500; }
.aey-testimonial__author { margin-top:12px; display:flex; align-items:center; gap:10px; }
.aey-testimonial__avatar { width:32px; height:32px; border-radius:var(--r-sm); background:var(--surface-elev); display:inline-flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.aey-testimonial__name { font-size:12px; font-weight:600; color:var(--paper); }
.aey-testimonial__role { font-size:10px; color:var(--paper-3); margin-top:1px; }

/* ---------- 20 · Settings list ---------- */
.aey-settings-list { display:flex; flex-direction:column; gap:4px; }
.aey-settings-list__item { padding:12px 14px; background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-sm); display:flex; justify-content:space-between; align-items:center; text-decoration:none; }
.aey-settings-list__label { font-size:12px; font-weight:600; color:var(--paper); }
.aey-settings-list__label--danger { color:var(--signal-red); }
.aey-settings-list__sub { font-size:10px; color:var(--paper-3); margin-top:2px; }

/* ---------- 21 · Order row ---------- */
.aey-order-row { display:flex; align-items:center; gap:10px; padding:10px 12px; background:var(--surface-dark); border:1px solid var(--border-dark); border-radius:var(--r-sm); text-decoration:none; }
.aey-order-row__name { flex:1; min-width:0; }
.aey-order-row__title { font-size:12px; font-weight:600; color:var(--paper); }
.aey-order-row__id { font-family:var(--font-mono); font-size:9px; color:var(--paper-3); margin-top:1px; }
.aey-order-row__status { font-size:9px; font-weight:600; }
.aey-order-row__status--active { color:var(--mint); }
.aey-order-row__status--expired { color:var(--paper-3); }
.aey-order-row__price { font-size:12px; font-weight:600; color:var(--paper); }

/* ---------- 22 · Country chip + Donut ---------- */
.aey-country-chip { display:inline-flex; align-items:center; gap:6px; padding:4px 8px 4px 4px; border-radius:var(--r-pill); background:rgba(10,123,255,0.12); border:1px solid rgba(10,123,255,0.3); font-size:10px; color:var(--paper-2); }
.aey-donut { position:relative; width:220px; height:220px; margin:0 auto; }
.aey-donut__center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.aey-donut__num { font-family:var(--font-display); font-size:44px; font-weight:700; letter-spacing:-0.04em; line-height:1; margin-top:4px; }
.aey-donut__unit { font-size:12px; color:var(--paper-2); margin-top:2px; }

/* =====================================================================
   DESKTOP — masquage des éléments mobile-only au-delà de 1024px
   ===================================================================== */
@media (min-width: 1024px) {
  .aey-tabbar, .aey-burger, .aey-cart-bar { display:none !important; }
  .aey-has-tabbar { padding-bottom:0; }
}

/* =====================================================================
   AEY-MOBILE-V3-COMPONENTS · Home mobile layout + Drawer · 2026-05-22
   ===================================================================== */

/* ---------- 23 · Home mobile layout (aey-m-home) ---------- */
.aey-m-home {
  background: var(--bg-dark);
  color: var(--paper);
  /* aey-m-home masqué par défaut, affiché en mobile via override */
  display: none;
}
@media (max-width: 1023px) {
  .aey-m-home { display: block; }
}
.aey-m-home__hero {
  padding: 12px 14px 0;
}
.aey-m-home__hero-photo {
  height: 360px;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.aey-m-home__hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aey-m-home__hero-photo .aey-country-photo__caption h1 {
  font-size: clamp(28px, 8vw, 36px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.aey-m-home__lead {
  font-size: 13px;
  color: var(--paper-2);
  line-height: 1.5;
  margin: 14px 4px;
}
.aey-m-home__cta {
  width: 100%;
  margin-top: 4px;
  font-size: 14px;
}
.aey-m-home__stats {
  margin-top: 18px;
}
.aey-m-popular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.aey-m-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.aey-m-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(10, 123, 255, 0.3);
  display: inline-block;
}


/* ---------- 24 · Burger button (visible mobile only via .aey-burger rule existante) ---------- */
.aey-burger--header {
  margin-left: auto;
}


/* ---------- 25 · Drawer (menu latéral droite) ---------- */
.aey-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.aey-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.aey-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(82vw, 320px);
  background: var(--bg-dark);
  border-left: 1px solid var(--border-dark);
  z-index: calc(var(--z-modal) + 1);
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}
.aey-drawer.is-open {
  transform: translateX(0);
}
.aey-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.aey-drawer__close {
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: var(--surface-elev);
  border: 1px solid var(--border-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--paper);
  cursor: pointer;
  font-family: inherit;
}
.aey-drawer__close:hover {
  background: var(--border-dark);
}
.aey-drawer__section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--paper-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 16px 6px;
}
.aey-drawer__link {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background var(--t-fast) var(--ease);
}
.aey-drawer__link:hover {
  background: var(--surface-dark);
}
.aey-drawer__link__chev {
  color: var(--paper-3);
  font-size: 14px;
}
.aey-drawer__divider {
  height: 1px;
  background: var(--border-dark);
  margin: 10px 4px;
}
.aey-drawer__cta {
  margin-top: auto;
  padding-top: 14px;
}
.aey-drawer__cta .btn {
  width: 100%;
  justify-content: center;
}

/* Drawer masqué en desktop par défaut */
@media (min-width: 1024px) {
  .aey-drawer,
  .aey-drawer-overlay,
  .aey-burger--header {
    display: none !important;
  }
}


/* =====================================================================
   AEY-V3.1-TABBAR-CHAT · 2026-05-22
   Tabbar glassmorphism + slot Chat + masquage widget Maya en mobile
   ===================================================================== */
@media (max-width: 1023px) {
  /* Masquer le bouton flottant Maya (le slot Chat de la tabbar le remplace) */
  #mayaBtn,
  .maya-btn {
    display: none !important;
  }
}

/* Tabbar v3.1 : plus grande + glassmorphism transparent */
.aey-tabbar.aey-tabbar--chat {
  background: rgba(10, 10, 15, 0.55) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 6px calc(10px + env(safe-area-inset-bottom)) 6px;
  height: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 4px;
}
.aey-tabbar.aey-tabbar--chat .aey-tabbar__item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: var(--r-md, 12px);
  font-size: 11px;
  font-weight: 600;
  color: var(--paper-2);
  text-decoration: none;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.aey-tabbar.aey-tabbar--chat .aey-tabbar__item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  flex-shrink: 0;
}
.aey-tabbar.aey-tabbar--chat .aey-tabbar__item span {
  font-size: 10.5px;
  letter-spacing: 0.01em;
}
.aey-tabbar.aey-tabbar--chat .aey-tabbar__item:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}
.aey-tabbar.aey-tabbar--chat .aey-tabbar__item:active {
  transform: scale(0.94);
}
.aey-tabbar.aey-tabbar--chat .aey-tabbar__item.is-active {
  color: var(--mint, #0A7BFF);
  background: rgba(10, 123, 255, 0.12);
}
.aey-tabbar.aey-tabbar--chat .aey-tabbar__chat-trigger {
  /* Bouton spécifique : un peu mis en avant */
  position: relative;
}
/* END AEY-V3.1-TABBAR-CHAT */


/* ====================================================================
   AEY-MOBILE-V3-TABBAR-FIX · Hauteur stable au scroll iOS Safari
   Empêche la tabbar de s'agrandir quand Safari rétracte sa barre URL
   ==================================================================== */
.aey-tabbar {
  height: 64px !important;
  padding-bottom: 0 !important;
  box-sizing: border-box !important;
}
body {
  padding-bottom: 80px !important;
}


/* ====================================================================
   AEY-MOBILE-V4 · Store ergonomie · 2026-05-23
   - Product : tri 3 plans + bouton "Voir tous" + CTA sticky bottom mobile
   - Catalog : barre recherche sticky top + pills scrollables mobile
   ==================================================================== */

/* --- PRODUCT : zone "autres plans" cachée par défaut --- */
.product__plans-others {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-dark, rgba(255,255,255,0.1));
}
.product__plans-others[hidden] {
  display: none;
}

/* --- PRODUCT : vrai bouton "Voir tous les forfaits" (pas subtil) --- */
.product__see-all {
  width: 100%;
  margin-top: 14px;
  justify-content: center;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- PRODUCT MOBILE : CTA sticky bottom (style Apple Pay / Stripe Checkout) --- */
@media (max-width: 1023px) {
  .product__cta {
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    margin: 0 !important;
    z-index: 100;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(10, 123, 255, 0.45), 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 16px 20px !important;
    font-size: 15px !important;
  }
  /* Body : espace réservé pour CTA sticky (60px CTA + 24px marge + safe-area) */
  body.store-body--cream,
  body.store-body {
    padding-bottom: 100px;
  }
  /* Subfacts (Livré / Remboursé / Support) : un peu plus aérés en mobile */
  .product__subfacts {
    gap: 10px;
    margin-top: 16px;
  }
  /* Plans : layout vertical compact mobile */
  .product__plans {
    gap: 10px;
  }
  .plan-card {
    padding: 14px 16px !important;
  }
  .plan-card__gb {
    font-size: 22px !important;
  }
  .plan-card__days {
    font-size: 12px !important;
  }
  .plan-card__price {
    font-size: 18px !important;
  }
  /* Hero photo plus court en mobile */
  .product__hero {
    min-height: 200px !important;
  }
  /* Facts grille 3 cols compacte */
  .product__facts {
    gap: 8px;
  }
  /* Breadcrumb plus compact */
  .product__breadcrumb {
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 8px;
  }
}

/* --- CATALOG MOBILE : barre recherche sticky en haut + ergonomie --- */
@media (max-width: 1023px) {
  /* Hero stack vertical sans flex confus */
  .catalog__hero {
    display: none !important;
  }
  .catalog__title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }
  .catalog__sub {
    font-size: 13px;
    margin: 8px 0 14px;
    line-height: 1.4;
  }
  /* Search bar : sticky top, gros, pleine largeur */
  .catalog__search {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-dark, #0A0A0F);
    padding: 10px 16px;
    margin: 0 -16px 14px;
    width: auto;
    border-bottom: 1px solid var(--border-dark, rgba(255,255,255,0.06));
  }
  .catalog__search input {
    width: 100%;
    height: 44px;
    font-size: 15px;
    padding-left: 36px;
  }
  /* Cacher le raccourci ⌘K en mobile (pas pertinent) */
  .catalog__search-kbd {
    display: none !important;
  }
  /* Pills regions scrollables horizontalement (smooth iOS) */
  .catalog__regions {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    flex-wrap: nowrap !important;
    padding: 4px 16px 8px;
    margin: 0 -16px;
    scrollbar-width: none;
    gap: 8px;
  }
  .catalog__regions::-webkit-scrollbar {
    display: none;
  }
  .catalog__region {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  /* Cacher le sortbox (Tri Populaires/Prix/AZ) en mobile : pas critique, déclutter */
  .catalog__sortbox {
    display: none !important;
  }
  /* Filterbar simplifiée */
  .catalog__filterbar {
    margin-bottom: 14px;
  }
  /* Grille 2 cols compacte */
  .catalog__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  /* Country card compacte */
  .country-card__photo {
    height: 100px !important;
  }
  .country-card__name {
    font-size: 15px !important;
  }
  .country-card__plans {
    font-size: 11px !important;
  }
  .country-card__price {
    font-size: 15px !important;
  }
  /* Counter footer compact */
  .catalog__counter {
    font-size: 12px;
    padding: 12px 0;
  }
}
/* === END AEY-MOBILE-V4 === */

/* =====================================================================
   AEY-MOBILE-V4-CATALOG · Composants catalogue mobile · 2026-05-23
   ===================================================================== */

/* ---------- Container principal aey-m-catalog ---------- */
.aey-m-catalog {
  display: none;
  background: var(--bg-dark);
  color: var(--paper);
  padding-bottom: 20px;
}
@media (max-width: 1023px) {
  .aey-m-catalog { display: block; }
}

/* ---------- Hero ---------- */
.aey-m-catalog__hero {
  padding: 12px 16px 14px;
}
.aey-m-catalog__title {
  font-family: var(--font-display, var(--font-heading));
  font-size: clamp(34px, 9vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 6px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--mint, #0A7BFF) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.aey-m-catalog__sub {
  font-size: 13px;
  color: var(--paper-2);
  line-height: 1.4;
  margin: 0;
}

/* ---------- Sticky zone : search + pills ---------- */
.aey-m-catalog__sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-dark);
  padding: 8px 16px 10px;
  /* Léger blur pour un effet iOS */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Petit séparateur visuel quand sticky */
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.aey-m-catalog__sticky.is-stuck {
  border-bottom-color: var(--border-dark);
}

/* ---------- Search bar ---------- */
.aey-m-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface-elev, rgba(255,255,255,0.06));
  border: 1px solid var(--border-dark, rgba(255,255,255,0.10));
  border-radius: var(--r-pill, 999px);
  padding: 10px 14px 10px 40px;
  transition: border-color var(--t-fast) var(--ease);
}
.aey-m-search:focus-within {
  border-color: var(--mint, #0A7BFF);
}
.aey-m-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--paper-3, #8A8A99);
  pointer-events: none;
}
.aey-m-search__input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--paper);
  font: inherit;
  font-size: 14px;
  padding: 0;
}
.aey-m-search__input::placeholder {
  color: var(--paper-3, #8A8A99);
}
.aey-m-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* ---------- Pills filtres ---------- */
.aey-m-catalog__pills {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.aey-m-catalog__pills::-webkit-scrollbar { display: none; }

.aey-m-pill {
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 8px 14px;
  background: var(--surface-elev, rgba(255,255,255,0.06));
  border: 1px solid var(--border-dark, rgba(255,255,255,0.10));
  border-radius: var(--r-pill, 999px);
  color: var(--paper-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.aey-m-pill:hover {
  background: var(--border-dark, rgba(255,255,255,0.14));
  color: var(--paper);
}
.aey-m-pill.is-active {
  background: var(--paper);
  color: var(--bg-dark);
  border-color: var(--paper);
}

/* ---------- Bandeau DU MOMENT (vedette) ---------- */
.aey-m-featured {
  display: block;
  margin: 14px 16px 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0A7BFF 0%, #5B5BD6 100%);
  border-radius: var(--r-lg, 16px);
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(10, 123, 255, 0.25);
  transition: transform var(--t-fast) var(--ease);
}
.aey-m-featured:active {
  transform: scale(0.98);
}
.aey-m-featured__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 6px;
}
.aey-m-featured__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aey-m-featured__code {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0.9;
}
.aey-m-featured__body {
  flex: 1;
  min-width: 0;
}
.aey-m-featured__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.aey-m-featured__sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.aey-m-featured__arrow {
  font-size: 22px;
  font-weight: 300;
  opacity: 0.9;
}

/* ---------- Sections génériques ---------- */
.aey-m-catalog__section {
  padding: 18px 16px 0;
}
.aey-m-catalog__section--last {
  padding-bottom: 24px;
}
.aey-m-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* ---------- Popular grid 2×2 (réutilise .aey-mini-dest) ---------- */
.aey-m-popular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ---------- État vide ---------- */
.aey-m-catalog__empty {
  text-align: center;
  padding: 30px 12px;
  color: var(--paper-3);
  font-size: 13px;
}

/* ---------- CTA "Voir toutes" ---------- */
.aey-m-catalog__seeall {
  display: flex;
  justify-content: center;
  width: 100%;
}


/* ====================================================================
   AEY-MOBILE-V4-CATALOG-FIXES · Gap header/titre + toggle show-all
   ==================================================================== */
@media (max-width: 1023px) {
  /* FIX 3 : Réduire le padding-top du main pour rapprocher le titre du header */
  main.catalog { padding-top: 0 !important; }
  /* Cacher breadcrumb desktop en mobile */
  .catalog__breadcrumb, nav[aria-label="breadcrumb"] { display: none !important; }
  /* Hero plus compact */
  .aey-m-catalog__hero { padding-top: 16px; }

  /* Mode "Voir toutes" : on cache la vue mobile et on révèle la grille desktop */
  body.aey-m-show-all .aey-m-catalog .aey-m-catalog__hero,
  body.aey-m-show-all .aey-m-catalog .aey-m-catalog__sticky,
  body.aey-m-show-all .aey-m-catalog .aey-m-featured,
  body.aey-m-show-all .aey-m-catalog .aey-m-catalog__section { display: none !important; }
  body.aey-m-show-all .catalog__grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
  body.aey-m-show-all .catalog__counter { display: block !important; text-align: center; padding: 8px 0; font-size: 13px; color: var(--paper-3); }
  /* Bouton retour sticky top */
  .aey-m-back-to-mobile {
    display: none;
    position: sticky;
    top: 8px;
    z-index: 30;
    margin: 8px 12px;
    padding: 10px 14px;
    background: var(--surface-elev, rgba(255,255,255,0.08));
    border: 1px solid var(--border-dark, rgba(255,255,255,0.12));
    border-radius: var(--r-pill, 999px);
    color: var(--paper);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
  }
  body.aey-m-show-all .aey-m-back-to-mobile { display: inline-flex; }
}


/* ====================================================================
   AEY-MOBILE-V4-CATALOG-FINETUNE · Gap header/titre + cards carrées
   ==================================================================== */
@media (max-width: 1023px) {
  /* FIX 1 : Le main vide gardait 60px de padding-bottom. Avec contenu desktop caché, on neutralise. */
  main.catalog {
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }
  /* Hero plus serré en haut */
  .aey-m-catalog__hero {
    padding-top: 6px !important;
  }
  /* En mode show-all : padding-bottom du main pour respirer */
  body.aey-m-show-all main.catalog {
    padding-bottom: 60px !important;
  }

  /* FIX 2 : Cards carrées dans le mode "Voir toutes les destinations" */
  body.aey-m-show-all .catalog__grid .country-card {
    aspect-ratio: 1 / 1 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }
  body.aey-m-show-all .catalog__grid .country-card .country-card__photo {
    flex: 1 1 60% !important;
    min-height: 0 !important;
  }
  body.aey-m-show-all .catalog__grid .country-card .country-card__meta {
    flex: 0 0 40% !important;
    padding: 8px 10px !important;
  }
}


/* ====================================================================
   AEY-MOBILE-V5-ALL-DEST · Vue plein écran style app native
   ==================================================================== */
@media (max-width: 1023px) {

  /* La section est cachée par défaut */
  .aey-m-all-dest[hidden] { display: none !important; }

  /* Quand ouverte : prend tout l'écran, cache le reste */
  body.aey-m-all-dest-open .aey-m-catalog,
  body.aey-m-all-dest-open .aey-footer,
  body.aey-m-all-dest-open .aey-tabbar {
    display: none !important;
  }
  body.aey-m-all-dest-open main.catalog {
    padding-bottom: 0 !important;
  }
  /* Ne pas afficher la grille desktop sous la vue */
  body.aey-m-all-dest-open .catalog__grid { display: none !important; }

  /* Container principal */
  .aey-m-all-dest {
    background: var(--bg-dark);
    color: var(--paper);
    min-height: 100vh;
    padding-bottom: 40px;
    display: block;
  }

  /* === Header sticky : back + titre === */
  .aey-m-all-dest__top {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 8px;
    background: var(--bg-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .aey-m-all-dest__back {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-elev, rgba(255,255,255,0.06));
    border: 1px solid var(--border-dark, rgba(255,255,255,0.10));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    cursor: pointer;
    padding: 0;
    transition: background 0.15s var(--ease);
    flex-shrink: 0;
  }
  .aey-m-all-dest__back:active {
    background: var(--border-dark, rgba(255,255,255,0.14));
    transform: scale(0.95);
  }
  .aey-m-all-dest__title {
    font-family: var(--font-display, var(--font-heading));
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--paper);
  }

  /* === Search bar sticky === */
  .aey-m-all-dest__search-wrap {
    position: sticky;
    top: 58px;
    z-index: 28;
    padding: 6px 16px 8px;
    background: var(--bg-dark);
  }

  /* === Tabs sticky === */
  .aey-m-all-dest__tabs {
    position: sticky;
    top: 116px;
    z-index: 26;
    display: flex;
    gap: 4px;
    padding: 6px 8px 8px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark, rgba(255,255,255,0.08));
  }
  .aey-m-tab {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--paper-3, #8A8A99);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 6px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    position: relative;
    font-family: inherit;
  }
  .aey-m-tab:active { transform: scale(0.97); }
  .aey-m-tab.is-active {
    color: var(--paper);
    background: var(--surface-elev, rgba(255,255,255,0.08));
  }

  /* === Panels === */
  .aey-m-all-dest__panels { padding-top: 4px; }
  .aey-m-all-dest__panel[hidden] { display: none !important; }

  /* === Liste des destinations === */
  .aey-m-dest-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .aey-m-dest-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: var(--paper);
    text-decoration: none;
    border-bottom: 1px solid var(--border-dark, rgba(255,255,255,0.06));
    transition: background 0.15s var(--ease);
    min-height: 64px;
  }
  .aey-m-dest-row:active {
    background: rgba(255,255,255,0.04);
  }
  .aey-m-dest-row__flag {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-elev, rgba(255,255,255,0.06));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    border: 1px solid var(--border-dark, rgba(255,255,255,0.06));
  }
  .aey-m-dest-row__body {
    flex: 1;
    min-width: 0;
  }
  .aey-m-dest-row__name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--paper);
    line-height: 1.2;
  }
  .aey-m-dest-row__sub {
    font-size: 12px;
    color: var(--paper-3, #8A8A99);
    margin-top: 3px;
  }
  .aey-m-dest-row__chev {
    color: var(--paper-3, #8A8A99);
    flex-shrink: 0;
    opacity: 0.7;
  }

  /* === Regions groups === */
  .aey-m-dest-group + .aey-m-dest-group { margin-top: 8px; }
  .aey-m-dest-group__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 16px 6px;
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--paper-3, #8A8A99);
  }
  .aey-m-dest-group__count {
    color: var(--paper-3, #8A8A99);
    opacity: 0.5;
  }

  /* === Onglet Global (placeholder) === */
  .aey-m-all-dest__global-placeholder {
    padding: 80px 32px;
    text-align: center;
  }
  .aey-m-all-dest__global-emoji {
    font-size: 64px;
    margin-bottom: 16px;
    line-height: 1;
  }
  .aey-m-all-dest__global-title {
    font-family: var(--font-display, var(--font-heading));
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--paper);
  }
  .aey-m-all-dest__global-sub {
    font-size: 14px;
    color: var(--paper-2);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
  }

  /* === Empty state === */
  .aey-m-all-dest__empty {
    padding: 40px 16px;
    text-align: center;
    color: var(--paper-3, #8A8A99);
    font-size: 14px;
  }
  .aey-m-all-dest__empty p { margin: 0; }
}


/* ====================================================================
   AEY-MOBILE-V5-PLAN-CARD-READABILITY · Cards plans page produit
   Volume en gros + durée distincte avec icône calendrier + tap targets
   ==================================================================== */
@media (max-width: 1023px) {
  .plan-card {
    padding: 14px 16px !important;
    min-height: 72px !important;
    border-radius: 14px !important;
  }
  /* Volume de data : très gros et bold */
  .plan-card__gb {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: var(--paper) !important;
  }
  /* Validité : avec icône calendrier */
  .plan-card__days {
    font-size: 13px !important;
    color: var(--paper-2, #B8B8C5) !important;
    margin-top: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1 !important;
  }
  .plan-card__days::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8B8C5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }
  /* Prix : grand et bold */
  .plan-card__price {
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    margin-top: 8px !important;
    color: var(--paper) !important;
  }
  /* Badge POPULAIRE plus visible */
  .plan-card__top-badge {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    padding: 3px 8px !important;
  }
  /* Card POPULAIRE : highlight bien visible */
  .plan-card--popular.is-active .plan-card__gb,
  .plan-card--popular.is-active .plan-card__days,
  .plan-card--popular.is-active .plan-card__price {
    color: var(--paper) !important;
  }

  /* Bouton "Voir les X autres forfaits" : VRAI bouton bien marqué */
  #aey-see-all-plans, .product__see-all {
    margin-top: 14px !important;
    min-height: 52px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: var(--r-pill, 999px) !important;
    width: 100% !important;
  }
}


/* ====================================================================
   AEY-MOBILE-V6-GLOBAL-REGIONS · Cards des régions multi-pays
   ==================================================================== */
@media (max-width: 1023px) {
  /* On masque le placeholder par défaut quand on a chargé les régions */
  body.aey-m-global-loaded .aey-m-all-dest__global-placeholder { display: none; }

  .aey-m-region-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .aey-m-region-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: var(--paper);
    text-decoration: none;
    border-bottom: 1px solid var(--border-dark, rgba(255,255,255,0.06));
    transition: background 0.15s var(--ease);
    min-height: 72px;
    cursor: pointer;
    background: none;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    width: 100%;
    font: inherit;
    text-align: left;
    font-family: inherit;
  }
  .aey-m-region-row:active { background: rgba(255,255,255,0.04); }
  .aey-m-region-row__emoji {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint, #0A7BFF) 0%, #5B5BD6 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(10, 123, 255, 0.25);
  }
  .aey-m-region-row__body { flex: 1; min-width: 0; }
  .aey-m-region-row__name {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--paper);
    line-height: 1.2;
  }
  .aey-m-region-row__sub {
    font-size: 12px;
    color: var(--paper-3, #8A8A99);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .aey-m-region-row__badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--surface-elev, rgba(255,255,255,0.08));
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--paper-2);
  }
  .aey-m-region-row__price {
    text-align: right;
    flex-shrink: 0;
  }
  .aey-m-region-row__price-from {
    font-size: 10px;
    color: var(--paper-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .aey-m-region-row__price-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--paper);
  }

  /* État de chargement */
  .aey-m-region-loading {
    padding: 40px 16px;
    text-align: center;
    color: var(--paper-3);
    font-size: 13px;
  }
  .aey-m-region-loading__spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.15);
    border-top-color: var(--mint, #0A7BFF);
    border-radius: 50%;
    animation: aey-m-spin 0.7s linear infinite;
    margin-bottom: 8px;
  }
  @keyframes aey-m-spin { to { transform: rotate(360deg); } }

  /* Erreur */
  .aey-m-region-error {
    padding: 30px 16px;
    text-align: center;
    color: var(--paper-3);
    font-size: 13px;
    line-height: 1.5;
  }

  /* === Modal détail région === */
  .aey-m-region-detail[hidden] { display: none !important; }
  .aey-m-region-detail {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--bg-dark);
    color: var(--paper);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 100px;
  }
  .aey-m-region-detail__top {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 10px;
    background: var(--bg-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-dark, rgba(255,255,255,0.06));
  }
  .aey-m-region-detail__back {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-elev, rgba(255,255,255,0.06));
    border: 1px solid var(--border-dark, rgba(255,255,255,0.10));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--paper);
    cursor: pointer;
    flex-shrink: 0;
  }
  .aey-m-region-detail__title {
    font-family: var(--font-display, var(--font-heading));
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
  }
  .aey-m-region-detail__hero {
    padding: 24px 16px 12px;
    text-align: center;
  }
  .aey-m-region-detail__hero-emoji {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 8px;
  }
  .aey-m-region-detail__hero-name {
    font-family: var(--font-display, var(--font-heading));
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
  }
  .aey-m-region-detail__hero-sub {
    font-size: 14px;
    color: var(--paper-2);
    margin-bottom: 8px;
  }
  .aey-m-region-detail__plans {
    padding: 12px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .aey-m-region-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--surface-elev, rgba(255,255,255,0.05));
    border: 1px solid var(--border-dark, rgba(255,255,255,0.10));
    border-radius: 14px;
    transition: all 0.15s var(--ease);
    cursor: pointer;
    min-height: 72px;
  }
  .aey-m-region-plan.is-popular {
    background: var(--mint, #0A7BFF);
    border-color: var(--mint, #0A7BFF);
    position: relative;
  }
  .aey-m-region-plan__main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
  .aey-m-region-plan__gb {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
  .aey-m-region-plan__days {
    font-size: 13px;
    color: var(--paper-2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .aey-m-region-plan__days::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8B8C5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .aey-m-region-plan__badge {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    border-radius: 6px;
  }
  .aey-m-region-plan__price {
    font-size: 18px;
    font-weight: 700;
  }

  /* CTA principal (Continuer) — sticky bottom */
  .aey-m-region-detail__cta-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--bg-dark) 70%, transparent);
  }
  .aey-m-region-detail__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: var(--mint, #0A7BFF);
    color: #fff;
    border: 0;
    border-radius: var(--r-pill, 999px);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(10, 123, 255, 0.30);
    min-height: 56px;
  }
  .aey-m-region-detail__cta:active { transform: scale(0.98); }

  /* Bouton "Voir plus d'options" */
  .aey-m-region-detail__more {
    margin: 6px 16px 0;
    padding: 14px;
    width: calc(100% - 32px);
    background: transparent;
    border: 1px solid var(--border-dark, rgba(255,255,255,0.10));
    border-radius: var(--r-pill, 999px);
    color: var(--paper-2);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 48px;
  }
  .aey-m-region-detail__more:active { background: rgba(255,255,255,0.04); }

}


/* === AEY hero mobile carousel (swipeable, scroll-snap horizontal) === */
.aey-hero-carousel{position:relative;}
.aey-hcar__track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;scrollbar-width:none;-ms-overflow-style:none;}
.aey-hcar__track::-webkit-scrollbar{display:none;width:0;height:0;}
.aey-hcar__slide{position:relative;flex:0 0 100%;width:100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always;background-size:cover;background-position:center;}
.aey-hcar__grad{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,10,15,.05) 0%,rgba(10,10,15,.45) 55%,rgba(10,10,15,.88) 100%);}
.aey-hcar__chip{position:absolute;left:14px;bottom:42px;display:inline-flex;align-items:center;gap:8px;background:rgba(10,10,15,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.16);color:#fff;font-family:var(--font-ui);font-weight:600;font-size:.92rem;line-height:1.2;padding:9px 14px;border-radius:999px;max-width:calc(100% - 28px);}
.aey-hcar__dot{width:8px;height:8px;border-radius:50%;background:var(--signal-green);box-shadow:0 0 8px var(--signal-green);flex:none;}
.aey-hcar__dots{position:absolute;left:14px;bottom:16px;display:flex;gap:6px;z-index:3;}
.aey-hcar__d{width:18px;height:4px;border-radius:2px;background:rgba(255,255,255,.32);transition:background .3s,width .3s;cursor:pointer;border:none;padding:0;}
.aey-hcar__d.is-active{background:#fff;width:24px;}
