/* Add to quote buttons */
.cnet-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid #0B1F3A !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #0B1F3A !important;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.cnet-quote-btn:hover, .cnet-quote-btn:focus { background: #0B1F3A !important; color: #ffffff !important; }
.cnet-quote-btn.is-added { border-color: #2E7D32 !important; color: #2E7D32 !important; }
.cnet-quote-btn.is-added:hover { background: #2E7D32 !important; color: #ffffff !important; }
/* Shop list view: basket and quote buttons on the right */
.cnet-shop__products ul.products li.product .cnet-quote-btn { flex: 0 0 auto; }
.cnet-shop__products:not(.is-grid) ul.products li.product .button + .cnet-quote-btn { margin-left: -0.75rem; }
.cnet-shop__products.is-grid ul.products li.product .cnet-quote-btn { width: 100%; white-space: normal; }
.cnet-shop__products.is-grid ul.products li.product .button { margin-top: auto !important; }
.cnet-shop__products.is-grid ul.products li.product .button + .cnet-quote-btn { margin-top: -0.4rem; }
@media (max-width: 767px) {
  .cnet-shop__products ul.products li.product .cnet-quote-btn { flex: 1 1 100%; margin-left: 0 !important; }
}
/* Single product page */
.cnet-quote-single { margin: 0.75rem 0 1.5rem; }
.cnet-quote-single .cnet-quote-btn { padding: 0.85rem 1.75rem; }
.cnet-quote-note { margin: 0.6rem 0 0; font-size: 0.9375rem; color: #4A5868; }

/* "Added" toast */
.cnet-quote-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: calc(100vw - 2rem);
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border-radius: 8px;
  background: #0B1F3A;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.3);
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}
.cnet-quote-toast.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cnet-quote-toast__text { display: flex; flex-direction: column; font-size: 0.875rem; min-width: 0; }
.cnet-quote-toast__text span { opacity: 0.8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22rem; }
.cnet-quote-toast__link {
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  background: #FF7A00;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none !important;
}
.cnet-quote-toast__link:hover { background: #ffffff; color: #0B1F3A !important; }
@media (max-width: 480px) {
  .cnet-quote-toast { flex-direction: column; align-items: stretch; text-align: left; }
  .cnet-quote-toast__link { text-align: center; }
}

/* Quote list on the Request a quote page */
.cnet-quote-table { display: flex; flex-direction: column; }
.cnet-quote-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #DDE3EA;
  font-weight: 700;
  color: #0B1F3A;
}
.cnet-quote-table .cnet-quote-clear {
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: #6B7785 !important;
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
}
.cnet-quote-table .cnet-quote-clear:hover { color: #C62828 !important; }
.cnet-quote-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 76px 32px;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #EEF1F5;
}
.cnet-quote-row__img { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; background: #F3F5F8; }
.cnet-quote-row__info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.cnet-quote-table .cnet-quote-row__info a { color: #0B1F3A !important; font-weight: 600; font-size: 0.9375rem; line-height: 1.35; text-decoration: none !important; }
.cnet-quote-table .cnet-quote-row__info a:hover { color: #FF7A00 !important; }
.cnet-quote-row__info span { font-size: 0.8125rem; color: #6B7785; }
.cnet-quote-row__qty input {
  width: 100%;
  height: 40px;
  padding: 0 0.5rem !important;
  border: 1px solid #DDE3EA !important;
  border-radius: 6px !important;
  text-align: center;
  font-size: 0.9375rem;
}
.cnet-quote-table .cnet-quote-row__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6B7785 !important;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.cnet-quote-table .cnet-quote-row__remove:hover { background: #FDECEA !important; color: #C62828 !important; }
.cnet-quote-table .cnet-quote-more {
  display: inline-block;
  margin-top: 0.9rem;
  color: #FF7A00 !important;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none !important;
}
.cnet-quote-table .cnet-quote-more:hover { color: #0B1F3A !important; }
/* Links inside the empty-list message */
[data-id="7bf7d30f"] a { color: #FF7A00; font-weight: 700; text-decoration: none; }
[data-id="7bf7d30f"] a:hover { color: #0B1F3A; }
@media (max-width: 480px) {
  .cnet-quote-row { grid-template-columns: 44px minmax(0, 1fr) 64px 28px; gap: 0.6rem; }
  .cnet-quote-row__img { width: 44px; height: 44px; }
}
