/**
 * Warranty Registration Form Styles
 * Designed to integrate with the Santa Fe Products site (TailPress/Tailwind).
 * Fonts (armata, industry, nimbus-sans-condensed) are loaded by the site via Typekit.
 * No Bootstrap dependency — uses scoped flexbox grid.
 */

/* ==========================================================================
   Scoped Flexbox Grid (replaces Bootstrap col-* classes)
   All classes prefixed with .xvwr- to avoid conflicts with site CSS.
   ========================================================================== */

.xvwr-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.xvwr-row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}

.xvwr-col-12 { width: 100%; }
.xvwr-col-6  { width: 50%; }
.xvwr-col-4  { width: 33.333%; }
.xvwr-col-8  { width: 66.667%; }

@media (max-width: 1023px) {
  .xvwr-col-6,
  .xvwr-col-4,
  .xvwr-col-8 {
    width: 100%;
  }
}

/* ==========================================================================
   Section / Container
   ========================================================================== */

.xvwr-section {
  padding: 3rem 0;
}

.xvwr-section.alignfull {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 1023px) {
  .xvwr-section {
    padding: 1.5rem 0;
  }
  .xvwr-section.alignfull {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

.xvwr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ==========================================================================
   Sidebar (info blocks)
   ========================================================================== */

.contact-us__info-block {
  width: 100%;
  max-width: 29.5rem;
  border-radius: 6px;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
  background-color: #fff;
  position: relative;
  margin-top: 3.4rem;
  margin-bottom: 3rem;
}

.contact-us__info-block:hover {
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
}

.contact-us__info-block:hover .contact-us__info-content:before {
  height: 2rem;
}

.contact-us__info-block .contact-us__info-icon {
  width: 8.8rem;
  height: 8.8rem;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3);
  position: absolute;
  top: -59px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: #fff;
  border-radius: 50%;
  padding: 15px;
  text-align: center;
  z-index: 2;
}

.contact-us__info-block .contact-us__info-icon img {
  width: 5.6rem;
  height: 5.6rem;
}

@media screen and (max-width: 1023px) {
  .contact-us__info-block {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 1.5rem;
  }
  .contact-us__info-block .contact-us__info-icon {
    width: 7rem;
    height: 7rem;
    padding: 1.3rem;
    top: -26px;
  }
  .contact-us__info-block .contact-us__info-icon img {
    width: 4.5rem;
    height: 4.5rem;
  }
}

.contact-us__info-block .contact-us__info-content {
  padding: 4rem 1rem 2rem;
  text-align: center;
  position: relative;
}

.contact-us__info-block .contact-us__info-content:before {
  content: "";
  top: 0;
  left: 0;
  right: 0;
  position: absolute;
  width: 100%;
  background-color: #ff4712;
  height: 1rem;
  border-radius: 5px 5px 0 0;
  transition: 0.2s ease-in-out;
}

.contact-us__info-block .contact-us__info-content span {
  font-family: nimbus-sans-condensed, sans-serif;
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  display: block;
  text-align: center;
  color: #313a44;
}

@media screen and (max-width: 768px) {
  .contact-us__info-block .contact-us__info-content {
    padding: 3rem 1rem 2rem;
  }
  .contact-us__info-block .contact-us__info-content span {
    font-size: 20px;
    line-height: 1.7;
  }
}

.contact-us__info-block .contact-us__info-content p {
  font-size: 16px;
  line-height: 1.8rem;
  text-align: center;
  color: #3d3935;
  max-width: 25rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .contact-us__info-block .contact-us__info-content p {
    font-size: 12px;
    line-height: 20px;
    max-width: 33rem;
  }
}

.contact-us__info-block .contact-us__info-bottom .btn-grey {
  display: block;
  width: 100%;
  font-family: armata, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 4rem !important;
  letter-spacing: 0.27px;
  text-align: center;
  color: #ff4712;
  background-color: #f6f6f6;
  border-radius: 0 0 5px 5px;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .contact-us__info-block .contact-us__info-bottom .btn-grey {
    font-size: 12px;
  }
}

.contact-us__info-block .contact-us__info-bottom .btn-grey .arrow-right-solid {
  margin-left: 0.5rem;
}

.arrow-right-solid {
  margin-left: 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M3 1l4 4-4 4' fill='none' stroke='%23ff4712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  padding: 5px;
  background-repeat: no-repeat;
  background-position: 50%;
}

/* ==========================================================================
   Form Wrapper
   ========================================================================== */

.pnlHomeowner,
.pnlProfessionalInstaller {
  width: 100%;
}

.contact-us__form {
  background-color: #fff;
  border-radius: 2.4rem;
  padding: 3.2rem;
}

.warranty-registration .wp-block-heading {
  font-family: nimbus-sans-condensed, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #3d3935;
  margin-bottom: 1rem;
}

.warranty-registration .gform_heading {
  margin-bottom: 0;
  margin-top: 3rem;
}

.warranty-registration .gform_title {
  font-family: nimbus-sans-condensed, sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: #3d3935;
  margin: 0;
}

.warranty-registration .gform_heading + .contact-us__content,
.warranty-registration .gform_heading ~ p {
  font-family: armata, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  color: #3d3935;
  margin-bottom: 1rem;
}

.contact-us__form h1 {
  font-family: nimbus-sans-condensed, sans-serif;
  font-size: 80px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.004em;
  line-height: 0.9;
  color: #3d3935;
  margin-bottom: 1.9rem;
}

@media screen and (max-width: 768px) {
  .contact-us__form {
    padding: 1rem 0;
  }
  .contact-us__form h1 {
    font-size: 42px;
    letter-spacing: -0.004em;
  }
}

/* ==========================================================================
   Description / Content Area
   ========================================================================== */

.contact-us__content {
  margin-bottom: 3rem;
  font-size: 16px;
  line-height: 1.62;
}

.contact-us__content strong {
  font-size: 16px;
  font-family: industry, sans-serif;
  font-weight: 700;
}

.contact-us__content p {
  margin-bottom: 1.7rem;
  font-size: 16px;
  line-height: 1.62;
  color: #3d3935;
  font-family: armata, sans-serif;
}

.contact-us__content a {
  font-family: industry, sans-serif;
  color: #ff4712;
  transition: 0.2s ease-in-out;
}

.contact-us__content a:hover {
  color: #ff4712;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .contact-us__content,
  .contact-us__content li,
  .contact-us__content span,
  .contact-us__content strong {
    font-size: 14px;
  }
  .contact-us__content a,
  .contact-us__content p {
    font-size: 14px;
  }
}

/* ==========================================================================
   Registrar Type Radio Buttons
   ========================================================================== */

.contact-us__form .form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 12px;
  font-family: industry, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.001em;
  color: #ff4712;
  cursor: pointer;
  padding: 16px 24px;
  border: 2px solid #ff4712;
  border-radius: 2px;
  background: 0;
  transition: 0.2s;
  white-space: nowrap;
  position: relative;
}

