/* Shared sticky top-header с брендингом Оли.
 * Применяется на всех публичных страницах воронки.
 * НЕ подключается на admin-token.html, offer.html, privacy.html, terms.html, consent.html. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(14px, 3vw, 32px);
  min-height: 64px;
  background: rgba(254, 252, 250, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(225, 215, 203, 0.72);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7);
}

.site-header__brand {
  display: grid;
  grid-template-columns: minmax(0, auto);
  grid-template-rows: auto auto;
  align-items: center;
  row-gap: 1px;
  text-decoration: none;
  min-height: 44px;
  min-width: 0;
}

.site-header__mono,
.site-header__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.site-header__mono {
  background: linear-gradient(135deg, #435D43, #2F6F5E);
  color: #fff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: 12px;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}

.site-header__avatar {
  object-fit: cover;
  border: 1px solid rgba(67,93,67,0.18);
  box-shadow: 0 8px 18px rgba(47,71,50,0.12);
}

.site-header__mono,
.site-header__avatar {
  grid-row: 1 / span 2;
  grid-column: 1;
}

.site-header__name {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1E1B2E;
  letter-spacing: -0.01em;
  grid-column: 1;
  grid-row: 1;
  line-height: 1.1;
}

.site-header__role {
  display: none;
  color: #5E5E7A;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  grid-column: 1;
  grid-row: 2;
}

@keyframes productPageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.product-shell-ready main {
    animation: productPageEnter 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  body.product-shell-ready.product-page-leaving main,
  body.product-shell-ready.product-page-leaving footer {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 130ms ease, transform 150ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.product-shell-ready main,
  body.product-shell-ready.product-page-leaving main,
  body.product-shell-ready.product-page-leaving footer {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

.site-header__product-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid rgba(225, 215, 203, 0.72);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
}

.site-header__product-nav a,
.site-header__cabinet-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #2B3028;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-header__product-nav a:hover,
.site-header__product-nav a[aria-current="page"] {
  background: #E9EFE4;
  color: #2F4732;
}

.site-header__cabinet-link {
  appearance: none;
  border: 1px solid rgba(67,93,67,0.22);
  background: #435D43;
  color: #fff;
  box-shadow: 0 10px 24px rgba(67,93,67,0.18);
  cursor: pointer;
}

.site-header__cabinet-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(67,93,67,0.24);
}

.site-header__cabinet-link[aria-disabled="true"] {
  cursor: not-allowed;
  background: rgba(67,93,67,0.72);
  color: rgba(255,255,255,0.82);
  box-shadow: none;
}

.site-header__cabinet-link[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.site-header__cabinet-link[aria-current="page"] {
  background: #2F6F5E;
}

body.product-shell-ready:not(.product-home-page) {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(253,251,247,0.98) 360px),
    #FDFBF7;
}

body.product-shell-ready .hero-orb {
  display: none !important;
}

body.product-guide-page .container {
  max-width: 920px;
}

body.product-guide-page .hero {
  padding-top: clamp(42px, 7vw, 72px);
}

body.product-guide-page .hero::after {
  content: "";
  display: block;
  width: min(320px, 78vw);
  height: 10px;
  margin: 26px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #435D43, #C49A5A, #A4616D);
  opacity: .22;
}

body.product-guide-page .content-section,
body.product-guide-page .strategy-card,
body.product-guide-page .category-card,
body.product-guide-page .restaurant-card,
body.product-guide-page .prep-card {
  border-color: rgba(225, 215, 203, 0.82) !important;
  box-shadow: 0 18px 50px rgba(47,71,50,0.08) !important;
}

body.product-quiz-page,
body.product-tracker-page,
body.product-meal-page,
body.product-not-found-page {
  display: block;
  align-items: initial;
  justify-content: initial;
  padding: 0 0 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(253,251,247,0.98) 420px),
    #FDFBF7;
}

body.product-quiz-page .quiz-wrapper,
body.product-tracker-landing-page main,
body.product-tracker-app-page main,
body.product-meal-page main,
body.product-not-found-page .not-found-main {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

body.product-quiz-page .quiz-wrapper {
  max-width: 1180px;
  padding: clamp(34px, 5vw, 58px) 0 0;
}

body.product-quiz-page .quiz-header {
  display: none;
}

body.product-quiz-page .start-screen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1fr);
  align-items: stretch;
  gap: clamp(26px, 4vw, 54px);
  min-height: 560px;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  background: #172A23;
  box-shadow: 0 28px 80px rgba(23,42,35,0.18);
  text-align: left;
}

body.product-quiz-page .start-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(196,154,90,0.20), transparent 28%),
    linear-gradient(90deg, rgba(23,42,35,0.98), rgba(23,42,35,0.76) 48%, rgba(23,42,35,0.18));
  z-index: 0;
}

body.product-quiz-page .start-screen::after {
  content: "";
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 6;
  min-height: 430px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(23,42,35,0.02), rgba(23,42,35,0.18)),
    url('/_assets/home/home-tool-quiz.jpg') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 24px 52px rgba(0,0,0,0.22);
}

body.product-quiz-page .start-screen > * {
  position: relative;
  z-index: 1;
  grid-column: 1;
}

body.product-quiz-page .start-emoji {
  width: auto;
  min-width: 76px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: 0 18px;
  margin: 0 0 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

body.product-quiz-page .start-title {
  max-width: 520px;
  margin: 0;
  color: #FFFFFF;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
}

body.product-quiz-page .start-title em {
  color: #F4E4BC;
  font-style: normal;
}

body.product-quiz-page .start-subtitle {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 18px;
  line-height: 1.65;
}

body.product-quiz-page .start-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
}

body.product-quiz-page .start-meta-item {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

body.product-quiz-page .start-meta-icon {
  width: 28px;
  height: 24px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.14);
}

body.product-quiz-page .btn-start {
  width: fit-content;
  min-width: 210px;
  margin: 34px 0 0;
  background: #FFFFFF;
  color: #172A23;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(0,0,0,0.22);
}

body.product-quiz-page .progress-wrap,
body.product-quiz-page .slide-container,
body.product-quiz-page .result-screen {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body.product-quiz-page .question-card,
body.product-quiz-page .result-card {
  border-color: rgba(225,215,203,0.88);
  box-shadow: 0 24px 70px rgba(47,71,50,0.10);
}

body.product-quiz-page .question-card {
  background: #FFFDF8;
  box-shadow: none;
  min-height: 430px;
  padding: 36px 34px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.product-quiz-page .question-text {
  font-size: 22px;
  margin-bottom: 26px;
}

body.product-quiz-page .options-list {
  gap: 12px;
}

body.product-quiz-page .option-btn {
  min-height: 58px;
  padding-top: 15px;
  padding-bottom: 15px;
}

body.product-meal-page .hero,
body.product-tracker-page .hero,
body.product-guide-page .hero {
  position: relative;
  width: min(100%, 1180px);
  margin: clamp(28px, 5vw, 48px) auto clamp(28px, 4vw, 44px);
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(23,42,35,0.96), rgba(23,42,35,0.72) 48%, rgba(23,42,35,0.18)),
    url('/_assets/home/home-tool-plan.jpg') center / cover no-repeat;
  box-shadow: 0 28px 80px rgba(23,42,35,0.16);
  text-align: left;
}

body.product-tracker-page .hero {
  background:
    linear-gradient(90deg, rgba(23,42,35,0.96), rgba(23,42,35,0.70) 48%, rgba(23,42,35,0.12)),
    url('/_assets/home/home-tool-tracker.jpg') center / cover no-repeat;
}

body.product-guide-page .hero {
  background:
    linear-gradient(90deg, rgba(23,42,35,0.96), rgba(23,42,35,0.72) 48%, rgba(23,42,35,0.20)),
    url('/_assets/home/home-program-covers.jpg') center / cover no-repeat;
}

body.product-meal-page .hero::before,
body.product-tracker-page .hero::before,
body.product-tracker-page .hero::after,
body.product-guide-page .hero::after {
  display: none !important;
}

body.product-meal-page .hero h1,
body.product-tracker-page .hero h1,
body.product-guide-page .hero h1 {
  max-width: 580px;
  margin: 0 0 14px;
  background: none;
  color: #FFFFFF;
  -webkit-text-fill-color: currentColor;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

body.product-tracker-page .hero h1 .accent {
  background: none;
  color: #E9EFE4;
  -webkit-text-fill-color: currentColor;
}

body.product-meal-page .hero-sub,
body.product-tracker-page .hero-sub,
body.product-tracker-page .hero p,
body.product-guide-page .hero-subtitle {
  max-width: 500px;
  margin-left: 0;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  line-height: 1.65;
}

body.product-meal-page .hero-tag,
body.product-tracker-page .hero-badge,
body.product-tracker-page .hero-tag,
body.product-guide-page .hero-tag,
body.product-guide-page .hero-author {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.14);
  color: #FFFFFF;
  box-shadow: none;
}

body.product-tracker-page .hero-trust {
  justify-content: flex-start;
  color: rgba(255,255,255,0.72);
}

body.product-tracker-page .section,
body.product-tracker-page .preview-section,
body.product-tracker-page .testimonials-section {
  background: transparent;
}

body.product-tracker-page .section-inner,
body.product-tracker-page .container {
  max-width: 960px;
}

body.product-tracker-page .feature-card,
body.product-tracker-page .review-card,
body.product-tracker-page .notion-window,
body.product-tracker-page .focus-card,
body.product-tracker-page .progress-card,
body.product-tracker-page .day-card,
body.product-tracker-page .summary-card {
  border-color: rgba(225,215,203,0.84);
  box-shadow: 0 20px 58px rgba(47,71,50,0.09);
}

body.product-meal-page .meal-plan-prestate,
body.product-meal-page .container {
  max-width: 960px;
}

body.product-meal-page .meal-plan-prestate__card,
body.product-meal-page .glass-card,
body.product-meal-page .meal-card,
body.product-meal-page .upsell-card {
  border-color: rgba(225,215,203,0.84);
  box-shadow: 0 20px 58px rgba(47,71,50,0.09);
}

body.product-meal-page .action-btn.primary,
body.product-meal-page .meal-plan-prestate__btn {
  background: #435D43;
  box-shadow: 0 18px 34px rgba(67,93,67,0.22);
}

body.product-meal-page .meal-plan-prestate__btn--secondary {
  background: #FFFFFF;
  color: #2F6F5E;
  border: 1.5px solid rgba(67,93,67,0.18);
  box-shadow: none;
}

body.product-not-found-page {
  min-height: 100dvh;
}

body.product-not-found-page .site-header {
  width: 100%;
  margin: 0;
  align-self: auto;
}

body.product-not-found-page .not-found-main {
  min-height: calc(100dvh - 160px);
  padding-top: clamp(28px, 6vw, 70px);
}

body.product-not-found-page .canvas-wrap {
  display: none;
}

body.product-not-found-page .not-found-main::before {
  content: "";
  width: min(520px, 100%);
  height: clamp(190px, 28vw, 270px);
  display: block;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(23,42,35,0.10), rgba(23,42,35,0.42)),
    url('/_assets/home/home-program-covers.jpg') center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(23,42,35,0.16);
}

body.product-not-found-page .static-404 {
  display: block;
  margin-top: -62px;
  color: #FFFFFF;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 14px 28px rgba(0,0,0,0.28);
}

body.product-not-found-page .content {
  max-width: 520px;
  margin-top: 22px;
}

body.product-not-found-page .content h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 54px);
  color: #202326;
}

body.product-not-found-page .content p {
  font-family: 'DM Sans', sans-serif;
}

body.product-not-found-page .btn-primary {
  font-weight: 800;
}

@media (min-width: 921px) and (max-width: 1440px) {
  .site-header {
    min-height: 72px;
    padding-inline: max(28px, calc((100vw - 1180px) / 2));
  }

  .site-header__avatar,
  .site-header__mono {
    width: 38px;
    height: 38px;
  }

  .site-header__brand {
    grid-template-columns: minmax(0, auto);
  }

  .site-header__name {
    font-size: 15px;
  }

  .site-header__role {
    font-size: 12px;
  }

  .site-header__product-nav a,
  .site-header__cabinet-link {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 13px;
    line-height: 18px;
  }

  body.product-quiz-page .quiz-wrapper,
  body.product-tracker-landing-page main,
  body.product-tracker-app-page main,
  body.product-meal-page main,
  body.product-not-found-page .not-found-main {
    width: min(100% - 64px, 1180px);
  }

  body.product-quiz-page .start-screen {
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1fr);
    min-height: 560px;
  }

  body.product-quiz-page .start-screen::after {
    grid-column: 2;
    grid-row: 1 / span 6;
    min-height: 430px;
    background-position: center 42%;
  }

  body.product-quiz-page .start-title,
  body.product-quiz-page .start-subtitle {
    max-width: 720px;
  }

  body.product-meal-page .hero,
  body.product-tracker-page .hero,
  body.product-guide-page .hero {
    width: min(100%, 1180px);
    padding: 48px;
  }

  body.product-guide-page .container,
  body.product-tracker-page .section-inner,
  body.product-tracker-page .container,
  body.product-meal-page .meal-plan-prestate,
  body.product-meal-page .container {
    max-width: 960px;
  }

  body.product-cabinet-page .container {
    max-width: 1080px;
  }

  body.product-cabinet-page .cabinet-entry {
    max-width: 720px;
  }

  body.product-cabinet-page .entry-card {
    padding: 36px 40px;
  }

  body.product-cabinet-page .entry-card h1 {
    font-size: 34px;
  }

  body.product-cabinet-page .entry-card p {
    font-size: 16px;
  }

  body.product-cabinet-page .cabinet-preview {
    display: grid;
    grid-template-columns: minmax(330px, .9fr) minmax(460px, 1.1fr);
    gap: 18px;
    align-items: start;
  }

  body.product-cabinet-page .preview-hero,
  body.product-cabinet-page .preview-program,
  body.product-cabinet-page .preview-materials {
    margin-bottom: 0;
  }

  body.product-cabinet-page .preview-hero {
    padding: 32px;
  }

  body.product-cabinet-page .preview-hero h1 {
    font-size: 34px;
  }

  body.product-cabinet-page .preview-hero p,
  body.product-cabinet-page .preview-program__body p,
  body.product-cabinet-page .preview-materials p {
    font-size: 15px;
  }

  body.product-cabinet-page .preview-program {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  body.product-cabinet-page .preview-program__cover {
    min-height: 310px;
  }

  body.product-cabinet-page .preview-program__body {
    padding: 26px;
  }

  body.product-cabinet-page .preview-program__body h2 {
    font-size: 28px;
  }

  body.product-cabinet-page .preview-route {
    grid-column: 1;
    margin-bottom: 0;
  }

  body.product-cabinet-page .preview-route-card {
    padding: 16px;
  }

  body.product-cabinet-page .preview-materials {
    padding: 24px;
  }

  body.product-cabinet-page .preview-materials h2 {
    font-size: 22px;
  }

  body.product-cabinet-page .preview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.product-cabinet-page .cabinet-preview > .preview-materials:nth-of-type(5) {
    grid-column: 2;
  }

  body.product-cabinet-page .cabinet-preview > .entry-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1441px) {
  .site-header {
    min-height: 80px;
    padding-inline: max(56px, calc((100vw - 1560px) / 2));
    gap: 24px;
  }

  .site-header__avatar,
  .site-header__mono {
    width: 42px;
    height: 42px;
  }

  .site-header__brand {
    grid-template-columns: minmax(0, auto);
  }

  .site-header__name {
    font-size: 16px;
  }

  .site-header__role {
    font-size: 13px;
  }

  .site-header__product-nav {
    gap: 6px;
    padding: 5px;
  }

  .site-header__product-nav a,
  .site-header__cabinet-link {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 13px;
    line-height: 18px;
  }

  .site-header__cabinet-link {
    padding-inline: 24px;
  }

  body.product-quiz-page .quiz-wrapper,
  body.product-tracker-landing-page main,
  body.product-tracker-app-page main,
  body.product-meal-page main,
  body.product-not-found-page .not-found-main {
    width: min(100% - 112px, 1480px);
  }

  body.product-quiz-page .quiz-wrapper {
    max-width: 1480px;
    padding-top: 64px;
  }

  body.product-quiz-page .start-screen {
    grid-template-columns: minmax(0, .88fr) minmax(560px, 1fr);
    min-height: 650px;
    padding: 70px;
    gap: 68px;
  }

  body.product-quiz-page .start-screen::after {
    min-height: 510px;
  }

  body.product-quiz-page .start-title {
    max-width: 680px;
    font-size: clamp(70px, 3.7vw, 88px);
  }

  body.product-quiz-page .start-subtitle {
    max-width: 600px;
    font-size: 20px;
  }

  body.product-quiz-page .btn-start {
    min-height: 60px;
    min-width: 240px;
    font-size: 16px;
  }

  body.product-meal-page .hero,
  body.product-tracker-page .hero,
  body.product-guide-page .hero {
    width: min(100%, 1480px);
    margin-top: 56px;
    padding: 72px;
    border-radius: 34px;
  }

  body.product-meal-page .hero h1,
  body.product-tracker-page .hero h1,
  body.product-guide-page .hero h1 {
    max-width: 740px;
    font-size: clamp(64px, 3.7vw, 88px);
  }

  body.product-meal-page .hero-sub,
  body.product-tracker-page .hero-sub,
  body.product-tracker-page .hero p,
  body.product-guide-page .hero-subtitle {
    max-width: 640px;
    font-size: 20px;
  }

  body.product-guide-page .container {
    max-width: 1040px;
  }

  body.product-tracker-page .section-inner,
  body.product-tracker-page .container,
  body.product-meal-page .meal-plan-prestate,
  body.product-meal-page .container {
    max-width: 1120px;
  }

  body.product-cabinet-page .container {
    max-width: 1440px;
  }

  body.product-cabinet-page .cabinet-entry {
    max-width: 800px;
  }

  body.product-cabinet-page .entry-card {
    padding: 44px 48px;
  }

  body.product-cabinet-page .entry-card h1 {
    font-size: 40px;
  }

  body.product-cabinet-page .entry-card p {
    font-size: 17px;
  }

  body.product-cabinet-page .cabinet-preview {
    display: grid;
    grid-template-columns: minmax(430px, .86fr) minmax(620px, 1.14fr);
    gap: 26px;
    align-items: start;
  }

  body.product-cabinet-page .preview-hero,
  body.product-cabinet-page .preview-program,
  body.product-cabinet-page .preview-materials {
    margin-bottom: 0;
  }

  body.product-cabinet-page .preview-hero {
    padding: 40px;
  }

  body.product-cabinet-page .preview-hero h1 {
    font-size: 42px;
  }

  body.product-cabinet-page .preview-hero p,
  body.product-cabinet-page .preview-program__body p,
  body.product-cabinet-page .preview-materials p {
    font-size: 16px;
  }

  body.product-cabinet-page .preview-program {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  body.product-cabinet-page .preview-program__cover {
    min-height: 390px;
  }

  body.product-cabinet-page .preview-program__body {
    padding: 32px;
  }

  body.product-cabinet-page .preview-program__body h2 {
    font-size: 34px;
  }

  body.product-cabinet-page .preview-route {
    grid-column: 1;
    margin-bottom: 0;
  }

  body.product-cabinet-page .preview-route-card {
    padding: 18px;
  }

  body.product-cabinet-page .preview-materials {
    padding: 30px;
  }

  body.product-cabinet-page .preview-materials h2 {
    font-size: 26px;
  }

  body.product-cabinet-page .preview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.product-cabinet-page .cabinet-preview > .preview-materials:nth-of-type(5) {
    grid-column: 2;
  }

  body.product-cabinet-page .cabinet-preview > .entry-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.product-quiz-page .quiz-wrapper,
  body.product-tracker-landing-page main,
  body.product-tracker-app-page main,
  body.product-meal-page main,
  body.product-not-found-page .not-found-main {
    width: min(100% - 28px, 1180px);
  }

  body.product-quiz-page .start-screen {
    display: block;
    min-height: auto;
    padding: 34px 26px 30px;
    border-radius: 28px;
    background:
      linear-gradient(180deg, rgba(23,42,35,0.94), rgba(23,42,35,0.88)),
      url('/_assets/home/home-tool-quiz.jpg') center / cover no-repeat;
  }

  body.product-quiz-page .start-screen::before,
  body.product-quiz-page .start-screen::after {
    display: none;
  }

  body.product-quiz-page .start-screen > * {
    position: relative;
    grid-column: auto;
  }

  body.product-quiz-page .start-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  body.product-quiz-page .start-subtitle {
    font-size: 16px;
  }

  body.product-quiz-page .start-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.product-quiz-page .btn-start {
    width: 100%;
  }

  body.product-quiz-page .question-card {
    min-height: auto;
    padding: 28px 18px 22px;
  }

  body.product-quiz-page .question-text {
    font-size: 19px;
    margin-bottom: 20px;
  }

  body.product-quiz-page .option-btn {
    min-height: 52px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  body.product-meal-page .hero,
  body.product-tracker-page .hero,
  body.product-guide-page .hero {
    padding: 32px 24px;
    border-radius: 28px;
    background-position: center;
  }

  body.product-meal-page .hero h1,
  body.product-tracker-page .hero h1,
  body.product-guide-page .hero h1 {
    max-width: 100%;
    font-size: clamp(31px, 10vw, 42px);
    line-height: 1.06;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  body.product-guide-page .hero-subtitle,
  body.product-meal-page .hero-sub,
  body.product-tracker-page .hero-sub,
  body.product-tracker-page .hero p {
    color: rgba(255,255,255,0.88);
  }

  body.product-guide-page .container,
  body.product-tracker-page .section-inner,
  body.product-tracker-page .container,
  body.product-meal-page .meal-plan-prestate,
  body.product-meal-page .container,
  body.product-cabinet-page .container {
    max-width: 760px;
  }

  body.product-meal-page main {
    width: 100% !important;
    margin: 0 !important;
  }

  body.product-meal-page .hero,
  body.product-meal-page .meal-plan-prestate,
  body.product-meal-page .container {
    width: min(calc(100% - 20px), 1120px) !important;
  }

  body.product-meal-page .container {
    padding-inline: 0 !important;
  }

  body.product-meal-page .glass-card {
    padding: 18px !important;
    border-radius: 20px;
  }

  body.product-meal-page .week-tabs {
    gap: 8px;
    padding-top: 4px;
  }

  body.product-meal-page .week-tab {
    flex: 1 1 0;
    min-width: 0;
    background: #F5F0EA;
    border-color: rgba(225, 215, 203, 0.9);
    color: #435D43;
  }

  body.product-meal-page .week-tab.active {
    background: #E9EFE4;
    border-color: rgba(67,93,67,0.34);
    color: #2F4732;
  }

  body.product-meal-page .day-tabs {
    gap: 3px;
    padding: 2px 1px 8px;
    margin-top: 12px;
    scroll-snap-type: x proximity;
  }

  body.product-meal-page .day-tab {
    min-width: 40px !important;
    min-height: 58px !important;
    padding: 6px 0 !important;
    border-radius: 18px;
    scroll-snap-align: center;
    touch-action: manipulation;
  }

  body.product-meal-page .day-tab .tab-weekday {
    color: #6F806E;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  body.product-meal-page .day-tab .tab-circle {
    width: 31px !important;
    height: 31px !important;
    font-size: 13px;
  }

  body.product-meal-page .meal-card {
    border-radius: 14px;
  }

  body.product-meal-page .meal-card-header {
    min-height: 62px;
    padding: 12px !important;
    gap: 8px !important;
  }

  body.product-meal-page .meal-type-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  body.product-meal-page .meal-info {
    min-width: 0;
  }

  body.product-meal-page .meal-name {
    font-size: 11px;
  }

  body.product-meal-page .meal-title {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13.5px;
    line-height: 1.25;
  }

  body.product-meal-page .meal-kcal {
    align-self: center;
    min-width: max-content;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
  }

  body.product-meal-page .meal-chevron {
    align-self: center;
  }
}

.site-header__menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(225, 215, 203, 0.86);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #2F4732;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(47,71,50,0.08);
}

.site-header__menu-toggle:focus-visible,
.product-mobile-menu a:focus-visible {
  outline: 2px solid #435D43;
  outline-offset: 3px;
}

.site-header__menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.site-header__menu-toggle span:nth-child(1) { transform: translateY(-6px); }
.site-header__menu-toggle span:nth-child(3) { transform: translateY(6px); }

.site-header__menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.product-mobile-menu {
  position: fixed;
  top: 70px;
  left: 14px;
  right: 14px;
  z-index: 9998;
  border: 1px solid rgba(225, 215, 203, 0.9);
  border-radius: 24px;
  background: rgba(255,253,248,0.98);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(23,42,35,0.2);
  overscroll-behavior: contain;
}

.product-mobile-menu__inner {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.product-mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  color: #202326;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.product-mobile-menu a:hover,
.product-mobile-menu a[aria-current="page"] {
  background: #E9EFE4;
  color: #2F4732;
}

.product-mobile-menu__featured {
  margin-top: 6px;
  background: #435D43;
  color: #FFFFFF !important;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(67,93,67,0.22);
}

.product-mobile-menu__featured.is-disabled,
.product-mobile-menu__support.is-disabled {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
}

.product-mobile-menu__support {
  justify-content: center;
  color: #2F6F5E !important;
}

body.product-menu-open {
  overflow: hidden;
}

body.product-menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(23,42,35,0.16);
}

body.product-shell-ready .bottom-nav,
body.product-shell-ready .bottom-nav.visible {
  display: none !important;
}

body.product-shell-ready.body-nav-pad {
  padding-bottom: 0 !important;
}

.product-scroll-progress {
  position: fixed;
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(7px + env(safe-area-inset-bottom, 0px));
  z-index: 9996;
  height: 4px;
  border-radius: 999px;
  background: rgba(47, 71, 50, 0.12);
  pointer-events: none;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(47, 71, 50, 0.08);
}

.product-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #435D43, #A4616D);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (min-width: 921px) {
  .product-scroll-progress {
    display: none;
  }
}

@media (min-width: 960px) {
  .site-header__role {
    display: inline;
  }
}

@media (max-width: 920px) {
  body.product-shell-ready.body-nav-pad {
    padding-top: calc(58px + env(safe-area-inset-top, 0px)) !important;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    gap: 10px;
    min-height: 58px;
  }

  .site-header__product-nav {
    display: none;
  }

  .site-header__cabinet-link {
    display: none;
  }

  .site-header__menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
  }
}
