/* Cart page in the shop theme (Shoptimizer), which gives the cart the full screen width and no side padding. */
.woocommerce-cart .site-content .col-full > .woocommerce { max-width: 1170px; margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }

@media (max-width: 899px) { .checkout-wrap { display: none; } }   /* Shoptimizer's "Kurv – Kasse – Kvittering" line repeats our steps (brugeren 2026-11-20) */
@media (max-width: 899px) { .woocommerce-cart .site-content .col-full > .woocommerce { padding-top: 24px; } }   /* the hidden line gave the room under the header */

/* "Har du en rabatkode?" folds out the coupon field; cart.js wraps it in <details>. Hidden until then, so it does not
   jump when FlyingPress runs the scripts on the first touch (any scroll or tap runs them). */
.woocommerce-cart-form .coupon:not(.uldtoj-coupon-toggle .coupon) { display: none; }
.uldtoj-coupon-toggle { text-align: left; }   /* the theme right-aligns the cell it sits in */
.uldtoj-coupon-toggle > summary { cursor: pointer; font-weight: 600; padding: 8px 0; }
.uldtoj-coupon-toggle[open] > summary { margin-bottom: 8px; }
@media (max-width: 899px) { .uldtoj-coupon-toggle { width: 100%; } }   /* the cell is a flex row on mobile */

/* Only the chosen shipping method with its price; the customer changes it in the checkout. With one method WooCommerce
   prints a hidden input instead of radios, so only unchecked radios hide a line. */
.woocommerce-cart #shipping_method li:has(> input[type=radio]:not(:checked)) { display: none; }   /* own rule: a browser without :has() drops only this */
.woocommerce-cart #shipping_method input[type=radio],
.woocommerce-cart #shipping_method li label::before,   /* Shoptimizer draws its own radio */
.woocommerce-cart .woocommerce-shipping-destination { display: none; }
