/* Café Aroma — styles.css (mobile-first, fully responsive) */

/* ── Custom Properties ─────────────────────────────────────────────────────── */
:root {
  --background:           hsl(35, 30%, 95%);
  --foreground:           hsl(30, 10%, 15%);
  --card:                 hsl(35, 25%, 97%);
  --primary:              hsl(3, 67%, 37%);
  --primary-foreground:   hsl(0, 0%, 98%);
  --secondary:            hsl(35, 20%, 90%);
  --secondary-foreground: hsl(30, 10%, 20%);
  --muted-foreground:     hsl(30, 8%, 45%);
  --accent:               hsl(25, 50%, 45%);
  --accent-foreground:    hsl(35, 30%, 97%);
  --destructive:          hsl(0, 84.2%, 60.2%);
  --border:               hsl(35, 15%, 85%);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button { cursor: pointer; border: none; background: none; font-family: inherit; }
a      { text-decoration: none; color: inherit; }
img    { display: block; max-width: 100%; }

/* ── App Frame ──────────────────────────────────────────────────────────────── */
#app-frame {
  background: var(--background);
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
}

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Backdrop ───────────────────────────────────────────────────────────────── */
.backdrop {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 50;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.backdrop--nav  { background: rgba(0,0,0,0.5); }
.backdrop--cart { background: rgba(0,0,0,0.4); }
.backdrop.open  { opacity: 1; pointer-events: all; }

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.navbar__logo {
  width: 2.5rem;
  object-fit: cover;
}
.navbar__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6));
}
.navbar__menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.2s ease;
}
.navbar__menu-btn svg { width: 1.25rem; height: 1.25rem; }
.navbar__menu-btn:hover { background: rgba(255,255,255,0.3); }

/* Inline desktop nav links — hidden on mobile */
.navbar__links {
  display: none;
}

/* ── Drawer ─────────────────────────────────────────────────────────────────── */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 20rem;
  max-width: 85vw;
  background: var(--background);
  z-index: 51;
  box-shadow: -4px 0 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.drawer.open { transform: translateX(0); }

.drawer__header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}
.drawer__close-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-foreground);
}
.drawer__close-btn svg { width: 1rem; height: 1rem; }

.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1rem;
}
.drawer__link {
  font-size: 1.125rem;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--foreground);
  transition: color 0.2s ease;
}
.drawer__link:hover { color: var(--accent); }

.drawer__footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.drawer__info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.drawer__info-row svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.drawer__social {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.75rem;
}
.drawer__social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-foreground);
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer__social-btn svg { width: 1rem; height: 1rem; }
.drawer__social-btn:hover { background: var(--accent); color: var(--accent-foreground); }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent, transparent);
}
.hero__overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 66.666%;
  background: linear-gradient(to bottom, transparent 0%, hsl(37.5deg 30.77% 94.9%) 90%);
}
.hero__wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3rem;
}
.hero__text {
  position: absolute;
  bottom: 5rem;
  left: 0; right: 0;
  text-align: center;
  padding: 0 1.25rem;
}
.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
  margin-bottom: 0.5rem;
  animation: fadeSlideUp 0.7s ease forwards;
}
.hero__subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease 0.2s forwards;
}

/* ── Category Tabs ──────────────────────────────────────────────────────────── */
.category-tabs-wrapper {
  position: sticky;
  top: 0;
  z-index: 40;
  background: hsla(35, 30%, 95%, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.category-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }

.category-tab {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  background: var(--secondary);
  color: var(--secondary-foreground);
}
.category-tab.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.category-tab:not(.active):hover { background: hsl(35, 15%, 86%); }

/* ── Menu Sections ──────────────────────────────────────────────────────────── */
.menu-sections { padding-bottom: 6rem; }

.menu-section { padding: 0 1.25rem; margin-bottom: 2rem; }
.menu-section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  padding-top: 1rem;
}

/* ── Menu Item ──────────────────────────────────────────────────────────────── */
.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid hsla(35, 15%, 85%, 0.6);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.menu-item:last-child { border-bottom: none; }
.menu-item.visible    { opacity: 1; transform: translateY(0); }

