/* =========================================
   DBZ PIZZA — STYLESHEET
   ========================================= */

:root {
  --orange: #FF6B00;
  --orange-light: #FF8C00;
  --gold: #FFD700;
  --gold-dark: #D4A000;
  --red: #CC0000;
  --red-dark: #990000;
  --dark: #080810;
  --darker: #04040A;
  --card-bg: #0F0F1A;
  --card-border: #1E1E32;
  --card-hover: #141424;
  --text: #EDE8FF;
  --text-muted: #7A7A9A;
  --text-dim: #4A4A6A;
  --blue: #1A6EFF;
  --green: #00CC66;
  --nav-h: 66px;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--darker);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---- PARTICLES BG ---- */
#bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
#bg-particles::before {
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 60%, rgba(255,107,0,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(204,0,0,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(255,215,0,0.04) 0%, transparent 100%);
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(4,4,10,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,107,0,0.25);
  box-shadow: 0 4px 40px rgba(255,107,0,0.12);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Bangers', cursive;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 var(--red);
}
.logo-dragon { font-size: 22px; }
.logo-fire {
  font-size: 20px;
  animation: flicker 1s ease-in-out infinite alternate;
}
@keyframes flicker {
  0% { transform: scale(1) rotate(-3deg); }
  100% { transform: scale(1.15) rotate(3deg); }
}

.nav-tabs {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-tab {
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.nav-tab:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-tab.active {
  color: var(--gold);
  background: rgba(255,107,0,0.12);
  border-color: rgba(255,107,0,0.35);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
#nav-user-email {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  margin-left: auto;
}

/* ---- BUTTONS ---- */
.btn {
  padding: 9px 18px;
  border-radius: 9px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  box-shadow: 0 4px 16px rgba(255,107,0,0.3);
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 7px 24px rgba(255,107,0,0.5); }
.btn-orange:active { transform: translateY(0); }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.4);
  font-size: 13px;
  padding: 7px 14px;
}
.btn-outline-gold:hover { background: rgba(255,215,0,0.1); }
.btn-ghost-red {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--card-border);
  font-size: 13px;
  padding: 7px 14px;
}
.btn-ghost-red:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 6px 13px; font-size: 13px; border-radius: 7px; }
.w-full { width: 100%; }

/* ---- PAGES ---- */
.page { display: none; padding-top: var(--nav-h); position: relative; z-index: 1; min-height: 100vh; }
.page.active { display: block; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0D0010 0%, #0A0008 40%, #0F0500 100%);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,4,10,0) 50%, rgba(4,4,10,1) 100%);
  z-index: 2;
}
#hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 24px 80px;
  max-width: 700px;
  width: 100%;
}
.power-level-badge {
  display: inline-block;
  background: rgba(255,107,0,0.18);
  border: 1px solid rgba(255,107,0,0.5);
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(44px, 9vw, 90px);
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--red), 6px 6px 0 rgba(0,0,0,0.5), 0 0 60px rgba(255,215,0,0.3);
  line-height: 0.95;
  letter-spacing: 3px;
  margin-bottom: 16px;
  animation: titlePop 0.6s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
@keyframes titlePop {
  from { transform: scale(0.7); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.hero-desc {
  font-family: 'Bangers', cursive;
  font-size: clamp(22px, 4vw, 38px);
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--red), 4px 4px 0 rgba(0,0,0,0.5), 0 0 40px rgba(255,215,0,0.2);
  letter-spacing: 2px;
  line-height: 1.2;
  margin-bottom: 32px;
  animation: titlePop 0.6s 0.15s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
.hero-balls {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.dragonball {
  font-size: 28px;
  cursor: pointer;
  animation: orbit 3s ease-in-out infinite;
  display: inline-block;
}
.db1 { animation-delay: 0s; }
.db2 { animation-delay: 0.2s; }
.db3 { animation-delay: 0.4s; }
.db4 { animation-delay: 0.6s; }
.db5 { animation-delay: 0.8s; }
.db6 { animation-delay: 1.0s; }
.db7 { animation-delay: 1.2s; }
@keyframes orbit {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.1); }
}

/* ---- HOME GRID ---- */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.home-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card-header-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--red));
}
.card-header-line.gold { background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-title {
  font-family: 'Bangers', cursive;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* Today location */
.today-location-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.today-open {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 14px;
}
.today-icon { font-size: 36px; }
.today-info {}
.today-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 4px;
}
.today-address {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.today-closed {
  padding: 18px;
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.25);
  border-radius: 14px;
  text-align: center;
}
.today-closed-icon { font-size: 36px; margin-bottom: 8px; }
.today-closed-text { font-size: 16px; font-weight: 700; color: var(--red); }
.today-closed-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.week-preview { display: flex; flex-direction: column; gap: 7px; }
.week-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 9px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
}
.week-item.is-today {
  background: rgba(255,107,0,0.06);
  border-color: rgba(255,107,0,0.2);
}
.week-day {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  min-width: 34px;
}
.week-item.is-today .week-day { color: var(--orange); }
.week-addr { flex:1; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.week-item.is-today .week-addr { color: var(--text); }
.week-closed-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--red);
  background: rgba(204,0,0,0.1);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Pizza du moment */
