.elementor-widget-eloframe_atba_hero,
.elementor-widget-eloframe_atba_hero .elementor-widget-container {
  width: 100%;
}

.ef-atba-hero,
.ef-atba-hero * {
  box-sizing: border-box;
}

.ef-atba-hero {
  --atba-pos: 50%;
  --atba-media-start: 34%;
  --atba-fade-solid: 30%;
  --atba-fade-end: 56%;
  --atba-left-bg: #ffffff;
  --atba-title: #08234a;
  --atba-text: #14213d;
  --atba-eyebrow: #8f100c;
  --atba-accent: #8f100c;
  --atba-primary-bg: #8f100c;
  --atba-primary-text: #ffffff;
  --atba-secondary: #08234a;
  --atba-secondary-bg: #ffffff;
  --atba-badge-icon: #08234a;
  --atba-badge-text: #08234a;
  --atba-panel-bg: #ffffff;
  --atba-panel-text: #08234a;
  --atba-panel-border: #e7dfd3;
  --atba-service-icon: #8f100c;
  --atba-divider: #ffffff;
  --atba-handle-bg: #ffffff;
  --atba-handle-icon: #8f100c;
  --atba-handle-border: #ffffff;
  --atba-label-before-bg: #08234a;
  --atba-label-before-text: #ffffff;
  --atba-label-after-bg: #8f100c;
  --atba-label-after-text: #ffffff;
  position: relative;
  width: 100%;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
  background: var(--atba-left-bg);
  padding: 112px 64px 96px;
  font-family: var(--e-global-typography-text-font-family, inherit);
}

.ef-atba-hero--full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ef-atba-comparison {
  inset: 0 0 0 var(--atba-media-start);
  z-index: auto;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: #f5efe7;
}

.ef-atba-media,
.ef-atba-controls {
  inset: 0;
  width: 100%;
  height: 100%;
}

.ef-atba-media {
  z-index: 1;
  overflow: hidden;
  background: #f5efe7;
  pointer-events: none;
}

.ef-atba-comparison,
.ef-atba-img,
.ef-atba-before-wrap,
.ef-atba-left-bg,
.ef-atba-gradient,
.ef-atba-controls,
.ef-atba-drag-layer,
.ef-atba-divider,
.ef-atba-handle,
.ef-atba-label,
.ef-atba-range {
  position: absolute;
}

.ef-atba-img,
.ef-atba-before-wrap,
.ef-atba-drag-layer {
  inset: 0;
}

.ef-atba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

.ef-atba-img-after {
  z-index: 1;
}

.ef-atba-before-wrap {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--atba-pos)) 0 0);
  will-change: clip-path;
}

.ef-atba-left-bg {
  inset: 0 auto 0 0;
  width: var(--atba-media-start);
  z-index: 2;
  background: var(--atba-left-bg);
  pointer-events: none;
}

.ef-atba-gradient {
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--atba-left-bg) 0%,
    var(--atba-left-bg) var(--atba-fade-solid),
    color-mix(in srgb, var(--atba-left-bg) 94%, transparent) calc(var(--atba-fade-solid) + 6%),
    color-mix(in srgb, var(--atba-left-bg) 58%, transparent) calc(var(--atba-fade-end) - 8%),
    transparent var(--atba-fade-end),
    transparent 100%
  );
}

