.dv-model-photo{display:block;width:100%;height:100%;max-height:420px;object-fit:contain;object-position:center;background:transparent}.dv-result-image .dv-model-photo{height:230px;padding:16px}.dv-compare-table .dv-model-photo{height:150px;width:100%;object-fit:contain}.dv-photo-gallery{margin:24px 0}.dv-photo-gallery summary{cursor:pointer;padding:12px 0;border-bottom:1px solid #bdc5cd}.dv-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px 0}.dv-photo-grid img{width:100%;height:110px;object-fit:contain}.dv-package-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;max-width:960px}.dv-package-photos img{width:100%;height:260px;object-fit:contain}@media(max-width:600px){.dv-result-image .dv-model-photo{height:190px}.dv-photo-grid img{height:85px}.dv-package-photos img{height:210px}}

.dv-photo-missing{display:grid;place-items:center;min-height:180px;color:#687586;background:#edf0f3;border-radius:16px}

@media(max-width:600px){.dv-detail-visual>.dv-model-photo{height:250px;max-height:250px}.dv-detail-visual .dv-photo-gallery{margin-top:8px}}

.dv-variant-form select{height:52px;min-height:52px;padding:10px 32px 10px 12px;line-height:1.4}

.dv-main-photo-open{display:block;width:100%;border:0;background:none;padding:0;cursor:zoom-in}.dv-gallery-viewer{width:100%}.dv-photo-dialog{width:min(1200px,94vw);max-width:94vw;height:88vh;max-height:90vh;border:0;border-radius:12px;padding:50px 65px 30px;background:#f5f6f8;color:#26313d}.dv-photo-dialog::backdrop{background:rgba(15,22,32,.82)}.dv-photo-dialog[open]{display:flex;align-items:center;justify-content:center}.dv-photo-dialog figure{margin:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}.dv-photo-dialog img{width:100%;height:calc(100% - 40px);object-fit:contain}.dv-photo-dialog button{position:absolute;border:0;background:#e5e9ee;color:#26313d;border-radius:50%;width:42px;height:42px;cursor:pointer;font-size:24px}.dv-photo-close{right:14px;top:12px}.dv-photo-prev{left:12px;top:50%}.dv-photo-next{right:12px;top:50%}@media(max-width:600px){.dv-photo-dialog{padding:55px 45px 20px;height:75vh}.dv-photo-dialog button{width:34px;height:34px}.dv-photo-prev{left:5px}.dv-photo-next{right:5px}}

.dv-photo-gallery summary{border-bottom:0}.dv-photo-dialog figcaption{font-size:15px;font-weight:500;text-align:center}

/* Pack available images from the left without reserved photo-type slots. */
.dv-package-photos{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row dense}
.dv-package-photos>img{grid-column:auto;grid-row:auto;min-width:0}
.dv-package-photos:empty{display:none}
@media(max-width:700px){.dv-package-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.dv-package-photos{grid-template-columns:minmax(0,1fr)}}

/* Product gallery: balanced thumbnails and an edge-to-edge viewer. */
body.dv-site .dv-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px 0 16px}
body.dv-site .dv-photo-grid>a{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:#e9edf2;cursor:zoom-in;transition:box-shadow .18s ease,transform .18s ease}
body.dv-site .dv-photo-grid>a:hover{transform:translateY(-2px);box-shadow:0 8px 22px #17273918}
body.dv-site .dv-photo-grid>a:focus-visible{outline:2px solid #ee842b;outline-offset:4px}
body.dv-site .dv-photo-grid img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
body.dv-site dialog.dv-photo-dialog{box-sizing:border-box;width:fit-content;max-width:92vw;height:auto;max-height:94vh;margin:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;color:#101a29}
body.dv-site .dv-photo-dialog::backdrop{background:#17273966;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
body.dv-site .dv-photo-dialog figure{width:auto;height:auto;margin:0;gap:14px}
body.dv-site .dv-photo-stage{position:relative;line-height:0}
body.dv-site .dv-photo-dialog .dv-photo-stage>img{display:block;width:auto;height:auto;max-width:min(1200px,92vw);max-height:80vh;max-height:80dvh;object-fit:contain;border:0;border-radius:0;padding:0}
body.dv-site .dv-photo-dialog figcaption{margin:0;padding:0 12px;font-size:14px;font-weight:500;line-height:1.5;text-align:center}
body.dv-site .dv-photo-dialog .dv-photo-close{position:absolute;z-index:2;right:12px;top:12px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;border:1px solid #d4dce5;border-radius:50%;background:transparent;color:var(--dv-ink,#101a29);font-size:24px;line-height:0;cursor:pointer}
body.dv-site .dv-photo-dialog .dv-photo-close:hover{color:#ee842b;border-color:#ee842b;background:transparent}
body.dv-site .dv-photo-dialog .dv-photo-close svg{display:block;width:14px;height:14px;flex:0 0 14px}
body.dv-site .dv-photo-dialog :is(.dv-photo-prev,.dv-photo-next){z-index:2;top:calc(50% - 20px);display:flex;align-items:center;justify-content:center;background:#f5f7fae6;width:40px;height:40px;padding:0;transform:translateY(-50%)}
body.dv-site .dv-photo-dialog button:focus-visible{outline:2px solid #ee842b;outline-offset:3px}
@media(max-width:900px){body.dv-site .dv-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:600px){body.dv-site .dv-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.dv-site .dv-photo-dialog .dv-photo-close{top:8px;right:8px}body.dv-site .dv-photo-dialog figcaption{font-size:13px}}
@media(prefers-reduced-motion:reduce){body.dv-site .dv-photo-grid>a{transition:none}}

body.dv-site .dv-photo-dialog .dv-photo-close{background:#f5f7fae6;backdrop-filter:blur(3px)}
body.dv-site .dv-photo-dialog .dv-photo-close:hover{background:#f5f7fa}
body.dv-site .dv-photo-dialog figcaption{color:#fff;text-shadow:0 1px 4px #172739,0 0 12px #172739}

/* Fill photo tiles; preserve cutouts. */
body.dv-site .dv-photo-grid img{object-fit:cover}
body.dv-site .dv-photo-grid img.dv-gallery-cutout{object-fit:contain}
body.dv-site .dv-photo-stage.dv-gallery-cutout-stage{background:#e9edf2}
body.dv-site .dv-photo-stage>img.dv-gallery-cutout{mix-blend-mode:multiply!important}
body.dv-site .dv-photo-dialog :is(.dv-photo-close,.dv-photo-prev,.dv-photo-next){background:transparent;border:1px solid #000;color:#000;backdrop-filter:none;box-shadow:none}
body.dv-site .dv-photo-dialog :is(.dv-photo-close,.dv-photo-prev,.dv-photo-next):hover{background:transparent;border-color:#ee842b;color:#ee842b}

/* White controls on photographs, black controls on cutouts. */
body.dv-site .dv-photo-dialog:not(:has(.dv-gallery-cutout-stage)) :is(.dv-photo-close,.dv-photo-prev,.dv-photo-next){color:#fff;border-color:#fff}
body.dv-site .dv-photo-dialog:not(:has(.dv-gallery-cutout-stage)) :is(.dv-photo-close,.dv-photo-prev,.dv-photo-next):hover{color:#ee842b;border-color:#ee842b}