.pizza-moment-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.pizza-moment-img-wrap {
  position: relative;
}
.pizza-moment-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(255,215,0,0.1), 0 0 40px rgba(255,215,0,0.25);
}
.pizza-moment-placeholder {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,107,0,0.08);
  border: 3px dashed rgba(255,107,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
}
.pizza-moment-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,215,0,0.3);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.15); opacity: 0; }
}
.pizza-moment-name {
  font-family: 'Bangers', cursive;
  font-size: 30px;
  color: var(--text);
  letter-spacing: 1px;
}
.pizza-moment-price-tag {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  font-size: 22px;
  font-weight: 900;
  padding: 6px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255,107,0,0.35);
}
.pizza-moment-ingredients {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 260px;
}
.no-content {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.no-content span { font-size: 48px; display:block; margin-bottom:12px; }

/* ---- PAGE HEADER ---- */
.page-header {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 700px;
  margin: 0 auto;
}
.page-title {
  font-family: 'Bangers', cursive;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.page-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

/* ---- PIZZA GRID ---- */
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.pizza-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.1);
  position: relative;
}
.pizza-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,107,0,0.35);
  box-shadow: 0 16px 48px rgba(255,107,0,0.12);
}
.pizza-card-img {
  width: 100%; height: 190px;
  object-fit: cover;
  display: block;
}
.pizza-card-img-ph {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(204,0,0,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.pizza-moment-badge-card {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-size: 10px;
  font-weight: 900;
  padding: 3px 11px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(255,215,0,0.4);
}
.pizza-card-body { padding: 16px 18px; }
.pizza-card-name {
  font-family: 'Bangers', cursive;
  font-size: 22px;
  color: var(--text);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.pizza-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pizza-card-price { color: var(--orange); font-weight: 900; font-size: 18px; }
.pizza-card-taille { color: var(--text-dim); font-size: 12px; font-weight: 700; }
.pizza-card-ingredients {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pizza-card-actions { display: flex; gap: 8px; }

/* ---- LOCALISATION PAGE ---- */
.localisation-week {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.loc-day-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s;
}
.loc-day-card.is-today {
  border-color: var(--orange);
  background: rgba(255,107,0,0.05);
  box-shadow: 0 4px 24px rgba(255,107,0,0.1);
}
.loc-day-card.is-closed {
  opacity: 0.5;
  border-color: rgba(204,0,0,0.2);
}
.loc-day-name {
  font-family: 'Bangers', cursive;
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.loc-today-chip {
  font-family: 'Nunito', sans-serif;
  font-size: 10px;
  font-weight: 800;
  background: var(--orange);
  color: white;
  padding: 2px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.loc-status-open { display: flex; align-items: center; gap: 8px; }
.loc-status-dot-open { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink:0; }
.loc-status-dot-closed { width: 8px; height: 8px; background: var(--red); border-radius: 50%; flex-shrink:0; }
.loc-addr { font-size: 14px; font-weight: 700; color: var(--text); }
.loc-closed-text { font-size: 14px; font-weight: 700; color: var(--red); }

/* ---- ADMIN GRID ---- */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.admin-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px;
}
.admin-card-title {
  font-family: 'Bangers', cursive;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.admin-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Planning form days */
.planning-day-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid var(--card-border);
}
.planning-day-row:last-child { border-bottom: none; }
.planning-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.planning-day-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.planning-day-closed-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}
.planning-day-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  transition: all 0.2s;
}
.planning-day-input:focus { outline: none; border-color: var(--orange); }
.planning-day-input:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 9px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}
.form-select option { background: #1A1A2E; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { color: var(--red); font-size: 12px; margin-top: 6px; }

/* ---- UPLOAD ZONE ---- */
.upload-zone {
  border: 2px dashed var(--card-border);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.upload-zone:hover { border-color: var(--orange); background: rgba(255,107,0,0.04); }
.upload-icon { font-size: 32px; margin-bottom: 6px; }
.upload-text { font-size: 13px; color: var(--text-muted); }
.img-preview {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
  border: 1px solid var(--card-border);
}
.img-preview-small {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
  border: 1px solid var(--card-border);
}

/* ---- SWITCH / TOGGLE ---- */
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 14px;
}
.switch-title { font-size: 14px; font-weight: 800; }
.switch-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.toggle { position: relative; display: inline-block; width: 50px; height: 28px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--card-border);
  border-radius: 28px;
  cursor: pointer;
  transition: 0.3s;
}
.toggle-track::before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.toggle input:checked + .toggle-track { background: var(--gold); }
.toggle input:checked + .toggle-track::before { transform: translateX(22px); }

/* Closed toggle checkbox */
.closed-checkbox {
  width: 16px; height: 16px;
  accent-color: var(--red);
  cursor: pointer;
}

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  animation: modalIn 0.28s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
.modal-large { max-width: 520px; }
.modal-sm { max-width: 360px; }
@keyframes modalIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
  border-radius: 20px 20px 0 0;
}
.modal-title {
  font-family: 'Bangers', cursive;
  font-size: 26px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  width: 30px; height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: rgba(204,0,0,0.15); color: var(--red); border-color: var(--red); }
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.modal-actions .btn { flex: 1; }

/* ---- TOAST ---- */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease both;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--blue); }
@keyframes toastIn {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(60px); opacity: 0; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--darker); }
::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ================================================
   RESPONSIVE — Tablette (≤ 1024px)
   ================================================ */
