/* Header, Kategorien und Produktlayout */
html{scroll-behavior:smooth!important;}
#categories,#cart,#products{scroll-margin-top:96px!important;}

/* Header Schnellbuttons */
.site-header .header-inner{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex-wrap:nowrap!important;
}
.site-header .brand{flex:1 1 auto!important;min-width:160px!important;}
.header-quick-links{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  flex:0 0 auto!important;
  margin-left:auto!important;
}
.header-quick-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:9px 13px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
  text-decoration:none!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.header-quick-btn:hover,
.header-quick-btn:focus-visible{
  background:linear-gradient(135deg,#ff7a18,#ff2d55)!important;
  outline:none!important;
}
.site-header .menu-toggle,
.site-header .guest-links{margin-left:0!important;flex:0 0 auto!important;}

/* Hero: nur noch ein sauberer CTA */
.hero-actions{margin-top:22px!important;}
.hero-actions .hero-btn{min-width:180px!important;}

/* Kategorien wieder als kleine Pills, nicht als große Kacheln */
.tab-container{
  display:block!important;
  max-width:1180px!important;
  margin:12px auto 16px!important;
  padding:10px!important;
  border-radius:22px!important;
  position:relative!important;
  top:auto!important;
  overflow:visible!important;
}
.tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  max-height:none!important;
  height:auto!important;
  width:100%!important;
  padding:0!important;
}
.tabs button,
.tab,
.category-tab-img,
.tab.utility{
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  white-space:normal!important;
  text-align:left!important;
  padding:7px 11px 7px 7px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1.1!important;
}
.tab.utility{padding:9px 12px!important;}
.category-tab-img img{
  display:block!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  border-radius:999px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:rgba(255,255,255,.13)!important;
  padding:3px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
.category-tab-img span{font-size:12px!important;line-height:1.1!important;max-width:112px!important;}
.search-box{width:100%!important;max-width:620px!important;margin:10px auto 0!important;}

/* Desktop wie mobile vom Seitenfluss her, aber mehrere Produkte nebeneinander */
.shop-layout{
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0 12px 34px!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-areas:"cart" "activity" "deal" "products" "legend"!important;
  gap:12px!important;
  align-items:start!important;
}
#cart{
  position:relative!important;
  top:auto!important;
  max-width:none!important;
  width:100%!important;
  margin:0!important;
}
#liveActivityBox,.dailyDealBox{margin:0!important;max-width:none!important;}
.product-stage,#products{
  grid-template-columns:repeat(auto-fill,minmax(158px,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
}
.product{
  min-height:0!important;
  padding:11px!important;
  border-radius:16px!important;
}
.product h4{font-size:13px!important;min-height:44px!important;}
.discounted-price{font-size:18px!important;}
.addBtn,#finalBtn,.dailyDealBtn{font-size:12px!important;padding:8px 10px!important;}
.quantity-container button{width:28px!important;height:28px!important;}
.quantity-container input{width:40px!important;height:28px!important;}

/* Kategorie-Banner: Bild komplett sichtbar */
.category-banner{padding:16px!important;gap:14px!important;}
.category-banner img{
  display:block!important;
  width:100%!important;
  max-width:260px!important;
  height:130px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:rgba(255,255,255,.08)!important;
  padding:8px!important;
  box-sizing:border-box!important;
}

@media(max-width:760px){
  .site-header .header-inner{flex-wrap:wrap!important;padding:10px 12px!important;gap:8px!important;}
  .site-header .brand{flex:1 1 calc(100% - 98px)!important;}
  .header-quick-links{order:3;width:100%!important;margin-left:0!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .header-quick-btn{width:100%!important;min-height:38px!important;font-size:13px!important;padding:9px 10px!important;}
  .site-header .menu-toggle{order:2!important;}
  .site-header .guest-links{order:2!important;}
  .shop-hero{margin-top:10px!important;padding:10px!important;}
  .shop-layout{max-width:720px!important;padding:0 10px 28px!important;}
  .tab-container{margin:10px 10px 14px!important;}
  .tabs{justify-content:flex-start!important;gap:7px!important;}
  .tabs button,.tab,.category-tab-img,.tab.utility{font-size:11px!important;padding:6px 9px 6px 6px!important;}
  .category-tab-img img{width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;}
  .category-tab-img span{max-width:96px!important;font-size:11px!important;}
  .product-stage,#products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
  .category-banner img{max-width:100%!important;height:150px!important;}
}

@media(min-width:1180px){
  .product-stage,#products{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
}
@media(min-width:1500px){
  .shop-layout,.tab-container{max-width:1320px!important;}
  .product-stage,#products{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
}
