:root {
  --bg: #080706;
  --text: #fff9f3;
  --text-secondary: rgba(255, 249, 243, 0.68);
  --text-muted: rgba(255, 249, 243, 0.48);
  --copper: #e99a54;
  --copper-light: #ffb66e;
  --progress: #f0a25c;
  --surface: rgba(16, 13, 11, 0.48);
  --border: rgba(255, 255, 255, 0.14);
  --badge: #f32929;
  --font: "Montserrat", system-ui, sans-serif;
  --frame-max: 480px;
  --pad-x: 24px;

  --motion-instant: 100ms;
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --motion-screen: 320ms;
  --motion-slow: 420ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse at top, #1a1612 0%, #0b0a09 45%, #050505 100%);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
}

.desktop-hint {
  margin: 0;
  max-width: 320px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 249, 243, 0.45);
}

@media (max-width: 520px) {
  body {
    padding: 0;
    gap: 0;
    justify-content: stretch;
  }

  .desktop-hint {
    display: none;
  }
}

/* Phone frame for desktop presentation */
.phone-frame {
  width: min(100%, var(--frame-max));
  max-width: 480px;
  height: min(100dvh - 64px, 844px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.55);
  background: var(--bg);
}

@media (max-width: 520px) {
  .phone-frame {
    width: 100%;
    height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
  }
}

.app {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.app.is-video {
  touch-action: none;
}

.app.is-video .app__stage {
  z-index: 35;
  pointer-events: auto;
  touch-action: none;
}

.app__stage {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transition:
    transform var(--motion-screen) var(--ease-standard),
    opacity var(--motion-screen) var(--ease-standard),
    filter var(--motion-screen) var(--ease-standard);
  will-change: transform, opacity, filter;
}

.app.is-cart-open .app__stage {
  transform: scale(0.985);
  opacity: 0.72;
  filter: blur(3px);
  pointer-events: none;
}

.app.is-menu-open,
.app.is-drawer-open,
.app.is-subpage-open,
.app.is-cart-open {
  touch-action: none;
}

.app.is-menu-open .fs-menu,
.app.is-menu-open .fs-menu * {
  touch-action: manipulation;
}

.app.is-menu-open .reel,
.app.is-drawer-open .reel,
.app.is-subpage-open .reel,
.app.is-cart-open .reel {
  overflow: hidden;
  pointer-events: none;
}

.app.is-menu-open .reel {
  filter: blur(7px);
  transform: scale(1.04);
  opacity: 0.58;
  transform-origin: center center;
  transition:
    filter var(--motion-base) var(--ease-standard),
    transform var(--motion-screen) var(--ease-enter),
    opacity var(--motion-base) var(--ease-standard);
}

.app.is-menu-open .center-play,
.app.is-subpage-open .topbar,
.app.is-subpage-open .center-play {
  visibility: hidden;
  pointer-events: none;
}

/* Menu has its own header (logo + close); hide underlying bars to avoid duplicates */
.app.is-menu-open .topbar,
.app.is-menu-open .home-topbar {
  visibility: hidden;
  pointer-events: none;
}

.app.is-menu-open .slide__info,
.app.is-subpage-open .slide__info {
  pointer-events: none;
}

.app.is-menu-open .fixed-category,
.app.is-menu-open .fixed-pager,
.app.is-subpage-open .fixed-category,
.app.is-subpage-open .fixed-pager,
.app.is-cart-open .fixed-category,
.app.is-cart-open .fixed-pager {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Intro reveal — only while booting/intro, never leave text invisible */
.app.is-booting .topbar {
  opacity: 0;
}

.app.is-booting .slide.is-active .slide__info {
  opacity: 0;
  transform: translateY(10px);
}

.app:not(.is-booting) .topbar {
  opacity: 1;
  transition: opacity var(--motion-base, 240ms) var(--ease-enter, ease);
}

.app:not(.is-booting) .slide.is-active .slide__info {
  opacity: 1;
  transform: translateY(0);
}

.app.is-intro .slide.is-active .slide__info > * {
  animation: dishInfoIn 320ms var(--ease-enter, ease) both;
}

.app.is-intro .slide.is-active .slide__title { animation-delay: 80ms; }
.app.is-intro .slide.is-active .slide__price { animation-delay: 120ms; }
.app.is-intro .slide.is-active .slide__desc,
.app.is-intro .slide.is-active .slide__weight { animation-delay: 160ms; }
.app.is-intro .slide.is-active .add-btn { animation-delay: 200ms; }
.app.is-intro .slide.is-active .swipe-hint { animation-delay: 400ms; }
.app.is-intro .fixed-category {
  animation: dishInfoIn 320ms var(--ease-enter, ease) both;
  animation-delay: 40ms;
}
.app.is-intro .fixed-pager {
  animation: dishInfoIn 320ms var(--ease-enter, ease) both;
  animation-delay: 240ms;
}

/* Only on dish change, not permanently on active */
.slide.is-switching .slide__info > * {
  animation: dishInfoIn 280ms var(--ease-enter, ease) both;
}

.slide.is-switching .slide__title { animation-delay: 0ms; }
.slide.is-switching .slide__price { animation-delay: 35ms; }
.slide.is-switching .slide__desc,
.slide.is-switching .slide__weight { animation-delay: 70ms; }
.slide.is-switching .add-btn { animation-delay: 105ms; }

@keyframes dishInfoIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== Reel ===== */
.reel {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: none;
  touch-action: pan-x pinch-zoom;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reel::-webkit-scrollbar {
  display: none;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--bg);
  overflow: hidden;
  touch-action: pan-x pinch-zoom;
}

.slide__media {
  position: absolute;
  inset: 0;
  background: #12100e center / cover no-repeat;
}

.slide__video,
.slide__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.slide__poster {
  z-index: 1;
  opacity: 1;
  background: #12100e;
  transition: opacity 0.55s var(--ease-premium, ease);
}

.slide.is-video-ready .slide__poster {
  opacity: 0;
  pointer-events: none;
  transition-delay: 80ms;
}

.slide.is-poster-only .slide__poster,
.slide.is-video-error .slide__poster,
.slide:not(.is-video-ready) .slide__poster {
  opacity: 1;
  z-index: 1;
}

.slide.is-poster-only .slide__video,
.slide.is-video-error .slide__video {
  opacity: 0 !important;
  visibility: hidden;
}

.slide__video {
  z-index: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.55s var(--ease-premium, ease);
  touch-action: pan-x pinch-zoom;
}

.slide.is-video-ready .slide__video {
  opacity: 1;
}

.slide__scrim-top,
.slide__scrim-bottom,
.slide__scrim-local {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.slide__scrim-top {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.12) 18%,
    transparent 34%
  );
}

.slide__scrim-bottom {
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(5, 4, 3, 0.36) 55%,
    rgba(5, 4, 3, 0.88) 76%,
    #080706 100%
  );
}