@media (max-width: 1024px) {
  .pizza-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    padding: 0 16px 48px;
  }
  .home-grid {
    padding: 24px 16px 48px;
    gap: 16px;
  }
  .admin-grid {
    padding: 0 16px 48px;
  }
  .localisation-week {
    padding: 0 16px 48px;
  }
  .page-header {
    padding: 36px 16px 24px;
  }
}

/* ================================================
   RESPONSIVE — Mobile (≤ 768px)
   ================================================ */
@media (max-width: 768px) {

  /* NAV */
  :root { --nav-h: 58px; }
  nav { padding: 0 14px; gap: 8px; }
  .nav-hamburger { display: flex; }
  .nav-tabs {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(4,4,10,0.99);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 10px 12px 16px;
    border-bottom: 1px solid var(--card-border);
    gap: 4px;
    z-index: 99;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .nav-tabs.open { display: flex; }
  .nav-tab {
    text-align: center;
    padding: 11px 16px;
    font-size: 15px;
    border-radius: 10px;
  }
  #nav-user-email { display: none; }
  .logo-text { font-size: 20px; }
  .btn-outline-gold,
  .btn-ghost-red { font-size: 12px; padding: 6px 10px; }

  /* HERO */
  .hero { min-height: 520px; }
  .hero-content { padding: 36px 16px 60px; }
  .hero-title { letter-spacing: 1px; }
  .hero-desc { font-size: 15px; }
  .hero-balls { gap: 10px; }
  .dragonball { font-size: 22px; }
  /* Facebook wrapper — plus de marge sur mobile */
  .hero-fb-wrapper { bottom: 22px; }


  /* HOME GRID */
  .home-grid {
    display: flex;
    flex-direction: column;
    padding: 20px 14px 40px;
    gap: 16px;
  }
  .home-card { padding: 20px 16px; }
  .card-title { font-size: 20px; margin-bottom: 14px; }

  /* TODAY LOCATION */
  .today-open { padding: 14px; gap: 12px; }
  .today-icon { font-size: 28px; }
  .today-address { font-size: 16px; }
  .week-preview { gap: 5px; }

  /* PIZZA DU MOMENT */
  .pizza-moment-img { width: 130px; height: 130px; }
  .pizza-moment-placeholder { width: 130px; height: 130px; }
  .pizza-moment-name { font-size: 24px; }
  .pizza-moment-price-tag { font-size: 18px; }

  /* PAGES */
  .page-header { padding: 28px 14px 18px; }
  .page-title { font-size: 28px; }
  .page-subtitle { font-size: 13px; }

  /* PIZZA GRID */
  .pizza-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 0 14px 40px;
  }
  .pizza-card-img,
  .pizza-card-img-ph { height: 150px; }
  .pizza-card-img-ph { font-size: 48px; }
  .pizza-card-body { padding: 12px 14px; }
  .pizza-card-name { font-size: 18px; }
  .pizza-card-price { font-size: 15px; }
  .pizza-card-actions { flex-direction: column; gap: 6px; }
  .pizza-card-actions .btn { width: 100%; }

  /* LOCALISATION */
  .localisation-week {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 14px 40px;
  }
  .loc-day-card { padding: 14px; }
  .loc-day-name { font-size: 17px; }

  /* ADMIN */
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 14px 40px;
  }
  .admin-card { padding: 18px 16px; }
  .admin-card-title { font-size: 19px; }
  .form-row { grid-template-columns: 1fr; }
  .planning-day-row { gap: 8px; }

  /* MODAL */
  .modal {
    padding: 22px 18px;
    border-radius: 16px;
    max-height: 95vh;
  }
  .modal-large { max-width: 100%; }
  .modal-title { font-size: 22px; margin-bottom: 16px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }

  /* TOAST */
  #toast-container {
    bottom: 16px;
    right: 12px;
    left: 12px;
  }
  .toast { max-width: 100%; }
}

