/* Full-artwork product galleries, scoped to the Gifts detail pages. */
.gift-gallery{min-width:0}
.gift-gallery-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;font-size:12px;letter-spacing:.06em;font-weight:600}
.gift-gallery-count{font-variant-numeric:tabular-nums;color:var(--muted);letter-spacing:0;font-weight:400}
.gift-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:4px;background:#fff;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.gift-gallery-track::-webkit-scrollbar{display:none}
.gift-gallery-slide{position:relative;display:block;flex:0 0 100%;min-width:0;aspect-ratio:1;scroll-snap-align:start;scroll-snap-stop:always;cursor:zoom-in}
.gift-gallery-slide img{display:block;width:100%;height:100%;object-fit:contain}
.gift-gallery-expand{position:absolute;right:12px;bottom:12px;border-radius:24px;background:rgba(255,255,255,.95);color:var(--ink);padding:9px 13px;font-size:12px;line-height:1.5;box-shadow:0 1px 8px #0001}
.gift-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:8px 0}
.gift-gallery-caption{font-size:13px;line-height:1.5;color:var(--muted);margin:0}
.gift-gallery-arrows{display:flex;gap:8px;flex-shrink:0}
.gift-gallery-control{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;font:inherit;font-size:21px;background:transparent;color:var(--ink);cursor:pointer}
.gift-gallery-control:hover:not(:disabled){background:var(--lime);border-color:var(--lime)}
.gift-gallery-control:disabled{opacity:.3;cursor:default}
.gift-gallery-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:3px}
.gift-gallery-thumb{position:relative;display:block;aspect-ratio:1;padding:3px;background:#fff;border:2px solid transparent;border-radius:4px;cursor:pointer;min-width:0}
.gift-gallery-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.gift-gallery-thumb[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 2px var(--lime)}
.gift-gallery-thumb:hover{border-color:var(--lime)}
.gift-gallery :focus-visible,.gift-gallery-dialog :focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.gift-gallery-dialog{border:0;padding:20px;margin:auto;width:min(1100px,calc(100vw - 32px));height:min(940px,calc(100dvh - 32px));max-width:none;max-height:none;background:#f5f5f7;color:var(--ink);border-radius:8px;overflow:hidden}
.gift-gallery-dialog::backdrop{background:rgba(15,17,15,.8)}
.gift-gallery-dialog[open]{display:flex;flex-direction:column;gap:12px}
.gift-gallery-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}
.gift-gallery-dialog-head p{margin:0;font-size:14px;line-height:1.4;font-weight:500}
.gift-gallery-close{width:44px;height:44px;flex-shrink:0;background:var(--ink);color:#fff;border:0;border-radius:50%;font:inherit;font-size:26px;cursor:pointer}
.gift-gallery-dialog-image{display:block;min-height:0;flex:1;width:100%;object-fit:contain;background:#fff;border-radius:4px;touch-action:pan-y}
.gift-gallery-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-shrink:0}
.gift-gallery-dialog-status{font-size:13px;line-height:1.5;margin:0;color:var(--muted)}
@media(max-width:680px){.gift-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.gift-gallery-expand{right:9px;bottom:9px;padding:7px 10px}.gift-gallery-dialog{padding:12px;width:calc(100vw - 16px);height:calc(100dvh - 24px);gap:10px}.gift-gallery-dialog-foot{gap:10px}.gift-gallery-dialog-status{font-size:12px}.gift-gallery-dialog-head p{font-size:13px}}