.menu-item__info  { flex: 1; min-width: 0; }
.menu-item__name  {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.9375rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.menu-item__desc {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.625;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-item__meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.menu-item__price {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}
.menu-item__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent);
  background: hsla(25, 50%, 45%, 0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}
.menu-item__badge svg { width: 0.75rem; height: 0.75rem; }

.menu-item__img-wrap { position: relative; flex-shrink: 0; }
.menu-item__img {
  width: 6rem;
  height: 6rem;
  border-radius: 0.75rem;
  object-fit: cover;
}
.menu-item__add-btn {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.menu-item__add-btn svg    { width: 1rem; height: 1rem; }
.menu-item__add-btn:hover  { transform: scale(1.1); }
.menu-item__add-btn:active { transform: scale(0.95); }

/* ── Reels ──────────────────────────────────────────────────────────────────── */
.reels { padding: 2.5rem 0; }

.reels__header { padding: 0 1.25rem; margin-bottom: 1.5rem; }
.reels__header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.reels__header p {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.reels__stage {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 900px;
}
.reels__track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  user-select: none;
  touch-action: pan-y;
}
.reels__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: hsla(35, 30%, 95%, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
}
.reels__nav-btn svg  { width: 1rem; height: 1rem; }
.reels__nav-btn--prev { left: 0.5rem; }
.reels__nav-btn--next { right: 0.5rem; }

.reels__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
}
.reels__dot {
  border-radius: 9999px;
  transition: width 0.3s ease, background 0.3s ease;
  background: var(--border);
  width: 0.5rem;
  height: 0.5rem;
}
.reels__dot.active { width: 1.25rem; background: var(--primary); }
.reels__dot:not(.active):hover { background: var(--muted-foreground); }

/* ── Reel Card ──────────────────────────────────────────────────────────────── */
.reel-card {
  position: absolute;
  width: 9rem;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.4s ease;
}
.reel-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.reel-card__overlay-center {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1), transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.reel-card__overlay-side { position: absolute; inset: 0; }
.reel-card__play-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.reel-card__play-btn svg { width: 1.25rem; height: 1.25rem; color: white; }
.reel-card__play-btn:hover { transform: scale(1.1); }
.reel-card__title {
  position: absolute;
  bottom: 1rem;
  left: 0.75rem;
  right: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
}

/* ── Business Info ──────────────────────────────────────────────────────────── */
.business-info { padding: 2.5rem 1.25rem; }
.business-info__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
.business-info__cards { display: flex; flex-direction: column; gap: 0.75rem; }
.business-info__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
  color: var(--foreground);
}
.business-info__card:hover { border-color: hsla(25, 50%, 45%, 0.3); }
.business-info__card--top    { align-items: flex-start; }
.business-info__phones-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.business-info__phone-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.business-info__phone-link:hover { text-decoration: underline; }

.business-info__card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: hsla(25, 50%, 45%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.business-info__card-icon svg { width: 1rem; height: 1rem; }
.business-info__card-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.125rem;
}
.business-info__card-value {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--foreground);
}
.business-info__hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--foreground);
}
.business-info__hours-row span:last-child { font-weight: 500; }
.business-info__hours-row + .business-info__hours-row { margin-top: 0.125rem; }

.business-info__social-row { display: flex; gap: 0.75rem; }
.business-info__social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
  color: var(--foreground);
}
.business-info__social-btn svg  { width: 1rem; height: 1rem; color: var(--accent); }
.business-info__social-btn span { font-family: 'Inter', system-ui, sans-serif; font-weight: 500; font-size: 0.875rem; }
.business-info__social-btn:hover { border-color: hsla(25, 50%, 45%, 0.3); }

/* ── Map ────────────────────────────────────────────────────────────────────── */
.map-section { padding: 0 1.25rem 2.5rem; }
.map-section__container {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 14rem;
  background: var(--secondary);
}
.map-section__container iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer p { font-family: 'Inter', system-ui, sans-serif; font-size: 0.75rem; color: var(--muted-foreground); }

/* ── Cart FAB ───────────────────────────────────────────────────────────────── */
.cart-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.25rem;
  z-index: 40;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.3s ease;
}
.cart-fab svg     { width: 1rem; height: 1rem; }
.cart-fab.visible { transform: scale(1); opacity: 1; pointer-events: all; }

/* ── Cart Sheet ─────────────────────────────────────────────────────────────── */
.cart-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 51;
  background: var(--background);
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.cart-sheet.open { transform: translateY(0); }

