/* CSMaker v1.5.62 — isolated product gallery; no overrides outside this component. */
.csm-gallery-v62 { min-width:0; }
.csm-gallery-stage-v62 { position:relative; overflow:hidden; border:1px solid #2d3c52; border-radius:21px; background:#0b111b; }
.csm-gallery-main-v62 { position:relative; width:100%; min-height:clamp(280px,38vw,490px); aspect-ratio:5/4; display:flex; align-items:center; justify-content:center; padding:12px; cursor:zoom-in; background:radial-gradient(circle at 50% 40%,#1b293d,#0b111b 68%); }
.csm-gallery-main-v62>img { display:block; width:100%; height:100%; max-height:490px; object-fit:contain; }
.csm-gallery-zoom-v62 { position:absolute; right:14px; bottom:14px; padding:7px 11px; border:1px solid rgba(180,211,244,.27); border-radius:10px; background:rgba(5,11,20,.78); color:#eff8ff; font-size:11px; font-weight:750; backdrop-filter:blur(6px); }
.csm-gallery-main-v62:hover .csm-gallery-zoom-v62 { border-color:#75c9ff; }
.csm-gallery-step-v62 { position:absolute; top:50%; transform:translateY(-50%); width:41px; height:45px; padding:0; border:1px solid rgba(141,173,207,.3); border-radius:11px; background:rgba(8,14,23,.78); color:#fff; font-size:32px; line-height:1; cursor:pointer; z-index:1; }
.csm-gallery-prev-v62 { left:12px; } .csm-gallery-next-v62 { right:12px; }
.csm-gallery-step-v62:hover, .csm-gallery-modal-step-v62:hover { background:#28496c; border-color:#7fc5ff; }
.csm-gallery-count-v62 { position:absolute; left:14px; bottom:15px; padding:5px 9px; border:1px solid rgba(141,173,207,.24); border-radius:9px; background:rgba(7,12,20,.83); color:#d6e4f4; font-size:12px; font-variant-numeric:tabular-nums; }
.csm-gallery-thumbs-v62 { display:flex; gap:9px; padding:12px 1px 6px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:#435672 #101622; }
.csm-gallery-thumb-v62 { flex:0 0 clamp(95px,23%,141px); height:91px; display:grid; place-items:center; padding:5px; overflow:hidden; border:2px solid #26374a; border-radius:12px; background:#121b28; transition:border-color .15s,background .15s; }
.csm-gallery-thumb-v62>img { display:block; width:100%; height:100%; object-fit:contain; }
.csm-gallery-thumb-v62:hover, .csm-gallery-thumb-v62.is-active { border-color:#6dc4ff; background:#1b3046; }
.csm-gallery-v62 a:focus-visible, .csm-gallery-v62 button:focus-visible { outline:3px solid #7dd1ff; outline-offset:2px; }
.csm-gallery-modal-v62 { color:#f4f7fb; width:min(1120px,calc(100vw - 24px)); max-width:none; max-height:calc(100dvh - 24px); padding:0; border:1px solid #334b67; border-radius:17px; background:#0b1019; box-shadow:0 30px 90px #000a; overflow:hidden; }
.csm-gallery-modal-v62::backdrop { background:rgba(2,6,12,.93); backdrop-filter:blur(4px); }
.csm-gallery-modal-head-v62 { display:flex; align-items:center; gap:18px; padding:12px 17px; border-bottom:1px solid #28374a; }
.csm-gallery-modal-head-v62 strong { font-size:14px; font-weight:800; }
.csm-gallery-modal-head-v62 span { margin-left:auto; font-size:12px; color:#a5bbd4; font-variant-numeric:tabular-nums; }
.csm-gallery-close-v62 { width:37px; height:37px; border:1px solid #34485e; border-radius:10px; background:#172335; color:#fff; cursor:pointer; font-size:26px; line-height:1; }
.csm-gallery-modal-view-v62 { display:flex; align-items:center; justify-content:space-between; gap:9px; min-height:100px; padding:10px 14px; }
.csm-gallery-modal-view-v62>img { width:100%; height:min(76dvh,770px); min-width:0; max-width:100%; object-fit:contain; }
.csm-gallery-modal-step-v62 { flex:0 0 43px; width:43px; height:52px; border:1px solid #34516c; border-radius:10px; background:#14263b; color:#fff; font-size:32px; cursor:pointer; }
.csm-gallery-modal-help-v62 { margin:0; padding:0 16px 12px; text-align:center; color:#94a7bb; font-size:11px; }
@media(max-width:700px) { .csm-gallery-main-v62 { min-height:250px; aspect-ratio:4/3; padding:7px; } .csm-gallery-main-v62>img { max-height:380px; } .csm-gallery-thumb-v62 { flex-basis:96px; height:69px; } .csm-gallery-step-v62 { width:34px; height:38px; font-size:27px; } .csm-gallery-zoom-v62 { font-size:10px; padding:5px 8px; } .csm-gallery-modal-v62 { width:calc(100vw - 10px); max-height:calc(100dvh - 10px); } .csm-gallery-modal-view-v62 { padding:6px; gap:4px; } .csm-gallery-modal-view-v62>img { height:min(75dvh,700px); } .csm-gallery-modal-step-v62 { flex-basis:31px; width:31px; height:45px; font-size:27px; } }
@media(prefers-reduced-motion:reduce) { .csm-gallery-thumb-v62 { transition:none; } }
