/* Scoped 1.2.3 corrections, layered on the unchanged 1.2.2 layout. */
#gpb-next .gpbl-original-brand{max-width:875px;}
#gpb-next .gpbl-original-brand img{width:100%;height:auto;object-fit:contain;display:block;}
#gpb-next .gpb-brandrow{padding-block:14px 10px;gap:20px;}
#gpb-next .gpb-search{margin-left:auto;}

/* 1.2.11: the persistent shop cart control is the single cart link. */
#gpb-next a.added_to_cart.wc-forward{display:none!important;}


#gpb-next .gpbl-shop-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:16px;font-size:14px;text-decoration:none;}
.gpbl-cart-toast[hidden],.woocommerce-message[hidden],.wc-block-components-notice-banner[hidden]{display:none!important;}
.gpbl-cart-toast{position:fixed;right:24px;bottom:24px;z-index:100000;display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;max-width:calc(100vw - 32px);padding:14px 18px;background:#fff;color:#163f3b;border:1px solid #cadbd6;border-radius:14px;box-shadow:0 8px 28px #153e3c25;font:14px/1.5 system-ui,sans-serif;}
.gpbl-cart-toast a{color:#16645a;text-decoration:underline;}
.gpbl-cart-toast button{background:transparent;color:inherit;border:0;min-width:44px;min-height:44px;font-size:22px;cursor:pointer;padding:0;}
.gpbl-cart-toast :focus-visible{outline:2px solid #16645a;outline-offset:3px;}
/* Block checkout: flatten image wrapper for a true image | name/quantity | total grid. */
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:6px 12px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item:after{display:none;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image{display:contents;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image>img{grid-column:1;grid-row:1/3;width:48px;height:48px;max-width:48px;object-fit:contain;border-radius:8px;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__quantity{grid-column:2;grid-row:2;position:static;transform:none;display:flex;justify-content:flex-start;gap:4px;min-height:0;min-width:0;background:none;border:0;box-shadow:none;border-radius:0;color:inherit;font-size:13px;line-height:1.4;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__quantity:before{content:'Menge:';}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__quantity span{color:inherit;padding:0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description{grid-column:2;grid-row:1;padding:0;min-width:0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-product-name{font-size:14px;line-height:1.45;overflow-wrap:anywhere;word-break:normal;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price{grid-column:3;grid-row:1/3;margin:0;padding:0;text-align:right;font-size:14px;white-space:nowrap;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-product-metadata__description,
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-product-details__description,
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__individual-prices{display:none!important;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-item{padding-block:12px;gap:12px;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item{border-top:2px solid var(--line);margin-top:8px;font-size:19px;font-weight:700;}
/* Classic checkout: native names, variations, quantity and totals retained. */
#gpb-next .gpbl-review-product{display:flex;align-items:flex-start;gap:12px;}
#gpb-next .gpbl-review-product>span{min-width:0;overflow-wrap:anywhere;}
#gpb-next .gpbl-review-thumbnail{width:48px;height:48px;max-width:48px;flex:0 0 48px;object-fit:contain;border-radius:8px;}
#gpb-next .gpbl-checkout-summary .product-quantity{display:block;margin:4px 0 0 60px;font-size:13px;font-weight:400;}
#gpb-next .gpbl-checkout-summary .product-quantity:before{content:'Menge: ';}
#gpb-next .gpbl-checkout-summary td.product-total{text-align:right;vertical-align:top;}
#gpb-next .gpbl-checkout-summary tbody tr{border-bottom:1px solid var(--line);}
#gpb-next .gpbl-checkout-summary .product-name :is(.product-description,.product-short-description,.woocommerce-product-details__short-description){display:none!important;}
#gpb-next .gpbl-checkout-summary .order-total{font-size:19px;border-top:2px solid var(--line);}
@container(max-width:950px){#gpb-next .gpb-brandrow{gap:12px;}}
@container(max-width:700px){#gpb-next .gpbl-original-brand img{width:100%;}#gpb-next .gpb-search{min-width:0;}}
@media(max-width:600px){.gpbl-cart-toast{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));left:16px;}#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item{grid-template-columns:40px minmax(0,1fr) auto;gap:6px 8px;}#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__image>img{width:40px;height:40px;}}

/* 1.2.4: shop-only controls; one quiet checkout card; no cart CTA surround. */
#gpb-next .gpbl-shop-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;padding:0;background:none;border:0;}
#gpb-next .gpbl-shop-tools--archive{justify-content:flex-end;margin-bottom:8px;}
#gpb-next .gpbl-shop-tools .gpbl-shop-back{margin:0;}
#gpb-next .gpbl-shop-cart{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--brand);font-size:14px;line-height:1.4;text-decoration:none;white-space:nowrap;}
#gpb-next .gpbl-shop-cart:hover{background:var(--mist);border-color:var(--brand);}
#gpb-next .gpbl-shop-cart:focus-visible{outline:3px solid var(--brand);outline-offset:3px;}
/* Keep the existing sidebar as the single outer card; remove only structural frames. */
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-sidebar :is(.wp-block-woocommerce-checkout-order-summary-block,.wp-block-woocommerce-checkout-order-summary-cart-items-block,.wp-block-woocommerce-checkout-order-summary-coupon-form-block,.wp-block-woocommerce-checkout-order-summary-totals-block,.wc-block-components-order-summary,.wc-block-components-totals-wrapper,.wc-block-components-totals-coupon,.wc-block-components-totals-footer-item){border:0;border-radius:0;box-shadow:none;background:transparent;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary{padding:0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary__content{display:block;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item{border:0;padding:14px 0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item+.wc-block-components-order-summary-item{border-top:1px solid var(--line);}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description{gap:0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price{line-height:1.45;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price{font-size:14px;line-height:1.45;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-wrapper{padding:0;margin:0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-coupon{padding:18px 0 8px;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-coupon-link{font-size:14px;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-item{border:0;padding:10px 0;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item{padding:18px 0 0;margin-top:4px;font-size:20px;font-weight:700;}
/* Classic table stays semantic; only its visual grid is removed. */
#gpb-next .gpb-commerce-content .gpbl-checkout-summary :is(#order_review,table.shop_table){border:0;box-shadow:none;background:transparent;border-radius:0;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table :is(thead,tbody,tfoot,tr,th,td){border:0;background:transparent;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table tbody tr+tr td{border-top:1px solid var(--line);}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table tfoot :is(th,td){padding:10px 0;font-weight:400;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table tfoot tr:first-child :is(th,td){padding-top:24px;}
#gpb-next .gpb-commerce-content .gpbl-checkout-summary table.shop_table .order-total :is(th,td){padding-top:18px;font-weight:700;font-size:20px;}
/* Remove the actual white wrapper, not the button's keyboard focus indicator. */
#gpb-next .wp-block-woocommerce-cart :is(.wc-block-cart__submit,.wc-block-cart__submit-container,.wc-block-cart__submit-container--sticky),
#gpb-next .gpb-commerce-content .cart_totals .wc-proceed-to-checkout{background:transparent;border:0;box-shadow:none;outline:0;padding:16px 0 0;margin:0;}
#gpb-next .wp-block-woocommerce-cart .wc-block-cart__submit-container{padding:0;}
#gpb-next .wp-block-woocommerce-cart .wc-block-cart__submit-container:before,
#gpb-next .wp-block-woocommerce-cart .wc-block-cart__submit-container:after{display:none;}
#gpb-next .wp-block-woocommerce-cart .wc-block-cart__submit-button,
#gpb-next .gpb-commerce-content .cart_totals .checkout-button{border-radius:999px;margin:0;box-shadow:none;}
@media(max-width:380px){#gpb-next .gpbl-shop-tools{gap:8px;}#gpb-next .gpbl-shop-tools .gpbl-shop-back{font-size:13px;}#gpb-next .gpbl-shop-cart{padding-inline:9px;font-size:13px;}}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-coupon .wc-block-components-panel__button{background:transparent;border:0;box-shadow:none;border-radius:0;padding-block:8px;color:var(--brand);font:600 14px/1.5 Arial,Helvetica,sans-serif;}
#gpb-next .wp-block-woocommerce-checkout .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__label,.wc-block-components-totals-item__value){font-size:20px;font-weight:700;}
/* WooCommerce's hidden attribution fields must not occupy a visual grid row. */
#gpb-next .gpb-commerce-content form.checkout> wc-order-attribution-inputs{display:contents;}
#gpb-next .gpbl-checkout-summary .gpbl-review-product{display:block;position:relative;padding-left:60px;}
#gpb-next .gpbl-checkout-summary .gpbl-review-thumbnail{position:absolute;left:0;top:0;}
#gpb-next .gpbl-checkout-summary .gpbl-review-product>span{display:block;}
#gpb-next .gpbl-checkout-summary table.shop_table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#gpb-next .gpbl-checkout-summary .product-name{min-height:48px;}
