/* Hero offer modal component. */
.hero-offer-modal__confirmation[hidden],
.hero-offer-modal.is-confirmed .hero-offer-modal__headline,
.hero-offer-modal.is-confirmed .hero-offer-modal__form,
.hero-offer-modal.is-confirmed .div_hero-offer-modal__no-thanks {
  display: none;
}

.hero-offer-modal__confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vh, 32px);
  width: 100%;
  padding-block: 20px;
  text-align: center;
  color: var(--hero-offer-color-navy);
}

.hero-offer-modal__confirmation-art {
  width: min(70%, 280px);
  height: clamp(140px, 24vh, 210px);
  object-fit: contain;
}

.hero-offer-modal__confirmation h2 {
  margin: 0;
  color: var(--hero-offer-color-primary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-offer-modal__confirmation > p {
  margin: 0;
  font-size: clamp(16px, 1.65vw, 21px);
  line-height: 1.4;
}

.hero-offer-modal__confirmation > p strong {
  color: var(--hero-offer-color-primary);
}

.hero-offer-modal__inbox-tip {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
  padding: 22px;
  border-radius: 20px;
  background: #eaf4f4;
  color: #006772;
  text-align: left;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.45;
}

.hero-offer-modal__inbox-tip > svg {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 2.5;
}

.hero-offer-modal__inbox-tip > div {
  padding-left: 20px;
  border-left: 1px solid #a4c8cb;
}

.hero-offer-modal__inbox-tip p {
  margin: 3px 0 0;
}

.hero-offer-modal__confirmation .hero-offer-modal__return {
  gap: 14px;
  min-height: 54px;
  margin-top: 8px;
}

.hero-offer-modal__return svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-offer-modal.is-confirmed .hero-offer-modal__dismiss {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0e3e7;
  color: var(--hero-offer-color-primary);
}

@media (min-width: 769px) {
  .hero-offer-modal.is-confirmed .hero-offer-modal__dialog {
    height: min(860px, calc(100dvh - 16px));
  }
}

@media (max-width: 768px) {
  .hero-offer-modal.is-confirmed .hero-offer-modal__form-column {
    display: flex;
    align-items: center;
    padding-top: 58px;
  }

  .hero-offer-modal__confirmation {
    margin-block: auto;
  }

  .hero-offer-modal__inbox-tip {
    gap: 12px;
    padding: 18px 14px;
  }

  .hero-offer-modal__inbox-tip > div {
    padding-left: 14px;
  }
}

.hero-offer-modal__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-offer-modal[hidden] {
  display: none;
}

.hero-offer-modal {
  --hero-offer-color-primary: #591c31;
  --hero-offer-color-navy: #0d293d;
  --hero-offer-color-muted: #5f7385;
  --hero-offer-placeholder-color: #9b8790;
  --hero-offer-control-font-size: 16px;
  --hero-offer-color-surface: #ffffff;
  --hero-offer-color-border: #dbe2ea;
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 30px;
}

.hero-offer-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(89, 27, 49, 0.4);
}

.hero-offer-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(92vh, 860px);
  overflow: hidden;
  border-radius: 0;
  background: #f8f5ef;
  border: 1px solid #ece6dd;
  box-shadow: 0 30px 80px rgba(13, 41, 61, 0.35);
}

