﻿/* GLÜXXFUND – finale Aktionszeile mit eindeutiger Priorität */
body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form table.shop_table td.actions {
  display: table-cell !important;
  width: auto !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form table.shop_table td.actions .coupon {
  display: flex !important;
  float: none !important;
  width: 100% !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form button[name="update_cart"] {
  display: inline-flex !important;
  float: right !important;
  margin-top: 14px !important;
}
@media (max-width: 720px) {
  body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form button[name="update_cart"] {
    float: none !important;
/* GLÜXXFUND – finale Aktionszeile mit eindeutiger Priorität */
body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form table.shop_table td.actions {
  display: table-cell !important;
  width: auto !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form table.shop_table td.actions .coupon {
  display: flex !important;
  float: none !important;
  width: 100% !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form button[name="update_cart"] {
  display: inline-flex !important;
  float: right !important;
  margin-top: 14px !important;
}
@media (max-width: 720px) {
  body.wp-theme-blocksy.woocommerce-cart .woocommerce .woocommerce-cart-form button[name="update_cart"] {
    float: none !important;
  }
}

/* GLÜXXFUND – robuste zweizeilige Warenkorbaktionen */
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  display: table-cell !important;
  width: auto !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  display: flex !important;
  float: none !important;
  width: 100% !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  display: inline-flex !important;
  float: right !important;
  margin-top: 14px !important;
}
@media (max-width: 720px) {
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    float: none !important;
  }
}

/* GLÜXXFUND – stabile Aktionszeile und kontrastreicher Kassenbutton */
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  align-items: center;
  box-sizing: border-box;
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  width: 100% !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  flex: 1 1 430px;
  width: auto !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  flex: 0 0 190px;
}
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button:visited,
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus {
  color: #ffffff !important;
}
@media (max-width: 720px) {
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    display: block !important;
  }
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon,
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    width: 100% !important;
  }
}

/* GLÜXXFUND – Warenkorbaktionen und sichere Hover-Kontraste */
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  align-items: center;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  grid-column: 1;
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text {
  flex: 1 1 170px;
  min-width: 170px;
  width: auto !important;
}
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  float: none !important;
  grid-column: 2;
  margin: 0 !important;
  min-width: 190px;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus {
  background-color: #8f5229 !important;
  border-color: #8f5229 !important;
  color: #ffffff !important;
}
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:not(:disabled):hover,
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:not(:disabled):focus {
  background-color: #6b371c !important;
  border-color: #6b371c !important;
  color: #ffffff !important;
}
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:disabled {
  background-color: #f0e7df !important;
  border-color: #ddc9b8 !important;
  color: #9b887a !important;
  opacity: 1 !important;
}
@media (max-width: 720px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    display: block !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
    display: grid !important;
    gap: 10px;
    grid-template-columns: 1fr;
  }
  body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text,
  body.woocommerce-cart .woocommerce-cart-form .coupon .button,
  body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    box-sizing: border-box;
    margin-top: 10px !important;
    min-width: 0;
    width: 100% !important;
  }
}

/* GLÜXXFUND – bestätigte Blocksy-Warenkorbstruktur */
body.woocommerce-cart .entry-content > .woocommerce {
  display: block !important;
}
body.woocommerce-cart .ct-woocommerce-cart-form {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px) !important;
  gap: clamp(28px, 3vw, 42px) !important;
  align-items: start;
  width: 100% !important;
}
@media (max-width: 980px) {
  body.woocommerce-cart .ct-woocommerce-cart-form {
    display: block !important;
  }
}

body.page-id-8,
body.page-id-9 {
  --theme-content-background: var(--gf-cream);
  --theme-content-background-color: var(--gf-cream);
  background: var(--gf-cream);
}

body.page-id-8.wp-theme-blocksy .site-main,
body.page-id-8.wp-theme-blocksy main,
body.page-id-8.wp-theme-blocksy .entry-content,
body.page-id-9.wp-theme-blocksy .site-main,
body.page-id-9.wp-theme-blocksy main,
body.page-id-9.wp-theme-blocksy .entry-content {
  background: var(--gf-cream);
}