.slide__scrim-local {
  background: radial-gradient(
    ellipse at left bottom,
    rgba(0, 0, 0, 0.55),
    transparent 68%
  );
}

.slide__hit {
  position: absolute;
  inset: 18% 0 42%;
  z-index: 5;
  background: transparent;
  border: 0;
  cursor: pointer;
  touch-action: pan-x pinch-zoom;
}

/* ===== Top bar ===== */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 10px;
  box-sizing: border-box;
  pointer-events: none;
}

.topbar > *,
.topbar .icon-btn,
.topbar .brand {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  max-height: 32px;
  text-decoration: none;
  color: var(--text);
}

.brand__text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 6px;
  line-height: 1;
  margin-right: -6px;
}

.topbar__actions {
  display: flex;
  gap: 10px;
  overflow: visible;
  padding: 6px 4px 2px;
  margin: -6px -4px -2px;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.06) 42%,
      rgba(12, 10, 9, 0.16) 100%
    ),
    rgba(18, 14, 12, 0.4);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px) saturate(1.2);
  -webkit-backdrop-filter: blur(5px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 6px 18px rgba(0, 0, 0, 0.18);
  isolation: isolate;
  overflow: visible;
  cursor: pointer;
  padding: 0;
  transition:
    transform var(--motion-instant) ease-out,
    background var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard),
    box-shadow var(--motion-fast) var(--ease-standard),
    backdrop-filter var(--motion-base) var(--ease-standard);
}