.cart-sheet__handle {
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
}
.cart-sheet__handle-bar {
  width: 2.5rem;
  height: 0.25rem;
  border-radius: 9999px;
  background: var(--border);
}
.cart-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.cart-sheet__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}
.cart-sheet__header-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-sheet__icon-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.cart-sheet__icon-btn svg   { width: 1rem; height: 1rem; }
.cart-sheet__icon-btn:hover { color: var(--destructive); }
.cart-sheet__icon-btn--close { color: var(--secondary-foreground); }
.cart-sheet__icon-btn--close:hover { color: var(--foreground); }

.cart-sheet__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
}
.cart-sheet__empty svg { width: 3rem; height: 3rem; color: hsla(30, 8%, 45%, 0.3); margin-bottom: 0.75rem; }
.cart-sheet__empty p   { font-family: 'Inter', system-ui, sans-serif; color: var(--muted-foreground); font-size: 0.875rem; }

.cart-sheet__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-sheet__footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-sheet__total-row  { display: flex; align-items: center; justify-content: space-between; }
.cart-sheet__total-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.cart-sheet__total-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}
.cart-sheet__order-btns {
  display: flex;
  gap: 0.625rem;
}
.cart-sheet__order-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.875rem 0.5rem;
  border-radius: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.2s ease;
  text-align: center;
}
.cart-sheet__order-btn svg   { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.cart-sheet__order-btn:hover { background: hsl(25, 50%, 40%); }

/* ── Cart Item ──────────────────────────────────────────────────────────────── */
.cart-item { display: flex; align-items: center; gap: 0.75rem; }
.cart-item__img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex-shrink: 0;
}
.cart-item__info  { flex: 1; min-width: 0; }
.cart-item__name  {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item__price {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}
.cart-item__controls { display: flex; align-items: center; gap: 0.5rem; }
.cart-item__qty-btn  {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item__qty-btn svg    { width: 0.75rem; height: 0.75rem; }
.cart-item__qty-btn--minus { background: var(--secondary); color: var(--secondary-foreground); }
.cart-item__qty-btn--plus  { background: var(--primary);   color: var(--primary-foreground); }
.cart-item__qty {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  width: 1.25rem;
  text-align: center;
  color: var(--foreground);
}

/* =============================================================================
   RESPONSIVE — TABLET  640 px
   ============================================================================= */
@media (min-width: 640px) {
  /* Remove phone-frame styling */
  #app-frame { max-width: 100%; box-shadow: none; }

  /* Navbar */
  .navbar { padding: 1.125rem 2rem; }

  /* Hero */
  .hero { height: 65vh; min-height: 440px; }
  .hero__title { font-size: 3rem; }

  /* Content padding */
  .menu-section   { padding: 0 2rem; }
  .reels__header  { padding: 0 2rem; }
  .business-info  { padding: 2.5rem 2rem; }
  .map-section    { padding: 0 2rem 2.5rem; }
  .footer         { padding: 2rem; }

  /* Cart FAB: move to bottom-right */
  .cart-fab { left: auto; right: 2rem; bottom: 2rem; }

  /* Cart sheet: centred floating panel */
  .cart-sheet {
    left: 50%;
    right: auto;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%) translateY(100%);
  }
  .cart-sheet.open { transform: translateX(-50%) translateY(0); }
}

/* =============================================================================
   RESPONSIVE — TABLET LANDSCAPE  768 px
   ============================================================================= */
@media (min-width: 768px) {
  .navbar { padding: 1.25rem 2.5rem; }

  /* Hero */
  .hero { height: 68vh; min-height: 460px; }
  .hero__title { font-size: 3.5rem; }

  /* Menu: 2-column card grid */
  .menu-section {
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  .menu-section__title { grid-column: 1 / -1; }

  /* Items become cards */
  .menu-item {
    padding: 1rem;
    border-bottom: none;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--card);
    transition: opacity 0.4s ease, transform 0.4s ease,
                border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .menu-item:last-child { border: 1px solid var(--border); }
  .menu-item:hover { border-color: hsla(25, 50%, 45%, 0.25); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

  /* Larger item images */
  .menu-item__img { width: 5.5rem; height: 5.5rem; }

  /* Reels */
  .reels__header { padding: 0 2.5rem; }
  .reels__stage  { height: 360px; }

  /* Business info */
  .business-info { padding: 2.5rem 2.5rem; }

  /* Map */
  .map-section { padding: 0 2.5rem 2.5rem; }
  .map-section__container { height: 18rem; }

  /* Footer */
  .footer { padding: 2.25rem 2.5rem; }
}

/* =============================================================================
   RESPONSIVE — LAPTOP / DESKTOP  1024 px
   ============================================================================= */
@media (min-width: 1024px) {
  /* ── Sticky frosted navbar ──────────────────────────────────────────────── */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: hsla(35, 30%, 95%, 0.93);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 3rem;
  }
  .navbar__name { font-size: 1.25rem; }
  .navbar__logo { width: 2.75rem; }

  /* Show inline nav links, hide hamburger */
  .navbar__links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .navbar__links a {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    transition: color 0.2s ease;
  }
  .navbar__links a:hover { color: var(--accent); }
  .navbar__menu-btn { display: none; }

  /* ── Hero ───────────────────────────────────────────────────────────────── */
  .hero { height: 62vh; min-height: 500px; }
  .hero__title    { font-size: 4.5rem; }
  .hero__subtitle { font-size: 1rem; letter-spacing: 0.14em; }
  .hero__text     { bottom: 7rem; }

  /* ── Catalog: two-column sidebar layout ─────────────────────────────────── */
  #catalog {
    display: grid;
    grid-template-columns: 220px 1fr;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 3rem 0;
    gap: 2.5rem;
    align-items: start;
  }

  /* Sidebar tabs */
  .category-tabs-wrapper {
    position: sticky;
    top: 5.5rem;           /* below sticky navbar */
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .category-tabs {
    flex-direction: column;
    padding: 0.625rem;
    gap: 0.25rem;
    overflow-x: visible;
    overflow-y: visible;
  }
  .category-tab {
    text-align: left;
    border-radius: 0.625rem;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    white-space: normal;
  }
  .category-tab.active { border-radius: 0.625rem; }

  /* Menu content area */
  #menu-sections {
    padding-bottom: 3rem;
  }
  .menu-section {
    padding: 0;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
  }
  .menu-section__title { font-size: 1.375rem; }

  /* ── Reels ──────────────────────────────────────────────────────────────── */
  .reels {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 3rem;
  }
  .reels__header  { padding: 0; margin-bottom: 2rem; }
  .reels__header h2 { font-size: 1.75rem; }
  .reels__stage   { height: 420px; perspective: 1100px; }
  .reel-card      { width: 11rem; border-radius: 1.25rem; }

  /* ── Info + Map side by side ────────────────────────────────────────────── */
  .info-map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
    gap: 2rem;
    align-items: start;
  }
  .business-info { padding: 2.5rem 0; }
  .map-section   { padding: 2.5rem 0; }
  .map-section__container { height: 100%; min-height: 22rem; border-radius: 1.25rem; }

  /* ── Footer ─────────────────────────────────────────────────────────────── */
  .footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
  }
}

