:root {
  --header-height: 70px;
  --nav-height: 95px;
  --primary: #c40000;
  --dark-bg: #0b0b0b;
  --light-bg: #f5f5f5;
  --gold: #bfa35a;
}

/* ===============================
   RESET & BASE
================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body{
  overflow-x:hidden;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', Arial, sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(191,163,90,0.06), transparent 60%),
    #0b0b0b;
}

/* ===============================
   HEADER
================================= */

.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  color: white;
}
.topbar {
  height: 70px; /* au lieu de 85 */
  padding-top: 6px;
}
.logo span {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}
.tagline {
  font-size: 9px;
  letter-spacing: 5px;
  opacity: 0.4;
  color: #f5f5f5; 
  margin-top: 3px;
}

/* ===============================
   PAGE SYSTEM
================================= */

.page {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100dvh - var(--header-height) - var(--nav-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  transform: translateY(30px) scale(0.98);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1),
              opacity 0.35s ease;
              scroll-behavior:smooth;
}

.page.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  z-index: 3;
}

/* ===============================
   THEMES
================================= */

.dark {
  background: var(--dark-bg);
  color: white;
}

.light {
  background: var(--light-bg);
  color: #111;
}


/* ===============================
   HERO HOME – STORY
================================= */

#home {
  padding: 0;
}

.hero-story {
  position: relative;
  height: 100%;
  width: 100%;

  background-image: url('/image/pizza-lady-vilanova.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 25%; /* 👈 là ça marche */

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-story::after {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 40%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.85) 100%
  );
}
.hero-story {
  background-position: center 65% !important;
}

.hero-story h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.hero-content {
  background: rgba(0,0,0,0.65);
  border-radius: 18px;
  padding: 22px;
  max-width: 320px;

  border: 1px solid rgba(191,163,90,0.2); /* petit contour gold */
}

.story-strong {
  font-family: 'Cormorant Garamond', serif;
   font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--gold);
  margin: 25px 0;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(191,163,90,0.25);
  opacity: 0;
  animation: fadeUp 1.1s ease-out forwards;
  animation-delay: 0.3s;
}

.story-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
  opacity: 0.5;
}

.story-sub {
  font-size: 15px;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  margin-top: 12px;
  letter-spacing: 0.5px;
}
.story-strong {
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeUp 0.9s ease-out forwards;
}
/* ===============================
   HERO SEMANAL
================================= */
.hero-premium {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px 120px;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    background-size: 100%;
  }
  to {
    background-size: 110%;
  }
}
.hero-premium .hero-content {
  max-width: 360px;
}
#chefPrice {
  font-size: 18px;
  letter-spacing: 2px;
  margin: 10px 0 20px;
  color: var(--gold);
}
.hero-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(0,0,0,0.9) 15%,
      rgba(0,0,0,0.4) 60%,
      rgba(0,0,0,0.2) 100%
  );
}

.badge {
  font-size: 12px;
  letter-spacing: 4px;
  opacity: 0.8;
}

.limited {
  font-size: 12px;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(225,6,0,0.6);
}
/* ===============================
   BUTTON
================================= */

.main-btn {
  background: linear-gradient(135deg, #C6A85A, #E6C77A);
  padding: 14px 32px;
  border-radius: 14px;
  border: none;
  color: #111;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
}

.main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198,168,90,0.35);
}

/* ===============================
   MENU GRID
================================= */
#menu {
  padding: 40px 20px 60px;
  text-align: center;
}

#menu h2 {
  letter-spacing: 2px;
}

#menu p {
  max-width: 380px;
  margin: 0 auto 20px;
  opacity: 0.8;
}


.menu-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  width:100%;
}
.pizza-count{
position:absolute;
top:8px;
right:8px;
background:#C6A85A;
color:#111;
font-size:12px;
font-weight:600;
padding:4px 7px;
border-radius:8px;
display:none;
}
.menu-card {
  position:relative;
  width:100%;
  max-width:100%;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(191,163,90,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transition: all 0.35s ease;
  cursor:pointer;
}
.menu-card.added{
animation:pizzaAdd .35s ease;
}

@keyframes pizzaAdd{

0%{
transform:scale(1);
}

50%{
transform:scale(1.05);
box-shadow:0 0 25px rgba(198,168,90,0.4);
}

100%{
transform:scale(1);
}

}
.menu-card.featured {
  border: 1px solid #C6A85A;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}
.menu-card.locked{
  filter: brightness(0.5) blur(1px);
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(191,163,90,0.4);
}
.menu-card:active{
transform:scale(0.96);
}
.menu-card.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.menu-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.menu-card img{
  width:100%;
  height:150px;
  will-change: transform;
  object-fit:cover;
  display:block;
}

.menu-card:hover img {
  transform: scale(1.05);
}

.menu-card .info {
  padding: 16px;
  background: #111; /* cohérence premium */
  color: #f2f2f2;
  font-family: 'Cormorant Garamond', serif;
}

.menu-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #C6A85A;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.menu-card p {
  margin: 0 0 8px;
  font-size: 14px;
  opacity: 0.8;
}
.menu-card.locked{
  filter: brightness(0.5);
}

.menu-card.locked::after{
  content:"Disponible a las 19:00";
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;

  font-family:'Cormorant Garamond', serif;
  font-size:20px;
  letter-spacing:1.5px;
  text-transform:uppercase;

  color:#C6A85A;
  background:rgba(0,0,0,0.6);
}
.price {
  color: #C6A85A;
  font-weight: 600;
  font-size: 16px;
}
#cart{
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;


}
/* FEATURED FULL WIDTH */
.menu-card.featured {
  grid-column: span 2;
   grid-column:1 / -1;
}
.menu-intro{
max-width:420px;
margin:35px auto 45px auto;
text-align:center;

font-size:15px;
line-height:1.7;
letter-spacing:0.3px;

color:#f2f2f2;
opacity:0.85;
}

.menu-intro strong{
color:#C6A85A;
font-weight:500;
}

.menu-intro::after{
content:"";
display:block;
width:40px;
height:1px;
background:#C6A85A;
margin:18px auto 0 auto;
opacity:0.4;
}
.hero-rating{
margin-top:18px;
text-align:center;
font-size:14px;
opacity:0.9;
}

.hero-rating .stars{
color:#C6A85A;
letter-spacing:3px;
font-size:18px;
}

.hero-rating a{
display:block;
margin-top:6px;
font-size:13px;
color:#C6A85A;
text-decoration:none;
}