.icon-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.02) 38%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.icon-btn svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.icon-btn:active {
  transform: scale(0.94);
  transition-duration: var(--motion-instant);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.04) 42%,
      rgba(12, 10, 9, 0.3) 100%
    ),
    rgba(18, 14, 12, 0.36);
}

@media (hover: hover) and (pointer: fine) {
  .icon-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background:
      linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.08) 42%,
        rgba(12, 10, 9, 0.18) 100%
      ),
      rgba(22, 18, 15, 0.28);
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.36),
      inset 0 -1px 0 rgba(0, 0, 0, 0.16),
      0 8px 22px rgba(0, 0, 0, 0.26);
  }
}

/* Stronger frosted glass over blurred menu/video */
.app.is-menu-open .topbar .icon-btn {
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.08) 45%,
      rgba(255, 255, 255, 0.04) 100%
    ),
    rgba(255, 249, 243, 0.12);
  backdrop-filter: blur(5px) saturate(1.3);
  -webkit-backdrop-filter: blur(5px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.22);
}

.app.is-menu-open .topbar .brand__text {
  color: #fff9f3;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.icon-btn .icon-close[hidden],
.icon-btn .icon-burger[hidden] {
  display: none !important;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--badge);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform-origin: center;
  box-shadow: 0 0 0 2px rgba(8, 7, 6, 0.35);
}

.cart-badge.is-bump {
  animation: badgeBump 240ms var(--ease-standard);
}

