/* BRES – WAPF: Auswahlkarten für zusätzliche Zertifikate */
.wapf .field-1120c2c .wapf-radios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wapf .field-1120c2c .wapf-radio { margin: 0 !important; }
.wapf .field-1120c2c .wapf-input-label {
  display: flex !important;
  align-items: center;
  min-height: 72px;
  width: 100%;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(208, 150, 40, .35) !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.wapf .field-1120c2c .wapf-input-label:hover {
  border-color: #d09628 !important;
  background: rgba(208, 150, 40, .10);
  transform: translateY(-1px);
}
.wapf .field-1120c2c .wapf-radio.wapf-checked .wapf-input-label {
  border-color: #d09628 !important;
  background: linear-gradient(135deg, rgba(208, 150, 40, .22), rgba(208, 150, 40, .07));
  box-shadow: 0 0 0 1px rgba(208, 150, 40, .20), 0 8px 22px rgba(0, 0, 0, .18);
}
.wapf .field-1120c2c .wapf-label-text { line-height: 1.25; }
.wapf .field-1120c2c .wapf-pricing-hint {
  display: block;
  margin-top: 3px;
  color: #e4b557;
  font-size: .88em;
  font-weight: 600;
}
@media (max-width: 600px) {
  .wapf .field-1120c2c .wapf-radios { grid-template-columns: 1fr; }
}

/* BRES – kosmischer Kopfbereich */
#page-header.l-header {
  background-color: #101827 !important;
  background-image: linear-gradient(90deg, rgba(16, 24, 39, .94) 0%, rgba(16, 24, 39, .72) 48%, rgba(16, 24, 39, .94) 100%), url("https://bres.de/wp-content/uploads/2026/11/BRES-Galaxie-Header.png") !important;
  background-position: center 52% !important;
  background-size: cover !important;
  border-bottom: 1px solid #c99a3d !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28) !important;
}
#page-header .l-subheader { background: transparent !important; }
#page-header .w-nav-anchor { position: relative; color: #f7f3eb !important; transition: color .18s ease; }
#page-header .w-nav-title { color: inherit !important; }
#page-header .w-nav-anchor::after { content: ""; position: absolute; right: 20px; bottom: 18px; left: 20px; height: 2px; background: #c99a3d; transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
#page-header .w-nav-anchor:hover, #page-header .current-menu-item > .w-nav-anchor { color: #e6bd66 !important; }
#page-header .w-nav-anchor:hover::after, #page-header .current-menu-item > .w-nav-anchor::after { transform: scaleX(1); }
@media (max-width: 900px) { #page-header.l-header { background-image: linear-gradient(90deg, rgba(16, 24, 39, .97), rgba(16, 24, 39, .90)) !important; } }

/* BRES – kosmische Shop-Buttons */
.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce div.product form.cart .single_add_to_cart_button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 216, 138, .88) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f1ce76 0%, #c99a3d 48%, #9c6e1e 100%) !important;
  color: #101827 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 6px 18px rgba(0,0,0,.30), 0 0 0 1px rgba(201,154,61,.18) !important;
  font-weight: 700 !important;
  letter-spacing: .015em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}
.woocommerce ul.products li.product .button.product_type_variable::before,
.woocommerce div.product form.cart .single_add_to_cart_button::before {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -28%;
  width: 22%;
  background: rgba(255,255,255,.48);
  transform: rotate(22deg);
  transition: left .45s ease;
}
.woocommerce ul.products li.product .button.product_type_variable:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  color: #101827 !important;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 10px 26px rgba(201,154,61,.25), 0 0 18px rgba(247,216,138,.20) !important;
}
.woocommerce ul.products li.product .button.product_type_variable:hover::before,
.woocommerce div.product form.cart .single_add_to_cart_button:hover::before { left: 112%; }
.woocommerce ul.products li.product .button.product_type_variable .w-btn-label { font-size: 0; position: relative; z-index: 1; }
.woocommerce ul.products li.product .button.product_type_variable .w-btn-label::after {
  content: "✦ Geschenk auswählen";
  font-size: 1rem;
  line-height: inherit;
}

/* BRES – feine Produktkarten-Buttons */
.woocommerce ul.products li.product .button.product_type_variable {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: .56rem 1.12rem !important;
  border-radius: 8px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52), 0 3px 10px rgba(0,0,0,.25) !important;
  font-size: .88rem !important;
}
.woocommerce ul.products li.product .button.product_type_variable::before { display: none !important; }
.woocommerce ul.products li.product .button.product_type_variable:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 5px 14px rgba(201,154,61,.20) !important;
}
.woocommerce ul.products li.product .button.product_type_variable .w-btn-label::after {
  content: "Ansehen";
  font-size: .88rem;
  font-weight: 700;
}

