/* One main gallery controlled by COLOR; SIZE does not affect its photos. */
.woocommerce div.product .woocommerce-product-gallery.mservice-color-gallery-hidden {display:none!important}
.woocommerce div.product .mservice-color-gallery{box-sizing:border-box;float:left;width:48%;max-width:100%;clear:left;margin:0 0 2em;padding:14px;border:1px solid #e0e4ea;border-radius:10px;background:#fafbfc}
.mservice-color-gallery-label{font-size:14px;font-weight:700;margin:0 0 10px;color:#303943}
.mservice-color-gallery-colors{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.mservice-color-gallery-color{border:1px solid #bbb;background:#fff;border-radius:20px;padding:6px 13px;font-size:13px;cursor:pointer;color:#333}
.mservice-color-gallery-color.is-active{border:2px solid #333;font-weight:700}
.mservice-color-gallery-view[hidden]{display:none!important}
.mservice-color-gallery-large{display:block;margin-bottom:10px;max-width:100%;background:#fff;border-radius:6px;overflow:hidden}
.mservice-color-gallery-large img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.mservice-color-gallery-thumbnails{display:flex;gap:8px;flex-wrap:wrap}
.mservice-color-gallery-thumb{width:66px;height:66px;padding:2px;background:#fff;border:1px solid #cbd2da;border-radius:7px;cursor:pointer;overflow:hidden}
.mservice-color-gallery-thumb.is-active{border:2px solid #333}
.mservice-color-gallery-thumb img{width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:768px){.woocommerce div.product .mservice-color-gallery{float:none;clear:both;width:100%;margin-bottom:20px}.mservice-color-gallery-thumb{width:56px;height:56px}}
