.ndquote-general-helper{margin-top:20px;margin-bottom:24px}
.ndquote-general-helper__content{padding:16px 20px;border:1px solid #d7dfd8;border-left:3px solid #195533;background:#f7f9f6;color:#202020}
.ndquote-general-helper p{margin:0;font-size:15px;line-height:1.55}
.ndquote-general-helper p+p{margin-top:8px}
.ndquote-general-helper a{display:inline-block;color:#195533;text-decoration:underline;text-underline-offset:3px;font-weight:600}
.ndquote-general-helper a:focus-visible{outline:2px solid #195533;outline-offset:3px}
.ndquote-list-fallback{display:flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding:6px;color:#202020;font-size:13px;line-height:1.2;text-decoration:none;white-space:nowrap;border-radius:4px}
.ndquote-list-fallback::before{content:'';display:block;width:20px;height:20px;flex:0 0 20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v5h4M9 12h6M9 16h6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.ndquote-list-fallback:focus-visible{outline:2px solid #202020;outline-offset:2px}
@media(max-width:989px){.ndquote-list-fallback{flex-direction:column;gap:2px;width:72px;padding:2px;font-size:10px}}
@media(max-width:989px){.ndquote-general-helper{margin-top:12px;margin-bottom:16px}.ndquote-general-helper__content{padding:12px 14px}.ndquote-general-helper p{font-size:14px}}

/* Keep quote actions on the same baseline in each row of product cards. */
#MainContent :is(.grid--uniform, .product-grid-container):has(> .grid-product > button.rfq-collection-btn) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#MainContent :is(.grid--uniform, .product-grid-container):has(> .grid-product > button.rfq-collection-btn)::after {
  content: none;
}

#MainContent :is(.grid--uniform, .product-grid-container) > .grid-product:has(> button.rfq-collection-btn) {
  display: flex;
  flex-direction: column;
}

#MainContent :is(.grid--uniform, .product-grid-container) > .grid-product:has(> button.rfq-collection-btn) > .grid-product__content {
  flex-grow: 1;
}

#MainContent :is(.grid--uniform, .product-grid-container) > .grid-product > button.rfq-collection-btn {
  width: 100%;
  min-height: 44px;
}

@media (max-width: 589px) {
  #MainContent .grid-overflow-wrapper .grid--uniform:has(> .grid-product > button.rfq-collection-btn) {
    flex-wrap: nowrap;
  }
}

/* Align navigation buttons in collection description cards. */
#MainContent .collection-description div[style*="grid-template-columns"] > div:has(> h3):has(> p:last-child > a.btn:only-child) {
  display: flex;
  flex-direction: column;
}

#MainContent .collection-description div[style*="grid-template-columns"] > div:has(> h3) > p:last-child:has(> a.btn:only-child) {
  margin-top: auto;
}
