/* ===== Modale Saint-Valentin (sans Bootstrap JS) ===== */
.stval-modal{
  position: fixed;
  top:0; right:0; bottom:0; left:0;
  z-index: 9999;
  display: none;
}
.stval-modal.is-open{ display:block; }

.stval-overlay{
  position:absolute;
  top:0; right:0; bottom:0; left:0;
  background: rgba(0,0,0,0.55);
}

/* Fenêtre */
.stval-dialog{
  position: relative;
  width: 92%;
  max-width: 720px;            /* plus “carte resto” */
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);

  /* ✅ scrollable mobile */
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  display: flex;
  flex-direction: column;
}

/* Bouton fermer */
.stval-x{
  position:absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  opacity: 0.95;
  cursor: pointer;
  z-index: 3;
}
.stval-x:hover{ opacity: 1; }

/* Header */
.stval-header{
  background: linear-gradient(135deg, #b3003c, #ff4d6d);
  color: #fff;
  padding: 16px 16px 14px;
  flex: 0 0 auto;
}

/* ✅ coeur à gauche + titres centrés (grid 3 colonnes) */
.stval-hero{
  display: grid;
  grid-template-columns: 52px 1fr 52px; /* gauche / centre / droite (équilibre) */
  align-items: center;
  width: 100%;
}

.stval-heart{
  width: 52px;
  height: 52px;
  display:flex;
  align-items:center;
  justify-content:center;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.18));
}

.stval-heart-svg{
  width: 40px;
  height: 40px;
  display:block;
  fill: #ffd1dc;                 /* rose clair */
  stroke: rgba(255,255,255,0.85);
  stroke-width: 1;
}

.stval-titles{
  text-align: center;
}

.stval-title{
  font-weight: 800;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.3px;
}
.stval-subtitle{
  font-size: 13px;
  opacity: 0.95;
  margin-top: 3px;
  color: #fff;
}

/* Body scroll */
.stval-body{
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 16px 18px;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}

/* Carte resto centrée */
.stval-menu{
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  color: #222;
}

.stval-menu-intro{
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

.stval-course{
  padding: 12px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.15);
}
.stval-course:last-child{
  border-bottom: 0;
  padding-bottom: 6px;
}

.stval-course-title{
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: #b3003c;
  margin-bottom: 6px;
}

.stval-course-desc{
  font-size: 15px;
  line-height: 1.45;
  color: #222;
}

/* “ou …” en italique comme sur une carte */
.stval-or{
  display:block;
  margin-top: 6px;
  font-size: 14px;
  color:#444;
  font-style: italic;
}

/* Footer */
.stval-footer{
  flex: 0 0 auto;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: right;
  background: #fff;
}

.stval-btn{
  border: 0;
  background: #eee;
  padding: 8px 12px;
  border-radius: 10px;
  cursor:pointer;
}
.stval-btn:hover{ background:#e6e6e6; }

/* CTA */
.stval-cta-wrap{
  margin-top: 14px;
  text-align: center;
}
.stval-cta{
  display:inline-block;
  background: #b3003c;
  color:#fff;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration:none;
}
.stval-cta:hover{ color:#fff; opacity:0.95; text-decoration:none; }

.stval-note{
  margin-top: 8px;
  font-size: 12px;
  color:#666;
}

/* Empêche le scroll derrière */
.stval-no-scroll{ overflow:hidden; }

/* ✅ Tout centrer : titres + détails (style carte resto) */
.stval-menu,
.stval-course,
.stval-course-title,
.stval-course-desc,
.stval-or{
  text-align: center !important;
}

/* Bonus “carte” : petite ligne centrée sous le titre */
.stval-course-title:after{
  content:"";
  display:block;
  width: 70px;
  height: 1px;
  margin: 8px auto 0;
  background: rgba(179,0,60,0.35);
}


/* Encart "Une soirée spéciale" (style carte) */
.stval-special{
  margin: 14px auto 18px;
  padding: 12px 14px;
  max-width: 520px;
  border-radius: 14px;
  background: rgba(179,0,60,0.06);
  border: 1px solid rgba(179,0,60,0.18);
  text-align: center;
}

.stval-special-title{
  font-weight: 800;
  color: #b3003c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 6px;
}

.stval-special-text{
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}


.stval-special-price{
  margin-top: 10px;
  font-weight: 900;
  color: #b3003c;
  font-size: 18px;
}
/* ===== Boutons header : PC côte à côte, mobile empilé ===== */

/* Mobile : un par ligne, même espacement */
@media (max-width: 767px){
  .p-header_buttons{
    text-align: center; /* optionnel, le bouton fait 100% */
  }

  .p-header_buttons .u-button{
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
  }
}
