/* ST Workwear 1.9 – targeted frontend corrections.
 * Editorial content remains in Gutenberg, visual layout stays in the theme. */

/* Do not turn the complete homepage into a clipped, non-scrollable container.
   Individual hero/gallery sections handle their own image clipping. */
body .st-editorial-home.st-premium-home{overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important}
.st-home-content-anchor{display:block;height:0;scroll-margin-top:83px}
html{scroll-padding-top:83px}

/* Hero: move the text toward the visual centre without centre-aligning sentences. */
body .st-premium-slide__inner{padding-left:clamp(120px,12.2vw,230px);padding-right:clamp(24px,3vw,50px)}
body .st-premium-slide__copy{max-width:min(820px,72vw)}
body .st-premium-slide__edition{display:none!important}
body .st-premium-hero__scroll{display:inline-flex;align-items:center;gap:16px;color:#fff!important;text-decoration:none!important;min-height:48px;padding:8px 5px;border-bottom:1px solid transparent;transition:color .25s ease,border-color .25s ease}
body .st-premium-hero__scroll:hover,body .st-premium-hero__scroll:focus-visible{color:#fff!important;border-bottom-color:var(--accent)}
body .st-premium-hero__scroll:hover span{color:var(--accent)}

/* Product teaser: undo the oversized 1.8 rhythm and remove the blue slab. */
body .st-premium-home .st-gb-shop-preview{background:#fff!important;padding-top:clamp(74px,7.4vw,115px)!important;padding-bottom:clamp(78px,7.4vw,118px)!important}
body .st-premium-home .st-gb-shop-preview .st-gb-kicker{margin-bottom:clamp(15px,1.8vw,25px)!important}
body .st-premium-home .st-gb-shop-preview>.st-gb-intro-cols{margin-bottom:clamp(32px,3.6vw,56px)!important;gap:clamp(26px,5vw,82px)!important;align-items:center}
body .st-premium-home .st-gb-shop-preview .st-gb-intro-cols h2{margin:0!important;line-height:1.115!important}
body .st-premium-home .st-gb-shop-preview .wp-block-buttons{margin-top:18px!important}
body .st-premium-home .st-gb-shop-preview .st-gb-lead{margin-bottom:0!important;line-height:1.75!important}
body .st-premium-home .st-shop-preview__tile:nth-child(2){margin-top:clamp(25px,3.5vw,50px)}
body .st-premium-home .st-shop-preview__tile:nth-child(3){margin-top:15px}
body .st-premium-home .st-gb-products{background:#fff!important}

/* The earlier demo used a non-product architecture photo. A fabric/workwear
   photo is now the fallback; uploaded editor images still sit above it. */
body .st-premium-home .st-gb-photo{background-image:linear-gradient(90deg,rgba(6,24,39,.66),rgba(7,33,55,.14)),url('images/workwear-flatlay.webp')!important;background-position:center;background-size:cover}
body .st-premium-home .st-gb-photo>.wp-block-cover__image-background{object-position:center 40%}

/* Editorial story link now uses the same hairline style as About. */
/* Shop: remove the "Filter & Auswahl" sidebar and blue product surfaces,
   but retain the WooCommerce category navigation and real product search. */
body .st-premium-shop{background:#fff!important}
body .st-premium-shop .st-shop-layout{display:block!important;padding-top:clamp(44px,5vw,74px)!important;padding-bottom:clamp(75px,8vw,115px)!important}
body .st-premium-shop .st-shop-sidebar{display:none!important}
body .st-premium-shop .st-shop-results{width:100%;min-width:0;background:transparent!important}
body .st-premium-shop .st-shop-results ul.products{width:100%;margin-inline:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body .st-premium-shop .st-product-card{background:transparent!important;box-shadow:none!important}
body .st-premium-shop .st-product-card__media{background:#f5f5f2!important;border-radius:0!important}
body .st-premium-shop .st-product-card__media:after{background:none!important}
body .st-premium-shop .st-product-card__details{background:transparent!important}
body .st-premium-shop .st-shop-empty{background:#f5f5f2!important}
body .st-premium-shop .st-premium-categories{background:#fff!important}

@media(max-width:1000px){
  body .st-premium-slide__inner{padding-left:clamp(38px,5vw,68px);padding-right:clamp(20px,3vw,36px)}
  body .st-premium-slide__copy{max-width:min(760px,90vw)}
  body .st-premium-shop .st-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  body .st-premium-slide__inner{padding-left:24px;padding-right:24px}
  body .st-premium-slide__copy{max-width:100%}
  body .st-premium-home .st-gb-shop-preview{padding-top:68px!important;padding-bottom:78px!important}
  body .st-premium-home .st-gb-shop-preview>.st-gb-intro-cols{margin-bottom:34px!important}
  body .st-premium-home .st-shop-preview__tile:nth-child(2),
  body .st-premium-home .st-shop-preview__tile:nth-child(3){margin-top:0}
  body .st-premium-shop .st-shop-layout{padding-top:44px!important}
}
@media(max-width:480px){
  body .st-premium-shop .st-shop-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body .st-premium-hero__scroll{transition:none}}