.contact-us__form .form-check-button {
  position: relative;
}

.contact-us__form .form-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-us__form .form-check-label:hover {
  background: rgba(255, 71, 18, 0.08);
  border: 2px solid #ff4712;
}

.contact-us__form .form-check-input:checked + .form-check-label {
  background: #ff4712;
  color: #fff;
  border: 2px solid #ff4712;
}

.contact-us__form .form-check-input:checked + .form-check-label:hover {
  background: #d93a0e;
  border: 2px solid #d93a0e;
}

@media screen and (max-width: 768px) {
  .contact-us__form .form-check-label {
    font-size: 12px;
    padding: 14px 20px;
  }
}

/* ==========================================================================
   Radio Content / Border
   ========================================================================== */

.radio-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.warranty-registration .radio-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-content .form-check {
  width: auto;
}

.radio-content span {
  font-size: 16px;
  font-family: armata, sans-serif;
  font-weight: 400;
  color: #3d3935;
  line-height: 1.62;
  padding-right: 0.8rem;
}

.border-bottom-grey {
  padding-bottom: 1.6rem;
  margin-bottom: 4.1rem;
  border-bottom: 1px solid #c8c8c8;
  margin-top: 2rem;
  width: 100%;
}

/* Keep "I am a:" on its own line, buttons always together */
.warranty-registration .radio-content {
  flex-wrap: wrap;
}

.warranty-registration .radio-content .radio-buttons-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