.hero-rating a:hover{
opacity:0.7;
}
/* ===============================
   CLUB ANGELY CARD
================================= */
#uid{
  font-size:18px;
  margin-bottom:6px;
}
.loyalty-card {
  background: linear-gradient(145deg, #111, #1a1a1a);
  padding:28px 24px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  text-align: center;
  max-width: 420px;
  margin: auto;
  border: 1px solid rgba(201,163,78,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
   min-height:auto;
}
.loyalty-card h2{
  font-size:24px;
  margin-bottom:10px;
}
/* ===============================
   SCROLL REVEAL ANIMATION
================================= */
.menu-card:nth-child(1) { transition-delay: 0.1s; }
.menu-card:nth-child(2) { transition-delay: 0.2s; }
.menu-card:nth-child(3) { transition-delay: 0.3s; }
.menu-card:nth-child(4) { transition-delay: 0.4s; }
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   FLAMES FIDELITY
================================= */

.points-visual{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:20px 0;
}

.flame{
 width:42px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0.25;
  transition:all .35s ease;
}

.flame.active{
  opacity:1;
  transform:scale(1.25);
  transition:all .35s ease;
}

.flame.active .flame-svg{
  fill:#f3d27a;
  filter:drop-shadow(0 0 14px rgba(243,210,122,0.8));
}
.flame.last{
  transform:scale(1.35);
}

.flame.last .flame-svg{
  filter:
    drop-shadow(0 0 16px rgba(243,210,122,0.9))
    drop-shadow(0 0 30px rgba(243,210,122,0.6));
}
.flame.almost.active{
  animation: glowPulse 1.8s infinite ease-in-out;
}

@keyframes glowPulse{
  0%{
    transform:scale(1.25);
  }
  50%{
    transform:scale(1.35);
  }
  100%{
    transform:scale(1.25);
  }
}
.inline-flame{
width:18px;
height:18px;
fill:#f3d27a;
vertical-align:-3px;
margin-right:6px;
}
/* ===============================
   QR & MESSAGE
================================= */

#remainingMessage {
  opacity: 0.8;
  font-size: 14px;
  margin-top: 10px;
}

.qr-container {
  margin-top: 18px;
}

#qrcode {
  background: white;
  padding: 12px;
  border-radius: 16px;
  display: inline-block;
}
.qr-code{
background:white;
padding:12px;
border-radius:16px;
display:inline-block;
}

.qr-code canvas{
display:block;
}
.qr-container small {
  display: block;
  margin-top: 8px;
  opacity: 0.6;
}

/* ===============================
   LOYALTY MINIMAL HOME
================================= */

.loyalty-minimal-home {
  position: absolute;
  bottom: 90px; /* juste au-dessus de la nav */
  width: 100%;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--gold);
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 3;
}

.loyalty-minimal-home:hover {
  opacity: 1;
  transform: translateY(-2px);
}
/* ===============================
   NAVIGATION
================================= */

.nav-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  padding: 14px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
}

.nav-item {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(191,163,90,0.7);
  cursor: pointer;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  margin-bottom: 4px;
}
.nav-item.active span {
  font-weight: 600;
}
.nav-item.active {
   color:#f5f5f5;
}

.nav-item.active svg {
  filter: drop-shadow(0 0 6px rgba(191,163,90,0.5));
fill:#d4af37;

}

/* ===============================
   CENTER BUTTON (FLAME SVG)
================================= */
#centerLabel{
display:none;
}
.center-label{
  margin-bottom:6px;
position:absolute;
bottom:75px;
left:50%;
transform:translateX(-50%);
font-size:10px;
letter-spacing:2px;
color:#C6A85A;
opacity:0.8;
}
.center-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #181818, #0b0b0b);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -26px;
  border: 1px solid rgba(191,163,90,0.4);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.center-btn::after {
  display: none;
}
.center-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 20px rgba(201,163,78,0.7),
    0 10px 25px rgba(0,0,0,0.6);
}
.center-btn.active {
  box-shadow:
    0 0 20px rgba(191,163,90,0.6),
    0 10px 25px rgba(0,0,0,0.6);
  border: 1px solid #E6C77A;
}
.center-icon{
  width:26px;
  height:26px;
  fill: var(--gold);
}
/* ===============================
   WHATSAPP
================================= */

.whatsapp-btn {
  position: fixed;
  bottom: 110px;
  right: 20px;
  background: var(--primary);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
/* Espace bouton WhatsApp menu */
.menu-cta {
  text-align: center;
  margin: 70px 0 0;
}
/* ===============================
   POSTRES
================================= */
#postres h2,
#postres p{
  text-align:center;
  max-width:420px;
  margin-left:auto;
  margin-right:auto;
}
#postres h2{
letter-spacing:2px;
margin-bottom:12px;
}

#postres p{
opacity:0.8;
margin-bottom:25px;
}
#postres {
 padding: 50px 20px calc(var(--nav-height) + 40px);
}
#postres::after {
  content: "";
  display: block;
  height: calc(var(--nav-height) + 20px);
}
.dessert-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:18px;
margin-top:40px;
}
.dessert-card{
  cursor: pointer;
}
/* ===============================
   FIDELIDAD
================================= */
.loyalty-login {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centre vertical */
  align-items: center;       /* centre horizontal */
  text-align: center;
}
.loyalty-login input {
  display: block;
  width: 260px;
  max-width: 80%;
  margin: 20px auto;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(191,163,90,0.3);
  background: #111;
  color: white;
  text-align: center;
}
#fidelite{
padding:20px;
overflow-y:auto;
margin-top:5px;
}

.center-btn.active {
  box-shadow:
    0 0 20px rgba(191,163,90,0.6),
    0 10px 25px rgba(0,0,0,0.6);
  border: 1px solid #E6C77A;
}
.token-img{
  width:140px;
  margin-top:20px;
  animation: tokenAppear .6s ease, tokenGlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(191,163,90,0.6));
}

@keyframes tokenGlow{
  0%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.05);
  }
  100%{
    transform:scale(1);
  }
}
/* ===============================
   DESSERT CARD
================================= */

.dessert-card {
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(191,163,90,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transition: transform 0.4s ease, 
              box-shadow 0.4s ease, 
              border 0.4s ease;
}

.dessert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
  border-color: rgba(191,163,90,0.5);
}

/* ===============================
   IMAGE
================================= */

.dessert-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.dessert-image{
height:160px;
background-size:cover;
background-position:center;
}
.dessert-card:hover .dessert-image {
  transform: scale(1.04);
}
.dessert-card{
display:flex;
flex-direction:column;
height:100%;
}
.dessert-intro{
max-width:420px;
margin:35px auto 45px auto;
text-align:center;

font-size:15px;
line-height:1.7;
letter-spacing:0.3px;

color:#f2f2f2;
opacity:0.85;
}

.dessert-intro::after{
content:"";
display:block;
width:40px;
height:1px;
background:#C6A85A;
margin:18px auto 0 auto;
opacity:0.4;
}
.dessert-info .price{
margin-top:4px;
text-align:left;
}
/* ===============================
   TEXT
================================= */

.dessert-info {
  padding: 22px;
}

.dessert-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.dessert-info .price {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
}

.gold{
color:#C6A85A;
}

/* Note fin de semaine */
.dessert-note {
  font-size: 12px;
  opacity: 0.5;
  margin-top: -5px;
  margin-bottom: 35px;
  letter-spacing: 0.5px;
}

/* ===============================
   REVEAL SOFT – POSTRES
================================= */

