*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  background: #F4F4F0;
  color: #0A0A0A;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-size: 15px;
  line-height: 1.5;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }
input  { font-family: inherit; }

/* ── Layout global ──────────────────────────────────────── */
.app {
  max-width: 440px;
  margin: 0 auto;
  background: #FFF;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Topbar global */
.app-topbar {
  flex-shrink: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid #EEEEE8;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 60px;
}
#topbar-left  { justify-self: start; }
#topbar-center { justify-self: center; text-align: center; }
#topbar-right { justify-self: end; display: flex; gap: 8px; }

.app-topbar--home {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.topbar-logo-home {
  height: 44px;
  max-width: 130px;
  object-fit: contain;
  border-radius: 10px;
}
.topbar-logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Container des écrans */
.screens-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Bottom nav global */
.app-bottom-nav {
  flex-shrink: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid #EEEEE8;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}

/* Écrans onboarding : overlay par-dessus tout */
#screen-loading, #screen-age, #screen-error {
  position: absolute;
  inset: 0;
  z-index: 200;
  background: #FFF;
  display: none;
  flex-direction: column;
}
#screen-loading.active, #screen-age.active, #screen-error.active { display: flex; }
#screen-age { background: var(--clr-primary); }

/* Écrans applicatifs */
#screen-home, #screen-detail, #screen-cart, #screen-return, #screen-payment-return {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}
#screen-home.active, #screen-detail.active,
#screen-cart.active, #screen-return.active,
#screen-payment-return.active { display: flex; }

@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }
#screen-home.active, #screen-detail.active,
#screen-cart.active, #screen-return.active,
#screen-payment-return.active { animation: fadein 0.18s ease-out; }

/* Topbars dans les écrans — masqués (on utilise le global) */
.screen .topbar { display: none; }

/* ── Composants topbar ──────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid #EEEEE8;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: #0A0A0A;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.5px;
  overflow: hidden;
}
.brand-mark--logo { background: transparent; padding: 1px; }
.brand-mark img   { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; font-size: 13px; letter-spacing: -0.2px; }
.brand-sub  { font-size: 10px; color: #888; letter-spacing: 1.5px; }
.topbar-back {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #F4F4F0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.topbar-back:active { background: #EEEEE8; }
.topbar-title { font-weight: 600; font-size: 15px; letter-spacing: -0.2px; }
.topbar-actions { display: flex; gap: 8px; }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #F4F4F0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.icon-btn:active { background: #EEEEE8; }
.icon-btn .badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--clr-primary);
  color: #0A0A0A;
  font-size: 10px; font-weight: 600;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #FFF;
}

/* ── Toast "ajouté au panier" ───────────────────────────── */
#cart-toast {
  position: fixed;
  bottom: 80px;
  left: 50%; transform: translateX(-50%);
  background: #0A0A0A;
  color: #FFF;
  font-size: 13px; font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(6px);
}
#cart-toast.cart-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#cart-toast.cart-toast--hide {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}