/* =============================================================================
   RESPONSIVE — LARGE DESKTOP  1280 px
   ============================================================================= */
@media (min-width: 1280px) {
  .navbar { padding: 1rem 4rem; }

  .hero__title { font-size: 5rem; }

  /* Wider containers */
  #catalog {
    max-width: 1440px;
    padding: 2rem 4rem 0;
    grid-template-columns: 240px 1fr;
  }

  /* 3-column menu items */
  .menu-section { grid-template-columns: 1fr 1fr 1fr; }
  .menu-item__img { width: 5rem; height: 5rem; }

  .reels      { max-width: 1440px; padding: 3.5rem 4rem; }
  .reel-card  { width: 12rem; }

  .info-map-wrapper { max-width: 1440px; padding: 0 4rem; }
  .map-section__container { min-height: 26rem; }

  .footer { max-width: 1440px; padding: 2.5rem 4rem; }
}

/* =============================================================================
   RESPONSIVE — EXTRA LARGE  1536 px
   ============================================================================= */
@media (min-width: 1536px) {
  #catalog          { max-width: 1600px; padding: 2rem 5rem 0; grid-template-columns: 260px 1fr; }
  .reels            { max-width: 1600px; padding: 4rem 5rem; }
  .info-map-wrapper { max-width: 1600px; padding: 0 5rem; }
  .footer           { max-width: 1600px; padding: 2.5rem 5rem; }

  /* 4-column menu on very wide screens */
  .menu-section { grid-template-columns: repeat(4, 1fr); }
}
