:root {
  --cream: #fff7ec;
  --cream-deep: #f4e6d5;
  --paper: #fffdf8;
  --teal: #007b84;
  --teal-dark: #073f45;
  --coral: #f26161;
  --orange: #f7a522;
  --brown: #6a5036;
  --ink: #18373b;
  --muted: #6f7b78;
  --line: rgba(106, 80, 54, 0.2);
  --shadow: 0 22px 55px rgba(64, 42, 19, 0.12);
  --shadow-deep: 0 30px 80px rgba(24, 55, 59, 0.18);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[dir="rtl"] {
  --display: Tahoma, Arial, sans-serif;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 3%, rgba(0, 123, 132, 0.09), transparent 21rem),
    radial-gradient(circle at 96% 22%, rgba(242, 97, 97, 0.08), transparent 18rem),
    var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: contain;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 63, 69, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 63, 69, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

html[dir="rtl"] body {
  font-family: Tahoma, Arial, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 138px minmax(190px, 1fr) auto;
  align-items: center;
  min-height: 78px;
  padding: 8px clamp(22px, 4vw, 58px);
  border-bottom: 1px solid rgba(106, 80, 54, 0.12);
  background: rgba(255, 247, 236, 0.91);
  backdrop-filter: blur(18px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.brand {
  display: inline-flex;
  width: 118px;
  height: 62px;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: auto;
  height: 100%;
  max-height: 58px;
  object-fit: contain;
}

.topbar-title {
  display: grid;
  gap: 2px;
  padding-inline-start: 24px;
  border-inline-start: 1px solid var(--line);
}

.topbar-title span,
.currency-note,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.topbar-title span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 800;
}

.topbar-title strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
}

.currency-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.language-switch {
  position: relative;
  display: grid;
  width: 112px;
  height: 40px;
  flex: 0 0 auto;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(7, 63, 69, 0.18);
  border-radius: 999px;
  background: rgba(7, 63, 69, 0.07);
  direction: ltr;
}

.language-indicator {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--teal-dark);
  box-shadow: 0 6px 16px rgba(7, 63, 69, 0.2);
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.language-switch[data-active-language="ar"] .language-indicator {
  transform: translateX(100%);
}

.language-switch button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.language-switch button[aria-pressed="true"] {
  color: white;
}

.language-switch button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -2px;
}

.category-strip {
  position: sticky;
  z-index: 40;
  top: 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.category-list {
  display: flex;
  width: min(100%, 1240px);
  margin: 0 auto;
  gap: 8px;
  padding: 12px clamp(18px, 4vw, 54px);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-list::-webkit-scrollbar {
  display: none;
}

.category-button {
  position: relative;
  flex: 1 0 auto;
  min-width: 148px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 760;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.category-button:hover,
.category-button:focus-visible {
  border-color: rgba(0, 123, 132, 0.24);
  color: var(--teal);
  outline: none;
}

.category-button:active {
  transform: scale(0.97);
}

.category-button[aria-pressed="true"] {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  color: white;
  box-shadow: 0 10px 25px rgba(7, 63, 69, 0.18);
}

main {
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 42px);
}

.featured-stage {
  position: relative;
  display: grid;
  min-height: min(510px, 62vh);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 123, 132, 0.42), transparent 31%),
    linear-gradient(135deg, #052f34, #073f45 60%, #0a5057);
  color: white;
  box-shadow: var(--shadow-deep);
}

.featured-stage::before {
  position: absolute;
  inset: auto auto -46% -10%;
  width: 460px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.featured-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 82px);
}

.mini-label {
  margin: 0 0 18px;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 850;
}

.featured-copy h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.3rem, 8.5vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.76;
}

