.global-grid img {
  opacity: 0.4;
}

.overflow-wrapper {
  position: relative;
  display: grid;
  grid-template-areas: "stack";
}

@media (orientation: portrait) {
  .overflow-wrapper {
    height: auto;
  }
}

/* LOADER SECTION  */
.loader {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.loader .loader-circles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52.5%);
  width: min(177rem, 177vh);
  height: min(177rem, 177vh);
  user-select: none;
  pointer-events: none;
}

.loader .loader-circles .circle {
  transform-origin: center;
  transform-box: fill-box;
}

.loader .loader-circles .circle:nth-of-type(1) {
  --duration: 60s;
  animation: rotate var(--duration) linear infinite;
}

.loader .loader-circles .circle:nth-of-type(2) {
  --duration: 30s;
  animation: rotate var(--duration) linear infinite;
}

.loader .loader-circles .circle:nth-of-type(3) {
  --duration: 40s;
  animation: rotate var(--duration) linear infinite;
}

.global-gradient-holder {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.global-gradient-holder .global-gradient {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 100rem;
  height: 40rem;
  z-index: 1;
  opacity: 1;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (orientation: portrait) {
  .loader {
    display: none;
  }

  .loader .loader-circles {
    transform: translate(-50%, -51%);
    width: min(100rem, 100vh);
    height: min(100rem, 100vh);
  }

  .global-gradient-holder .global-gradient {
    width: 60rem;
    height: 40rem;
    z-index: 1;
    opacity: 1;
    transform: translate(-50%, 30%);
  }
}

/* section 1  */
.section-1 {
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
  grid-area: stack;
}

.section-1 .section-1-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: min(20rem, 20vh);
  height: 100%;
}

.section-1 .section-1-container .section-1__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: min(3rem, 3vh);
}

.section-1 .section-1-container .section-1-tag {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 0.9;
  text-transform: capitalize;
  padding: 1.3rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 10rem;
  border: 0.5px solid rgba(255, 255, 255, 0.57);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-1 .section-1-container .section-1-tag__point {
  width: 4px;
  height: 4px;
}

.section-1 .section-1-container .section-1__top-icon {
  width: 4.2rem;
  height: 4.2rem;
  flex-shrink: 0;
}

.section-1 .section-1-container .section-1__h1 {
  text-align: center;
  font-size: min(6rem, 6vh);
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
  width: 102.5rem;
  margin-bottom: min(6rem, 6vh);
}

.section-1 .section-1-container .section-1__card {
  position: relative;
  isolation: isolate;
  width: 93.5rem;
  padding: 1.3rem;
}

.section-1 .section-1-container .section-1__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff0f;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: -1;
  border-radius: 3rem;
  background: rgba(255, 255, 255, 0.11);
}

.section-1 .section-1-container .section-1__card .section-1__card-blur-1 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 33rem;
  height: 24rem;
  z-index: -1;
}

.section-1 .section-1-container .section-1__card .section-1__card-blur-2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 53.5rem;
  height: 12.5rem;
  z-index: -1;
}

.section-1 .section-1-container .section-1__card .section-1__card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: min(2.5rem, 2.5vh);
  border-radius: 2.5rem;
  background: rgba(11, 11, 11, 0.96);
  padding-block: min(6rem, 6vh) min(3rem, 3vh);
  width: 100%;
  padding-inline: 15rem;
}

.section-1 .section-1-container .section-1__card .section-1__form {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1rem;
  column-gap: 1rem;
  justify-items: center;
  width: 100%;
}