.hero-offer-modal__dismiss {
  position: absolute;
  top: 22px;
  right: 24px;
  border: none;
  background: transparent;
  color: var(--hero-offer-color-muted);
  font-size: 46px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.hero-offer-modal__content {
  display: grid;
  grid-template-columns: minmax(350px, 42%) minmax(0, 58%);
  min-height: min(84vh, 760px);
  max-height: min(84vh, 760px);
  min-height: 0;
}

.hero-offer-modal__brand-column {
  background: linear-gradient(180deg, #f7f2eb 0%, #efe5da 100%);
  border-right: 1px solid #e9e2d9;
}

.hero-offer-modal__logo {
  width: clamp(120px, 18vw, 200px);
  margin: 0 0 28px 44px;
}

.hero-offer-modal__image-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
  height: 100vh;
}

.hero-offer-modal__image {
  width: 100%;
  height: 100%;
}

.hero-offer-modal__badge {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: clamp(140px, 20vw, 190px);
  border-radius: 999px;
  background: rgba(253, 245, 233, 0.96);
  text-align: center;
  padding: 18px 18px 16px;
  display: grid;
  gap: 6px;
  color: var(--hero-offer-color-navy);
  box-shadow: 0 14px 28px rgba(13, 41, 61, 0.18);
}

.hero-offer-modal__badge-icon {
  font-size: 26px;
  line-height: 1;
}

.hero-offer-modal__badge strong {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.hero-offer-modal__badge span:last-child {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-offer-modal__benefits {
  margin: 0;
  padding: 28px 24px 4px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}

.hero-offer-modal__benefits li {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--hero-offer-color-navy);
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-offer-modal__benefits span {
  font-size: 34px;
  color: var(--hero-offer-color-muted);
}

.hero-offer-modal__form-column {
max-height: 100%;
background-color: var(--hero-offer-color-surface);
}

.img_hero-offer-modal__headline_desktop {
  height: 25vh;
  width: 45%;
}

.img_hero-offer-modal__headline_mobile {
  height: 25vh;
  width: 70%;
  display: none; 
}

.hero-offer-modal__form_offc {
  width: 100%;
}

.hero-offer-modal__headline {
  margin: 0;
  position: relative;
  display: block ruby;
}

.hero-offer-modal__headline h2 {
  margin-top: 15;
  margin-bottom: 6%;
  color: var(--hero-offer-color-navy);
  font-family: var(--font-heading);
  font-size: 8vh;
  margin-left: 6%;
  margin-right: 6%;
}

.hero-offer-modal__mobile-logo {
  display: none;
}

.hero-offer-modal__accent-heart {
  color: var(--hero-offer-color-primary);
}

.hero-offer-modal__accent-paw {
  color: var(--hero-offer-color-primary);
}

.hero-offer-modal__headline-icon {
  display: none;
}

.hero-offer-modal__offer {
  margin-top: -4px;
}

.hero-offer-modal__offer-title {
  margin: 0;
  color: var(--hero-offer-color-primary);
  font-family: var(--font-heading);
  font-size: clamp(24px, 1.7vw, 34px);
  line-height: 1.1;
  font-weight: 800;
}

.hero-offer-modal__description {
  margin: 0;
  color: var(--hero-offer-color-muted);
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.32;
}


.hero-offer-modal__field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--hero-offer-color-border);
  border-radius: 15px;
  min-height: 35px;
  padding: 0 18px;
  color: var(--hero-offer-color-muted);
  background: var(--hero-offer-color-surface);
    margin-top: 2%;
  margin-left: 10%;
  margin-right: 10%;
  height: 11%;
}

.hero-offer-modal__checks {
  margin-top: 2%;
    margin-left: 7%;
  margin-right: 10%;
  display: grid;
}

.hero-offer-modal__field span {
  font-size: 24px;
  line-height: 1;
}

.hero-offer-modal__field input,
.hero-offer-modal__field select {
  border: none;
  width: 100%;
  color: var(--hero-offer-color-navy);
  font: inherit;
  font-size: var(--hero-offer-control-font-size);
  font-weight: 400;
  line-height: 1.25;
  background: transparent;
}

/* Inputs and the empty option of every select act as placeholders. Keeping
 * their typography together avoids native select styles making one control
 * look darker or larger than the others. */
.hero-offer-modal__field input::placeholder,
.hero-offer-modal__field select:has(option[value=""]:checked),
.hero-offer-modal .segmented-date__part select:has(option[value=""]:checked) {
  color: var(--hero-offer-placeholder-color);
  opacity: 1;
}

.hero-offer-modal .segmented-date__part select {
  color: var(--hero-offer-color-navy);
  font-family: inherit;
  font-size: var(--hero-offer-control-font-size);
  font-weight: 400;
  line-height: 1.25;
}

.hero-offer-modal__field input:focus,
.hero-offer-modal__field select:focus {
  outline: none;
}

.hero-offer-modal__field:focus-within {
  border-color: var(--hero-offer-color-primary);
  box-shadow: 0 0 0 3px rgba(89, 28, 49, 0.14);
}

.hero-offer-modal__field {
  margin-top: 1%;
}

.hero-offer-modal__form_off {
  background-color: var(--hero-offer-color-surface);
  height: 55vh;
}


.hero-offer-modal__checks input[type="checkbox"] {
  margin-top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  accent-color: var(--hero-offer-color-primary);
}

.hero-offer-modal__checks a,
.hero-offer-modal__legal-links a {
  color: var(--hero-offer-color-primary);
  text-underline-offset: 2px;
}

.hero-offer-modal__legal-links {
  margin-top: 2%;
  color: var(--hero-offer-color-muted);
  font-size: clamp(14px, 0.95vw, 16px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero-offer-modal__cta {
  margin-top: 2px;
  border: none;
  border-radius: 14px;
  background: var(--hero-offer-color-primary);
  color: var(--hero-offer-color-surface);
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3%;
}

.hero-offer-modal__no-thanks {
  border: none;
  background: transparent;
  color: var(--hero-offer-color-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  font-size: 16px;
  justify-self: center;
}

.hero-offer-modal__content small {
  margin: 0;
  text-align: center;
  color: var(--hero-offer-color-muted);
  font-size: 13px;
  line-height: 1.35;
}

@media (min-width: 769px) and (max-height: 900px) {
  .hero-offer-modal__dialog {
    max-height: 96vh;
  }

  .hero-offer-modal__content {
    min-height: min(92vh, 700px);
  }
}

body.is-modal-open {
  overflow: hidden;
}

.div_hero-offer-modal__no-thanks {
  display: grid;
  margin-top: 2%;
  gap: 11px;
}

/* Desktop artwork layout.
 * The proportions intentionally follow the campaign creative: a full-height
 * photographic panel and a compact, vertically centred form panel. */
@media (min-width: 769px) {
  .hero-offer-modal {
    padding: 8px 18px;
  }

  .hero-offer-modal__dialog {
    max-height: none;
    border: 0;
    border-radius: 0;
    background: var(--hero-offer-color-surface);
  }

  .hero-offer-modal__content {
    grid-template-columns: 44.5% 55.5%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .hero-offer-modal__brand-column {
    min-width: 0;
    border-right: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .hero-offer-modal__image-wrap {
    width: 100%;
    height: 100%;
  }

  .hero-offer-modal__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-offer-modal__dismiss {
    top: 18px;
    right: 24px;
    color: var(--hero-offer-color-primary);
    font-size: 34px;
  }

  .hero-offer-modal__form-column {
    display: flex;
    min-width: 0;
    height: 100%;
    padding: clamp(24px, 3.2vh, 42px) clamp(42px, 5.2vw, 78px);
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .hero-offer-modal__headline {
    display: flex;
    justify-content: center;
    margin: 0 0 clamp(10px, 1.2vh, 18px);
  }

  .img_hero-offer-modal__headline_desktop {
    display: block;
    width: min(100%, 624px);
    height: auto;
    max-height: clamp(145px, 24vh, 286px);
    object-fit: contain;
  }

  .img_hero-offer-modal__headline_mobile {
    display: none;
  }

  .hero-offer-modal__form {
    display: grid;
    width: 100%;
    gap: clamp(10px, 1.25vh, 16px);
    text-align: left;
  }

  .hero-offer-modal__form input {
    color: #1f2940;
}

  .hero-offer-modal__feedback:empty {
    display: none;
  }

  .hero-offer-modal__field {
    width: 100%;
    min-height: clamp(52px, 6vh, 64px);
    margin: 0;
    padding: 0 clamp(18px, 1.7vw, 25px);
    border-color: var(--hero-offer-color-primary);
    border-radius: 13px;
    box-sizing: border-box;
    padding: 9px 38px 9px 0px;
  }

  .hero-offer-modal__field input,
  .hero-offer-modal__field select {
    color: var(--hero-offer-color-navy);
  }

  .hero-offer-modal__field .cart-icon {
    display: grid;
    place-items: center;
  }

  .hero-offer-modal__field .cart-icon img {
    width: 27px;
    height: 27px;
  }

  .hero-offer-modal__form > .segmented-date {
    gap: 0px;
  }

  .hero-offer-modal .segmented-date__label {
    color: var(--hero-offer-color-primary);
    font-size: smaller;
  }

  .hero-offer-modal .segmented-date__controls {
    gap: clamp(12px, 1.4vw, 20px);
  }

  .hero-offer-modal .segmented-date__part {
    display: flex;
    flex-direction: column-reverse;
    gap: 7px;
    text-align: center;
  }

  .hero-offer-modal .segmented-date__part select {
    padding: 9px 38px 9px 20px;
    border-color: var(--hero-offer-color-primary);
    border-radius: 13px;
    color: var(--hero-offer-color-navy);
  }

  .hero-offer-modal .segmented-date__part-label {
    color: var(--hero-offer-color-primary);
  }

  .hero-offer-modal__checks {
    gap: 10px;
    margin: 0 0 0 6px;
    color: var(--hero-offer-color-navy);
    line-height: 1.25;
  }

  .hero-offer-modal__checks label {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 12px;
  }

  .hero-offer-modal__checks input[type="checkbox"] {
    width: 25px;
    height: 25px;
    margin: 0;
    text-align: left;
  }

  .hero-offer-modal__legal-links {
    margin: 0;
    color: var(--hero-offer-color-primary);
    font-size: clamp(13px, 1.05vw, 17px);
  }

  .hero-offer-modal__cta {
    width: 100%;
    margin: 0;
    padding: 10px 24px;
    border-radius: 999px;
    background: linear-gradient(100deg, #70102f 0%, #8c173d 52%, #74102f 100%);
    font-size: clamp(24px, 1.2vw, 36px);
    box-sizing: border-box;
  }

  .hero-offer-modal__cta span {
    display: none;
  }

  .div_hero-offer-modal__no-thanks {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-offer-modal {
    padding: 0;
  }

  .hero-offer-modal__dialog {
    width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: var(--hero-offer-color-surface);
  }

  .hero-offer-modal__content {
    display: block;
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
    height: 100%;
    background-color: var(--hero-offer-color-surface);
  }

  .hero-offer-modal__dismiss {
    top: 8px;
    right: 10px;
    color: var(--hero-offer-color-primary);
    font-size: 28px;
  }

  .hero-offer-modal__brand-column {
    display: none;
  }

  .hero-offer-modal__form-column {
    display: block;
    box-sizing: border-box;
    height: 100%;
    max-height: none;
    overflow-y: auto;
    padding: 0 clamp(20px, 6.85vw, 35px) max(18px, env(safe-area-inset-bottom));
    background-color: var(--hero-offer-color-surface);
    scrollbar-width: thin;
  }

  .hero-offer-modal__headline {
    display: flex;
    justify-content: center;
    height: clamp(168px, 38.35vw, 196px);
    margin: 0;
    overflow: hidden;
  }

  .img_hero-offer-modal__headline_desktop {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .img_hero-offer-modal__headline_mobile {
    display: none;
  }

  .hero-offer-modal__form {
    display: grid;
    gap: 9px;
    width: 100%;
  }

  .hero-offer-modal__feedback:empty {
    display: none;
  }

  .hero-offer-modal__field {
    display: flex;
    width: 100%;
    min-height: 52px;
    height: 52px;
    margin: 0 0 9px;
    padding: 0 16px;
    border-color: var(--hero-offer-color-primary);
    border-radius: 15px;
    box-sizing: border-box;
  }

  .hero-offer-modal__field .cart-icon {
    display: none;
  }

  .hero-offer-modal__field input,
  .hero-offer-modal__field select {
    min-height: 48px;
    padding: 0;
    font-size: 16px;
  }

  .hero-offer-modal__form > .segmented-date {
    gap: 2px;
    margin: 0 0 1px;
  }

  .hero-offer-modal .segmented-date__label {
    color: var(--hero-offer-color-primary);
    font-size: 14px;
    line-height: 1.2;
  }

  .hero-offer-modal .segmented-date__controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1.15fr);
    gap: clamp(8px, 2.5vw, 12px);
  }

  .hero-offer-modal .segmented-date__part:last-child {
    grid-column: auto;
  }

  .hero-offer-modal .segmented-date__part select {
    min-height: 46px;
    padding: 9px 24px 9px 12px;
    border-color: var(--hero-offer-color-primary);
    border-radius: 14px;
    font-size: 16px;
  }

  .hero-offer-modal .segmented-date__error:empty {
    display: none;
  }

  .hero-offer-modal__checks {
    display: grid;
    gap: 8px;
    margin: 0 6px;
    color: #081b31;
    font-size: clamp(14px, 3.4vw, 17px);
    line-height: 1.2;
    text-align: left;
  }

  .hero-offer-modal__checks label {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: start;
    gap: 12px;
  }

  .hero-offer-modal__checks input[type="checkbox"] {
    width: 25px;
    height: 25px;
    margin: 0;
    border-radius: 4px;
  }

  .hero-offer-modal__legal-links {
    justify-content: flex-start;
    gap: 9px;
    margin: 4px 3px 0;
    color: var(--hero-offer-color-primary);
    font-size: clamp(13px, 3.25vw, 16px);
    white-space: nowrap;
  }

  .hero-offer-modal__cta {
    width: 100%;
    min-height: 55px;
    margin: 0;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(100deg, #70102f 0%, #8c173d 52%, #74102f 100%);
    font-size: clamp(20px, 4.7vw, 24px);
    line-height: 1;
    box-sizing: border-box;
  }

  .hero-offer-modal__cta span {
    margin-left: 2px;
  }

  .div_hero-offer-modal__no-thanks {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-offer-modal__form-column {
    padding-inline: 18px;
  }

  .hero-offer-modal__headline {
    height: 160px;
  }

  .hero-offer-modal__legal-links {
    gap: 5px;
    font-size: 12px;
  }

  .hero-offer-modal .segmented-date__controls {
    gap: 8px;
  }

  .hero-offer-modal .segmented-date__part select {
    padding-left: 12px;
  }
}
