/* WooCommerce cart, checkout and order pages in the LIND look. Loaded on shop pages only. */

.shop-page { padding-block: var(--s-6, 24px) var(--section-y, 96px); }
.shop-page__h { margin: 0 0 var(--s-6, 24px); }

/* One orange button per screen: the header buy button steps back on cart and checkout. */
.woocommerce-cart .hdr__buy, .woocommerce-checkout .hdr__buy { display: none; }

/* Primary actions look like .btn (koral). */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--koral) !important; color: var(--on-accent, #fff) !important; border: 1px solid var(--koral) !important;
  border-radius: var(--r-1) !important; min-height: 52px; font-weight: 600; font-size: 1rem; letter-spacing: .01em;
}
@media (hover: hover) and (pointer: fine) {
  .wc-block-cart__submit-button:hover,
  .wc-block-components-checkout-place-order-button:hover { background: var(--koral-press) !important; border-color: var(--koral-press) !important; }
}
.wc-block-cart__submit-container::after,
.wc-block-checkout__actions_row::after {
  content: "Krypteret betaling. Ingen konto."; display: block; margin-top: 10px; text-align: center;
  font-size: var(--fs-small, .875rem); color: var(--muted-c, #4a5256);
}
.wc-block-checkout__actions_row { flex-wrap: wrap; }
.wc-block-checkout__actions_row::after { content: "Sikker, krypteret betaling via Stripe. Vi ser aldrig dine kortoplysninger."; width: 100%; }

/* Cross-sells ("Gør det komplet"): secondary, outline buttons, smaller cards. */
.wc-block-cart .wp-block-woocommerce-product-collection .wp-block-button__link,
.wc-block-cart .wp-block-woocommerce-product-button .wc-block-components-product-button__button {
  background: transparent !important; color: var(--blaek) !important; border: 1px solid currentColor !important; border-radius: var(--r-1) !important;
}
.wc-block-cart .wp-block-woocommerce-product-collection h2 { font-size: var(--fs-h3, 1.5rem); }
.wc-block-cart .wp-block-woocommerce-product-collection .wp-block-post-title { font-size: 1rem !important; }

/* Guest note and the "(valgfri)" on the newsletter box are noise here. */
.wc-block-checkout__guest-checkout-notice { display: none; }
.lind-nl-note { margin: 8px 0 0; }

/* Calm the WooCommerce summary card to the site's hairlines. */
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block,
.wc-block-cart .wc-block-cart__sidebar { border-color: var(--line) !important; }
