html, body { overflow-x: hidden; }

/* ── Planning ── */
.day {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: .9rem;
  min-height: 120px;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(250, 243, 227, .06);
  border: 1px solid rgba(250, 243, 227, .14);
}
.day-name { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #EDB52A; }
.day-place { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.35rem; line-height: 1.12; color: #FAF3E3; overflow-wrap: anywhere; hyphens: auto; }
.day--off { background: transparent; border-style: dashed; }
.day--off .day-place { color: rgba(250, 243, 227, .45); font-weight: 400; font-style: italic; }
.day.is-today {
  background: #B5222B; border-color: #B5222B;
  box-shadow: 0 0 0 3px #EDB52A;
}
.day.is-today .day-name { color: #fff; }
.day.is-today::after {
  content: "Aujourd'hui";
  position: absolute; top: -.7rem; right: .8rem;
  background: #EDB52A; color: #2B1A12;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .25rem .55rem; border-radius: 999px;
}
@media (max-width: 639px) {
  .day { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 1rem 1.1rem; }
  .day-place { text-align: right; font-size: 1.2rem; }
  .day.is-today { padding: 1.4rem 1.1rem; }
  .day.is-today .day-place { font-size: 1.45rem; }
}
@media (min-width: 1024px) {
  .day { min-height: 170px; }
  .day-place { font-size: 1.15rem; }
}

/* ── Produits ── */
.product { position: relative; overflow: hidden; border-radius: 1.25rem; background: #fff; border: 1px solid rgba(43, 26, 18, .1); box-shadow: 0 1px 0 rgba(43,26,18,.04); }
.product-bio { position: absolute; top: .9rem; right: .9rem; z-index: 1; display: grid; place-items: center; width: 4.6rem; height: 4.6rem; border-radius: 50%; background: #2F7D32; color: #fff; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; transform: rotate(-8deg); }
.product-noel { position: absolute; top: .9rem; right: .9rem; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 7rem; height: 7rem; border-radius: 50%; background: #B5222B; color: #fff; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1rem; line-height: 1.05; text-align: center; transform: rotate(8deg); }
.product-noel::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.7); }
.product-noel > span { font-size: 1.15rem; line-height: 1; margin-bottom: .15rem; color: #EDB52A; }
.product-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-body { padding: 1.4rem 1.5rem 1.7rem; }
.product-tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }
.product-title { margin-top: .8rem; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.75rem; line-height: 1.1; text-wrap: balance; }
.product-text { margin-top: .5rem; color: #6B4A36; line-height: 1.6; }
.bressico-list { margin-top: .9rem; display: grid; gap: .45rem; color: #6B4A36; font-size: .95rem; line-height: 1.4; }
.bressico-list li { display: flex; align-items: baseline; gap: .55rem; }
.bressico-list i { flex: 0 0 .7rem; height: .7rem; border-radius: 50%; transform: translateY(.05rem); }
.bressico-toggle { display: none; }
.bressico-list b { flex: 0 0 3.6rem; font-weight: 700; color: #2B1A12; }

/* ── Galerie ── */
.gallery { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: .25rem; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 auto; height: 260px; width: auto; max-width: 85vw; object-fit: cover; border-radius: .9rem; scroll-snap-align: start; display: block; }
@media (min-width: 768px) {
  .product--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; }
  .product--wide .product-img { height: 100%; aspect-ratio: auto; min-height: 20rem; }
  .product--wide .product-body { padding: 2rem 2.2rem; }
}
@media (min-width: 768px) { .gallery { gap: 1rem; } .gallery img { height: 380px; } }
.slider-btn { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1.5px solid #2B1A12; background: transparent; color: #2B1A12; font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s; }
.slider-btn:hover { background: #B5222B; border-color: #B5222B; color: #fff; }

/* ── Barre d'appel mobile ── */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom));
  background: #B5222B; color: #fff; font-size: .95rem;
  box-shadow: 0 -6px 20px rgba(43, 26, 18, .2);
}
.callbar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.callbar strong { font-family: Fraunces, Georgia, serif; font-size: 1.15rem; white-space: nowrap; }
@media (min-width: 768px) { .callbar { display: none; } }

/* ── Mobile (le desktop n'est pas touché) ── */
@media (max-width: 639px) {
  .hero-mosaic { grid-template-columns: 2fr 3fr !important; }
  .hero-mosaic > figure, .hero-mosaic > div { grid-column: auto !important; }
  .hero-mosaic img { aspect-ratio: auto !important; height: 230px !important; width: 100%; }
  #top h1 { font-size: 2.3rem; }
  .today-card { padding: .8rem; }
  .today-card > span:first-child { width: 3rem; height: 3rem; }
  .today-card [data-today-place] { font-size: 1.4rem; }
}
@media (max-width: 767px) {
  .products-track { display: flex !important; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 2rem -1rem 0; padding: 0 1rem .5rem; scrollbar-width: none; scroll-padding-left: 1rem; }
  .products-track::-webkit-scrollbar { display: none; }
  .products-track .product { flex: 0 0 84%; scroll-snap-align: start; }
  .bressico-toggle { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid #B5222B; background: transparent; color: #B5222B; font-weight: 600; font-size: .9rem; cursor: pointer; }
  .bressico-toggle span { transition: transform .2s; }
  .bressico-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
  .bressico-list { display: none; }
  .bressico-list.is-open { display: grid; }
  .product-body { padding: 1.1rem 1.2rem 1.3rem; }
  .product-title { font-size: 1.45rem; }
  .product-text { font-size: .95rem; }
}
