/**
 * Block: Warranty (prefix wrnt_)
 * Two columns: (1) breadcrumb, title, subtitle, description; (2) bg image with centered form overlay.
 * RTL: text column right, image column left.
 */

.wrnt_section {
  width: 100%;
  padding: 32px var(--global-padding, 32px) 0;
  box-sizing: border-box;
}

.wrnt_container {
  max-width: var(--container-max, 1856px);
  margin: 0 auto;
}

.wrnt_row {
  display: flex;
  gap: 10px;
  position: relative;
  min-height: 700px;
  padding: 89px 0;
  justify-content: start;
}

/* Text column (right in RTL) */
.wrnt_col_text::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
  right: 0;
  z-index: 1;
}
.wrnt_col_text {
  flex: 1;
  padding: 48px 44px;
  display: flex;
  height: fit-content;
  position: relative;
  /* margin-top: 89px; */
  flex-direction: column;
  background: url("/wp-content/uploads/2026/03/818761_848-1-3.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.wrnt_breadcrumb {
  z-index: 3;
  position: relative;
}
.wrnt_breadcrumb_link {
  color: var(--color-border, #999);
  text-decoration: none;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.wrnt_breadcrumb_link:hover {
  opacity: 0.85;
}

.wrnt_breadcrumb_sep {
  margin: 0 4px;
  color: var(--color-border, #999);
}

.wrnt_breadcrumb_current {
  color: var(--color-text, #111);
}

.wrnt_title {
  margin: 0 0 32px;
  font-family: "Almoni";
  font-weight: 700;
  font-size: 64px;
  line-height: 64px;
  z-index: 3;
  position: relative;
  letter-spacing: -1.28px;
  color: var(--color-text, #111);
}

.wrnt_subtitle {
  margin: 0 0 24px;
  z-index: 3;
  position: relative;
  font-weight: 700;
  color: var(--color-text, #111);
}

.wrnt_description p {
  margin: 0 0 16px;
}
.wrnt_description {
  margin: 0;
  z-index: 3;
  position: relative;
  color: var(--color-text, #111);
}

.wrnt_description p:last-child {
  margin-bottom: 0;
}

/* Image column (left in RTL): image + form overlay */
.wrnt_col_image {
  width: 914px;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  z-index: 2;
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
}
.wrnt_form_wrapper_empty {
  flex: 1;
}

.wrnt_form_wrapper {
  height: fit-content;
  margin: auto 0;
  flex: 1;
  padding: 48px 40px;
  background: var(--color-background);
  border-radius: 24px;
  box-shadow:
    0 7px 16px #0000000f,
    0 29px 29px #0000000d,
    0 66px 40px #00000008,
    0 118px 47px #00000003,
    0 184px 52px #00000000;
  z-index: 2;
}
.footer-row.footer-row-1 {
  display: none;
}
main {
  padding-bottom: 64px;
}
.wrnt_form_title {
  margin: 0 0 24px;
  font-weight: 700;
  text-align: center;
  color: var(--color-text, #111);
}

.wrnt_form_inner {
  margin: 0;
}
.wrnt_form_inner form .gform_fields fieldset {
  margin: 4px 0;
}
.wrnt_form_inner form .gform_fields {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.wrnt_form_inner .validation_message {
  padding: 0 !important;
  font-family: "Almoni" !important;
  font-weight: 400;
  font-style: normal;
  font-size: 16px !important;
  line-height: 21px !important;
  letter-spacing: 0 !important;
  border: none !important;
}
.wrnt_form_inner form .gform-footer {
  margin: 16px 0 0 !important;
  padding: 0 !important;
}
.wrnt_form_inner form input[type="text"],
.wrnt_form_inner form input[type="tel"],
.wrnt_form_inner form input[type="email"] {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 14px;
  background: transparent;
  outline: none;
  font-family: "Almoni";
  font-weight: 400;
  font-style: normal;
  font-size: 16px !important;
  line-height: 21px;
  letter-spacing: 0;
  color: var(--color-text);
}

.wrnt_form_inner form .gform_fields fieldset .gfield_checkbox {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wrnt_form_inner form .gform_fields fieldset .gchoice input {
  height: 22px;
  width: 22px;
  cursor: pointer;
  margin: 0 !important;
}
.wrnt_form_inner form .gform_fields fieldset .gchoice {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wrnt_form_inner form .gform_fields fieldset .gform-field-label a {
  color: var(--color-text) !important;
}
.wrnt_form_inner form .gform_fields fieldset .gform-field-label {
  font-family: "Almoni";
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
  letter-spacing: 0;
  color: var(--color-text);
}

.wrnt_form_inner form .gform-footer input[type="submit"] {
  width: 100%;
  border-radius: 116px;
  padding: 16px 32px;
  background: var(--color-secondary);
  color: var(--color-background);
  border: none;
  font-family: "Almoni";
  font-weight: 600;
  margin: 0;
  font-style: normal;
  cursor: pointer;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
  outline: none;
}

/* Responsive: stack columns on laptop and below */
@media (max-width: 1366px) {
  .wrnt_col_text {
    padding: 0;
    margin-top: 0;
    flex: unset;
  }
  .wrnt_form_wrapper_empty {
    display: none;
  }
  .wrnt_col_image {
    display: none;
  }
  .wrnt_row {
    flex-direction: column;
    gap: 48px;
    height: fit-content;
    min-height: auto;
    padding: 0;
  }
  .wrnt_form_wrapper::after {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 50%;
    border-radius: 24px;
    transform: translateX(-50%);
    width: 100%;
    height: 324px;
  }
  .wrnt_form_wrapper_inner {
    margin: 38px 16px 0;
    position: relative;
    z-index: 5;
    height: fit-content;
    margin: auto 0;
    padding: 48px 40px;
    background: var(--color-background);
    border-radius: 24px;
    box-shadow:
      0 7px 16px #0000000f,
      0 29px 29px #0000000d,
      0 66px 40px #00000008,
      0 118px 47px #00000003,
      0 184px 52px #00000000;
    z-index: 2;
  }
  .wrnt_form_wrapper {
    position: relative;
    flex: unset;
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 46px;
  }
  .wrnt_form_wrapper {
    margin-top: 0;
    padding: 38px 16px 0;
  }
  .wrnt_form_wrapper_inner {
    padding: 32px 16px;
  }
  .wrnt_section {
    padding: 22px var(--global-padding, 32px) 0;
  }
  .wrnt_breadcrumb {
    text-align: center;
    margin: 0 0 32px;
  }
  .wrnt_title {
    text-align: center;
    font-size: 40px;
    line-height: 40px;
    margin: 0 0 24px;
  }
}
