.kgh-booking-container {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.kgh-booking-header {
  margin-bottom: 24px;
}
.kgh-booking-title {
  font-family: 'Merriweather', serif;
  color: #661E11;
  margin: 0 0 12px;
}
.kgh-booking-excerpt {
  color: #373737;
  opacity: 0.9;
}
.kgh-reserve-block {
  margin: 24px 0;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px;
  background: #fdfafa;
}
.kgh-reserve-title {
  margin: 0 0 12px;
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
}
.kgh-reserve-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}
.kgh-reserve-grid label {
  display: flex;
  flex-direction: column;
  min-width: 180px;
  font-weight: 600;
  font-size: 0.95rem;
}
.kgh-reserve-grid select,
.kgh-reserve-grid input {
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
}
.kgh-reserve-button {
  margin-top: 6px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: #661E11;
  color: #fdfafa;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.kgh-reserve-button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}
.kgh-reserve-button:not([disabled]):hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.kgh-reserve-alert {
  display: none;
  margin: 10px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fce8e6;
  color: #7a271a;
}
.kgh-reserve-message {
  display: none;
  margin-top: 8px;
  color: #7a271a;
}
.kgh-tour-content {
  margin-top: 36px;
  color: #373737;
}

/* Checkout */
.kgh-checkout {
  max-width: 920px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.kgh-checkout-grid {
  display: grid;
  gap: 20px;
}
.kgh-checkout-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}
.kgh-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.kgh-checkout-form input {
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
}
.kgh-checkout-form small {
  margin-top: 4px;
  color: #b00020;
  display: none;
}
.kgh-checkout-summary {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fdfafa;
}
.kgh-checkout-summary h3 {
  margin-top: 0;
}
.kgh-button-primary {
  margin-top: 12px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: #661E11;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.kgh-button-primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.kgh-inline-link {
  color: #661E11;
  text-decoration: underline;
}
.kgh-status {
  margin-bottom: 16px;
}
.kgh-status .notice {
  margin: 0;
}

/* ==== KGH Flatpickr skin (override) ==== */
.flatpickr-calendar {
  border: 2px solid #131313;
  border-radius: 10px;           /* coins arrondis */
  overflow: hidden;              /* évite de “déborder” sur la bordure */
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans KR", sans-serif;
  z-index: 9999;                 /* passe devant */
}

.flatpickr-calendar:before,
.flatpickr-calendar:after {      /* on cache la petite flèche noire/blanche */
  display: none !important;
}

.flatpickr-months,
.flatpickr-weekdays {
  background: #fff;
  color: #111;
  border-bottom: 1px solid #E5E5E5;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-weight: 700;
  color: #111;
}

/* jours */
.flatpickr-day {
  border-radius: 6px;
  border: 1px solid transparent;
  color: #111;
}

.flatpickr-day:hover {
  background: #F2EDEA;                  /* Porcelain */
  border-color: #CAC8C8;                /* Grey */
}

/* sélection + range (utilise Red Clay) */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  background: #7A2F1B;                  /* Red Clay */
  color: #fff;
  border-color: #7A2F1B;
}

/* today (petit liseré) */
.flatpickr-day.today:not(.selected) {
  box-shadow: inset 0 0 0 2px #7A2F1B;
}

/* disabled / cutoff */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.nextMonthDay,
.flatpickr-day.prevMonthDay {
  color: #B8B8B8 !important;
  background: #fafafa !important;
  cursor: not-allowed;
}

/* flèches */
.flatpickr-prev-month,
.flatpickr-next-month {
  color: #7A2F1B;
}
.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  color: #5f2416;
}


/* Style commun aux inputs + selects */
.kgh-input {
  background: #fff;
  border: 2px solid #131313;
  border-radius: 6px;
  padding: 12px 14px;                 /* plus d’espace dans le champ */
  font-size: 16px;                     /* évite le zoom iOS */
  line-height: 1.2;
}

/* Selects “like input” (fleche custom) */
.kgh-input[type="text"],
.kgh-input[type="date"],
#kgh-time.kgh-input,
#kgh-guests.kgh-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23131313' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px 18px;
  padding-right: 40px; /* place pour la flèche */
}

/* Focus ring cohérent */
.kgh-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122,47,27,.25);
}

/* Désactivés */
.kgh-input[disabled] {
  background: #f7f7f7;
  color: #9b9b9b;
  cursor: not-allowed;
}



/* input champ date pour matcher tes inputs */
/* #kgh-date.kgh-input {
  background: #fff;
  border: 2px solid #131313;
  border-radius: 4px;
} */

/* focus ring cohérent */
/* #kgh-date.kgh-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(122,47,27,.25);
} */

/* Success / Cancel */
.kgh-outcome {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 16px;
  font-family: 'Noto Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-align: center;
}
.kgh-outcome h2 {
  color: #661E11;
}
.kgh-outcome .kgh-success-card {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fdfafa;
}

/* Admin availability status */
.kgh-availability-admin .notice {
  margin: 0 0 12px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .kgh-reserve-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .kgh-reserve-grid label {
    min-width: 0;
  }
  .kgh-checkout-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  .kgh-booking-container,
  .kgh-checkout,
  .kgh-outcome {
    margin: 24px auto;
  }
}
