/* VTO quote card wrapper + shortlist chips (theme 1.5.17). Form fields/button: assets/form-1631.css. */
.vto-quote-card {
  --vto-pink: #c91f68; --vto-brand-pink: #e83486;
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  gap: 32px;
  margin: 32px 0;
  padding: 32px;
  background: #f4f4f5;
  border-radius: 16px;
  color: #191d27;
}
.vto-quote-card__main { min-width: 0; }
.vto-quote-card__title { margin: 0 0 6px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 800; color: #191d27; text-align: left; }
.vto-quote-card__sub { margin: 0 0 20px; font-size: 16px; line-height: 1.5; color: #3a3d46; }
.vto-quote-card__form { min-width: 0; }

/* Review column */
.vto-quote-card__review {
  align-self: start;
  padding: 24px;
  background: #fff;
  border: 1px solid #dcdde1;
  border-radius: 12px;
}
.vto-quote-card__review-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #5b5e68; }
.vto-quote-card__stars { display: block; margin-bottom: 10px; color: #c91f68; font-size: 18px; letter-spacing: 2px; }
.vto-quote-card__quote { margin: 0 0 12px; padding: 0; border: 0; font-size: 16px; line-height: 1.6; font-style: normal; color: #191d27; }
.vto-quote-card__quote p { margin: 0; }
.vto-quote-card__author { margin: 0; font-size: 14px; color: #3a3d46; }

/* Chips */
.vto-quote-chips { margin: 0 0 20px; }
.vto-quote-chips__label { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.vto-quote-chips__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vto-quote-chip {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 36px; padding: 4px 4px 4px 14px;
  background: #fff0f6; color: #8a1546;
  border: 1px solid #f5b3cf; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.3;
  max-width: 100%;
}
.vto-quote-chip__name { overflow-wrap: anywhere; }
.vto-quote-chip__remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; min-width: 32px;       /* 44px hit area via the pseudo-element below */
  position: relative; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #8a1546; font-size: 20px; line-height: 1; cursor: pointer;
}
.vto-quote-chip__remove::after { content: ""; position: absolute; inset: -6px; }
.vto-quote-chip__remove:hover { background: #fbd5e5; }
.vto-quote-chip__remove:focus-visible { outline: 3px solid #155bbb; outline-offset: 1px; }
.vto-quote-chip__remove:disabled { opacity: .5; cursor: wait; }

/* Tablet & mobile: stack, review below form */
@media (max-width: 900px) {
  .vto-quote-card { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; }
}
@media (max-width: 480px) {
  .vto-quote-card { margin: 24px -4px; padding: 20px 16px; border-radius: 12px; }
}
@media (forced-colors: active) {
  .vto-quote-card, .vto-quote-card__review, .vto-quote-chip { border: 1px solid CanvasText; }
}

/* No review configured: form uses the full width */
.vto-quote-card.vto-quote-card--no-review { grid-template-columns: minmax(0, 1fr); }
.vto-quote-card [hidden] { display: none !important; }
.vto-quote-card .vto-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.vto-quote-card, .vto-quote-card * { box-sizing: border-box; }
.vto-quote-card { max-width: 100%; overflow-wrap: break-word; }
