/* Direct gallery navigation, with a larger cover-led first view. */
.product-gallery .gallery-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 44px;
  align-items: center;
  gap: 8px;
  padding: 0 2px 12px;
}
.product-gallery .gallery-toolbar .gallery-caption {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0;
  color: #314e66;
  font: 600 14px/1.3 Figtree, sans-serif;
}
.product-gallery .gallery-toolbar .gallery-caption > span:first-child { display: none; }
.product-gallery .gallery-toolbar .gallery-count { font-size: 14px; color: #52697c; }
.product-gallery .gallery-toolbar .gallery-arrow {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c2d3e1;
  border-radius: 50%;
  background: #fff;
  color: #315e85;
  box-shadow: none;
}
.product-gallery .gallery-toolbar .gallery-arrow:hover { background: #deebf5; border-color: #315e85; }
.product-gallery .gallery-toolbar .gallery-arrow:active { background: #ccdfef; }
.product-gallery .gallery-toolbar .gallery-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.product-gallery .gallery-stage { aspect-ratio: .94 !important; }
.product-gallery .gallery-stage .gallery-cover { padding: 24px !important; gap: 16px; }
.product-gallery .gallery-cover .collection-message { order: -1; }
.product-gallery .gallery-cover .collection-message h2 { font-size: clamp(22px, 5.1cqi, 34px) !important; white-space: nowrap; letter-spacing: -.03em; }
.product-gallery .gallery-cover .collection-message p { display: flex; gap: 12px; align-items: center; max-width: none; margin-top: 10px !important; }
.product-gallery .gallery-recipe-count { padding: 5px 9px; background: #fff; color: #315e85; border-radius: 5px; font-weight: 650; font-size: 12px; }
.product-gallery .gallery-cover .cover-composition { flex: 1; min-height: 0; }
.product-gallery .gallery-cover .cover-book { left: 0; top: 0; bottom: 0; width: 85%; transform: rotate(-2deg); }
.product-gallery .gallery-cover .cover-book .main-cover { height: auto; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-gallery .gallery-cover .hero-phone { right: 0; bottom: 3%; width: 32%; transform: rotate(2deg); }
.product-gallery .gallery-bottom { margin-top: 12px; }
@media (max-width: 700px) {
  .product-gallery .gallery-toolbar { padding-bottom: 10px; }
  .product-gallery .gallery-stage { min-height: 400px; }
  .product-gallery .gallery-stage .gallery-cover { padding: 18px !important; gap: 16px; }
  .product-gallery .gallery-cover .collection-message h2 { font-size: clamp(19px, 6.1cqi, 26px) !important; }
  .product-gallery .gallery-cover .collection-message p { font-size: 13px !important; gap: 9px; }
  .product-gallery .gallery-cover .hero-phone { border-width: 2px; border-radius: 11px; }
}
@media (max-width: 350px) {
  .product-gallery .gallery-stage .gallery-cover { padding: 14px !important; }
  .product-gallery .gallery-cover .collection-message h2 { font-size: 19px !important; }
  .product-gallery .gallery-recipe-count { font-size: 11px; }
}
/* Keep add-on details readable without a full-screen cover on a phone. */
@media(max-width:700px){
  .edition-dialog:not(.is-browsing-dishes) .edition-art{height:178px;min-height:0;max-height:178px;padding:12px;margin-bottom:20px}
  .edition-dialog:not(.is-browsing-dishes) .edition-art img{width:auto;height:154px;max-height:154px;max-width:100%;aspect-ratio:auto;object-fit:contain}
}