/* ================================================
   RESPONSIVE — Petit mobile (≤ 480px)
   ================================================ */
@media (max-width: 480px) {

  .pizza-grid {
    grid-template-columns: 1fr;
  }
  .localisation-week {
    grid-template-columns: 1fr;
  }
  .pizza-card-img,
  .pizza-card-img-ph { height: 200px; }
  .pizza-card-img-ph { font-size: 64px; }

  .hero { min-height: 500px; }
  .hero-content { padding: 30px 12px 50px; }
  .hero-fb-wrapper { bottom: 20px; }

  .switch-row { gap: 10px; }
  .switch-title { font-size: 13px; }
  .switch-sub { font-size: 10px; }

  .planning-day-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---- MODAL INGRÉDIENTS ---- */
.modal-ingredients-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 4px;
}
.modal-ingredients-img-wrap .ing-img-ph {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(204,0,0,0.08));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  margin-bottom: 4px;
}
.modal-ing-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.modal-ing-price {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  font-size: 18px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 10px;
}
.modal-ing-taille {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
}
.modal-ing-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin-bottom: 10px;
}
.modal-ing-text {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
}
/* Clickable ingredients on card */
.pizza-card-ingredients {
  cursor: pointer;
  transition: color 0.2s;
}
.pizza-card-ingredients:hover { color: var(--orange); }
.ing-read-more {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  cursor: pointer;
}

/* ---- FORMATAGE TEXTE INGRÉDIENTS ---- */

/* Carte pizza : zone tronquée — on coupe après 2 lignes */
.pizza-card-ingredients {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Les span internes restent inline-block pour respecter
     les sauts de ligne tout en permettant le clamp */
}
.pizza-card-ingredients span {
  display: inline !important; /* override pour le clamp */
}
.pizza-card-ingredients span + span::before {
  content: ' · '; /* séparateur visuel entre lignes tronquées */
  color: var(--text-dim);
}

/* Modal ingrédients : affichage complet avec mise en forme */
.modal-ing-text span {
  display: block !important;
  min-height: 1.2em; /* ligne vide = espace réel */
}
.modal-ing-text span:empty {
  height: 0.6em;
}

/* Pizza du moment accueil : affichage complet */
.pizza-moment-ingredients span {
  display: block;
  min-height: 1.2em;
}

/* ---- BANDEAU INSTALLATION PWA ---- */
#pwa-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 0 env(safe-area-inset-bottom) 0;
  animation: slideUp 0.4s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#pwa-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  border-top: 2px solid var(--orange);
  box-shadow: 0 -8px 32px rgba(255,107,0,0.2);
  padding: 14px 16px;
}
#pwa-banner img {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}
#pwa-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#pwa-banner-text strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
#pwa-banner-text span {
  font-size: 12px;
  color: var(--text-muted);
}
#pwa-install-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: white;
  border: none;
  border-radius: 9px;
  padding: 9px 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255,107,0,0.35);
}
#pwa-dismiss-btn {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#pwa-dismiss-btn:hover { border-color: var(--red); color: var(--red); }

