.ebp-catalogue {
  width: 100%;
  background: transparent;
  color: inherit;
  padding: 18px 0 70px;
}

.ebp-catalogue__toolbar-card {
  max-width: 760px;
  margin: 0 auto 60px;
  background: #fff;
  color: #060a40;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 10px 28px rgba(6, 10, 64, 0.12);
}

.ebp-catalogue__toolbar {
  display: block;
}

.ebp-catalogue__heading {
  width: 100%;
  margin-bottom: 14px;
}

.ebp-catalogue__intro {
  margin: 0;
  color: #4f5b6b;
  font-size: 16px;
  line-height: 1.45;
}

.ebp-catalogue__label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.ebp-catalogue__calendar-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 26px;
  align-items: center;
}

.ebp-catalogue-cal {
  --ebp-navy: #060a40;
  --ebp-navy-soft: #060a40;
  --ebp-border: #e4e7ec;
  --ebp-muted: #5c6778;
}

/* Containment calendrier catalogue (pas de colonne .ebp-checkout__slot-col--calendar). */
.ebp-catalogue .ebp-catalogue__toolbar-card {
  width: 100%;
  max-width: min(906px, 100%);
  min-width: 0;
  box-sizing: border-box;
}

.ebp-catalogue .ebp-catalogue__calendar-panel,
.ebp-catalogue .ebp-catalogue__calendar-grid {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ebp-catalogue .ebp-checkout-cal.ebp-catalogue-cal {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ebp-catalogue__planning-card {
  text-align: center;
}

.ebp-catalogue__planning-title {
  margin: 0 0 8px;
  color: #060a40;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.ebp-catalogue__planning-text {
  margin: 0 0 14px;
  color: #4f5b6b;
  font-size: 12px;
  line-height: 1.5;
}

.ebp-catalogue__planning-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  border-radius: 999px;
  text-decoration: none !important;
  padding: 8px 16px;
  background: #060a40;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ebp-catalogue__planning-btn:hover {
  background: #0d1260;
  box-shadow: 0 6px 16px rgba(6, 10, 64, 0.25);
}

.ebp-catalogue .ebp-checkout-cal.ebp-catalogue-cal .ebp-checkout-cal__weekdays,
.ebp-catalogue .ebp-checkout-cal.ebp-catalogue-cal .ebp-checkout-cal__grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ebp-catalogue .ebp-checkout-cal.ebp-catalogue-cal .ebp-checkout-cal__cell,
.ebp-catalogue .ebp-checkout-cal.ebp-catalogue-cal .ebp-checkout-cal__day {
  min-width: 0;
}

.ebp-catalogue-cal__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ebp-catalogue-cal__step {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #060a40;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  min-width: 32px;
}

.ebp-catalogue-cal__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #060a40;
}

.ebp-catalogue-cal__subhead {
  display: flex;
  align-items: center;
  justify-content: space-between !important;
  gap: 14px;
  margin-bottom: 10px;
}

.ebp-catalogue-cal__prompt {
  color: #060a40;
  font-size: 14px;
  font-weight: 500;
}

.ebp-catalogue-cal__month-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ebp-catalogue-cal .ebp-checkout-cal__month-label {
  min-width: 120px;
  text-align: center;
}

.ebp-catalogue-cal .ebp-checkout-cal__nav {
  width: 38px;
  height: 38px;
  font-size: 0;
  line-height: 0;
  position: relative;
  border: 0;
  background: transparent;
}

.ebp-catalogue-cal .ebp-checkout-cal__nav::before {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  color: #060a40;
}

.ebp-catalogue-cal .ebp-checkout-cal__nav:hover:not(:disabled) {
  border: 0;
  background: transparent;
}

.ebp-catalogue-cal .ebp-checkout-cal__nav--prev::before {
  content: "‹";
}

.ebp-catalogue-cal .ebp-checkout-cal__nav--next::before {
  content: "›";
}

