/* 2W cart, mobile navigation and offer presentation. */
.product-image-wrapper{position:relative}
.tw-sale-ribbon{position:absolute;z-index:3;top:0;left:0;width:116px;height:116px;overflow:hidden;border-radius:12px 0 0 0;pointer-events:none}
.tw-sale-ribbon>span{position:absolute;top:25px;left:-43px;width:174px;padding:7px 0;transform:rotate(-45deg);background:#00853f;color:#fff;text-align:center;font-size:17px;font-weight:800;line-height:1.25;letter-spacing:2px;box-shadow:0 3px 7px #003d2726}
.tw-offer-detail{color:#08743b;font-size:12px;font-weight:700;margin-bottom:7px}
.header-actions-col .header-cart-btn,.header-cart .header-cart-btn{color:#00853f!important}
.header-cart-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;line-height:1;color:#00853f;overflow:visible}
.header-cart-icon>.icon{width:24px;height:24px}
.header-cart-icon svg{top:0!important;display:block;width:100%;height:100%}
.header-cart-icon .icon,.header-cart-icon svg{color:#00853f!important}
.header-cart-icon svg use{fill:currentColor}
.header-cart-icon .header-cart-badge{position:absolute!important;top:0!important;right:0!important;bottom:auto!important;left:auto!important;transform:translate(50%,-50%)!important;margin:0!important;box-sizing:border-box!important;display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#00853f!important;color:#fff;font-size:11px;font-weight:800;line-height:1!important;box-shadow:0 1px 4px #003d2726}
.tw-points-tax-group .tw-points-overview{display:inline-flex;align-items:center;gap:9px;padding:6px 10px;border:1px solid #cce4d6;border-radius:10px;background:#edf7f0;color:#07582f;text-decoration:none;line-height:1.2}
.tw-points-tax-group .tw-points-overview:hover{background:#e1f2e7;border-color:#00853f}
.tw-points-tax-group .tw-points-overview>span{font-size:12px;font-weight:700}
.tw-points-tax-group .tw-points-overview small{display:block;margin-top:2px;color:#456c55;font-size:10px;font-weight:400}
.tw-points-tax-group .tw-points-overview strong{display:flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;padding:4px 7px;border-radius:8px;background:#00853f;color:#fff;font-size:14px;font-weight:800}
.tw-bank-transfer-hint{margin:8px 0 12px;padding:11px 12px;border:1px solid #bcdcc7;border-radius:9px;background:#edf8f1;color:#23533a;text-align:center;font-size:13px;line-height:1.5}
.tw-bank-transfer-hint strong{color:#007738;white-space:nowrap}
.tw-mobile-promos{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:2px 0 18px}
.tw-mobile-promos a{display:flex;gap:8px;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;border-radius:9px;background:#00853f;color:#fff;font-size:15px;font-weight:800;text-decoration:none}
.tw-mobile-promos a:hover{background:#006d34;color:#fff}
.tw-mobile-promos a:focus-visible,.tw-mobile-about:focus-visible{outline:3px solid #005c2b;outline-offset:3px}
.tw-mobile-promos a>span{font-size:20px;line-height:1}
.navigation-offcanvas .tw-mobile-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0 12px}
.navigation-offcanvas .tw-mobile-shortcuts a{padding:10px;border:1px solid #d7e4dc;border-radius:8px;background:#f6faf7;color:#234431;font-size:13px;font-weight:600;text-decoration:none}
.navigation-offcanvas .tw-mobile-about{display:block;margin-top:12px;padding:16px 0;border-top:1px solid #d7e4dc;color:#456452}
@media(max-width:575.98px){.tw-points-tax-group .tw-points-overview{padding:4px 7px;gap:6px}.tw-points-tax-group .tw-points-overview>span{font-size:11px}.tw-points-tax-group .tw-points-overview strong{min-width:25px;min-height:25px;font-size:12px}}

/* Keep multi-digit pack quantities readable in the narrow cart drawer. */
.cart-offcanvas .line-item-quantity-group{width:132px;min-width:132px;flex-wrap:nowrap}
.cart-offcanvas .line-item-quantity-group .quantity-selector-group-input{min-width:48px;width:48px;padding:6px 2px;text-align:center;appearance:textfield;-moz-appearance:textfield}
.cart-offcanvas .line-item-quantity-group input::-webkit-inner-spin-button,.cart-offcanvas .line-item-quantity-group input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cart-offcanvas .line-item-quantity-group .btn{width:40px;min-width:40px;padding:7px}
.navigation-offcanvas .tw-mobile-promos{margin-left:16px;margin-right:16px}

.cart-offcanvas .line-item-quantity-row{flex-wrap:nowrap}
.cart-offcanvas .line-item-quantity-label{flex:1 1 auto;width:auto;min-width:0}
.cart-offcanvas .line-item-quantity-select-wrapper{flex:0 0 172px;width:172px}

/* Equal product purchase buttons, including the PayPal web component. */
body.is-ctl-product .tw-pro-buybox-shell{--tw-purchase-columns:minmax(186px,auto) minmax(150px,1fr);--tw-purchase-button-height:56px}
body.is-ctl-product .tw-pro-buybox-shell .buy-widget-container,
body.is-ctl-product .tw-pro-buybox-shell .shopware-payments-product-detail-row{display:grid;grid-template-columns:var(--tw-purchase-columns);column-gap:12px}
body.is-ctl-product .tw-pro-buybox-shell .shopware-payments-product-detail-row>.shopware-payments-express-buttons,
body.is-ctl-product .tw-pro-buybox-shell .shopware-payments-product-detail-row>.shopware-payments-paypal-paylater-message{grid-column:2;width:auto;max-width:none;min-width:0;padding-left:0;padding-right:0}
body.is-ctl-product .tw-pro-buybox-shell .buy-widget-container .btn-buy{height:var(--tw-purchase-button-height)!important;min-height:var(--tw-purchase-button-height)!important}
body.is-ctl-product .tw-pro-buybox-shell .shopware-payments-product-detail-row paypal-button{display:block;width:100%!important;height:var(--tw-purchase-button-height)!important;min-height:var(--tw-purchase-button-height);max-height:none}
@media(max-width:991.98px){body.is-ctl-product .tw-pro-buybox-shell{--tw-purchase-button-height:50px}}
@media(max-width:767.98px),(min-width:992px) and (max-width:1199.98px){body.is-ctl-product .tw-pro-buybox-shell{--tw-purchase-columns:minmax(0,1fr)}body.is-ctl-product .tw-pro-buybox-shell .shopware-payments-product-detail-row>.shopware-payments-express-buttons,body.is-ctl-product .tw-pro-buybox-shell .shopware-payments-product-detail-row>.shopware-payments-paypal-paylater-message{grid-column:1}}

/* Keep the basket counter visible outside the compact header button. */
.header-cart .header-cart-btn { overflow: visible !important; }
.header-cart-icon .header-cart-badge { display: inline-flex !important; align-items: center; justify-content: center; white-space: nowrap; }
