/* Instant Quote calculator (.qc) — on /pricing and, inlined by the build between the
   QUOTE-CSS markers, in the homepage modal. Self-contained: sets its own fonts. */
/* A two-column grid: price and the type picker span the width, the option fields sit
   two to a row (auto-placed, so rows hidden for a task type just close up). */
.qc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 14px; font-family: 'DM Sans', system-ui, sans-serif; color: #1a2332; }
.qc [hidden] { display: none !important; }
.qc-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qc-f > span { font-size: 14px; font-weight: 600; color: #1a2332; }
.qc select, .qc input[type="number"] { width: 100%; font-family: inherit; font-size: 15px; color: #1a2332; border: 1px solid rgba(0,0,0,0.14); border-radius: 9px; padding: 9px 10px; background: #faf9f7; outline: none; }
.qc select { cursor: pointer; text-overflow: ellipsis; }
.qc select:focus-visible, .qc input:focus-visible { border-color: #b7791f; box-shadow: 0 0 0 3px rgba(183,121,31,0.18); }
.qc-pair { display: contents; }
.qc-out, [data-row="type"], .qc-check, .qc-wa, .qc-mail, .qc-fine { grid-column: 1 / -1; }
.qc[data-type="data"] [data-row="size"], .qc[data-type="tests"] [data-row="size"], .qc[data-type="posts"] [data-row="qty"] { grid-column: 1 / -1; }
.qc-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #1a2332; cursor: pointer; }
.qc-check input { width: 18px; height: 18px; accent-color: #1a2332; }
/* Price box as a wide band: amount on the left, what it covers on the right. */
.qc-out { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: center; background: #1a2332; border-radius: 12px; padding: 16px 20px; margin-bottom: 4px; color: #fff; border-top: 3px solid #b7791f; }
.qc-k { grid-column: 1; grid-row: 1; align-self: end; display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); }
.qc-price { display: block; font-family: 'Source Serif 4', Georgia, serif; font-size: 42px; font-weight: 700; line-height: 1.1; margin: 0; color: #fff; grid-column: 1; grid-row: 2; align-self: start; white-space: nowrap; }
.qc-price.is-text { font-size: 26px; padding-top: 6px; }
.qc-lines { grid-column: 2; grid-row: 1 / 3; border-left: 1px solid rgba(255,255,255,0.16); padding: 2px 0 2px 18px; list-style: none; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.qc-lines li { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,0.78); padding-left: 16px; position: relative; }
.qc-lines li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 1.5px; background: #e3b04b; }
.qc-note { grid-column: 1 / -1; margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: #e3b04b; }
.qc-wa { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #fff; border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 600; text-decoration: none; }
.qc-wa:hover { background: #1ebe5a; }
.qc-wa i { font-size: 19px; }
.qc-mail { display: block; text-align: center; font-size: 14px; font-weight: 600; color: #1a2332; text-decoration: none; overflow-wrap: anywhere; margin-top: -2px; }
.qc-mail:hover { text-decoration: underline; }
.qc-mail i { color: #b7791f; margin-right: 4px; }
.qc-fine { margin: 0; font-size: 13px; line-height: 1.5; color: #5a6170; text-align: center; }
.qc-fine i { color: #b7791f; margin-right: 4px; }
@media (max-width: 420px) {
  .qc { grid-template-columns: minmax(0, 1fr); }
  .qc select, .qc input[type="number"] { font-size: 16px; } /* below 16px iOS zooms on focus */
  .qc-out { grid-template-columns: minmax(0, 1fr); }
  .qc-k, .qc-price, .qc-lines { grid-column: 1; grid-row: auto; }
  .qc-price { font-size: 38px; margin: 2px 0 8px; }
  .qc-lines { border-left: 0; padding: 0; }
}
