/* Official-site footer, adapted from the 1440 px design and its mobile spacing. */
.nori-footer {
  position: relative;
  background: #151515;
  color: #fff;
  border-radius: 40px 40px 0 0;
  padding: 80px 0 60px;
}
.nori-footer-inner {
  width: 100%;
  max-width: 1440px;
  padding: 0 80px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.nori-footer h2 {
  margin: 0;
  font: 700 44px/44px "EK Notice Sans", Instrument, sans-serif;
  letter-spacing: 0;
}
.nori-footer h3 { margin: 0; font: 500 16px/24px Instrument, sans-serif; }
.nori-footer-content {
  display: grid;
  grid-template-columns: minmax(280px,382px) minmax(0,1fr);
  grid-template-rows: auto auto;
  gap: 48px 100px;
}
.nori-footer-newsletter { grid-area: 1 / 1; min-width: 0; }
.nori-footer-newsletter h3 { margin-bottom: 24px; }
.footer-email-field {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / .6);
  border-radius: 20px;
  padding: 3px 3px 3px 12px;
}
.footer-email-field:focus-within { border-color: #ffbe73; }
.footer-email-field input {
  appearance: none;
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font: 500 14px/20px Instrument, sans-serif;
  padding: 0;
}
.footer-email-field input::placeholder { color: rgb(255 255 255 / .6); opacity: 1; }
.footer-email-field button {
  flex-shrink: 0;
  height: 32px;
  padding: 6px 16px;
  background: #ffbe73;
  border: 0;
  border-radius: 16px;
  color: #151515;
  font: 500 14px/20px Instrument, sans-serif;
}
.footer-email-field button:hover { background: #ffd19b; }
.footer-email-field button:disabled { opacity: .6; cursor: wait; }
.footer-consent { margin: 8px 0 0; color: rgb(255 255 255 / .6); font-size: 13px; line-height: 20px; letter-spacing: -.1px; }
.footer-consent a { text-decoration: underline; text-underline-offset: 2px; }
.footer-email-status { margin: 8px 0 0; color: #ffce96; font-size: 13px; line-height: 20px; }
.footer-email-status:empty { display: none; }
.nori-footer-nav { grid-area: 1 / 2 / 3 / 3; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
.footer-link-group ul { display: flex; flex-direction: column; gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.footer-link-group li { color: rgb(255 255 255 / .6); font-size: 16px; line-height: 22px; }
.nori-footer a { color: inherit; }
.nori-footer a:hover, .footer-cookie-links button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nori-footer :is(a,button):focus-visible { outline: 2px solid #ffbe73; outline-offset: 5px; }
.nori-footer-contact { grid-area: 2 / 1; display: flex; flex-direction: column; gap: 24px; }
.nori-footer-contact p { margin: 0; color: rgb(255 255 255 / .6); font-size: 16px; line-height: 22px; }
.nori-footer-contact p a { text-decoration: underline; text-underline-offset: 3px; }
.nori-footer-social { display: flex; align-items: center; gap: 20px; padding-inline: 2px; min-height: 22px; }
.nori-footer-social a { display: grid; place-items: center; min-width: 18px; min-height: 22px; }
.nori-footer-social img { display: block; max-width: none; }
.footer-youtube { display: block; width: 20px; height: 14.043px; mask: url("assets/footer/65ef6.svg") no-repeat; mask-size: 20px 14.043px; }
.nori-footer-bottom { display: flex; align-items: center; gap: 24px; border-top: 1px solid #504f4d; padding-top: 41px; color: rgb(255 255 255 / .6); font-size: 16px; line-height: 24px; }
.nori-footer-bottom p { margin: 0; }
.footer-cookie-links { display: flex; gap: 24px; }
.footer-cookie-links button { padding: 0; border: 0; color: inherit; font: inherit; background: none; }
.footer-cookie-dialog { width: min(460px,calc(100vw - 40px)); padding: 32px; border: 0; border-radius: 24px; background: #faf7f1; color: #151515; }
.footer-cookie-dialog::backdrop { background: rgb(0 0 0 / .4); }
.footer-cookie-dialog h2 { margin: 0 0 20px; font: 700 28px/1.2 "EK Notice Sans", Instrument, sans-serif; }
.footer-cookie-dialog p { font-size: 15px; line-height: 1.5; color: #66615a; }
.footer-cookie-essential { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-block: 1px solid #ded9d1; font-size: 14px; }
.footer-cookie-essential span { color: #6c7562; }
.footer-cookie-dialog form button { width: 100%; padding: 12px 20px; border: 0; border-radius: 24px; background: #ffbe73; color: #151515; font: inherit; margin-top: 12px; }
@media (max-width: 1279px) {
  .nori-footer-inner { padding-inline: 48px; }
  .nori-footer-content { column-gap: 56px; grid-template-columns: minmax(260px,320px) minmax(0,1fr); }
  .nori-footer-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
}
@media (max-width: 767px) {
  .nori-footer { border-radius: 24px 24px 0 0; padding: 56px 0; }
  .nori-footer-inner { padding-inline: 20px; gap: 48px; }
  .nori-footer h2 { font-size: 26px; line-height: 1.15; }
  .nori-footer h3 { line-height: 22px; }
  .nori-footer-content { display: flex; flex-direction: column; gap: 48px; }
  .nori-footer-newsletter h3 { margin-bottom: 12px; }
  .nori-footer-nav { gap: 32px 24px; }
  .footer-link-group ul { gap: 8px; margin-top: 8px; }
  .footer-link-group li, .nori-footer-contact p { font-size: 13px; line-height: 20px; }
  .nori-footer-contact { gap: 16px; }
  .nori-footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 24px; font-size: 13px; line-height: 20px; }
  .nori-footer-bottom p span:last-child { display: block; }
  .footer-cookie-links { gap: 12px; }
}
@media (max-width:767px) {
  .nori-footer { padding-bottom:calc(82px + env(safe-area-inset-bottom)); }
  .footer-email-field { height:auto; min-height:50px; }
  .footer-email-field :is(input,button), .footer-cookie-links button { min-height:44px; }
  .footer-email-field input { font-size:16px; }
  .nori-footer-social { gap:8px; }
  .nori-footer-social a { min-width:44px; min-height:44px; }
  .footer-link-group a { display:inline-block; padding-block:5px; font-size:14px; }
}

.newsletter-dialog {
  width: min(600px, calc(100vw - 24px));
  max-height: 90dvh;
  margin: auto;
  border: 0;
  border-radius: 12px;
  padding: 48px 36px 32px;
  color: #151515;
  background: #faf7f1;
  text-align: center;
  font: 500 18px/1.5 Instrument, sans-serif;
}
.newsletter-dialog::backdrop { background: rgb(0 0 0 / .5); }
.newsletter-dialog button { border: none; background: transparent; color: inherit; cursor: pointer; }
.newsletter-dialog .newsletter-close { position: absolute; right: 16px; top: 12px; width: 32px; height: 32px; font-size: 24px; }
.newsletter-dialog img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 24px; }
.newsletter-dialog h2 { font: 700 30px/1.2 "EK Notice Sans", Instrument, sans-serif; margin: 0; }
.newsletter-dialog p { margin: 12px 0 0; color: #595959; }
.newsletter-dialog p:empty { display: none; }
.newsletter-actions { display: flex; gap: 19px; margin-top: 24px; }
.newsletter-actions input { min-width: 0; flex: 1; border: 1px solid #ccc; text-align: center; }
.newsletter-actions > *, .newsletter-dialog a {
  display: block;
  height: 50px;
  border-radius: 25px;
  padding: 0 24px;
  font: 500 16px/50px Instrument, sans-serif;
}
.newsletter-dialog a, .newsletter-actions button { color: #151515; background: #ffbe73; text-decoration: none; }
.newsletter-dialog a { margin-top: 28px; }
.newsletter-actions :disabled { opacity: .6; cursor: not-allowed; }
#skipPhone { margin-top: 8px; font-size: 14px; padding: 8px; }
@media (max-width: 639px) {
  .newsletter-dialog { width: min(362px, calc(100vw - 24px)); padding: 36px 24px 24px; font-size: 13px; }
  .newsletter-dialog img { width: calc(100% - 64px); margin: 0 auto 24px; }
  .newsletter-dialog h2 { font-size: 24px; }
  .newsletter-actions { flex-direction: column; gap: 8px; }
  .newsletter-actions input { flex: none; }
}

#supernoriWaitlist:not([data-state="pending"]) :disabled,
#footerNewsletter:not([data-state="pending"]) :disabled,
#newsletterPhone:not([data-state="pending"]) :disabled {
  cursor: not-allowed;
  opacity: .5;
}
