/* Gụ photo library: original subjects, one restrained colour treatment, real-size viewing. */
.gu-photo-experience{color:#2d292a;min-width:0}
.gu-media-main-frame{position:relative;background:#f4efe5;min-width:0}
.gu-media-main-frame>[data-gu-zoom-open]{display:flex;position:relative;align-items:center;justify-content:center;width:100%;min-height:300px;padding:20px;border:0;border-radius:0;background:transparent;color:inherit;cursor:zoom-in}
.gu-media-main-frame img{display:block;width:auto;height:auto;max-width:min(100%,var(--gu-photo-native-width,100%));max-height:min(460px,var(--gu-photo-native-height,460px));object-fit:contain}
.gu-media-plus{display:grid;place-items:center;position:absolute;right:15px;bottom:15px;width:38px;height:38px;background:#f4efe5;color:#2d292a;border:1px solid #2d292a30;border-radius:50%;font-size:25px;line-height:1;pointer-events:none}
.gu-media-caption{padding-top:12px;font-size:16px;line-height:1.4}
.gu-media-caption p{margin:0 0 4px!important}
.gu-media-credit{font-size:12px!important;line-height:1.5;color:#6b625b;overflow-wrap:anywhere}
.gu-media-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:13px 0;font-size:13px}
.gu-photo-experience .gu-media-controls button{min-width:44px;min-height:44px;background:transparent;border:1px solid #2d292a38;color:inherit;font:inherit;font-size:20px;cursor:pointer}
.gu-media-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.gu-media-thumbs>[data-gu-photo]{display:flex;align-items:center;justify-content:center;min-width:50px;width:70px;height:88px;padding:5px;border:1px solid #2d292a30;background:#f4efe5;cursor:pointer}
.gu-media-thumbs>[data-gu-photo][aria-pressed=true]{outline:1px solid #6c2f2f;outline-offset:2px}
.gu-media-thumbs>[data-gu-photo] img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.gu-media-illustration-notice{font-size:13px!important;line-height:1.45!important;margin:13px 0 0!important;color:#625b58;max-width:50ch}
.gu-pdp-photo-gallery{padding:0!important;background:#f4efe5!important;height:auto!important;min-height:0!important;display:block!important}
.gu-pdp-photo-gallery .wine-warning{position:static!important;display:flex;align-items:center;justify-content:center;min-height:100px;width:100%;box-sizing:border-box;padding:15px 25px;text-align:center;font-size:16px!important;line-height:1.4;color:#2d292a;background:transparent!important}
.gu-producer-photo-story{margin-block:58px 70px}
.gu-producer-photo-story>h2{font-size:clamp(32px,3.6vw,48px);font-weight:400;line-height:1.1;margin:0 0 26px;letter-spacing:-.025em}
.gu-producer-photo-story .gu-media-main-frame>[data-gu-zoom-open]{padding:0;min-height:0;display:block}
.gu-producer-photo-story .gu-media-main-frame img{display:block;margin:auto;width:auto;height:auto;max-width:min(100%,var(--gu-photo-native-width,100%));max-height:min(680px,var(--gu-photo-native-height,680px));object-fit:contain}
.gu-producer-photo-story .gu-media-caption{display:flex;justify-content:space-between;align-items:baseline;gap:20px}
.gu-media-thumbs.gu-media-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin-top:24px}
.gu-media-story-grid>figure{margin:0;min-width:0}
.gu-media-story-grid [data-gu-photo]{position:relative;display:block;width:100%;height:auto;border:0;padding:0;background:transparent;cursor:zoom-in;overflow:hidden}
.gu-media-story-grid [data-gu-photo] img{display:block;width:100%;height:auto;max-height:430px;object-fit:cover;aspect-ratio:1.5}
.gu-media-story-grid figcaption{font-size:17px;line-height:1.45;margin-top:12px}
.gu-media-story-grid figcaption small{display:block;font-size:12px;color:#6b625b;margin-top:5px;line-height:1.5}
.gu-photo-experience button:focus-visible{outline:2px solid #6c2f2f;outline-offset:5px}
.gu-grower-directory-photo{margin:0 0 16px;display:block}
.gu-grower-directory-photo img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;max-height:230px}
.gu-grower-directory-credit{display:block;font-size:10px;color:#6b625b;margin-top:5px;line-height:1.4}
.gu-grower-wine-card .gu-related-bottle-photo{position:relative;width:100%;height:230px;padding-bottom:50px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;margin-bottom:20px;background:#f4efe5}
.gu-related-bottle-photo img{display:block;max-height:180px;max-width:100%;height:auto;width:auto;object-fit:contain}
.gu-related-bottle-photo .wine-warning{position:absolute;inset:auto 0 0;min-height:46px;box-sizing:border-box;width:100%;padding:10px;font-size:12px;line-height:1.4;text-align:center;background:#f4efe5;color:#2d292a}
/* The native dialog is shared with the existing age-aware gallery controller. */
dialog.gu-photo-zoom.gu-photo-experience{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:20px 28px;border:0;border-radius:0;background:#211f20;color:#f4efe5;overflow:auto;box-sizing:border-box}
dialog.gu-photo-zoom.gu-photo-experience:not([open]){display:none}
dialog.gu-photo-zoom.gu-photo-experience[open]{display:flex;flex-direction:column}
dialog.gu-photo-zoom.gu-photo-experience::backdrop{background:#211f20}
.gu-media-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-bottom:16px}
.gu-media-dialog-head h2{font-size:18px;font-weight:400;line-height:1.3;color:inherit;margin:0;max-width:65ch}
.gu-photo-zoom.gu-photo-experience button{position:static!important;min-height:44px;min-width:44px;padding:9px 14px;border:1px solid #f4efe54d;border-radius:2px;color:inherit;background:transparent;font:inherit;font-size:17px;cursor:pointer}
.gu-photo-zoom.gu-photo-experience button:hover{background:#f4efe514}
.gu-photo-zoom.gu-photo-experience button:focus-visible{outline-color:#f4efe5}
.gu-media-dialog-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:22px;align-items:center;flex:1;min-height:0}
.gu-photo-zoom.gu-photo-experience .gu-media-dialog-stage>img{display:block;position:static;max-width:100%;max-height:calc(100dvh - 215px);width:auto;height:auto;margin:auto;object-fit:contain}
.gu-media-dialog-caption{text-align:center;margin-top:17px}
.gu-media-dialog-caption p{margin:4px 0;line-height:1.4;font-size:18px}
.gu-media-dialog-caption .gu-media-credit{color:#c8c3bc}
.gu-media-dialog-caption [data-gu-zoom-count]{font-size:12px;letter-spacing:1px;margin:9px 0}
.gu-photo-zoom.gu-photo-experience .gu-media-dialog-caption [data-gu-zoom-toggle]{font-size:13px;min-height:36px;padding:6px 13px;margin-top:5px}
.gu-photo-zoom.gu-photo-experience.is-magnified .gu-media-dialog-stage{display:block;overflow:auto;flex:none}
.gu-photo-zoom.gu-photo-experience.is-magnified .gu-media-dialog-stage>img{max-width:none;max-height:none;width:auto;height:auto}
.gu-photo-zoom.gu-photo-experience.is-magnified .gu-media-dialog-stage>button{display:none}
@media(max-width:760px){
 .gu-pdp-photo-gallery .wine-warning{min-height:80px;font-size:14px!important;padding:11px 18px}
 .gu-media-main-frame>[data-gu-zoom-open]{min-height:250px;padding:14px}
 .gu-media-main-frame img{max-height:min(300px,var(--gu-photo-native-height,300px))}
 .gu-media-caption{font-size:15px;padding-top:9px}
 .gu-media-credit{font-size:11px!important}
 .gu-media-controls{margin-block:10px}
 .gu-media-thumbs>[data-gu-photo]{height:75px;width:60px}
 .gu-producer-photo-story{margin-block:35px 42px}
 .gu-producer-photo-story>h2{font-size:34px;margin-bottom:22px}
 .gu-producer-photo-story .gu-media-caption{display:block}
 .gu-producer-photo-story .gu-media-main-frame img{max-height:min(470px,var(--gu-photo-native-height,470px))}
 .gu-media-thumbs.gu-media-story-grid{grid-template-columns:minmax(0,1fr);gap:27px;margin-top:18px}
 .gu-media-story-grid [data-gu-photo] img{max-height:400px;aspect-ratio:auto}
 .gu-media-story-grid figcaption{font-size:17px;margin-top:9px}
 dialog.gu-photo-zoom.gu-photo-experience{padding:16px}
 .gu-media-dialog-head{align-items:flex-start;padding-bottom:12px;gap:16px}
 .gu-media-dialog-head h2{font-size:15px;max-width:22ch}
 .gu-media-dialog-head [data-gu-zoom-close]{font-size:14px;flex:none}
 .gu-media-dialog-stage{grid-template-columns:1fr 1fr;align-content:center;gap:14px;flex:none;margin-block:auto;min-height:0}
 .gu-photo-zoom.gu-photo-experience .gu-media-dialog-stage>img{grid-column:1/-1;grid-row:1;max-height:calc(100dvh - 275px)}
 .gu-media-dialog-stage>button{grid-row:2}
 .gu-media-dialog-caption p{font-size:17px}
 .gu-media-dialog-caption{margin-top:18px;margin-bottom:2px}
}
@media(prefers-reduced-motion:reduce){.gu-photo-experience *{transition:none!important;animation:none!important}}

/* Gụ shoot: the photograph itself is the frame. Retain the full file in zoom. */
.gu-pdp-photo-gallery.gu-pdp-owner-gallery{
 inline-size:100%;
 max-inline-size:min(29rem,54svh);
 justify-self:start;
 --gu-packshot-frame:4/5;
 --gu-packshot-position:50% 66%;
}
.gu-pdp-photo-gallery.gu-pdp-owner-gallery-large{
 max-inline-size:min(24rem,45svh);
 --gu-packshot-frame:2/3;
 --gu-packshot-position:50% 50%;
}
.gu-pdp-owner-gallery .gu-media-main-frame>[data-gu-zoom-open]{
 display:block;
 min-block-size:0;
 aspect-ratio:var(--gu-packshot-frame);
 padding:0;
 overflow:hidden;
}
.gu-pdp-owner-gallery .gu-media-main-frame>[data-gu-zoom-open]>img{
 position:absolute;
 inset:0;
 width:100%;
 height:100%;
 max-width:100%;
 max-height:100%;
 object-fit:contain;
}
.gu-pdp-owner-gallery .gu-media-main-frame>[data-gu-zoom-open][data-gu-packshot]>img{
 object-fit:cover;
 object-position:var(--gu-packshot-position);
}
.gu-pdp-owner-gallery-large .gu-media-main-frame>[data-gu-zoom-open][data-gu-packshot]>img{
 object-fit:contain;
}
.gu-pdp-owner-gallery .gu-media-main-frame>.wine-warning{
 min-height:44px;
 padding:8px 12px;
 border-bottom:1px solid #2d292a26;
}
.gu-pdp-owner-gallery[data-gu-single-photo] :is(.gu-media-controls,.gu-media-thumbs){
 display:none;
}
@media(max-width:760px){
 .gu-pdp-photo-gallery.gu-pdp-owner-gallery{max-inline-size:22.5rem;margin-inline:auto}
 .gu-pdp-photo-gallery.gu-pdp-owner-gallery-large{max-inline-size:18.75rem}
}