.reveal-soft {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal-soft.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   HERO CTA (BOUTON PIZZAS)
================================= */

.hero-cta{
  margin-top: 28px;
}
.hero-content {
  transform: translateY(-10px);
}
.hero-btn {
  background: var(--gold);
  color: #0b0b0b;
  border: none;

  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 1px;

  box-shadow: 0 6px 25px rgba(198,168,90,0.4);
}

.hero-rating {
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.hero-invite{
  font-size:13px;
  opacity:0.75;
  margin-top:10px;
  letter-spacing:0.4px;
}
.hero-btn:hover{
  background: rgba(191,163,90,0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(191,163,90,0.2);
}
.ritual-text{
  font-size:14px;
  line-height:1.6;
  opacity:0.8;
  margin:10px 0 20px 0;
}
.qty-controls{
display:flex;
align-items:center;
justify-content:center;
gap:12px;
margin-top:10px;
}

.qty-controls button{
background:#C6A85A;
border:none;
width:28px;
height:28px;
border-radius:6px;
font-size:18px;
font-weight:600;
color:#111;
cursor:pointer;
}
.qty-controls button:active{
transform:scale(0.9);
box-shadow:0 0 10px rgba(191,163,90,0.6);
}
.qty{
min-width:18px;
text-align:center;
font-weight:600;
color:#C6A85A;
}
.cart-badge{
position:absolute;
top:-6px;
right:-6px;
background:#C6A85A;
color:#111;
font-size:12px;
font-weight:700;
width:20px;
height:20px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 0 10px rgba(0,0,0,0.6);
}
/* ======================================================
   PANIER GLOBAL
====================================================== */

.cart-badge{
position:absolute;
top:-6px;
right:-6px;
background:#C6A85A;
color:#111;
font-size:12px;
font-weight:700;
width:20px;
height:20px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 0 10px rgba(0,0,0,0.6);
}


/* ======================================================
   MINI PANIER (PAGE PIZZAS)
====================================================== */

.mini-cart-line{
display:grid;
grid-template-columns:1fr auto;
align-items:center;
max-width:260px;
margin:6px auto;
gap:10px;
font-size:14px;
}

.mini-cart-line span{
text-align:left;
}

.mini-controls{
display:flex;
align-items:center;
gap:8px;
}

.mini-controls span{
min-width:18px;
text-align:center;
font-weight:600;
color:#C6A85A;
}

.mini-controls button{
width:24px;
height:24px;
border-radius:5px;
border:none;
background:#C6A85A;
color:#111;
font-weight:600;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
transition:transform .15s ease;
}

.mini-controls button:active{
transform:scale(0.9);
}


/* ======================================================
   PANIER PAGE COMMANDE
====================================================== */
#cart.oven-sleep{
background:
linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.)),
url("/image/fire.jpg") center 50% / cover no-repeat;
}
#cartItems{
max-width:420px;
margin:30px auto;
font-size:15px;
line-height:1.6;
}

.cart-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 0;
border-bottom:1px solid rgba(191,163,90,0.12);
}

.cart-name{
font-size:15px;
letter-spacing:0.5px;
}
.cart-info{
display:flex;
flex-direction:column;
}

.cart-name{
  font-family:'Cormorant Garamond', serif;
  letter-spacing:1.5px;
  font-size:20px; /* 🔥 PLUS GROS */
  color:#C6A85A; /* 🔥 GOLD = premium */
  text-transform:uppercase;
}

.cart-price{
  font-size:14px;
  opacity:0.7;
  letter-spacing:1px;
  color:#C6A85A;
}
.cart-controls{
display:flex;
align-items:center;
gap:12px;
}

.cart-controls span{
min-width:20px;
text-align:center;
font-weight:600;
color:#C6A85A;
}

.cart-controls button{
width:30px;
height:30px;
border-radius:6px;
border:none;
background:#C6A85A;
color:#111;
font-size:18px;
font-weight:600;
cursor:pointer;
transition:transform .15s ease, box-shadow .2s ease;
}

.cart-controls button:active{
transform:scale(0.9);
box-shadow:0 0 8px rgba(191,163,90,0.6);
}


/* ======================================================
   TOTAL PANIER
====================================================== */

#cartTotal{
text-align:center;
font-size:18px;
margin-top:14px;
color:#C6A85A;
font-weight:600;
}


/* ======================================================
   BOUTON VIDER PANIER
====================================================== */

.cart-clear{
margin-top:14px;
background:none;
border:1px solid rgba(191,163,90,0.4);
color:#C6A85A;
padding:10px 18px;
border-radius:10px;
font-size:14px;
cursor:pointer;
transition:all .2s ease;
}

.cart-clear:hover{
background:rgba(191,163,90,0.12);
}


/* ======================================================
   INPUT ADRESSE
====================================================== */

#deliveryAddress{
width:80%;
max-width:320px;
padding:12px;
border-radius:10px;
border:1px solid rgba(191,163,90,0.3);
background:#111;
color:white;
text-align:center;
margin-bottom:16px;
}




/* ======================================================
   PANIER ACTIF (QUAND PIZZAS)
====================================================== */

.center-btn.has-items{
box-shadow:
0 0 15px rgba(191,163,90,0.6),
0 0 35px rgba(191,163,90,0.3);
border:1px solid #E6C77A;
animation:cartPulse 1.6s infinite;
}

.center-btn.has-items{
animation: cartGlow 2.5s ease-in-out infinite;
}

@keyframes cartGlow{
0%{
box-shadow:0 0 10px rgba(191,163,90,0.3);
}

50%{
box-shadow:
0 0 18px rgba(191,163,90,0.6),
0 0 40px rgba(191,163,90,0.25);
}

100%{
box-shadow:0 0 10px rgba(191,163,90,0.3);
}
}
/* ===============================
   PANIER ANIMATION
================================= */

.center-btn.has-items{
animation: cartFloat 1.8s ease-in-out infinite;
}

@keyframes cartFloat{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-6px);
}

100%{
transform:translateY(0);
}

}
.cart-badge.pop{
animation: badgePop .3s ease;
}

@keyframes badgePop{
0%{transform:scale(1)}
50%{transform:scale(1.35)}
100%{transform:scale(1)}
}
/* ===============================
   students
================================= */
.student-card{
max-width:360px;

padding:30px 20px;
background:linear-gradient(145deg,#111,#1a1a1a);
border-radius:20px;
border:1px solid rgba(191,163,90,0.2);
box-shadow:0 20px 40px rgba(0,0,0,0.6);
}

.student-pizzas{
font-size:30px;
letter-spacing:12px;
margin-bottom:12px;
}

.student-counter{
font-size:16px;
color:#C6A85A;
letter-spacing:1px;
}
*.student-card .section-title{
margin-bottom:8px;
}

.student-card .section-sub{
margin-bottom:25px;
opacity:0.8;
}
/* ===============================
   STUDENTS PIZZA ICONS
================================= */
#estudiantes{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-align:center;
padding:20px;
overflow-y:hidden;
}
#estudiantes .section-title{
margin-bottom:10px;
}
.student-card{
max-width:360px;
width:100%;
padding:30px 20px;

background:linear-gradient(145deg,#111,#1a1a1a);
border-radius:20px;
border:1px solid rgba(191,163,90,0.2);

box-shadow:0 20px 40px rgba(0,0,0,0.6);
}
#estudiantes .section-sub{
margin-bottom:30px;
}
.student-pizzas{
display:flex;
justify-content:center;
gap:14px;
margin-bottom:14px;
}

.pizza-icon{
width:32px;
height:32px;
fill:#5c4a25;
opacity:0.35;
transition:all .35s ease;
}

.pizza-icon.active{
fill:#f3d27a;
opacity:1;
transform:scale(1.25);
filter:drop-shadow(0 0 12px rgba(243,210,122,0.7));
}
/* ===============================
   OVEN REST MESSAGE
================================= */

.oven-rest{
text-align:center;
margin:10px 0 30px 0;
}

.oven-message h2{
font-size:18px;
letter-spacing:2px;
margin-bottom:6px;
}

.oven-message p{
opacity:0.75;
font-size:14px;
letter-spacing:0.04em;
margin-bottom:8px;
}

/* CONTENEUR DU COMPTEUR */

.oven-countdown{
display:flex;
justify-content:center;
gap:14px;
margin-top:12px;
font-family:'Cormorant Garamond', serif;
}

/* BLOCS HEURE / MIN / SEC */

.oven-time{
background:rgba(191,163,90,0.08);
border:1px solid rgba(191,163,90,0.25);
border-radius:10px;
padding:6px 10px;
min-width:46px;
text-align:center;
color:#C6A85A;
font-size:18px;
letter-spacing:2px;
box-shadow:0 0 10px rgba(191,163,90,0.15);
}

/* LABEL H M S */