html[dir="rtl"] .featured-copy h1 {
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.featured-copy h1 em {
  color: var(--orange);
  font-weight: 400;
}

.featured-copy > p:not(.mini-label) {
  max-width: 34rem;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.featured-prices {
  display: flex;
  gap: 12px;
  margin-block-start: 28px;
}

.featured-prices span {
  display: grid;
  min-width: 92px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 13px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.featured-prices small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
}

.featured-prices strong {
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.45rem;
}

.featured-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 24px;
  margin-block-start: 30px;
  padding: 14px 18px 14px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.featured-action-label {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.featured-action:hover,
.featured-action:focus-visible {
  outline: none;
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.featured-action > span:last-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
}

.featured-visual {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 54% 42%, rgba(255, 255, 255, 0.34), transparent 26%),
    linear-gradient(145deg, #ffd369, #f7a522 52%, #ef7b45);
}

.featured-visual::after {
  position: absolute;
  inset: 8% 8% auto auto;
  width: 80%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  content: "";
  transform: translate(28%, -24%);
}

.featured-visual img {
  position: relative;
  z-index: 2;
  width: min(77%, 420px);
  max-height: 455px;
  object-fit: contain;
  filter: drop-shadow(0 30px 28px rgba(81, 44, 8, 0.24));
  animation: float-product 5.5s ease-in-out infinite;
}

.featured-visual p {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 20px;
  margin: 0;
  color: rgba(62, 40, 15, 0.72);
  font-family: var(--display);
  font-size: 0.85rem;
  font-style: italic;
}

.fruit-orbit {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.orbit-one {
  width: 56px;
  height: 56px;
  top: 15%;
  left: 10%;
  background: rgba(242, 97, 97, 0.72);
  animation: drift-one 7s ease-in-out infinite;
}

.orbit-two {
  width: 31px;
  height: 31px;
  right: 12%;
  bottom: 19%;
  background: rgba(0, 123, 132, 0.74);
  animation: drift-two 5s ease-in-out infinite;
}

.menu-section {
  padding: clamp(62px, 8vw, 110px) 0 30px;
  scroll-margin-top: 144px;
}

.menu-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 40px;
  margin-block-end: 34px;
}

.menu-heading-meta {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.menu-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.menu-intro {
  max-width: 470px;
  margin: 0 0 7px;
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.product-count {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 123, 132, 0.18);
  border-radius: 999px;
  background: rgba(0, 123, 132, 0.07);
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
}

.product-count::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  transition: opacity 170ms ease, transform 170ms ease;
}

.product-grid.is-leaving {
  opacity: 0;
  transform: translateY(12px);
}

.product-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 10px 35px rgba(72, 45, 18, 0.055);
  cursor: pointer;
  text-align: start;
  animation: card-enter 460ms both;
  animation-delay: calc(var(--order) * 55ms);
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(0, 123, 132, 0.48);
  outline: none;
  box-shadow: 0 24px 48px rgba(72, 45, 18, 0.12);
  transform: translateY(-6px);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.32;
  background: #fff;
}

.product-image-wrap::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 54%, color-mix(in srgb, var(--card-tone) 13%, transparent), transparent 58%),
    linear-gradient(180deg, transparent 72%, rgba(16, 48, 51, 0.035));
  content: "";
  pointer-events: none;
}

.product-image-wrap img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 16px 24px;
  object-fit: contain;
  filter: drop-shadow(0 16px 15px rgba(41, 43, 32, 0.13));
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.product-card:hover .product-image-wrap img,
.product-card:focus-visible .product-image-wrap img {
  transform: scale(1.045);
}

.product-index {
  position: absolute;
  z-index: 2;
  top: 14px;
  inset-inline-end: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--card-tone, var(--teal));
  color: white;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 7px 20px rgba(26, 51, 52, 0.17);
}

.product-content {
  display: grid;
  min-height: 178px;
  grid-template-rows: auto 1fr auto;
  gap: 11px;
  padding: 22px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.product-title-row h3 {
  margin: 0;
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: 1.48rem;
  line-height: 1.08;
}

.product-price {
  flex: 0 0 auto;
  color: var(--coral);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
}

.product-price small {
  margin-inline-start: 2px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 750;
}

.product-price .fresh-summary {
  display: block;
  max-width: 78px;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: end;
}

.product-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block-start: 13px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
}

.card-footer span:last-child {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 123, 132, 0.1);
  font-size: 1rem;
  transition: transform 220ms ease;
}

.product-card:hover .card-footer span:last-child {
  transform: rotate(45deg);
}

