@font-face {
  font-family: "Pally-Regular";
  src: url("../../assets/fonts/Pally-Regular.woff2") format("woff2"),
    url("../../assets/fonts/Pally-Regular.woff") format("woff"),
    url("../../assets/fonts/Pally-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Pally-Medium";
  src: url("../../assets/fonts/Pally-Medium.woff2") format("woff2"),
    url("../../assets/fonts/Pally-Medium.woff") format("woff"),
    url("../../assets/fonts/Pally-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Pally-Bold";
  src: url("../../assets/fonts/Pally-Bold.woff2") format("woff2"),
    url("../../assets/fonts/Pally-Bold.woff") format("woff"),
    url("../../assets/fonts/Pally-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

:root {
  --red: #c9001f;
  --cream: #fef6e7;
  --cream-2: #f8f0db;
  --ink: #111111;
  --white: #ffffff;
  --accent: #ffc87c;
  --green: #006416;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  background: var(--white);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-weight: 100;
  min-width: 320px;
}

body.login-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

h1,
h2,
h3,
.logo,
.btn,
.pill,
.strip-item,
.price,
.price-card h3 {
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
}

.reveal-heading .reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  transition-delay: calc((var(--reveal-order, 0) * 70ms) + (var(--word-order, 0) * 55ms));
  will-change: opacity, transform, filter;
}

.reveal-heading.is-visible .reveal-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-heading .reveal-word,
  .reveal-heading.is-visible .reveal-word {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.hero {
  position: relative;
  background: var(--red);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../../assets/figma/7839_38.png") center center / cover no-repeat;
  opacity: 0.4;
}

.top-nav {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.login-screen {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 100px 80px;
  background: #fef6e7;
  z-index: 120;
}

body.login-page {
  position: relative;
  min-height: 100vh;
  background-color: #fef6e7;
}

.login-header {
  position: relative;
  z-index: 90;
  background: #c9001f;
}

body.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../../assets/figma/bgFood.svg");
  background-repeat: repeat;
  background-position: center;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}

body.login-page .login-screen {
  position: relative;
  inset: auto;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 80px);
  padding: 56px 80px;
  background: transparent;
}

.login-screen.is-visible {
  display: flex;
}

.login-screen__panel {
  position: relative;
  width: min(603px, 100%);
  min-height: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  background: var(--red);
  border-radius: 12px;
  overflow: hidden;
}

.login-screen__header {
  width: min(483px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-screen__close {
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.login-screen__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transform-origin: center;
}

.login-screen__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.login-screen__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.login-screen__brand {
  display: flex;
  justify-content: flex-start;
  height: 32px;
  flex: 0 0 auto;
}

.login-screen__brand img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.login-screen__content {
  width: min(483px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-screen__content h1,
.login-screen__content h2 {
  margin: 0;
  color: var(--white);
  text-align: left;
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
  font-size: 32px;
  line-height: 1.33;
}

.login-screen__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 300;
}

.login-screen__form {
  width: min(483px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-field {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: var(--white);
  border-radius: 99px;
  overflow: hidden;
}

.login-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.login-field input::placeholder {
  color: rgba(17, 17, 17, 0.4);
  opacity: 1;
}

.login-screen__submit {
  width: min(483px, 100%);
  height: 52px;
  margin: 0;
  border: 0;
}

.top-nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-panel {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  width: 98px;
  height: 32px;
  display: block;
}

.nav-links {
  display: flex;
  margin-left: 20px;
  gap: 20px;
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.nav-actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 20px;
  color: var(--white);
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.hero-content {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr 580px;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  color: var(--cream-2);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.06;
  max-width: 760px;
}

.hero-copy p {
  margin: 34px 0 40px;
  max-width: 624px;
  color: var(--white);
  opacity: 0.8;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 100;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 0;
  border-radius: 99px;
  padding: 0 32px;
  font-size: 20px;
  letter-spacing: 0.2px;
  background-image: linear-gradient(#f9bb3b, #f9bb3b);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left top;
  transition: background-size 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn:hover {
  background-size: 100% 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-light {
  background-color: var(--cream-2);
  color: var(--red);
}

.btn-primary {
  background-color: var(--cream-2);
  color: var(--red);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background-color: transparent;
  color: var(--white);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background-color: transparent;
  color: var(--white);
}

.btn-outline:hover {
  color: var(--red);
  border-color: #f9bb3b;
}

.btn-light:hover {
  color: var(--red);
}

.hero-art {
  position: relative;
  width: 580px;
  height: 580px;
  justify-self: end;
}

.hero-spotlight {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-spotlight__image {
  position: absolute;
  right: 0;
  width: 503px;
  height: 490px;
  object-fit: cover;
  opacity: 0;
  transform: translateX(18px) scale(0.97) rotate(-4deg);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-spotlight__image.is-active {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0deg);
}

.special-card {
  position: absolute;
  right: 54px;
  top: 22px;
  width: 264px;
  border-radius: 18px;
  background: rgba(248, 242, 197, 0.96);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(8px);
}

.special-card .star {
  display: inline-flex;
  margin-top: 1px;
  flex: 0 0 auto;
}

.special-card .star svg {
  display: block;
  width: 24px;
  height: 24px;
}

.special-card strong {
  display: block;
  color: #1d1d1d;
  font-size: 17px;
  line-height: 1.2;
}

.special-card small {
  color: #1e1e1e;
  font-size: 13px;
}

.section-cream {
  background: var(--cream);
}

.how-it-works {
  position: relative;
  padding: 100px 0;
  background: var(--cream);
  overflow: hidden;
}

.how-it-works::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: url("../../assets/figma/Bg.svg") center center / cover no-repeat;
  opacity: 0.15;
  animation: rotateHowBg 26s linear infinite;
  transform-origin: center;
  z-index: 0;
}

.how-it-works > .container,
.menu-section > .container {
  position: relative;
  z-index: 1;
}

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

h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 1.2;
  color: var(--red);
}

.steps-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step-card {
  text-align: center;
}

.step-card img {
  width: 170px;
  height: 168px;
  display: block;
  margin: 0 auto;
  animation: stepIconFloat 3.2s ease-in-out infinite;
}

.steps-grid .step-card:nth-child(2) img {
  animation-delay: 0.35s;
}

.steps-grid .step-card:nth-child(3) img {
  animation-delay: 0.7s;
}

.steps-grid .step-card:nth-child(4) img {
  animation-delay: 1.05s;
}

@keyframes stepIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.step-card h3 {
  margin: 12px 0;
  font-size: 28px;
  font-family: "Pally-Medium", sans-serif;
}

.step-card p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 100;
  opacity: 0.8;
}

.feature-strip {
  background: var(--red);
  overflow: hidden;
}

.strip-track {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 60px;
  color: var(--cream);
  font-size: 24px;
  animation: scrollStrip 14s linear infinite;
  padding-right: 60px;
}

@keyframes scrollStrip {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-33.333% - 20px));
  }
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.strip-item span {
  color: #f9bb3b;
  font-size: 30px;
}

.menu-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.menu-section::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: url("../../assets/figma/Bg.svg") center center / cover no-repeat;
  opacity: 0.15;
  animation: rotateHowBg 26s linear infinite;
  transform-origin: center;
  z-index: 0;
}

.menu-days {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pill {
  border: 2px solid var(--red);
  height: 40px;
  border-radius: 60px;
  padding: 0 20px;
  background: transparent;
  color: var(--red);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(201, 0, 31, 0.1);
}

.pill.active {
  background: var(--red);
  color: var(--cream-2);
  border-color: var(--red);
}

.menu-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 50px auto 0;
  display: flex;
  align-items: center;
}

.menu-cards {
  margin-top: 0;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 12px 6px;
}

.menu-cards::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.dish-card {
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  padding: 16px;
  overflow: hidden;
  flex: 0 0 280px;
  width: 280px;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.menu-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--black, #111111);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.menu-carousel-btn:hover {
  background: var(--red, #e02b37);
  color: #ffffff;
  border-color: var(--red, #e02b37);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 22px rgba(224, 43, 55, 0.3);
}

.menu-carousel-prev {
  left: -24px;
}

.menu-carousel-next {
  right: -24px;
}

.menu-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.menu-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-carousel-dot.active {
  background: var(--red, #e02b37);
  width: 24px;
  border-radius: 10px;
}

.dish-image-wrap {
  border-radius: 20px;
  background: #ffc87c;
  height: 220px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dish-image-wrap img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.dish-content {
  margin-top: 14px;
}

.dish-title-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

/* FSSAI Veg / Non Veg badge */
.badge-fssai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}

.badge-fssai.veg {
  border: 1.5px solid #2e7d32;
}

.badge-fssai.veg::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  background: #2e7d32;
  border-radius: 50%;
}

.badge-fssai.non-veg {
  border: 1.5px solid #c11b2e;
}

.badge-fssai.non-veg::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-bottom: 7px solid #c11b2e;
}

.dish-title-row h3 {
  margin: 0;
  font-family: "Pally-Medium", sans-serif;
  font-size: 16px;
  line-height: 1.35;
  color: #111111;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  padding: 10px 20px;
}

.tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.tag.veg {
  color: var(--green);
  border-color: var(--green);
}

.tag.veg i {
  background: var(--green);
}

.tag.non-veg {
  color: var(--red);
  border-color: var(--red);
}

.tag.non-veg i {
  background: var(--red);
}

.dish-content p {
  margin: 12px 0 0;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 100;
  opacity: 0.8;
}

.cta-banner {
  position: relative;
  background: var(--red);
  min-height: 426px;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url("../../assets/figma/7839_38.png") center center / cover no-repeat;
  opacity: 0.9;
}

.cta-inner {
  position: relative;
  z-index: 1;
  min-height: 426px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.cta-inner h2 {
  max-width: 1280px;
  color: #fff;
  text-align: center;
}

.pricing {
  padding: 100px 0;
}

.pricing-subtitle {
  margin: 24px 0 60px;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.8);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.price-card {
  position: relative;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.price-card.light {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.price-card.dark {
  background: var(--red);
  color: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.price-card .card-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-card h3 {
  margin: 0;
  font-family: "Pally-Medium", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.price-card.light h3 {
  color: #111111;
}

.price-card.dark h3 {
  color: #ffffff;
}

.price-card .price {
  font-family: "Pally-Bold", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  display: block;
}

.price-card.light .price {
  color: var(--red);
}

.price-card.dark .price {
  color: #ffffff;
}

.price-card .price-period {
  font-family: "Pally-Medium", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.price-card.light .price-period {
  color: #111111;
}

.price-card.dark .price-period {
  color: #ffffff;
}

.price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-card li {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.price-card.light li {
  color: rgba(17, 17, 17, 0.8);
}

.price-card.dark li {
  color: rgba(255, 255, 255, 0.8);
}

.price-card li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10.32 17.52L18.78 9.06L17.1 7.38L10.32 14.16L6.9 10.74L5.22 12.42L10.32 17.52ZM12 24C10.34 24 8.78 23.685 7.32 23.055C5.86 22.425 4.59 21.57 3.51 20.49C2.43 19.41 1.575 18.14 0.945 16.68C0.315 15.22 0 13.66 0 12C0 10.34 0.315 8.78 0.945 7.32C1.575 5.86 2.43 4.59 3.51 3.51C4.59 2.43 5.86 1.575 7.32 0.945C8.78 0.315 10.34 0 12 0C13.66 0 15.22 0.315 16.68 0.945C18.14 1.575 19.41 2.43 20.49 3.51C21.57 4.59 22.425 5.86 23.055 7.32C23.685 8.78 24 10.34 24 12C24 13.66 23.685 15.22 23.055 16.68C22.425 18.14 21.57 19.41 20.49 20.49C19.41 21.57 18.14 22.425 16.68 23.055C15.22 23.685 13.66 24 12 24Z' fill='%23FFC87C'/%3E%3C/svg%3E") center / contain no-repeat;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

.recommended-badge {
  position: absolute;
  top: -18.5px;
  right: -0.8px;
  background: #FFC87C;
  color: #C9001F;
  width: 143px;
  height: 37px;
  box-sizing: border-box;
  clip-path: polygon(16px 50%, 0 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px 0 24px;
  font-family: "Pally-Bold", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
  z-index: 2;
}

.site-footer {
  background: var(--red);
  color: #fff;
  margin: 0;
}

.footer-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
}

.footer-links {
  display: flex;
  gap: 36px;
  font-family: "Pally-Bold", sans-serif;
  font-size: 20px;
}

.socials {
  display: flex;
  gap: 20px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.socials a svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}

.meal-plan-page {
  background: #fef6e7;
}

.meal-plan-header {
  position: relative;
  z-index: 10;
  background: var(--red);
}

.meal-plan-shell {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.meal-plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 515px;
  gap: 120px;
  align-items: start;
}

.meal-plan-builder {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.meal-plan-title h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1.2;
  text-align: left;
}

.meal-plan-title p {
  margin: 12px 0 0;
  color: rgba(17, 17, 17, 0.8);
  font-size: 24px;
  line-height: 1.5;
  font-weight: 100;
}

.plan-block {
  border-top: 1px solid rgba(17, 17, 17, 0.2);
  padding-top: 24px;
}

.meal-plan-builder .plan-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.plan-block__head h2 {
  margin: 0;
  color: var(--ink);
  text-align: left;
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.plan-block__head p {
  margin: 4px 0 0;
  color: rgba(17, 17, 17, 0.6);
  font-size: 16px;
  line-height: 1.5;
}

.option-grid {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}

.option-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.select-card--price__period {
  font-size: 14px;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.55);
  margin-left: 1px;
}

.select-card {
  width: 100%;
  min-height: 98px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.select-card:hover {
  border-color: rgba(201, 0, 31, 0.4);
}

.select-card.is-active {
  border-color: var(--red);
  background: transparent;
  box-shadow: none;
}

.select-card__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.select-card__icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.select-card__label {
  font-size: 16px;
  line-height: 1.2;
}

.select-card__sublabel {
  margin-top: 4px;
  color: rgba(17, 17, 17, 0.6);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 1.3;
}

.select-card--price {
  align-items: center;
  text-align: center;
}

.select-card--price strong {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  font-family: "Open Sans", "Segoe UI", sans-serif;
}

.select-card--price small {
  margin-top: 6px;
  color: rgba(17, 17, 17, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
}

.select-card--price small i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.45);
}

.select-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.price-card.select-card-plan {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, outline 0.2s ease;
}

.price-card.select-card-plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.price-card.select-card-plan.light.is-active {
  border-color: var(--red);
  box-shadow: 0 12px 28px rgba(201, 0, 31, 0.12);
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.price-card.select-card-plan.dark.is-active {
  outline: 3px solid #FFC87C;
  outline-offset: -3px;
  box-shadow: 0 12px 28px rgba(201, 0, 31, 0.25);
}

.meal-fields {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.field-wrap--full {
  grid-column: 1 / -1;
}

.meal-field--full {
  grid-column: 1 / -1;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.meal-field {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  background: #fff;
  padding: 0 24px;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.meal-field:focus-within {
  border-color: rgba(201, 0, 31, 0.45);
  box-shadow: 0 0 0 3px rgba(201, 0, 31, 0.12);
}

.meal-field input,
.meal-field textarea {
  width: 100%;
  padding: 18px 40px 6px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-family: "Open Sans", "Segoe UI", sans-serif;
}

.meal-field input:-webkit-autofill,
.meal-field input:-webkit-autofill:hover,
.meal-field input:-webkit-autofill:focus,
.discount-row__input input:-webkit-autofill,
.discount-row__input input:-webkit-autofill:hover,
.discount-row__input input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-out 0s;
}

.field-label {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left top;
  color: rgba(17, 17, 17, 0.42);
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  transition: top 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.field-error {
  margin: 0;
  color: #c9001f;
  font-size: 12px;
  line-height: 1.2;
}

.field-error:empty {
  display: none;
}

.field-error:not(:empty) {
  margin-top: 6px;
}

.field-error--light {
  color: rgba(255, 255, 255, 0.92);
}

.field-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 17, 17, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.field-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.field-toggle .icon-eye-off {
  display: none;
}

.field-toggle[aria-pressed="true"] .icon-eye {
  display: none;
}

.field-toggle[aria-pressed="true"] .icon-eye-off {
  display: block;
}

.login-field-shared .field-toggle {
  color: rgba(17, 17, 17, 0.55);
}

.field-wrap.has-error .meal-field {
  border-color: rgba(201, 0, 31, 0.75);
  box-shadow: 0 0 0 3px rgba(201, 0, 31, 0.14);
}

.meal-field.has-error {
  border-color: rgba(201, 0, 31, 0.75);
  box-shadow: 0 0 0 3px rgba(201, 0, 31, 0.14);
}

.meal-field input:focus + .field-label,
.meal-field input:not(:placeholder-shown) + .field-label,
.meal-field input:-webkit-autofill + .field-label,
.meal-field textarea:focus + .field-label,
.meal-field textarea:not(:placeholder-shown) + .field-label,
.meal-field select:focus + .field-label,
.meal-field select:not([value=""]) + .field-label,
.meal-field--select.has-value .field-label,
.discount-row__input input:focus + .field-label,
.discount-row__input input:not(:placeholder-shown) + .field-label,
.discount-row__input input:-webkit-autofill + .field-label {
  top: 10px;
  transform: translateY(0) scale(0.82);
  color: rgba(17, 17, 17, 0.58);
}

.meal-field input::placeholder,
.meal-field textarea::placeholder {
  color: transparent;
}

.meal-field--textarea {
  min-height: 80px;
  border-radius: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.meal-field textarea {
  resize: vertical;
  min-height: 44px;
  padding-top: 22px;
  padding-right: 0;
}

/* Select / BT Area field */
.meal-field--select {
  position: relative;
}

.meal-field--select::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-color: rgba(17, 17, 17, 0.45);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.meal-field select {
  width: 100%;
  padding: 22px 40px 6px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-family: "Open Sans", "Segoe UI", sans-serif;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.field-label--select {
  top: 50%;
  transform: translateY(-50%);
  transition: top 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.meal-field--select.has-value .field-label--select {
  top: 10px;
  transform: translateY(0) scale(0.82);
  color: rgba(17, 17, 17, 0.58);
}


.meal-summary {
  position: sticky;
  top: 24px;
}

.meal-summary__card {
  background: var(--red);
  border-radius: 12px;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.meal-summary__head h2 {
  margin: 0;
  color: #fff;
  text-align: left;
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
  font-size: 32px;
}

.meal-summary__head p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  line-height: 1.5;
}

#summaryPlanMeta {
  font-size: 20px;
}

.discount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.discount-row__input {
  position: relative;
  min-height: 52px;
  border-radius: 99px;
  background: #fff;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.discount-row__input input {
  width: 100%;
  padding: 18px 0 6px;
  border: 0;
  outline: none;
  font-size: 16px;
  font-family: "Open Sans", "Segoe UI", sans-serif;
}

.discount-row__input .field-label {
  left: 24px;
}

.discount-row__input input::placeholder {
  color: transparent;
}

.discount-row .btn {
  height: 52px;
  padding: 0 32px;
}

.discount-message {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.discount-message:empty {
  display: none;
}

.discount-message:not(:empty) {
  margin-top: -14px;
}

.summary-breakdown h3 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  line-height: 1.35;
}

.summary-line + .summary-line {
  margin-top: 16px;
}

.summary-line strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.summary-divider {
  margin: 18px 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.summary-line--total,
.summary-line--total strong {
  color: #fff;
  font-size: 24px;
}

.meal-summary__pay {
  width: 100%;
}

@media (max-width: 1200px) {
  .meal-plan-layout {
    grid-template-columns: 1fr;
  }

  .meal-summary {
    position: static;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 0 72px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-art {
    justify-self: start;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-cards {
    width: 100%;
  }

  .pricing-grid {
    width: 100%;
  }

  .footer-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .meal-plan-layout {
    gap: 40px;
  }

  .meal-plan-shell {
    padding: 40px 0;
  }

  .meal-plan-title p {
    font-size: 18px;
  }

  .plan-block__head h2 {
    font-size: 24px;
  }

  .plan-block__head p {
    font-size: 16px;
  }

  .option-grid--2,
  .option-grid--3 {
    grid-template-columns: 1fr;
  }

  .option-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .meal-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .meal-summary__card {
    padding: 24px;
    gap: 22px;
  }

  .meal-summary__head h2 {
    font-size: 26px;
  }

  .meal-summary__head p {
    font-size: 18px;
  }

  .discount-row {
    grid-template-columns: 1fr;
  }

  .summary-line {
    font-size: 18px;
  }

  .summary-line--total,
  .summary-line--total strong {
    font-size: 22px;
  }

  .strip-track {
    gap: 24px;
  }

  .how-it-works,
  .menu-section {
    padding: 40px 0;
  }

  .pricing {
    padding: 40px 0 20px;
  }

  h2 {
    font-size: 32px;
  }

  .cta-banner {
    min-height: auto;
  }

  .cta-inner {
    min-height: auto;
    padding: 40px 0;
  }

  .how-it-works > .container,
  .menu-section > .container,
  .pricing > .container,
  .cta-banner > .container {
    width: min(1280px, calc(100% - 40px));
  }

  .top-nav {
    height: auto;
    padding: 16px 0;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 90;
  }

  .nav-toggle {
    display: block;
    position: relative;
    padding: 0;
    z-index: 80;
    width: 40px;
    height: 40px;
  }

  .nav-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 2px;
    margin: 0;
    background: var(--white);
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .nav-toggle span + span {
    margin-top: 0;
  }

  .nav-toggle span:nth-child(1) {
    transform: translate(-50%, calc(-50% - 7px));
  }

  .nav-toggle span:nth-child(2) {
    transform: translate(-50%, -50%);
  }

  .nav-toggle span:nth-child(3) {
    transform: translate(-50%, calc(-50% + 7px));
  }

  .top-nav.is-open .nav-toggle span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .top-nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .top-nav.is-open .nav-toggle span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px 24px 40px;
    background: var(--red);
    box-shadow: none;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.32s ease-in-out, opacity 0.32s ease-in-out;
    z-index: 100;
    overflow: hidden;
    pointer-events: none;
    will-change: transform, opacity;
  }

  .top-nav.is-open .nav-panel {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 100;
  }

  .nav-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 46px;
  }

  .nav-panel__brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }

  .nav-panel__brand img {
    width: 98px;
    height: 32px;
    display: block;
    object-fit: contain;
  }

  .nav-panel__close {
    position: relative;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .nav-panel__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .nav-panel__close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .nav-panel__close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .nav-panel__content {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    flex: 1;
    margin-top: 32px;
    overflow: hidden;
  }

  .nav-links {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .login-screen {
    padding: 24px 16px;
  }

  body.login-page .login-screen {
    padding: 24px 16px;
  }

  .login-screen__panel {
    min-height: auto;
    padding: 20px;
    gap: 24px;
  }

  .login-screen__content,
  .login-screen__form,
  .login-screen__submit {
    width: 100%;
  }

  .login-screen__form {
    gap: 20px;
  }

  .login-screen__content h1,
  .login-screen__content h2 {
    font-size: 24px;
  }

  .login-screen__content p {
    font-size: 16px;
  }

  .login-field {
    padding: 0 24px;
  }

  .login-screen__panel {
    border-radius: 12px;

  .login-screen__form .field-wrap {
    width: 100%;
  }

  .login-field-shared {
    width: 100%;
  }
    width: 100%;
    flex: 1;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    gap: 16px;
  }

  .nav-actions .btn {
    width: auto;
    height: 52px;
    font-size: 18px;
    padding: 0 28px;
  }

  .nav-actions .login {
    display: block;
    color: inherit;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-content {
    padding-bottom: 0;
  }

  .hero-art {
    width: 100%;
    max-width: 580px;
    height: 380px;
  }

  .hero-spotlight__image {
    width: min(92%, 503px);
    height: auto;
  }

  .hero-copy p {
    margin-top: 12px;
  }

  .special-card {
    left: 0;
    right: auto;
    top: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step-card h3 {
    font-size: 24px;
  }

  .step-card p,
  .pricing-subtitle,
  .price-card ul {
    font-size: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0;
  }

  .pricing-subtitle {
    margin-bottom: 20px;
  }

  .price-card {
    padding: 20px;
  }

  .price-card h3 {
    font-size: 20px;
  }

  .price {
    font-size: 48px;
  }

  .price-card ul {
    gap: 10px;
    font-size: 14px;
  }

  .price-card .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .dish-content p {
    font-size: 16px;
  }



  .tag {
    height: 32px;
  }

  .price-card.dark .card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .price-card.dark .card-top .popular {
    order: -1;
  }

  .price-card.light .btn {
    margin-top: 24px;
  }

  .menu-days {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .menu-days::-webkit-scrollbar {
    display: none;
  }

  .menu-days .pill {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 14px;
    height: 32px;
    padding: 0 14px;
  }

  .menu-carousel-wrapper {
    margin-top: 30px;
    padding: 0 10px;
  }

  .menu-cards {
    margin-top: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    padding: 8px 4px;
  }

  .dish-card {
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .menu-carousel-btn {
    display: none; /* Swipe & dots on mobile */
  }

  .dish-image-wrap {
    width: 100%;
    height: 180px;
    border-radius: 18px;
  }

  .dish-image-wrap img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .dish-content {
    margin-top: 14px;
  }

  .dish-title-row h3 {
    font-size: 16px;
    line-height: 1.35;
  }

  .footer-bottom {
    height: auto;
    padding: 20px 0;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (min-width: 861px) {
  .nav-panel {
    position: static;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    flex: 1;
    flex-direction: row;
    padding: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    z-index: auto;
  }

  .nav-panel__header {
    display: none;
  }

  .nav-panel__close {
    display: none;
  }

  .nav-panel__content {
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 0;
    overflow: visible;
    flex: 1;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    margin-left: 20px;
    gap: 20px;
    align-items: center;
  }

  .nav-actions {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    gap: 20px;
    align-items: center;
  }

  .nav-actions .btn {
    width: auto;
    height: 52px;
    font-size: 20px;
    padding: 0 32px;
  }

  .nav-actions .login {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-family: "Pally-Bold", "Pally-Medium", sans-serif;
    font-size: 20px;
    font-weight: 700;
  }
}

body.profile-page {
  background: #fef6e7;
}

.profile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--red);
  width: 100%;
  height: 80px;
}

.profile-shell {
  margin-top: calc(80px + 40px);
  padding: 0 0 40px;
}

.profile-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.profile-banner {
  position: relative;
  width: 100%;
  min-height: 227px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  gap: 20px;
}

.profile-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../assets/figma/Circles.png") center / cover no-repeat;
  opacity: 0.32;
}

.profile-banner__main,
.profile-banner__cta {
  position: relative;
  z-index: 1;
}

.profile-banner__main {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  min-width: 0;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
  margin: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-banner__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.profile-banner__text h1 {
  margin: 0;
  color: #fff;
  text-align: left;
  font-family: "Pally-Medium", "Pally-Bold", sans-serif;
  font-size: 32px;
  line-height: 1;
}

.profile-details-trigger {
  display: none;
}

.profile-details-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-meta-row,
.profile-meta-address {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
  margin-top: 0;
  margin-bottom: 0;
}

.profile-meta-row {
  gap: 20px;
  flex-wrap: wrap;
}

.profile-meta-address {
  gap: 12px;
}

.profile-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  margin-top: 0;
  margin-bottom: 0;
}

.profile-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.profile-meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex: 0 0 auto;
}

.profile-meta-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

#profilePhone {
  opacity: 0.8;
}

#profileEmail {
  opacity: 0.8;
}

#profileAddress {
  opacity: 0.8;
}

.profile-banner__cta .btn {
  min-width: 159px;
}

.profile-content {
  display: grid;
  grid-template-columns: 404px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.profile-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pass-card {
  --pass-card-pad-x: 40px;
  position: relative;
  border-radius: 12px;
  background: #FFC87C;
  overflow: hidden;
  min-height: 202px;
  padding: 20px var(--pass-card-pad-x);
}

.pass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../assets/figma/Bg-pass.png") center / cover no-repeat;
  opacity: 0.2;
}

.pass-card::after,
.pass-card .pass-card-notch {
  content: "";
  position: absolute;
  top: 74px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fef6e7;
}

.pass-card::after {
  left: -12px;
}

.pass-card .pass-card-notch {
  right: -12px;
}

.pass-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pass-card__top,
.pass-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pass-card__top h2 {
  margin: 0;
  text-align: left;
  color: var(--ink);
  font-size: 24px;
  line-height: 0.7;
}

.pass-card__top img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.pass-card__dash {
  height: 1px;
  border: 0;
  border-top: 1px dashed rgba(17, 17, 17, 0.18);
  margin: 0;
  margin-inline: calc((-1 * var(--pass-card-pad-x)) + 12px);
  width: calc(100% + (var(--pass-card-pad-x) * 2) - 24px);
}

.pass-card__meta {
  color: var(--ink);
  font-family: "Pally-Medium", "Pally-Bold", sans-serif;
  font-size: 16px;
}

.pass-progress {
  position: relative;
  width: 100%;
  height: 16px;
  border-radius: 99px;
  background: #d7dbe4;
  overflow: hidden;
}

.pass-progress > span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--red);
  width: 0;
}

.pass-card__renewal {
  margin: 0;
  color: rgba(17, 17, 17, 0.8);
  font-size: 12px;
  line-height: 1.36;
}

.orders-table-shell {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fef6e7;
  -webkit-overflow-scrolling: touch;
}

.orders-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.orders-table thead th {
  height: 59px;
  padding: 8px 16px;
  text-align: left;
  font-size: 14px;
  line-height: 1.36;
  letter-spacing: 0;
  font-weight: 600;
  color: rgba(17, 17, 17, 0.6);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(201, 0, 31, 0.08);
  white-space: nowrap;
}

.orders-table thead th:last-child {
  padding-right: 20px;
}

.orders-table tbody td {
  padding: 16px 16px;
  height: 80px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
  color: rgba(17, 17, 17, 0.8);
  font-size: 16px;
  line-height: 1.36;
  vertical-align: middle;
}

.orders-table tbody td:last-child {
  padding-right: 20px;
  white-space: nowrap;
}

.orders-table tbody tr:last-child td {
  border-bottom: 0;
}

.orders-order-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 322px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 119px;
  height: 32px;
  padding: 0 24px;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.status-pill.delivered {
  background: #008933;
}

.status-pill.pending {
  background: #f6be63;
  color: #231f20;
}

.status-pill.out-for-delivery {
  background: #2b78e4;
}

.status-pill.cancelled {
  background: var(--red);
}

.profile-loading,
.profile-empty {
  margin: 0;
  padding: 24px 20px;
  color: rgba(17, 17, 17, 0.7);
  font-size: 16px;
}

.profile-avatar-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fef6e7;
  color: var(--red);
  font-family: "Pally-Bold", "Pally-Medium", sans-serif;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.profile-dropdown {
  position: relative;
}

.profile-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 8px;
  min-width: 140px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 200;
  overflow: hidden;
}

.profile-dropdown__item {
  width: 100%;
  padding: 12px 20px;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  font-family: "Pally-Medium", "Pally-Bold", sans-serif;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.profile-dropdown__item:hover {
  background-color: #f5f5f5;
}

@keyframes skeleton-pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.skeleton {
  color: transparent !important;
  border-radius: 4px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  display: inline-block;
  user-select: none;
  pointer-events: none;
  min-height: 1em;
}

.skeleton-light {
  background-color: rgba(255, 255, 255, 0.3);
}

.skeleton-dark {
  background-color: rgba(17, 17, 17, 0.15);
}

.skeleton-w-short {
  width: 60px;
}
.skeleton-w-med {
  width: 120px;
}
.skeleton-w-long {
  width: 200px;
}

@media (max-width: 1200px) {
  .profile-content {
    grid-template-columns: 1fr;
  }

  .orders-order-text {
    max-width: none;
  }

  .profile-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .profile-header {
    height: 60px;
  }

  .top-nav {
    height: 60px;
  }

  body.profile-page .top-nav.logged-in .nav-toggle {
    display: none;
  }

  .top-nav.logged-in .profile-dropdown {
    display: block !important;
  }

  .profile-shell {
    margin-top: 80px;
    padding: 0 0 40px;
  }

  .profile-layout {
    gap: 24px;
  }

  .profile-banner {
    border-radius: 12px;
    padding: 20px;
    min-height: auto;
    gap: 20px;
  }

  .profile-banner__main {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 16px;
    row-gap: 16px;
    align-items: center;
    width: 100%;
  }

  .profile-avatar {
    grid-column: 1;
    grid-row: 1;
    width: 60px;
    height: 60px;
  }

  .profile-banner__text {
    display: contents;
  }

  .profile-banner__text h1 {
    grid-column: 2;
    grid-row: 1;
    font-size: 26px;
    margin: 0;
  }

  .profile-details-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .profile-details-trigger .trigger-label {
    font-size: 18px;
    font-weight: 500;
    margin-left: 12px;
    flex: 1;
  }

  .profile-details-trigger .trigger-chevron {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
  }

  .profile-details-trigger .trigger-chevron svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
  }

  .profile-details-trigger[aria-expanded="true"] .trigger-chevron {
    transform: rotate(180deg);
  }

  .profile-details-content {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-left: 0;
    position: relative;
  }

  .profile-details-content::before {
    content: "";
    position: absolute;
    top: -32px;
    left: 16px;
    width: 2px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 0;
  }

  .profile-details-content.is-open {
    display: flex;
  }

  .profile-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-left: 32px;
  }

  .profile-meta-address {
    margin-left: 32px;
  }

  .profile-meta-row,
  .profile-meta-address,
  .profile-meta-item {
    font-size: 18px;
  }

  .profile-meta-icon {
    position: relative;
    z-index: 1;
  }

  .profile-meta-item {
    white-space: normal;
    word-break: break-all;
  }

  .profile-meta-divider {
    display: none;
  }

  .profile-banner__cta {
    width: 100%;
  }

  .profile-banner__cta .btn {
    width: 100%;
  }

  .profile-cards {
    gap: 16px;
  }

  .pass-card {
    --pass-card-pad-x: 20px;
    padding: 20px;
    min-height: auto;
  }

  .pass-card__top h2 {
    font-size: 24px;
  }

  .orders-table-shell {
    overflow-x: auto;
  }

  .orders-table {
    min-width: 640px;
  }

  .status-pill {
    font-size: 14px;
    height: 28px;
    min-width: 90px;
    padding: 0 16px;
  }
}

/* Add-ons Popover styles */
.addon-link-container {
  position: relative;
  display: inline-block;
}

.addon-link {
  color: #0066cc; /* Link blue */
  text-decoration: underline;
  cursor: pointer;
  margin-left: 4px;
  font-weight: 500;
}

.addon-link:hover {
  color: #004499;
}

.addon-popover {
  visibility: hidden;
  width: max-content;
  max-width: 250px;
  background-color: #333333;
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  position: absolute;
  z-index: 999;
  bottom: 125%; /* Position above the link */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
  pointer-events: none;
  font-family: inherit;
}

/* Arrow for popover */
.addon-popover::after {
  content: "";
  position: absolute;
  top: 100%; /* At the bottom of the popover */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333333 transparent transparent transparent;
}

.addon-link-container:hover .addon-popover {
  visibility: visible;
  opacity: 1;
}