.section-1 .section-1-container .section-1__card .section-1__form input {
  border-radius: 10rem;
  background: rgba(255, 255, 255, 14%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.8rem 2.7rem;
  width: 100%;

  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.section-1 .section-1-container .section-1__card .section-1__form input::placeholder {
  color: #fff;
}

.pickup-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 1rem;
}

.pickup-label::before {
  content: "";
  display: block;
  width: max(15px, 3rem);
  height: max(15px, 3rem);
  top: 0;
  left: 0;
  background: #3e3e3e;
  flex-shrink: 0;
  border-radius: 0.2rem;
}

.pickup-label:has(.pickup-input:checked)::before {
  background-color: var(--orange);
}

.pickup-label .pickup-input {
  position: absolute;
  top: 0%;
  left: 0rem;
  opacity: 0;
}

.pickup-message,
.pickup-label .pickup-text {
  color: #fff;
  font-size: clamp(10px, 1.5rem, 25px);
  font-weight: 500;
  line-height: 1.2;
}

.pickup-label:has(.pickup-input:checked) ~ .pickup-message {
  display: block;
}

.section-1 .section-1-container .section-1__card .section-1__form .cta-button {
  position: relative;
  min-width: 25rem;
  margin-top: 2rem;
}

.section-1 .section-1-container .section-1__card .section-1__form .cta-button__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-1 .section-1-container .section-1__card .section-1__p {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.section-1 .section-1-container .section-1__card .section-1__p a {
  position: relative;
  color: #f4783e;
}

.section-1 .section-1-container .section-1__card .section-1__p a::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--orange);
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
  transform-origin: right;
  pointer-events: none;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .section-1 .section-1-container .section-1__card .section-1__p a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
  }
}

@media (orientation: portrait) {
  .pickup-message,
  .pickup-label .pickup-text {
    font-size: 1.5rem;
  }

  /* section 1  */
  .section-1 {
    height: auto;
    min-height: 100dvh;
  }

  .section-1 .section-1-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-block: 14.5rem;
    padding-inline: 1.5rem;
  }

  .section-1 .section-1-container .section-1__top {
    margin-bottom: 2rem;
  }

  .section-1 .section-1-container .section-1-tag {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    gap: 0.6rem;
    border-radius: 8rem;
  }

  .section-1 .section-1-container .section-1-tag__point {
    width: 3px;
    height: 3px;
  }

  .section-1 .section-1-container .section-1__top-icon {
    width: 3.3rem;
    height: 3.3rem;
  }

  .section-1 .section-1-container .section-1__h1 {
    font-size: 3rem;
    width: 100%;
    max-width: 38rem;
    margin-bottom: 1.7rem;
  }

  .section-1 .section-1-container .section-1__card {
    width: 100%;
    padding: 1rem;
    max-width: 40rem;
    margin-inline: auto;
  }

  .section-1 .section-1-container .section-1__card::after {
    border-radius: 1.5rem;
  }

  .section-1 .section-1-container .section-1__card .section-1__card-blur-2 {
    width: 33rem;
  }

  .section-1 .section-1-container .section-1__card .section-1__card-inner {
    gap: min(3.5rem, 3.5vh);
    border-radius: 1rem;
    padding-block: min(6rem, 6vh) min(5rem, 5vh);
    width: 100%;
    padding-inline: 3rem;
  }

  .section-1 .section-1-container .section-1__card .section-1__form {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1rem;
    column-gap: 0;
  }

  .section-1 .section-1-container .section-1__card .section-1__form #zipcode {
    grid-column: 1;
  }

  .section-1 .section-1-container .section-1__card .section-1__form input {
    border-radius: 8rem;
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
  }

  .section-1 .section-1-container .section-1__card .section-1__form .cta-button {
    min-width: 20rem;
    grid-column: 1;
    margin-top: min(7rem, 7vh);
  }

  .section-1 .section-1-container .section-1__card .section-1__p {
    font-size: 1.4rem;
  }

  .pickup-label::before {
    width: max(15px, 2.5rem);
    height: max(15px, 2.5rem);
  }
}

@media (orientation: portrait) and (min-width: 470px) and (max-width: 500px) and (max-height: 800px) {
}

/* section 2  */
.section-2 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: min(5.5rem, 5.5vh);
  grid-area: stack;
  padding-block: min(18rem, 18vh) min(5.5rem, 5.5vh);
  overflow: auto;
  min-height: 100vh;
}

