/* === EN-TÊTE GLOBAL === */
.site-header-linear {
  background-color: #091b23;
  padding: 30px 15px;
  text-align: center;
}

/* === LOGO === */
.site-header-linear .wp-block-site-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

/* === TITRE DU SITE === */
.site-header-linear .wp-block-site-title {
  margin: 0 auto;
}
.site-header-linear .wp-block-site-title a {
  font-size: 20px;
  color: #e7cda3;
  text-decoration: none;
}

/* === SUPPRIMER LE SLOGAN === */
.site-header-linear .wp-block-site-tagline {
  display: none;
}

/* === MENU PRINCIPAL (desktop) === */
.site-header-linear nav.wp-block-navigation {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 15px;
}
.site-header-linear .wp-block-navigation .wp-block-navigation-item {
  margin: 0 10px;
}
.site-header-linear .wp-block-navigation a {
  color: #e7cda3 !important;
  font-size: 16px;
  text-decoration: none;
  padding: 8px 10px;
}

/* === Flèches SOUS-MENU desktop === */
.wp-block-navigation-submenu__toggle svg,
.wp-block-navigation-submenu__toggle path {
  stroke: #e7cda3 !important;
  fill: #e7cda3 !important;
}

/* === SOUS-MENUS === */
.wp-block-navigation__submenu-container {
  background-color: #091b23;
  border: none;
  text-align: left;
}
.wp-block-navigation__submenu-container a {
  color: #e7cda3 !important;
  padding: 10px 15px;
  display: block;
}
.wp-block-navigation__submenu-container a:hover {
  background: none;
  color: #e7cda3 !important;
}


/* ===== WP BOOKING SYSTEM - Le Mas de S - Clair ===== */

/* Conteneur */
.wpbs-container {
  background: #ffffff !important;
  border-radius: 16px;
  padding: 30px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: 'DM Sans', sans-serif;
}

/* Fond du calendrier */
.wpbs-container .wpbs-calendar,
.wpbs-container table,
.wpbs-container .wpbs-calendar-wrapper {
  background: transparent !important;
  border: none !important;
}

/* Bordures des cellules */
.wpbs-container td,
.wpbs-container th,
.wpbs-container tr,
.wpbs-container table {
  border-color: #f0ebe3 !important;
}

/* Jours de la semaine */
.wpbs-container th {
  color: #091b23 !important;
  background: transparent !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation - sélecteur mois */
.wpbs-container select {
  background: #faf8f5 !important;
  color: #091b23 !important;
  border: 1px solid #e0d5c5 !important;
  border-radius: 8px;
  font-family: 'Cormorant', serif;
  font-size: 1.1em;
}

/* Navigation - flèches */
.wpbs-container .wpbs-prev,
.wpbs-container .wpbs-next {
  background: #091b23 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px;
}

/* ---- COULEURS DES DATES ---- */

/* Disponible : doré doux */
.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-1 div:first-of-type {
  background-color: #e7cda3 !important;
}
.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-1 div:first-of-type svg {
  fill: #e7cda3 !important;
}

/* Réservé : bordeaux doux */
.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-2 div:first-of-type {
  background-color: #c4737b !important;
}
.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-2 div:first-of-type svg {
  fill: #c4737b !important;
}

/* Inactif */
.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-0 div:first-of-type {
  background-color: #f0ebe3 !important;
}

/* Aujourd'hui */
.wpbs-container.wpbs-calendar-1 .wpbs-legend-item-icon-today div:first-of-type {
  background-color: #091b23 !important;
}

/* Cellules disponibles */
.wpbs-container td[data-legend="1"],
.wpbs-container td.wpbs-legend-item-1 {
  background-color: #fdf6eb !important;
  color: #091b23 !important;
}

/* Cellules réservées */
.wpbs-container td[data-legend="2"],
.wpbs-container td.wpbs-legend-item-2 {
  background-color: #fce8ea !important;
  color: #8b4049 !important;
}

/* Cellules inactives */
.wpbs-container td[data-legend="0"],
.wpbs-container td.wpbs-legend-item-0 {
  background-color: #f7f4f0 !important;
  color: #c0b8ad !important;
}

/* Chiffres des jours */
.wpbs-container td p {
  color: inherit !important;
  font-weight: 500;
}

/* Hover */
.wpbs-container td:hover {
  background-color: #e7cda3 !important;
  color: #091b23 !important;
  transition: all 0.2s ease;
}

/* ---- LÉGENDE ---- */
.wpbs-container .wpbs-legend {
  background: #faf8f5 !important;
  border: 1px solid #e0d5c5 !important;
  border-radius: 10px;
  padding: 14px 18px;
}

.wpbs-container .wpbs-legend span {
  color: #091b23 !important;
  font-family: 'DM Sans', sans-serif;
}

.wpbs-container .wpbs-legend .wpbs-legend-item-icon-1 div:first-of-type {
  background-color: #e7cda3 !important;
  border-radius: 4px;
}

.wpbs-container .wpbs-legend .wpbs-legend-item-icon-2 div:first-of-type {
  background-color: #c4737b !important;
  border-radius: 4px;
}
