/* Owner-approved compact product layout; desktop and tablet rules stay untouched. */
@media(max-width:600px){
 #productRoot.mm-product-mobile .breadcrumbs{display:none}
 #productRoot.mm-product-mobile .product-layout{display:block}
 #productRoot.mm-product-mobile .product-detail{padding-top:0}
 #productRoot.mm-product-mobile .mm-product-first-screen{display:flex;flex-direction:column;height:calc(100svh - var(--mm-product-screen-offset,180px));min-height:400px}
 #productRoot.mm-product-mobile .mm-product-mobile-heading{flex:0 0 auto}
 #productRoot.mm-product-mobile .brand-lockup{height:18px;margin:0 0 4px}
 #productRoot.mm-product-mobile .brand-lockup>img{max-height:18px;max-width:125px}
 #productRoot.mm-product-mobile .brand-lockup .brand-logo{height:18px;width:100px}
 #productRoot.mm-product-mobile .product-title-row{align-items:flex-start;gap:8px;margin-bottom:8px}
 #productRoot.mm-product-mobile h1{font-size:16px;line-height:1.18;margin:0;letter-spacing:-.2px}
 #productRoot.mm-product-mobile .product-favorite{flex-shrink:0;width:44px;height:44px;font-size:24px}
 #productRoot.mm-product-mobile .price-big{display:none}
 #productRoot .mm-mobile-gallery{position:relative;margin-bottom:6px}
 #productRoot .mm-product-first-screen>.mm-mobile-gallery{flex:1 1 0;min-height:180px}
 #productRoot .mm-mobile-gallery .main-photo-wrap{height:100%;border-radius:13px;background:#f8f8f8;overflow:hidden;touch-action:auto}
 #productRoot .mm-mobile-gallery:has(>.thumbs):not(.mm-single-media) .gallery-video{height:calc(100% - 50px)}
 #productRoot .mm-mobile-gallery .main-photo{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;border-radius:0;background:transparent;touch-action:pan-y}
 #productRoot .mm-mobile-gallery .main-product-video{object-fit:contain;touch-action:auto}
 #productRoot .mm-mobile-gallery .image-counter{left:8px;right:auto;top:8px;bottom:auto;padding:4px 7px;font-size:11px;line-height:14px;background:#ffffffa8;color:#4b4945;backdrop-filter:blur(3px)}
 #productRoot .mm-mobile-gallery .gallery-arrow{width:44px;height:48px;min-height:44px;top:50%;border:0;background:transparent;box-shadow:none;padding:8px;opacity:.8}
 #productRoot .mm-mobile-gallery .gallery-arrow svg{width:18px;height:18px;stroke-width:1.4}
 #productRoot .mm-mobile-gallery .gallery-prev{left:0}
 #productRoot .mm-mobile-gallery .gallery-next{right:0}
 #productRoot .mm-mobile-gallery .thumbs{display:flex;width:max-content;max-width:calc(100% - 24px);height:44px;gap:2px;overflow-x:auto;overflow-y:hidden;margin:6px auto 0;padding:0;scrollbar-width:none;touch-action:pan-x}
 #productRoot .mm-mobile-gallery .main-photo-wrap>.thumbs{position:absolute;z-index:2;bottom:8px;left:50%;transform:translateX(-50%);margin:0}
 #productRoot .mm-mobile-gallery .thumbs::-webkit-scrollbar{display:none}
 #productRoot .mm-mobile-gallery .thumb{flex:0 0 44px;width:44px;height:44px;padding:3px;border:1px solid #ffffff61;border-radius:8px;background:#ffffff29;opacity:.78;box-shadow:none}
 #productRoot .mm-mobile-gallery .thumb.active{border-color:#8c82745c;background:#ffffff3b;opacity:1;box-shadow:none}
 #productRoot .mm-mobile-gallery .thumb img,#productRoot .mm-mobile-gallery .thumb video{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;border-radius:4px;opacity:.8}
 #productRoot .mm-mobile-gallery.mm-single-media .thumbs,#productRoot .mm-mobile-gallery.mm-single-media .image-counter{display:none}
 #productRoot .mm-product-photo-zoom{position:absolute;z-index:2;top:0;right:0;width:44px;height:44px;padding:13px;border:0;border-radius:50%;background:transparent;color:#4b4945}
 #productRoot .mm-product-photo-zoom svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
 #productRoot.mm-product-mobile .choice-block{padding:8px 0;border-top:0}
 #productRoot.mm-product-mobile .mm-product-first-screen>.choice-block{flex:0 0 auto;padding-top:4px;padding-bottom:0}
 #productRoot.mm-product-mobile .choice-block:has(.size-options){margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
 #productRoot.mm-product-mobile .option-title{margin:0 0 6px;align-items:baseline;gap:6px;font-size:12px;line-height:17px}
 #productRoot.mm-product-mobile .option-title>span{overflow-wrap:anywhere}
 #productRoot.mm-product-mobile .product-variants{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
 #productRoot.mm-product-mobile .product-variant{min-width:44px;min-height:44px;padding:3px 3px 4px;gap:3px;border-radius:9px}
 #productRoot.mm-product-mobile .variant-photo{height:clamp(30px,9vw,38px);aspect-ratio:auto;border-radius:6px}
 #productRoot.mm-product-mobile .variant-photo>img{object-fit:contain}
 #productRoot.mm-product-mobile .variant-name{font-size:11px;line-height:13px;min-height:13px;-webkit-line-clamp:1}
 #productRoot.mm-product-mobile .variant-unavailable{display:none}
 #productRoot.mm-product-mobile .variant-check,#productRoot.mm-product-mobile .mm-mobile-variant-unavailable{top:2px;right:2px;width:14px;height:14px}
 #productRoot.mm-product-mobile .variant-check svg{width:10px;height:10px}
 #productRoot.mm-product-mobile .mm-mobile-variant-unavailable{position:absolute;display:grid;place-items:center;border-radius:50%;background:#ffffffdf;color:#77716a}
 #productRoot.mm-product-mobile .mm-mobile-variant-unavailable svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.3}
 #productRoot.mm-product-mobile .product-size-heading{margin-bottom:6px}
 #productRoot.mm-product-mobile .product-size-heading .option-title{margin:0}
 #productRoot.mm-product-mobile .size-guide-trigger{min-height:44px;font-size:11px}
 #productRoot.mm-product-mobile .size-options{gap:7px}
 #productRoot.mm-product-mobile .size-btn{min-width:66px;min-height:44px;padding:8px 12px;font-size:14px}
 #productRoot.mm-product-mobile .stock{font-size:12px;line-height:17px;margin-top:7px}
 #productRoot.mm-product-mobile .mm-mobile-unit{margin:2px 0 10px;padding:0;border:0;border-radius:0;background:transparent;color:#716c65;font-size:11.5px;line-height:16px}
 #productRoot.mm-product-mobile .mm-mobile-unit b{display:inline;font-size:11.5px;color:#4c4942;margin:0}
 #productRoot.mm-product-mobile .mm-mobile-unit p{margin:0}
 #productRoot.mm-product-mobile .mm-compact-unit p{display:none}
 #productRoot.mm-product-mobile .product-intro{font-size:12px;line-height:1.5;margin:8px 0 12px}
 #productRoot.mm-product-mobile .buy-row{margin-top:10px}
 .mm-product-photo-open{overflow:hidden}
 .mm-product-photo-viewer{box-sizing:border-box;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:12px;border:0;border-radius:0;background:#fff;color:#24201b;overscroll-behavior:contain}
 .mm-product-photo-viewer[open]{display:flex;flex-direction:column}
 .mm-product-photo-viewer::backdrop{background:#fff}
 .mm-product-photo-viewer header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-size:13px;line-height:18px}
 .mm-product-photo-viewer button{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit}
 .mm-product-photo-viewer button:disabled{opacity:.25}
 .mm-product-photo-viewer svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
 .mm-product-photo-content{flex:1;min-height:0;touch-action:pan-y pinch-zoom}
 .mm-product-photo-image{display:block;width:100%;height:100%;object-fit:contain}
 .mm-product-photo-viewer footer{display:flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding-bottom:env(safe-area-inset-bottom)}
 .mm-product-photo-count{min-width:45px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
 @media(max-width:319px){
  #productRoot.mm-product-mobile .product-variants{grid-template-columns:repeat(5,minmax(0,1fr))}
 }
}
