/* Mobile homepage only. Desktop and other shop routes retain their existing styles. */
@media(max-width:780px){
 .ms-shop-home .ms-home-mobile-header[hidden]{display:block}
 .ms-shop-home #masthead .manufaktur-header,.ms-shop-home #masthead .ms-category-navigation,.ms-shop-home .ms-about-launcher{display:none!important}
 /* No-JS fallback: an explicit navigation skip reveals its original target. */
 .ms-shop-home #masthead .ms-category-navigation:has(#site-navigation:target){display:block!important}
 .ms-shop-home .ms-home-mobile-header{position:relative;background:var(--ms-bg);color:var(--ms-text)}
 .ms-shop-home .ms-mobile-home-top{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;align-items:center;gap:0;min-height:64px;padding:4px var(--ms-gutter)}
 .ms-shop-home .ms-mobile-home-brand{display:block;width:100%;max-width:220px;min-width:0;padding:3px 8px}
 .ms-shop-home .ms-mobile-home-brand img{display:block;width:100%;height:auto;margin:0}
 .ms-shop-home .ms-mobile-home-top :is(summary,.ms-header-cart){display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ms-text);list-style:none;cursor:pointer}
 .ms-shop-home .ms-mobile-home-top summary::-webkit-details-marker{display:none}
 .ms-shop-home .ms-mobile-home-top .ms-cart-count{right:0;top:0}
 .ms-shop-home .ms-mobile-home-panel{position:absolute;z-index:60;top:64px;left:var(--ms-gutter);right:var(--ms-gutter);max-height:calc(100svh - 112px);overflow-y:auto;overflow-wrap:anywhere;padding:1rem;border:1px solid var(--ms-line);background:#191815;box-shadow:0 .75rem 1.5rem #0006}
 .ms-shop-home nav.ms-mobile-home-panel a{display:flex;align-items:center;min-height:44px;border-bottom:1px solid var(--ms-line);font-size:1rem;line-height:1.4}
 .ms-shop-home .ms-mobile-home-shortcuts{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.15rem 1rem;min-height:44px;padding:0 var(--ms-gutter);border-top:1px solid var(--ms-line);border-bottom:1px solid var(--ms-line)}
 .ms-shop-home .ms-mobile-home-shortcuts a{display:inline-flex;align-items:center;gap:.6rem;min-height:44px;font-size:.9rem}
 .ms-shop-home .ms-home-mobile-header :is(a,summary,button,input):focus-visible{outline:2px solid var(--ms-sand);outline-offset:2px}
 .ms-shop-home #main .ms-home-carousel{--ms-mobile-photo-height:clamp(15rem,70vw,20rem);padding-top:.75rem}
 .ms-shop-home #main .ms-home-carousel .ms-home-slide{grid-template-columns:minmax(0,1fr);grid-template-rows:var(--ms-mobile-photo-height) auto;min-height:0;align-items:start}
 .ms-shop-home #main .ms-home-carousel .ms-home-slide-image{grid-row:1;align-self:start;height:var(--ms-mobile-photo-height);aspect-ratio:auto;margin:0 var(--ms-gutter)}
 .ms-shop-home #main .ms-home-carousel .ms-home-slide-image img{object-fit:contain;object-position:center}
 .ms-shop-home #main .ms-home-carousel .ms-home-slide-copy{grid-row:2;align-self:start;padding:3rem var(--ms-gutter) 1.25rem}
 .ms-shop-home #main .ms-home-carousel .ms-home-rule,.ms-shop-home #main .ms-home-carousel .ms-home-slide-description{display:none}
 .ms-shop-home #main .ms-home-carousel .ms-home-eyebrow{font-size:.7rem;line-height:1.4;margin:0 0 .5rem}
 .ms-shop-home #main .ms-home-carousel h2{font-size:clamp(1.75rem,7vw,2rem);line-height:1.12;margin:0 0 .6rem;max-width:none}
 .ms-shop-home #main .ms-home-carousel .ms-home-mobile-description[hidden]{display:block;font-size:.95rem;line-height:1.45;margin:0 0 .75rem}
 .ms-shop-home #main .ms-home-carousel .ms-home-feature-price{font-size:1.45rem;line-height:1.3;margin:0 0 .35rem}
 .ms-shop-home #main .ms-home-carousel .ms-home-feature-notes{font-size:.75rem;line-height:1.5;margin:0 0 1rem}
 .ms-shop-home #main .ms-home-carousel .ms-home-actions{max-width:none;display:block}
 .ms-shop-home #main .ms-home-carousel .ms-home-actions .button{display:flex;justify-content:space-between;width:100%;max-width:none;min-height:48px;padding:.7rem 1rem;font-size:.95rem;gap:.5rem}
 .ms-shop-home #main .ms-home-carousel-controls{top:calc(.75rem + var(--ms-mobile-photo-height) + .25rem);bottom:auto;left:var(--ms-gutter);right:var(--ms-gutter);transform:none;justify-content:center;min-height:36px;padding:0}
 .ms-shop-home #main .ms-home-carousel-controls[hidden]{display:none}
 .ms-shop-home #main .ms-home-carousel-controls .ms-home-carousel-pause{position:absolute;right:0;min-width:36px;width:36px;min-height:36px;height:36px}
 .ms-shop-home #main .ms-home-carousel-dots{gap:0}
 .ms-shop-home .ms-home-selection{margin-top:1.5rem}
 .ms-shop-home .ms-home-selection .ms-home-section-heading{gap:.4rem;margin-bottom:1rem}
 .ms-shop-home .ms-home-selection .ms-home-section-heading h2{font-size:clamp(1.45rem,5.8vw,1.8rem)}
 .ms-shop-home .ms-home-selection .ms-home-text-link{font-size:.85rem}
 .ms-shop-home .ms-home-selection ul.products{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:.75rem}
 .ms-shop-home .ms-home-selection ul.products li.product img{padding:6px}
 .ms-shop-home .ms-home-selection ul.products li.product .woocommerce-loop-product__title{font-size:1rem;line-height:1.3;margin-bottom:.5rem}
 .ms-shop-home .ms-home-selection ul.products li.product .price{font-size:.9rem}
 .ms-shop-home .ms-home-selection ul.products li.product .ms-price-includes{font-size:.65rem}
 .ms-shop-home .ms-home-selection ul.products li.product :is(.ms-tax-note,.ms-shipping-note){font-size:.7rem;line-height:1.5}
 .ms-shop-home .ms-home-selection ul.products li.product>.stock{font-size:.8rem;margin-top:.7rem}
 .ms-shop-home .ms-home-selection ul.products li.product>.button{width:100%;min-height:44px;margin-top:.8rem;font-size:.8rem;padding:.55rem .35rem}
}