.menu-footer {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 28px;
  margin-block-start: 60px;
  padding: 28px 8px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.menu-footer img {
  width: auto;
  height: 68px;
  object-fit: contain;
}

.menu-footer p {
  margin: 0;
}

.menu-footer a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.product-dialog {
  width: min(930px, calc(100% - 36px));
  max-height: min(760px, calc(100dvh - 36px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 34px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 45px 110px rgba(15, 42, 44, 0.36);
}

.product-dialog[open] {
  animation: dialog-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.product-dialog::backdrop {
  background: rgba(7, 34, 37, 0.68);
  backdrop-filter: blur(8px);
  animation: backdrop-in 260ms ease both;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  inset-inline-end: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(7, 63, 69, 0.78);
  color: white;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: var(--coral);
  outline: none;
  transform: rotate(8deg);
}

.dialog-layout {
  display: grid;
  min-height: 565px;
  grid-template-columns: 1.04fr 0.96fr;
}

.dialog-visual {
  position: relative;
  display: grid;
  min-height: 565px;
  place-items: center;
  overflow: hidden;
  padding: 36px;
  background: #fff;
}

.dialog-visual::before,
.dialog-visual::after {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--assembly-tone, var(--teal)) 18%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--assembly-tone, var(--teal)) 3%, transparent);
  content: "";
}

.dialog-visual::before {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -140px;
}

.dialog-visual::after {
  width: 170px;
  height: 170px;
  right: -52px;
  bottom: -38px;
}

.dialog-visual > #dialog-image {
  position: relative;
  z-index: 2;
  width: min(100%, 390px);
  max-height: 475px;
  object-fit: contain;
  filter: drop-shadow(0 25px 24px rgba(42, 43, 35, 0.18));
  animation: ingredient-left 520ms 80ms cubic-bezier(0.15, 0.8, 0.25, 1) both;
}

.product-dialog.has-assembly {
  width: min(1040px, calc(100% - 36px));
}

.product-dialog.has-assembly .dialog-layout {
  grid-template-columns: 1.12fr 0.88fr;
}

.product-dialog.has-assembly .dialog-visual {
  background: #fff;
}

.assembly-stage[hidden],
.assembly-replay[hidden] {
  display: none;
}

.assembly-stage {
  position: absolute;
  z-index: 4;
  inset: 52px 18px 34px;
  display: grid;
  overflow: hidden;
  place-items: center;
  direction: ltr;
  isolation: isolate;
}

.assembly-aura {
  position: absolute;
  z-index: 0;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--assembly-tone, var(--teal)) 24%, transparent);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--assembly-tone, var(--teal)) 11%, transparent),
    transparent 68%
  );
  opacity: 0;
  transform: scale(0.65);
}

.assembly-layers {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.assembly-piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(47, 45, 35, 0.18));
  pointer-events: none;
  user-select: none;
  will-change: opacity, transform, clip-path;
}

.assembly-base { z-index: 1; }
.assembly-cream { z-index: 2; }
.assembly-ingredient { z-index: 3; }
.assembly-sauce { z-index: 4; }
.assembly-garnish { z-index: 5; }
.assembly-final { z-index: 6; }

.assembly-ingredient-left {
  clip-path: inset(0 49% 0 0);
  transform-origin: left center;
}

.assembly-ingredient-right {
  clip-path: inset(0 0 0 49%);
  transform-origin: right center;
}