@media screen and (max-width: 768px) {
  .radio-content span {
    font-size: 16px;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  .warranty-registration .radio-content .radio-buttons-group {
    flex-wrap: wrap;
    width: 100%;
  }
  .border-bottom-grey {
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 2.8rem;
  }
}

/* ==========================================================================
   Form Groups (inputs, labels, selects)
   Inherits font-family from site (armata via Typekit).
   Matches Santa Fe's input styling patterns.
   ========================================================================== */

.contact-us__form .form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-us__form .form-group.date {
  width: 100%;
}

.contact-us__form .form-group label {
  font-size: 12px;
  font-family: nimbus-sans-condensed, sans-serif;
  font-weight: 700;
  color: #3d3935;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.contact-us__form .form-group label span {
  color: #ff091b;
}

.contact-us__form .form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #a9aaad;
  border-radius: 0;
  font-size: 16px;
  font-family: armata, sans-serif;
  line-height: 1.62;
  background: rgba(255, 255, 255, 0.75);
  box-sizing: border-box;
}

.contact-us__form .form-group input:focus {
  outline: 0;
  border-color: #ff4712;
  box-shadow: 0 0 0 2px rgba(255, 71, 18, 0.15);
}

.contact-us__form .form-group textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  font-family: armata, sans-serif;
  line-height: 1.62;
  padding: 12px 14px;
  border: 1px solid #a9aaad;
  border-radius: 0;
  resize: none;
  height: 16.5rem;
  box-sizing: border-box;
}

.contact-us__form .form-group textarea:focus {
  outline: 0;
  border-color: #ff4712;
  box-shadow: 0 0 0 2px rgba(255, 71, 18, 0.15);
}

@media screen and (max-width: 768px) {
  .contact-us__form .form-group {
    margin-bottom: 2.2rem;
  }
  .contact-us__form .form-group label {
    font-size: 12px;
    line-height: 1.2;
  }
  .contact-us__form .form-group input {
    font-size: 16px;
    padding: 9px 14px;
  }
  .contact-us__form .form-group textarea {
    height: 12.5rem;
    font-size: 16px;
  }
}

.contact-us__form .form-control:focus {
  border-color: transparent;
  box-shadow: inset 0 0 0 #fff;
}

/* ==========================================================================
   Select Blocks
   ========================================================================== */

.select-block {
  width: calc(50% - 0.75rem);
}

.select-block.full-width {
  width: 100%;
}

/* Single-product layout: let flex control sizing instead of width */
.xvwr-select-pair .select-block[style*="flex"],
.xvwr-select-pair .xvwr-serial-field[style*="flex"] {
  width: auto;
}

@media screen and (max-width: 1023px) {
  .select-block {
    width: 100%;
  }
  .xvwr-select-pair .select-block[style*="flex"],
  .xvwr-select-pair .xvwr-serial-field[style*="flex"] {
    width: auto;
  }
}

.contact-us__form .select-block.field {
  position: relative;
}

.contact-us__form .select-block.field select,
.contact-us__form .select-block.field select.form-select {
  width: 100%;
  padding: 0 40px 0 14px;
  border: 1px solid #a9aaad;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23ff4712' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position: calc(100% - 10px) !important;
  background-repeat: no-repeat !important;
  background-size: 20px !important;
  border-radius: 0;
  font-size: 16px;
  font-weight: 400;
  font-family: armata, sans-serif;
  line-height: 1.62;
  background-color: rgba(255, 255, 255, 0.75) !important;
  color: #3d3935 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
}

.contact-us__form select option {
  color: #3d3935;
  background-color: #fff;
}

.contact-us__form .select-block.field select:focus {
  outline: 0;
  border-color: #ff4712;
  box-shadow: 0 0 0 2px rgba(255, 71, 18, 0.15);
}

@media (max-width: 767px) {
  .contact-us__form .select-block.field select {
    font-size: 16px;
    line-height: 28px;
    padding: 9px 14px;
    background-size: 20px;
    height: 48px;
  }
}

