.product-gallery-media{display:block;min-width:0;width:100%;align-self:stretch;background:#fff}.pg-surface{position:relative}.pg-surface .pg-zoom{position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;min-height:44px;border:0;border-radius:0;background:transparent;color:#17395f;cursor:zoom-in}.pg-zoom-mark{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#fffffff2;border:1px solid #d9cfba;box-shadow:0 1px 5px #1c2e4710}.pg-zoom:focus-visible,.pg-thumb:focus-visible,.pg-dialog button:focus-visible{outline:3px solid #b39350;outline-offset:-3px}.pg-thumbnails{display:flex;gap:6px;padding:7px 10px 10px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;max-width:100%}.pg-thumb{display:inline-grid;place-items:center;flex:0 0 47px;width:47px;height:47px;min-height:44px;padding:3px!important;background:#fff;border:1px solid #e2d9c7!important;border-radius:7px;cursor:pointer;box-sizing:border-box}.pg-thumb[aria-pressed=true]{border:2px solid #97762f!important;padding:2px!important;background:#fffcf5}.pg-thumb img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;mix-blend-mode:normal}.chocolate-card .product-gallery-media{min-width:0}.chocolate-card .product-gallery-media .catalog-photo{width:100%;height:150px;min-height:0}.chocolate-card .pg-thumbnails{gap:4px;padding:5px 5px 8px}.chocolate-card .pg-thumb{flex-basis:44px;width:44px;height:44px}.pg-modal-open{overflow:hidden}.pg-dialog{box-sizing:border-box;width:min(920px,calc(100% - 32px));max-width:920px;max-height:calc(100dvh - 32px);padding:0;border:1px solid #e2d8c6;border-radius:18px;background:#fffefa;color:#18365a;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 100px #0005}.pg-dialog::backdrop{background:#0b1c32b8;backdrop-filter:blur(3px)}.pg-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 24px 12px}.pg-dialog-header h2{margin:0;font:24px/1.2 Georgia,serif;max-width:760px}.pg-kicker{margin:0 0 5px;font:10px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:1.7px;color:#876f3d}.pg-dialog button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}.pg-close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #e5dcca;border-radius:50%;background:#fff;font-size:30px!important;line-height:1}.pg-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:240px;height:min(57dvh,570px);margin:0 18px;background:#fff;border-radius:10px;overflow:hidden;touch-action:pan-y pinch-zoom}.pg-large{max-width:100%;width:100%;height:100%;object-fit:contain}.pg-prev,.pg-next{position:absolute;top:50%;transform:translateY(-50%);z-index:1;display:grid;place-items:center;width:44px;height:52px;border:1px solid #ddd3bf;background:#fffffff2;border-radius:8px;padding:0;font-size:38px!important;box-shadow:0 2px 9px #18365a10}.pg-prev{left:8px}.pg-next{right:8px}.pg-image-error{position:absolute;inset:40% 65px auto;text-align:center;font-size:14px;background:#fff;padding:12px;color:#84574c}.pg-photo-caption{display:flex;justify-content:space-between;gap:20px;padding:12px 26px 8px;font:13px/1.5 Arial,sans-serif}.pg-counter{color:#7d735e;font-variant-numeric:tabular-nums}.pg-dialog-thumbnails{display:flex;justify-content:center;gap:8px;padding:6px 22px 14px;overflow-x:auto}.pg-dialog-thumbnails .pg-thumb{width:64px;height:64px;flex-basis:64px}.pg-content-note{font:12px/1.5 Arial,sans-serif;text-align:center;max-width:620px;margin:0 auto;padding:0 24px 18px;color:#7e7668}.pg-content-note:empty{padding-bottom:6px}.pg-dialog [hidden]{display:none!important}@media(max-width:600px){.pg-thumbnails{gap:5px;padding:5px 7px 9px}.pg-thumb{flex-basis:44px;width:44px;height:44px}.pg-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.pg-dialog-header{padding:14px 14px 9px;gap:10px}.pg-dialog-header h2{font-size:20px}.pg-stage{height:51dvh;min-height:230px;margin:0 7px}.pg-prev{left:3px}.pg-next{right:3px}.pg-prev,.pg-next{width:44px}.pg-photo-caption{padding:10px 17px 5px}.pg-dialog-thumbnails{justify-content:flex-start;padding:6px 16px 12px}.pg-dialog-thumbnails .pg-thumb{width:56px;height:56px;flex-basis:56px}.pg-content-note{padding:0 17px 14px;font-size:11px}.pg-zoom-mark{width:26px;height:26px;right:6px;bottom:6px}}@media(prefers-reduced-motion:reduce){.pg-dialog *{scroll-behavior:auto!important}}

.pg-thumbnails::-webkit-scrollbar{display:none}

/* Give thumbnail images a definite grid cell instead of an intrinsic auto row. */
.pg-thumb{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-width:0;overflow:hidden}
.pg-thumb img{min-width:0;min-height:0;max-width:100%!important;max-height:100%!important}