body.page-id-8 .woocommerce-cart-form,
body.page-id-8 .cart_totals,
body.page-id-8 .woocommerce table.shop_table {
  background: var(--gf-paper);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius-card);
  box-shadow: var(--gf-shadow);
}

body.page-id-8 .woocommerce-cart-form,
body.page-id-8 .cart_totals {
  padding: clamp(16px, 3vw, 24px);
}

@media (min-width: 769px) {
  body.page-id-8.wp-theme-blocksy .site-main > .ct-container,
  body.page-id-8.wp-theme-blocksy main > .ct-container,
  body.page-id-8.wp-theme-blocksy .site-main > .ct-constrained-width,
  body.page-id-8.wp-theme-blocksy main > .ct-constrained-width,
  body.page-id-8.wp-theme-blocksy .entry-content > .woocommerce {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    width: min(100% - (var(--gf-page-gutter) * 2), 1180px);
  }

  body.page-id-8.wp-theme-blocksy .entry-content > .woocommerce {
    padding-left: clamp(18px, 2.5vw, 34px);
    padding-right: clamp(18px, 2.5vw, 34px);
  }

/* GLÜXXFUND – aktive Warenkorbstruktur, semantisch und erweiterbar, 27.07.2026 */
body.woocommerce-cart .entry-content.is-layout-constrained {
  box-sizing: border-box;
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.woocommerce-cart .entry-content > .woocommerce {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  gap: clamp(28px, 3vw, 42px);
  align-items: start;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  width: min(calc(100% - 64px), 1180px) !important;
}
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info { grid-column: 1 / -1; }
body.woocommerce-cart .woocommerce-cart-form {
  box-sizing: border-box;
  margin: 0 !important;
  width: auto !important;
}
body.woocommerce-cart .cart-collaterals {
  display: block !important;
  width: auto !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  table-layout: auto !important;
  width: 100% !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text {
  box-sizing: border-box;
  min-width: 210px;
  width: clamp(210px, 22vw, 300px);
}
body.woocommerce-cart .woocommerce-cart-form .coupon .button,
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  border-radius: var(--gf-radius-pill);
  white-space: nowrap;
}
body.woocommerce-cart .ppcp-messages,
body.woocommerce-cart #wc-stripe-express-checkout-element,
body.woocommerce-cart .ppc-button-wrapper {
  display: none !important;
}
@media (max-width: 980px) {
  body.woocommerce-cart .entry-content > .woocommerce {
    display: block;
    width: min(calc(100% - 32px), 720px) !important;
  }
  body.woocommerce-cart .cart-collaterals { margin-top: 24px; }
}

  body.page-id-8 .woocommerce-cart-form {
    box-sizing: border-box;
    margin-bottom: clamp(22px, 3vw, 34px);
    width: 100%;
  }

  body.page-id-8 .cart-collaterals {
    align-items: flex-start;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
    width: 100%;
  }

  body.page-id-8 .cart-collaterals .cart_totals {
    box-sizing: border-box;
    float: none;
    margin-left: auto;
    width: min(100%, 430px);
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table {
    table-layout: auto;
    width: 100%;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions {
    padding-top: 18px;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: min(100%, 560px);
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon input.input-text,
  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon input#coupon_code {
    box-sizing: border-box;
    min-width: 220px;
    width: clamp(220px, 24vw, 320px);
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon .button {
    white-space: nowrap;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions > button[name="update_cart"] {
    margin-left: 16px;
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  body.page-id-8.wp-theme-blocksy .entry-content > .woocommerce {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.page-id-8 .cart-collaterals {
    display: block;
  }

  body.page-id-8 .cart-collaterals .cart_totals {
    margin-top: 22px;
    width: 100%;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon {
    margin-bottom: 12px;
    max-width: 100%;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions > button[name="update_cart"] {
    margin-left: 0;
  }
}

body.page-id-8 .woocommerce table.shop_table th,
body.page-id-8 .woocommerce table.shop_table td {
  border-color: var(--gf-line);
  color: var(--gf-ink);
  font-family: var(--gf-font);
  line-height: 1.45;
}

body.page-id-8 .woocommerce-cart-form .coupon {
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

body.page-id-8 .woocommerce-cart-form button.button:disabled {
  opacity: .55;
}

@media (min-width: 981px) {
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    width: min(100% - (var(--gf-page-gutter) * 2), 1180px);
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart.alignwide {
    margin-left: auto;
    margin-right: auto;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    align-items: flex-start;
    column-gap: clamp(28px, 3vw, 44px);
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-main {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar {
    box-sizing: border-box;
    flex: 0 0 clamp(360px, 30vw, 430px);
    max-width: 430px;
    min-width: 340px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form {
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 10px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input {
    flex: 1 1 220px;
    min-width: 0;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__submit-container,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__payment-options,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-express-payment,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .ppcp-button-apm {
    margin-top: 14px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: min(100% - 36px, 100%);
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    column-gap: 0;
    row-gap: 22px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-main,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-main,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-button,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
  }
}

body.page-id-8 .wp-block-query,
body.page-id-8 .wp-block-woocommerce-product-template,
body.page-id-8 .wc-block-grid,
body.page-id-8 .ct-trending-block,
body.page-id-9 .wp-block-query,
body.page-id-9 .wp-block-woocommerce-product-template,
body.page-id-9 .wc-block-grid,
body.page-id-9 .ct-trending-block,
body.woocommerce-account .wp-block-query,
body.woocommerce-account .wp-block-woocommerce-product-template,
body.woocommerce-account .wc-block-grid,
body.woocommerce-account .ct-trending-block {
  display: none;
}

body.page-id-8.wp-theme-blocksy .ct-trending-block,
body.page-id-8.wp-theme-blocksy [class*="ct-trending-block"],
body.wp-singular.page-id-8.wp-theme-blocksy .ct-trending-block,
body.page-id-9.wp-theme-blocksy .ct-trending-block,
body.woocommerce-account.wp-theme-blocksy .ct-trending-block {
  display: none !important;
}

body.page-id-8.wp-theme-blocksy .ct-footer [data-row*="bottom"],
body.page-id-8.wp-theme-blocksy footer [data-row*="bottom"],
body.page-id-9.wp-theme-blocksy .ct-footer [data-row*="bottom"],
body.page-id-9.wp-theme-blocksy footer [data-row*="bottom"] {
  background: var(--gf-paper);
  color: var(--gf-ink);
  font-family: var(--gf-font);
  padding: 14px var(--gf-page-gutter);
}

body.page-id-8.wp-theme-blocksy .ct-footer #text-2,
body.page-id-8.wp-theme-blocksy .ct-footer #text-3,
body.page-id-8.wp-theme-blocksy .ct-footer #text-5,
body.page-id-8.wp-theme-blocksy footer #text-2,
body.page-id-8.wp-theme-blocksy footer #text-3,
body.page-id-8.wp-theme-blocksy footer #text-5,
body.page-id-9.wp-theme-blocksy .ct-footer #text-2,
body.page-id-9.wp-theme-blocksy .ct-footer #text-3,
body.page-id-9.wp-theme-blocksy .ct-footer #text-5,
body.page-id-9.wp-theme-blocksy footer #text-2,
body.page-id-9.wp-theme-blocksy footer #text-3,
body.page-id-9.wp-theme-blocksy footer #text-5 {
  display: none !important;
}

body.page-id-8.wp-theme-blocksy .ct-footer #text-4,
body.page-id-8.wp-theme-blocksy footer #text-4,
body.page-id-9.wp-theme-blocksy .ct-footer #text-4,
body.page-id-9.wp-theme-blocksy footer #text-4 {
  display: block;
  margin: 0;
  max-width: 100%;
}

/* Checkout: klare Freigabe erst nach vollständigen Pflichtangaben */
body.woocommerce-checkout form.checkout #place_order:disabled,
body.woocommerce-checkout form.checkout #place_order[aria-disabled="true"] {
  background: var(--gf-taupe, #b6a496) !important;
  border-color: var(--gf-taupe, #b6a496) !important;
  color: var(--gf-paper, #fffaf4) !important;
  cursor: not-allowed;
  opacity: .62;
  pointer-events: none;
}

/* Kleinunternehmerhinweis bleibt sichtbar, tritt aber optisch zurück. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .small-business-info,
body.woocommerce-cart .cart_totals .small-business-info {
  color: var(--gf-muted, #75685f);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 10px 0 0;
  opacity: .78;
  text-align: left;
}
  }
}

/* GLÜXXFUND – robuste zweizeilige Warenkorbaktionen */
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  display: table-cell !important;
  width: auto !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  display: flex !important;
  float: none !important;
  width: 100% !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  display: inline-flex !important;
  float: right !important;
  margin-top: 14px !important;
}
@media (max-width: 720px) {
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    float: none !important;
  }
}

/* GLÜXXFUND – stabile Aktionszeile und kontrastreicher Kassenbutton */
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  align-items: center;
  box-sizing: border-box;
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  width: 100% !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  flex: 1 1 430px;
  width: auto !important;
}
body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  flex: 0 0 190px;
}
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button:visited,
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.wp-theme-blocksy.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus {
  color: #ffffff !important;
}
@media (max-width: 720px) {
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    display: block !important;
  }
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon,
  body.wp-theme-blocksy.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    width: 100% !important;
  }
}

/* GLÜXXFUND – Warenkorbaktionen und sichere Hover-Kontraste */
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
  align-items: center;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  grid-column: 1;
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
}
body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text {
  flex: 1 1 170px;
  min-width: 170px;
  width: auto !important;
}
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  float: none !important;
  grid-column: 2;
  margin: 0 !important;
  min-width: 190px;
}
body.woocommerce-cart .woocommerce-cart-form .coupon .button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus {
  background-color: #8f5229 !important;
  border-color: #8f5229 !important;
  color: #ffffff !important;
}
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:not(:disabled):hover,
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:not(:disabled):focus {
  background-color: #6b371c !important;
  border-color: #6b371c !important;
  color: #ffffff !important;
}
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"]:disabled {
  background-color: #f0e7df !important;
  border-color: #ddc9b8 !important;
  color: #9b887a !important;
  opacity: 1 !important;
}
@media (max-width: 720px) {
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions {
    display: block !important;
  }
  body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
    display: grid !important;
    gap: 10px;
    grid-template-columns: 1fr;
  }
  body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text,
  body.woocommerce-cart .woocommerce-cart-form .coupon .button,
  body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    box-sizing: border-box;
    margin-top: 10px !important;
    min-width: 0;
    width: 100% !important;
  }
}

/* GLÜXXFUND – bestätigte Blocksy-Warenkorbstruktur */
body.woocommerce-cart .entry-content > .woocommerce {
  display: block !important;
}
body.woocommerce-cart .ct-woocommerce-cart-form {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px) !important;
  gap: clamp(28px, 3vw, 42px) !important;
  align-items: start;
  width: 100% !important;
}
@media (max-width: 980px) {
  body.woocommerce-cart .ct-woocommerce-cart-form {
    display: block !important;
  }
}

body.page-id-8,
body.page-id-9 {
  --theme-content-background: var(--gf-cream);
  --theme-content-background-color: var(--gf-cream);
  background: var(--gf-cream);
}

body.page-id-8.wp-theme-blocksy .site-main,
body.page-id-8.wp-theme-blocksy main,
body.page-id-8.wp-theme-blocksy .entry-content,
body.page-id-9.wp-theme-blocksy .site-main,
body.page-id-9.wp-theme-blocksy main,
body.page-id-9.wp-theme-blocksy .entry-content {
  background: var(--gf-cream);
}

body.page-id-8 .woocommerce-cart-form,
body.page-id-8 .cart_totals,
body.page-id-8 .woocommerce table.shop_table {
  background: var(--gf-paper);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius-card);
  box-shadow: var(--gf-shadow);
}

body.page-id-8 .woocommerce-cart-form,
body.page-id-8 .cart_totals {
  padding: clamp(16px, 3vw, 24px);
}

@media (min-width: 769px) {
  body.page-id-8.wp-theme-blocksy .site-main > .ct-container,
  body.page-id-8.wp-theme-blocksy main > .ct-container,
  body.page-id-8.wp-theme-blocksy .site-main > .ct-constrained-width,
  body.page-id-8.wp-theme-blocksy main > .ct-constrained-width,
  body.page-id-8.wp-theme-blocksy .entry-content > .woocommerce {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    width: min(100% - (var(--gf-page-gutter) * 2), 1180px);
  }

  body.page-id-8.wp-theme-blocksy .entry-content > .woocommerce {
    padding-left: clamp(18px, 2.5vw, 34px);
    padding-right: clamp(18px, 2.5vw, 34px);
  }

/* GLÜXXFUND – aktive Warenkorbstruktur, semantisch und erweiterbar, 27.07.2026 */
body.woocommerce-cart .entry-content.is-layout-constrained {
  box-sizing: border-box;
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.woocommerce-cart .entry-content > .woocommerce {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  gap: clamp(28px, 3vw, 42px);
  align-items: start;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1180px !important;
  width: min(calc(100% - 64px), 1180px) !important;
}
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info { grid-column: 1 / -1; }
body.woocommerce-cart .woocommerce-cart-form {
  box-sizing: border-box;
  margin: 0 !important;
  width: auto !important;
}
body.woocommerce-cart .cart-collaterals {
  display: block !important;
  width: auto !important;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  table-layout: auto !important;
  width: 100% !important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td.actions .coupon {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.woocommerce-cart .woocommerce-cart-form .coupon input.input-text {
  box-sizing: border-box;
  min-width: 210px;
  width: clamp(210px, 22vw, 300px);
}
body.woocommerce-cart .woocommerce-cart-form .coupon .button,
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
  border-radius: var(--gf-radius-pill);
  white-space: nowrap;
}
body.woocommerce-cart .ppcp-messages,
body.woocommerce-cart #wc-stripe-express-checkout-element,
body.woocommerce-cart .ppc-button-wrapper {
  display: none !important;
}
@media (max-width: 980px) {
  body.woocommerce-cart .entry-content > .woocommerce {
    display: block;
    width: min(calc(100% - 32px), 720px) !important;
  }
  body.woocommerce-cart .cart-collaterals { margin-top: 24px; }
}

  body.page-id-8 .woocommerce-cart-form {
    box-sizing: border-box;
    margin-bottom: clamp(22px, 3vw, 34px);
    width: 100%;
  }

  body.page-id-8 .cart-collaterals {
    align-items: flex-start;
    display: flex;
    gap: 24px;
    justify-content: flex-end;
    width: 100%;
  }

  body.page-id-8 .cart-collaterals .cart_totals {
    box-sizing: border-box;
    float: none;
    margin-left: auto;
    width: min(100%, 430px);
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table {
    table-layout: auto;
    width: 100%;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions {
    padding-top: 18px;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: min(100%, 560px);
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon input.input-text,
  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon input#coupon_code {
    box-sizing: border-box;
    min-width: 220px;
    width: clamp(220px, 24vw, 320px);
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon .button {
    white-space: nowrap;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions > button[name="update_cart"] {
    margin-left: 16px;
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  body.page-id-8.wp-theme-blocksy .entry-content > .woocommerce {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.page-id-8 .cart-collaterals {
    display: block;
  }

  body.page-id-8 .cart-collaterals .cart_totals {
    margin-top: 22px;
    width: 100%;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions .coupon {
    margin-bottom: 12px;
    max-width: 100%;
  }

  body.page-id-8 .woocommerce-cart-form table.shop_table td.actions > button[name="update_cart"] {
    margin-left: 0;
  }
}

body.page-id-8 .woocommerce table.shop_table th,
body.page-id-8 .woocommerce table.shop_table td {
  border-color: var(--gf-line);
  color: var(--gf-ink);
  font-family: var(--gf-font);
  line-height: 1.45;
}

body.page-id-8 .woocommerce-cart-form .coupon {
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

body.page-id-8 .woocommerce-cart-form button.button:disabled {
  opacity: .55;
}

@media (min-width: 981px) {
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    width: min(100% - (var(--gf-page-gutter) * 2), 1180px);
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart.alignwide {
    margin-left: auto;
    margin-right: auto;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    align-items: flex-start;
    column-gap: clamp(28px, 3vw, 44px);
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-main {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar {
    box-sizing: border-box;
    flex: 0 0 clamp(360px, 30vw, 430px);
    max-width: 430px;
    min-width: 340px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form {
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 10px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-text-input {
    flex: 1 1 220px;
    min-width: 0;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__submit-container,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__payment-options,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-express-payment,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .ppcp-button-apm {
    margin-top: 14px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: min(100% - 36px, 100%);
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
    column-gap: 0;
    row-gap: 22px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-main,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-main,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-sidebar {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form .wc-block-components-button,
  body.page-id-8.wp-child-theme-gluexxfund-blocksy-child .wp-block-woocommerce-cart .wc-block-cart__submit-button {
    width: 100%;
  }
}

body.page-id-8 .wp-block-query,
body.page-id-8 .wp-block-woocommerce-product-template,
body.page-id-8 .wc-block-grid,
body.page-id-8 .ct-trending-block,
body.page-id-9 .wp-block-query,
body.page-id-9 .wp-block-woocommerce-product-template,
body.page-id-9 .wc-block-grid,
body.page-id-9 .ct-trending-block,
body.woocommerce-account .wp-block-query,
body.woocommerce-account .wp-block-woocommerce-product-template,
body.woocommerce-account .wc-block-grid,
body.woocommerce-account .ct-trending-block {
  display: none;
}

body.page-id-8.wp-theme-blocksy .ct-trending-block,
body.page-id-8.wp-theme-blocksy [class*="ct-trending-block"],
body.wp-singular.page-id-8.wp-theme-blocksy .ct-trending-block,
body.page-id-9.wp-theme-blocksy .ct-trending-block,
body.woocommerce-account.wp-theme-blocksy .ct-trending-block {
  display: none !important;
}

body.page-id-8.wp-theme-blocksy .ct-footer [data-row*="bottom"],
body.page-id-8.wp-theme-blocksy footer [data-row*="bottom"],
body.page-id-9.wp-theme-blocksy .ct-footer [data-row*="bottom"],
body.page-id-9.wp-theme-blocksy footer [data-row*="bottom"] {
  background: var(--gf-paper);
  color: var(--gf-ink);
  font-family: var(--gf-font);
  padding: 14px var(--gf-page-gutter);
}

body.page-id-8.wp-theme-blocksy .ct-footer #text-2,
body.page-id-8.wp-theme-blocksy .ct-footer #text-3,
body.page-id-8.wp-theme-blocksy .ct-footer #text-5,
body.page-id-8.wp-theme-blocksy footer #text-2,
body.page-id-8.wp-theme-blocksy footer #text-3,
body.page-id-8.wp-theme-blocksy footer #text-5,
body.page-id-9.wp-theme-blocksy .ct-footer #text-2,
body.page-id-9.wp-theme-blocksy .ct-footer #text-3,
body.page-id-9.wp-theme-blocksy .ct-footer #text-5,
body.page-id-9.wp-theme-blocksy footer #text-2,
body.page-id-9.wp-theme-blocksy footer #text-3,
body.page-id-9.wp-theme-blocksy footer #text-5 {
  display: none !important;
}

body.page-id-8.wp-theme-blocksy .ct-footer #text-4,
body.page-id-8.wp-theme-blocksy footer #text-4,
body.page-id-9.wp-theme-blocksy .ct-footer #text-4,
body.page-id-9.wp-theme-blocksy footer #text-4 {
  display: block;
  margin: 0;
  max-width: 100%;
}




/* GLÜXXFUND – Wallets erst nach Rechtshaken freigeben.
   WooCommerce/PayPal behalten zusätzlich ihre serverseitige Pflichtfeldprüfung. */
body.woocommerce-checkout form.checkout:not(:has(#legal:checked)) #wc-stripe-express-checkout-element,
body.woocommerce-checkout form.checkout:not(:has(#legal:checked)) #ppc-button-ppcp-gateway,
body.woocommerce-checkout form.checkout:not(:has(#legal:checked)) #ppc-button-ppcp-applepay,
body.woocommerce-checkout form.checkout:not(:has(#legal:checked)) #ppc-button-ppcp-googlepay {
  cursor: not-allowed !important;
  filter: grayscale(.35);
  opacity: .42 !important;
  pointer-events: none !important;
}