@media (orientation: portrait) {
  .section-2 {
    gap: 3rem;
    padding-block: 11rem 5rem;
    justify-content: center;
  }
}

.section-2 .section-2__tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem;
  width: 50.6rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.section-2 .section-2__tab::before {
  border-radius: 8rem;
  border: 1.01px solid #ffffff0e;
  background: #1b1917;
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  z-index: -1;
  content: "";
  position: absolute;
  inset: 0;
}

.section-2 .section-2__tab .section-2__marker {
  width: 3.3rem;
  height: 3.3rem;
  flex-shrink: 0;
  border-radius: 100%;
  background: #444444;
  cursor: pointer;
}

.section-2 .section-2__tab .section-2__marker svg {
  transform: scale(0);
  transition: transform 0.6s var(--ease);
}

.section-2 .section-2__tab .section-2__progress {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
  height: 0.4rem;
  border-radius: 3rem;
  background: #444444;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.section-2 .section-2__tab .section-2__progress .section-2__progress-bar {
  width: 100%;
  height: 100%;
  border-radius: 3rem;
  background: #f4783e;
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.section-2__tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  cursor: pointer;
}

.section-2__tags .section-2__tag {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.8rem;
  line-height: 1;
  transition: color 0.3s ease-out;
}

@media (orientation: portrait) {
  .section-2 .section-2__tab {
    padding: 0.45rem;
    width: 32rem;
  }

  .section-2 .section-2__tab::before {
    border-radius: 5rem;
  }

  .section-2 .section-2__tab .section-2__marker {
    width: 2.5rem;
    height: 2.5rem;
  }

  .section-2 .section-2__tab .section-2__progress {
    width: calc(100% - 4rem);
    height: 0.3rem;
    border-radius: 2rem;
  }

  .section-2 .section-2__tab .section-2__progress .section-2__progress-bar {
    border-radius: 2rem;
  }

  .section-2__tags {
    margin-top: 1rem;
  }

  .section-2__tags .section-2__tag {
    font-size: 1.4rem;
  }
}

/* holder  */
.section-2 .section-2-holder {
  display: grid;
  align-items: center;
  gap: min(4rem, 4vh);
  width: 100%;
}

.section-2-holder__heading {
  display: grid;
  grid-template-areas: "h2";
}

.section-2-holder__heading .section-2-holder__h2 {
  font-size: min(6rem, 6vh);
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
  text-align: center;
  transition:
    opacity 0.3s ease-out,
    transform 0.6s var(--ease);
}

.section-2-holder__heading .section-2-holder__h2.is--delivery {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(115.5rem, 115.5vh);
  margin-inline: auto;
}

.section-2-holder__heading .section-2-holder__h2.is--delivery h2 {
  font-size: min(6rem, 6vh);
  font-weight: 500;
  line-height: normal;
  text-align: center;
  margin-bottom: 0.4rem;
  text-transform: none;
}

.section-2-holder__heading .section-2-holder__h2.is--delivery p {
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0.5;
}

/* steps form  */
.steps-form {
  display: grid;
  grid-template-areas: "steps";
  width: 100%;
}

@media (orientation: portrait) {
  .section-2-holder__heading {
    padding-inline: 1.5rem;
    justify-items: center;
    width: 100%;
  }

  .section-2-holder__heading .section-2-holder__h2 {
    font-size: 3rem;
    text-align: center;
  }
}

/* control steps  */
.section-1,
.section-2 {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s var(--ease),
    visibility 0.6s var(--ease);
}

.steps-form__goals,
.steps-form__allergies,
.steps-form__plan,
.steps-form__delivery {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
  transition:
    transform 0.6s var(--ease),
    opacity 0.6s var(--ease),
    visibility 0.6s var(--ease);
}

/* sections  */
body[data-current="initial"] .section-1 {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0.3s;
}

body[data-current="goals"] .section-2,
body[data-current="goals"] .steps-form__goals {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0.3s;
}

