.book-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;min-width:0}
.book-gallery .book-cover-preview,.book-gallery .book-inside-preview{min-width:0;margin:0}
.book-gallery .detail-art,.book-gallery .seo-cover{padding:9px;min-width:0;max-height:none;background:#ece7df}
.book-gallery .detail-art .cover-frame{height:auto;width:100%;max-width:100%}
.book-gallery .detail-art img,.book-gallery .seo-cover img{width:100%;height:auto;max-height:none}
.book-gallery .detail-art .cover-frame img{width:var(--source-width);height:var(--source-height)}
.book-inside-preview img{display:block;width:100%;height:auto;background:#f4f0e9;border:1px solid #ded5c9}
.book-gallery figcaption{margin-top:7px;font-size:.75rem;line-height:1.35;color:#544b57}
.book-gallery figcaption strong{display:block;color:#292334}
@media(max-width:420px){.book-gallery{gap:9px}.book-gallery .detail-art,.book-gallery .seo-cover{padding:6px}}
@media(min-width:851px){
  dialog:has(.book-gallery){width:min(1040px,calc(100% - 32px))}
  .product-detail:has(.book-gallery){grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
}
