.button--add-to-quote:disabled,
.button--add-to-quote.is-added {
  background: #8a94a3;
  cursor: default;
  opacity: 1;
}

/* The theme's page.html.twig renders sidebar_first as a real <aside>,
   sibling to .layout-content inside <main> - but ships no CSS to lay
   them out side by side, so the "Selected for Quote" block just
   stacked full-width below the page content instead of sitting in a
   side column. This library only loads on the product/listing pages
   the block itself is scoped to, so it's safely contained there. */
/*main[role="main"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

main[role="main"] > .layout-content {
  flex: 1 1 0;
  min-width: 0;
}

main[role="main"] > aside.layout-sidebar-first,
main[role="main"] > aside.layout-sidebar-second {
  flex: 0 0 auto;
}*/

@media (max-width: 782px) {
  main[role="main"] {
    display: block;
  }
}

.selected-for-quote {
  border: 1px solid #d7dde1;
  border-radius: 4px;
  padding: 1em;
  margin-bottom: 1em;
  width: 280px;
  max-width: 100%;
}

/* On the single product page the block renders inside .product-detail__aside
   (see product_custom_preprocess_commerce_product() + commerce-product.html.twig),
   which already themes its direct children as cards (background, rounded
   corners, shadow, spacing via ".product-detail__aside > *" in
   mocha-custom.css) - so drop this block's own standalone card styling
   there instead of nesting two borders/paddings. */
/*.product-detail__aside > .selected-for-quote {
  width: auto;
  max-width: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}*/

.selected-for-quote--empty {
  display: none;
}

.selected-for-quote__label {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85em;
  margin-bottom: 0.75em;
  padding-bottom: 0.5em;
  border-bottom: 3px solid #4a90d9;
}

.selected-for-quote__list {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}

.selected-for-quote__item {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.6em 0;
  border-bottom: 1px dashed #d7dde1;
}

.selected-for-quote__item:last-child {
  border-bottom: none;
}

.selected-for-quote__item-image {
  flex: none;
  width: 32px;
}

.selected-for-quote__item-image img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.selected-for-quote__item-title {
  font-size: 0.9em;
}

.selected-for-quote__link {
  display: block;
  min-width: 0;
  width: 100%;
  text-align: center;
  background: transparent;
  color: #202c45;
  border: 1px solid #202c45;
}
