/* ASMAE HF37 — cart AND checkout summaries must scroll normally.
   Intentionally loaded last: this neutralizes previous sticky/overlay rules
   even when a stylesheet from an earlier hotfix is still cached.
   No changes to cart totals, checkout AJAX, payment or carrier DOM. */
body#cart .cart-grid,
body#order .checkout-grid,
body#checkout .checkout-grid { align-items: start !important; }

body#cart .cart-grid__aside,
body#cart .cart-grid__aside-wrapper,
body#order .checkout-grid__aside,
body#order .checkout-grid__aside-wrapper,
body#checkout .checkout-grid__aside,
body#checkout .checkout-grid__aside-wrapper {
  position: static !important;
  inset: auto !important;
  top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
  max-height: none !important; height: auto !important;
  overflow: visible !important; overscroll-behavior: auto !important;
  transform: none !important; z-index: auto !important;
}
body#cart .cart-grid__aside,
body#order .checkout-grid__aside,
body#checkout .checkout-grid__aside { min-width: 0; align-self: start !important; }
body#cart .cart-grid__aside-wrapper { width: 100%; box-sizing: border-box; }

/* Customer reassurance: more balanced within the shopping cart card. */
body#cart .cart-grid__aside-wrapper .blockreassurance--cart {
  display: grid; gap: 17px; margin: 17px 0 2px;
}
body#cart .cart-grid__aside-wrapper .blockreassurance--cart .reassurance {
  display: flex; align-items: flex-start; gap: 12px; min-width: 0;
  text-decoration: none;
}
body#cart .cart-grid__aside-wrapper .blockreassurance--cart .reassurance__image {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 35px; width: 35px; height: 35px;
}
body#cart .cart-grid__aside-wrapper .blockreassurance--cart .reassurance__image :is(img,svg) {
  display: block; width: 100%; max-width: 35px; height: auto; max-height: 35px;
}
body#cart .cart-grid__aside-wrapper .blockreassurance--cart .reassurance__content {
  min-width: 0; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere;
}
body#cart .cart-grid__aside-wrapper .blockreassurance--cart .reassurance__title { font-weight: 650; }
body#cart .cart-grid__aside-wrapper .blockreassurance--cart .reassurance__desc {
  font-size: 12px; line-height: 1.5;
}
@media(max-width:991.98px) {
  body#cart .cart-grid__content, body#order .checkout-grid__content, body#checkout .checkout-grid__content { order: 1; }
  body#cart .cart-grid__aside, body#order .checkout-grid__aside, body#checkout .checkout-grid__aside { order: 2; }
  body#cart .cart-grid__aside-wrapper { margin-top: 5px; }
}