@supports not (background: color-mix(in srgb, #fff 50%, transparent)) {
  .ef-atba-gradient {
    background: linear-gradient(
      90deg,
      var(--atba-left-bg) 0%,
      var(--atba-left-bg) var(--atba-fade-solid),
      rgba(255,255,255,.94) calc(var(--atba-fade-solid) + 6%),
      rgba(255,255,255,.58) calc(var(--atba-fade-end) - 8%),
      rgba(255,255,255,0) var(--atba-fade-end),
      rgba(255,255,255,0) 100%
    );
  }
}

.ef-atba-controls {
  z-index: 12;
  overflow: hidden;
  pointer-events: auto;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.ef-atba-drag-layer {
  z-index: 10;
  display: block;
  background: transparent;
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
}

.ef-atba-divider {
  top: 0;
  bottom: 0;
  left: var(--atba-pos);
  z-index: 20;
  width: 2px;
  transform: translate3d(-1px, 0, 0);
  background: var(--atba-divider);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 24px rgba(0,0,0,.18);
  pointer-events: auto;
  cursor: ew-resize;
  touch-action: none;
  transition: none !important;
  will-change: left;
}

.ef-atba-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18px;
  right: -18px;
}

.ef-atba-handle {
  left: var(--atba-pos);
  top: 50%;
  z-index: 30;
  transform: translate3d(-50%, -50%, 0);
  width: 56px;
  height: 56px;
  border: 2px solid var(--atba-handle-border);
  border-radius: 999px;
  background: var(--atba-handle-bg);
  color: var(--atba-handle-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font: 900 32px/1 Arial, sans-serif;
  box-shadow: 0 14px 36px rgba(0,0,0,.22);
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  transition: none !important;
  animation: none !important;
  will-change: left;
  appearance: none;
  -webkit-appearance: none;
}

.ef-atba-handle span {
  display: block;
  transform: translateY(-2px);
  pointer-events: none;
}

.ef-atba-handle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--atba-accent) 35%, transparent);
  outline-offset: 4px;
}

.ef-atba-range {
  width: 1px;
  height: 1px;
  left: -9999px;
  top: auto;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.ef-atba-label {
  bottom: 42px;
  z-index: 15;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--e-global-typography-accent-font-family, inherit);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.ef-atba-label-before {
  left: 28px;
  background: var(--atba-label-before-bg);
  color: var(--atba-label-before-text);
}

.ef-atba-label-after {
  right: 28px;
  background: var(--atba-label-after-bg);
  color: var(--atba-label-after-text);
}

.ef-atba-inner {
  position: relative;
  z-index: 4;
  width: min(1440px, 100%);
  min-height: calc(760px - 208px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ef-atba-content {
  width: min(560px, 100%);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  pointer-events: auto;
}

.ef-atba-eyebrow {
  display: inline-block;
  min-width: min(320px, 100%);
  padding-bottom: 9px;
  border-bottom: 2px solid var(--atba-eyebrow);
  color: var(--atba-eyebrow);
  font-family: var(--e-global-typography-accent-font-family, inherit);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ef-atba-title {
  margin: 0;
  color: var(--atba-title);
  font-family: var(--e-global-typography-primary-font-family, inherit);
  font-size: clamp(46px, 5.8vw, 86px);
  font-weight: var(--e-global-typography-primary-font-weight, 850);
  line-height: .96;
  letter-spacing: -0.045em;
}

.ef-atba-subtitle {
  max-width: 520px;
  color: var(--atba-text);
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 19px;
  font-weight: var(--e-global-typography-text-font-weight, 500);
  line-height: 1.48;
}

.ef-atba-subtitle p {
  margin: 0;
}

.ef-atba-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.ef-atba-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--e-global-typography-accent-font-family, inherit);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .035em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease, color .24s ease, border-color .24s ease;
}

.ef-atba-button:hover,
.ef-atba-button:focus-visible {
  transform: translateY(-3px);
}

.ef-atba-button--primary {
  background: var(--atba-primary-bg);
  border-color: var(--atba-primary-bg);
  color: var(--atba-primary-text) !important;
  box-shadow: 0 16px 34px rgba(143,16,12,.18);
}

.ef-atba-button--secondary {
  background: var(--atba-secondary-bg);
  border-color: var(--atba-secondary);
  color: var(--atba-secondary) !important;
  box-shadow: 0 12px 28px rgba(8,35,74,.07);
}

.ef-atba-button-arrow {
  font-size: 18px;
  line-height: 0;
}

.ef-atba-badges {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.ef-atba-badges--mobile {
  display: none;
}

.ef-atba-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: center;
  min-width: 0;
}

.ef-atba-badge-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--atba-badge-icon);
  font-size: 30px;
}

.ef-atba-badge-icon svg,
.ef-atba-service-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
  color: inherit;
}

