/* Warenkorb (inc/cart-page.php) */
.woocommerce-cart .entry-content>.woocommerce{font-family:Sen,"Segoe UI",Roboto,Arial,sans-serif;color:#28282a}
.d4c-steps{list-style:none;margin:0 auto 30px;padding:0;display:flex;justify-content:center;max-width:620px;counter-reset:d4cs}
.d4c-steps li{flex:1;position:relative;text-align:center;font-size:14px;line-height:1.35;color:#585b60;padding:0 6px}
.d4c-steps li:before{counter-increment:d4cs;content:counter(d4cs);display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0 auto 6px;border-radius:50%;background:#fff;border:2px solid #e3e6eb;color:#585b60;font-size:14px;position:relative;z-index:1}
.d4c-steps li:after{content:"";position:absolute;top:16px;left:calc(50% + 20px);right:calc(-50% + 20px);height:2px;background:#e3e6eb}
.d4c-steps li:last-child:after{display:none}
.d4c-steps li.done:before{content:"✓";background:#0f6b55;border-color:#0f6b55;color:#fff}
.d4c-steps li.done:after{background:#0f6b55}
.d4c-steps li.on{color:#28282a}
.d4c-steps li.on:before{background:#cc0000;border-color:#cc0000;color:#fff}
.d4c-steps a{color:inherit!important;text-decoration:none!important}

/* Raster: Positionen links, Zusammenfassung rechts */
@media (min-width:992px){
  .woocommerce-cart .entry-content>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 340px;column-gap:36px;align-items:start}
  .woocommerce-cart .entry-content>.woocommerce>*{grid-column:1 / -1;min-width:0}
  .woocommerce-cart .entry-content>.woocommerce>.woocommerce-cart-form{grid-column:1}
  .woocommerce-cart .entry-content>.woocommerce>.cart-collaterals{grid-column:2;grid-row:span 2;position:sticky;top:112px;width:auto;float:none}
  body.woocommerce-cart,.woocommerce-cart #page-wrapper{overflow:visible;overflow-x:clip}
}
.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;float:none!important;background:#fff;border:2px solid #0f6b55;border-radius:16px;padding:22px}

/* Positionen */
.woocommerce-cart table.shop_table.cart{border:1px solid #e3e6eb!important;border-radius:16px!important;background:#fff;overflow:hidden;border-collapse:separate}
.woocommerce-cart table.shop_table.cart thead th{font-weight:400!important;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#585b60;background:#f5f7fa;padding:12px 14px}
.woocommerce-cart table.shop_table.cart td{padding:18px 14px;vertical-align:top;border-top:1px solid #e3e6eb}
.woocommerce-cart table.shop_table.cart .product-thumbnail{display:none}
.woocommerce-cart table.shop_table.cart .product-name>a:first-child{font-size:19px;color:#28282a!important;text-decoration:none!important}
.woocommerce-cart table.shop_table.cart .product-name a.rn-edit-options{display:inline-block!important;font-size:13px!important;color:#0f6b55!important;margin:2px 0 8px;text-decoration:none!important;border-bottom:1px dashed #0f6b55}
.woocommerce-cart table.shop_table.cart dl.variation{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:8px 0 0;font-size:14px;line-height:1.45}
.woocommerce-cart table.shop_table.cart dl.variation dt{font-weight:400!important;color:#585b60;margin:0}
.woocommerce-cart table.shop_table.cart dl.variation dd{margin:0;color:#28282a}
.woocommerce-cart table.shop_table.cart dl.variation dd p,.woocommerce-cart table.shop_table.cart dl.variation dd label{margin:0;font-weight:400}
.woocommerce-cart table.shop_table.cart .product-monthly,.woocommerce-cart table.shop_table.cart .product-one-time{white-space:nowrap;font-size:17px;text-align:right}
.woocommerce-cart table.shop_table.cart .product-monthly .amount,.woocommerce-cart table.shop_table.cart .product-one-time .amount{font-weight:400}
.d4c-more{margin:14px 0 0}
.d4c-more a{font-size:15px;color:#0f6b55!important;text-decoration:none!important}
.d4c-more a:hover{text-decoration:underline!important}

/* Zusammenfassung */
.d4c-k{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#0f6b55;margin:0 0 8px}
.d4c-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:6px 0;border-bottom:1px solid #e3e6eb;font-size:15px;color:#585b60}
.d4c-row b{font-weight:400;font-size:26px;color:#28282a;white-space:nowrap}
.d4c-row b small{font-size:14px;color:#585b60}
.d4c-o b{font-size:20px}
.d4c-tax{font-size:12.5px;color:#7a7e86;margin:6px 0 16px}
.woocommerce-cart .wc-proceed-to-checkout{padding:0!important}
.woocommerce-cart .wc-proceed-to-checkout a.btn{display:flex;align-items:center;justify-content:center;gap:10px;background:#0f6b55!important;border-color:#0f6b55!important;color:#fff!important;border-radius:10px;font-weight:700;font-size:17px;padding:15px 18px}
.woocommerce-cart .wc-proceed-to-checkout a.btn:after{content:"→"}
.woocommerce-cart .wc-proceed-to-checkout a.btn:hover{background:#0a5242!important}
.d4c-next{font-size:13px;color:#585b60;line-height:1.4;text-align:center;margin:10px 0 14px}
.d4c-trust{list-style:none;margin:0 0 16px;padding:12px 0 0;border-top:1px solid #e3e6eb}
.d4c-trust li{position:relative;padding-left:26px;font-size:13.5px;line-height:1.4;color:#28282a;margin:0 0 7px}
.d4c-trust li:before{content:"";position:absolute;left:0;top:1px;width:17px;height:17px;border-radius:50%;background:#0f6b55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat}
.d4c-help{background:linear-gradient(120deg,#fff5f5 0%,#fdeaea 100%);border:1px solid #f4c9c9;border-radius:14px;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center}
.d4c-help p{margin:0;font-size:15.5px;line-height:1.3}
.d4c-help .d4n-st-k{display:block}
.d4c-help .d4n-st-ic{width:40px;height:40px;box-shadow:0 0 0 5px rgba(204,0,0,.12)}
.d4c-help a.d4n-st-b{grid-column:1 / -1;justify-content:center;margin-top:6px;font-size:15px;padding:12px 16px}
.d4c-help a.d4c-tel svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.d4c-tel-nr{grid-column:1 / -1;text-align:center;font-size:14px;color:#28282a!important;text-decoration:none!important}

/* Leerer Warenkorb */
.woocommerce-cart .cart-empty{font-size:20px;text-align:center;border:0!important;background:none!important;padding:10px 0!important}
.woocommerce-cart .cart-empty:before{display:none!important}
.woocommerce-cart .return-to-shop{text-align:center;margin:18px 0 6px}
.woocommerce-cart .return-to-shop a.btn{background:#0f6b55!important;border-color:#0f6b55!important;color:#fff!important;border-radius:10px;padding:13px 22px;font-weight:700}
.d4c-empty{text-align:center;max-width:620px;margin:0 auto;color:#585b60}
.d4c-empty-b a.btn{border-radius:10px;padding:11px 20px}

/* Störer (wie auf den Inhaltsseiten) */
.d4n-st{display:flex;align-items:center;justify-content:space-between;gap:18px 28px;flex-wrap:wrap;margin:28px 0;padding:22px 26px;border-radius:16px;background:linear-gradient(120deg,#fff5f5 0%,#fdeaea 100%);border:1px solid #f4c9c9;color:#28282a;text-align:left}
.d4n-st *{box-sizing:border-box}
.d4n-st-t{display:flex;align-items:center;gap:16px;flex:1 1 380px;min-width:0}
.d4n-st-ic{flex:none;width:52px;height:52px;border-radius:50%;background:#cc0000;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px rgba(204,0,0,.12)}
.d4n-st-ic svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.d4n-st-k{display:inline-block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#cc0000;margin:0 0 2px}
.d4n-st p{margin:0!important;font-size:18px;line-height:1.35;color:#28282a!important}
.d4n-st p small{display:block;font-size:14.5px;color:#585b60;margin-top:3px}
a.d4n-st-b{display:inline-flex;align-items:center;gap:10px;flex:none;padding:15px 24px;border-radius:999px;background:#cc0000;color:#fff!important;font-weight:700;font-size:16px;line-height:1.2;text-decoration:none!important;box-shadow:0 8px 20px rgba(204,0,0,.25)}
a.d4n-st-b:hover{background:#a30000}
a.d4n-st-b svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:991.98px){.woocommerce-cart .cart-collaterals{width:100%!important;float:none!important;margin-top:24px}}
@media (max-width:600px){
  .d4n-st{padding:20px 18px}.d4n-st-ic{width:44px;height:44px}.d4n-st p{font-size:16.5px}a.d4n-st-b{width:100%;justify-content:center;font-size:15px;padding:14px 16px;white-space:nowrap}
  .d4c-steps li{font-size:12.5px}
  .woocommerce-cart table.shop_table.cart dl.variation{grid-template-columns:1fr}
  .woocommerce-cart table.shop_table.cart .product-monthly,.woocommerce-cart table.shop_table.cart .product-one-time{text-align:right}
}
