﻿/* GLÜXXFUND – kompakter Seitentitel mit höherer Spezifität */
body.wp-theme-blocksy .hero-section .entry-header {
  height: auto !important;
  min-height: 76px !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
@media (max-width: 768px) {
  body.wp-theme-blocksy .hero-section .entry-header {
    min-height: 64px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

/* GLÜXXFUND – zentrierte Standardseiten und kompakte Seitentitel */
body:not(.woocommerce-cart):not(.single-product) .entry-content.is-layout-constrained {
  box-sizing: border-box;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  width: min(calc(100% - 64px), 1180px) !important;
}
.hero-section .entry-header {
  height: auto !important;
  min-height: 76px !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}
.hero-section .page-title,
.hero-section .entry-title {
  line-height: 1.2 !important;
  margin: 0 !important;
}
.woocommerce a.button:hover,
.woocommerce a.button:focus,
.woocommerce button.button:not(:disabled):hover,
.woocommerce button.button:not(:disabled):focus,
.woocommerce input.button:not(:disabled):hover,
.woocommerce input.button:not(:disabled):focus {
  color: #ffffff !important;
}
@media (max-width: 768px) {
  body:not(.woocommerce-cart):not(.single-product) .entry-content.is-layout-constrained {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: calc(100% - 24px) !important;
  }
  .hero-section .entry-header {
    min-height: 64px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }
}

body.wp-theme-blocksy {
  --theme-font-family: var(--gf-font);
  --theme-text-color: var(--gf-ink);
  --theme-link-initial-color: var(--gf-brown);
  --theme-link-hover-color: var(--gf-caramel-dark);
  --theme-button-text-initial-color: var(--gf-paper);
  --theme-button-text-hover-color: var(--gf-paper);
  --theme-button-background-initial-color: var(--gf-brown);
  --theme-button-background-hover-color: var(--gf-caramel-dark);
  --theme-button-border-radius: var(--gf-radius-pill);
  --theme-form-field-background-initial-color: var(--gf-paper);
  --theme-form-field-border-initial-color: var(--gf-line-strong);
  --theme-form-field-border-focus-color: var(--gf-caramel);
  --theme-form-text-initial-color: var(--gf-ink);
  background: var(--gf-cream);
  color: var(--gf-ink);
  font-family: var(--gf-font);
}

body.wp-theme-blocksy .site-main,
body.wp-theme-blocksy main,
body.wp-theme-blocksy .entry-content {
  color: var(--gf-ink);
  font-family: var(--gf-font);
}

body.wp-theme-blocksy .ct-container,
body.wp-theme-blocksy .ct-constrained-width {
  padding-left: var(--gf-page-gutter);
  padding-right: var(--gf-page-gutter);
}

body.wp-theme-blocksy .woocommerce a.add_to_cart_button,
body.wp-theme-blocksy .woocommerce button.single_add_to_cart_button,
body.wp-theme-blocksy .woocommerce a.button,
body.wp-theme-blocksy .woocommerce button.button,
body.wp-theme-blocksy .wp-block-button__link,
body.wp-theme-blocksy a[href*="vertrag-widerrufen"].button,
body.wp-theme-blocksy .wp-block-button a[href*="vertrag-widerrufen"] {
  background: var(--gf-brown);
  border: 1px solid var(--gf-brown);
  border-radius: var(--gf-radius-pill);
  color: var(--gf-paper);
  display: inline-flex;
  font-family: var(--gf-font);
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.25;
  min-height: 44px;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

body.wp-theme-blocksy .woocommerce a.add_to_cart_button:hover,
body.wp-theme-blocksy .woocommerce button.single_add_to_cart_button:hover,
body.wp-theme-blocksy .woocommerce a.button:hover,
body.wp-theme-blocksy .woocommerce button.button:hover,
body.wp-theme-blocksy .wp-block-button__link:hover,
body.wp-theme-blocksy .woocommerce a.add_to_cart_button:focus-visible,
body.wp-theme-blocksy .woocommerce button.single_add_to_cart_button:focus-visible,
body.wp-theme-blocksy .woocommerce a.button:focus-visible,
body.wp-theme-blocksy .woocommerce button.button:focus-visible,
body.wp-theme-blocksy .wp-block-button__link:focus-visible {
  background: var(--gf-caramel-dark);
  border-color: var(--gf-caramel-dark);
  color: var(--gf-paper);
}

body.wp-theme-blocksy .woocommerce a.add_to_cart_button:focus-visible,
body.wp-theme-blocksy .woocommerce button.single_add_to_cart_button:focus-visible,
body.wp-theme-blocksy .woocommerce a.button:focus-visible,
body.wp-theme-blocksy .woocommerce button.button:focus-visible,
body.wp-theme-blocksy .wp-block-button__link:focus-visible {
  outline: 3px solid var(--gf-caramel);
  outline-offset: 3px;
}


.ct-cart-content {
  --mini-cart-background-color: var(--gf-paper);
  --theme-text-color: var(--gf-ink);
  --theme-link-initial-color: var(--gf-brown);
  --theme-link-hover-color: var(--gf-caramel-dark);
  --mini-cart-divider-color: var(--gf-line);
  background: var(--gf-paper);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius-card);
  box-shadow: var(--gf-shadow);
  color: var(--gf-ink);
  font-family: var(--gf-font);
}

.ct-cart-content .woocommerce-mini-cart__total,
.ct-cart-content .woocommerce-mini-cart__buttons,
.ct-cart-content .woocommerce-mini-cart__buttons a.button,
.ct-cart-content .woocommerce-mini-cart__buttons a.wc-forward {
  font-family: var(--gf-font);
}

.ct-cart-content .woocommerce-mini-cart__total {
  color: var(--gf-ink);
  line-height: 1.35;
  margin: 18px 0 14px;
}

.ct-cart-content .woocommerce-mini-cart__buttons {
  gap: 10px;
  margin-top: 16px;
}

.ct-cart-content .woocommerce-mini-cart__buttons a.button,
.ct-cart-content .woocommerce-mini-cart__buttons a.wc-forward {
  background: var(--gf-brown);
  border: 1px solid var(--gf-brown);
  border-radius: var(--gf-radius-pill);
  color: var(--gf-paper);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  min-height: 44px;
  opacity: 1;
  padding: 11px 22px;
  text-align: center;
  text-decoration: none;
  text-indent: 0;
  white-space: normal;
}