.oven-time small{
display:block;
font-size:9px;
letter-spacing:1px;
opacity:0.6;
margin-top:2px;
}

/* ===============================
   OVEN SLEEP BACKGROUND
================================= */
#cart.oven-sleep{
background:
linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
url("/image/fire.jpg") center 50% / cover no-repeat;
}

#cart{
overflow-y:auto;
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
padding-bottom:120px;
}
.motivation-gold{
color:#C6A85A;
font-size:18px;
font-weight:500;
letter-spacing:0.5px;
}
.reward{
color:#C6A85A;
font-size:18px;
font-weight:600;
text-align:center;
text-shadow:0 0 10px rgba(198,168,90,0.4);
}
/* ===============================
   TOKEN REWARD COMPACT
================================= */

#rewardToken{
display:flex;
justify-content:center;
margin:10px 0 6px 0;
}

.token-img{
width:110px;
margin-top:8px;
}

/* QR plus proche du token */

.qr-container{
margin-top:8px;
}

#qrcode{
padding:10px;
border-radius:14px;
}
@keyframes tokenAppear{
0%{
opacity:0;
transform:scale(0.6);
}
100%{
opacity:1;
transform:scale(1);
}
}
#contacto{
text-align:center;
padding:40px 20px 60px;
}
#contacto .section-title,
#contacto .section-sub{
text-align:center;
margin-left:auto;
margin-right:auto;
}
#contacto .section-sub{
max-width:420px;
margin:0 auto 25px auto;
opacity:0.8;
}
.contact-card{
max-width:460px;
margin:20px auto;
background:#111;
border-radius:20px;
border:1px solid rgba(191,163,90,0.2);
overflow:hidden;
box-shadow:0 20px 40px rgba(0,0,0,0.6);
}
.contact-divider{
width:40px;
height:1px;
background:#C6A85A;
margin:25px auto;
opacity:0.4;
}
.contact-intro{
max-width:420px;
margin:10px auto 25px auto;
font-size:14px;
opacity:0.75;
line-height:1.6;
}
.contact-label{
display:flex;
align-items:center;
gap:8px;
color:#C6A85A;
font-weight:500;
margin-bottom:6px;
}
.contact-card iframe{
width:100%;
height:170px;
border:0;
border-radius:14px;
display:block;
margin:10px 0 5px 0;

filter:grayscale(0.4) contrast(1.1) brightness(0.9);

box-shadow:
0 8px 20px rgba(0,0,0,0.6),
inset 0 0 40px rgba(0,0,0,0.4);
}
.btn-sub{
display:block;
font-size:11px;
letter-spacing:1px;
margin-top:2px;
opacity:0.8;
}
.contact-buttons .main-btn{
flex:1;
max-width:150px;
text-align:center;
}
.contact-icon{
width:18px;
height:18px;
fill:#C6A85A;
opacity:0.9;
}
.contact-row{
margin-bottom:18px;
padding-bottom:12px;
border-bottom:1px solid rgba(191,163,90,0.12);
}

.contact-row:last-child{
border-bottom:none;
}
.contact-card iframe{
width:100%;
height:180px;
border:0;
border-radius:16px;
margin:15px 0;
display:block;
}
.contact-card{
padding:15px;
position:relative;
}

.contact-card::before{
content:"";
position:absolute;
top:0;
left:50%;
transform:translateX(-50%);
width:40px;
height:2px;
background:#C6A85A;
opacity:0.6;
}
#contacto .section-title{
letter-spacing:2px;
margin-bottom:12px;
}
.contact-buttons a{
text-decoration:none;
color:#111;
}
.contact-info{
border-top:1px solid rgba(191,163,90,0.15);
padding-top:15px;
}
.contact-buttons{
display:flex;
gap:12px;
justify-content:center;
margin-bottom:12px;
}
.contact-buttons .main-btn{
flex:1;
max-width:150px;
text-align:center;
padding:12px 16px;
border-radius:12px;
}
.contact-buttons a:hover{
text-decoration:none;
}
.contact-info{
padding:22px;
text-align:left;
font-size:14px;
line-height:1.7;
}

.contact-row{
margin-bottom:18px;
}
.contact-row span{
display:block;
line-height:1.6;
}
.contact-row:first-child{
margin-top:5px;
}
.contact-label{
display:flex;
align-items:center;
gap:10px;
color:#C6A85A;
font-weight:500;
margin-bottom:6px;
letter-spacing:0.8px;
font-size:13px;
}
.contact-info strong{
display:block;
margin-top:10px;
color:#C6A85A;
letter-spacing:0.5px;
}
.contact-buttons{
display:flex;
gap:12px;
justify-content:center;
padding:20px;
}
.map-wrapper{
position:relative;
}

.map-btn{
position:absolute;
top:10px;
right:10px;

display:flex;
align-items:center;
gap:6px;

background:rgba(0,0,0,0.75);
backdrop-filter:blur(6px);

color:#fff;
font-size:12px;
letter-spacing:0.5px;

padding:6px 10px;
border-radius:10px;

text-decoration:none;

border:1px solid rgba(191,163,90,0.3);
}

.map-btn svg{
width:14px;
height:14px;
fill:#C6A85A;
}

.map-btn:hover{
background:rgba(0,0,0,0.9);
}
.send-order-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  width:100%;
  padding:14px;

  background:#C6A85A;
  color:#000;

  border:none;
  border-radius:12px;

  font-weight:bold;
  font-size:16px;

  margin-top:12px;

  transition:0.2s;
}

.send-order-btn svg{
  width:18px;
  height:18px;
}

.send-order-btn:active{
  transform:scale(0.97);
}
.send-order-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  width:100%;
  padding:14px;

  background:#C6A85A;
  color:#000;

  border:none;
  border-radius:12px;

  font-weight:bold;
  font-size:16px;

  margin-top:12px;

  transition:0.2s;
}

.send-order-btn svg{
  width:18px;
  height:18px;
}

.send-order-btn:active{
  transform:scale(0.97);
}
.empty-cart{
  text-align:center;
  padding:40px 20px;
  color:#fff;
}

.empty-icon{
  font-size:40px;
  margin-bottom:10px;
}

.empty-cart h3{
  color:#C6A85A;
  margin-bottom:10px;
}

.empty-cart p{
  opacity:0.8;
  font-size:14px;
  margin-bottom:20px;
}

.back-menu-btn{
  background:#C6A85A;
  color:#000;
  padding:12px 20px;
  border:none;
  border-radius:10px;
  font-weight:bold;
}
.empty-icon{
  margin-bottom:20px;
}

.empty-icon svg{
  width:80px;
  height:80px;
  fill:#C6A85A;
  opacity:0.95;

  filter: drop-shadow(0 0 6px rgba(198,168,90,0.4));
  transition: transform 0.3s ease;
}

/* petit effet vivant */
.empty-icon svg:hover{
  transform: scale(1.05);
}

.inline-flame{
  width:18px;
  height:18px;
  fill:#C6A85A;
  vertical-align:middle;
  margin-left:4px;
  transform:translateY(-1px);
  animation: flamePulse 1.6s infinite ease-in-out;
}

@keyframes flamePulse {
  0% { transform: scale(1) translateY(-1px); opacity:0.9; }
  50% { transform: scale(1.15) translateY(-2px); opacity:1; }
  100% { transform: scale(1) translateY(-1px); opacity:0.9; }
}
#cart.empty{
  position: relative;
  overflow: hidden;
}
.empty-cart{
    padding-top: 80px;   /* espace header */
  padding-bottom: 120px; /* espace nav */
  position: relative;
  z-index: 2;

  height: 100%;
}
/* IMAGE FULL SCREEN */
#cart.empty::before{
  content:"";
  position:absolute;
  inset:0;

  background:url('/image/forno.jpg') center/cover no-repeat;

  z-index:0;
}