/* Flex container for side-by-side selects */
.homeownerSelect .xvwr-select-pair,
.profInstallSelect .xvwr-select-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.xvwr-row.homeownerSelect {
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   Submit Button
   Matches Santa Fe's .thermastor-button pattern.
   ========================================================================== */

.contact-us__form .button-blue-light {
  padding: 16px 24px;
  background: #ff4712;
  border: 2px solid #ff4712;
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-family: industry, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.001em;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-us__form .button-blue-light:not(:disabled):hover {
  background: #d93a0e;
  border: 2px solid #504d49 !important;
}

@media screen and (max-width: 768px) {
  .contact-us__form .button-blue-light {
    width: 100%;
    font-size: 12px;
  }
}

/* ==========================================================================
   Warranty Registration Typography
   ========================================================================== */

.warranty-registration p {
  font-family: armata, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #3d3935;
  margin: 0;
  line-height: 1.62;
}

.warranty-registration h1 {
  font-family: nimbus-sans-condensed, sans-serif;
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -0.004em;
  line-height: 0.9;
  margin-bottom: 0.6rem;
}

.warranty-registration h2 {
  font-size: 32px;
  font-family: nimbus-sans-condensed, sans-serif;
  font-weight: 800;
  color: #3d3935;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 0;
}

.warranty-registration .label-warranty {
  font-size: 32px;
  font-family: nimbus-sans-condensed, sans-serif;
  font-weight: 800;
  color: #3d3935;
  margin: 20px 0;
  line-height: 1.1;
  letter-spacing: -0.005em;
}

@media (max-width: 768px) {
  .warranty-registration p {
    font-size: 14px;
    line-height: 1.62;
  }
  .warranty-registration h1 {
    font-size: 42px;
    margin-bottom: 3rem;
  }
  .warranty-registration .label-warranty,
  .warranty-registration h2 {
    font-size: 26px;
    line-height: 1.1;
  }
}

/* ==========================================================================
   Add Product Links
   ========================================================================== */

.warranty-registration .add_product__home,
.warranty-registration .add_product__prof {
  font-size: 13px;
  font-family: industry, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.001em;
  margin-left: 0;
  width: 200px;
  color: #ff4712;
  cursor: pointer;
  margin-bottom: 1rem;
}

.warranty-registration .add_product__home:hover,
.warranty-registration .add_product__prof:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .warranty-registration .add_product__home,
  .warranty-registration .add_product__prof {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* ==========================================================================
   reCAPTCHA Message
   ========================================================================== */

.warranty-registration .recaptcha-message {
  font-size: 10px;
  color: #777979;
  text-align: left;
  margin: 0 0 1.5rem;
  font-family: nimbus-sans-condensed, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.warranty-registration .recaptcha-message a {
  color: #ff4712;
  text-decoration: underline;
}

.warranty-registration .recaptcha-message a:hover {
  color: #ff4712;
  text-decoration: underline;
  text-decoration-style: solid;
  border: none;
}

.warranty-registration .recaptcha-message,
.warranty-registration .recaptcha-message * {
  font-size: 10px;
}

@media (max-width: 768px) {
  .warranty-registration .recaptcha-message,
  .warranty-registration .recaptcha-message * {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* ==========================================================================
   Tooltip
   ========================================================================== */

.custom-tooltip {
  position: relative;
  display: inline-block;
  padding-left: 0.5rem;
}

.custom-tooltip svg {
  height: 1.7rem;
  fill: #ff4712;
  width: 1.7rem;
}

.custom-tooltip .custom-tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -90px;
  opacity: 0;
  transition: opacity 0.3s;
  text-transform: initial;
  font-size: 14px;
  font-family: armata, sans-serif;
  line-height: 1.62;
}

.custom-tooltip .custom-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent;
}

.custom-tooltip:hover .custom-tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .custom-tooltip svg {
    height: 17px;
    width: 17px;
  }
}

/* ==========================================================================
   Dropzone (file upload)
   ========================================================================== */

.first_dropzone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.dropzone,
.dropzone * {
  box-sizing: border-box;
}

.dropzone {
  min-height: 130px;
  border: 1px solid #a9aaad;
  border-radius: 0;
  background: #fff;
  padding: 20px;
  width: 100%;
}

.dropzone .dz-message {
  text-align: center;
  font-family: armata, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  margin: 2rem 0;
}

.dropzone .dz-message .dz-button {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.dropzone .dz-preview {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin: 16px;
  min-height: 100px;
}

.dropzone .dz-preview:hover {
  z-index: 10;
}

.dropzone .dz-preview:hover .dz-details {
  opacity: 1;
}

.dropzone .dz-preview:hover .dz-image img {
  transform: scale(1.05, 1.05);
  filter: blur(8px);
}

.dropzone .dz-preview .dz-details {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  font-size: 13px;
  min-width: 100%;
  max-width: 100%;
  padding: 2em 1em;
  text-align: center;
  color: rgba(0, 0, 0, 0.9);
  line-height: 150%;
}

.dropzone .dz-preview .dz-details .dz-size {
  margin-bottom: 1em;
  font-size: 16px;
}

.dropzone .dz-preview .dz-details .dz-filename {
  white-space: nowrap;
}

.dropzone .dz-preview .dz-details .dz-filename:hover span {
  border: 1px solid rgba(200, 200, 200, 0.8);
  background-color: rgba(255, 255, 255, 0.8);
}

.dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
  border: 1px solid transparent;
}

.dropzone .dz-preview .dz-details .dz-filename span,
.dropzone .dz-preview .dz-details .dz-size span {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 0 0.4em;
  border-radius: 3px;
}

.dropzone .dz-preview .dz-remove {
  color: #bf542a;
  margin-top: 0.8em;
  text-transform: uppercase;
  font-size: 14px;
  font-family: armata, sans-serif;
  text-align: center;
  display: block;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.dropzone .dz-preview .dz-remove:hover {
  text-decoration: underline;
}

.dropzone .dz-preview.dz-error .dz-error-mark {
  opacity: 1;
  animation: 3s cubic-bezier(0.77, 0, 0.175, 1) slide-in;
}

.dropzone .dz-preview.dz-error .dz-error-message {
  display: block;
}

.dropzone .dz-preview.dz-error:hover .dz-error-message {
  top: 150px;
  opacity: 1;
  pointer-events: auto;
}

.dropzone .dz-preview.dz-file-preview .dz-image {
  border-radius: 20px;
  background: #999;
  background: linear-gradient(to bottom, #eee, #ddd);
}

.dropzone .dz-preview.dz-file-preview .dz-details {
  opacity: 1;
}

.dropzone .dz-preview.dz-image-preview {
  background: #fff;
}

.dropzone .dz-preview.dz-image-preview .dz-details {
  transition: opacity 0.2s linear;
}

.dropzone .dz-preview .dz-image {
  border-radius: 20px;
  overflow: hidden;
  width: 120px;
  height: 120px;
  position: relative;
  display: block;
  z-index: 1;
}

.dropzone .dz-preview .dz-image img {
  display: block;
}

.dropzone .dz-preview.dz-success .dz-success-mark {
  animation: 3s cubic-bezier(0.77, 0, 0.175, 1) passing-through;
}

.dropzone .dz-preview .dz-error-mark,
.dropzone .dz-preview .dz-success-mark {
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  margin-left: -27px;
  margin-top: -27px;
}

.dropzone .dz-preview .dz-error-mark svg,
.dropzone .dz-preview .dz-success-mark svg {
  display: block;
  width: 54px;
  height: 54px;
}

.dropzone .dz-preview .dz-error-message {
  pointer-events: none;
  z-index: 10;
  position: absolute;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 8px;
  font-size: 13px;
  top: 130px;
  left: -10px;
  width: 140px;
  background: #be2626;
  background: linear-gradient(to bottom, #be2626, #a92222);
  padding: 0.5em 1.2em;
  color: #fff;
}

.dropzone .dz-preview .dz-error-message:after {
  content: "";
  position: absolute;
  top: -6px;
  left: 64px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #be2626;
}

.dropzone .dz-preview .dz-progress {
  opacity: 1;
  z-index: 10;
  pointer-events: none;
  position: absolute;
  height: 16px;
  left: 50%;
  top: 50%;
  margin-top: -8px;
  width: 80px;
  margin-left: -40px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-transform: scale(1);
  border-radius: 8px;
  overflow: hidden;
}

.dropzone .dz-preview .dz-progress .dz-upload {
  background: #ff4712;
  background: linear-gradient(to bottom, #d93a0e, #ff4712);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  transition: width 0.3s ease-in-out;
}

.dropzone .dz-preview.dz-processing .dz-progress {
  opacity: 1;
  transition: 0.2s linear;
}

.dropzone .dz-preview.dz-complete .dz-progress {
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

.dropzone .dz-preview:not(.dz-processing) .dz-progress {
  animation: 6s infinite pulse;
}

.dropzone.dz-clickable {
  cursor: pointer;
}

.dropzone.dz-clickable * {
  cursor: default;
}

.dropzone.dz-clickable .dz-message,
.dropzone.dz-clickable .dz-message * {
  cursor: pointer;
}

.dropzone.dz-started .dz-message {
  display: none;
}

.dropzone.dz-drag-hover {
  border-style: solid;
}

.dropzone.dz-drag-hover .dz-message {
  opacity: 0.5;
}

@media screen and (max-width: 768px) {
  .dropzone .dz-message {
    font-size: 14px;
  }
}

.remove_btn {
  display: block;
  color: #bf542a;
  font-size: 16px;
  font-family: armata, sans-serif;
  cursor: pointer;
  position: absolute;
  bottom: -30px;
  right: 2px;
  text-transform: uppercase;
}

.remove_btn:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .remove_btn {
    font-size: 12px;
  }
}

/* ==========================================================================
   Checkbox
   ========================================================================== */

.contact-us__form input[type="checkbox"],
.warranty-registration input[type="checkbox"] {
  accent-color: #ff4712;
}

.margin-bottom-2 {
  margin-bottom: 2rem;
}

.checkbox-container label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkbox-container label input[type="checkbox"] {
  width: 2rem;
  height: 2rem;
  border: 1.25px solid #3d3935;
  border-radius: 0.5rem;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-container label input[type="checkbox"]:checked {
  background: #ff4712;
  border-color: #ff4712;
}

.checkbox-container label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(-45deg);
  width: 1rem;
  height: 0.6rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

@media (max-width: 768px) {
  .checkbox-container label input[type="checkbox"] {
    width: 20px;
    border-radius: 5px;
    height: 20px;
  }
  .checkbox-container label input[type="checkbox"]:checked::after {
    width: 10px;
    height: 6px;
  }
}

.checkbox-container label span {
  font-size: 16px;
  font-family: armata, sans-serif;
  line-height: 1.62;
  color: #3d3935;
  cursor: pointer;
  padding: 0;
  border: none;
  border-radius: 0;
  background: 0 0;
  font-weight: 400;
}

@media (max-width: 768px) {
  .checkbox-container label span,
  .checkbox-container label span span {
    font-size: 16px;
  }
}

/* ==========================================================================
   Error States
   ========================================================================== */

.contact-us__form .form-message-error {
  color: #bf542a;
  font-size: 13px;
  line-height: 18px;
  margin-top: 5px;
}

.contact-us__form .form-element-error {
  border: 1px solid #bf542a;
}

@media screen and (max-width: 768px) {
  .contact-us__form .form-message-error {
    font-size: 13px;
  }
}

.input-error {
  border-color: #bf542a !important;
}

.error-message {
  color: #bf542a;
  font-size: 10px;
  font-family: nimbus-sans-condensed, sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ==========================================================================
   Success State
   ========================================================================== */

.pure-form-success {
  background: rgb(246 246 246);
  border: 1px solid #ff4712;
  border-radius: 2px;
  padding: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: #ff4712;
  text-align: center;
}

.pure-form-success h3 {
  margin: 0;
  color: #ff4712;
  font-family: nimbus-sans-condensed, sans-serif;
}

.contact-us__form.warranty-registration.form-submitted .pure-form {
  display: none;
}

/* ==========================================================================
   Form Layout Helper
   ========================================================================== */

.pure-form {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.form-errors {
  width: 100%;
}

.attach-info {
  font-style: italic;
}

.attach-info span {
  color: #ff091b;
}

/* Upload button style */
.dropzone_upload_btn {
  margin-bottom: 3rem;
}

/* ==========================================================================
   Serial Number Field
   ========================================================================== */

.xvwr-serial-field input[type="text"] {
  width: 100%;
  max-width: 400px;
  padding: 12px 14px;
  border: 1px solid #a9aaad;
  border-radius: 0;
  font-size: 16px;
  font-family: armata, sans-serif;
  line-height: 1.62;
  background: rgba(255, 255, 255, 0.75);
  box-sizing: border-box;
}

.xvwr-serial-field input[type="text"]:focus {
  outline: 0;
  border-color: #ff4712;
  box-shadow: 0 0 0 2px rgba(255, 71, 18, 0.15);
}

.xvwr-serial-hint {
  font-size: 16px;
  line-height: 1.62;
  color: #a9aaad;
  margin-bottom: 0.5rem;
  font-family: armata, sans-serif;
  font-weight: 400;
}

/* Serial field inside select-pair: full width by default, 50% when single product type */
.xvwr-select-pair .xvwr-serial-field {
  flex: 1 1 100%;
  margin-bottom: 1.5rem;
}

.xvwr-select-pair .xvwr-serial-field input[type="text"] {
  max-width: 100%;
}

@media (max-width: 767px) {
  .xvwr-serial-field input[type="text"] {
    max-width: 100%;
    font-size: 16px;
    padding: 9px 14px;
  }
  .xvwr-serial-hint {
    font-size: 14px;
  }
  /* Stack model + serial on mobile */
  .xvwr-select-pair .select-block[style*="flex"],
  .xvwr-select-pair .xvwr-serial-field[style*="flex"] {
    flex: 1 1 100% !important;
  }
}