body[data-current="allergies"] .section-2,
body[data-current="allergies"] .steps-form__allergies {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.3s;
  transform: scale(1);
}

body[data-current="plans"] .section-2,
body[data-current="plans"] .steps-form__plan {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.3s;
  transform: scale(1);
}

body[data-current="delivery"] .section-2,
body[data-current="delivery"] .steps-form__delivery {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.3s;
  transform: scale(1);
}

body[data-current="meals"] .section-2,
body[data-current="meals"] .steps-form__meals {
  opacity: 1;
  transition-delay: 0.3s;
  visibility: visible;
  transform: scale(1);
}

/* tags  */
body[data-current="goals"] .section-2__tag.is--goals,
body[data-current="allergies"] .section-2__tag.is--goals,
body[data-current="allergies"] .section-2__tag.is--allergies,
body[data-current="plans"] .section-2__tag.is--goals,
body[data-current="plans"] .section-2__tag.is--allergies,
body[data-current="plans"] .section-2__tag.is--plan,
body[data-current="delivery"] .section-2__tag.is--goals,
body[data-current="delivery"] .section-2__tag.is--allergies,
body[data-current="delivery"] .section-2__tag.is--plan,
body[data-current="delivery"] .section-2__tag.is--delivery,
body[data-current="meals"] .section-2__tag.is--goals,
body[data-current="meals"] .section-2__tag.is--allergies,
body[data-current="meals"] .section-2__tag.is--plan,
body[data-current="meals"] .section-2__tag.is--delivery,
body[data-current="meals"] .section-2__tag.is--meals {
  color: #f4783e;
}

/* progress markers */
body[data-current="goals"] .section-2 .section-2__tab .section-2__marker.is--goals svg,
body[data-current="allergies"] .section-2 .section-2__tab .section-2__marker.is--goals svg,
body[data-current="allergies"] .section-2 .section-2__tab .section-2__marker.is--allergies svg,
body[data-current="plans"] .section-2 .section-2__tab .section-2__marker.is--goals svg,
body[data-current="plans"] .section-2 .section-2__tab .section-2__marker.is--allergies svg,
body[data-current="plans"] .section-2 .section-2__tab .section-2__marker.is--plan svg,
body[data-current="delivery"] .section-2 .section-2__tab .section-2__marker.is--goals svg,
body[data-current="delivery"] .section-2 .section-2__tab .section-2__marker.is--allergies svg,
body[data-current="delivery"] .section-2 .section-2__tab .section-2__marker.is--plan svg,
body[data-current="delivery"] .section-2 .section-2__tab .section-2__marker.is--delivery svg,
body[data-current="meals"] .section-2 .section-2__tab .section-2__marker.is--goals svg,
body[data-current="meals"] .section-2 .section-2__tab .section-2__marker.is--allergies svg,
body[data-current="meals"] .section-2 .section-2__tab .section-2__marker.is--plan svg,
body[data-current="meals"] .section-2 .section-2__tab .section-2__marker.is--delivery svg,
body[data-current="meals"] .section-2 .section-2__tab .section-2__marker.is--meals svg {
  transform: scale(1);
}

/* progress bar */
body[data-current="goals"] .section-2 .section-2__tab .section-2__progress .section-2__progress-bar {
  transform: translateX(-85%);
}

body[data-current="allergies"] .section-2 .section-2__tab .section-2__progress .section-2__progress-bar {
  transform: translateX(-60%);
}

body[data-current="plans"] .section-2 .section-2__tab .section-2__progress .section-2__progress-bar {
  transform: translateX(-35%);
}

body[data-current="delivery"] .section-2 .section-2__tab .section-2__progress .section-2__progress-bar {
  transform: translateX(-10%);
}

body[data-current="meals"] .section-2 .section-2__tab .section-2__progress .section-2__progress-bar {
  transform: translateX(0%);
}

[data-support-container] {
  display: none;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

[data-support-container] a {
  color: #f4783e;
}

@media (orientation: portrait) {
  [data-support-container] {
    font-size: 1.4rem;
  }
}