/* OVERLAY */
#cart.empty::after{
  content:"";
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.85),
      rgba(0,0,0,0.9),
      rgba(0,0,0,1)
    );

  z-index:1;
}
#cart.page.active{
  top: 0;
  height: 100dvh;
  padding-top: var(--header-height);
  padding-bottom: var(--nav-height);
}
#cart{
  display:flex;
  flex-direction:column;
  justify-content:center; /* centre vertical */
}
.phone-mode-box{
  border:1px solid rgba(191,163,90,0.4);
  border-radius:16px;
  padding:20px;
  margin:20px auto;
  max-width:320px;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(6px);
  box-shadow:0 0 20px rgba(191,163,90,0.15);
  animation:fadeUp 0.4s ease;
}

.phone-title{
  color:#C6A85A;
  font-size:16px;
  letter-spacing:1px;
  margin-bottom:10px;
}

.phone-sub{
  font-size:14px;
  opacity:0.8;
  margin-bottom:15px;
}

.phone-btn{
  display:inline-block;
  padding:12px 18px;
  background:#C6A85A;
  color:#000;
  border-radius:10px;
  font-weight:bold;
  text-decoration:none;
}
.phone-only-box{
  margin-top:20px;
  padding:25px 20px;

  border-radius:18px;

  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(8px);

  border:1px solid rgba(198,168,90,0.3);

  text-align:center;

  animation:fadeUp .5s ease;
}

.phone-title{
  color:#C6A85A;
  font-size:18px;
  font-weight:600;
  margin-bottom:10px;
  letter-spacing:0.5px;
}

.phone-sub{
  font-size:14px;
  opacity:0.8;
  line-height:1.6;
  margin-bottom:18px;
}

.phone-btn{
  display:inline-block;

  padding:14px 22px;

  background:#C6A85A;
  color:#000;

  border-radius:12px;
  font-weight:bold;

  text-decoration:none;

  transition:.2s;
}

.phone-btn:active{
  transform:scale(0.97);
}
.phone-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.75); /* 🔥 manquait dans ton code */

  z-index: 999;
}

/* boîte centrale clickable */
.phone-box {
  pointer-events: auto; /* 🔥 seulement le centre est actif */

  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);

  padding: 25px;
  border-radius: 15px;
  border: 1px solid #C6A85A;
}
.phone-box {
  animation: pop 0.3s ease;
}

@keyframes pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.phone-title{
  font-size:18px;
  color:#C6A85A;
  margin-bottom:10px;
}

.phone-sub{
  font-size:14px;
  opacity:0.85;
  margin-bottom:15px;
}

.phone-total{
  font-size:18px;
  color:#C6A85A;
  margin-bottom:15px;
}

.phone-btn{
  display:inline-block;
  padding:12px 18px;
  background:#C6A85A;
  color:#000;
  border-radius:10px;
  font-weight:bold;
  text-decoration:none;
}
.phone-details{
  margin:12px 0;
  padding:10px 0;

  border-top:1px solid rgba(198,168,90,0.2);
  border-bottom:1px solid rgba(198,168,90,0.2);
}
.phone-details button{
  background:#C6A85A;
  border:none;
  width:26px;
  height:26px;
  border-radius:6px;
  font-weight:bold;
}
.phone-details .clear-btn{
  margin-top:15px;
  width:100%;
  text-align:center;
}

.phone-details .clear-btn button{
  width:100%;
  padding:10px;
  border-radius:8px;
  background:transparent;
  border:1px solid #C6A85A;
  color:#C6A85A;
}
.icon{
  width:18px;
  height:18px;
  fill:#C6A85A;
  vertical-align:middle;
  margin-left:4px;
}

/* animation feu premium */
.icon{
  animation: flamePulse 1.6s infinite ease-in-out;
}

@keyframes flamePulse {
  0% { transform: scale(1); opacity:0.9; }
  50% { transform: scale(1.15); opacity:1; }
  100% { transform: scale(1); opacity:0.9; }
}

@keyframes pulseBtn{
  0%{
    box-shadow:0 0 0 rgba(191,163,90,0.15);
  }
  50%{
    box-shadow:
      0 0 25px rgba(191,163,90,0.45),
      0 0 60px rgba(191,163,90,0.15);
  }
  100%{
    box-shadow:0 0 0 rgba(191,163,90,0.15);
  }
}

.story-divider{
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto 18px;
  opacity: 0.7;
}
.story-text{
  display:flex;
  flex-direction:column;
  gap:4px;

  font-size:13px;
  line-height:1.6;
  opacity:0.65;
  letter-spacing:1px;
  text-transform:uppercase;
}
@media(max-width:480px){
  .seo-local{
    display:none;
  }
}
.story-sub{
  display:flex;
  flex-direction:column;
  gap:4px;

  font-size:14px;
  opacity:0.85;
  letter-spacing:0.5px;
}

/* option premium */
.story-sub span:nth-child(2){
  color:#C6A85A;
  font-weight:500;
}
.hero-content{
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.hero-urgency{
  margin-top:10px;
  font-size:12px;
  color:#ffcc70;
  opacity:0.9;
  letter-spacing:0.5px;
  animation: urgencyPulse 2s infinite;
}

@keyframes urgencyPulse{
  0%{opacity:0.6;}
  50%{opacity:1;}
  100%{opacity:0.6;}
}
.hero-story{
  animation: fireBreath 6s ease-in-out infinite alternate;
}

@keyframes fireBreath{
  0%{filter: brightness(0.85) saturate(1);}
  100%{filter: brightness(1.05) saturate(1.2);}
}
.hero-btn{
  font-size:13px;
  padding:14px 30px;
}
.hero-content{
  max-width:320px;
}
.hero-rating{
  margin-top:22px;
  opacity:0.85;
}
.hero-rating + p{
  opacity:0.5;
  font-size:12px;
}
.hero-btn{
  animation: ctaPulse 2.8s infinite;
}

@keyframes ctaPulse{
  0%{
    box-shadow:0 0 0 rgba(198,168,90,0.2);
  }
  50%{
    box-shadow:
      0 0 25px rgba(198,168,90,0.5),
      0 0 60px rgba(198,168,90,0.2);
  }
  100%{
    box-shadow:0 0 0 rgba(198,168,90,0.2);
  }
}
.seo-local{
  max-width:420px;
  margin:25px auto 0;
  font-size:13px;
  opacity:0.65;
  line-height:1.6;
  text-align:center;
}



@media(max-width:480px){
  .seo-local{
    display:none;
  }
}
.seo-local:hover{
  opacity:0.7;
}
.hero-btn{
  border:1px solid rgba(198,168,90,0.8);
  box-shadow: 0 0 15px rgba(198,168,90,0.25);
}
.hero-btn{
  position: relative;
  overflow: hidden;
}

/* halo doux */
.hero-btn::after{
  content:"";
  position:absolute;
  inset:0;

  border-radius:14px;

  background: radial-gradient(
    circle,
    rgba(198,168,90,0.35),
    transparent 70%
  );

  opacity:0;
  animation: glowSoft 3s infinite;
}

@keyframes glowSoft{
  0%{opacity:0;}
  50%{opacity:0.35;}
  100%{opacity:0;}
}
.hero-urgency{
  margin-top:10px;
  font-size:12px;
  color:#ffcc70;
  letter-spacing:0.5px;

  animation: textBreath 3.5s ease-in-out infinite;
}

@keyframes textBreath{
  0%{opacity:0.6; transform:translateY(0);}
  50%{opacity:1; transform:translateY(-2px);}
  100%{opacity:0.6; transform:translateY(0);}
}

.hero-btn:active{
  transform: scale(0.96);
  box-shadow:
    0 0 15px rgba(198,168,90,0.4),
    0 0 40px rgba(198,168,90,0.2);
}
.hero-rating{
  margin-top:18px;
  text-align:center;
  font-size:14px;
  opacity:0.95;
  position:relative;
  z-index:3;
} 
.toast{
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #C6A85A;
  color: #000;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: bold;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn{
  from{opacity:0; transform:translateX(-50%) translateY(10px);}
  to{opacity:1; transform:translateX(-50%) translateY(0);}
}
.oven-hero{
  text-align:center;
  padding:50px 20px 30px;
}

.oven-title{
  font-size:14px;
  letter-spacing:2px;
  color:#C6A85A;
  opacity:0.8;
  margin-bottom:10px;
}

.oven-main{
  font-size:26px;
  font-weight:600;
  margin-bottom:15px;
}

.oven-divider{
  width:40px;
  height:2px;
  background:#C6A85A;
  margin:15px auto;
  opacity:0.6;
}

.oven-sub{
  font-size:14px;
  opacity:0.7;
}
/* ===============================
   OVEN CARD (LIVE STATUS)
================================= */

.oven-card{
  max-width:360px;
  margin:20px auto;

  padding:20px;

  border-radius:18px;

  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(8px);

  border:1px solid rgba(198,168,90,0.25);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.6),
    inset 0 0 20px rgba(198,168,90,0.08);

  animation:fadeUp .4s ease;
}