.assembly-stage.is-playing .assembly-aura {
  animation: assembly-aura-in 820ms 80ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.assembly-stage.is-playing .assembly-base {
  animation: assembly-base-in 620ms var(--part-delay, 40ms) cubic-bezier(0.16, 0.84, 0.22, 1) both;
}

.assembly-stage.is-playing .assembly-cream {
  animation: assembly-cream-in 760ms var(--part-delay, 430ms) cubic-bezier(0.16, 0.84, 0.22, 1) both;
}

.assembly-stage.is-playing .assembly-ingredient {
  animation: assembly-ingredient-in 760ms var(--part-delay, 980ms) cubic-bezier(0.16, 0.84, 0.22, 1) both;
}

.assembly-stage.is-playing .assembly-ingredient-left {
  animation: assembly-ingredient-left-in 700ms var(--part-delay, 760ms) cubic-bezier(0.16, 0.84, 0.22, 1) both;
}

.assembly-stage.is-playing .assembly-ingredient-right {
  animation: assembly-ingredient-right-in 700ms var(--part-delay, 1090ms) cubic-bezier(0.16, 0.84, 0.22, 1) both;
}

.assembly-stage.is-playing .assembly-sauce {
  animation: assembly-sauce-in 720ms var(--part-delay, 1430ms) cubic-bezier(0.24, 0.7, 0.2, 1) both;
}

.assembly-stage.is-playing .assembly-garnish {
  animation: assembly-garnish-in 580ms var(--part-delay, 1780ms) cubic-bezier(0.12, 0.86, 0.2, 1) both;
}

.assembly-stage.is-playing .assembly-final {
  opacity: 0;
}

.assembly-stage.is-finalizing .assembly-base {
  animation: assembly-base-out 160ms ease both !important;
}

.assembly-stage.is-finalizing .assembly-cream {
  animation: assembly-cream-out 160ms ease both !important;
}

.assembly-stage.is-finalizing .assembly-sauce {
  animation: assembly-sauce-out 160ms ease both !important;
}

.assembly-stage.is-finalizing .assembly-garnish {
  animation: assembly-garnish-out 160ms ease both !important;
}

.assembly-stage.is-finalizing .assembly-final {
  animation: assembly-final-in 620ms 170ms cubic-bezier(0.12, 0.86, 0.18, 1) both !important;
}

.assembly-stage[data-final-effect="drink"].is-finalizing .assembly-final {
  animation: assembly-drink-fill-in 680ms 170ms cubic-bezier(0.12, 0.86, 0.18, 1) both !important;
}

.assembly-stage.is-complete .assembly-piece:not(.assembly-final) {
  visibility: hidden;
  opacity: 0 !important;
}

.assembly-progress {
  position: absolute;
  z-index: 8;
  right: 27%;
  bottom: 2px;
  left: 27%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 63, 69, 0.12);
}

.assembly-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--assembly-tone, var(--teal-dark));
  transform: scaleX(0);
  transform-origin: left;
}

.assembly-stage.is-playing .assembly-progress span {
  animation: assembly-progress var(--assembly-duration, 2650ms) linear both;
}

.assembly-stage.is-complete .assembly-progress {
  opacity: 0;
  transition: opacity 200ms ease;
}

.assembly-replay {
  position: absolute;
  z-index: 7;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(7, 63, 69, 0.82);
  color: white;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  backdrop-filter: blur(10px);
  animation: replay-in 320ms ease both;
  transition: background 180ms ease, transform 180ms ease;
}

.assembly-replay:hover,
.assembly-replay:focus-visible {
  background: var(--coral);
  outline: none;
  transform: rotate(-18deg);
}

.dialog-number {
  position: absolute;
  z-index: 3;
  top: 28px;
  inset-inline-start: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-dark);
  color: white;
  font-family: var(--display);
  font-size: 0.85rem;
}

.dialog-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 78px);
  animation: ingredient-right 520ms 90ms cubic-bezier(0.15, 0.8, 0.25, 1) both;
}

.dialog-copy h2 {
  margin: 0;
  color: var(--teal-dark);
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.dialog-description {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.ingredient-block {
  margin-block-start: 30px;
}

.ingredient-block > span {
  color: var(--brown);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ingredient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 11px;
}

.ingredient-list span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  animation: chip-in 360ms both;
  animation-delay: calc(var(--chip) * 85ms + 250ms);
}

.dialog-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 33px;
}

.dialog-price {
  display: flex;
  min-width: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border-radius: 15px;
  background: var(--teal-dark);
  color: white;
}

.dialog-price small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
}

.dialog-price strong {
  color: #ffc65c;
  font-family: var(--display);
  font-size: 1.5rem;
}

.dialog-currency {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
}

.fresh-label {
  padding: 12px 15px;
  border: 1px solid rgba(0, 123, 132, 0.26);
  border-radius: 15px;
  background: rgba(0, 123, 132, 0.08);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.dialog-note {
  margin: 20px 0 0;
  color: var(--coral);
  font-family: var(--display);
  font-size: 0.86rem;
  font-style: italic;
}

html[dir="rtl"] .dialog-visual > #dialog-image {
  animation-name: ingredient-right;
}