.ef-atba-badge-icon svg *,
.ef-atba-service-icon svg * {
  fill: currentColor;
  color: inherit;
}

.ef-atba-badge-text {
  color: var(--atba-badge-text);
  font-family: var(--e-global-typography-accent-font-family, inherit);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.22;
  text-transform: uppercase;
  letter-spacing: .015em;
}

.ef-atba-panel {
  position: absolute;
  z-index: 30;
  top: 50%;
  right: 72px;
  transform: translateY(-50%);
  width: 350px;
  max-width: calc(100vw - 48px);
  background: var(--atba-panel-bg);
  border: 1px solid var(--atba-panel-border);
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: 0 24px 70px rgba(8,35,74,.18);
  color: var(--atba-panel-text);
}

.ef-atba-panel-title {
  margin: 0 0 8px;
  color: var(--atba-panel-text);
  font-family: var(--e-global-typography-accent-font-family, inherit);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ef-atba-service {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--atba-panel-text) 12%, transparent);
  text-decoration: none !important;
  color: inherit;
  transition: transform .22s ease, opacity .22s ease;
}

.ef-atba-service:last-child {
  border-bottom: 0;
}

.ef-atba-service:hover,
.ef-atba-service:focus-visible {
  transform: translateX(5px);
  opacity: .9;
}

.ef-atba-service-icon {
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--atba-service-icon);
  font-size: 30px;
}

.ef-atba-service-title {
  color: var(--atba-panel-text);
  font-family: var(--e-global-typography-accent-font-family, inherit);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.ef-atba-form-description {
  color: color-mix(in srgb, var(--atba-panel-text) 72%, transparent);
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 18px;
}

.ef-atba-form-description p {
  margin: 0;
}

.ef-atba-form,
.ef-atba-shortcode-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ef-atba-form input,
.ef-atba-form textarea,
.ef-atba-shortcode-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.ef-atba-shortcode-form textarea,
.ef-atba-shortcode-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid color-mix(in srgb, var(--atba-panel-text) 16%, transparent);
  border-radius: 999px;
  padding: 12px 16px;
  background: #f9f6f1;
  color: var(--atba-panel-text);
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  outline: none;
}

.ef-atba-form textarea,
.ef-atba-shortcode-form textarea {
  min-height: 100px;
  border-radius: 20px;
  resize: vertical;
}

.ef-atba-form input:focus,
.ef-atba-form textarea:focus,
.ef-atba-shortcode-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
.ef-atba-shortcode-form textarea:focus,
.ef-atba-shortcode-form select:focus {
  border-color: color-mix(in srgb, var(--atba-accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--atba-accent) 10%, transparent);
  background: #fff;
}

.ef-atba-form button,
.ef-atba-shortcode-form button,
.ef-atba-shortcode-form input[type="submit"] {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--atba-primary-bg);
  color: var(--atba-primary-text);
  font-family: var(--e-global-typography-accent-font-family, inherit);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

/* v3.8.2: submit hover only.
   This intentionally changes ONLY the hover/focus/active state of the form submit button
   inside this widget, keeping every layout, handler, mobile rule and normal state from v3.8.0. */
.ef-atba-form button:hover,
.ef-atba-form button:focus,
.ef-atba-form button:active,
.ef-atba-shortcode-form button:hover,
.ef-atba-shortcode-form button:focus,
.ef-atba-shortcode-form button:active,
.ef-atba-shortcode-form input[type="submit"]:hover,
.ef-atba-shortcode-form input[type="submit"]:focus,
.ef-atba-shortcode-form input[type="submit"]:active {
  background: var(--atba-primary-bg) !important;
  background-color: var(--atba-primary-bg) !important;
  color: var(--atba-primary-text) !important;
  border-color: var(--atba-primary-bg) !important;
  box-shadow: none;
  filter: none;
}

.ef-atba-form-empty {
  color: var(--atba-panel-text);
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .ef-atba-hero {
    padding-left: 34px;
    padding-right: 34px;
  }
  .ef-atba-panel {
    right: 32px;
    width: 320px;
  }
}

