html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(247, 138, 61, 0.17), transparent 24%),
    radial-gradient(circle at top left, rgba(230, 106, 141, 0.16), transparent 22%),
    radial-gradient(circle at center top, rgba(255, 190, 210, 0.12), transparent 26%),
    #fff8f6;
}

.app-shell {
  width: min(1500px, calc(100% - 24px));
  margin: 18px auto 32px;
}

.hero-header {
  position: relative;
  background:
    radial-gradient(circle at 88% 18%, rgba(247, 138, 61, 0.18), transparent 16%),
    radial-gradient(circle at 72% 78%, rgba(230, 106, 141, 0.15), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 236, 242, 0.95));
}

.hero-header__content {
  position: relative;
  z-index: 2;
}

.hero-header__visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-header__plate-wrap {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.hero-header__plate-ring {
  position: absolute;
  inset: 7%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(255, 245, 248, 0.88) 48%, rgba(255, 255, 255, 0.12) 68%, rgba(255, 255, 255, 0) 72%);
  box-shadow:
    inset 0 0 0 18px rgba(255, 255, 255, 0.72),
    0 30px 60px rgba(174, 105, 134, 0.16);
}

.hero-header__plate-image {
  position: relative;
  z-index: 2;
  width: 82%;
  height: 82%;
  object-fit: cover;
  border-radius: 999px;
  opacity: 0.88;
  filter: saturate(1.08) contrast(1.02) drop-shadow(0 26px 34px rgba(88, 49, 84, 0.16));
}

.hero-header__floating-card {
  position: absolute;
  z-index: 3;
  max-width: 250px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 18px 18px 16px;
  box-shadow: 0 22px 40px rgba(174, 105, 134, 0.12);
  backdrop-filter: blur(10px);
}

.hero-header__floating-card--top {
  top: 16px;
  right: 8px;
}

.hero-header__floating-card--bottom {
  left: 10px;
  bottom: 18px;
}

.hero-dish-card {
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  border-radius: 32px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 226, 236, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.hero-dish-card__glow {
  position: absolute;
  inset-inline-start: -80px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(247, 138, 61, 0.32) 0%, rgba(247, 138, 61, 0) 72%);
  pointer-events: none;
}

.hero-dish-card__image {
  position: relative;
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 28px;
  opacity: 0.82;
  filter: saturate(1.08) drop-shadow(0 18px 28px rgba(90, 45, 86, 0.14));
}

.hero-dish-card__content {
  position: relative;
  display: grid;
  gap: 12px;
}

.hero-dish-card__badge {
  width: fit-content;
  border-radius: 999px;
  background: linear-gradient(135deg, #f78a3d, #e66a8d);
  color: #fff;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 900;
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 320px;
  min-height: 640px;
  border-radius: 40px;
  background: linear-gradient(180deg, #6d4f73, #533458);
  padding: 14px;
  box-shadow: 0 24px 46px rgba(113, 66, 102, 0.24);
}

.phone-shell__screen {
  min-height: 612px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #fffafb, #fff4f7);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.donut-chart {
  width: 220px;
  height: 220px;
}

.grid-scroll::-webkit-scrollbar,
.phone-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.grid-scroll::-webkit-scrollbar-thumb,
.phone-scroll::-webkit-scrollbar-thumb {
  background: rgba(24, 49, 83, 0.18);
  border-radius: 999px;
}

.donut-chart-wrap {
  width: 220px;
  height: 220px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff6f4, #ffeef4);
}

.hero-carousel__track {
  display: flex;
  transition: transform 0.65s ease;
  will-change: transform;
}

.hero-carousel__slide {
  position: relative;
  min-width: 100%;
  height: 420px;
  overflow: hidden;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-carousel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(51, 26, 47, 0.04) 0%, rgba(51, 26, 47, 0.72) 100%);
  color: #fff;
}

.hero-carousel__overlay span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 233, 240, 0.95);
  color: #d65f85;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
}

.hero-carousel__overlay h3 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 900;
}

.hero-carousel__overlay p {
  max-width: 680px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.hero-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.quick-category-button {
  border: 1px solid rgba(230, 106, 141, 0.18);
  background: #fff;
  color: #5a2d56;
}

.quick-category-button:hover {
  border-color: rgba(247, 138, 61, 0.35);
  background: linear-gradient(135deg, #fff7f4, #ffeef4);
}

.quick-category-button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #f78a3d, #e66a8d);
  color: #fff;
}

.location-pill {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 22px rgba(255, 184, 207, 0.28);
  backdrop-filter: blur(8px);
}

.location-pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f78a3d;
  box-shadow: 0 0 0 6px rgba(247, 138, 61, 0.16), 0 0 16px rgba(247, 138, 61, 0.65);
  animation: locationPulse 1.8s ease-in-out infinite;
}

@keyframes locationPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.85;
  }
}

.hero-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(230, 106, 141, 0.22);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-carousel__dot.is-active {
  width: 34px;
  background: linear-gradient(135deg, #f78a3d, #e66a8d);
}

#families-products article {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#families-products article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(174, 105, 134, 0.16);
}

#families-products img {
  filter: saturate(1.08) contrast(1.03);
}

.nearest-family-card,
.nearest-dish-card {
  background: linear-gradient(180deg, #ffffff, #fff8fb);
  border: 1px solid rgba(255, 221, 230, 0.9);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(174, 105, 134, 0.08);
}

.nearest-family-card {
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nearest-family-card:hover,
.nearest-dish-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 38px rgba(174, 105, 134, 0.14);
}

.nearest-dish-card {
  overflow: hidden;
}

.nearest-dish-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

@media (max-width: 900px) {
  .app-shell {
    width: min(100% - 14px, 100%);
    margin: 10px auto 18px;
  }

  .hero-header__visual {
    min-height: 320px;
  }

  .hero-header__floating-card {
    max-width: 210px;
    padding: 14px;
  }

  .hero-dish-card {
    display: none;
  }

  .hero-carousel__slide {
    height: 360px;
  }

  .hero-carousel__overlay {
    padding: 22px;
  }

  .hero-carousel__overlay h3 {
    font-size: 1.85rem;
  }

  .hero-carousel__overlay p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

@media (max-width: 640px) {
  .hero-header__visual {
    min-height: 260px;
  }

  .hero-header__floating-card--top {
    top: 6px;
    right: 0;
  }

  .hero-header__floating-card--bottom {
    left: 0;
    bottom: 10px;
  }

  .hero-header__floating-card {
    max-width: 170px;
    border-radius: 20px;
    padding: 12px;
  }

  .hero-carousel__slide {
    height: 300px;
  }

  .hero-carousel__overlay {
    padding: 18px;
    gap: 10px;
  }

  .hero-carousel__overlay span {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero-carousel__overlay h3 {
    font-size: 1.4rem;
  }

  .hero-carousel__overlay p {
    font-size: 0.88rem;
  }
}
