/* =========================================================================
   WooCommerce im neuen Layout (Warenkorb, Kasse, Mein Konto, Bestellbestätigung)
   Vollständiges Stylesheet für die klassischen WooCommerce-Templates (Shortcodes).
   Storefront- und WooCommerce-Standard-CSS werden auf diesen Seiten NICHT geladen,
   damit Header und Footer des neuen Layouts unverändert bleiben (siehe inc/wp-bridge.php).
   ========================================================================= */

/* --- WordPress-Grundklassen ---------------------------------------------------------- */
.oeko-wc .screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.oeko-wc .clear, .oeko-wc .woocommerce::after, .oeko-wc .col2-set::after, .oeko-wc .woocommerce form .form-row::after { content: ""; display: table; clear: both; }
.oeko-wc img { max-width: 100%; height: auto; }

/* --- Seitenrahmen ------------------------------------------------------------------- */
.oeko-wc { padding-top: 28px; }
.oeko-wc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.oeko-wc-head h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); }

.oeko-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.oeko-steps li { display: flex; align-items: center; gap: 8px; color: #8a857a; }
.oeko-steps li + li::before { content: ""; width: 28px; height: 2px; background: var(--c-line); margin-right: 6px; }
.oeko-steps a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.oeko-step-no { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--c-line); font-weight: 700; font-size: 13px; }
.oeko-steps .is-current { color: var(--c-ink); font-weight: 700; }
.oeko-steps .is-current .oeko-step-no { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.oeko-steps .is-done { color: var(--c-ink); }
.oeko-steps .is-done .oeko-step-no { background: var(--c-green); border-color: var(--c-green); color: #fff; }

.oeko-wc-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0 0 22px; padding: 12px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); font-size: 14px; color: #4b4b4b; }
.oeko-wc-trust i { color: var(--c-green); margin-right: 4px; }
.oeko-wc-trust a { color: var(--c-ink); font-weight: 600; }
.oeko-wc-trust .fa-star { color: #f5a623; }

.oeko-wc-body { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: clamp(16px, 3vw, 32px); }
.oeko-wc-body h2 { font-size: 22px; margin: 0 0 14px; }
.oeko-wc-body h3 { font-size: 19px; margin: 0 0 12px; }

/* --- Hinweise ----------------------------------------------------------------------- */
.oeko-wc .woocommerce-notices-wrapper:empty { display: none; }
.oeko-wc .woocommerce-message,
.oeko-wc .woocommerce-info,
.oeko-wc .woocommerce-error,
.oeko-wc .woocommerce-noreviews,
.oeko-wc p.no-comments { list-style: none; margin: 0 0 20px; padding: 14px 16px 14px 46px; position: relative; border-radius: var(--radius-sm); border-left: 4px solid var(--c-ink); background: var(--c-bg); color: var(--c-ink); line-height: 1.5; }
.oeko-wc .woocommerce-error li { margin: 0; }
.oeko-wc .woocommerce-message::before,
.oeko-wc .woocommerce-info::before,
.oeko-wc .woocommerce-error::before { font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 16px; top: 14px; }
.oeko-wc .woocommerce-message { border-left-color: var(--c-green); }
.oeko-wc .woocommerce-message::before { content: "\f00c"; color: var(--c-green); }
.oeko-wc .woocommerce-info::before { content: "\f05a"; color: var(--c-ink); }
.oeko-wc .woocommerce-error { border-left-color: var(--c-cta); }
.oeko-wc .woocommerce-error::before { content: "\f071"; color: var(--c-cta); }
.oeko-wc .woocommerce-message .button,
.oeko-wc .woocommerce-info .button,
.oeko-wc .woocommerce-error .button { float: right; margin: -4px 0 0 12px; padding: 8px 14px; font-size: 14px; }
.oeko-wc .woocommerce-message a:not(.button),
.oeko-wc .woocommerce-info a:not(.button) { color: var(--c-ink); font-weight: 600; }

/* --- Buttons ------------------------------------------------------------------------ */
.oeko-wc .button,
.oeko-wc button[type="submit"]:not(.oeko-plain),
.oeko-wc input[type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #fff; color: var(--c-ink); border: 1px solid var(--c-ink); border-radius: var(--radius-sm);
    padding: 12px 18px; font: 700 15px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s;
}
.oeko-wc .button:hover,
.oeko-wc button[type="submit"]:not(.oeko-plain):hover,
.oeko-wc input[type="submit"]:hover { background: var(--c-ink); color: #fff; }
.oeko-wc .button.alt,
.oeko-wc .checkout-button,
.oeko-wc #place_order,
.oeko-wc .woocommerce-form-login__submit,
.oeko-wc .woocommerce-form-register__submit,
.oeko-wc .button.wc-forward.checkout { background: var(--c-cta); border-color: var(--c-cta); color: #fff; }
.oeko-wc .button.alt:hover,
.oeko-wc .checkout-button:hover,
.oeko-wc #place_order:hover,
.oeko-wc .woocommerce-form-login__submit:hover,
.oeko-wc .woocommerce-form-register__submit:hover { background: var(--c-cta-hover); border-color: var(--c-cta-hover); color: #fff; }
.oeko-wc .checkout-button,
.oeko-wc #place_order { width: 100%; font-size: 17px; padding: 16px 22px; }
.oeko-wc .button:disabled,
.oeko-wc .button.disabled,
.oeko-wc button[disabled] { opacity: .45; cursor: not-allowed; }
.oeko-wc .button.loading { opacity: .6; pointer-events: none; }
.oeko-wc .button:focus-visible, .oeko-wc a:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }

/* --- Formulare ---------------------------------------------------------------------- */
.oeko-wc form .form-row { margin: 0 0 14px; padding: 0; }
.oeko-wc form .form-row label { display: block; font-weight: 600; color: var(--c-ink); margin-bottom: 5px; font-size: 14px; }
.oeko-wc form .form-row label.checkbox,
.oeko-wc form .form-row label.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; cursor: pointer; }
.oeko-wc form .form-row .required { color: var(--c-cta); text-decoration: none; border: 0; }
.oeko-wc form .form-row .optional { color: #8a857a; font-weight: 400; }
.oeko-wc form .form-row-first,
.oeko-wc form .form-row-last { width: calc(50% - 8px); float: left; }
.oeko-wc form .form-row-last { float: right; }
.oeko-wc form .form-row-wide { clear: both; width: 100%; }
.oeko-wc .woocommerce-input-wrapper { display: block; }
.oeko-wc input.input-text,
.oeko-wc input[type="text"], .oeko-wc input[type="email"], .oeko-wc input[type="tel"],
.oeko-wc input[type="password"], .oeko-wc input[type="number"], .oeko-wc input[type="search"],
.oeko-wc textarea, .oeko-wc select {
    width: 100%; box-sizing: border-box; border: 1px solid #cfc9bc; border-radius: var(--radius-sm);
    padding: 11px 12px; font: 16px/1.4 var(--font); color: var(--c-ink); background: #fff; min-height: 46px; box-shadow: none; appearance: none;
}
.oeko-wc select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A1A1A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 38px; }
.oeko-wc textarea { min-height: 110px; }
.oeko-wc input[type="checkbox"], .oeko-wc input[type="radio"] { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--c-ink); flex: 0 0 auto; }
.oeko-wc input:focus, .oeko-wc textarea:focus, .oeko-wc select:focus { outline: 2px solid var(--c-ink); outline-offset: 1px; border-color: var(--c-ink); }
.oeko-wc form .form-row.woocommerce-invalid input.input-text,
.oeko-wc form .form-row.woocommerce-invalid select,
.oeko-wc form .form-row.woocommerce-invalid .select2-selection { border-color: var(--c-cta); }
.oeko-wc form .form-row.woocommerce-invalid label { color: var(--c-cta); }
.oeko-wc form .form-row.woocommerce-validated input.input-text { border-color: var(--c-green); }
.oeko-wc .checkout-inline-error-message { color: var(--c-cta); font-size: 13px; margin: 4px 0 0; }
.oeko-wc fieldset { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px; margin: 0 0 18px; }
.oeko-wc legend { font-weight: 700; padding: 0 6px; }

/* Select2 (Länderauswahl in der Kasse) */
.oeko-wc .select2-container { width: 100% !important; }
.select2-container .select2-selection--single { height: 46px; border: 1px solid #cfc9bc; border-radius: var(--radius-sm, 8px); background: #fff; display: flex; align-items: center; }
.select2-container .select2-selection--single .select2-selection__rendered { padding: 0 38px 0 12px; line-height: 44px; color: #1A1A1A; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; position: absolute; top: 0; width: 20px; }
.select2-container--open .select2-dropdown { border: 1px solid #1A1A1A; border-radius: 8px; overflow: hidden; }
.select2-dropdown { background: #fff; z-index: 2000; }
.select2-search--dropdown { padding: 8px; }
.select2-search--dropdown .select2-search__field { width: 100%; border: 1px solid #cfc9bc; border-radius: 6px; padding: 8px; }
.select2-results__options { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.select2-results__option { padding: 8px 12px; }
.select2-results__option--highlighted, .select2-results__option[aria-selected="true"] { background: #1A1A1A; color: #fff; }
.select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; }

/* Passwortstärke */
.oeko-wc .woocommerce-password-strength { padding: 6px 10px; border-radius: 6px; font-size: 13px; margin-top: 6px; text-align: center; }
.oeko-wc .woocommerce-password-strength.short, .oeko-wc .woocommerce-password-strength.bad { background: #fde2e2; color: #8a1c1c; }
.oeko-wc .woocommerce-password-strength.good { background: #fff3cd; color: #6b5200; }
.oeko-wc .woocommerce-password-strength.strong { background: #e3f3df; color: #145c03; }
.oeko-wc .woocommerce-password-hint { display: block; font-size: 13px; color: #6b665c; margin-top: 4px; }
.oeko-wc .password-input { position: relative; display: block; }
.oeko-wc .show-password-input { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 4px; cursor: pointer; color: #6b665c; }
.oeko-wc .show-password-input::after { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f06e"; }
.oeko-wc .show-password-input.display-password::after { content: "\f070"; }

/* --- Tabellen ----------------------------------------------------------------------- */
.oeko-wc table.shop_table { width: 100%; border: 1px solid var(--c-line); border-radius: var(--radius-sm); border-collapse: separate; border-spacing: 0; margin: 0 0 24px; overflow: hidden; text-align: left; }
.oeko-wc table.shop_table th { background: var(--c-bg); color: var(--c-ink); font-weight: 700; font-size: 14px; padding: 12px; }
.oeko-wc table.shop_table td { padding: 14px 12px; border-top: 1px solid var(--c-line); vertical-align: middle; }
.oeko-wc table.shop_table tfoot th, .oeko-wc table.shop_table tfoot td { border-top: 1px solid var(--c-line); background: #fff; }
.oeko-wc table.shop_table .amount { white-space: nowrap; font-weight: 600; }
.oeko-wc table.shop_table small, .oeko-wc table.shop_table .tax_label, .oeko-wc .includes_tax { color: #6b665c; font-size: 13px; font-weight: 400; }

/* Warenkorb */
.oeko-wc table.cart .product-thumbnail { width: 90px; }
.oeko-wc table.cart .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; background: var(--c-bg); display: block; }
.oeko-wc table.cart .product-name a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.oeko-wc table.cart .product-name a:hover { color: var(--c-cta); }
.oeko-wc table.cart .product-name dl.variation { margin: 6px 0 0; font-size: 13px; color: #6b665c; display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; }
.oeko-wc table.cart .product-name dl.variation dt, .oeko-wc table.cart .product-name dl.variation dd, .oeko-wc table.cart .product-name dl.variation p { margin: 0; }
.oeko-wc table.cart .product-remove { width: 44px; text-align: center; }
.oeko-wc a.remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: #8a857a !important; font-size: 20px; line-height: 1; text-decoration: none; border: 1px solid var(--c-line); }
.oeko-wc a.remove:hover { background: var(--c-cta); border-color: var(--c-cta); color: #fff !important; }
.oeko-wc .quantity { display: inline-block; }
.oeko-wc .quantity .qty { width: 76px; min-height: 42px; text-align: center; padding: 8px; -moz-appearance: textfield; }
.oeko-wc .backorder_notification { font-size: 13px; color: #8a5a00; margin: 6px 0 0; }
.oeko-wc table.cart td.actions { background: var(--c-bg); padding: 14px 12px; text-align: right; }
.oeko-wc table.cart td.actions .coupon { float: left; display: flex; gap: 8px; align-items: center; }
.oeko-wc table.cart td.actions .coupon .input-text { width: 200px; min-height: 44px; }
.oeko-wc table.cart td.actions > .button { margin-left: 8px; }
.oeko-wc .cart-collaterals { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; gap: 28px; margin-top: 8px; }
.oeko-wc .cart-collaterals > .cross-sells { flex: 1 1 420px; min-width: 0; order: 1; }
.oeko-wc .cart-collaterals > .cart_totals { flex: 0 1 440px; order: 2; }
.oeko-wc .cart-collaterals .cart_totals { width: 100%; max-width: 440px; background: var(--c-bg); border-radius: var(--radius); padding: 22px; }
.oeko-wc .cart_totals h2 { font-size: 20px; }
.oeko-wc .cart_totals table.shop_table { background: #fff; }
.oeko-wc .cart_totals table.shop_table th { width: 40%; background: #fff; font-weight: 600; }
.oeko-wc .order-total th, .oeko-wc .order-total td { font-size: 18px; }
.oeko-wc .order-total .amount { font-size: 22px; color: var(--c-ink); font-weight: 800; }
.oeko-wc .order-total .includes_tax { display: block; margin-top: 2px; }
.oeko-wc .order-total .includes_tax .amount { font-size: 13px; font-weight: 400; color: #6b665c; }
.oeko-wc .wc-proceed-to-checkout { padding-top: 4px; }
.oeko-wc .cart-empty { font-size: 18px; }
.oeko-wc .return-to-shop .button { background: var(--c-cta); border-color: var(--c-cta); color: #fff; }

/* Versandauswahl */
.oeko-wc ul#shipping_method, .oeko-wc ul.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.oeko-wc ul#shipping_method li { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 6px; }
.oeko-wc .woocommerce-shipping-destination, .oeko-wc .shipping-calculator-button { font-size: 13px; color: #6b665c; }
.oeko-wc .shipping-calculator-form { margin-top: 10px; }

/* --- Kasse -------------------------------------------------------------------------- */
.oeko-wc .woocommerce-form-coupon-toggle .woocommerce-info,
.oeko-wc .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 14px; }
.oeko-wc form.checkout_coupon, .oeko-wc form.woocommerce-form-login { border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 18px; margin: 0 0 20px; }
.oeko-wc form.checkout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 36px; align-items: start; }
.oeko-wc form.checkout > * { grid-column: 2; min-width: 0; }
.oeko-wc form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 30; }
.oeko-wc form.checkout:has(> .woocommerce-NoticeGroup, > .woocommerce-error, > .woocommerce-message) > #customer_details { grid-row: 2 / span 30; }
.oeko-wc form.checkout > .woocommerce-NoticeGroup,
.oeko-wc form.checkout > .woocommerce-error,
.oeko-wc form.checkout > .woocommerce-message { grid-column: 1 / -1; grid-row: 1; }
.oeko-wc #customer_details.col2-set { display: block; }
.oeko-wc #customer_details.col2-set .col-1,
.oeko-wc #customer_details.col2-set .col-2 { width: 100%; float: none; }
.oeko-wc .woocommerce-billing-fields h3,
.oeko-wc .woocommerce-shipping-fields h3,
.oeko-wc .woocommerce-additional-fields h3,
.oeko-wc #order_review_heading { font-size: 20px; margin: 8px 0 14px; }
.oeko-wc #ship-to-different-address { font-size: 16px; margin-top: 18px; }
.oeko-wc #ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.oeko-wc #order_review { background: var(--c-bg); border-radius: var(--radius); padding: 20px; position: sticky; top: calc(var(--oeko-header-h) + 16px); }
.oeko-wc #order_review table.shop_table { background: #fff; }
.oeko-wc #order_review .product-name { font-weight: 500; }
.oeko-wc #order_review .product-quantity { font-weight: 700; color: #6b665c; }
.oeko-wc #payment { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.oeko-wc #payment ul.payment_methods { list-style: none; margin: 0; padding: 6px 16px; border-bottom: 1px solid var(--c-line); }
.oeko-wc #payment ul.payment_methods li { padding: 10px 0; border-top: 1px solid var(--c-line); line-height: 1.5; }
.oeko-wc #payment ul.payment_methods li:first-child { border-top: 0; }
.oeko-wc #payment ul.payment_methods li > input[type="radio"] { margin: 0 8px 0 0; vertical-align: middle; }
.oeko-wc #payment ul.payment_methods li label { font-weight: 600; cursor: pointer; }
.oeko-wc #payment ul.payment_methods li img { max-height: 26px; width: auto; vertical-align: middle; margin: 0 0 0 6px; display: inline-block; }
.oeko-wc #payment div.payment_box { background: var(--c-bg); color: #4b4b4b; border-radius: var(--radius-sm); padding: 12px 14px; margin: 10px 0 0; font-size: 14px; }
.oeko-wc #payment div.payment_box p:last-child { margin-bottom: 0; }
.oeko-wc #payment div.form-row { padding: 16px; margin: 0; }
.oeko-wc .woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: #4b4b4b; }
.oeko-wc .woocommerce-privacy-policy-text p { margin: 0 0 12px; }
.oeko-wc .woocommerce-terms-and-conditions { max-height: 200px; overflow: auto; border: 1px solid var(--c-line); padding: 12px; border-radius: 6px; margin-bottom: 10px; }
.oeko-wc .wc-terms-and-conditions, .oeko-wc .validate-required.legal { margin: 10px 0; }

/* blockUI (Lade-Overlay beim Aktualisieren) */
.oeko-wc .blockUI.blockOverlay { background: rgba(255,255,255,.7) !important; opacity: 1 !important; cursor: wait !important; }
.oeko-wc .blockUI.blockOverlay::before { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid var(--c-line); border-top-color: var(--c-ink); border-radius: 50%; animation: oeko-spin .8s linear infinite; }
@keyframes oeko-spin { to { transform: rotate(360deg); } }

/* --- Bestellbestätigung / Bestelldetails -------------------------------------------- */
.oeko-wc .woocommerce-order { max-width: 900px; }
.oeko-wc .woocommerce-thankyou-order-received { font-size: 18px; font-weight: 600; color: var(--c-green); }
.oeko-wc ul.woocommerce-order-overview { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.oeko-wc ul.woocommerce-order-overview li { background: var(--c-bg); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13px; color: #6b665c; text-transform: none; }
.oeko-wc ul.woocommerce-order-overview li strong { display: block; font-size: 16px; color: var(--c-ink); margin-top: 2px; }
.oeko-wc .woocommerce-customer-details address { font-style: normal; line-height: 1.6; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 14px 16px; }
.oeko-wc .woocommerce-customer-details--phone, .oeko-wc .woocommerce-customer-details--email { margin: 6px 0 0; }
.oeko-wc .wc-bacs-bank-details, .oeko-wc .woocommerce-bacs-bank-details ul { list-style: none; padding: 0; }
.oeko-wc ul.wc-bacs-bank-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin: 0 0 20px; }
.oeko-wc ul.wc-bacs-bank-details li { background: var(--c-bg); padding: 10px 12px; border-radius: 6px; font-size: 13px; }
.oeko-wc ul.wc-bacs-bank-details li strong { display: block; font-size: 15px; color: var(--c-ink); }

/* Zwei-Spalten-Bereiche (Adressen, Login/Registrierung) */
.oeko-wc .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.oeko-wc .col2-set .col-1, .oeko-wc .col2-set .col-2 { width: auto; float: none; min-width: 0; }
.oeko-wc .u-columns.col2-set { align-items: start; }

/* --- Mein Konto --------------------------------------------------------------------- */
.oeko-wc .woocommerce-account .woocommerce,
.oeko-wc-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.oeko-wc-account .woocommerce > .woocommerce-notices-wrapper,
.oeko-wc-account .woocommerce > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.oeko-wc .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden; }
.oeko-wc .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; color: var(--c-ink); text-decoration: none; border-top: 1px solid var(--c-line); }
.oeko-wc .woocommerce-MyAccount-navigation li:first-child a { border-top: 0; }
.oeko-wc .woocommerce-MyAccount-navigation li a:hover { background: var(--c-bg); }
.oeko-wc .woocommerce-MyAccount-navigation li.is-active a { background: var(--c-ink); color: #fff; font-weight: 700; }
.oeko-wc .woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.oeko-wc .woocommerce-Addresses .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.oeko-wc .woocommerce-Addresses .woocommerce-Address-title h3 { margin: 0 0 8px; }
.oeko-wc .woocommerce-orders-table .button { padding: 7px 12px; font-size: 13px; margin: 2px; }
.oeko-wc .woocommerce-pagination { display: flex; justify-content: space-between; gap: 10px; }
.oeko-wc .woocommerce-form-login .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 6px 0 12px; }
.oeko-wc .lost_password a { color: var(--c-ink); font-size: 14px; }

/* --- Block-Warenkorb / Block-Kasse (falls statt Shortcode genutzt) ------------------ */
.oeko-wc .wc-block-components-button:not(.is-link) { background: var(--c-cta); color: #fff; border-radius: var(--radius-sm); font-weight: 700; }
.oeko-wc .wc-block-components-button:not(.is-link):hover { background: var(--c-cta-hover); }

/* --- Mobil -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .oeko-wc form.checkout { display: block; }
    .oeko-wc #order_review { position: static; margin-top: 10px; }
    .oeko-wc-account .woocommerce { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .oeko-wc { padding-top: 18px; }
    .oeko-wc-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .oeko-steps { font-size: 13px; }
    .oeko-steps li + li::before { width: 14px; }
    .oeko-wc-body { padding: 14px; border-radius: var(--radius-sm); }
    .oeko-wc form .form-row-first, .oeko-wc form .form-row-last { width: 100%; float: none; }
    .oeko-wc .col2-set { grid-template-columns: 1fr; }

    /* Responsive Tabellen (Klasse shop_table_responsive, Spaltenname aus data-title) */
    .oeko-wc table.shop_table_responsive thead { display: none; }
    .oeko-wc table.shop_table_responsive tbody tr { display: block; border-top: 1px solid var(--c-line); padding: 8px 0; }
    .oeko-wc table.shop_table_responsive tbody tr:first-child { border-top: 0; }
    .oeko-wc table.shop_table_responsive tbody td,
    .oeko-wc table.shop_table_responsive tbody th { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 6px 12px; text-align: right; }
    .oeko-wc table.shop_table_responsive tbody td[data-title]::before { content: attr(data-title); font-weight: 600; color: #6b665c; text-align: left; }
    .oeko-wc table.shop_table_responsive tbody td.product-remove { justify-content: flex-end; }
    .oeko-wc table.shop_table_responsive tbody td.product-thumbnail { display: none; }
    .oeko-wc table.shop_table_responsive tbody td.product-name { text-align: left; display: block; font-size: 16px; }
    .oeko-wc table.shop_table_responsive tbody td.product-name::before { display: none; }
    .oeko-wc table.shop_table_responsive tr td.actions { display: block; text-align: left; }
    .oeko-wc table.shop_table_responsive tr td.actions::before { display: none; }
    .oeko-wc table.cart td.actions .coupon { float: none; flex-wrap: wrap; margin-bottom: 10px; }
    .oeko-wc table.cart td.actions .coupon .input-text { width: 100%; }
    .oeko-wc table.cart td.actions .coupon .button,
    .oeko-wc table.cart td.actions > .button { width: 100%; margin: 6px 0 0 !important; float: none !important; }
    .oeko-wc .cart-collaterals .cart_totals { max-width: none; padding: 16px; }
    .oeko-wc .cart_totals table.shop_table tbody tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 10px 12px; }
    .oeko-wc .cart_totals table.shop_table tbody th { display: block; width: auto; border: 0; padding: 0; background: none; }
    .oeko-wc .cart_totals table.shop_table tbody td { display: block; border: 0; padding: 0; text-align: right; }
    .oeko-wc .cart_totals table.shop_table tbody td[data-title]::before { display: none; }
    .oeko-wc .cart_totals ul#shipping_method li { justify-content: flex-end; text-align: right; }
    .oeko-wc table.shop_table { table-layout: auto; }
    .oeko-wc table.shop_table_responsive tbody td { min-width: 0; overflow-wrap: anywhere; }
    .oeko-wc .woocommerce-message .button, .oeko-wc .woocommerce-info .button { float: none; display: flex; margin: 10px 0 0; }
}


/* =========================================================================
   Nachträge 03.12.2026
   ========================================================================= */

/* --- Cross-Selling im Warenkorb („Das könnte Dich auch interessieren …“) ---------- */
.oeko-wc .cross-sells > h2 { font-size: 20px; margin: 0 0 14px; }
.oeko-wc ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.oeko-wc ul.products::before, .oeko-wc ul.products::after { display: none; }
.oeko-wc ul.products li.product { position: relative; width: auto !important; float: none !important; margin: 0 !important; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); text-align: left; transition: box-shadow .15s, border-color .15s; }
.oeko-wc ul.products li.product:hover { border-color: #cfc9bc; box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.oeko-wc ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 6px; color: var(--c-ink); text-decoration: none; flex: 1 1 auto; }
.oeko-wc ul.products li.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--c-bg); border-radius: 6px; margin: 0 0 4px; display: block; }
.oeko-wc ul.products li.product .woocommerce-loop-product__title,
.oeko-wc ul.products li.product h2, .oeko-wc ul.products li.product h3 { font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0; padding: 0; color: var(--c-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oeko-wc ul.products li.product .price { display: block; font-size: 16px; font-weight: 800; color: var(--c-ink); margin: 2px 0 0; }
.oeko-wc ul.products li.product .price del { font-weight: 400; font-size: 13px; color: #8a857a; margin-right: 4px; }
.oeko-wc ul.products li.product .price ins { text-decoration: none; color: var(--c-cta); }
.oeko-wc ul.products li.product .onsale { position: absolute; top: 18px; left: 18px; z-index: 1; background: var(--c-cta); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; min-height: 0; min-width: 0; line-height: 1.4; margin: 0; }
.oeko-wc ul.products li.product .star-rating { display: none; }
.oeko-wc ul.products li.product .wc-gzd-additional-info,
.oeko-wc ul.products li.product .price-unit { font-size: 12px; color: #6b665c; margin: 0; line-height: 1.4; }
.oeko-wc ul.products li.product .button { width: 100%; margin-top: 6px; padding: 10px 12px; font-size: 14px; background: var(--c-ink); color: #fff; white-space: normal; text-align: center; }
.oeko-wc ul.products li.product .button:hover { background: var(--c-cta); border-color: var(--c-cta); }
.oeko-wc ul.products li.product .button.added::after { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f00c"; margin-left: 6px; }
.oeko-wc ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; font-weight: 600; color: var(--c-ink); margin-top: 4px; }

/* --- Bestellübersicht in der Kasse (inkl. Germanized „Bestellung prüfen“) ------------ */
.oeko-wc #order_review { display: flex; flex-direction: column; gap: 16px; }
.oeko-wc #order_review > h3, .oeko-wc #order_review_heading, .oeko-wc #order_payment_heading { font-size: 20px; margin: 0; }
.oeko-wc table.woocommerce-checkout-review-order-table { background: #fff; margin: 0; table-layout: auto; }
.oeko-wc table.woocommerce-checkout-review-order-table thead th { background: #fff; font-size: 13px; text-transform: none; color: #6b665c; font-weight: 600; border-bottom: 1px solid var(--c-line); }
.oeko-wc table.woocommerce-checkout-review-order-table th.product-total,
.oeko-wc table.woocommerce-checkout-review-order-table td.product-total,
.oeko-wc table.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.oeko-wc table.woocommerce-checkout-review-order-table tbody td { border-top: 1px solid var(--c-line); font-size: 15px; vertical-align: top; }
.oeko-wc table.woocommerce-checkout-review-order-table tbody tr:first-child td { border-top: 0; }
.oeko-wc table.woocommerce-checkout-review-order-table td.product-name { display: flex; gap: 12px; align-items: flex-start; }
.oeko-wc table.woocommerce-checkout-review-order-table .wc-gzd-product-name-left,
.oeko-wc table.woocommerce-checkout-review-order-table .checkout-product-image { flex: 0 0 56px; }
.oeko-wc table.woocommerce-checkout-review-order-table .wc-gzd-product-name-left img,
.oeko-wc table.woocommerce-checkout-review-order-table td.product-name img { width: 56px; height: 56px; object-fit: contain; background: var(--c-bg); border-radius: 6px; margin: 0; float: none; }
.oeko-wc table.woocommerce-checkout-review-order-table .wc-gzd-product-name-right { flex: 1 1 auto; min-width: 0; }
.oeko-wc table.woocommerce-checkout-review-order-table .product-quantity { white-space: nowrap; }
.oeko-wc table.woocommerce-checkout-review-order-table .wc-gzd-cart-info,
.oeko-wc table.woocommerce-checkout-review-order-table .wc-gzd-item-desc,
.oeko-wc table.woocommerce-checkout-review-order-table dl.variation,
.oeko-wc table.woocommerce-checkout-review-order-table .product-tax { display: block; font-size: 12px; color: #6b665c; margin: 4px 0 0; line-height: 1.45; font-weight: 400; }
.oeko-wc table.woocommerce-checkout-review-order-table dl.variation dt, .oeko-wc table.woocommerce-checkout-review-order-table dl.variation dd, .oeko-wc table.woocommerce-checkout-review-order-table dl.variation p { display: inline; margin: 0; }
.oeko-wc table.woocommerce-checkout-review-order-table tfoot th { font-weight: 600; color: #4b4b4b; background: #fff; }
.oeko-wc table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.oeko-wc table.woocommerce-checkout-review-order-table tfoot tr.order-total td { border-top: 2px solid var(--c-ink); color: var(--c-ink); }
.oeko-wc table.woocommerce-checkout-review-order-table tfoot tr.order-tax th,
.oeko-wc table.woocommerce-checkout-review-order-table tfoot tr.order-tax td,
.oeko-wc table.woocommerce-checkout-review-order-table tfoot tr.tax-rate th,
.oeko-wc table.woocommerce-checkout-review-order-table tfoot tr.tax-rate td { font-size: 13px; color: #6b665c; font-weight: 400; border-top: 0; padding-top: 0; }
.oeko-wc table.woocommerce-checkout-review-order-table #shipping_method li { justify-content: flex-end; }
.oeko-wc .wc-gzd-order-submit,
.oeko-wc #order_review .place-order { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: 16px !important; margin: 0; }
.oeko-wc #payment .place-order { border: 0; border-top: 1px solid var(--c-line); border-radius: 0; }
.oeko-wc .wc-gzd-order-submit .place-order { border: 0; padding: 0 !important; }
.oeko-wc .wc-gzd-checkbox-placeholder p.form-row,
.oeko-wc p.form-row.checkbox-legal, .oeko-wc p.form-row.legal,
.oeko-wc p.form-row.data-download, .oeko-wc p.form-row.checkbox-download,
.oeko-wc p.form-row.service, .oeko-wc p.form-row.checkbox-service,
.oeko-wc p.form-row.checkbox-photovoltaic_systems, .oeko-wc p.form-row[class*="checkbox-"] { font-size: 14px; line-height: 1.5; margin: 0 0 12px; padding: 0; }
.oeko-wc p.form-row[class*="checkbox-"] label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.oeko-wc .wc-gzd-edit-data, .oeko-wc .wc-gzd-order-submit .woocommerce-gzd-legal-checkbox-text { font-size: 14px; }

/* --- Mein Konto: Aktions-Buttons der Bestellungen ---------------------------------- */
.oeko-wc .woocommerce-orders-table__cell-order-actions { white-space: normal; }
.oeko-wc .woocommerce-orders-table__cell-order-actions .button { white-space: nowrap; }
@media (max-width: 768px) {
    .oeko-wc table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; text-align: left; padding-top: 10px; }
    .oeko-wc table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before { flex: 0 0 100%; }
    .oeko-wc .woocommerce-orders-table__cell-order-actions .button { flex: 1 1 calc(50% - 8px); margin: 0 !important; padding: 10px 8px; font-size: 13px; white-space: normal; line-height: 1.25; text-align: center; min-width: 0; }
    .oeko-wc .woocommerce-orders-table__cell-order-number a { font-weight: 700; }
    .oeko-wc .cart-collaterals { gap: 20px; }
    .oeko-wc .cart-collaterals > .cart_totals { flex: 1 1 100%; order: 1; }
    .oeko-wc .cart-collaterals > .cross-sells { flex: 1 1 100%; order: 2; }
    .oeko-wc ul.products { grid-template-columns: 1fr 1fr; gap: 10px; }
    .oeko-wc ul.products li.product { padding: 10px; }
    .oeko-wc #order_review { padding: 14px; }
}

/* =========================================================================
   Nachträge 03.12.2026 (2)
   ========================================================================= */
/* Germanized-Checkbox Nullsteuersatz: fett */
.oeko-wc .oeko-pv-checkbox, .oeko-wc .oeko-pv-checkbox label, .oeko-wc .oeko-pv-checkbox span,
.oeko-wc p.form-row.checkbox-photovoltaic_systems label { font-weight: 700 !important; color: var(--c-ink); }
.oeko-wc .oeko-pv-checkbox { background: #f2f8ef; border: 1px solid #cfe5c7; border-radius: var(--radius-sm); padding: 10px 12px !important; }
.oeko-wc .oeko-free-shipping { color: var(--c-green); font-weight: 700; }

/* Bestellabschluss: Hinweise, Kontoinhaber, Adressen, Fehlerfall */
.oeko-wc .woocommerce-notice { margin: 0 0 18px; }
.oeko-wc .woocommerce-notice--success { font-size: 18px; font-weight: 700; color: var(--c-green); }
.oeko-wc .woocommerce-notice--error { color: var(--c-cta); font-weight: 600; }
.oeko-wc .woocommerce-thankyou-order-failed-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.oeko-wc .woocommerce-bacs-bank-details { background: #fff; border: 2px solid var(--c-ink); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; }
.oeko-wc .woocommerce-bacs-bank-details h2 { margin: 0 0 6px; }
.oeko-wc .woocommerce-bacs-bank-details h3.wc-bacs-bank-details-account-name { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: #4b4b4b; }
.oeko-wc .woocommerce-bacs-bank-details ul.wc-bacs-bank-details { margin-bottom: 0; }
.oeko-wc .woocommerce-bacs-bank-details li strong { user-select: all; }
.oeko-wc .woocommerce-order-details, .oeko-wc .woocommerce-customer-details { margin: 0 0 24px; }
.oeko-wc .woocommerce-order-details__title, .oeko-wc .woocommerce-column__title { font-size: 20px; }
.oeko-wc table.woocommerce-table--order-details td.product-name a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.oeko-wc table.woocommerce-table--order-details th:last-child, .oeko-wc table.woocommerce-table--order-details td:last-child { text-align: right; }
.oeko-wc table.woocommerce-table--order-details tfoot th { font-weight: 600; }
.oeko-wc table.woocommerce-table--order-details tfoot tr:last-child th, .oeko-wc table.woocommerce-table--order-details tfoot tr:last-child td { font-size: 18px; color: var(--c-ink); border-top: 2px solid var(--c-ink); }
.oeko-wc .order-again { margin: 0 0 20px; }
.oeko-wc .woocommerce-columns--addresses .woocommerce-column { min-width: 0; }

/* Inhaltsseiten mit Shortcode (z. B. Konfigurator) */
.oeko-wp-page-body { margin-bottom: 24px; }
.oeko-wp-page-body > :first-child { margin-top: 0; }

/* Widerrufsformular [oeko_widerruf] */
.oeko-widerruf { max-width: 760px; }
.oeko-widerruf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.oeko-widerruf-grid .form-row-wide, .oeko-widerruf-grid .form-row:first-child { grid-column: 1 / -1; }
.oeko-widerruf .form-row { margin: 0 0 14px; }
.oeko-widerruf label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 14px; }
.oeko-widerruf input.input-text, .oeko-widerruf textarea { width: 100%; box-sizing: border-box; border: 1px solid #cfc9bc; border-radius: var(--radius-sm); padding: 11px 12px; font: 16px/1.4 var(--font); min-height: 46px; }
.oeko-widerruf .required { color: var(--c-cta); text-decoration: none; border: 0; }
.oeko-widerruf .optional, .oeko-widerruf .oeko-hint { display: block; font-size: 13px; color: #6b665c; font-weight: 400; margin-top: 4px; }
.oeko-widerruf label .optional { display: inline; margin: 0; }
.oeko-widerruf .oeko-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oeko-widerruf-submit { background: var(--c-cta); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 15px 26px; font: 700 17px/1.2 var(--font); cursor: pointer; }
.oeko-widerruf-submit:hover { background: var(--c-cta-hover); }
.oeko-widerruf-done { background: #f2f8ef; border: 1px solid #cfe5c7; border-radius: var(--radius); padding: 20px 22px; }
.oeko-widerruf-done h2 { color: var(--c-green); font-size: 22px; }
.oeko-widerruf .woocommerce-error { list-style: none; margin: 0 0 16px; padding: 12px 14px; border-left: 4px solid var(--c-cta); background: var(--c-bg); border-radius: var(--radius-sm); }
@media (max-width: 640px) { .oeko-widerruf-grid { grid-template-columns: 1fr; } }
.oeko-wc button.button.alt, .oeko-wc button.oeko-widerruf-submit { background: var(--c-cta); border-color: var(--c-cta); color: #fff; padding: 15px 26px; font-size: 17px; }
.oeko-wc button.button.alt:hover, .oeko-wc button.oeko-widerruf-submit:hover { background: var(--c-cta-hover); border-color: var(--c-cta-hover); color: #fff; }