html[dir="rtl"] .dialog-copy {
  animation-name: ingredient-left;
}

html[dir="rtl"] .ingredient-block > span,
html[dir="rtl"] .topbar-title span,
html[dir="rtl"] .currency-note,
html[dir="rtl"] .mini-label {
  letter-spacing: 0;
  text-transform: none;
}

html[dir="rtl"] .featured-visual {
  direction: ltr;
}

html[dir="rtl"] .featured-visual p {
  right: auto;
  left: 26px;
  font-style: normal;
}

html[dir="rtl"] .dialog-note {
  font-style: normal;
}

.noscript-note {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  left: 20px;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--teal-dark);
  color: white;
  text-align: center;
}

@keyframes float-product {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes drift-one {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -12px); }
}

@keyframes drift-two {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-14px, 11px); }
}

@keyframes card-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ingredient-left {
  from { opacity: 0; transform: translateX(-46px) rotate(-3deg) scale(0.96); }
  to { opacity: 1; transform: translateX(0) rotate(0) scale(1); }
}

@keyframes ingredient-right {
  from { opacity: 0; transform: translateX(38px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes assembly-aura-in {
  0% { opacity: 0; transform: scale(0.62); }
  65% { opacity: 0.78; transform: scale(1.04); }
  100% { opacity: 0.46; transform: scale(1); }
}

@keyframes assembly-base-in {
  0% { opacity: 0; transform: translateY(96px) scale(0.82) rotate(-4deg); }
  68% { opacity: 1; transform: translateY(-7px) scale(0.97) rotate(1deg); }
  100% { opacity: 1; transform: translateY(0) scale(0.94) rotate(0); }
}

@keyframes assembly-cream-in {
  0% { opacity: 0; transform: translateY(-112px) scale(0.58); filter: blur(5px) drop-shadow(0 20px 20px rgba(47, 45, 35, 0.14)); }
  72% { opacity: 1; transform: translateY(8px) scale(0.93); filter: blur(0) drop-shadow(0 24px 22px rgba(47, 45, 35, 0.18)); }
  100% { opacity: 1; transform: translateY(0) scale(0.9); filter: blur(0) drop-shadow(0 24px 22px rgba(47, 45, 35, 0.18)); }
}

@keyframes assembly-ingredient-in {
  0% { opacity: 0; transform: translateX(-135px) translateY(-16px) scale(0.56) rotate(-15deg); }
  55% { opacity: 1; transform: translateX(-10px) translateY(2px) scale(0.82) rotate(3deg); }
  82% { opacity: 1; transform: translateX(0) translateY(0) scale(0.78) rotate(0); }
  100% { opacity: 0; transform: translateX(38px) translateY(2px) scale(0.52) rotate(8deg); }
}

@keyframes assembly-ingredient-left-in {
  0% { opacity: 0; transform: translateX(-145px) translateY(-18px) scale(0.56) rotate(-13deg); }
  55% { opacity: 1; transform: translateX(-12px) translateY(2px) scale(0.82) rotate(2deg); }
  82% { opacity: 1; transform: translateX(0) translateY(0) scale(0.78) rotate(0); }
  100% { opacity: 0; transform: translateX(22px) translateY(1px) scale(0.56) rotate(5deg); }
}

@keyframes assembly-ingredient-right-in {
  0% { opacity: 0; transform: translateX(145px) translateY(-12px) scale(0.56) rotate(13deg); }
  55% { opacity: 1; transform: translateX(12px) translateY(2px) scale(0.82) rotate(-2deg); }
  82% { opacity: 1; transform: translateX(0) translateY(0) scale(0.78) rotate(0); }
  100% { opacity: 0; transform: translateX(-22px) translateY(1px) scale(0.56) rotate(-5deg); }
}

@keyframes assembly-sauce-in {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(-72px) scale(0.72); }
  28% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(-3%) scale(0.76); }
}

@keyframes assembly-garnish-in {
  0% { opacity: 0; transform: scale(0.25) rotate(18deg); }
  62% { opacity: 1; transform: scale(0.86) rotate(-5deg); }
  100% { opacity: 1; transform: scale(0.78) rotate(0); }
}

@keyframes assembly-final-in {
  0% { opacity: 0; transform: scale(0.82); filter: blur(8px) drop-shadow(0 22px 20px rgba(47, 45, 35, 0.14)); }
  72% { opacity: 1; transform: scale(0.98); filter: blur(0) drop-shadow(0 27px 24px rgba(47, 45, 35, 0.2)); }
  100% { opacity: 1; transform: scale(0.94); filter: blur(0) drop-shadow(0 24px 22px rgba(47, 45, 35, 0.18)); }
}

@keyframes assembly-base-out {
  from { opacity: 1; transform: translateY(0) scale(0.94); }
  to { opacity: 0; transform: translateY(8px) scale(0.9); }
}

@keyframes assembly-cream-out {
  from { opacity: 1; transform: translateY(0) scale(0.9); }
  to { opacity: 0; transform: translateY(8px) scale(0.86); }
}

@keyframes assembly-sauce-out {
  from { opacity: 1; transform: translateY(-3%) scale(0.76); }
  to { opacity: 0; transform: translateY(0) scale(0.72); }
}

@keyframes assembly-garnish-out {
  from { opacity: 1; transform: scale(0.78); }
  to { opacity: 0; transform: scale(0.72); }
}

@keyframes assembly-drink-fill-in {
  0% { opacity: 0; clip-path: inset(100% 0 0 0); transform: translateY(34px) scale(0.88); }
  68% { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(-5px) scale(0.97); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0) scale(0.94); }
}