.ebp-catalogue-cal .ebp-checkout-cal__day {
  border-radius: 8px;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #060a40;
}

.ebp-catalogue-cal .ebp-checkout-cal__day:hover:not(:disabled) {
  background: #f7f9fd;
  color: #060a40;
}

.ebp-catalogue-cal .ebp-checkout-cal__day--today:not(.ebp-checkout-cal__day--picked):not(.ebp-checkout-cal__day--highlight) {
  box-shadow: inset 0 0 0 1px #060a40;
}

.ebp-catalogue-cal .ebp-checkout-cal__day--picked:not(:disabled),
.ebp-catalogue-cal .ebp-checkout-cal__day--highlight:not(:disabled) {
  background: #259df41a;
  color: #060a40;
  border: 2px solid #060a40;
  box-shadow: none;
}

.ebp-catalogue-cal .ebp-checkout-cal__day--picked:not(:disabled):hover,
.ebp-catalogue-cal .ebp-checkout-cal__day--highlight:not(:disabled):hover {
  background: #259df41a;
  color: #060a40;
  border: 2px solid #060a40;
  box-shadow: none;
}

.ebp-catalogue__date {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #d3d7e2;
  border-radius: 6px;
}

.ebp-catalogue__filters {
  max-width: 1100px;
  margin: 0 auto 35px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around !important;
  gap: 12px;
}