/* ---- NUMÉRO DE CONTACT HERO ---- */
#hero-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}
#hero-phone a[href^="tel"] {
  margin-top: 16px;
  margin-bottom: 0;
}
/* Bloc téléphone + Facebook ancré en bas du hero */
.hero-fb-wrapper {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-phone-link {
  font-family: 'Bangers', cursive;
  font-size: clamp(26px, 5vw, 44px);
  letter-spacing: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.hero-phone-link:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════
   DRAG & DROP PIZZAS
   ═══════════════════════════════════════════ */

/* Bloque TOUT pendant le drag */
body.dragging {
  user-select: none !important;
  -webkit-user-select: none !important;
  -ms-user-select: none !important;
  touch-action: none !important;
  overflow: hidden !important;
  cursor: grabbing !important;
}
body.dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: grabbing !important;
}

/* Curseur grab sur les cartes admin */
.pizza-grid .pizza-card {
  cursor: grab;
  position: relative;
}

/* Carte source — invisible pendant le drag */
.pizza-card.drag-source {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ghost — carte flottante */
.drag-ghost {
  position: absolute !important;
  z-index: 1000;
  pointer-events: none !important;
  opacity: 0.95;
  transform: rotate(2.5deg) scale(1.05);
  box-shadow: 0 24px 64px rgba(255,107,0,0.45), 0 8px 24px rgba(0,0,0,0.6);
  border: 2px solid var(--orange) !important;
  border-radius: 16px;
  transition: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  will-change: left, top;
}

/* Placeholder — zone cible en pointillés */
.drag-placeholder {
  background: rgba(255,107,0,0.05);
  border: 2px dashed rgba(255,107,0,0.5);
  border-radius: 16px;
  pointer-events: none;
  transition: all 0.1s ease;
}

/* Indicateur visuel drag (admin) */
.pizza-grid .pizza-card::after {
  content: '⠿⠿';
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.12);
  letter-spacing: 2px;
  pointer-events: none;
  transition: color 0.2s;
}
.pizza-grid .pizza-card:hover::after {
  color: rgba(255,107,0,0.6);
}

/* ---- BOUTON NOS PIZZAS (pizza du moment) ---- */
.btn-nos-pizzas {
  font-family: 'Bangers', cursive;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold);
  background: transparent;
  border: 2px solid rgba(255,215,0,0.5);
  border-radius: 9px;
  padding: 4px 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nos-pizzas:hover {
  background: rgba(255,215,0,0.12);
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(255,215,0,0.2);
}

/* ---- BOUTON FACEBOOK (hero accueil) ---- */

.hero-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* Police système normale — rien à voir avec Bangers */
  font-family: 'Nunito', sans-serif !important;
  font-style: normal !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--gold), var(--orange), var(--red));
  border: none;
  border-radius: 10px;
  padding: 9px 18px 9px 10px;
  text-decoration: none !important;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,0,0.4);
  line-height: 1;
}
/* Icône ronde "f" façon Facebook */
.hero-fb-btn::before {
  content: 'f';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: white;
  color: var(--orange);
  border-radius: 50%;
  font-family: Georgia, serif !important;
  font-style: italic !important;
  font-weight: 900 !important;
  font-size: 17px !important;
  line-height: 1;
  flex-shrink: 0;
}
.hero-fb-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255,107,0,0.55);
  color: #ffffff !important;
}

/* Flammes du numéro — couleur native emoji */
.phone-fire {
  -webkit-text-fill-color: initial;
  background: none;
  font-style: normal;
}
/* Numéro seul — dégradé orange→rouge */
.phone-num {
  background: linear-gradient(90deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 6px;
}

/* ── BOUTONS HEADER CARTE ── */
.carte-header-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── CARTE IMAGE PLEIN FORMAT ── */
.carte-image-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  grid-column: 1 / -1;
  max-width: 700px;
  width: 100%;
  justify-self: center;
}
.carte-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,107,0,0.15);
  border-color: rgba(255,107,0,0.4);
}
.carte-full-img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}
.carte-full-img:hover { opacity: 0.9; }
.carte-image-actions {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
}

