/* Galerías del catálogo y encabezados de arte completo. */
.product-image { position: relative; }
.product-image-count { position: absolute; right: 5px; bottom: 5px; padding: 3px 6px; border-radius: 20px; background: rgba(35, 16, 5, .75); color: #fff; font: 10px 'DM Sans', sans-serif; pointer-events: none; }
.product-gallery-nav[hidden], .product-gallery-thumbnails[hidden], .product-gallery-nav button[hidden], .product-image-lightbox button[hidden] { display: none !important; }
.product-gallery-nav { position: absolute; inset: 46% 14px auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.product-gallery-nav button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(35,16,5,.75); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; pointer-events: auto; }
.product-gallery-nav span { padding: 5px 10px; border-radius: 20px; background: rgba(35,16,5,.75); color: #fff; font: 11px 'DM Sans', sans-serif; }
.product-gallery-thumbnails { position: absolute; left: 50%; bottom: 16px; z-index: 3; display: flex; gap: 7px; max-width: calc(100% - 32px); overflow-x: auto; padding: 4px; transform: translateX(-50%); border-radius: 12px; background: rgba(255,248,234,.9); }
.product-gallery-thumbnails button { flex: 0 0 52px; width: 52px; height: 44px; padding: 2px; border: 2px solid transparent; border-radius: 7px; background: transparent; cursor: pointer; }
.product-gallery-thumbnails button[aria-pressed="true"] { border-color: var(--restaurant-accent, #c66545); }
.product-gallery-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-visual:has(.product-gallery-thumbnails:not([hidden])) .product-image-zoom { top: 16px; bottom: auto; left: 16px; }
.product-detail-visual, .product-image-lightbox { touch-action: pan-y; }
.product-image-lightbox .gallery-lightbox-prev, .product-image-lightbox .gallery-lightbox-next { top: 50%; right: 18px; z-index: 1; font-size: 32px; transform: translateY(-50%); }
.product-image-lightbox .gallery-lightbox-prev { left: 18px; right: auto; }
.product-gallery-editor { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.product-gallery-editor legend { padding: 0 6px; font-weight: 600; }
.product-gallery-editor > p { margin: 0 0 14px; font-size: 12px; }
.product-gallery-editor > label { margin-top: 12px; }
.gallery-editor-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.gallery-editor-photos > label { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.gallery-editor-photos img { width: 100%; height: 80px; object-fit: contain; }
.gallery-editor-photos label > span { display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: 11px; }
.gallery-editor-photos input[type="checkbox"] { width: auto; min-height: 0; }
.physical-product-photos { border: 0; border-bottom: 1px solid currentColor; padding: 3px 0; margin: 6px 0; color: inherit; background: transparent; font: 11px 'DM Sans', sans-serif; cursor: pointer; }
.product-description-note {
    display: block;
    margin-top: .5em;
    font-size: .9em;
    line-height: 1.45;
}
.physical-menu-page .product-detail-card { --paper-deep: var(--physical-paper, #fff1d7); --ink: var(--physical-paper-ink, #351005); --ink-soft: #704532; --cream: var(--physical-paper, #fff1d7); }
.physical-menu-page .product-detail-visual > img { object-fit: contain; }
.restaurant-artwork-header { background: #351005; color: #fff1d7; border-bottom: 6px solid #ff640c; }
.restaurant-artwork-image { display: block; width: 100%; height: auto; }
.artwork-header-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; padding: 16px 24px; }
.artwork-header-tools > button { border: 1px solid rgba(255,241,215,.45); border-radius: 24px; background: transparent; color: inherit; padding: 10px 16px; font: 12px 'DM Sans', sans-serif; cursor: pointer; }
.artwork-open-status { font: 12px 'DM Sans', sans-serif; }
.artwork-header-tools .restaurant-external-links { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; }
.artwork-header-tools .restaurant-external-links-header { margin: 0; }
body.restaurant-page:has(.restaurant-artwork-header) > .site-header { position: relative; background: #351005; }
.physical-cover.restaurant-artwork-header, .physical-sheet > .restaurant-artwork-header { padding: 0; }
/* Optional banner copy, kept as accessible text over the supplied artwork. */
body[data-theme="streetfood"] .brand-banner-header .brand-banner-pitch { max-width:580px; margin:16px auto 0; color:#fff1d7; font:italic 600 clamp(17px,2vw,21px)/1.4 'DM Sans',sans-serif; text-wrap:balance; }
.brand-banner-header .restaurant-external-links-header .brand-social-prompt { max-width:440px; margin:0 auto 14px; color:#ffcd65; font:600 16px/1.45 'DM Sans',sans-serif; text-wrap:balance; }
@media (max-width: 600px) {
    .product-gallery-thumbnails button { flex-basis: 44px; width: 44px; height: 38px; }
    .product-gallery-nav { inset: 43% 8px auto; }
    .product-gallery-nav button { width: 44px; height: 44px; }
    .artwork-header-tools { gap: 10px; padding: 14px 12px; }
    .artwork-open-status { width: 100%; text-align: center; }
}