@keyframes badgeBump {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.cart-badge[hidden] {
  display: none !important;
}

/* Center play removed from concept */
.center-play {
  display: none !important;
}

/* ===== Fixed chrome (does not swipe with slides) ===== */
.fixed-category {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 72px);
  left: var(--pad-x);
  right: calc(var(--pad-x) + 110px);
  z-index: 22;
  margin: 0;
  color: var(--copper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.fixed-pager {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  z-index: 22;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.fixed-pager .section-pager {
  margin-top: 0;
}

/* ===== Info block ===== */
.slide__info {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 56px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0.55;
  transform: translateY(8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.slide.is-active .slide__info {
  opacity: 1;
  transform: translateY(0);
}

.slide__title {
  margin: 0 0 9px;
  max-width: 100%;
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  line-height: 32px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.slide__price {
  margin: 0 0 7px;
  color: var(--copper-light);
  font-size: 22px;
  font-weight: 600;
  line-height: 26px;
  white-space: nowrap;
}

.slide__desc {
  margin: 0 0 4px;
  max-width: 300px;
  color: rgba(255, 249, 243, 0.72);
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.slide__desc:empty,
.slide__weight:empty {
  display: none;
}

.slide__weight {
  margin: 0 0 12px;
  color: rgba(255, 249, 243, 0.55);
  font-size: 13px;
  font-weight: 400;
}

/* ===== Add to cart ===== */
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 47px;
  width: 166px;
  min-width: 152px;
  padding: 5px 18px 5px 5px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    135deg,
    rgba(191, 105, 45, 0.92),
    rgba(227, 147, 76, 0.92)
  );
  color: #fff9f3;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.2s ease, background 0.2s ease;
  position: relative;
}

.add-btn[hidden] {
  display: none !important;
}

.add-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.add-btn__plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(44, 24, 13, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}

.add-btn:focus-visible {
  outline: 2px solid rgba(240, 162, 92, 0.85);
  outline-offset: 3px;
}

.add-btn.is-loading .add-btn__label {
  opacity: 0;
}

.add-btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  margin-left: 64px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.add-btn {
  position: relative;
}

.add-btn.is-added {
  background: linear-gradient(135deg, #1f9a4a 0%, #3dcc6a 55%, #56e07e 100%);
  border-color: rgba(120, 240, 160, 0.45);
  box-shadow: 0 8px 24px rgba(30, 140, 70, 0.38);
  color: #fff;
}

.dish-cart {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: center;
  justify-items: start;
  min-height: 47px;
  min-width: 166px;
}

.dish-cart > .add-btn,
.dish-cart > .qty-stepper {
  grid-area: 1 / 1;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 47px;
  width: 166px;
  min-width: 166px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.qty-stepper[hidden] {
  display: none !important;
}

.qty-stepper__btn {
  appearance: none;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.06) 45%,
      rgba(20, 16, 14, 0.35) 100%
    ),
    rgba(16, 13, 11, 0.42);
  backdrop-filter: blur(5px) saturate(1.2);
  -webkit-backdrop-filter: blur(5px) saturate(1.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 4px 14px rgba(0, 0, 0, 0.22);
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.15s ease;
}

.qty-stepper__btn:active:not(:disabled) {
  transform: scale(0.94);
}

.qty-stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-stepper__btn:focus-visible {
  outline: 2px solid rgba(255, 182, 110, 0.75);
  outline-offset: 2px;
}

.qty-stepper__value {
  min-width: 28px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff9f3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.qty-stepper__value.is-up,
.qty-stepper__value.is-down {
  animation: qtyPulse 220ms var(--ease-standard, ease);
}

@keyframes qtyPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.add-btn.is-unavailable {
  width: auto;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  background: rgba(70, 64, 58, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: rgba(255, 249, 243, 0.72);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: not-allowed;
}

.add-btn.is-unavailable .add-btn__plus {
  width: 30px;
  height: 30px;
  background: rgba(30, 28, 26, 0.55);
  font-size: 14px;
}

.add-btn.is-unavailable .add-btn__label {
  white-space: nowrap;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== Section pager (dots + position in category) ===== */
.section-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

.section-pager__count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: rgba(255, 249, 243, 0.72);
}

/* ===== Swipe hint ===== */
.swipe-hint {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  transition: opacity 0.35s ease;
}

.swipe-hint.is-faded {
  opacity: 0.35;
}

.swipe-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin-top: 0;
  overflow: hidden;
}

.swipe-hint__text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.swipe-hint__arrow {
  width: 18px;
  height: 12px;
  flex-shrink: 0;
}

.dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dots__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.dots__dot.is-active {
  width: 7px;
  height: 7px;
  background: var(--progress);
}

/* ===== Fullscreen menu ===== */
.fs-menu {
  position: absolute;
  inset: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}

.fs-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.fs-menu__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 4, 3, 0.68) 0%,
      rgba(5, 4, 3, 0.78) 48%,
      rgba(5, 4, 3, 0.96) 100%
    ),
    rgba(8, 7, 6, 0.76);
}

.fs-menu__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(32px);
  pointer-events: auto;
  touch-action: manipulation;
  transition:
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.fs-menu.is-open .fs-menu__content {
  opacity: 1;
  transform: translateX(0);
}

.fs-menu.is-closing .fs-menu__content {
  opacity: 0;
  transform: translateX(20px);
  transition-duration: 0.22s;
}

.fs-menu.is-closing {
  opacity: 0;
  transition-duration: 0.22s;
}

.fs-menu__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  min-height: 56px;
  height: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  visibility: visible;
  pointer-events: auto;
}

.fs-menu__header .brand {
  max-height: 32px;
  pointer-events: auto;
  color: #fff9f3;
}

.fs-menu__header .brand__text {
  color: #fff9f3;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 6px;
  line-height: 1;
  margin-right: -6px;
  text-shadow: none;
}

.fs-menu__header .icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  color: #fff9f3;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(5px) saturate(1.2);
  -webkit-backdrop-filter: blur(5px) saturate(1.2);
  overflow: visible;
}

.fs-menu__body {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 116px);
  left: 24px;
  right: 24px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fs-menu__body::-webkit-scrollbar {
  display: none;
}

.fs-menu__eyebrow {
  margin: 0 0 28px;
  color: #f0a25c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.fs-nav__divider {
  height: 1px;
  margin: 12px 0;
  background: rgba(255, 255, 255, 0.16);
}

.fs-nav__item--sub {
  font-size: 18px !important;
  line-height: 24px !important;
  min-height: 42px !important;
  color: rgba(255, 249, 243, 0.78) !important;
  font-weight: 400 !important;
}

.fs-nav__item {
  appearance: none;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 2px 8px 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff9f3;
  font-family: inherit;
  font-size: 23px;
  font-weight: 400;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: opacity 0.1s ease, transform 0.1s ease;
}

.fs-nav__item:active:not(:disabled) {
  opacity: 0.72;
  transform: translateX(2px);
}

.fs-nav__item:focus-visible {
  outline: 2px solid #f0a25c;
  outline-offset: 3px;
}

.fs-nav__item.is-active {
  color: #ffb66e;
  font-weight: 600;
  font-size: 25px;
  line-height: 32px;
  padding-left: 40px;
  position: relative;
}

.fs-nav__item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  margin-top: -1px;
  background: #f0a25c;
}

.fs-nav__item.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.fs-nav__item.is-disabled .fs-nav__arrow {
  display: none;
}

.fs-nav__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #ffb66e;
  margin-right: 2px;
}