/* HEADER */

.oven-header{
  text-align:center;
  font-size:13px;
  letter-spacing:2px;
  color:#C6A85A;
  margin-bottom:14px;
  opacity:0.8;
}

/* STATS GRID */

.oven-stats{
  display:flex;
  justify-content:space-between;
  text-align:center;
  margin-bottom:15px;
}

.oven-stats div{
  flex:1;
}

/* LABEL */

.oven-stats span{
  display:block;
  font-size:11px;
  opacity:0.6;
  margin-bottom:4px;
}

/* VALUE */

.oven-stats strong{
  font-size:20px;
  color:#C6A85A;
  letter-spacing:1px;
}

/* TIME BLOCK */

.oven-time{
  margin-top:10px;

  text-align:center;

  font-size:15px;
  letter-spacing:1px;

  color:#fff;

  padding:10px;

  border-radius:10px;

  background:rgba(198,168,90,0.08);
  border:1px solid rgba(198,168,90,0.25);

  box-shadow:0 0 10px rgba(198,168,90,0.1);
}
.cart-total-big{
  margin:18px 0;

  font-size:32px;
  font-weight:600;

  color:#C6A85A;

  text-align:center;

  text-shadow:0 0 12px rgba(198,168,90,0.4);

  letter-spacing:1px;
}
.cart-total-big{
  animation: popTotal 0.3s ease;
}

@keyframes popTotal{
  0%{transform:scale(0.9);opacity:0.5;}
  100%{transform:scale(1);opacity:1;}
}
.oven-card{
  max-width:340px;
  margin:25px auto;

  padding:18px 16px;

  border-radius:18px;

  background:linear-gradient(
    145deg,
    rgba(20,20,20,0.95),
    rgba(10,10,10,0.95)
  );

  border:1px solid rgba(198,168,90,0.25);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.8),
    inset 0 0 20px rgba(198,168,90,0.08);

  backdrop-filter:blur(6px);
}

/* TITRE */
.oven-header{
  text-align:center;
  font-size:12px;
  letter-spacing:2px;
  color:#C6A85A;
  opacity:0.8;
  margin-bottom:14px;
}

/* GRID */
.oven-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:14px;
}

/* CASE */
.oven-stats div{
  background:rgba(198,168,90,0.06);
  border:1px solid rgba(198,168,90,0.15);
  border-radius:10px;

  padding:10px 6px;
  text-align:center;
}

/* LABEL */
.oven-stats span{
  display:block;
  font-size:10px;
  opacity:0.6;
  margin-bottom:4px;
}

/* CHIFFRES 🔥 */
.oven-stats strong{
  font-size:26px;
  font-weight:600;
  color:#C6A85A;

  text-shadow:
    0 0 10px rgba(198,168,90,0.6),
    0 0 20px rgba(198,168,90,0.2);
}

/* STATUS */
.oven-time{
  text-align:center;

  font-size:13px;
  letter-spacing:0.5px;

  padding:10px;
  border-radius:12px;

  background:rgba(198,168,90,0.08);
  border:1px solid rgba(198,168,90,0.25);

  color:#fff;
}
.oven-stats strong{
  animation: ovenPulse 2s infinite ease-in-out;
}

@keyframes ovenPulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.08);}
  100%{transform:scale(1);}
}
.hero-title{
  font-size:34px;
  color:#fff;
  font-weight:600;
  margin-bottom:10px;
}

.hero-sub{
  font-size:14px;
  opacity:0.8;
  margin-bottom:18px;
}

.hero-btn.big{
  width:100%;
  font-size:16px;
  padding:16px;
  border-radius:14px;
}

.hero-proof{
  margin-top:12px;
  font-size:13px;
  opacity:0.8;
}
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;

  opacity:0;
  pointer-events:none;
  transition:0.25s ease;
}

.modal.active{
  opacity:1;
  pointer-events:auto;
}

.modal-box{
  position:relative;
  z-index:10000;

  background:#111;
  padding:28px 22px;
  border-radius:18px;
  text-align:center;
  max-width:320px;
  width:90%;

  border:1px solid rgba(198,168,90,0.25);
  box-shadow:0 20px 50px rgba(0,0,0,0.9);
}

/* TITRE */
.modal-box h3{
  color:#C6A85A;
  margin-bottom:12px;
  font-size:18px;
}

/* TEXTE 🔥 FIX LISIBILITÉ */
.modal-box p{
  font-size:14px;
  line-height:1.5;
  color:#fff;          /* 🔥 IMPORTANT */
  opacity:0.9;         /* 🔥 pas 0.8 trop fade */
  margin-bottom:14px;
}

/* PETITE NOTE */
.modal-box p.small{
  font-size:13px;
  opacity:0.7;
}

/* BOUTON APPEL */
.modal-call{
  display:block;
  background:#C6A85A;
  color:#000;
  padding:14px;
  border-radius:12px;
  font-weight:bold;
  text-decoration:none;
  margin:12px 0;
  transition:0.2s;
}

.modal-call:hover{
  transform:scale(1.03);
}

/* BOUTON ATTENTE 🔥 FIX UX */
.modal-close{
  display:block;
  width:100%;
  margin-top:8px;
  padding:10px;
  border-radius:10px;

  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);

  color:#fff;
  font-size:13px;
  cursor:pointer;
}

/* ❌ ENLÈVE LE PULSE (ça fait cheap + stress) */
.modal-call {
  animation: none;
}
.modal-box p{
  color:#ffffff !important;
}

.modal-box p.small{
  color:#ffffff !important;
  opacity:0.7;
}
.agotado-badge{
  position:absolute;
  top:10px;
  right:10px;
  background:#ff3b3b;
  color:white;
  font-weight:bold;
  padding:5px 10px;
  border-radius:8px;
  font-size:12px;
  z-index:10;
}
.menu-card.agotado{
  filter: grayscale(100%);
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.points-visual{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:20px 0;
}


.checkout-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;

  z-index: 15000; /* 🔥 AU-DESSUS DU PANIER */
}
.checkout-box{
  background:#111;
  padding:20px;
  border-radius:12px;
  width:90%;
  max-width:400px;
}

