/* Every rule is scoped to mobile; desktop styles remain unchanged. */
@media(max-width:800px){
html,body{max-width:100%;overflow-x:clip}
.home-section,.collection-section,.product-layout,.product-info,.product-gallery,.gallery-stage{min-width:0;max-width:100%}
.home-section .family-row,.collection-section .family-row{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:78%!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;touch-action:pan-x pan-y;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.family-row .product-card.range-page-hidden{display:block!important}.family-row .product-photo{touch-action:pan-x pan-y}.family-row img{-webkit-user-drag:none}
.product-layout{display:flex!important;flex-direction:column!important;gap:16px!important}.product-layout>div,.product-layout>section{width:100%;min-width:0}.dd-mobile-heading{order:-1}.dd-mobile-heading h1{font-size:22px;line-height:1.4;letter-spacing:.08em;margin:8px 0 16px}.dd-mobile-heading .product-back{text-align:left;padding:0;margin:0 0 12px;width:auto}.dd-mobile-heading .swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.dd-mobile-heading .swatch{width:100%;height:auto;aspect-ratio:1;min-width:0}.dd-mobile-heading .swatch img{width:100%;height:100%;object-fit:cover}.dd-mobile-heading .palette-help{font-size:13px;line-height:1.5}.product-layout .breadcrumbs,.product-info>.vendor{display:none}
.product-gallery,.sample-product .product-gallery{display:flex!important;flex-direction:column!important;position:static!important;gap:10px}.product-gallery .gallery-stage{order:0!important;width:100%}.product-gallery .main-image,.sample-product .product-gallery .main-image,#product-gallery-video{width:100%!important;height:auto!important;max-height:65svh!important;object-fit:contain!important;transform:none!important}.product-gallery .thumbs{order:1!important;display:flex!important;flex-direction:row!important;gap:8px;overflow-x:auto;width:100%;padding:4px 0}.product-gallery .thumbs button{flex:0 0 64px;width:64px!important;height:82px!important;min-width:64px}.product-gallery .thumbs img{width:100%;height:100%;object-fit:contain}
.product-gallery .model-colour-reference{order:2!important;width:100%;margin:0}.colour-reference-card{display:flex;align-items:center;gap:12px;padding:8px 12px}.colour-reference-card .colour-reference-heading{display:none}.colour-reference-card img{width:48px!important;height:48px!important;object-fit:cover}.colour-reference-card strong{font-size:15px}.colour-reference-note{font-size:12px;line-height:1.5;margin:8px 0}.model-preview-status:empty{display:none}.model-preview-status{font-size:13px}
.product-info .length-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.product-info .choice,.product-info .option-button{min-height:44px}.product-information{margin-top:0}.product-information summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}.product-information summary::after{content:'+'}.product-information details[open]>summary::after{content:'−'}.product-info .product-actions{display:flex;gap:8px}.product-actions>.btn:first-child{flex:1;min-width:0;font-size:12px;padding:14px 10px}.product-actions .wish-btn{flex:0 0 48px}.product-gallery .video-controls{max-width:100%;flex-wrap:wrap}.range-navigation button{min-width:44px;min-height:44px}
}

@media(max-width:800px){
.home-section .family-row,.collection-section .family-row{grid-auto-columns:100%!important;gap:0!important;scroll-snap-type:x mandatory!important;overflow-anchor:none;scroll-behavior:smooth}
.family-row>.product-card{width:100%!important;min-width:0!important;scroll-snap-align:start;scroll-snap-stop:always;padding:0 6px;box-sizing:border-box}
.family-row .product-photo>img:first-child{opacity:1!important;visibility:visible!important;transform:none!important}.family-row .product-photo .second,.family-row .product-photo video{display:none!important}.family-row .product-photo{display:block!important;overflow:hidden!important}.family-row .card-play{opacity:1!important}
.product-layout>div:first-child:not(.dd-mobile-heading){order:0}.product-layout>.dd-mobile-heading{order:1!important}.product-layout>.product-info{order:2}.product-layout>.product-information{order:3}.dd-mobile-heading .product-back{margin-top:4px}.range-counter{display:inline-block!important;min-width:55px!important}
}

@media(max-width:800px){
.home-section .range-heading{display:flex;flex-direction:column;align-items:center;gap:12px}.home-section .range-heading h2{width:100%;text-align:center}.range-navigation-top{display:flex!important;justify-content:center!important;width:100%;margin:0 auto 12px!important}.range-navigation-top .range-counter{display:inline-block!important}
.product-gallery .model-colour-reference{display:none!important}.dd-mobile-heading h1{font-size:18px;line-height:1.3!important;letter-spacing:.035em;margin:6px 0 10px;overflow-wrap:anywhere}.dd-mobile-heading h1 br{display:none}.dd-mobile-selection{font-size:14px;font-weight:600;line-height:1.45;margin:8px 0 10px}.dd-mobile-heading .palette-preview,.dd-mobile-heading .selected-colour,.dd-mobile-heading .field-label{display:none!important}.dd-mobile-heading .palette-help{margin:0 0 8px;font-size:12px}.dd-mobile-heading .product-back{font-size:12px;margin:0 0 6px}.dd-mobile-heading .field{margin:0}
}

/* Keep the whole colour try-on area inside the visible mobile viewport. */
@media(max-width:800px){
.product-gallery.dd-colour-view{gap:5px!important;overflow-anchor:none}
.dd-colour-view .gallery-stage{flex:none!important;height:max(100px,min(60svh,calc(var(--dd-mobile-view-height,100svh) - 220px)))!important;min-height:0!important;overflow:hidden}
.product-gallery.dd-colour-view .main-image,.sample-product .product-gallery.dd-colour-view .main-image,.dd-colour-view #product-gallery-video{width:100%!important;height:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:0!important}
.dd-colour-view .dd-mobile-selection{order:1;font-size:13px;line-height:20px;margin:0!important;text-align:center;min-height:20px}
.dd-colour-view #product-colour-top{order:2;width:100%;margin:0!important}.dd-colour-view #product-colour-top .field{margin:0!important}.dd-colour-view .swatches{display:grid!important;grid-template-columns:repeat(5,minmax(44px,1fr))!important;gap:4px!important;max-width:320px;margin:0 auto!important}.dd-colour-view .swatch{width:100%!important;height:36px!important;min-height:36px!important;aspect-ratio:auto!important;padding:0!important;min-width:0!important}.dd-colour-view .swatch img{width:100%!important;height:100%!important;object-fit:cover}
.dd-colour-view .palette-help,.dd-colour-view .palette-preview,.dd-colour-view .selected-colour,.dd-colour-view #product-colour-top .field-label{display:none!important}
.product-gallery.dd-colour-view .thumbs{order:3!important;margin-top:8px!important}.dd-colour-view .model-colour-reference{display:none!important}
}
