/* ============================================================
   VINEA-MEA — Réservation d'événement (calendrier style Airbnb)
   Thème clair : crème #F3EFEC / bordeaux #7A2812 / or #9E7F4F
   ============================================================ */
.vm-booking {
  margin: 24px 0;
  background: #fff;
  border: 1px solid rgba(158,127,79,0.28);
  border-radius: 18px;
  padding: 26px 26px 22px;
  box-shadow: 0 6px 30px rgba(122,40,18,0.09);
  position: relative;
  overflow: hidden;
  font-family: 'Georgia', 'Times New Roman', serif;
  max-width: 560px;
}
.vm-booking::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(158,127,79,0.6), transparent);
}

.vm-booking-head { margin-bottom: 18px; }
.vm-booking-eyebrow {
  display: block; font-family: sans-serif;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #9E7F4F; margin-bottom: 6px;
}
.vm-booking-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 600; color: #7A2812; margin: 0; line-height: 1.15;
}

/* ── Calendrier ── */
.vm-cal { margin-bottom: 8px; }
.vm-cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.vm-cal-month {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px; font-weight: 600; color: #221812; text-transform: capitalize;
}
.vm-cal-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(158,127,79,0.3); background: #fff;
  color: #7A2812; font-size: 20px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, opacity .2s;
}
.vm-cal-arrow:hover:not(:disabled) { background: rgba(158,127,79,0.08); border-color: #9E7F4F; }
.vm-cal-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.vm-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.vm-cal-dow {
  text-align: center; font-family: sans-serif;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #9a7a65; padding: 4px 0 8px;
}
.vm-cal-cell {
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  border: none; background: none;
  font-family: 'Georgia', serif; font-size: 15px; color: #221812;
  border-radius: 50%; cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.vm-cal-cell.empty { visibility: hidden; cursor: default; }
.vm-cal-cell[data-date]:hover { background: rgba(158,127,79,0.14); }
.vm-cal-cell.disabled {
  color: #cbb9a8; cursor: not-allowed;
  text-decoration: line-through; text-decoration-color: rgba(180,120,90,0.35);
}
.vm-cal-cell.selected {
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%);
  color: #fff; box-shadow: 0 3px 10px rgba(122,40,18,0.35);
}

/* ── Créneaux horaires ── */
.vm-slots-wrap { margin: 14px 0 4px; }
.vm-slots-label {
  font-family: sans-serif; font-size: 12px; letter-spacing: 0.04em;
  color: #6B5544; margin: 0 0 10px; text-transform: uppercase;
}
.vm-slots-label span { text-transform: none; color: #9E7F4F; font-style: italic; }
.vm-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.vm-slot {
  font-family: 'Georgia', serif; font-size: 14.5px;
  padding: 9px 16px; border-radius: 50px;
  border: 1px solid rgba(158,127,79,0.32); background: #faf6f0;
  color: #221812; cursor: pointer;
  transition: all .18s;
}
.vm-slot:hover { border-color: #9E7F4F; background: #fff; transform: translateY(-1px); }
.vm-slot.selected {
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%);
  color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(122,40,18,0.3);
}
.vm-slot.full {
  opacity: 0.5; cursor: not-allowed; text-decoration: line-through;
  text-decoration-color: rgba(180,120,90,0.5); background: #f2ece5;
}
.vm-slot-left { font-size: 11px; color: #b8801e; font-family: sans-serif; margin-left: 3px; }
.vm-slot-full { font-size: 11px; color: #9a7a65; font-family: sans-serif; margin-left: 3px; text-decoration: none; display: inline-block; }

/* ── Participants (stepper) ── */
.vm-booking-guests {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 0 6px; padding-top: 16px;
  border-top: 1px solid rgba(158,127,79,0.16);
}
.vm-booking-guests label {
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #6B5544; font-weight: 600; font-family: sans-serif;
}
.vm-guests-range { font-weight: 400; text-transform: none; color: #9a7a65; font-size: 12px; }
.vm-stepper { display: flex; align-items: center; gap: 4px; }
.vm-step {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(158,127,79,0.35); background: #fff;
  color: #7A2812; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.vm-step:hover { background: rgba(158,127,79,0.08); border-color: #9E7F4F; }
#vm-guests {
  width: 48px; text-align: center; border: none; background: none;
  font-family: 'Georgia', serif; font-size: 18px; color: #221812;
  pointer-events: none; -moz-appearance: textfield;
}
#vm-guests::-webkit-outer-spin-button, #vm-guests::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Récap + bouton ── */
.vm-booking-recap {
  font-size: 14.5px; color: #5a3a28; line-height: 1.5;
  background: rgba(158,127,79,0.06); border-radius: 10px;
  padding: 11px 15px; margin: 4px 0 14px;
}
.vm-booking-recap strong { color: #7A2812; }
.vm-recap-left { color: #b8801e; font-weight: 600; }
.vm-recap-full { color: #b0301a; font-weight: 600; }
.vm-booking-note { font-size: 13.5px; margin: 0 0 12px; line-height: 1.5; }
.vm-booking-note.err { color: #b0301a; }

.vm-booking-btn {
  width: 100%;
  font-family: 'Georgia', serif; font-size: 16px;
  padding: 15px 24px; border: none; border-radius: 50px;
  color: #fff; cursor: pointer;
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%);
  box-shadow: 0 4px 16px rgba(122,40,18,0.3);
  transition: transform .2s, box-shadow .2s, background .2s, opacity .2s;
}
.vm-booking-btn:hover:not(:disabled) {
  transform: translateY(-1px); box-shadow: 0 6px 22px rgba(122,40,18,0.4);
  background: linear-gradient(140deg, #b0451f 0%, #8a3015 100%);
}
.vm-booking-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.vm-booking-legal {
  font-family: sans-serif; font-size: 11.5px; color: #9a7a65; line-height: 1.6;
  margin: 14px 0 0; text-align: center;
}

/* ── Titre de l'événement sur la fiche produit ── */
.product_cat-evenements .wp-block-post-title,
.product_cat-evenements h1.product_title {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: #7A2812 !important;
  letter-spacing: 0.005em;
  max-width: 620px;
  margin-bottom: 18px !important;
}
.product_cat-evenements .wp-block-post-title::after {
  content: ''; display: block; width: 60px; height: 2px; margin-top: 14px;
  background: linear-gradient(90deg, #9E7F4F, transparent);
}

/* ── Bouton "En savoir plus" large (grille /events/) ── */
.vm-loop-more {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-family: 'Georgia', serif !important;
  font-size: 15px !important;
  padding: 14px 22px !important;
  border: none !important;
  border-radius: 50px !important;
  color: #fff !important;
  background: linear-gradient(140deg, #9C3618 0%, #7A2812 100%) !important;
  box-shadow: 0 4px 14px rgba(122,40,18,0.28);
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.vm-loop-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(122,40,18,0.4);
  background: linear-gradient(140deg, #b0451f 0%, #8a3015 100%) !important;
  color: #fff !important;
}

@media (max-width: 560px) {
  .vm-booking { padding: 22px 16px 18px; }
  .vm-booking-title { font-size: 23px; }
  .vm-cal-cell { font-size: 14px; }
  .vm-cal-month { font-size: 18px; }
}

/* ── /events/ sur mobile : un atelier par ligne ── */
@media (max-width: 767px) {
  .wc-block-product-template__responsive,
  .wc-block-product-template__responsive.columns-2,
  .wc-block-product-template__responsive.columns-3,
  .wc-block-product-template__responsive.columns-4 {
    grid-template-columns: 1fr !important;
  }
}
