/* ===== Page sandwich : mêmes cartes photo + modal que la pâtisserie ===== */

body[data-page="snacking"] { background: #f2e4cf; }

/* --- Titre de section + désignation, typo "Croissant Gazelle" --- */
.sandwich-heading { margin: 0 0 45px; padding-top: 100px; border-top: 1px solid var(--line); }
.sandwich-heading h2 {
  margin: 14px 0 18px;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #d85311;
  text-transform: uppercase;
  font-size: clamp(26px, 5.5vw, 74px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.sandwich-heading p {
  margin: 0;
  max-width: 650px;
  font-family: var(--font-cooper), Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #d85311;
  font-size: 16px;
  letter-spacing: -0.005em;
  line-height: 1.55;
}

/* --- Grille + carte : 3 par rangée, alignées à gauche --- */
.product-grid.gazelle-grid-snacking {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 120px;
}
.gazelle-grid-snacking .gazelle-card {
  position: relative;
  flex: 0 0 calc((100% - 2 * 12px) / 3);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #d85311;
  cursor: zoom-in;
}
.gazelle-grid-snacking .gazelle-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.gazelle-grid-snacking .gazelle-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.gazelle-grid-snacking .gazelle-card:hover .gazelle-card__front { opacity: 1; }

/* --- Bloc titre + description en liquid glass posé en bas de la photo --- */
.gazelle-grid-snacking .gazelle-card .product-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 10px 14px 11px;
  background: linear-gradient(180deg, rgba(242, 228, 207, 0.12), rgba(242, 228, 207, 0.04));
}
.gazelle-grid-snacking .gazelle-card .product-copy.lg-fallback {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.gazelle-grid-snacking .gazelle-card .product-copy h3 {
  margin: 0 0 3px;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #d85311;
  font-size: 18px;
}
.gazelle-grid-snacking .gazelle-card .product-copy p {
  margin: 0;
  color: #14100c;
  font-family: "Arial Black", "Arial Bold", Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

/* --- Modal produit (photo + prix, une seule taille : "Pièce") --- */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: rgba(20, 10, 5, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-modal__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(880px, 100%);
  max-height: 88vh;
  overflow: hidden;
  border-radius: 22px;
  background: #f2e4cf;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #f2e4cf;
  background: rgba(20, 10, 5, 0.55);
  font-size: 15px;
  cursor: pointer;
}
.product-modal__close:hover { background: rgba(20, 10, 5, 0.8); }
.product-modal__photo { aspect-ratio: 1; background: #e7d6bf; }
.product-modal__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.product-modal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px 40px 44px;
}
.product-modal__body h3 {
  margin: 0;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #d85311;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 0.95;
}
.product-modal__desc {
  margin: 0;
  font-family: var(--font-cooper), Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #d85311;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.product-modal__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a3d25;
}
.product-modal__field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 13px 42px 13px 16px;
  border: 1px solid rgba(107, 47, 27, 0.28);
  border-radius: 12px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d85311' d='M6 8 0 1.4 1.4 0 6 4.8 10.6 0 12 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  color: #6b2f1b;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-transform: none;
  cursor: pointer;
}
.product-modal__price {
  margin: 0;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #d85311;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.03em;
}
@media (max-width: 700px) {
  .product-modal { padding: 16px; }
  .product-modal__panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .product-modal__body { padding: 26px 24px 30px; }
}

/* --- Menu : deux colonnes compactes, sans filet central, colonne de gauche au bord de page --- */
body[data-page="snacking"] .menu-price-heading h2,
body[data-page="snacking"] .page-list.menu-prices h2 {
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #d85311;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}
body[data-page="snacking"] .page-list.menu-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 64px;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--line);
}
body[data-page="snacking"] .page-list.menu-prices::after { display: none; }
body[data-page="snacking"] .page-list.menu-prices article {
  grid-template-columns: 1fr auto;
  align-items: baseline;
  min-height: 0;
  gap: 18px;
  padding: 13px 2px;
}
body[data-page="snacking"] .page-list.menu-prices article > span { display: none; }
body[data-page="snacking"] .page-list.menu-prices article:hover { padding-left: 2px; }
body[data-page="snacking"] .page-list.menu-prices h2 { margin: 0 0 3px; font-size: 17px; line-height: 1.1; }
body[data-page="snacking"] .page-list.menu-prices p {
  font-family: var(--font-cooper), Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #d85311;
  font-size: 13px;
  letter-spacing: -0.005em;
  line-height: 1.5;
  opacity: 1;
}
body[data-page="snacking"] .page-list.menu-prices .menu-price {
  color: #d85311;
  min-width: 0;
  font-size: 15px;
  white-space: nowrap;
  text-align: right;
}
@media (max-width: 700px) {
  body[data-page="snacking"] .page-list.menu-prices { display: block; width: 100%; }
}

/* --- Responsive --- */
@media (max-width: 1180px) {
  .gazelle-grid-snacking .gazelle-card { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 900px) {
  .sandwich-heading { padding-top: 64px; }
  .product-grid.gazelle-grid-snacking { gap: 14px; margin-bottom: 90px; }
  .gazelle-grid-snacking .gazelle-card { flex-basis: 100%; border-radius: 14px; }
}
@media (max-width: 1100px) {
  .sandwich-heading h2 {
    font-size: clamp(46px, 12vw, 104px);
    line-height: 0.86;
    white-space: normal;
    max-width: 7em;
  }
}
