.ml-related-image-button{display:block;width:152px;height:152px;margin:0;padding:0;border:0;background:#fff;cursor:pointer}
.ml-related-image-button img{display:block;width:100%;height:100%;object-fit:contain}
.ml-related-title-button{display:block;max-width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.ml-related-image-button:focus-visible,.ml-related-title-button:focus-visible,.ml-related-dialog :focus-visible{outline:2px solid #2968c8;outline-offset:3px}
.ml-related-card{cursor:pointer}.ml-related-card select,.ml-related-card label{cursor:default}
.ml-related-dialog{box-sizing:border-box;position:fixed;inset:0;display:flex;flex-direction:column;width:calc(100% - 20px);max-width:600px;height:calc(100vh - 24px);height:calc(100svh - 24px);max-height:880px;margin:auto;padding:0;border:0;border-radius:12px;overflow:hidden;background:#fff;color:#262626;box-shadow:0 12px 48px #0003;font:14px/1.45 Arial,Helvetica,sans-serif;z-index:160}
.ml-related-dialog:not([open]){display:none}.ml-related-dialog *{box-sizing:border-box}.ml-related-dialog [hidden]{display:none!important}.ml-related-dialog::backdrop{background:#0006}
.ml-related-popup-heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding:10px 16px;background:#ffe600;border-bottom:1px solid #ededed}
.ml-related-popup-heading>p{margin:0;font-size:17px;font-weight:600}
.ml-related-popup-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;border:0;border-radius:8px;background:transparent;color:#262626;padding:10px;cursor:pointer}.ml-related-popup-close svg{width:24px;height:24px}
.ml-related-popup-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ml-related-gallery{position:relative;background:#fff;border-bottom:1px solid #ededed}
.ml-related-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ml-related-gallery-track::-webkit-scrollbar{display:none}.ml-related-gallery-slide{margin:0;flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:center;scroll-snap-stop:always}
.ml-related-gallery-slide img{display:block;width:100%;height:clamp(240px,75vw,360px);object-fit:contain;padding:10px 24px;background:#fff}
.ml-related-gallery-slide figcaption{min-height:60px;padding:10px 16px 12px;background:#f5f7fa;color:#555;font-size:13px;line-height:1.45;text-align:center;overflow-wrap:anywhere}
.ml-related-gallery-arrow{position:absolute;top:calc(clamp(240px,75vw,360px) / 2);display:flex;align-items:center;justify-content:center;transform:translateY(-50%);width:44px;height:44px;padding:10px;border:1px solid #e7e7e7;border-radius:50%;background:#fff;color:#262626;box-shadow:0 2px 8px #0001;cursor:pointer}.ml-related-gallery-arrow svg{width:22px;height:22px}.ml-related-gallery-arrow:disabled{opacity:.4;cursor:default}.ml-related-gallery-prev{left:9px}.ml-related-gallery-next{right:9px}
.ml-related-gallery-counter{position:absolute;right:14px;top:calc(clamp(240px,75vw,360px) - 35px);min-width:46px;padding:3px 9px;border-radius:15px;background:#0009;color:#fff;font-size:12px;line-height:1.5;text-align:center;pointer-events:none}
.ml-related-gallery-hint{margin:8px 16px 0;color:#737373;font-size:12px;text-align:center}
.ml-related-popup-copy{padding:16px 18px 22px}.ml-related-popup-copy h2{margin:0 0 12px;font-size:20px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}.ml-related-popup-lead{margin:0 0 18px;color:#555;font-size:14px;line-height:1.55}
.ml-related-popup-copy h3{margin:19px 0 9px;font-size:16px;font-weight:600;line-height:1.4}.ml-related-popup-copy ul{margin:0;padding-left:20px}.ml-related-popup-copy li{padding-left:2px;margin:0 0 9px;line-height:1.5}.ml-related-popup-copy li::marker{color:#00a650}.ml-related-popup-note{margin:17px 0 0;color:#737373;font-size:12px;line-height:1.5}
.ml-related-popup-footer{flex:none;padding:12px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #ededed;background:#fff}
.ml-related-popup-price-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 14px;margin-bottom:10px}.ml-related-popup-price{font-size:27px;font-weight:400;line-height:1.2;white-space:nowrap}.ml-related-popup-shipping{margin:0;color:#00a650;font-size:12px;font-weight:600;white-space:nowrap}
.ml-related-popup-controls{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:end;gap:10px}.ml-related-popup-controls.is-single{grid-template-columns:1fr}
.ml-related-popup-voltage{display:block;font-size:12px;line-height:1.4;color:#555}.ml-related-popup-voltage select{display:block;width:100%;height:48px;padding:8px;border:1px solid #ccc;border-radius:6px;margin-top:4px;background:#fff;color:#262626;font:14px Arial,sans-serif}.ml-related-popup-voltage select[aria-invalid=true]{border-color:#b42318}
.ml-related-popup-add{display:block;width:100%;min-height:48px;padding:11px 8px;border:0;border-radius:6px;background:#2968c8;color:#fff;font:600 14px/1.3 Arial,sans-serif;cursor:pointer}.ml-related-popup-add:active{background:#1d54ab}.ml-related-popup-add:disabled{background:#e5e7eb;color:#8b8b8b;cursor:default}
.ml-related-popup-error{margin:6px 0 0;color:#b42318;font-size:12px;line-height:1.4}.ml-related-popup-variant{margin:0 0 8px;color:#666;font-size:12px}
.ml-related-popup-return{display:block;width:100%;min-height:44px;margin-top:8px;border:1px solid #e5cb00;border-radius:6px;padding:10px;background:#ffe600;color:#262626;font:600 14px/1.35 Arial,sans-serif;cursor:pointer}
.ml-related-fallback-backdrop{position:fixed;inset:0;background:#0006;z-index:159}.ml-related-fallback-backdrop[hidden]{display:none}
@media(max-width:359px){.ml-related-popup-heading{padding:8px 12px}.ml-related-popup-heading>p{font-size:16px}.ml-related-popup-copy{padding:14px 14px 20px}.ml-related-popup-copy h2{font-size:18px}.ml-related-popup-footer{padding-left:12px;padding-right:12px}.ml-related-popup-controls{grid-template-columns:96px minmax(0,1fr);gap:8px}.ml-related-popup-price{font-size:25px}.ml-related-gallery-slide img{padding:8px 20px}.ml-related-popup-add{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ml-related-gallery-track{scroll-behavior:auto}}