/* BRES – Warenkorb, Checkout und Zertifikate */
/* Warenkorb-Hinweis */
.woocommerce .woocommerce-message, .wc-block-components-notice-banner.is-success {
  border: 1px solid #c99a3d !important;
  background: linear-gradient(135deg, rgba(201,154,61,.18), rgba(16,24,39,.96)) !important;
  color: #f7f3eb !important;
  box-shadow: inset 0 1px 0 rgba(247,216,138,.20), 0 6px 22px rgba(0,0,0,.20);
}
.woocommerce .woocommerce-message a, .wc-block-components-notice-banner.is-success a { color: #e6bd66 !important; font-weight: 700; }

/* Gutschein als eigene, gut sichtbare Box */
.wc-block-components-totals-coupon, .woocommerce-cart-form .coupon {
  display: block !important;
  margin: 1.25rem 0 1.5rem !important;
  padding: 1rem 1.1rem !important;
  border: 1px solid rgba(201,154,61,.78) !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, rgba(201,154,61,.16), rgba(16,24,39,.72)) !important;
  box-shadow: inset 0 1px 0 rgba(247,216,138,.14);
}
.wc-block-components-totals-coupon-link, .woocommerce-cart-form .coupon label { color: #e6bd66 !important; font-size: 1.1rem !important; font-weight: 700 !important; }

/* Checkout-Felder: kontrastreiche Beschriftungen */
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control label,
.woocommerce-checkout .form-row label,
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox input,
.woocommerce-checkout .wc-block-components-combobox select { color: #20242b !important; }
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control label,
.woocommerce-checkout .form-row label { font-weight: 600 !important; }
/* Bundesland ist für BRES nicht erforderlich */
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout .wc-block-components-address-form__state,
.woocommerce-checkout .wc-block-components-state-input { display: none !important; }

/* Zahlungsarten klar als einzelne Optionen */
.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
.woocommerce-checkout #payment .wc_payment_method {
  margin: .65rem 0 !important;
  border: 1px solid rgba(201,154,61,.38) !important;
  border-radius: 10px !important;
  background: rgba(16,24,39,.55) !important;
  overflow: hidden;
}
.woocommerce-checkout .wc-block-components-radio-control-accordion-option label,
.woocommerce-checkout .wc-block-components-radio-control__label,
.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment .wc_payment_method label { color: #f7f3eb !important; font-weight: 650 !important; }
.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked,
.woocommerce-checkout #payment .wc_payment_method input:checked + label {
  border-color: #e6bd66 !important;
  box-shadow: inset 0 0 0 1px rgba(230,189,102,.60), 0 0 18px rgba(201,154,61,.12);
}

/* Bestellen: sichtbarer goldener Hauptbutton */
.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout #place_order {
  min-height: 3.55rem !important;
  border: 1px solid #f7d88a !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #f1ce76 0%, #c99a3d 50%, #9c6e1e 100%) !important;
  color: #101827 !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 7px 20px rgba(0,0,0,.28) !important;
}
.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled,
.woocommerce-checkout #place_order:disabled {
  opacity: .62 !important;
  color: #31240d !important;
  cursor: not-allowed;
}

/* BRES-PDF-Zertifikate */
.bres-certificate-downloads .woocommerce-downloads { margin: 1.2rem 0 3.4rem !important; padding: 0 !important; list-style: none; }
.bres-certificate-downloads .woocommerce-downloads li { margin: 0 !important; }
.bres-certificate-downloads .woocommerce-downloads .button,
.bres-certificate-portal .woocommerce-downloads .button,
.bres-certificate-portal .button.alt {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  margin: 0 0 2.4rem !important;
  padding: .9rem 1.35rem !important;
  border: 1px solid #f7d88a !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #f1ce76 0%, #c99a3d 50%, #9c6e1e 100%) !important;
  color: #101827 !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 7px 20px rgba(0,0,0,.28) !important;
}

/* BRES – goldene Shop-Pagination */
.woocommerce .navigation.pagination .page-numbers { color: #e6bd66 !important; }
.woocommerce .navigation.pagination .page-numbers.current { background: linear-gradient(135deg, #f1ce76 0%, #c99a3d 48%, #9c6e1e 100%) !important; color: #101827 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.58), 0 5px 16px rgba(201,154,61,.25) !important; }
.woocommerce .navigation.pagination a.page-numbers:hover { color: #f7d88a !important; }

/* BRES – Produktseiten: klare Gold-Links und reduzierte Tabs */
.single-product .woocommerce-tabs .additional_information_tab,
.single-product .woocommerce-Tabs-panel--additional_information {
  display: none !important;
}
.single-product .woocommerce .woocommerce-breadcrumb a,
.single-product .woocommerce div.product .product_meta a,
.single-product .woocommerce div.product .woocommerce-tabs .tabs a,
.single-product .woocommerce div.product .entry-content a:not(.button) {
  color: #e6bd66 !important;
}
.single-product .woocommerce .woocommerce-breadcrumb a:hover,
.single-product .woocommerce div.product .product_meta a:hover,
.single-product .woocommerce div.product .woocommerce-tabs .tabs a:hover,
.single-product .woocommerce div.product .entry-content a:not(.button):hover {
  color: #f7d88a !important;
}

/* BRES – Produktseiten: Theme-kompatible Gold-Links */
.single-product .woocommerce-breadcrumb a,
.single-product div.product .product_meta a,
.single-product div.product .woocommerce-tabs .tabs a,
.single-product div.product .entry-content a:not(.button) {
  color: #e6bd66 !important;
}
.single-product .woocommerce-breadcrumb a:hover,
.single-product div.product .product_meta a:hover,
.single-product div.product .woocommerce-tabs .tabs a:hover,
.single-product div.product .entry-content a:not(.button):hover {
  color: #f7d88a !important;
}