.checkout-box input{
  width:100%;
  margin:10px 0;
  padding:12px;
  border:none;
  border-radius:8px;
}

.checkout-row{
  display:flex;
  gap:10px;
  margin:10px 0;
}

.checkout-row button{
  flex:1;
  padding:10px;
  border:none;
  border-radius:8px;
  background:#222;
  color:white;
}

.checkout-row button.active{
  background:#C6A85A;
  color:black;
}

.close-checkout{
  text-align:center;
  margin-top:10px;
  opacity:0.6;
  cursor:pointer;
}
.agotado {
  opacity: 0.4;
  filter: grayscale(1);
  position: relative;
}

.agotado::after {
  content: "AGOTADO";
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  padding: 3px 6px;
  font-size: 10px;
  border-radius: 4px;
}
.nav-bar{
  transition: all 0.3s ease;
}

/* 🔥 NAV EXPAND */
.nav-bar.expanded{
  height: 130px;
}

/* 🔥 CART BAR */
.nav-cart{
   z-index:999;
  position:absolute;
  top:-95px; /* exactement hauteur nav */
  left:0;
  width:100%;

  padding:12px 16px;

  background:linear-gradient(
    to top,
    rgba(10,10,10,0.98),
    rgba(10,10,10,0.85)
  );

  backdrop-filter: blur(10px);

  border-top:1px solid rgba(198,168,90,0.2);
  box-shadow:0 -10px 30px rgba(0,0,0,0.8);

  z-index:999;
}

.nav-cart.hidden{
  display:none;
}

.nav-cart-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* LEFT */
.nav-cart-left{
  font-size:13px;
}

#navCartItems{
  font-size:14px;
  font-weight:600;
  color:#fff;
  letter-spacing:0.5px;
}

#navCartEta{
  font-size:12px;
  color:#C6A85A;
  opacity:0.9;
  margin-top:2px;
}

/* RIGHT */
.nav-cart-right{
  text-align:right;
}

#navCartTotal{
  font-size:18px;
  font-weight:bold;
  color:#C6A85A;
}

#navCartBtn{
  margin-top:5px;
  background:#C6A85A;
  border:none;
  padding:6px 12px;
  border-radius:8px;
  font-weight:bold;
}
.cart-modal {
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.cart-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-header,
.order-item,
#cartTotalModal {
  text-align: center;
}
.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
  overflow-y: auto;

  background: rgba(0,0,0,0.95);
}

/* 🔥 magie UX */
.cart-sheet {
  margin: auto; /* centre + scroll propre */
}
.slot-empty {
  background: #1f4d2b;
}

.slot-busy {
  background: #5a2a2a;
  border: 1px solid #ff3b3b;
}
.slot-critical{
  background: #ff3b30; /* rouge fort */
  color: white;
  border: 1px solid #ff3b30;
}
.slot-full {
  background: #ff3b3b;
  border: 2px solid #ff3b3b;
}
.cart-sheet {
  width: 95%;
  max-width: 420px;

  background: #0b0b0b;
  border-radius: 20px;

  padding: 20px;

  box-shadow: 0 20px 60px rgba(0,0,0,0.8);

  border: 1px solid rgba(198,168,90,0.2);
}
.cart-sheet,
.cart-sheet input {
  color: white;
}

.cart-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
}
.cart-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.floating-cart {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 70px;
  height: 70px;

  background: #0b0b0b; /* 🔥 noir */
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;

  /* 🔥 contour gold fin */
  border: 1.5px solid #C6A85A;

  /* glow subtil */
  box-shadow: 0 0 10px rgba(198,168,90,0.15);

  transition: all 0.2s ease;
}

/* effet pression */
.floating-cart:active {
  transform: scale(0.92);
}

/* SVG gold */
.cart-icon {
  width: 28px;
  height: 28px;
  fill: #C6A85A;
}

/* badge compteur */
.floating-cart span {
  position: absolute;
  top: -5px;
  right: -5px;

  background: #C6A85A;
  color: black;

  font-size: 12px;
  font-weight: bold;

  padding: 4px 7px;
  border-radius: 50%;

  box-shadow: 0 0 6px rgba(198,168,90,0.6);
}

/* caché */
.hidden {
  display: none;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cart-title {
  font-weight: bold;
  font-size: 16px;
  color: #C6A85A;
}

.cart-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
}
.checkout-inline input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;

  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;

  color: white;
  font-size: 14px;
}

.checkout-inline input::placeholder {
  color: #777;
}
*#confirmOrder {
  width: 100%;
  margin-top: 15px;
  font-weight: bold;
  letter-spacing: 1px;
}
.app-message {
  position: fixed;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #C6A85A;
  font-size: 14px;
  z-index: 99999;
  opacity: 0;
  transition: 0.3s ease;
}

.app-message.show {
  opacity: 1;
}

.app-message.error {
  border-color: #ff3b3b;
}
#cartTotalModal{
  margin: 18px 0;
  padding: 12px 0;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  text-align: right;
}

#cartTotalModal .total-label{
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 1px;
}

#cartTotalModal .total-price{
  font-size: 20px;
  font-weight: 600;
  color: #C6A85A;
  letter-spacing: 1px;
}
.cart-item{
  border-bottom: none;
}
.slots-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin:15px 0;
}

