.how-quote-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  align-items: start;
}

.quote-card {
  padding: 28px 26px 24px;
  scroll-margin-top: 88px;
}

.quote-free {
  color: var(--heading);
}

.quote-sub {
  color: #ffffff;
  line-height: 1.4;
  text-wrap: balance;
  max-width: 24em;
  margin-left: auto;
  margin-right: auto;
}

.quote-form[data-quote-wizard] {
  gap: 16px;
}

.quote-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  color: var(--brown);
  border-radius: 14px;
  padding: 14px 14px 28px;
}

.qp-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
}

.qp-track {
  position: relative;
  height: 18px;
}

.qp-line {
  position: absolute;
  left: 7px;
  right: 7px;
  top: 50%;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #ead9c6;
  overflow: hidden;
}

.qp-line i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brown);
  border-radius: inherit;
  transition: width 0.28s ease;
}

.qp-nodes {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qp-node {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ead9c6;
  border: 0;
  padding: 0;
  flex-shrink: 0;
  z-index: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.qp-node::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.qp-node.is-done,
.qp-node.is-current {
  background: var(--brown);
}

.qp-node.is-current {
  transform: scale(1.18);
}

.qp-node:hover {
  transform: scale(1.18);
}

.qp-node:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.qp-caption {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  font-size: 12px;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.quote-panel {
  background: var(--cream);
  color: var(--text);
  border-radius: 14px;
  padding: 16px 14px 14px;
  min-height: 228px;
}

.quote-step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-display);
  font-synthesis: none;
  text-align: center;
  margin-bottom: 14px;
  background-image: var(--heading-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.quote-step-copy {
  text-align: center;
  color: #6b6b6b;
  font-size: 13px;
  margin: -6px 0 16px;
}

.quote-options {
  display: grid;
  gap: 10px;
}

.quote-options-types {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-options-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-options-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-option,
.quote-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.quote-option input,
.quote-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
}

.quote-option-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f3eee8;
  isolation: isolate;
  align-self: stretch;
}

.quote-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.quote-option-dark .quote-option-media {
  background: #111;
}

.quote-zoom {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #3a2c22;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: zoom-in;
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quote-zoom svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.quote-zoom:hover,
.quote-zoom:focus-visible {
  background: #2a1f18;
  transform: translateY(-1px);
}

.quote-zoombox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(7, 30, 54, 0.88);
  display: grid;
  place-items: center;
  padding: 56px 24px 72px;
}

.quote-zoombox[hidden] {
  display: none;
}

.quote-zoombox img {
  max-width: min(720px, 100%);
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.quote-zoombox p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.quote-zoombox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.quote-zoombox-close:hover,
.quote-zoombox-close:focus-visible {
  background: #3a2c22;
}

.quote-option > span:last-child {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--navy);
}

.quote-option:hover {
  border-color: var(--tan);
}

.quote-option:has(input:checked) {
  border-color: var(--brown);
  background: var(--peach);
  transform: translateY(-1px);
}

.quote-yesno {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 360px;
  margin: 28px auto 8px;
}

.quote-choice {
  display: block;
  position: relative;
  padding: 0;
  border: 0;
  background: none;
}

.quote-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-choice span {
  display: grid;
  place-items: center;
  min-height: 56px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  font-weight: 700;
  color: var(--brown);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.quote-choice:hover span,
.quote-choice:has(input:checked) span {
  border-color: var(--brown);
  background: var(--peach);
}

.quote-slider {
  padding: 12px 8px 4px;
}

.quote-slider-value {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.quote-panel .quote-range {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  padding: 0;
  margin: 8px 0 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brown) 0%, #ead9c6 0%);
  outline: none;
}

.quote-panel .quote-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
}

.quote-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--brown);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(154, 107, 69, 0.35);
  cursor: pointer;
}

.quote-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brown);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(154, 107, 69, 0.35);
  cursor: pointer;
}

.quote-slider-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.quote-qty-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.quote-qty .quote-slider-value {
  margin: 0;
  line-height: 1;
}

.quote-qty-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(7, 30, 54, 0.22);
  transform: rotate(-4deg);
}

.quote-qty-tiers {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 14px;
}

.quote-qty-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 7px 2px 6px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ead9c6;
  color: var(--brown);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.quote-qty-tier strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.quote-qty-tier em {
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #b08968;
}

.quote-qty-tier.is-done {
  background: #f4e7d7;
  box-shadow: inset 0 0 0 1px #e2c9ad;
}