@keyframes assembly-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes replay-in {
  from { opacity: 0; transform: scale(0.72) rotate(-35deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 980px) {
  .featured-stage {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  }

  .featured-copy {
    padding: 42px;
  }

  .featured-copy h1 {
    font-size: clamp(4rem, 9vw, 6rem);
  }

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

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 100px minmax(0, 1fr) auto;
    min-height: 70px;
    padding-inline: 18px;
  }

  .brand {
    width: 92px;
    height: 54px;
  }

  .topbar-title {
    padding-inline-start: 17px;
  }

  .currency-note {
    display: none;
  }

  .topbar-actions {
    gap: 0;
  }

  .category-strip {
    top: 70px;
  }

  .category-list {
    padding-inline: 16px;
  }

  .category-button {
    min-width: auto;
    padding-inline: 17px;
  }

  main {
    padding: 16px;
  }

  .featured-stage {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .featured-copy {
    min-height: 430px;
    padding: 40px 30px;
  }

  .featured-copy h1 {
    font-size: clamp(4.5rem, 19vw, 6.7rem);
  }

  .featured-visual {
    min-height: 420px;
  }

  .menu-heading {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .menu-heading-meta {
    justify-items: start;
  }

  .menu-intro {
    margin-inline-start: 0;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .product-dialog {
    overflow-y: auto;
  }

  .dialog-visual {
    min-height: 370px;
  }

  .dialog-visual > #dialog-image {
    max-height: 320px;
  }

  .product-dialog.has-assembly .dialog-layout {
    grid-template-columns: 1fr;
  }

  .assembly-stage {
    inset: 38px 12px 26px;
  }

  .dialog-copy {
    padding: 38px 28px 44px;
  }
}

@media (max-width: 520px) {
  .topbar {
    grid-template-columns: 78px minmax(0, 1fr) auto;
    padding-inline: 12px;
  }

  .brand {
    width: 76px;
  }

  .topbar-title strong {
    font-size: 0.82rem;
  }

  .topbar-title span {
    font-size: 0.58rem;
  }

  .topbar-title {
    padding-inline-start: 11px;
  }

  .language-switch {
    width: 88px;
    height: 36px;
  }

  .category-button {
    font-size: 0.82rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    min-height: 390px;
  }

  .featured-visual {
    min-height: 350px;
  }

  .featured-visual img {
    max-height: 325px;
  }

  .menu-footer {
    grid-template-columns: 1fr auto;
  }

  .menu-footer img {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .assembly-piece {
    display: none !important;
  }

  .assembly-final {
    display: block !important;
    opacity: 1 !important;
    transform: scale(0.94) !important;
  }

  .assembly-progress {
    display: none !important;
  }
}