.slot-btn{
  padding:14px 10px;
  border-radius:14px;

  font-weight:600;
  font-size:13px;
  letter-spacing:0.5px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;

  background:linear-gradient(145deg,#111,#0d0d0d);

  border:1px solid rgba(255,255,255,0.05);

  transition:all .25s ease;
}

/* 🟢 LIBRE (PROPRE) */
.slot-empty{
  color: var(--green);
  background: linear-gradient(145deg, #0f1f17, #0b1510);
  border:1px solid var(--green-soft);
}

/* 🟡 NORMAL */
.slot-ok{
  color: #9effc7;
  background: linear-gradient(145deg, #13261c, #0d1a14);
}

/* 🔥 POPULAIRE */
.slot-busy{
  color: #ffb86b;
  background: linear-gradient(145deg, #2a1c12, #1a120c);
  border:1px solid rgba(255,184,107,0.2);
}

/* 🔴 CRITIQUE */
.slot-critical{
  color: #ff6b6b;
  background: linear-gradient(145deg, #2a1212, #1a0c0c);
  border:1px solid var(--red-soft);
}

/* ⭐ RECOMMANDÉ */
.slot-best{
  border:1px solid var(--gold);
  box-shadow:
    0 0 10px rgba(198,168,90,0.3),
    inset 0 0 10px rgba(198,168,90,0.08);
}

/* 🎯 SELECTED */
.slot-btn.active{
  border:2px solid var(--gold);
  transform:scale(1.06);

  box-shadow:
    0 0 12px rgba(198,168,90,0.5),
    0 0 30px rgba(198,168,90,0.2);
}.slot-btn strong{
  font-size:16px;
  letter-spacing:1px;
}

.slot-btn span{
  font-size:12px;
  opacity:0.7;
}

.slot-btn small{
  font-size:11px;
  color:#C6A85A;
}
/* 🔥 MODAL CONFIRMATION PREMIUM */
.checkout-box{
  background: linear-gradient(145deg, #0f0f0f, #080808);
  border-radius: 18px;
  padding: 26px 20px;

  border: 1px solid rgba(198,168,90,0.25);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.9),
    inset 0 0 20px rgba(198,168,90,0.05);

  text-align: center;
}

/* 🔥 TITRE */
.checkout-box h2{
  color: #C6A85A;
  font-size: 20px;
  margin-bottom: 12px;

  text-shadow:
    0 0 10px rgba(198,168,90,0.4);
}

/* 🔥 NOM CLIENT */
.checkout-box p:first-of-type{
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 6px;
}

/* 🔥 HEURE */
.checkout-box p:nth-of-type(2){
  font-size: 13px;
  color: #C6A85A;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* 🔥 ITEMS */
.checkout-box div{
  font-size: 14px;
  opacity: 0.9;
}

/* 🔥 TOTAL */
.checkout-box div[style*="font-weight:bold"]{
  font-size: 18px;
  color: #C6A85A;

  margin-top: 10px;
  margin-bottom: 10px;

  text-shadow: 0 0 8px rgba(198,168,90,0.4);
}

/* 🔥 HEURE RECOGIDA */
.checkout-box div:last-of-type{
  font-size: 14px;
  opacity: 0.9;
}

/* 🔥 BOUTON */
#confirmOkBtn{
  margin-top: 18px;
  width: 100%;

  padding: 14px;

  border-radius: 12px;
  border: none;

  background: linear-gradient(135deg, #C6A85A, #E6C77A);
  color: #000;

  font-weight: 600;
  letter-spacing: 1px;

  box-shadow: 0 10px 25px rgba(198,168,90,0.3);

  transition: 0.2s;
}

#confirmOkBtn:active{
  transform: scale(0.96);
  box-shadow:
    0 0 15px rgba(198,168,90,0.4);
}
.checkout-box{
  animation: modalPop 0.35s ease;
}

@keyframes modalPop{
  from{
    transform: scale(0.9);
    opacity: 0;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85); /* 🔥 plus sombre */
  backdrop-filter: blur(6px);   /* 🔥 effet premium */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
}
.modal.active {
  background: rgba(0, 0, 0, 0.75); /* ⬅️ plus sombre */
  backdrop-filter: blur(8px);      /* ⬅️ effet premium */
}
.checkout-box {
  background: rgba(10, 10, 10, 0.95); /* ⬅️ presque plein */
  border: 1px solid rgba(198,168,90,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.checkout-box h2 {
  color: #E7C873;
  font-size: 20px;
}

.checkout-box p {
  color: rgba(255,255,255,0.85);
}

.checkout-box small,
.checkout-box span {
  color: rgba(255,255,255,0.7);
}
.checkout-box .total {
  font-size: 18px;
  font-weight: bold;
  color: #E7C873;
}
.btn-primary {
  background: linear-gradient(135deg, #C6A85A, #E7C873);
  color: #000;
  font-weight: 600;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 5px 20px rgba(198,168,90,0.4);
}
.checkout-box {
  animation: popIn 0.25s ease;
}

@keyframes popIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.pickup-time {
  margin: 20px 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(198,168,90,0.08);
  border: 1px solid rgba(198,168,90,0.25);
  text-align: center;
}

.pickup-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.pickup-hour {
  display: block;
  font-size: 26px;        /* 🔥 PLUS GROS */
  font-weight: 700;
  color: #E7C873;         /* 🔥 GOLD */
  letter-spacing: 1px;
}
.pickup-hour {
  text-shadow: 0 0 10px rgba(231,200,115,0.4);
}
.order-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.item-name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.item-qty {
  font-size: 15px;
  font-weight: 700;
  color: #E7C873;
}
.btn-secondary{
  width: 100%;
  padding: 12px;
  margin-top: 10px;

  border-radius: 12px;
  border: 1px solid #C6A85A;

  background: transparent;
  color: #C6A85A;

  font-size: 14px;
  font-weight: 500;

  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover{
  background: rgba(198,168,90,0.1);
}

.btn-secondary:active{
  transform: scale(0.98);
}
.secondary-btn{
  width:100%;
  margin-top:10px;
  padding:10px 14px;

  border-radius:12px;
  border:1px solid rgba(198,168,90,0.4);

  background:transparent;
  color:#C6A85A;

  font-weight:500;
  font-size:13px;

  transition:all 0.2s ease;
}

.secondary-btn:hover{
  background:rgba(198,168,90,0.1);
  border-color:#C6A85A;
}
.checkout-inline{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.slot-empty{
  background:#0f2a1f;
  border:1px solid #1f5f3a;
}

.slot-busy{
  background:#2a1a0f;
  border:1px solid #8a5a2b;
}
.modal{
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px; /* sécurité mobile */

  z-index: 20000;
}

.checkout-box{
  margin: 0 auto; /* 🔥 IMPORTANT */
  width: 100%;
  max-width: 360px;

  transform: none !important; /* 🔥 évite décalage */
}
.points-visual{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:20px 0;
}
.reward-logo{
  width:140px;           /* avant 90px → trop petit */
  margin:25px auto 10px;
  display:block;

  /* effet premium */
  filter: drop-shadow(0 0 10px #C6A85A);

  animation: glow 1.8s ease-in-out infinite alternate;
}
.pulse{
  animation: pulse 1s infinite;
}

@keyframes pulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.05);}
  100%{transform:scale(1);}
}
@keyframes glow{
  from{ filter: drop-shadow(0 0 10px #C6A85A); }
  to{ filter: drop-shadow(0 0 30px #C6A85A); }
}
.point{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;

  background:none; /* 🔥 supprime les ronds */
}

.flame{
  width:26px;
  height:26px;

  fill: rgba(255,255,255,0.08);
  opacity:0.2;

  transition: all .3s ease;
}

/* 🔥 ACTIVE */
.flame.active{
  fill:#C6A85A;
  opacity:1;

  transform:scale(1.2);

  filter:
    drop-shadow(0 0 6px rgba(198,168,90,0.6))
    drop-shadow(0 0 14px rgba(198,168,90,0.3));
}

/* 🔥 DERNIÈRE FLAMME */
.flame.last{
  transform:scale(1.35);

  filter:
    drop-shadow(0 0 10px rgba(198,168,90,0.9))
    drop-shadow(0 0 25px rgba(198,168,90,0.5));

  animation: flamePulse 1.4s infinite;
}

@keyframes flamePulse{
  0%{transform:scale(1.2);}
  50%{transform:scale(1.35);}
  100%{transform:scale(1.2);}
}
.flame.new {
  animation: popFlame 0.6s ease;
}

@keyframes popFlame {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.4);
    opacity: 1;
    filter: drop-shadow(0 0 10px #C6A85A);
  }
  100% {
    transform: scale(1);
  }
}/* 💥 explosion */
.reward-explosion {
  animation: explosion 0.6s ease;
}

@keyframes explosion {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    filter: drop-shadow(0 0 20px #C6A85A);
  }
  100% {
    transform: scale(1);
  }
}
.pulse{
  animation: pulse 0.4s;
}

@keyframes pulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
  100%{ transform: scale(1); }
}
/* 🍕 logo reward */
.reward-logo {
  width: 140px;
  display: block;
  margin: 20px auto;
  animation: rewardPop 0.8s ease;
}

@keyframes rewardPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}.qr-code{
  background: transparent !important;
}.student-reward-qr{
  background:white;
  padding:12px;
  border-radius:16px;

  display:inline-block;

  margin-top:14px;

  box-shadow:
    0 0 20px rgba(198,168,90,0.25);
}

.student-reward-qr canvas{
  display:block;
}
.student-qr-box{
  background:#fff;
  padding:10px;
  border-radius:18px;
  display:inline-block;
  box-shadow:0 4px 20px rgba(0,0,0,0.25);
}

.student-qr-box img{
  display:block;
  border-radius:10px;
}