/* Cart rows are independently scrollable; each saved SKU remains visible. */
#cart #cartRows {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  max-height: min(50dvh, 560px) !important;
  flex: 0 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
#cart #cartRows .cartrow {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 11px 0 !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
}
#cart .minna-cart-thumb-wrap { width:54px; height:54px; display:flex; align-items:center; justify-content:center; background:#f7f4ef; border-radius:8px; }
#cart .minna-cart-thumb-wrap img { max-width:100%;max-height:100%;object-fit:contain; }
#cart .minna-cart-row-info {min-width:0;overflow-wrap:anywhere;}
#cart .minna-cart-product-title {display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere;}
#cart .minna-cart-row-remove {white-space:nowrap;min-width:0;}
#cart .minna-cart-unresolved {grid-template-columns:1fr !important;background:#fff7ec;color:#8a4f24;}
#cart .minna-cart-missing {font-size:11px;line-height:1.5;}
@media(max-width:680px){ #cart #cartRows { max-height: min(45dvh, 430px) !important; } }
