/* Shared storefront image preview, extracted from the homepage theme. */
dialog.yf-theme-gallery{border:1px solid #eaeaea;border-radius:13px;background:#ffffff;color:#4b5563;width:500px;max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:30px;overflow:auto;box-shadow:0 24px 75px #20395b22}
dialog.yf-theme-gallery::backdrop{background:#1a2c4b66;backdrop-filter:blur(4px)}
dialog.yf-theme-gallery{width:min(1400px,94vw);padding:14px;max-height:94dvh}
dialog.yf-theme-gallery img{display:block;width:100%;height:auto;max-height:77dvh;object-fit:contain;background:#fafafa}
dialog.yf-theme-gallery .image-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;padding-bottom:12px;color:#4b5563}
dialog.yf-theme-gallery .image-dialog-bar>strong{font-weight:500}
dialog.yf-theme-gallery .image-dialog-bar>button{border:1px solid #e8e8e8;background:#f9f9f9;color:#4b5563;padding:3px 10px;border-radius:5px;font-size:19px;line-height:1.5}
dialog.yf-theme-gallery .gallery-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding-top:13px;font-size:10px;color:#4b5563}
dialog.yf-theme-gallery .gallery-controls button{border:1px solid #ebebeb;background:#ffffff;border-radius:5px;padding:5px 12px;font-size:10px;color:#4b5563}
dialog.yf-theme-gallery .gallery-controls button:hover{background:#f8f8f8}
@media (max-width:600px){dialog.yf-theme-gallery{width:calc(100vw - 20px);padding:10px}}
@media (max-width:600px){dialog.yf-theme-gallery .image-dialog-bar{font-size:10px}}
@media (max-width:600px){dialog.yf-theme-gallery .image-dialog-bar>button{font-size:16px;padding:3px 8px}}
@media (max-width:600px){dialog.yf-theme-gallery .gallery-controls{font-size:9px;gap:15px}}
dialog.yf-theme-gallery{background:#ffffff;border-color:#e9e9e9;color:#1f2937}
dialog.yf-theme-gallery .image-dialog-bar{color:#1f2937}
dialog.yf-theme-gallery .image-dialog-bar>button,
dialog.yf-theme-gallery .gallery-controls button{color:#475569;background:#ffffff;border-color:#e0e0e0}
dialog.yf-theme-gallery .gallery-controls{color:#64748b}
dialog.yf-theme-gallery .image-dialog-bar>button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px;line-height:1}
dialog.yf-theme-gallery .image-dialog-bar>button .icon{width:19px;height:19px}
dialog.yf-theme-gallery .gallery-controls button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px}
dialog.yf-theme-gallery .gallery-controls button .icon{width:15px;height:15px}
@media (max-width:600px){dialog.yf-theme-gallery .image-dialog-bar>button{min-width:36px;min-height:36px}}
@media (max-width:600px){dialog.yf-theme-gallery .image-dialog-bar>button{min-width:40px;min-height:40px}}
@media (max-width:600px){dialog.yf-theme-gallery .gallery-controls button{min-height:38px}}
dialog.yf-theme-gallery{margin:auto}dialog.yf-theme-gallery:not([open]){display:none}dialog.yf-theme-gallery .icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}body:has(dialog.yf-theme-gallery[open]){overflow:hidden}