/* ── PLEIN ÉCRAN IMAGE ── */
#fullscreen-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#fullscreen-overlay.open { display: flex; }
#fullscreen-img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(255,107,0,0.2);
}

/* ── ADMIN ACTIONS PIZZA DU MOMENT ── */
.pizza-moment-admin-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* ── Taille + prix pizza du moment ── */
.pizza-moment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.pizza-moment-taille {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 10px;
}

/* ── Notre Carte (accueil) ── */
#home-carte-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.home-carte-thumb {
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--card-border);
  width: 100%;
}
.home-carte-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,107,0,0.2);
  border-color: rgba(255,107,0,0.4);
}
.home-carte-thumb img {
  width: 100%;
  display: block;
}

/* ══════════════════════════════════
   MENTIONS LÉGALES
   ══════════════════════════════════ */
.mentions-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mentions-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.mentions-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}
.mentions-card-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.mentions-card-title {
  font-family: 'Bangers', cursive;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.mentions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mentions-row {
  display: flex;
  gap: 16px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: 9px;
  border: 1px solid var(--card-border);
  align-items: flex-start;
}
.mentions-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  min-width: 110px;
  flex-shrink: 0;
  padding-top: 2px;
}
.mentions-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}
.mentions-value a {
  color: var(--gold);
  text-decoration: none;
}
.mentions-value a:hover { text-decoration: underline; }
.mentions-value small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.mentions-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── FOOTER DJOSITE ── */
.djositefooter {
  text-align: center;
  padding: 18px 24px 28px;
  border-top: 1px solid var(--card-border);
  margin-top: 10px;
}
.djositefooter a {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s, opacity 0.1s;
}
.djositefooter a:hover { color: var(--orange); }
.djositefooter a:active { opacity: 0.4; }
.djositefooter a strong { color: var(--orange); }

/* ── PAIEMENT ACCEPTÉ ── */
.payment-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.25);
  border-radius: 10px;
}
.payment-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  width: 100%;
}
.payment-item {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
}
.payment-sep {
  font-size: 12px;
  color: var(--text-dim);
}

/* ── BLOC PAIEMENT ── */
.payment-bloc {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid var(--gold);
}
.payment-bloc .card-title {
  margin-bottom: 8px;
}
.payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;
}
.payment-method-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
}
.payment-method-sep {
  font-size: 13px;
  color: var(--text-dim);
}
@media (max-width: 768px) {
  .payment-bloc {
    margin-top: 28px !important;
    padding-top: 20px !important;
    border-top: 2px solid var(--gold) !important;
  }
  .payment-bloc .card-title {
    margin-bottom: 8px !important;
  }
}

/* ══ AUTOCOMPLETE OPENSTREETMAP ══════════════════════════════ */
.autocomplete-wrap { position: relative; width: 100%; }
.ac-dropdown {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--card-bg); border: 1px solid var(--orange);
  border-top: none; border-radius: 0 0 10px 10px;
  list-style: none; z-index: 300; max-height: 220px; overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.ac-dropdown:empty { display: none; }
.ac-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 14px; cursor: pointer; font-size: 13px;
  font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--card-border);
  transition: background 0.15s; line-height: 1.4;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: rgba(255,107,0,0.12); color: var(--gold); }
.ac-icon { flex-shrink: 0; font-size: 14px; margin-top: 1px; }
.ac-text { flex: 1; }
.ac-no-result { color: var(--text-muted); cursor: default; font-style: italic; }
.ac-no-result:hover { background: none; color: var(--text-muted); }

/* ══ BOUTON Y ALLER ═════════════════════════════════════════ */
.btn-yaller {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; margin-top: 12px;
  background: linear-gradient(135deg, #1a7fe8, #0f5fc4);
  color: #fff !important; font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 800; padding: 10px 20px;
  border-radius: 10px; text-decoration: none !important; border: none;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(26,127,232,0.35);
}
.btn-yaller:hover {
  background: linear-gradient(135deg, #1570d4, #0a4eab);
  transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26,127,232,0.5);
  color: #fff !important;
}
.btn-yaller-sm { font-size: 13px; padding: 7px 14px; margin-top: 8px; width: auto; border-radius: 8px; }