.fs-nav__item.is-enter {
  animation: fsNavIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fsNavIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fs-info {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.fs-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #fff9f3;
  font-size: 16px;
  font-weight: 500;
}

.fs-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #32d74b;
  flex-shrink: 0;
}

.fs-status__dot.is-soon {
  background: #e6c35c;
}

.fs-status__dot.is-closed {
  background: rgba(255, 249, 243, 0.35);
}

.fs-status__sub {
  margin: 6px 0 0;
  padding-left: 21px;
  color: rgba(255, 249, 243, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.fs-address {
  margin: 6px 0 0;
  padding-left: 21px;
  max-width: 100%;
  color: rgba(255, 249, 243, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.fs-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  width: 128px;
  margin-top: 14px;
  margin-left: 21px;
  border-radius: 20px;
  border: 1px solid #f0a25c;
  background: transparent;
  color: #fff9f3;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.fs-call:focus-visible {
  outline: 2px solid #f0a25c;
  outline-offset: 3px;
}

.fs-menu__footer {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 249, 243, 0.48);
  font-size: 12px;
  font-weight: 400;
}

.fs-menu__footer a,
.fs-menu__footer button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.fs-menu__footer a:focus-visible,
.fs-menu__footer button:focus-visible {
  outline: 2px solid #f0a25c;
  outline-offset: 3px;
  border-radius: 4px;
}

.fs-social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.fs-social svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Subpages */
.subpage {
  position: absolute;
  inset: 0;
  z-index: 900;
  background: #0b0908;
  color: var(--text);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.subpage.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.subpage[hidden] {
  display: flex !important;
  visibility: hidden;
}

.subpage.is-open[hidden],
.subpage.is-open {
  visibility: visible;
}

.subpage__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 24px 16px;
}

.subpage__title {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.subpage__body {
  flex: 1;
  overflow: auto;
  padding: 8px 24px calc(env(safe-area-inset-bottom, 0px) + 24px);
  scrollbar-width: none;
}

.subpage__body::-webkit-scrollbar {
  display: none;
}

.subpage__section {
  margin: 0 0 28px;
}

.subpage__section:last-child {
  margin-bottom: 8px;
}

.subpage__section-title {
  margin: 0 0 4px;
  padding-top: 4px;
  color: #f0a25c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.subpage__card {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subpage__card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.subpage__card p {
  margin: 0;
  color: rgba(255, 249, 243, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

.subpage__empty {
  margin-top: 48px;
  text-align: center;
  color: rgba(255, 249, 243, 0.55);
  font-size: 15px;
  line-height: 1.5;
}

/* ===== Fullscreen cart ===== */
.cart-screen {
  position: absolute;
  inset: 0;
  z-index: 1120;
  display: block;
  height: 100%;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.cart-screen.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-screen__backdrop {
  display: none;
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(15, 32, 52, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.cart-screen__drawer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #080706;
  color: #fff9f3;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-screen.is-open .cart-screen__drawer {
  transform: translateX(0);
}

.cart-screen.is-open .cart-screen__backdrop {
  opacity: 1;
}

.cart-screen__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: #171411 center / cover no-repeat;
  filter: blur(8px);
  transform: scale(1.05);
  opacity: 0.42;
  pointer-events: none;
}

.cart-screen__bg.is-glow {
  filter: none;
  transform: none;
  opacity: 1;
  background:
    radial-gradient(circle at 70% 0%, rgba(203, 112, 48, 0.18), transparent 40%),
    #080706;
}

.cart-screen__veil {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(
    180deg,
    rgba(6, 5, 4, 0.34) 0%,
    rgba(6, 5, 4, 0.82) 55%,
    #080706 100%
  );
  pointer-events: none;
}

.cart-screen__header {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 20px 0;
}

.cart-screen__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.cart-screen__top .brand {
  max-height: 30px;
}

.cart-close {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.06) 42%,
      rgba(12, 10, 9, 0.2) 100%
    ),
    rgba(18, 14, 12, 0.26);
  color: #fff9f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 6px 18px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.cart-close svg {
  position: relative;
  z-index: 1;
}

.cart-close:focus-visible {
  outline: 2px solid #f0a25c;
  outline-offset: 2px;
}

.cart-screen__title {
  margin: 30px 0 4px;
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  color: #fff9f3;
}

.cart-screen__count {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 249, 243, 0.55);
}

.cart-screen__scroll {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 190px;
  scrollbar-width: none;
}

.cart-screen__scroll::-webkit-scrollbar {
  display: none;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

.cart-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 358px;
  margin: 0 auto;
  min-height: 154px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(17, 14, 12, 0.82);
  border: 1px solid rgba(233, 154, 84, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cart-card.is-removing {
  opacity: 0;
  transform: translateX(-18px);
}

.cart-card.is-unavailable {
  border-color: rgba(232, 91, 85, 0.55);
}

.cart-card.is-busy {
  pointer-events: none;
  opacity: 0.72;
}

.cart-card__media {
  position: relative;
  width: 116px;
  height: 134px;
  border-radius: 14px;
  overflow: hidden;
  background: #171411;
}

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

.cart-card.is-unavailable .cart-card__media img {
  filter: brightness(0.45);
}

.cart-card__badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(232, 91, 85, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.cart-card__body {
  position: relative;
  min-width: 0;
  padding: 8px 4px 4px 0;
  display: flex;
  flex-direction: column;
}

.cart-card__info {
  min-width: 0;
}

.cart-card__name {
  margin: 0;
  max-width: none;
  color: #fff9f3;
  font-size: 18px;
  font-weight: 650;
  line-height: 23px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.cart-card__meta {
  margin: 5px 0 0;
  color: rgba(255, 249, 243, 0.62);
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.cart-card__warn {
  margin: 6px 0 0;
  color: #f1b94d;
  font-size: 12px;
  font-weight: 500;
}

.cart-card__price {
  margin: 10px 0 0;
  color: #ffb66e;
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-card__price s {
  margin-right: 8px;
  color: rgba(255, 249, 243, 0.38);
  font-size: 15px;
  font-weight: 400;
}

.cart-card__actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.qty {
  display: inline-flex;
  align-items: center;
  width: 112px;
  height: 40px;
  border-radius: 20px;
  background: rgba(8, 7, 6, 0.72);
  border: 1px solid rgba(233, 154, 84, 0.34);
  overflow: hidden;
}

.qty button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff9f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty button:focus-visible {
  outline: 2px solid #f0a25c;
  outline-offset: -2px;
}

.qty__value {
  width: 32px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff9f3;
}

.cart-card__remove {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 249, 243, 0.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.cart-card__remove:hover,
.cart-card__remove:active {
  color: #f06a62;
}

.cart-card__remove:focus-visible {
  outline: 2px solid #f0a25c;
  outline-offset: 2px;
}

.cart-promo {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 16px 0;
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(17, 14, 12, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.cart-promo__label {
  color: #fff9f3;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.cart-promo__input {
  flex: 1;
  min-width: 120px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #fff9f3;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  padding: 0 12px;
  text-transform: uppercase;
}

.cart-promo__input::placeholder {
  color: rgba(255, 249, 243, 0.35);
  text-transform: none;
}

.cart-promo__input:focus {
  outline: 2px solid #f0a25c;
  outline-offset: 1px;
}

.cart-promo__input.is-error {
  border-color: #e85b55;
}

.cart-promo__btn {
  height: 44px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid #e99a54;
  background: transparent;
  color: #ffb66e;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.cart-promo__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cart-promo__btn.is-ok {
  border-color: #38c976;
  color: #38c976;
}

.cart-promo__msg {
  width: 100%;
  margin: 0;
  font-size: 12px;
  color: #e85b55;
}

.cart-promo__msg.is-ok {
  color: #38c976;
}

.cart-promo__applied {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  color: rgba(255, 249, 243, 0.72);
  font-size: 13px;
}

.cart-promo__applied strong {
  display: block;
  color: #fff9f3;
  font-weight: 600;
}

.cart-promo__remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff9f3;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cart-empty-state {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 28px;
}

.cart-empty-state[hidden],
.cart-filled[hidden],
.cart-summary[hidden],
.cart-summary__breakdown[hidden],
.cart-summary__row[hidden],
.cart-summary__hint[hidden],
.cart-promo__empty[hidden],
.cart-promo__field[hidden],
.cart-promo__msg[hidden],
.cart-promo__applied[hidden] {
  display: none !important;
}

.cart-empty-state__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 14, 12, 0.7);
  color: rgba(255, 249, 243, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.cart-empty-state h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 650;
}

.cart-empty-state p {
  margin: 0 0 22px;
  color: rgba(255, 249, 243, 0.55);
  font-size: 14px;
}

.cart-empty-state__btn {
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid #e99a54;
  background: transparent;
  color: #ffb66e;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.cart-summary {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 18px 20px calc(env(safe-area-inset-bottom, 0px) + 14px);
  background: rgba(13, 10, 8, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(233, 154, 84, 0.46);
}

.cart-summary__breakdown {
  margin: 0 0 10px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: rgba(255, 249, 243, 0.62);
}

.cart-summary__breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.cart-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 600;
}

.cart-summary__row strong {
  color: #ffb66e;
  font-size: 26px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-summary__row.is-pending strong {
  opacity: 0.55;
}

.cart-summary__hint {
  margin: 8px 0 0;
  color: #f1b94d;
  font-size: 13px;
  font-weight: 500;
}

.cart-summary__hint.is-error {
  color: #e85b55;
}

.cart-checkout {
  width: 100%;
  height: 54px;
  margin-top: 14px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #d9823d 0%, #f2a55d 100%);
  color: #1a0f08;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(214, 123, 55, 0.22);
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.2s ease;
}

.cart-checkout:active:not(:disabled) {
  transform: scale(0.985);
}

.cart-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.cart-checkout:focus-visible {
  outline: 2px solid #fff9f3;
  outline-offset: 3px;
}

.cart-summary__note {
  margin: 8px 0 0;
  text-align: center;
  color: rgba(255, 249, 243, 0.43);
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
}

.cart-notice {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 168px);
  z-index: 8;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #211c18;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff9f3;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-notice[hidden] {
  display: none !important;
}

.cart-notice.is-ok {
  border-color: rgba(56, 201, 118, 0.45);
}

.cart-notice.is-warn {
  border-color: rgba(241, 185, 77, 0.45);
}

.cart-notice.is-error {
  border-color: rgba(232, 91, 85, 0.45);
}

.cart-notice button {
  border: 0;
  background: transparent;
  color: #ffb66e;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.app.is-cart-open .reel,
.app.is-cart-open .topbar,
.app.is-cart-open .center-play,
.app.is-cart-open .fs-menu,
.app.is-cart-open .subpage {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cart-screen__drawer {
    transform: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .cart-screen.is-open .cart-screen__drawer {
    opacity: 1;
  }
}

@media (max-width: 359px) {
  .cart-screen__header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cart-items {
    padding: 0 12px;
  }

  .cart-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }

  .cart-card__media {
    width: 96px;
    height: 122px;
  }

  .cart-card__name {
    font-size: 16px;
    line-height: 21px;
  }

  .cart-card__price {
    font-size: 20px;
  }

  .qty {
    width: 104px;
    height: 38px;
  }

  .cart-promo {
    margin-left: 12px;
    margin-right: 12px;
  }

  .cart-summary {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-height: 700px) {
  .cart-screen__header {
    padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
  }

  .cart-screen__title {
    margin-top: 18px;
    font-size: 28px;
    line-height: 34px;
  }

  .cart-screen__scroll {
    padding-bottom: 200px;
  }

  .cart-screen__bg,
  .cart-screen__veil {
    height: 180px;
  }
}

@media (min-width: 430px) {
  .cart-card {
    max-width: none;
  }

  .cart-card__media {
    width: 132px;
    height: 134px;
  }

  .cart-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }
}

/* legacy drawer leftovers kept minimal for safety */
.overlay[hidden] {
  display: none !important;
}

.drawer {
  display: none;
}

/* Toast */
.toast {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  z-index: 1200;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(20, 16, 14, 0.92);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.toast[hidden] {
  display: none !important;
}

/* Vertical swipe → horizontal nudge (no frame) */
.swipe-nudge {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 1180;
  transform: translate(-50%, -40%);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff9f3;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.swipe-nudge.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.swipe-nudge[hidden] {
  display: none !important;
}

.swipe-nudge__text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.swipe-nudge__arrow {
  width: 22px;
  height: 13px;
  color: #ffb66e;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

@media (prefers-reduced-motion: reduce) {
  .swipe-nudge {
    transition: opacity 0.01ms linear;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .slide__poster {
    opacity: 1 !important;
  }

  .slide__video {
    display: none !important;
  }

  .slide__info,
  .center-play,
  .drawer,
  .fs-menu,
  .fs-menu__content,
  .subpage,
  .swipe-hint {
    transition: none !important;
  }

  .fs-nav__item.is-enter {
    animation: none !important;
  }

  .app.is-menu-open .reel {
    filter: none;
    transform: none;
    opacity: 0.72;
  }

  .add-btn.is-loading::after {
    animation: none;
  }
}

/* ===== Short screens ===== */
@media (max-height: 700px) {
  .slide__title {
    font-size: 24px;
    line-height: 28px;
  }

  .slide__desc {
    -webkit-line-clamp: 2;
  }

  .fixed-category {
    top: calc(env(safe-area-inset-top, 0px) + 64px);
    font-size: 10px;
    letter-spacing: 2.2px;
  }

  .slide__title,
  .slide__price {
    margin-bottom: 6px;
  }

  .slide__weight {
    margin-bottom: 10px;
  }

  .slide__info {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 50px);
  }

  .fixed-pager {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  }

  .swipe-hint {
    display: none;
  }

  .fs-menu__eyebrow {
    margin-bottom: 16px;
  }

  .fs-nav {
    gap: 4px;
    min-height: 0;
  }

  .fs-nav__item {
    min-height: 42px;
    font-size: 20px;
    line-height: 26px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .fs-nav__item.is-active {
    font-size: 20px;
    line-height: 26px;
  }

  .fs-menu__footer .fs-social {
    display: none;
  }

  .fs-info {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "status call"
      "address address"
      "sub sub";
    column-gap: 12px;
    align-items: center;
  }

  .fs-status { grid-area: status; }
  .fs-status__sub { grid-area: sub; }
  .fs-address { grid-area: address; }
  .fs-call {
    grid-area: call;
    margin-top: 0;
    margin-left: 0;
  }
}

/* ===== Narrow screens ===== */
@media (max-width: 359px) {
  :root {
    --pad-x: 18px;
  }

  .brand {
    max-width: 125px;
  }

  .brand__text {
    font-size: 16px;
    letter-spacing: 5px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .topbar__actions {
    gap: 10px;
  }

  .slide__title {
    font-size: 24px;
    line-height: 28px;
  }

  .slide__price {
    font-size: 20px;
    line-height: 24px;
  }

  .add-btn {
    width: 152px;
  }

  .dish-cart,
  .qty-stepper {
    min-width: 152px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .fs-nav__item {
    font-size: 20px;
    line-height: 26px;
  }

  .fs-nav__item.is-active {
    font-size: 21px;
    line-height: 28px;
    padding-left: 36px;
  }

  .fs-menu__header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .fs-menu__body,
  .fs-menu__footer {
    left: 18px;
    right: 18px;
  }
}
