:root {
  --black: #151515;
  --black-2: #1e1e1e;
  --border: #2a2a2a;
  --red: #ff161f;
  --red-hover: #e70009;
  --white: #ffffff;
  --muted: #cfcfcf;
  --error: #ff7a80;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #0d0d0d;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  width: min(100% - 32px, 960px);
  margin: 0 auto;
  padding: 16px 0 48px;
}


.wizard-card {
  margin-top: 0px;
  padding: clamp(20px, 2.5vw, 32px);
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}

.progress-wrap {
  margin-bottom: 36px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  background: #303030;
  border-radius: 999px;
}

.progress-bar {
  width: 25%;
  height: 100%;
  background: var(--red);
  border-radius: inherit;
  transition: width .25s ease;
}

.wizard-step {
  animation: stepIn .18s ease;
}

.wizard-step[hidden] {
  display: none !important;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow,
.step-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 760px;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(30px, 3vw, 34px);
  font-weight: 700;
}

h2 {
  font-size: clamp(26px, 2.6vw, 30px);
  font-weight: 700;
}

.step-description {
  max-width: 680px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 52px 24px 24px;
  background: var(--black-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease;
}

.choice-card:hover {
  transform: translateY(-2px);
}

.choice-card:has(input:checked) {
  background: #242020;
  border-color: var(--red);
  box-shadow:
    0 0 0 1px var(--red) inset,
    0 10px 24px rgba(0, 0, 0, .18);
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.choice-badge-neutral {
  color: var(--muted);
  background: #303030;
  border: 1px solid #444444;
}

.choice-badge-primary {
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
}

.choice-title {
  font-size: 22px;
  font-weight: 700;
}
.choice-text {
  color: var(--muted);
  line-height: 1.5;
}

.product-groups {
  display: grid;
  gap: 32px;
}

.product-group {
  display: grid;
  gap: 14px;
}

.product-group-title {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 235px;
  padding: 0;
  overflow: hidden;
  background: var(--black-2);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.product-card:hover {
  border-color: #4a4a4a;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
  transform: translateY(-3px);
}

.product-card:focus-within {
  outline: 3px solid rgba(255, 22, 31, .24);
  outline-offset: 3px;
}

.product-card:has(input:checked) {
  background: #242020;
  border-color: var(--red);
  box-shadow:
    0 0 0 1px var(--red) inset,
    0 14px 30px rgba(0, 0, 0, .26);
}

.product-card:has(input:checked)::after {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  content: "✓";
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.product-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-card-media {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 165px;
  padding: 14px;
  overflow: hidden;
}

.product-card-image {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .25s ease;
}

.product-card:hover .product-card-image {
  transform: scale(1.035);
}

.product-card-content {
  display: flex;
  flex: 0 0 68px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.product-card:not(:has(.product-card-media)) .product-card-content {
  flex: 1 1 auto;
  border-top: 0;
}

.product-card-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  font-weight: 700;
}

.field-control {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--white);
  background: var(--black-2);
  border: 1px solid #444;
  border-radius: 8px;
  outline: none;
}

.field-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,22,31,.16);
}

.quantity-control {
  max-width: 260px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.field-error {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--error);
  font-size: 14px;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  scroll-margin-block: 24px;
}

.btn {
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-1px);
}

.btn-large {
  min-width: 280px;
}

.sprint-success {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 18px;
  background: #1b241d;
  border: 1px solid #35563c;
  border-radius: 10px;
  color: #dff7e4;
}

@media (max-width: 700px) {
  .app-shell {
    width: min(100% - 20px, 960px);
    padding: 10px 0 32px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  h2 {
    font-size: 28px;
    line-height: 1.1;
  }

  .wizard-card {
    margin-top: 0;
    padding: 24px 18px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 128px;
    padding: 50px 20px 22px;
  }

  .choice-badge {
    top: 14px;
    right: 14px;
    font-size: 9px;
  }

  .product-groups {
    gap: 24px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    min-height: 225px;
  }

  .product-card-media {
    min-height: 155px;
    padding: 12px;
  }

  .product-card-image {
    width: 180px;
  }

  .product-card-content {
    flex-basis: 66px;
    min-height: 66px;
  }

  .product-card-title {
    font-size: 15px;
  }

  .wizard-actions {
    flex-direction: column-reverse;
  }

  .btn,
  .btn-large {
    width: 100%;
  }

  .quantity-control {
    max-width: none;
  }
}

/* =========================================================
   VCSTILO — ETAPA 5 / PERSONALIZAÇÕES — CSS 2.1
   ========================================================= */

.print-location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.print-location-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 310px;
  padding: 18px;
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.print-location-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 14px;
  align-items: center;
}

