.vlier-quote-toggle-wrapper {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.vlier-quote-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
  font-size: 0.9rem;
}

.vlier-quote-toggle__icon::before {
  content: "\f291";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.vlier-quote-toggle__count {
  min-width: 1.5rem;
  text-align: center;
  border-radius: 999px;
  background: #00a491;
  color: #ffffff;
  padding: 0.1rem 0.5rem;
  font-size: 0.8rem;
}

.vlier-quote-toggle__subtotal {
  font-weight: 600;
}

/* Drawer shell */
.vlier-quote-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.vlier-quote-drawer[aria-hidden="true"] {
  opacity: 0;
}

.vlier-quote-drawer[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.vlier-quote-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.vlier-quote-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 100%;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
}

.vlier-quote-drawer[aria-hidden="false"] .vlier-quote-drawer__panel {
  transform: translateX(0);
}

.vlier-quote-drawer__header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
  background-color: #43739E;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.vlier-quote-drawer__header h2 {
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
}

.vlier-quote-drawer__count {
  margin: 0;
  font-size: 0.85rem;
  color: #ffffff;
}

.vlier-quote-drawer__close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #ffffff;
}

.vlier-quote-drawer__body {
  flex: 1;
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
}

.vlier-quote-empty {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Line items */
.vlier-quote-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.vlier-quote-line {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.75rem;
}

.vlier-quote-line__main {
  display: flex;
  gap: 0.75rem;
}

.vlier-quote-line__thumb img {
  width: 56px;
  height: auto;
  object-fit: contain;
}

.vlier-quote-line__details {
  flex: 1;
  min-width: 0;
}

.vlier-quote-line__title a {
  font-weight: 600;
  text-decoration: none;
}

.vlier-quote-line__qty-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.vlier-quote-line__qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.vlier-quote-line__qty-button {
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fafafa;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.vlier-quote-line__subtotal {
  font-weight: 600;
}

.vlier-quote-line__actions {
  display: flex;
  justify-content: flex-end;
}

.vlier-quote-line__remove {
  font-size: 0.8rem;
  color: #95002d;
  text-decoration: none;
}

/* Summary + actions */
.vlier-quote-summary {
  border-top: 1px solid #eee;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.vlier-quote-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.vlier-quote-summary__row--total {
  font-weight: 600;
}

.vlier-quote-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.vlier-quote-clear-button {
  border: none;
  background: transparent;
  font-size: 0.8rem;
  color: #999;
  cursor: pointer;
  text-decoration: underline;
}

.vlier-quote-request-button {
  border-radius: 0;
  border: none;
  background: #00A491;
  color: #ffffff;
  padding: 1rem 2rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.vlier-quote-request-button:hover {
  background: #00A491;
}

/* Quote form */
.vlier-quote-request {
  margin-top: 1rem;
  border-top: 1px solid #eee;
  padding-top: 0.75rem;
}

.vlier-quote-form__row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.6rem;
}

.vlier-quote-form__row label {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.vlier-quote-form__row input,
.vlier-quote-form__row textarea {
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 0.35rem 0.45rem;
  font-size: 0.85rem;
}

.vlier-quote-form__status {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #333;
}

.vlier-quote-form__status--success {
  color: #0a6b0a;
  font-weight: 600;
}

.vlier-quote-form__status--error {
  color: #b00;
  font-weight: 500;
}

@media (max-width: 600px) {
  .vlier-quote-drawer__panel {
    width: 100%;
  }
}