.quote-qty-tier.is-current {
  background: var(--brown);
  color: #fff;
  box-shadow: 0 10px 20px rgba(154, 107, 69, 0.28);
  transform: translateY(-4px);
}

.quote-qty-tier.is-current em {
  color: #f3d7b8;
}

.quote-qty .quote-range {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .quote-qty-badge,
  .quote-qty-tier.is-current {
    transform: none;
  }
}

.quote-panel .form-row,
.quote-panel textarea,
.quote-panel .quote-uploader {
  margin-top: 0;
}

.quote-panel .form-row + .form-row,
.quote-panel .form-row + input,
.quote-panel input + .form-row,
.quote-panel input + .quote-size,
.quote-panel .quote-size,
.quote-panel .quote-reach,
.quote-panel textarea,
.quote-panel .quote-uploader {
  margin-top: 10px;
}

.quote-panel input,
.quote-panel select,
.quote-panel textarea {
  background-color: #fff;
  background-image: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 14px 16px;
}

.quote-panel input::placeholder,
.quote-panel textarea::placeholder {
  color: var(--muted);
}

.quote-panel select {
  color: var(--muted);
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath stroke='%239a6b45' stroke-width='1.5' fill='none' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.quote-panel select:valid {
  color: var(--text);
}

.quote-panel[data-step="contact"] {
  min-height: 0;
}

.quote-panel[data-step="contact"] input:not([type="radio"]):not([type="file"]),
.quote-panel[data-step="contact"] textarea {
  padding: 11px 14px;
}

.quote-panel[data-step="contact"] textarea {
  min-height: 64px;
  resize: vertical;
}

.quote-size,
.quote-reach {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.quote-size-reach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.quote-size-reach .quote-size,
.quote-size-reach .quote-reach {
  min-width: 0;
  height: 100%;
  margin-top: 0 !important; /* prevent inherited spacing when nested */
}

.quote-size-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.quote-size-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brown);
}

.quote-unit {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #f7f1ea;
}

.quote-unit-opt {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.quote-unit-opt input,
.quote-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: 0;
  border: 0;
}

.quote-unit-opt span {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.quote-unit-opt:hover span,
.quote-unit-opt:has(input:checked) span {
  background: var(--brown);
  color: #fff;
}

.quote-size-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
}

.quote-size-fields input {
  margin: 0;
  text-align: center;
  min-height: 50px;
  height: 50px;
  max-height: 50px;
  box-sizing: border-box;
}

.quote-size-fields input::-webkit-outer-spin-button,
.quote-size-fields input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quote-size-fields input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.quote-size-x {
  align-self: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.quote-reach-label {
  display: flex;
  align-items: center;
  min-height: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brown);
  margin: 0 0 8px;
  flex-shrink: 0;
}

.quote-reach .quote-pills + .quote-reach-label {
  margin-top: 8px;
}

.quote-reach .quote-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
}

.quote-reach .quote-pills .quote-pill:first-child {
  grid-column: 1 / -1;
}

.quote-reach .quote-pills .quote-pill {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.quote-reach .quote-pills .quote-pill span {
  display: flex;
  flex: 1;
  height: 100%;
}

.quote-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.quote-pill {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  min-width: 0;
}

.quote-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f7f1ea;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  white-space: nowrap;
}

.quote-pill span svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.quote-pill .pill-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-pill .pill-icon-fill {
  fill: currentColor;
  stroke: none;
}

.quote-pill:hover span,
.quote-pill:has(input:checked) span {
  border-color: var(--brown);
  background: var(--peach);
}

.quote-panel[data-step="contact"] .quote-dropzone {
  min-height: 76px;
  padding: 12px 14px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}

.quote-panel[data-step="contact"] .quote-dropzone-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.quote-panel[data-step="contact"] .quote-dropzone-copy {
  align-items: flex-start;
}

.quote-panel[data-step="contact"] .quote-dropzone-title {
  font-size: 13px;
}

.quote-uploader {
  position: relative;
}

.quote-form .quote-uploader-input,
.quote-panel .quote-uploader-input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0 !important;
  background: transparent !important;
}

.quote-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 136px;
  padding: 22px 18px;
  border: 1.5px dashed #d4b496;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.quote-dropzone[hidden] {
  display: none;
}

