.nova-menu,
[data-nova-palette="forest"] {
  --nova-paper: #fbf8f1;
  --nova-ink: #20382a;
  --nova-muted: #556251;
  --nova-accent: #23513c;
  --nova-line: #dddcd0;
  --nova-hover: #eeeae0;
  --nova-tint: #e5ebdd;
  --nova-deep: #203b2d;
  --nova-trim: #d9c698;
}
.nova-menu[data-theme="navy"],
[data-nova-palette="navy"] {
  --nova-paper: #f1f3f4;
  --nova-ink: #202d3e;
  --nova-muted: #4f5f70;
  --nova-accent: #2f4b6b;
  --nova-line: #cdd4da;
  --nova-hover: #e8ebef;
  --nova-tint: #dce4ed;
  --nova-deep: #24364c;
  --nova-trim: #a8b9ca;
}
.nova-menu[data-theme="burgundy"],
[data-nova-palette="burgundy"] {
  --nova-paper: #f8f0ef;
  --nova-ink: #3f2931;
  --nova-muted: #6d525b;
  --nova-accent: #703c50;
  --nova-line: #e0cfd2;
  --nova-hover: #f0e3e6;
  --nova-tint: #eedde1;
  --nova-deep: #502d3b;
  --nova-trim: #d8aeb7;
}
.nova-menu[data-theme="espresso"],
[data-nova-palette="espresso"] {
  --nova-paper: #f6f0e7;
  --nova-ink: #3d2f28;
  --nova-muted: #665548;
  --nova-accent: #694a36;
  --nova-line: #dfd1c2;
  --nova-hover: #eee4d7;
  --nova-tint: #eaddce;
  --nova-deep: #453227;
  --nova-trim: #cba581;
}
.nova-menu {
  --nova-white: #ffffff;
  --nova-header-height: 76px;
  --nova-nav-height: 162px;
  background: var(--nova-paper);
  color: var(--nova-ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.6;
}
.nova-menu [hidden] { display: none !important; }
.nova-menu :focus-visible { outline: 3px solid var(--nova-accent); outline-offset: 5px; }
.nova-menu svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nova-shell { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }
.nova-skip { position: fixed; top: 8px; right: 16px; z-index: 50; padding: 12px 20px; border-radius: 12px; background: var(--nova-accent); color: var(--nova-white); transform: translateY(-150%); }
.nova-skip:focus { transform: translateY(0); }
.nova-header { position: sticky; top: 0; z-index: 40; display: grid; min-height: var(--nova-header-height); grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 8px; border-bottom: 1px solid var(--nova-line); background: var(--nova-paper); }
.nova-brand { grid-area: 1 / 2; display: inline-flex; min-height: 48px; align-items: center; gap: 6px; color: var(--nova-ink); text-decoration: none; }
.nova-brand svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.nova-brand span { font-size: 2rem; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.nova-theme-toggle { grid-area: 1 / 1; justify-self: end; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--nova-ink); cursor: pointer; }
.nova-theme-toggle:hover, .nova-theme-toggle[aria-expanded="true"] { background: var(--nova-tint); color: var(--nova-accent); }
.nova-theme-panel { position: absolute; inset-block-start: calc(100% - 4px); inset-inline: 0; width: min(100%, 288px); margin-inline: auto; padding: 12px; border: 1px solid var(--nova-line); border-radius: 10px; background: var(--nova-paper); box-shadow: 0 12px 32px #2118122e; }
.nova-theme-panel h2 { margin: 0 8px 6px; color: var(--nova-muted); font-size: .8125rem; font-weight: 700; }
.nova-theme-option { display: grid; width: 100%; min-height: 46px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--nova-ink); font: inherit; font-size: .875rem; text-align: start; cursor: pointer; }
.nova-theme-option:hover { background: var(--nova-hover); }
.nova-theme-option[aria-pressed="true"] { border-color: var(--nova-accent); background: var(--nova-tint); color: var(--nova-accent); font-weight: 750; }
.nova-theme-option:focus-visible { outline-offset: -3px; }
.nova-theme-swatch { display: flex; direction: ltr; gap: 3px; }
.nova-theme-swatch i { width: 15px; height: 15px; border: 1px solid #17121026; border-radius: 50%; background: var(--nova-deep); }
.nova-theme-swatch i:nth-child(2) { background: var(--nova-trim); }
.nova-theme-swatch i:nth-child(3) { background: var(--nova-paper); }

.nova-hero-picker { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 12px; }
.nova-hero-picker > span { color: var(--nova-muted); font-size: .875rem; font-weight: 700; }
.nova-hero-options { display: flex; align-items: center; gap: 4px; }
.nova-hero-options button { min-height: 44px; padding: 0 13px; border: 0; border-radius: 6px; background: transparent; color: var(--nova-ink); font: inherit; font-size: .875rem; font-weight: 650; cursor: pointer; }
.nova-hero-options button:hover { background: var(--nova-hover); }
.nova-hero-options button[aria-pressed="true"] { background: var(--nova-tint); color: var(--nova-accent); }
.nova-hero-stage { --nova-hero-height: clamp(410px, 40vw, 505px); }
.nova-hero { display: grid; height: var(--nova-hero-height); overflow: hidden; isolation: isolate; border-radius: 8px; }
.nova-hero-copy { position: relative; z-index: 1; min-width: 0; align-self: center; }
.nova-hero h1 { margin: 0; font-size: clamp(2.5rem, 6.2vw, 5.7rem); font-weight: 900; line-height: 1.12; }
.nova-hero h1 em { color: var(--hero-emphasis); font-style: normal; }
.nova-hero-copy > p { margin: 20px 0 25px; font-size: clamp(.9rem, 1.55vw, 1.13rem); line-height: 1.8; }
.nova-hero-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 9px 18px; border-radius: 5px; background: var(--hero-button); color: var(--hero-button-text); font-size: .9rem; font-weight: 750; text-decoration: none; }
.nova-hero-cta:hover { box-shadow: inset 0 0 0 2px currentColor; }
.nova-hero .nova-hero-cta:focus-visible { outline-color: currentColor; outline-offset: -4px; }
.nova-hero-art { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }

.nova-hero--citrus { --hero-emphasis: #a8341b; --hero-button: #332516; --hero-button-text: #fff8eb; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr); background: #f4e8d2; color: #332516; }
.nova-hero--citrus .nova-hero-copy { padding: 32px clamp(28px, 6vw, 86px); }
.nova-hero--citrus .nova-hero-art { object-position: 48% center; }

.nova-hero--berry { --hero-shade: #260817; --hero-emphasis: #ffb9c5; --hero-button: #ffe8ed; --hero-button-text: #3e1026; grid-template: minmax(0, 1fr) / minmax(0, 1fr); background: var(--hero-shade); color: #fff7f3; }
.nova-hero--berry > * { grid-area: 1 / 1; }
.nova-hero--berry::after { grid-area: 1 / 1; z-index: 0; background: linear-gradient(270deg, var(--hero-shade) 17%, color-mix(in srgb, var(--hero-shade) 77%, transparent) 40%, transparent 68%); content: ""; }
.nova-hero--berry .nova-hero-art { object-position: 30% 51%; }
.nova-hero--berry .nova-hero-copy { justify-self: start; padding: 32px clamp(32px, 6vw, 86px); }

.nova-hero--green { --hero-button: #234033; --hero-button-text: #f5f8e9; grid-template-rows: auto minmax(0, 1fr); background: #deead0; color: #1e3d2e; text-align: center; }
.nova-hero--green .nova-hero-copy { padding: 34px 18px 25px; }
.nova-hero--green h1 { font-size: clamp(2rem, 5.7vw, 5rem); }
.nova-hero--green .nova-hero-copy > p { margin: 10px 0 18px; }
.nova-hero--green .nova-hero-art { object-position: 50% 53%; }
.nova-menu[data-theme]:not([data-theme="forest"]) :is(.nova-hero--citrus, .nova-hero--green) { --hero-emphasis: var(--nova-accent); --hero-button: var(--nova-deep); --hero-button-text: var(--nova-white); background: var(--nova-tint); color: var(--nova-ink); }
.nova-menu[data-theme]:not([data-theme="forest"]) .nova-hero--berry { --hero-shade: var(--nova-deep); --hero-emphasis: var(--nova-trim); --hero-button: var(--nova-paper); --hero-button-text: var(--nova-ink); }

@media (prefers-reduced-motion: no-preference) {
  .nova-hero-options button { transition: background-color .18s ease; }
  .nova-hero-stage[data-switched] .nova-hero:not([hidden]) .nova-hero-copy { animation: nova-hero-enter .28s ease-out both; }
  .nova-theme-panel:not([hidden]) { animation: nova-theme-enter .16s ease-out; }
  .nova-product[data-revealing]:not(:focus-within) {
    animation: nova-product-enter .46s cubic-bezier(.22, 1, .36, 1) var(--nova-reveal-delay, 0ms) backwards;
  }
}
@keyframes nova-hero-enter {
  from { transform: translateY(7px); opacity: .55; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes nova-theme-enter {
  from { transform: translateY(-4px); opacity: .65; }
}
@keyframes nova-product-enter {
  from { transform: translateY(10px); opacity: .35; }
}
.nova-controls { --nova-search-width: 240px; position: sticky; top: var(--nova-header-height); z-index: 20; display: grid; grid-template-columns: minmax(0, var(--nova-search-width)) minmax(0, 1fr); grid-template-areas: "search categories"; gap: 16px; align-items: center; margin-top: 24px; padding: 18px 0; border-bottom: 1px solid var(--nova-line); background: var(--nova-paper); }
.nova-controls[data-stuck] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "categories"; }
.nova-controls[data-stuck] .nova-search { display: none; }
.nova-search { grid-area: search; }
.nova-tabs { grid-area: categories; }
.nova-grid-picker { display: flex; width: fit-content; margin-block-start: 12px; margin-inline: auto; direction: ltr; }
.nova-grid-picker:not([hidden]) + .nova-controls { margin-top: 0; }
.nova-grid-picker button { display: grid; width: 38px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--nova-muted); cursor: pointer; }
.nova-grid-picker button:hover { background: var(--nova-hover); }
.nova-grid-picker button:focus-visible { outline-offset: -3px; }
.nova-grid-picker button[aria-pressed="true"] { color: var(--nova-ink); }
.nova-grid-picker span { width: var(--icon-size, 16px); aspect-ratio: 1; background: currentColor; }
.nova-grid-picker button[data-columns="2"] span { --icon-tile: 7px; --icon-step: 9px; }
.nova-grid-picker button[data-columns="3"] span { --icon-tile: 4px; --icon-step: 6px; }
.nova-grid-picker button[data-columns="4"] span { --icon-tile: 3px; --icon-step: 4px; --icon-size: 15px; }
.nova-grid-picker button:not([data-columns="1"]) span {
  mask-image: repeating-linear-gradient(to right, #000 0 var(--icon-tile), transparent var(--icon-tile) var(--icon-step)),
    repeating-linear-gradient(to bottom, #000 0 var(--icon-tile), transparent var(--icon-tile) var(--icon-step));
  mask-composite: intersect;
}
.nova-search { display: flex; min-width: 0; min-height: 48px; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid var(--nova-line); }
.nova-search > svg { color: var(--nova-muted); }
.nova-search input { width: 100%; min-width: 0; padding-block: 12px; border: 0; outline: 0; appearance: none; -webkit-appearance: none; background: transparent; color: var(--nova-ink); font: inherit; font-size: .75rem; }
.nova-menu .nova-search input:focus-visible { outline: 0; }
.nova-search input::-webkit-search-decoration { display: none; }
.nova-search input::-webkit-search-cancel-button { display: none; }
.nova-search input::placeholder { color: var(--nova-muted); }
.nova-search button { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; margin-inline-end: -10px; border: 0; border-radius: 10px; background: transparent; color: var(--nova-muted); cursor: pointer; }
.nova-tabs { display: flex; min-width: 0; gap: 4px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--nova-line) transparent; }
.nova-tabs a { display: inline-flex; min-height: 48px; flex: 0 0 auto; align-items: center; padding: 10px 14px; border-bottom: 3px solid transparent; color: var(--nova-muted); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nova-tabs a[aria-current] { border-bottom-color: var(--nova-accent); color: var(--nova-accent); font-weight: 800; }
.nova-tabs a:hover { color: var(--nova-accent); }
.nova-tabs a:focus-visible { outline-offset: -3px; border-radius: 8px; }
.nova-catalog,
.nova-collection { scroll-margin-top: calc(var(--nova-nav-height) + 20px); }
.nova-catalog { --nova-columns: 4; }
.nova-catalog[data-columns="1"] { --nova-columns: 1; }
.nova-catalog[data-columns="2"] { --nova-columns: 2; }
.nova-catalog[data-columns="3"] { --nova-columns: 3; }
.nova-catalog[data-columns="4"] { --nova-columns: 4; }
.nova-search-status { margin: 20px 0 0; color: var(--nova-muted); font-size: .875rem; }
.nova-search-status:empty { display: none; }
.nova-collection { padding-top: 44px; padding-bottom: 20px; }
.nova-collection + .nova-collection { margin-top: 20px; border-top: 1px solid var(--nova-line); }
.nova-collection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.nova-collection-heading h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.4; }
.nova-collection-heading > p { margin: 0; color: var(--nova-muted); font-size: .875rem; }
.nova-product-grid { display: grid; grid-template-columns: repeat(var(--nova-columns), minmax(0, 1fr)); gap: 26px; }
.nova-product { display: flex; min-width: 0; flex-direction: column; }
.nova-product-image { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--nova-tint); }
.nova-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nova-product-badge { position: absolute; top: 12px; right: 12px; padding: 5px 12px; border-radius: 8px; background: var(--nova-white); color: var(--nova-ink); font-size: .75rem; font-weight: 700; }
.nova-product-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 18px; }
.nova-product h3 { align-self: stretch; margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.nova-ingredients { margin: 6px 0 18px; color: var(--nova-muted); font-size: .875rem; line-height: 1.8; }
.nova-product-price { display: flex; flex-wrap: wrap; align-self: stretch; align-items: baseline; justify-content: center; gap: 6px; margin: auto 0 0; padding-top: 10px; color: var(--nova-ink); }
.nova-product-price strong { font-size: 1.125rem; font-weight: 400; line-height: 1.4; }
.nova-product-price > span { color: var(--nova-muted); font-size: .75rem; }
.nova-catalog[data-columns="1"] .nova-product-grid { gap: 0; }
.nova-catalog[data-columns="1"] .nova-product { display: grid; grid-template-columns: clamp(82px, 24vw, 164px) minmax(0, 1fr); align-items: center; gap: clamp(14px, 4vw, 30px); padding-block: 12px; border-bottom: 1px solid var(--nova-line); }
.nova-catalog[data-columns="1"] .nova-product-image { aspect-ratio: 1; }
.nova-catalog[data-columns="1"] .nova-product-copy { padding-top: 0; }
.nova-catalog[data-columns="1"] .nova-product-price { margin-top: 6px; }
.nova-empty { padding: 72px 16px; text-align: center; }
.nova-empty h2 { margin: 0 0 12px; font-size: 1.5rem; }
.nova-empty p { color: var(--nova-muted); }
.nova-empty button { min-height: 48px; padding: 12px 20px; border: 0; border-radius: 12px; background: var(--nova-accent); color: var(--nova-white); font: inherit; cursor: pointer; }
.nova-footer { margin: 64px 0 16px; padding: clamp(22px, 4vw, 52px) clamp(20px, 5vw, 62px) 13px; border-radius: 8px; background: var(--nova-deep); color: var(--nova-paper); }
.nova-footer-main { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); align-items: start; gap: 36px; }
.nova-footer-intro h2 { width: fit-content; margin: 0 0 8px; color: var(--nova-trim); font-size: clamp(3.3rem, 7vw, 6.2rem); font-weight: 900; letter-spacing: -.075em; line-height: 1; }
.nova-footer-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 10px; }
.nova-footer-details h3 { margin: 0 0 10px; font-size: .95rem; }
.nova-footer p, .nova-footer address { margin: 0; color: var(--nova-tint); font-size: .875rem; font-style: normal; line-height: 1.85; }
.nova-footer bdi { overflow-wrap: anywhere; }
.nova-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--nova-trim) 50%, transparent); }
.nova-footer-bottom p { font-size: .8rem; }
.nova-footer-bottom a { display: inline-flex; min-height: 44px; flex-shrink: 0; align-items: center; gap: 6px; font-size: .8125rem; text-decoration: none; }
.nova-footer-bottom a:hover { text-decoration: underline; }
.nova-footer-bottom a:focus-visible { outline-color: var(--nova-trim); }
.nova-to-top { position: fixed; z-index: 30; inset-inline-end: max(16px, calc((100% - 1240px) / 2 + 12px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid var(--nova-line); border-radius: 50%; background: var(--nova-accent); color: var(--nova-white); box-shadow: 0 3px 10px #20382a38; }
.nova-to-top:hover { background: var(--nova-deep); }

@media (max-width: 960px) {
  .nova-controls { --nova-search-width: 210px; gap: 12px; }
  .nova-product-grid { gap: 18px; }
}
@media (max-width: 700px) {
  .nova-menu { --nova-header-height: 62px; --nova-nav-height: 127px; }
  .nova-hero-picker { min-height: 60px; }
  .nova-hero-picker > span, .nova-hero-options button { font-size: .78rem; }
  .nova-hero-options button { padding-inline: 8px; }
  .nova-hero-stage { --nova-hero-height: 462px; }
  .nova-hero h1 { font-size: clamp(2.4rem, 8.8vw, 3.7rem); }
  .nova-hero-copy > p { margin: 12px 0 16px; }
  .nova-hero--citrus { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .nova-hero--citrus .nova-hero-copy { padding: 24px 24px 21px; }
  .nova-hero--citrus .nova-hero-art { object-position: center 52%; }
  .nova-hero--berry .nova-hero-copy { align-self: start; padding: 25px 24px; }
  .nova-hero--berry::after { background: linear-gradient(180deg, var(--hero-shade) 0%, color-mix(in srgb, var(--hero-shade) 92%, transparent) 26%, color-mix(in srgb, var(--hero-shade) 36%, transparent) 56%, transparent 77%); }
  .nova-hero--berry .nova-hero-art { object-position: 13% center; }
  .nova-hero--green .nova-hero-copy { padding-block: 32px 20px; }
  .nova-hero--green h1 { font-size: clamp(2rem, 8vw, 3.1rem); }
  .nova-controls { grid-template-columns: minmax(0, 1fr); grid-template-areas: "search" "categories"; gap: 8px; margin-top: 16px; padding: 12px 0 4px; }
  .nova-grid-picker + .nova-search { margin-top: 12px; }
  .nova-search + .nova-controls { grid-template-areas: "categories"; margin-top: 0; }
  .nova-search { position: relative; justify-content: center; gap: 6px; padding-inline: 0; }
  .nova-search input { width: min(11.25rem, calc(100% - 116px)); font-size: .75rem; text-align: center; }
  .nova-search button { position: absolute; inset-inline-end: 0; margin-inline-end: 0; }
  .nova-tabs { margin-inline: -4px; }
  .nova-tabs a { padding-inline: 14px; font-size: .8125rem; }
  .nova-catalog { --nova-columns: 2; }
  .nova-product-grid { gap: 28px 18px; }
  .nova-catalog:is([data-columns="3"], [data-columns="4"]) .nova-product-grid { gap: 18px 8px; }
  .nova-catalog:is([data-columns="3"], [data-columns="4"]) .nova-product-image { border-radius: 8px; }
  .nova-catalog:is([data-columns="3"], [data-columns="4"]) .nova-product-copy { padding-top: 8px; }
  .nova-catalog:is([data-columns="3"], [data-columns="4"]) .nova-product h3 { font-size: .813rem; }
  .nova-catalog:is([data-columns="3"], [data-columns="4"]) .nova-product-price { gap: 0 3px; }
  .nova-catalog:is([data-columns="3"], [data-columns="4"]) .nova-product-price strong { font-size: .8125rem; }
  .nova-collection { padding-top: 32px; }
  .nova-collection-heading { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
  .nova-collection-heading > p { font-size: .8125rem; }
  .nova-product h3 { font-size: 1rem; }
  .nova-ingredients { font-size: .8125rem; }
  .nova-product-image { border-radius: 16px; }
  .nova-product-badge { top: 8px; right: 8px; padding: 4px 8px; }
  .nova-footer-main { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nova-footer-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .nova-footer-bottom { flex-wrap: wrap; margin-top: 22px; }
}
@media (max-width: 380px) {
  .nova-shell { width: calc(100% - 28px); }
  .nova-hero-options { gap: 1px; }
  .nova-hero-options button { padding-inline: 6px; }
  .nova-product-grid { column-gap: 14px; }
  .nova-product-price strong { font-size: 1rem; }
  .nova-controls { row-gap: 4px; }
}