.ebp-catalogue__filter {
  border: 1px solid #dce2ea;
  background: transparent;
  color: #060a40;
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ebp-catalogue__filter:hover {
  border-color: #9daac0;
  background: transparent;
}

.ebp-catalogue__filter.is-active {
  background: #060a40;
  border-color: #060a40;
  color: #fff;
  box-shadow: 0 8px 18px rgba(6, 10, 64, 0.24);
}

.ebp-catalogue__filter-ico {
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 0;
  opacity: 1;
  flex: 0 0 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.ebp-catalogue__filter-ico--all {
  background-image: url("../images/catalogue-filters/all.png");
}

.ebp-catalogue__filter[data-filter="all"]:not(.is-active) .ebp-catalogue__filter-ico--all {
  filter: brightness(0) saturate(100%) invert(8%) sepia(40%) saturate(2978%) hue-rotate(215deg) brightness(94%) contrast(101%);
}

.ebp-catalogue__filter-ico--balade {
  background-image: url("../images/catalogue-filters/balade.png");
}

.ebp-catalogue__filter-ico--peche {
  background-image: url("../images/catalogue-filters/peche.png");
}

.ebp-catalogue__filter-ico--baignade {
  background-image: url("../images/catalogue-filters/baignade.png");
}

.ebp-catalogue__filter-ico--soiree {
  background-image: url("../images/catalogue-filters/soiree.png");
}

.ebp-catalogue__skeleton {
  display: grid;
  gap: 54px;
  max-width: 1100px;
  margin: 0 auto;
}

.ebp-catalogue__skeleton-line {
  display: block;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ececec 25%, #f8f8f8 37%, #ececec 63%);
  background-size: 400% 100%;
  animation: ebp-catalogue-shimmer 1.2s infinite;
}

.ebp-catalogue__skeleton-line--title {
  height: 40px;
  width: 88%;
  margin-bottom: 12px;
}

.ebp-catalogue__skeleton-line--meta {
  width: 42%;
  margin-bottom: 10px;
}

.ebp-catalogue__skeleton-line--text {
  width: 96%;
  margin-bottom: 9px;
}

.ebp-catalogue-skeleton-card {
  display: grid;
  grid-template-columns: minmax(250px, 40%) minmax(340px, 1fr);
  gap: 28px;
  align-items: center;
}

.ebp-catalogue-skeleton-card--reverse {
  grid-template-columns: minmax(340px, 1fr) minmax(250px, 40%);
}

.ebp-catalogue-skeleton-card--reverse .ebp-catalogue-skeleton-card__media {
  order: 2;
}

.ebp-catalogue-skeleton-card--reverse .ebp-catalogue-skeleton-card__body {
  order: 1;
}

.ebp-catalogue-skeleton-card__media {
  min-height: 260px;
  max-height: 340px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #ececec 25%, #f8f8f8 37%, #ececec 63%);
  background-size: 400% 100%;
  animation: ebp-catalogue-shimmer 1.2s infinite;
}

.ebp-catalogue-skeleton-card__body {
  padding: 8px 4px;
}

.ebp-catalogue-skeleton-card__actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.ebp-catalogue__skeleton-pill {
  height: 42px;
  width: 210px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ececec 25%, #f8f8f8 37%, #ececec 63%);
  background-size: 400% 100%;
  animation: ebp-catalogue-shimmer 1.2s infinite;
}

@keyframes ebp-catalogue-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.ebp-catalogue__notice {
  margin: 12px auto 18px;
  color: #444;
  max-width: 1100px;
}

.ebp-catalogue__cards {
  display: grid;
  gap: 150px;
  max-width: 100%;
  margin: 0 auto;
}

@keyframes ebp-catalogue-cards-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.ebp-catalogue__cards.ebp-catalogue__cards--enter {
  animation: ebp-catalogue-cards-enter 500ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

@media (prefers-reduced-motion: reduce) {
  .ebp-catalogue__cards.ebp-catalogue__cards--enter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.ebp-catalogue-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px;
  align-items: center;
}

.ebp-catalogue-card:nth-child(even) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__media {
  order: 2;
}

.ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__body {
  order: 1;
}

.ebp-catalogue-card__media img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Desktop : image à gauche (cartes impaires) vs à droite (paires). */
.ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__media img {
  height: 455px;
  min-height: 455px;
  max-height: 455px;
}

.ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__media img {
  height: 455px;
  min-height: 455px;
  max-height: 455px;
}

.ebp-catalogue-card__body {
  padding: 8px 4px;
  min-width: 0;
}

/* Desktop : bloc texte — 2/10 d’air intérieur du côté extérieur, contenu calé vers l’image. */
@media (min-width: 768px) {
  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__body {
    box-sizing: border-box;
    padding: 8px 0 8px 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__ribbon {
    justify-content: flex-start;
    width: 100%;
  }

  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__title,
  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__excerpt {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__actions {
    align-self: stretch;
    width: 100%;
  }

  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__body {
    box-sizing: border-box;
    padding: 8px 20% 8px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__ribbon {
    justify-content: flex-start;
    width: 100%;
  }

  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__title,
  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__excerpt {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__actions {
    align-self: stretch;
    width: 100%;
  }
}

.ebp-catalogue-card__ribbon {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 12px;
  color: #775a19;
  font-size: 12px;
  font-weight: 500;
}

.ebp-catalogue-card__ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ebp-catalogue-card__ribbon-sep {
  width: 24px;
  height: 1px;
  background: rgba(119, 90, 25, 0.45);
  display: inline-block;
}

.ebp-catalogue-card__ribbon-key,
.ebp-catalogue-card__ribbon-val {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.ebp-catalogue-card__title {
  margin: 0 0 12px;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 600;
  color: #060a40;
}

.ebp-catalogue-card__title-link {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.ebp-catalogue-card__title-link:hover {
  text-decoration: none;
}

.ebp-catalogue-card__meta {
  margin: 0 0 9px;
  color: #060a40;
  font-size: 17px;
}

.ebp-catalogue-card__excerpt {
  margin: 14px 0 16px;
  color: #060a40;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.ebp-catalogue-card__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
}

.ebp-catalogue-card__cta {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: #060a40;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.ebp-catalogue-card__cta:hover {
  opacity: 0.92;
}

.ebp-catalogue-card__cta--ghost {
  background: #060a40;
  border: 1px solid #060a40;
  color: #fff;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .ebp-catalogue {
    padding: 12px 0 26px;
  }

  .ebp-catalogue__toolbar-card {
    margin-bottom: 24px;
    padding: 10px;
  }

  .ebp-catalogue__toolbar {
    display: block;
  }

  .ebp-catalogue__heading {
    margin-bottom: 10px;
  }

  .ebp-catalogue__intro {
    font-size: 15px;
  }

  .ebp-catalogue__calendar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ebp-catalogue__planning-card {
    padding: 14px;
    text-align: left;
  }

  .ebp-catalogue__planning-title {
    font-size: 18px;
  }

  .ebp-catalogue__planning-text {
    font-size: 13px;
  }

  .ebp-catalogue__planning-btn {
    width: auto;
    min-width: 220px;
  }

  .ebp-catalogue__filters {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 20px;
  }

  .ebp-catalogue__filter {
    min-height: 40px;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .ebp-catalogue-cal__title {
    font-size: 22px;
  }

  .ebp-catalogue-cal__subhead {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .ebp-catalogue-cal__month-nav {
    gap: 8px;
  }

  .ebp-catalogue-cal .ebp-checkout-cal__nav {
    width: 1.25rem;
    height: 2.25rem;
  }

  .ebp-catalogue-cal .ebp-checkout-cal__month-label {
    min-width: 0;
    flex: 1 1 auto;
  }

  .ebp-catalogue .ebp-checkout-cal.ebp-catalogue-cal .ebp-checkout-cal__weekdays,
  .ebp-catalogue .ebp-checkout-cal.ebp-catalogue-cal .ebp-checkout-cal__grid {
    gap: 4px;
  }

  .ebp-catalogue__cards {
    gap: 52px;
  }

  .ebp-catalogue__skeleton {
    gap: 34px;
  }

  .ebp-catalogue-card {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .ebp-catalogue-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  /* Image au-dessus du texte (override order desktop des cartes paires). */
  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__media,
  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__media {
    order: 0;
  }

  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__body,
  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__body {
    order: 1;
  }

  .ebp-catalogue-card__title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .ebp-catalogue-card__ribbon {
    gap: 8px;
    margin-bottom: 8px;
    font-size: 8px;
    font-weight: 500;
    flex-wrap: wrap;
  }

  .ebp-catalogue-card__ribbon-item {
    gap: 4px;
  }

  .ebp-catalogue-card__ribbon-sep {
    width: 12px;
  }

  .ebp-catalogue-card__ribbon-key,
  .ebp-catalogue-card__ribbon-val {
    font-size: inherit;
    font-weight: inherit;
  }

  .ebp-catalogue-card__meta {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .ebp-catalogue-card__excerpt {
    font-size: 16px;
    font-weight: 400;
    margin: 8px 0 10px;
  }

  .ebp-catalogue-card__media img,
  .ebp-catalogue-card:nth-child(odd) .ebp-catalogue-card__media img,
  .ebp-catalogue-card:nth-child(even) .ebp-catalogue-card__media img {
    height: 430px;
    min-height: 430px;
    max-height: 430px;
  }

  .ebp-catalogue-card__cta {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
  }

  .ebp-catalogue-skeleton-card,
  .ebp-catalogue-skeleton-card--reverse {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ebp-catalogue-skeleton-card--reverse .ebp-catalogue-skeleton-card__media {
    order: 0;
  }

  .ebp-catalogue-skeleton-card--reverse .ebp-catalogue-skeleton-card__body {
    order: 1;
  }

  .ebp-catalogue-skeleton-card__media {
    min-height: 430px;
    max-height: 430px;
  }

  .ebp-catalogue__skeleton-line--title {
    height: 22px;
  }

  .ebp-catalogue__skeleton-line--meta {
    height: 12px;
    width: 62%;
  }

  .ebp-catalogue__skeleton-line--text {
    height: 10px;
  }

  .ebp-catalogue__skeleton-pill {
    height: 30px;
    width: 120px;
  }
}