.print-location-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.print-location-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1.2;
}

.print-location-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.shirt-wireframe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  color: var(--white);
  background: #121212;
  border: 1px solid #303030;
  border-radius: 12px;
}

.shirt-wireframe svg {
  display: block;
  width: 92px;
  height: 92px;
  max-width: 100%;
  max-height: 100%;
}

.wireframe-highlight {
  fill: rgba(255, 22, 31, .18);
  stroke: var(--red);
  stroke-width: 2;
}

.print-add-button {
  width: 100%;
  margin-top: auto;
  padding-inline: 14px;
  white-space: normal;
}

.print-editor {
  margin-top: 24px;
  padding: 20px;
  background: #181818;
  border: 1px solid #3a3a3a;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.print-editor[hidden] {
  display: none !important;
}

.print-editor-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.print-editor-header h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.print-editor-close {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: #252525;
  border: 1px solid #444;
  border-radius: 8px;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.print-editor-close:hover,
.print-editor-close:focus-visible {
  border-color: var(--red);
  outline: none;
}

.print-size-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.print-size-option {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 16px;
  background: var(--black-2);
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color .18s ease,
    transform .18s ease,
    background-color .18s ease;
}

.print-size-option:hover {
  border-color: #4a4a4a;
  transform: translateY(-2px);
}

.print-size-option:has(input:checked) {
  background: #242020;
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red) inset;
}

.print-size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.print-size-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.print-size-measurement {
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}

.print-size-application {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.print-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.print-success-message {
  margin-top: 16px;
  padding: 13px 15px;
  color: #dff7e4;
  background: #1b241d;
  border: 1px solid #35563c;
  border-radius: 9px;
  font-size: 14px;
}

.print-success-message[hidden] {
  display: none !important;
}

.prints-summary {
  margin-top: 24px;
  padding: 18px;
  background: #181818;
  border: 1px solid #333;
  border-radius: var(--radius);
}

.prints-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.prints-summary-header h3 {
  margin: 0;
  font-size: 22px;
}

.prints-summary-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--white);
  background: #2a2a2a;
  border: 1px solid #3c3c3c;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.prints-summary-empty {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.prints-summary-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.print-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--black-2);
  border: 1px solid #343434;
  border-radius: 10px;
}

.print-summary-content {
  min-width: 0;
}

.print-summary-title {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.print-summary-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.print-summary-remove {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid #4a4a4a;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.print-summary-remove:hover,
.print-summary-remove:focus-visible {
  color: var(--white);
  background: #34181a;
  border-color: var(--red);
  outline: none;
}

.measurement-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.measurement-field {
  min-width: 0;
}

.measurement-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background: var(--black-2);
  border: 1px solid #444;
  border-radius: 8px;
}

.measurement-control:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 22, 31, .16);
}