.quote-dropzone:hover,
.quote-uploader:not(.is-filled):focus-within .quote-dropzone,
.quote-uploader.is-dragover .quote-dropzone {
  border-color: var(--brown);
  border-style: solid;
  background: #fff7ef;
  box-shadow: 0 0 0 3px rgba(154, 107, 69, 0.12);
}

.quote-dropzone-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--brown);
}

.quote-dropzone-icon svg {
  width: 22px;
  height: 22px;
}

.quote-dropzone-copy {
  display: grid;
  gap: 4px;
}

.quote-dropzone-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.quote-dropzone-hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

.quote-art-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ead9c6;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(92, 58, 31, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.quote-art-card[hidden] {
  display: none;
}

.quote-uploader.is-dragover .quote-art-card {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(154, 107, 69, 0.12);
}

.quote-art-frame {
  position: relative;
  flex: 0 0 108px;
  width: 108px;
  height: 108px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid #ead9c6;
}

.quote-art-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.quote-art-frame img[hidden] {
  display: none;
}

.quote-art-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.quote-art-placeholder[hidden] {
  display: none;
}

.quote-art-badge {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--btn-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.quote-art-meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.quote-art-filename {
  max-width: 100%;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-art-size {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

.quote-art-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.quote-art-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #ead9c6;
  border-radius: 8px;
  background: var(--cream);
  color: var(--navy);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.quote-art-action svg {
  width: 13px;
  height: 13px;
}

.quote-art-action:hover {
  border-color: var(--brown);
  color: var(--brown);
  background: #fff7ef;
}

.quote-art-action.is-remove:hover {
  border-color: var(--brown);
  color: var(--brown-dark);
}

.quote-art-action:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

.quote-uploader-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.quote-error {
  margin: 0;
  font-size: 12.5px;
  color: #ffd6d6;
  text-align: center;
}

.quote-success {
  margin: 0;
  font-size: 12.5px;
  color: #d8f5d8;
  text-align: center;
}

.quote-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quote-nav[hidden] {
  display: none;
}

.quote-nav .btn[hidden] {
  display: none !important;
}

.quote-nav:has(.quote-next.is-on:not(.quote-continue)) {
  justify-content: space-between;
}

.quote-back,
.quote-next {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 50%;
}

.quote-next {
  display: none !important;
}

.quote-next.is-on {
  display: grid !important;
  place-items: center;
}

.quote-next svg,
.quote-back svg {
  width: 22px;
  height: 22px;
  display: block;
}

.quote-next [data-quote-next-label] {
  display: none;
}

.quote-next.quote-continue {
  flex: 1;
  width: auto;
  max-width: none;
  height: auto;
  min-height: 46px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
}

.quote-next.quote-continue.is-on {
  display: inline-flex !important;
}

.quote-next.quote-continue svg {
  display: none;
}

.quote-next.quote-continue [data-quote-next-label] {
  display: inline;
}

.quote-submit {
  display: none !important;
  flex: 1;
  min-height: 46px;
}

.quote-submit.is-on {
  display: inline-flex !important;
}

.quote-back {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.quote-back:hover {
  background: rgba(255, 255, 255, 0.08);
}

.quote-form .quote-next,
.quote-form .quote-submit {
  margin-top: 0;
  color: #fff;
}

.quote-form .quote-next {
  width: 46px;
  max-width: 46px;
}

.quote-form .quote-next.quote-continue {
  width: 100%;
  max-width: none;
}

.quote-form .quote-submit {
  width: 100%;
  max-width: none;
}

@media (max-width: 980px) {
  .how-quote-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

@media (max-width: 720px) {
  .quote-options-types,
  .quote-options-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-options-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-option-media {
    min-height: 0;
  }

  .quote-panel {
    min-height: 0;
  }

  .quote-art-frame {
    flex-basis: 88px;
    width: 88px;
    height: 88px;
  }

  .quote-size-reach {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px 12px;
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 30, 54, 0.58);
}

.quote-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  max-height: min(94vh, 980px);
  overflow: auto;
  border-radius: 28px;
  outline: none;
}

.quote-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.quote-modal-close:hover,
.quote-modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.quote-modal .quote-card {
  box-shadow: 0 22px 50px rgba(7, 30, 54, 0.28);
  padding-top: 44px;
}

body.quote-modal-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .quote-modal {
    padding: 8px;
    place-items: end center;
  }

  .quote-modal-dialog {
    width: 100%;
    max-height: min(96vh, 980px);
    border-radius: 22px 22px 0 0;
  }

  .quote-modal .quote-card {
    border-radius: 22px 22px 0 0;
  }
}
