:root {
  --quote-bg: #f4f6fb;
  --quote-primary: #1c4a8c;
  --quote-accent: #ffb703;
  --quote-border: #d7deea;
  --quote-error: #c0392b;
  --quote-success: #1f9d60;
}

.quote-page {
  background: #ffffff;
  font-size: 18px;
  line-height: 1.8;
  color: #1c1c1c;
}

.quote-hero {
  background: #ffffff;
  padding-top: 10rem;
}

.quote-hero__kicker {
  font-size: 2.5em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--quote-primary);
}

.quote-hero__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.quote-hero__text {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.quote-hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-left: 1rem;
}

.quote-hero__bullets li {
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--quote-border);
  font-size: 0.95em;
}

.quote-form-section {
  margin: 0 auto;
  padding: 4rem 0 ;
}

.quote-form {
  background: #ffffff;
  padding: 8rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(16, 38, 70, 0.08);
}

.quote-table--customer input,
.quote-table--customer textarea {
  font-size: 2.0rem;
  padding: 1.5rem 1.2rem;
  line-height: 2.5;
}

.quote-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.quote-radio-group--wide .quote-radio,
.quote-radio-group--wrap .quote-radio {
  flex: 1 1 100px;
}

.quote-radio {
  border-radius: 10px;
  padding: 2.0rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  cursor: pointer;

  flex: 1 1 200px;
}

.quote-radio input[type="radio"] {
  transform: scale(1.1);
  margin-bottom: 0.1rem;
}

.quote-radio__label {
  font-weight: 600;
  display: block;
  color: #18253d;
}

.quote-radio__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  border-radius: 12px;
}

.quote-radio__description {
  font-size: 0.9em;
  color: #6d778b;
}

.quote-shape-group img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.quote-radio.quote-shape-card {
  min-width: 140px;
}

.quote-shape__image {
  display: flex;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.quote-section + .quote-section {
  margin-top: 3.5rem;
}

.quote-section__title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--quote-primary);
}

.quote-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.quote-info-trigger {
  border: none;
  background: none;
  color: var(--quote-primary);
  font-size: 1.2rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.quote-info-trigger:focus-visible {
  outline: 2px solid var(--quote-primary);
  outline-offset: 2px;
}

.quote-size-mode {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.quote-size-mode__option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.5rem;
}

.quote-size-fields {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.quote-size-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.quote-size-input__control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-size-input__control input {
  width: 140px;
}

.quote-size-input__unit {
  font-weight: 600;
  color: #4a5568;
}

.quote-file-input {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border: 1px dashed var(--quote-border);
  border-radius: 12px;
  background: #f9fbff;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#design_files {
  display: block;
  margin-bottom: 0.35rem;
}

.quote-recaptcha {
  margin-bottom: 1.5rem;
}

.quote-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d9dde8;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.quote-table th,
.quote-table td {
  padding: 1.6rem 1.5rem;
  border-bottom: 1px solid #e6e8f1;
  vertical-align: top;
  background: #ffffff;
}

.quote-table th {
  width: 28%;
  font-weight: 600;
}

.quote-table tr:last-child th,
.quote-table tr:last-child td {
  border-bottom: none;
}

.quote-table input,
.quote-table select,
.quote-table textarea {
  width: 100%;
  border: 1px solid var(--quote-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 1.8rem;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-table select {
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg width="14" height="9" viewBox="0 0 14 9" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1.5L7 7.5L13 1.5" stroke="%231c4a8c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 1.3rem center;
  background-size: 14px 9px;
}

.quote-table textarea {
  min-height: 150px;
}

.quote-table input:focus,
.quote-table select:focus,
.quote-table textarea:focus {
  outline: none;
  border-color: var(--quote-primary);
  box-shadow: 0 0 0 3px rgba(28, 74, 140, 0.12);
}

.required-badge,
.optional-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6em;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  margin-left: 0.5rem;
}

.required-badge {
  color:red;
}

.optional-badge {
  border: 1px solid var(--quote-border);
  color: #8391a7;
}

.field-note {
  font-size: 0.9em;
  color: #6d778b;
  margin-top: 0.4rem;
}

.field-error {
  color: var(--quote-error);
  font-size: 0.9em;
  margin-top: 0.5rem;
}

.quote-alert {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.quote-alert--success {
  background: rgba(31, 157, 96, 0.12);
  color: var(--quote-success);
  border: 1px solid rgba(31, 157, 96, 0.4);
}

.quote-alert--error {
  background: rgba(192, 57, 43, 0.12);
  color: var(--quote-error);
  border: 1px solid rgba(192, 57, 43, 0.4);
}

.quote-submit {
  margin-top: 3rem;
  text-align: center;
}

.quote-submit__button {
  border: none;
  border-radius: 999px;
  padding: 1.8rem 3rem;
  background: var(--quote-primary);
  color: #fff;
  font-size: 2.0rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.quote-submit__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(28, 74, 140, 0.2);
  background: #163768;
}

.quote-submit__button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(28, 74, 140, 0.25);
}

.quote-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 18, 33, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.quote-info-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.quote-info-popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 60;
}

.quote-info-popup.is-active {
  opacity: 1;
  pointer-events: auto;
}

.quote-info-popup__body {
  background: #fff;
  border-radius: 18px;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.quote-info-popup__body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.quote-info-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  border: none;
  background: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #778498;
}

.quote-info-close:focus-visible {
  outline: 2px solid var(--quote-primary);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .quote-form {
    padding: 1.8rem;
  }

  .quote-table th,
  .quote-table td {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .quote-hero__bullets {
    flex-direction: column;
  }

  .quote-table,
  .quote-table tbody,
  .quote-table tr,
  .quote-table th,
  .quote-table td {
    display: block;
    width: 100%;
  }

  .quote-table th {
    border-bottom: none;
    border-right: none;
    border-left: none;
    border-top: 1px solid var(--quote-border);
  }

  .quote-table tr:first-child th {
    border-top: none;
  }

  .quote-table td {
    border-bottom: none;
    padding-top: 0.5rem;
  }

  .quote-section__title {
    font-size: 1.15rem;
  }

  .quote-submit__button {
    width: 100%;
    justify-content: center;
  }

  .quote-radio {
    flex: 1 1 100%;
  }

  .quote-size-input__control input {
    width: 100%;
  }
}
