/* 01537 · Canonical cart layout in the site builder and in published pages.
   Site canvas defaults every .st-row to 3 columns and every .st-block to a
   dark clipped card. Cart commerce slots require exactly one full-width column.
   Keep rules strictly scoped to the Shop cart role, not to generic editor rows. */
.site-root .st-shop-template-01532[data-shop-page-role-01532="cart"] > .st-row[data-shop-cart-content-01536],
.site-root .st-shop-template-01532[data-shop-page-role-01532="cart"] > .st-row.st-shop-cart-fallback-row-01536,
.st-shop-template-01532[data-shop-page-role-01532="cart"] > .st-row[data-shop-cart-content-01536] {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  width: min(1220px, calc(100% - 40px)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 20px auto 0 !important;
  padding: 0 !important;
  align-items: start !important;
  justify-content: stretch !important;
  overflow: visible !important;
}
/* Keep the editable container, but don't let the site's default dark/hidden
   .st-block styling turn it into a 1/3-width card or clip its shadow runtime. */
.site-root .st-shop-template-01532[data-shop-page-role-01532="cart"] > .st-row[data-shop-cart-content-01536] > .st-block,
.st-shop-template-01532[data-shop-page-role-01532="cart"] > .st-row[data-shop-cart-content-01536] > .st-block,
.site-root .st-shop-template-01532[data-shop-page-role-01532="cart"] [data-shop-cart-host-01533],
.st-shop-template-01532[data-shop-page-role-01532="cart"] [data-shop-cart-host-01533] {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  padding: 0 !important;
}
.site-root .st-shop-template-01532[data-shop-page-role-01532="cart"] [data-shop-cart-host-01533] {
  touch-action: pan-y;
  user-select: auto;
}
/* A title row should never use the generic editor three-column layout when a
   formerly saved Main snapshot loses its original inline display:flex. */
.site-root .st-shop-template-01532[data-shop-page-role-01532="cart"] > .st-row[data-shop-cart-hero-01536] {
  display: flex !important;
  flex-direction: row !important;
  width: min(1220px, calc(100% - 40px)) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Only rows that the runtime has already marked as empty legacy cart slots. */
.site-root .st-shop-template-01532[data-shop-page-role-01532="cart"] > .st-row[data-shop-cart-vacated-01537="1"] {
  display: none !important;
}