/* ── Bottom nav ─────────────────────────────────────────── */
.nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 6px 14px;
  position: relative; cursor: pointer;
  flex: 1; max-width: 200px;
}
.nav-item .nav-label { font-size: 10px; font-weight: 500; color: #888; }
.nav-item.active .nav-label { color: #0A0A0A; }
.nav-item.active svg { stroke: #0A0A0A !important; }
.nav-item .nav-badge {
  position: absolute; top: 2px; right: 8px;
  background: var(--clr-primary); color: #0A0A0A;
  font-size: 9px; font-weight: 600;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #FFF;
}
.nav-item .nav-amount { font-size: 11px; font-weight: 600; color: #0A0A0A; margin-top: 2px; }

/* ── Contenu des écrans ─────────────────────────────────── */
.content { flex: 1; overflow-y: auto; padding-bottom: 20px; }
#screen-detail .content, #screen-cart .content { padding-bottom: 0; }

.section { padding: 0 20px; }
.section + .section { margin-top: 24px; }
.section-title {
  font-size: 18px; font-weight: 600; letter-spacing: -0.4px;
  margin: 0 0 12px;
  display: flex; align-items: baseline; justify-content: space-between;
}

/* ── Héro accueil ───────────────────────────────────────── */
.hero {
  margin: 16px 20px 24px;
  background: #0A0A0A; color: #FFF;
  border-radius: 20px; padding: 24px 22px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--clr-primary); opacity: 0.95;
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 1.5px; color: var(--clr-primary);
  text-transform: uppercase; font-weight: 600; margin: 0 0 10px; position: relative;
}
.hero-title {
  font-size: 28px; font-weight: 600; letter-spacing: -1px;
  line-height: 1.05; margin: 0 0 8px; position: relative;
}
.hero-text { font-size: 13px; opacity: 0.7; margin: 0; line-height: 1.5; max-width: 65%; position: relative; }

/* ── Familles / catégories ──────────────────────────────── */
.cat-strip {
  display: flex; gap: 10px;
  overflow-x: auto; padding: 4px 20px 20px; margin: 0 -20px;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-card {
  flex-shrink: 0; width: 88px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer;
}
.cat-icon {
  width: 72px; height: 72px; border-radius: 18px; background: #F4F4F0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, background 0.15s; overflow: hidden;
}
.cat-icon img { width: 44px; height: 44px; object-fit: contain; }
.cat-card:active .cat-icon { transform: scale(0.96); }
.cat-card.active .cat-icon { background: var(--clr-primary); color: #0A0A0A; }
.cat-name { font-size: 12px; font-weight: 500; text-align: center; }

/* ── Grille produits ────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px; }
.product-card {
  background: #FFF; border: 1px solid #EEEEE8; border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.15s; cursor: pointer;
}
.product-card:active { transform: scale(0.98); }
.product-image {
  aspect-ratio: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; background: #F4F4F0; overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--clr-primary); color: #0A0A0A;
  font-size: 9px; font-weight: 600; padding: 3px 7px;
  border-radius: 5px; letter-spacing: 0.5px; z-index: 1;
}
.product-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.product-name { font-size: 13px; font-weight: 600; letter-spacing: -0.1px; line-height: 1.3; }
.product-bottom { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 14px; font-weight: 600; }
.add-btn {
  background: var(--clr-primary); color: #0A0A0A;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.products-loading { grid-column: 1/-1; padding: 40px; text-align: center; color: #888; }
.products-empty  { grid-column: 1/-1; padding: 40px 20px; text-align: center; color: #888; font-size: 13px; }

/* ── Détail produit ─────────────────────────────────────── */
.detail-hero {
  height: 280px; display: flex; align-items: center; justify-content: center;
  font-size: 120px; position: relative; background: #F4F4F0; overflow: hidden;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-tag {
  position: absolute; top: 16px; left: 20px;
  background: rgba(10,10,10,0.85); backdrop-filter: blur(8px);
  color: var(--clr-primary); font-size: 10px; font-weight: 600;
  padding: 5px 10px; border-radius: 6px; letter-spacing: 1px; z-index: 1;
}
.detail-body { padding: 20px; }
.detail-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 6px; }
.detail-name { font-size: 22px; font-weight: 600; letter-spacing: -0.5px; margin: 0; }
.detail-base-price { font-size: 22px; font-weight: 600; letter-spacing: -0.5px; flex-shrink: 0; }
.detail-desc { font-size: 13px; color: #666; line-height: 1.5; margin: 0 0 24px; }

/* Options (appels) */
.opt-group { margin-bottom: 24px; }
.opt-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.opt-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.opt-meta  { font-size: 11px; color: #888; }
.opt-required {
  background: var(--clr-primary); color: #0A0A0A;
  font-size: 9px; font-weight: 600; padding: 2px 6px;
  border-radius: 4px; letter-spacing: 0.5px; text-transform: uppercase;
}
.opt-radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-radio {
  flex: 1; min-width: 80px; background: #FFF; border: 1.5px solid #EEEEE8;
  border-radius: 12px; padding: 12px 8px; text-align: center;
  font-size: 13px; font-weight: 500;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all 0.15s; cursor: pointer;
}
.opt-radio.selected { background: var(--clr-primary); border-color: var(--clr-primary); color: #0A0A0A; }
.opt-radio .dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #BBB; }
.opt-radio.selected .dot { background: #0A0A0A; border-color: #0A0A0A; }
.opt-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-pill {
  border: 1.5px solid #EEEEE8; background: #FFF; border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 500;
  transition: all 0.15s; cursor: pointer;
}
.opt-pill.selected { background: var(--clr-primary); border-color: var(--clr-primary); color: #0A0A0A; }
.opt-checkbox-list { display: flex; flex-direction: column; gap: 6px; }
.opt-checkbox-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border: 1.5px solid #EEEEE8; border-radius: 12px;
  background: #FFF; transition: all 0.15s; width: 100%;
}
.opt-checkbox-row.selected { background: #F4F4F0; border-color: var(--clr-primary); }
.opt-checkbox-left { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; padding: 2px 0; }
.opt-checkbox-box {
  width: 18px; height: 18px; border: 1.5px solid #BBB; border-radius: 5px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.opt-checkbox-row.selected .opt-checkbox-box { background: var(--clr-primary); border-color: var(--clr-primary); color: #0A0A0A; }
.opt-checkbox-name  { font-size: 13px; font-weight: 500; }
.opt-checkbox-price { font-size: 12px; color: #666; }
.opt-checkbox-row.selected .opt-checkbox-price { color: #0A0A0A; font-weight: 600; }
.opt-appel-stepper { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.opt-appel-qty-btn { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #EEEEE8; background: #FFF; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.opt-appel-qty-btn.disabled { opacity: 0.35; cursor: not-allowed; }
.opt-appel-qty-val { font-size: 13px; font-weight: 700; min-width: 18px; text-align: center; }
.opt-appel-total   { font-size: 12px; font-weight: 600; color: #0A0A0A; min-width: 44px; text-align: right; }

/* Footer détail */
.detail-footer {
  flex-shrink: 0;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-top: 1px solid #EEEEE8; padding: 12px 20px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.detail-qty-row { display: flex; align-items: center; justify-content: center; gap: 20px; }
.detail-qty-btn {
  width: 36px; height: 36px; border-radius: 50%; background: #F4F4F0;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.detail-qty-val { font-size: 17px; font-weight: 600; min-width: 20px; text-align: center; }
.add-cart-btn {
  background: var(--clr-primary); color: #0A0A0A; border-radius: 14px; padding: 16px;
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.add-cart-btn .total-pill {
  background: rgba(0,0,0,0.12); color: #0A0A0A;
  padding: 4px 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
}

/* ── Panier ─────────────────────────────────────────────── */
.location-strip {
  margin: 16px 20px 0; padding: 10px 14px; background: #F4F4F0; border-radius: 12px;
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: #666;
}
.location-strip strong { color: #0A0A0A; font-weight: 600; }
.location-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clr-primary); border: 2px solid #0A0A0A; }
.cart-empty { text-align: center; padding: 60px 30px; }
.cart-empty-icon  { font-size: 64px; margin-bottom: 16px; opacity: 0.3; }
.cart-empty-title { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.cart-empty-text  { font-size: 13px; color: #888; margin: 0 0 24px; }
.cart-empty-cta   { background: var(--clr-primary); color: #0A0A0A; padding: 12px 24px; border-radius: 12px; font-size: 14px; font-weight: 600; cursor: pointer; }
.cart-list { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.cart-item { background: #FFF; border: 1px solid #EEEEE8; border-radius: 16px; overflow: hidden; }
.cart-item-main { padding: 12px; display: flex; gap: 12px; }
.cart-item-image {
  width: 56px; height: 56px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: #F4F4F0; overflow: hidden;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.cart-item-name  { font-size: 14px; font-weight: 600; margin: 0; }
.cart-item-unit  { font-size: 11px; color: #888; margin: 2px 0 0; }
.cart-item-total { font-size: 15px; font-weight: 600; }
.cart-item-appels { background: #F4F4F0; padding: 10px 12px; border-top: 1px solid #EEEEE8; }
.cart-item-appel-group { margin-bottom: 8px; }
.cart-item-appel-group:last-child { margin-bottom: 0; }
.cart-item-appel-type { font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; color: #888; font-weight: 600; margin: 0 0 4px; }
.cart-item-appel-row { display: flex; justify-content: space-between; align-items: center; padding-left: 4px; margin-bottom: 2px; }
.cart-item-appel-name  { font-size: 12px; }
.cart-item-appel-price { font-size: 12px; color: #666; font-weight: 500; }
.cart-item-appel-price.included { color: #888; font-style: italic; }
.cart-item-actions { border-top: 1px dashed #DDD; padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; }
.cart-item-modify { font-size: 12px; color: #0A0A0A; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cart-item-stepper { display: flex; align-items: center; gap: 8px; }
.cart-item-stepper button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #EEEEE8; background: #FFF; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.cart-item-stepper button.add { background: var(--clr-primary); border-color: var(--clr-primary); color: #0A0A0A; }
.cart-item-stepper .v { font-size: 13px; font-weight: 600; min-width: 14px; text-align: center; }
.cross-sell {
  margin: 0 20px 16px; padding: 12px;
  background: #FAFAF5; border: 1.5px dashed var(--clr-primary); border-radius: 14px;
  display: flex; gap: 12px; align-items: center;
}
.cross-sell-image { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; background: #F4F4F0; overflow: hidden; }
.cross-sell-image img { width: 100%; height: 100%; object-fit: cover; }
.cross-sell-info  { flex: 1; min-width: 0; }
.cross-sell-eyebrow { font-size: 9px; text-transform: uppercase; letter-spacing: 0.8px; color: #5A6B0E; font-weight: 600; margin: 0 0 1px; }
.cross-sell-name  { font-size: 13px; font-weight: 600; margin: 0; }
.cross-sell-price { font-size: 11px; color: #888; margin: 2px 0 0; }
.cross-sell-add   { background: var(--clr-primary); color: #0A0A0A; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 9px; cursor: pointer; }

/* Coordonnées & totaux */
.coords-card, .totals-card { margin: 0 20px 12px; background: #FFF; border: 1px solid #EEEEE8; border-radius: 14px; padding: 14px; }
.coords-title { font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.field { margin-bottom: 10px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 11px; color: #888; margin-bottom: 4px; }
.field label .req { color: #D85A30; }
.field input { width: 100%; background: #F4F4F0; border: 1px solid transparent; border-radius: 9px; padding: 10px 12px; font-size: 14px; outline: none; transition: all 0.15s; }
.field input:focus { border-color: var(--clr-primary); background: #FFF; }
.field input.field-invalid { border-color: #D85A30; background: #FFF8F6; }
.field-hint { font-size: 10px; color: #888; margin: 4px 0 0; min-height: 14px; }
.field-hint--error { color: #D85A30 !important; font-weight: 500; }
.totals-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #666; margin-bottom: 4px; }
.totals-row.grand { margin-top: 10px; padding-top: 10px; border-top: 1px solid #EEEEE8; font-size: 15px; font-weight: 600; color: #0A0A0A; }
.totals-row.grand .amount { font-size: 22px; }
.min-order-notice { margin-top: 10px; padding: 8px 10px; background: #FFF3E0; border: 1px solid #FFB74D; border-radius: 8px; font-size: 12px; color: #E65100; font-weight: 500; text-align: center; }

/* Zone paiement */
.pay-zone { flex-shrink: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-top: 1px solid #EEEEE8; padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.pay-cb { background: var(--clr-primary); color: #0A0A0A; border-radius: 14px; padding: 16px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.pay-cb:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Confirmation ────────────────────────────────────────── */
.return-screen { padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70vh; }
.return-icon-wrap { width: 88px; height: 88px; border-radius: 50%; background: var(--clr-primary); color: #0A0A0A; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.return-title { font-size: 24px; font-weight: 600; letter-spacing: -0.5px; margin: 0 0 8px; }
.return-text  { font-size: 14px; color: #666; margin: 0 0 28px; line-height: 1.5; max-width: 280px; }
.return-num-box { background: #FFF; border: 1px solid #EEEEE8; border-radius: 16px; padding: 18px 32px; margin-bottom: 24px; text-align: center; }
.return-num-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin: 0 0 6px; }
.return-num  { font-size: clamp(16px, 5vw, 32px); font-weight: 600; letter-spacing: -0.5px; margin: 0; line-height: 1.3; word-break: break-all; }
.return-info { background: #F4F4F0; border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; text-align: left; width: 100%; max-width: 280px; font-size: 13px; color: #666; display: flex; gap: 10px; align-items: center; }
.return-cta  { background: var(--clr-primary); color: #0A0A0A; padding: 14px 32px; border-radius: 14px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* ── Loading / Erreur ────────────────────────────────────── */
.loading-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; gap: 16px; }
.spinner { width: 36px; height: 36px; border: 3px solid #EEEEE8; border-top-color: var(--clr-primary); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-label { font-size: 14px; color: #888; }
.error-screen { padding: 40px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 60vh; justify-content: center; }
.error-icon  { font-size: 56px; }
.error-title { font-size: 18px; font-weight: 600; margin: 0; }
.error-msg-text { font-size: 13px; color: #888; margin: 0; max-width: 280px; }
.error-retry { background: var(--clr-primary); color: #0A0A0A; padding: 12px 24px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-top: 8px; cursor: pointer; }

/* ── Variable couleur centre ─────────────────────────────── */
:root { --clr-primary: #D6F751; }

/* ── Vérification d'âge ─────────────────────────────────── */
.age-gate { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--clr-primary); padding: 32px 24px 28px; gap: 24px; }
.age-gate-top { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.age-brand-mark { width: 80px; height: 80px; border-radius: 22px; background: rgba(0,0,0,0.12); color: #0A0A0A; font-size: 36px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.age-logo-img   { width: 130px; max-height: 90px; object-fit: contain; border-radius: 14px; }
.age-centre-name { font-size: 20px; font-weight: 700; color: #0A0A0A; letter-spacing: -0.3px; text-align: center; }
.age-gate-card { background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-radius: 18px; padding: 20px 22px; width: 100%; max-width: 380px; text-align: center; }
.age-card-title { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; color: #0A0A0A; margin: 0 0 8px; text-transform: uppercase; }
.age-card-sub  { font-size: 13px; color: #444; line-height: 1.5; margin: 0; }
.age-gate-buttons { display: flex; gap: 10px; width: 100%; max-width: 380px; }
.age-btn { flex: 1; padding: 16px 12px; border-radius: 14px; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: opacity 0.15s, transform 0.1s; }
.age-btn:active { transform: scale(0.97); opacity: 0.85; }
.age-btn-minor { background: rgba(0,0,0,0.12); color: #0A0A0A; border: 2px solid rgba(0,0,0,0.15); }
.age-btn-major { background: #0A0A0A; color: var(--clr-primary); }

/* ── Retour paiement ─────────────────────────────────────── */
.pr-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.pr-icon-success { background: var(--clr-primary); }
.pr-icon-fail    { background: #D85A30; }
.pr-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin: 0 0 8px; }
.pr-text  { font-size: 14px; color: #666; margin: 0 0 24px; line-height: 1.5; max-width: 280px; }
.pr-btn-secondary { background: transparent; color: #888; font-size: 14px; padding: 10px 20px; cursor: pointer; margin-top: 8px; text-decoration: underline; }
