/* Schülercafé – ruhiges, responsives Design für klassischen WooCommerce-Ablauf */
body.woocommerce-cart,body.woocommerce-checkout{--sk-forest:#214f3c;--sk-leaf:#32734d;--sk-sand:#f8f5eb;--sk-line:#dbe4d9;--sk-text:#253d31}
body.woocommerce-cart .woocommerce,body.woocommerce-checkout .woocommerce{color:var(--sk-text)}
body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart-collaterals,body.woocommerce-checkout .woocommerce-order{max-width:940px;margin:18px auto}
body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart_totals,body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview,body.woocommerce-checkout .woocommerce-order .woocommerce-order-details,body.woocommerce-checkout .woocommerce-order .woocommerce-customer-details{background:#fff;border:1px solid var(--sk-line);border-radius:19px;padding:clamp(14px,3vw,25px);box-shadow:0 8px 28px rgba(22,62,39,.055);box-sizing:border-box}
body.woocommerce-cart .woocommerce table.shop_table,body.woocommerce-checkout .woocommerce-order table.shop_table{border:0;border-collapse:collapse;width:100%;border-radius:12px;overflow:hidden}
body.woocommerce-cart .woocommerce table.shop_table th,body.woocommerce-cart .woocommerce table.shop_table td,body.woocommerce-checkout .woocommerce-order table.shop_table th,body.woocommerce-checkout .woocommerce-order table.shop_table td{border-color:#e8eee6;padding:15px 12px;vertical-align:middle}
body.woocommerce-cart .woocommerce table.shop_table thead,body.woocommerce-checkout .woocommerce-order table.shop_table thead{background:var(--sk-sand)}
body.woocommerce-cart .woocommerce .product-thumbnail img{border-radius:11px;width:75px;height:auto}
body.woocommerce-cart .woocommerce .product-name a{color:var(--sk-forest);font-weight:700;text-decoration:none}
body.woocommerce-cart .woocommerce .quantity .qty{border:1px solid #b9cbbc;border-radius:9px;min-height:42px}
body.woocommerce-cart .woocommerce .cart_totals h2,body.woocommerce-checkout .woocommerce-order h2{color:var(--sk-forest);font-size:clamp(1.25rem,2.6vw,1.65rem);margin:0 0 17px}
body.woocommerce-cart .woocommerce .cart_totals{float:none;width:100%;max-width:430px;margin:16px 0 18px auto}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button,body.woocommerce-cart .woocommerce a.button,body.woocommerce-cart .woocommerce button.button,body.woocommerce-checkout .woocommerce a.button{background:var(--sk-leaf);color:#fff;border-radius:12px;min-height:48px;padding:14px 20px;font-weight:700;text-align:center;box-sizing:border-box}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button{font-size:1.1rem;min-height:56px}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,body.woocommerce-cart .woocommerce a.button:hover,body.woocommerce-cart .woocommerce button.button:hover{background:var(--sk-forest);color:#fff}
body.woocommerce-cart .woocommerce .coupon input.input-text{border:1px solid #bdcdbf;border-radius:9px;min-height:47px;min-width:155px}
body.woocommerce-checkout .woocommerce-order{background:var(--sk-sand);padding:clamp(14px,3vw,26px);border-radius:22px;border:1px solid var(--sk-line)}
body.woocommerce-checkout .woocommerce-order .woocommerce-notice--success{background:#e9f4e9;border:1px solid #c5e0c8;border-radius:16px;color:var(--sk-forest);font-size:clamp(1.15rem,3vw,1.55rem);font-weight:800;padding:22px;text-align:center;margin:0 0 20px}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview{display:flex;flex-wrap:wrap;gap:14px;list-style:none;padding:18px!important;margin:0 0 18px!important}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview li{flex:1 1 150px;float:none;border:0!important;border-right:0!important;margin:0!important;padding:9px!important;line-height:1.6;font-size:12px}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview li strong{display:block;color:var(--sk-forest);font-size:15px;overflow-wrap:anywhere}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-details,body.woocommerce-checkout .woocommerce-order .woocommerce-customer-details{margin-top:17px}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-details td,body.woocommerce-checkout .woocommerce-order .woocommerce-order-details th{overflow-wrap:anywhere}
body.woocommerce-checkout .woocommerce-order .woocommerce-order-details tfoot tr:last-child{background:#edf5ed;color:var(--sk-forest);font-weight:800}
body.woocommerce-checkout .woocommerce-order .woocommerce-customer-details address{border:0;background:var(--sk-sand);border-radius:12px;line-height:1.8;padding:15px}
body.woocommerce-checkout .woocommerce-order .sk-order-footnote{margin-top:16px;text-align:center;color:#4b6556;font-size:14px}
@media(max-width:700px){body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart_totals,body.woocommerce-checkout .woocommerce-order{border-radius:14px;padding:12px}body.woocommerce-cart .woocommerce .cart_totals{max-width:none}body.woocommerce-cart .woocommerce table.shop_table_responsive tr,body.woocommerce-checkout .woocommerce-order table.shop_table_responsive tr{border-bottom:1px solid #e2e9df}body.woocommerce-cart .woocommerce table.shop_table td{padding:12px 8px}body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview li{min-width:0;overflow-wrap:anywhere}}
@media(max-width:400px){body.woocommerce-checkout .woocommerce-order .woocommerce-order-overview{grid-template-columns:1fr}body.woocommerce-cart .woocommerce .coupon input.input-text{min-width:0;max-width:55%}}

/* 0.6.2: Nur die verifizierbare Gast-Schülerkasse, niemals Eltern-/Mitarbeiterkasse. */
body.sk-student-checkout .woocommerce .woocommerce-form-login-toggle,
body.sk-student-checkout .woocommerce form.woocommerce-form-login,
body.sk-student-checkout .woocommerce form.login,
body.sk-student-checkout .woocommerce .woocommerce-form-coupon-toggle,
body.sk-student-checkout .woocommerce form.checkout_coupon,
body.sk-student-checkout .woocommerce .wcpay-payment-request-wrapper,
body.sk-student-checkout .woocommerce .wc-stripe-payment-request-wrapper,
body.sk-student-checkout .woocommerce .wc-block-components-express-payment,
body.sk-student-checkout .woocommerce .wc-ppcp-checkout-container,
body.sk-student-checkout .woocommerce .woocommerce-paypal-payments-button,
body.sk-student-checkout .woocommerce .wc-payment-request-button,
body.sk-student-checkout .woocommerce .payment_request_buttons,
body.sk-student-checkout .woocommerce .wc-stripe-payment-request-button {display:none!important}
body.sk-student-checkout .woocommerce form.checkout .woocommerce-billing-fields,
body.sk-student-checkout .woocommerce form.checkout .sk-lite-extra,
body.sk-student-checkout .woocommerce form.checkout #order_review {box-shadow:0 4px 20px rgba(27,69,45,.035)!important}
body.sk-student-checkout .woocommerce form.checkout .woocommerce-billing-fields h3:before {content:"1  ";color:#32734d;font-weight:800}
body.sk-student-checkout .woocommerce form.checkout #order_review_heading:before {content:"2  ";color:#32734d;font-weight:800}
body.sk-student-checkout .woocommerce form.checkout .sk-lite-choices {margin-top:4px!important}
body.sk-student-checkout .woocommerce form.checkout .sk-lite-option small {line-height:1.5!important}
body.sk-student-checkout .woocommerce form.checkout #payment {background:#f5f8f2!important;border-radius:14px!important}
body.sk-student-checkout .woocommerce form.checkout #payment .payment_methods {border-bottom:0!important}
body.sk-student-checkout .woocommerce form.checkout #payment .payment_box {border-radius:11px!important}
body.sk-student-checkout .woocommerce form.checkout #payment .payment_method_sk_familienguthaben label {font-weight:700!important}
body.sk-student-checkout .woocommerce form.checkout #place_order {box-shadow:0 6px 15px rgba(32,88,57,.15)!important}
body.sk-student-checkout .woocommerce form.checkout input:focus-visible,
body.sk-student-checkout .woocommerce form.checkout button:focus-visible {outline:3px solid #3c8b62!important;outline-offset:2px!important}
@media(max-width:640px){body.sk-student-checkout .woocommerce form.checkout{margin:8px auto!important}}

/* 0.6.4 – Benutzerkonto als Standard, Schülerwege optisch gleichwertig. */
body.woocommerce-checkout .sk-account-entry{max-width:790px;margin:0 auto 22px;padding:clamp(16px,3vw,25px);background:#faf7ef;border:1px solid #d9e3d9;border-radius:19px;box-sizing:border-box}
body.woocommerce-checkout .sk-account-entry h2{font-size:clamp(1.2rem,3vw,1.55rem);color:#194e38;margin:0 0 13px}
body.woocommerce-checkout .sk-account-entry .sk-account-choice{display:flex;align-items:center;gap:15px;text-decoration:none;color:#19372c;background:#fff;border:2px solid #d5dfd6;border-radius:13px;padding:14px 16px;margin-top:9px;min-height:69px;box-sizing:border-box}
body.woocommerce-checkout .sk-account-entry .sk-account-choice.is-active{border-color:#245e43;background:#edf6ee}
body.woocommerce-checkout .sk-account-entry .sk-account-choice strong,body.woocommerce-checkout .sk-account-entry .sk-account-choice small{display:block}
body.woocommerce-checkout .sk-account-entry .sk-account-choice small{font-size:12px;color:#4e6358;line-height:1.5;margin-top:2px}
body.woocommerce-checkout .sk-account-entry .sk-choice-dot{font-size:24px;color:#245e43;line-height:1}
body.sk-student-checkout .sk-login-path{display:flex!important;align-items:center;justify-content:center;text-decoration:none!important;border:2px solid #d5dfd6;border-radius:13px;padding:13px 16px;margin-top:10px;background:#fff;color:#194e38!important;font-weight:700}
body.sk-student-checkout .sk-wizard{max-width:none;margin:16px 0 24px}
body.sk-student-checkout.sk-wizard-ready.sk-wizard-step-1 .wcpay-payment-request-wrapper,
body.sk-student-checkout.sk-wizard-ready.sk-wizard-step-1 .wc-stripe-payment-request-wrapper,
body.sk-student-checkout.sk-wizard-ready.sk-wizard-step-1 .wc-block-components-express-payment{display:none!important}

/* 0.6.5: account first; no payment provider before guest login. */
body.sk-account-checkout form.checkout.woocommerce-checkout,
body.sk-account-checkout .wcpay-payment-request-wrapper,
body.sk-account-checkout .wc-stripe-payment-request-wrapper,
body.sk-account-checkout .wc-block-components-express-payment,
body.sk-account-checkout .wc-ppcp-checkout-container,
body.sk-account-checkout .woocommerce-paypal-payments-button,
body.sk-account-checkout .wc-payment-request-button,
body.sk-account-checkout .wc-stripe-payment-request-button{display:none!important}
body.sk-account-checkout .sk-account-entry,
body.sk-account-checkout .sk-account-choice{font-family:inherit;letter-spacing:normal}
body.sk-account-checkout .sk-account-entry .sk-account-choice{display:flex!important;gap:12px!important;align-items:center!important;white-space:normal!important;line-height:1.35!important}
body.sk-account-checkout .sk-account-choice span:last-child{flex:1;min-width:0}
body.sk-account-checkout .sk-account-choice strong{font-weight:700;line-height:1.45}
body.sk-account-checkout .sk-account-choice small{font-weight:400}
@media(max-width:600px){body.sk-account-checkout .sk-account-entry{padding:16px;margin:12px auto}body.sk-account-checkout .sk-account-entry .sk-account-choice{padding:12px!important}}

/* 0.6.6: Externe Express-Zahlungswege in der echten Gast-Schülerkasse entfernen. */
body.sk-student-checkout #wc-stripe-express-checkout-element,
body.sk-student-checkout .wc-stripe-express-checkout-element,
body.sk-student-checkout .wc-stripe-express-checkout,
body.sk-student-checkout .wc-stripe-express-checkout-iframe,
body.sk-student-checkout .wc-block-components-express-payment-continue-rule,
body.sk-student-checkout [id*="payment-request-button"],
body.sk-student-checkout [class*="payment-request-button"]{display:none!important}
body.sk-student-checkout .sk-lite-choices .sk-login-path{display:flex!important;border:2px solid #d5dfd6!important;box-sizing:border-box!important;border-radius:13px!important;margin:12px 0!important;padding:16px!important;background:#fff!important;color:#194e38!important;text-decoration:none!important}
body.sk-student-checkout .sk-stage-one .sk-lite-choices{display:block!important}
body.sk-student-checkout .sk-stage-one .sk-lite-choices .sk-lite-option{display:flex!important;margin:9px 0!important}
body.sk-student-checkout.sk-wizard-ready.sk-wizard-step-1 #order_review,
body.sk-student-checkout.sk-wizard-ready.sk-wizard-step-2 #payment{display:none!important}