@media (max-width: 1024px) {
  .ef-atba-hero {
    padding-left: 34px;
    padding-right: 34px;
  }
  .ef-atba-panel {
    right: 32px;
    width: 320px;
  }
}

@media (max-width: 767px) {
  .ef-atba-hero {
    --atba-media-start: 0%;
    display: grid;
    grid-template-areas:
      "copy"
      "media"
      "badges"
      "panel";
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-height: auto;
    padding: 42px 18px 30px;
    overflow: visible;
    background: var(--atba-left-bg);
  }

  .ef-atba-hero--full {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .ef-atba-left-bg,
  .ef-atba-gradient {
    display: none;
  }

  .ef-atba-inner {
    grid-area: copy;
    position: relative;
    z-index: 6;
    width: 100%;
    min-height: auto;
    margin: 0;
    display: block;
    pointer-events: auto;
  }

  .ef-atba-content {
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }

  .ef-atba-comparison {
    grid-area: media;
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    min-height: 320px;
    border-radius: 22px;
    overflow: hidden;
    z-index: 5;
    align-self: stretch;
    justify-self: stretch;
    background: #f5efe7;
  }

  .ef-atba-media,
  .ef-atba-controls {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: inherit;
  }

  .ef-atba-img,
  .ef-atba-before-wrap {
    height: 100% !important;
    min-height: 100% !important;
  }

  .ef-atba-img {
    object-fit: cover !important;
  }

  .ef-atba-media {
    z-index: 1;
    overflow: hidden;
  }

  .ef-atba-controls {
    z-index: 12;
    overflow: hidden;
  }

  .ef-atba-title {
    font-size: clamp(40px, 13vw, 56px);
    letter-spacing: -0.04em;
  }

  .ef-atba-subtitle {
    font-size: 16px;
  }

  .ef-atba-eyebrow {
    min-width: min(260px, 100%);
    font-size: 13px;
  }

  .ef-atba-buttons {
    width: 100%;
  }

  .ef-atba-button {
    width: 100%;
    min-height: 50px;
    padding: 16px 22px;
  }

  .ef-atba-badges--desktop {
    display: none;
  }

  .ef-atba-badges--mobile {
    grid-area: badges;
    display: grid;
    width: min(100%, 560px);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0 auto 2px;
    justify-self: center;
    align-self: start;
    z-index: 6;
  }

  .ef-atba-badge-icon {
    width: 32px;
    height: 30px;
    font-size: 23px;
  }

  .ef-atba-badge-text {
    font-size: 8.8px;
    line-height: 1.12;
    letter-spacing: .005em;
  }

  .ef-atba-panel {
    grid-area: panel;
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: min(100%, 560px) !important;
    max-width: calc(100vw - 36px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center;
    align-self: center;
    padding: 22px;
    z-index: 8;
    border-radius: 18px;
  }

  .ef-atba-mobile-panel-hidden .ef-atba-panel {
    display: none;
  }

  .ef-atba-mobile-panel-overlay {
    grid-template-areas:
      "copy"
      "media"
      "badges";
    padding-bottom: 30px;
  }

  .ef-atba-mobile-panel-overlay .ef-atba-panel {
    grid-area: media;
    align-self: end;
    justify-self: center;
    margin: 0 auto 18px !important;
    width: min(calc(100% - 28px), 560px) !important;
    max-width: calc(100vw - 36px) !important;
    max-height: calc(100% - 36px);
    overflow: auto;
    z-index: 40;
  }

  .ef-atba-handle {
    width: 48px;
    height: 48px;
    font-size: 28px;
  }

  .ef-atba-label {
    bottom: 14px;
    padding: 9px 15px;
    font-size: 10.5px;
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
  }

  .ef-atba-label-before {
    left: 16px;
  }

  .ef-atba-label-after {
    right: 16px;
  }

  .ef-atba-form,
  .ef-atba-shortcode-form,
  .ef-atba-shortcode-form form,
  .ef-atba-shortcode-form .frm-fluent-form,
  .ef-atba-shortcode-form .fluentform,
  .ef-atba-shortcode-form .wpforms-form,
  .ef-atba-shortcode-form .gform_wrapper,
  .ef-atba-shortcode-form .elementor-form,
  .ef-atba-shortcode-form .ff-el-group,
  .ef-atba-shortcode-form .elementor-form-fields-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ef-atba-shortcode-form .elementor-form-fields-wrapper,
  .ef-atba-shortcode-form .ff-el-group,
  .ef-atba-shortcode-form .wpforms-field,
  .ef-atba-shortcode-form .gfield {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ef-atba-form,
  .ef-atba-shortcode-form form {
    align-items: stretch;
  }

  .ef-atba-shortcode-form *,
  .ef-atba-panel * {
    max-width: 100%;
  }

  .ef-atba-form-description {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .ef-atba-form input,
  .ef-atba-form textarea,
  .ef-atba-shortcode-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .ef-atba-shortcode-form textarea,
  .ef-atba-shortcode-form select {
    min-height: 44px;
    font-size: 14px;
  }
}


/* v3.9.0: Native quote form visual with American Tile wine accents and full-width CTA. */
.ef-atba-panel--native_form {
  width: 360px;
  max-width: calc(100vw - 48px);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.ef-atba-panel--native_form .ef-atba-panel-title,
.ef-atba-panel--native_form .ef-atba-form-description {
  display: none;
}

.ef-atba-form-call-wrap {
  width: 100%;
  text-align: center;
  margin: 0 0 18px;
}

.ef-atba-form-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #FFFFFF;
  color: #520000 !important;
  font-family: var(--e-global-typography-accent-font-family, Manrope, Arial, sans-serif);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  padding: 10px 18px;
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .20);
  white-space: nowrap;
}

.ef-atba-form-call:hover,
.ef-atba-form-call:focus {
  background: #FFFFFF;
  color: #520000 !important;
  filter: none;
}

.ef-atba-form-call span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #66200E;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.ef-atba-form--old-style,
.ef-atba-panel--native_form .ef-atba-form--old-style {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(245, 238, 232, .84);
  padding: 0 28px 28px;
  border-radius: 0;
  border: 0;
  box-shadow: 0 18px 45px rgba(60, 0, 0, .18);
  backdrop-filter: blur(2px);
}

.ef-atba-native-form-header {
  width: 100%;
  margin: 0 0 12px;
  text-align: center;
}

.ef-atba-native-form-label {
  background: transparent;
  color: #520000;
  font-family: var(--e-global-typography-accent-font-family, Manrope, Arial, sans-serif);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  padding: 16px 12px 14px;
}

.ef-atba-native-form-offer {
  display: block;
  width: 100%;
  background: #66200E;
  color: #FFFFFF;
  font-family: var(--e-global-typography-accent-font-family, Manrope, Arial, sans-serif);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .035em;
  padding: 12px 14px;
  margin: 0;
}


.ef-atba-form--old-style input,
.ef-atba-form--old-style textarea {
  min-height: 46px;
  background: #FFFFFF !important;
  color: #4F3B35 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 14px 15px !important;
  font-family: var(--e-global-typography-text-font-family, Manrope, Arial, sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: none !important;
}

.ef-atba-form--old-style textarea {
  min-height: 124px;
  resize: vertical;
}

.ef-atba-form--old-style input::placeholder,
.ef-atba-form--old-style textarea::placeholder {
  color: #9A9A9A;
  opacity: 1;
}

.ef-atba-form--old-style input:focus,
.ef-atba-form--old-style textarea:focus {
  background: #FFFFFF !important;
  border: 0 !important;
  box-shadow: 0 0 0 2px rgba(82, 0, 0, .16) !important;
}

.ef-atba-form--old-style button,
.ef-atba-form--old-style button:hover,
.ef-atba-form--old-style button:focus,
.ef-atba-form--old-style button:active {
  align-self: stretch;
  min-width: 0;
  min-height: 46px;
  width: 100%;
  background: #66200E !important;
  background-color: #66200E !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 5px !important;
  padding: 14px 15px !important;
  font-family: var(--e-global-typography-accent-font-family, Manrope, Arial, sans-serif);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  filter: none;
}

.ef-atba-form--old-style button:hover,
.ef-atba-form--old-style button:focus {
  background: #520000 !important;
  background-color: #520000 !important;
}

.ef-atba-form--old-style .ef-atba-form-status {
  margin-top: 0;
  border-radius: 0;
  font-size: 13px;
}

@media (max-width: 1200px) {
  .ef-atba-panel--native_form {
    width: 340px;
  }
}

@media (max-width: 767px) {
  .ef-atba-panel--native_form,
  .ef-atba-mobile-panel-overlay .ef-atba-panel--native_form {
    width: min(100%, 360px) !important;
    max-width: calc(100vw - 36px) !important;
    padding: 0 !important;
  }

  .ef-atba-form-call {
    font-size: 16px;
    padding: 10px 16px;
  }

  .ef-atba-form--old-style,
  .ef-atba-panel--native_form .ef-atba-form--old-style {
    padding: 0 22px 24px;
  }

  .ef-atba-native-form-header {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* v3.8.4: Real native form delivery states. Visual style remains aligned with American Tile palette. */
.ef-atba-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ef-atba-form button[disabled],
.ef-atba-form button.is-loading {
  cursor: wait;
  opacity: .82;
}

.ef-atba-form-status {
  display: none;
  margin-top: 2px;
  padding: 11px 14px;
  border-radius: 16px;
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.ef-atba-form-status.is-success,
.ef-atba-form-status.is-error {
  display: block;
}

.ef-atba-form-status.is-success {
  background: #FFFAEE;
  border: 1px solid color-mix(in srgb, var(--atba-primary-bg) 20%, transparent);
  color: #3C0000;
}

.ef-atba-form-status.is-error {
  background: #FFF1EC;
  border: 1px solid rgba(169, 15, 11, .24);
  color: #A90F0B;
}


/* v3.9.3: Split headline. First line stays together; To Wow is larger with no added vertical gap. */
.ef-atba-title--split {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 0.88;
}

.ef-atba-title--split .ef-atba-title-line {
  display: block;
  white-space: nowrap;
  font-size: 0.58em;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  padding: 0;
}

.ef-atba-title--split .ef-atba-title-from,
.ef-atba-title--split .ef-atba-title-worn {
  display: inline;
  font-size: 1em;
  line-height: inherit;
  margin: 0;
  padding: 0;
}

.ef-atba-title--split .ef-atba-title-wow {
  display: block;
  white-space: nowrap;
  font-size: 1.08em;
  line-height: 0.86;
  letter-spacing: -0.05em;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .ef-atba-title--split {
    line-height: 0.88;
  }

  .ef-atba-title--split .ef-atba-title-line {
    font-size: 0.70em;
  }

  .ef-atba-title--split .ef-atba-title-wow {
    font-size: 1.16em;
    line-height: 0.84;
  }
}


/* v3.9.4: Mobile hero centered. Copy, heading, subtitle, buttons and panel align to center on phones only. */
@media (max-width: 767px) {
  .ef-atba-inner {
    text-align: center;
  }

  .ef-atba-content {
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .ef-atba-eyebrow {
    text-align: center;
  }

  .ef-atba-title,
  .ef-atba-title--split {
    text-align: center;
  }

  .ef-atba-title--split {
    align-items: center;
  }

  .ef-atba-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ef-atba-buttons {
    justify-content: center;
  }

  .ef-atba-panel,
  .ef-atba-panel-title,
  .ef-atba-form-description,
  .ef-atba-native-form-header {
    text-align: center;
  }
}


/* v3.9.6: Tablet/mobile structure fix.
   Tablet must not keep the desktop overlay: form goes below the comparison,
   labels stay inside the image, and plugin-side orange borders/outlines are neutralized. */
.ef-atba-hero {
  border-top: 0 !important;
  border-bottom: 0 !important;
  outline: 0 !important;
}

@media (max-width: 1024px) {
  .ef-atba-hero {
    --atba-media-start: 0%;
    display: grid !important;
    grid-template-areas:
      "copy"
      "media"
      "badges"
      "panel" !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: auto !important;
    overflow: visible !important;
    background: var(--atba-left-bg) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
  }

  .ef-atba-hero--full {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ef-atba-left-bg,
  .ef-atba-gradient {
    display: none !important;
  }

  .ef-atba-inner {
    grid-area: copy !important;
    position: relative !important;
    z-index: 6 !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    pointer-events: auto !important;
    text-align: center !important;
  }

  .ef-atba-content {
    width: 100% !important;
    max-width: 680px !important;
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ef-atba-eyebrow,
  .ef-atba-title,
  .ef-atba-title--split,
  .ef-atba-subtitle,
  .ef-atba-panel,
  .ef-atba-panel-title,
  .ef-atba-form-description,
  .ef-atba-native-form-header {
    text-align: center !important;
  }

  .ef-atba-title--split {
    align-items: center !important;
  }

  .ef-atba-subtitle {
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ef-atba-buttons {
    justify-content: center !important;
  }

  .ef-atba-comparison {
    grid-area: media !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    overflow: hidden !important;
    z-index: 5 !important;
    align-self: stretch !important;
    justify-self: center !important;
    background: #f5efe7 !important;
  }

  .ef-atba-media,
  .ef-atba-controls {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: inherit !important;
  }

  .ef-atba-img,
  .ef-atba-before-wrap {
    height: 100% !important;
    min-height: 100% !important;
  }

  .ef-atba-img {
    object-fit: cover !important;
  }

  .ef-atba-badges--desktop {
    display: none !important;
  }

  .ef-atba-badges--mobile {
    grid-area: badges !important;
    display: grid !important;
    justify-self: center !important;
    align-self: start !important;
    z-index: 6 !important;
  }

  .ef-atba-mobile-panel-overlay {
    grid-template-areas:
      "copy"
      "media"
      "badges"
      "panel" !important;
  }

  .ef-atba-panel,
  .ef-atba-mobile-panel-overlay .ef-atba-panel {
    grid-area: panel !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 auto !important;
    justify-self: center !important;
    align-self: center !important;
    z-index: 8 !important;
  }

  .ef-atba-panel--native_form,
  .ef-atba-mobile-panel-overlay .ef-atba-panel--native_form {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .ef-atba-label {
    z-index: 50 !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .ef-atba-hero {
    gap: 22px !important;
    padding: 54px 28px 46px !important;
  }

  .ef-atba-content {
    gap: 16px !important;
  }

  .ef-atba-title {
    font-size: clamp(50px, 8vw, 72px) !important;
  }

  .ef-atba-comparison {
    max-width: 860px !important;
    height: 430px !important;
    min-height: 430px !important;
    border-radius: 24px !important;
  }

  .ef-atba-badges--mobile {
    width: min(100%, 680px) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 auto 4px !important;
  }

  .ef-atba-panel,
  .ef-atba-mobile-panel-overlay .ef-atba-panel {
    width: min(100%, 520px) !important;
    max-width: calc(100vw - 56px) !important;
  }

  .ef-atba-form-call-wrap {
    margin: 0 0 14px !important;
  }

  .ef-atba-form-call {
    font-size: 17px !important;
  }

  .ef-atba-form--old-style,
  .ef-atba-panel--native_form .ef-atba-form--old-style {
    padding: 0 26px 26px !important;
  }

  .ef-atba-label {
    bottom: 18px !important;
    padding: 10px 16px !important;
  }

  .ef-atba-label-before {
    left: 18px !important;
  }

  .ef-atba-label-after {
    right: 18px !important;
  }
}

@media (max-width: 767px) {
  .ef-atba-mobile-panel-overlay .ef-atba-panel {
    grid-area: panel !important;
    width: min(100%, 560px) !important;
    max-width: calc(100vw - 36px) !important;
    margin: 0 auto !important;
  }
}