.measurement-control .field-control {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.measurement-control span {
  padding: 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .print-location-grid {
    grid-template-columns: 1fr;
  }

  .print-location-card {
    min-height: 0;
  }

  .print-location-header {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .shirt-wireframe {
    width: 104px;
    height: 104px;
  }

  .shirt-wireframe svg {
    width: 84px;
    height: 84px;
  }

  .print-add-button {
    margin-top: 18px;
  }

  .print-size-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .print-location-card {
    padding: 16px;
  }

  .print-location-header {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
  }

  .shirt-wireframe {
    width: 88px;
    height: 88px;
  }

  .shirt-wireframe svg {
    width: 72px;
    height: 72px;
  }

  .print-location-card h3 {
    font-size: 18px;
  }

  .print-size-grid,
  .measurement-fields {
    grid-template-columns: 1fr;
  }

  .print-editor {
    padding: 16px;
  }

  .print-editor-header h3 {
    font-size: 20px;
  }

  .print-editor-actions {
    flex-direction: column-reverse;
  }

  .print-editor-actions .btn {
    width: 100%;
  }

  .prints-summary-header {
    align-items: flex-start;
  }

  .print-summary-item {
    grid-template-columns: 1fr;
  }

  .print-summary-remove {
    width: 100%;
  }
}

/* =========================================================
   VCSTILO — CORREÇÃO DOS CARDS DE TAMANHO SUGERIDO — v2.2
   ========================================================= */

.print-size-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.print-size-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.print-size-card-content {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 30px;
  gap: 16px;
  align-items: center;
  min-height: 142px;
  padding: 14px;
  background: var(--black-2);
  border: 2px solid var(--border);
  border-radius: 10px;
  transition:
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.print-size-card:hover .print-size-card-content {
  border-color: #4a4a4a;
  transform: translateY(-2px);
}

.print-size-card:focus-within .print-size-card-content {
  outline: 3px solid rgba(255, 22, 31, .22);
  outline-offset: 2px;
}

.print-size-input:checked + .print-size-card-content {
  background: #242020;
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red) inset;
}

.print-size-wireframe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  color: var(--white);
  background: #121212;
  border: 1px solid #303030;
  border-radius: 10px;
}

.print-size-wireframe svg {
  display: block;
  width: 92px;
  height: 92px;
  max-width: 92px;
  max-height: 92px;
}

.print-size-information {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
}

.print-size-name {
  color: var(--white);
  font-size: 17px;
  line-height: 1.2;
}

.print-size-dimensions {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.2;
}

.print-size-ideal {
  flex-basis: 100%;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.print-size-applications {
  flex-basis: 100%;
  margin: 2px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.print-size-applications li + li {
  margin-top: 2px;
}

.print-size-check {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: transparent;
  background: transparent;
  border: 2px solid #666;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.print-size-input:checked +
.print-size-card-content
.print-size-check {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

/* O grid das opções deve usar os cards reais gerados pelo wizard.js */
.print-size-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Remove estilos residuais de uma estrutura antiga que não é mais usada */
.print-size-option {
  min-height: 0;
}

@media (max-width: 700px) {
  .print-size-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .print-size-card-content {
    grid-template-columns: 76px minmax(0, 1fr) 24px;
    gap: 11px;
    min-height: 100px;
    padding: 10px;
    border-radius: 9px;
  }

  .print-size-wireframe {
    width: 76px;
    height: 76px;
    border-radius: 8px;
  }

  .print-size-wireframe svg {
    width: 62px;
    height: 62px;
    max-width: 62px;
    max-height: 62px;
  }

  .print-size-name {
    font-size: 15px;
  }

  .print-size-dimensions {
    font-size: 13px;
  }

  .print-size-ideal {
    margin-top: 2px;
    font-size: 11px;
  }

  .print-size-applications {
    margin-top: 0;
    padding-left: 15px;
    font-size: 11px;
    line-height: 1.25;
  }

  .print-size-check {
    width: 22px;
    height: 22px;
    border-width: 2px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .print-size-card-content {
    grid-template-columns: 68px minmax(0, 1fr) 22px;
    gap: 9px;
    padding: 9px;
  }

  .print-size-wireframe {
    width: 68px;
    height: 68px;
  }

  .print-size-wireframe svg {
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
  }

  .print-size-name {
    font-size: 14px;
  }

  .print-size-dimensions,
  .print-size-applications {
    font-size: 10.5px;
  }
}



/* =========================================================
   VCSTILO — ETAPA FINAL / RESUMO E IDENTIFICAÇÃO — v2.3
   ========================================================= */
.final-summary,
.customer-card,
.quote-result {
  margin-top: 22px;
  padding: 20px;
  background: #181818;
  border: 1px solid #363636;
  border-radius: var(--radius);
}
.final-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.final-summary-header h3,
.customer-card h3 { margin: 0; font-size: 22px; }
.btn-small { min-height: 38px; padding: 8px 13px; }
.final-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.final-summary-item {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: var(--black-2);
  border: 1px solid #333;
  border-radius: 9px;
}
.final-summary-label,
.optional-label { color: var(--muted); font-size: 12px; }
.optional-label { margin-left: 6px; font-weight: 400; }
.final-prints { display: grid; gap: 10px; margin-top: 14px; }
.final-print-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  background: var(--black-2);
  border: 1px solid #333;
  border-radius: 9px;
}
.final-print-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.final-print-item div { display: flex; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.final-print-item strong { color: var(--white); }
.final-print-item span { color: var(--muted); }
.final-print-item small { flex-basis: 100%; color: var(--muted); }
.customer-helper { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.customer-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.customer-field-full { grid-column: 1 / -1; }
.final-calculate-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.final-calculate-actions .btn { min-width: 240px; }
.quote-result:empty { display: none; }
.quote-result { overflow-x: auto; }
.quote-result table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.quote-result th,
.quote-result td { padding: 10px; text-align: left; border-bottom: 1px solid #333; white-space: nowrap; }
.quote-result th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.quote-result .totals { margin-top: 12px; font-size: 17px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
@media (max-width: 700px) {
  .final-summary,
  .customer-card,
  .quote-result { padding: 16px; }
  .final-summary-grid,
  .customer-fields { grid-template-columns: 1fr; }
  .customer-field-full { grid-column: auto; }
  .final-summary-header { align-items: center; }
  .final-calculate-actions .btn,
  .result-actions .btn { width: 100%; min-width: 0; }
  .quote-result { margin-left: -4px; margin-right: -4px; padding: 12px; }
}


/* =========================================================
   V2.4 — PREÇOS PROMOCIONAIS E BONÉ
   ========================================================= */
.promotion-notice {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(18, 122, 69, 0.25);
  border-radius: 12px;
  background: rgba(18, 122, 69, 0.08);
  line-height: 1.5;
}

.final-print-item.is-included {
  border-color: rgba(18, 122, 69, 0.35);
  background: rgba(18, 122, 69, 0.05);
}

.included-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.4rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 122, 69, 0.12);
  color: #0f6b3c;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}


/* =========================================================
   VERSÃO 3.0 — ORÇAMENTO IMEDIATO E WHATSAPP
   ========================================================= */

.instant-quote-notice {
  display: grid;
  gap: 5px;
  margin: 20px 0 14px;
  padding: 16px 18px;
  background: #202020;
  border: 1px solid #3b3b3b;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}

.instant-quote-notice strong {
  color: var(--white);
  font-size: 16px;
}

.instant-quote-notice span {
  color: var(--muted);
  line-height: 1.5;
}

.btn-whatsapp {
  min-width: min(100%, 380px);
}

.quote-result:empty {
  display: none;
}

.quote-result:not(:empty) {
  margin-top: 24px;
}

@media (max-width: 640px) {
  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-whatsapp {
    width: 100%;
    min-width: 0;
  }
}

.dtf-notice{background:#1b1b1b;border-left:4px solid #c00;padding:14px 16px;margin:18px 0;border-radius:6px;color:#fff;line-height:1.5}
.dtf-notice a{color:#fff;text-decoration:underline;font-weight:600}


/* AJUDA CONTEXTUAL — VERSÃO 3.5 */
.dtf-note{color:var(--white);font-weight:700}.intro-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}.btn-consultor{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 20px;color:var(--white);background:transparent;border:1px solid #4a4a4a;border-radius:var(--radius);font-weight:700;line-height:1.2;text-align:center;text-decoration:none;transition:border-color .18s ease,background-color .18s ease,color .18s ease}.btn-consultor:hover,.btn-consultor:focus-visible{color:var(--white);background:#202020;border-color:var(--red)}.context-help{display:flex;justify-content:flex-end;margin:-4px 0 18px}.context-help-link{display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;color:var(--muted);border:1px solid #393939;border-radius:999px;font-size:13px;font-weight:700;line-height:1.25;text-align:center;text-decoration:none;transition:color .18s ease,border-color .18s ease,background-color .18s ease}.context-help-link:hover,.context-help-link:focus-visible{color:var(--white);background:#202020;border-color:var(--red)}@media (max-width:640px){.intro-actions{display:grid;grid-template-columns:1fr}.intro-actions .btn{width:100%}.context-help{justify-content:flex-start;margin-bottom:16px}.context-help-link{width:100%;justify-content:center}}

/* =========================================================
   VCSTILO — NAVEGAÇÃO PADRONIZADA — v3.5.4
   Voltar à esquerda; ação principal à direita.
   ========================================================= */
.wizard-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.wizard-actions .btn {
  width: auto;
  min-width: 110px;
}

.wizard-actions #nextButton {
  margin-left: auto;
}

.wizard-actions #backButton {
  margin-right: auto;
}

.final-calculate-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .wizard-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .wizard-actions .btn {
    width: auto;
    min-width: 104px;
  }
}


/* VCSTILO — ETAPA FINAL — v3.5.5 */
.wizard-actions #calculateQuoteButton {
  margin-left: auto;
}

@media (max-width: 700px) {
  .wizard-actions #calculateQuoteButton {
    width: auto;
    min-width: 180px;
  }
}


/* VCSTILO — CABEÇALHO DISCRETO DA APLICAÇÃO — v3.5.7 */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 58px;
  background: #111111;
  border-bottom: 1px solid #262626;
}

.app-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: min(100% - 32px, 960px);
  min-height: 58px;
  margin: 0 auto;
}

.app-header-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d6d6d6;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.app-header-home:hover,
.app-header-home:focus-visible {
  color: #ffffff;
}

.app-header-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.app-header-brand img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .app-header,
  .app-header-inner {
    min-height: 54px;
  }

  .app-header-inner {
    width: calc(100% - 24px);
  }

  .app-header-home {
    font-size: 0.78rem;
  }

  .app-header-home span:last-child {
    display: inline;
  }

  .app-header-home span:first-child {
    font-size: 1.3rem;
  }

  .app-header-brand img {
    max-width: 145px;
    max-height: 36px;
  }
}
