/* ======================================================================
   Dreycommerce UX Userfix 1.4.1
   Zweck: globaler Header aus Einstellungen, weniger Leerraum, bessere Buttons,
   ruhige WooCommerce-Produktseite.
   ====================================================================== */

/* 01 Kein unnötiger oberer Abstand */
body.dreyux-theme,
body.shopaudit-modern-active{
  margin-top:0!important;
  padding-top:0!important;
}
body.dreyux-theme .drey-header,
body.shopaudit-modern-active .drey-header,
body.dreyux-theme .drey-site-header{
  margin-top:0!important;
  padding-top:0!important;
}
body.dreyux-theme .drey-main,
body.shopaudit-modern-active .drey-main{
  padding-top:0!important;
}
body.dreyux-theme .pagehero:first-child,
body.shopaudit-modern-active .pagehero:first-child{
  margin-top:0!important;
}

/* 02 Globaler Header aus Dreycommerce > Einstellungen */
body.dreyux-theme .drey-site-header{
  display:block!important;
  width:100%!important;
}
body.dreyux-theme .drey-site-topbar,
body.dreyux-theme .drey-site-mainbar{
  width:100%!important;
}
body.dreyux-theme .drey-site-logo,
body.dreyux-theme .drey-site-links a,
body.dreyux-theme .drey-site-cta{
  text-decoration:none!important;
}
body.dreyux-theme .drey-site-logo:hover,
body.dreyux-theme .drey-site-links a:hover{
  text-decoration:none!important;
}

/* 03 Buttons kompakter, klarer, näher an der Aktion */
body.dreyux-theme .actions{
  gap:10px!important;
  margin-top:18px!important;
}
body.dreyux-theme .btn,
body.dreyux-theme .button,
body.dreyux-theme button,
body.dreyux-theme input[type="submit"],
body.dreyux-theme .wp-block-button__link{
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  font-weight:950;
  line-height:1.1;
  letter-spacing:-.01em;
}
body.dreyux-theme .btn.primary,
body.dreyux-theme .wp-block-button__link,
body.dreyux-theme input[type="submit"]{
  box-shadow:0 12px 28px rgba(245,222,130,.18)!important;
}
body.dreyux-theme .card .btn,
body.dreyux-theme .offer .btn{
  margin-top:18px!important;
}
body.dreyux-theme .card.s12 .notice + .btn,
body.dreyux-theme .notice + .btn{
  margin-top:10px!important;
}
body.dreyux-theme .section{
  padding-top:54px!important;
  padding-bottom:54px!important;
}
body.dreyux-theme .pagehero{
  padding-top:56px!important;
  padding-bottom:24px!important;
}
body.dreyux-theme .micro{
  margin-top:10px!important;
}

/* 04 Kontaktformular: Feldfrage verständlich, Button näher */
body.dreyux-theme .form{
  gap:12px!important;
  max-width:min(640px,100%)!important;
}
body.dreyux-theme .form input,
body.dreyux-theme .form textarea,
body.dreyux-theme .form select{
  min-height:52px!important;
  padding:14px 16px!important;
  border-radius:16px!important;
}
body.dreyux-theme .form textarea{
  min-height:118px!important;
}
body.dreyux-theme .form .btn,
body.dreyux-theme .form button[type="submit"]{
  margin-top:10px!important;
  min-height:54px!important;
  width:100%!important;
}

/* 06 WooCommerce Produktseite: stärker als Theme-/Plugin-CSS */
body.single-product.woocommerce div.product{
  gap:24px!important;
  align-items:start!important;
}
body.single-product.woocommerce div.product .product_title,
body.single-product.woocommerce-page div.product .product_title{
  font-size:clamp(30px,3.2vw,44px)!important;
  line-height:1.05!important;
  letter-spacing:-.05em!important;
  margin-bottom:12px!important;
  text-align:left!important;
}
body.single-product.woocommerce div.product .summary,
body.single-product.woocommerce-page div.product .summary{
  padding:24px!important;
}
body.single-product.woocommerce .drey-product-value-badges,
body.single-product.woocommerce .drey-trust-list,
body.single-product.woocommerce .drey-trust-item,
body.single-product.woocommerce .drey-gallery-note,
body.single-product.woocommerce .drey-checkout-trust{
  display:none!important;
}
body.single-product.woocommerce .single_add_to_cart_button,
body.single-product.woocommerce div.product form.cart .button{
  min-height:60px!important;
  font-size:17px!important;
  border-radius:18px!important;
}
body.single-product.woocommerce div.product .woocommerce-tabs{
  margin-top:22px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}

/* 07 Adminbar und Header sollen sich nicht gegenseitig aufblähen */
body.admin-bar #wpadminbar,
body.admin-bar #wpadminbar *{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
}

/* 08 Seitentitel optional ausblenden */
body.drey-hide-page-title .drey-page-fallback h1,
body.drey-hide-page-title .pagehero h1,
body.drey-hide-page-title .drey-page-editor-html > h1:first-child,
body.drey-hide-page-title .entry-title{
  display:none!important;
}
body.drey-hide-page-title .pagehero,
body.drey-hide-page-title .drey-page-fallback{
  padding-top:clamp(24px,4vw,48px)!important;
}
