/* 
   Santu's Caffe - Digital Menu App Stylesheet
   Designed with premium dark glassmorphic aesthetics, fluid transitions, and rich micro-animations.
*/

:root {
  /* Color Palette */
  --bg: #0c0b0a;
  --bg-rgb: 12, 11, 10;
  --surface: #161413;
  --surface-rgb: 22, 20, 19;
  --surface-active: #22201e;
  --surface-glass: rgba(22, 20, 19, 0.72);
  --surface-glass-border: rgba(198, 162, 103, 0.12);
  
  --accent-wine: #8e2b17;
  --accent-wine-rgb: 142, 43, 23;
  --accent-wine-light: rgba(142, 43, 23, 0.15);
  
  --accent-gold: #c6a267;
  --accent-gold-rgb: 198, 162, 103;
  --accent-gold-light: rgba(198, 162, 103, 0.12);
  
  --accent-teal: #1f393e;
  --text-cream: #faf5eb;
  --text-cream-rgb: 250, 245, 235;
  --text-muted: #aca699;
  --text-faint: rgba(250, 245, 235, 0.38);
  
  --color-success: #388e3c;
  --color-warning: #c62828;

  /* Fonts */
  --font-sans: "Sora", sans-serif;
  --font-display: "Pirata One", serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-accent: "IM Fell English", serif;

  /* Spacings & Borders */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-height: calc(88px + var(--safe-top));
  --nav-height: calc(72px + var(--safe-bottom));
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 24px rgba(198, 162, 103, 0.08);

  /* Physics */
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.25s var(--ease-smooth);
  --transition-normal: 0.45s var(--ease-smooth);
  --transition-slow: 0.75s var(--ease-smooth);
}

/* Reset & Base Rules */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg);
  color: var(--text-cream);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Background Texture */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(142, 43, 23, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(31, 57, 62, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(198, 162, 103, 0.04) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Hide scrollbar defaults */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-glass-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ---------------------------------------------------- */
/* Splash Screen Loader                                 */
/* ---------------------------------------------------- */
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  max-width: 320px;
}

.loader-brand {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.loader-gothic {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--text-cream);
}

.loader-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-top: -0.3rem;
}

.loader-progress-track {
  width: 140px;
  height: 2px;
  background: rgba(250, 245, 235, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.loader-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-wine), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.5s var(--ease-smooth);
}

.loader-location {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  font-weight: 500;
}

body.loading-active {
  overflow: hidden;
}

body.loading-complete .app-loader {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(0.98);
    opacity: 0.85;
    filter: drop-shadow(0 0 0px rgba(198, 162, 103, 0));
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(198, 162, 103, 0.25));
  }
}

/* ---------------------------------------------------- */
/* App Layout Container                                 */
/* ---------------------------------------------------- */
.app-shell {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 480px; /* Force mobile portrait phone aspect on desktops */
  margin: 0 auto;
  background-color: var(--bg);
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
  border-left: 1px solid rgba(250, 245, 235, 0.03);
  border-right: 1px solid rgba(250, 245, 235, 0.03);
}

/* Header bar */
.app-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding-top: var(--safe-top);
  background: linear-gradient(180deg, rgba(12, 11, 10, 0.95) 40%, rgba(12, 11, 10, 0));
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.header-inner {
  height: 88px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.header-logo-gothic {
  font-family: var(--font-display);
  font-size: 2.7rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-cream);
}

.header-logo-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-top: -0.4rem;
}

.logo-img {
  height: 89px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.header-actions {
  display: flex;
  align-items: center;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(250, 245, 235, 0.05);
  border: 1px solid rgba(250, 245, 235, 0.08);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-cream);
  transition: var(--transition-fast);
}

.icon-btn:active {
  transform: scale(0.92);
  background: rgba(250, 245, 235, 0.15);
}

.lang-btn {
  font-size: 1.2rem;
  line-height: 1;
}

/* Collapsible Search Bar */
.search-bar-container {
  height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: height var(--transition-normal), opacity var(--transition-normal);
  background: transparent;
}

.search-bar-container.active {
  height: 52px;
  opacity: 1;
  pointer-events: auto;
  margin-bottom: 0.5rem;
}

.search-input-wrapper {
  width: 100%;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.search-input-wrapper:focus-within {
  border-color: var(--accent-gold);
}

.search-input-wrapper input {
  flex: 1;
  height: 100%;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-cream);
}

.search-input-wrapper input::placeholder {
  color: var(--text-faint);
}

.clear-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(250, 245, 235, 0.05);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-fast);
}

.clear-btn.visible {
  opacity: 1;
  transform: scale(1);
}

/* Main content viewport */
.app-main {
  flex: 1;
  margin-top: var(--header-height);
  margin-bottom: var(--nav-height);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 2rem;
}

.app-main.search-open {
  margin-top: calc(var(--header-height) + 52px);
}

/* Screen Shell styling */
.app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 20px, 0) scale(0.98);
  pointer-events: none;
  transition: transform 0.5s var(--ease-smooth), opacity 0.4s var(--ease-smooth), visibility 0.4s var(--ease-smooth);
}

.app-screen.active {
  position: relative;
  height: auto;
  min-height: 100%;
  overflow: visible;
  padding: 1.5rem 1.5rem 3rem;
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}

/* ---------------------------------------------------- */
/* Screen 1: Destaques                                  */
/* ---------------------------------------------------- */
.screen-hero {
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-wine);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero-title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-gold);
  text-transform: none;
}

.hero-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.screen-section {
  margin-bottom: 2.5rem;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-cream);
  letter-spacing: 0.01em;
}

.section-action {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Favorites Carousel (swipeable list) */
.favorites-carousel {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin-inline: -1.5rem;
  padding-inline: 1.5rem;
  scrollbar-width: none;
}

.favorites-carousel::-webkit-scrollbar {
  display: none;
}

.favorite-card {
  flex: 0 0 250px;
  scroll-snap-align: center;
  background: linear-gradient(180deg, rgba(34, 30, 28, 0.4), rgba(22, 20, 19, 0.85));
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition-normal), border-color var(--transition-fast);
}

.favorite-card:active {
  transform: scale(0.97);
}

.fav-img-wrapper {
  width: 100%;
  aspect-ratio: 1.15;
  overflow: hidden;
  position: relative;
}

.fav-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-smooth);
}

.favorite-card:hover .fav-img-wrapper img {
  transform: scale(1.06);
}

.fav-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--accent-wine);
  color: var(--text-cream);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
}

.fav-content {
  padding: 1.2rem;
}

.fav-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.fav-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.45rem;
}

.fav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fav-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
}

/* Callout Banner */
.callout-banner {
  background: linear-gradient(135deg, var(--accent-teal), #0f1c1f);
  border: 1px solid rgba(250, 245, 235, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.callout-banner::before {
  content: "☠";
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.02);
  transform: rotate(-15deg);
  pointer-events: none;
}

.callout-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-cream);
}

.callout-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ---------------------------------------------------- */
/* Screen 2: Carta (Menu)                               */
/* ---------------------------------------------------- */

/* Categories sticky pill bar */
.categories-bar-wrapper {
  position: sticky;
  top: 0;
  margin-inline: -1.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(180deg, var(--bg) 80%, rgba(12, 11, 10, 0));
  z-index: 10;
}

.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.4rem;
}

.category-pill {
  flex: 0 0 auto;
  padding: 0.5rem 0.95rem;
  border-radius: 50px;
  background: rgba(250, 245, 235, 0.04);
  border: 1px solid rgba(250, 245, 235, 0.08);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.category-pill:active {
  transform: scale(0.95);
}

.category-pill.active {
  background: linear-gradient(135deg, var(--accent-wine), #581d11);
  border-color: rgba(250, 245, 235, 0.15);
  color: var(--text-cream);
  box-shadow: 0 4px 12px rgba(142, 43, 23, 0.3);
}

/* Filter Chips */
.filter-chips-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(198, 162, 103, 0.05);
  border: 1px solid rgba(198, 162, 103, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip:active {
  transform: scale(0.95);
}

.filter-chip.active {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold);
  color: var(--text-cream);
}

.chip-icon {
  stroke-width: 3;
}

/* Kitchen hour status banner */
.kitchen-status-banner {
  background: rgba(22, 20, 19, 0.45);
  border: 1px solid rgba(250, 245, 235, 0.04);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.k-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.k-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

.kitchen-status-banner.closed .k-status-dot {
  background-color: var(--color-warning);
  box-shadow: 0 0 8px var(--color-warning);
}

.k-status-text {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.k-status-subtext {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Category header title block */
.menu-category-title-wrap {
  margin-bottom: 1.25rem;
}

.menu-category-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem;
}

.menu-category-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Menu Grid */
.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Menu card item list style */
.menu-item-card {
  display: flex;
  background: linear-gradient(135deg, rgba(22, 20, 19, 0.6), rgba(15, 14, 13, 0.8));
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 105px;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  
  /* Stagger animation fields */
  opacity: 0;
  transform: translateY(18px);
  animation: card-appear 0.5s var(--ease-smooth) forwards;
  animation-delay: calc(var(--index, 0) * 0.05s);
}

.menu-item-card:active {
  transform: scale(0.985);
  border-color: rgba(198, 162, 103, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

@keyframes card-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.item-img-box {
  width: 95px;
  height: auto;
  min-height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: #111;
  transition: filter var(--transition-normal);
}

.item-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-img-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #1f1b1a, #131211);
  color: var(--text-faint);
}

.item-body {
  flex: 1;
  padding: 0.9rem 3.8rem 0.9rem 1rem; /* leave space for the floating plus btn */
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity var(--transition-normal);
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.item-tag {
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(250, 245, 235, 0.04);
  color: var(--text-muted);
}

.item-tag.tag-favorito {
  background: rgba(198, 162, 103, 0.1);
  color: var(--accent-gold);
}

.item-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  color: var(--text-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-description {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.item-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}

.item-action-wrapper {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
}

.plus-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-active);
  border: 1px solid var(--surface-glass-border);
  color: var(--accent-gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.plus-btn:active {
  transform: scale(0.85);
  background: var(--accent-gold);
  color: var(--bg);
}

.plus-btn svg {
  transition: transform var(--transition-fast);
}

.plus-btn:active svg {
  transform: rotate(90deg);
}

/* Locked Card / Closed Kitchen styles */
.menu-item-card.locked {
  border-color: rgba(250, 245, 235, 0.03);
  background: linear-gradient(135deg, rgba(22, 20, 19, 0.3), rgba(15, 14, 13, 0.4));
}

.menu-item-card.locked .item-img-box {
  filter: grayscale(1) brightness(0.4);
}

.menu-item-card.locked .item-body {
  opacity: 0.45;
}

.menu-item-card.locked .plus-btn {
  background: rgba(250, 245, 235, 0.01) !important;
  border-color: rgba(250, 245, 235, 0.03);
  color: rgba(250, 245, 235, 0.15);
  cursor: not-allowed;
}

.lock-overlay-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(198, 162, 103, 0.12);
  border: 1px solid rgba(198, 162, 103, 0.3);
  color: var(--accent-gold);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  z-index: 3;
}

/* Order item counter badge in card */
.card-qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-wine);
  color: var(--text-cream);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.1);
  animation: badge-pop 0.3s var(--ease-spring);
  z-index: 3;
}

@keyframes badge-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Empty results */
.empty-results {
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
}

.empty-results.hidden {
  display: none !important;
}

.empty-results svg {
  color: var(--text-faint);
  margin-bottom: 1rem;
}

.empty-results h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-cream);
}

.empty-results p {
  font-size: 0.85rem;
}

/* ---------------------------------------------------- */
/* Screen 3: O Meu Pedido (Order Builder)               */
/* ---------------------------------------------------- */
.screen-title-area {
  margin-bottom: 1.5rem;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
}

.page-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.order-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-item {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-glass-border);
  padding: 0.8rem;
  border-radius: var(--radius-md);
  gap: 0.8rem;
  animation: slide-in 0.3s var(--ease-smooth);
}

@keyframes slide-in {
  from { opacity: 0; transform: translate3d(-10px, 0, 0); }
  to { opacity: 1; transform: none; }
}

.order-item-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
}

.order-item-details {
  flex: 1;
  min-width: 0;
}

.order-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-cream);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-item-price {
  font-size: 0.82rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.order-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(250, 245, 235, 0.03);
  border: 1px solid rgba(250, 245, 235, 0.06);
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
}

.order-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-cream);
  cursor: pointer;
  transition: var(--transition-fast);
}

.order-qty-btn:active {
  background: rgba(250,245,235,0.1);
  transform: scale(0.9);
}

.order-qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

/* Empty order view */
.order-empty {
  text-align: center;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
}

.order-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.order-empty h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-cream);
  margin-bottom: 0.5rem;
}

.order-empty p {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  max-width: 250px;
}

/* Order Footer */
.order-footer {
  background: linear-gradient(180deg, rgba(22, 20, 19, 0.4), rgba(22, 20, 19, 0.9));
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  animation: fade-in 0.4s var(--ease-smooth);
}

.order-footer.hidden {
  display: none !important;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.order-cost-breakdown {
  border-bottom: 1px solid rgba(250, 245, 235, 0.06);
  padding-bottom: 0.9rem;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.cost-row span:last-child {
  color: var(--text-cream);
}

.cost-value {
  font-family: var(--font-sans);
  font-size: 1.4rem !important;
  font-weight: 800;
  color: var(--accent-gold) !important;
}

.cost-note {
  font-size: 0.7rem;
  color: var(--text-faint);
  line-height: 1.3;
}

.order-actions-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-wine), #5f1e11);
  color: var(--text-cream);
  border: 1px solid rgba(250, 245, 235, 0.1);
  box-shadow: 0 4px 15px rgba(142, 43, 23, 0.25);
}

.btn-primary:active {
  background: #5f1e11;
  box-shadow: 0 2px 6px rgba(142, 43, 23, 0.2);
}

.btn-ghost {
  background: rgba(250, 245, 235, 0.04);
  border: 1px solid rgba(250, 245, 235, 0.08);
  color: var(--text-muted);
}

.btn-ghost:active {
  background: rgba(250, 245, 235, 0.08);
  color: var(--text-cream);
}

.btn-sm {
  height: 38px;
  padding: 0 1rem;
  font-size: 0.75rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn-icon svg {
  flex-shrink: 0;
}

/* ---------------------------------------------------- */
/* Screen 4: Sobre Nós (Info)                           */
/* ---------------------------------------------------- */
.story-cover-image {
  position: relative;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--surface-glass-border);
  box-shadow: var(--shadow-md);
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.65) contrast(1.1);
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 11, 10, 0.95), transparent 80%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cover-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

.cover-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.story-text-container {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: justify;
}

.story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--accent-gold);
  text-align: center;
  padding: 0.5rem 1rem;
  border-left: 2px solid var(--accent-gold);
  margin: 0.5rem 0;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--surface-glass-border);
  padding: 1rem;
  border-radius: var(--radius-md);
  align-items: center;
}

.info-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(250,245,235,0.03);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.info-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-cream);
  margin-bottom: 0.15rem;
}

.info-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.info-content a {
  color: var(--accent-gold);
  font-weight: 600;
}

.accent-sub {
  color: var(--accent-wine) !important;
  font-weight: 600;
}

.sobre-footer {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(250, 245, 235, 0.05);
  color: var(--text-faint);
  font-size: 0.72rem;
}

.credits-tag {
  margin-top: 0.25rem;
  color: var(--accent-gold-rgb);
  opacity: 0.5;
}

/* ---------------------------------------------------- */
/* Bottom Navigation                                    */
/* ---------------------------------------------------- */
.app-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  padding-bottom: var(--safe-bottom);
  background: linear-gradient(0deg, rgba(12, 11, 10, 0.98) 30%, rgba(12, 11, 10, 0.8) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(212, 174, 106, 0.08);
  z-index: 100;
}

.nav-inner {
  height: 72px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.nav-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-item-icon {
  position: relative;
  transition: transform var(--transition-normal);
}

.nav-item-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

/* Badge count for selected items */
.nav-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--accent-wine);
  color: var(--text-cream);
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 10px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Active tab state */
.nav-item.active {
  color: var(--accent-gold);
}

.nav-item.active .nav-item-icon {
  transform: translateY(-2px) scale(1.05);
}

.nav-item.active .nav-item-label {
  opacity: 1;
  font-weight: 700;
}

/* Indicator line */
.nav-item::after {
  content: "";
  position: absolute;
  bottom: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  opacity: 0;
  transform: scale(0);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-item.active::after {
  opacity: 1;
  transform: scale(1);
}

/* ---------------------------------------------------- */
/* Language Selector Overlay & Card                    */
/* ---------------------------------------------------- */
.lang-card {
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, #181514, #0e0d0c);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: scale(0.92);
  transition: transform 0.4s var(--ease-spring);
}

.dialog-overlay.active .lang-card {
  transform: scale(1);
}

.lang-card-brand {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.lang-logo-img {
  height: 135px;
  width: auto;
  align-self: center;
  margin-bottom: 0.5rem;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.lang-card-gothic {
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-cream);
}

.lang-card-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-top: -0.3rem;
}

.lang-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-cream);
  margin-bottom: 0.25rem;
}

.lang-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.lang-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.lang-opt-btn {
  background: var(--surface);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.lang-opt-btn:active {
  transform: scale(0.95);
  border-color: var(--accent-gold);
  background: var(--surface-active);
}

.lang-opt-flag {
  font-size: 1.8rem;
  line-height: 1;
}

.lang-opt-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-cream);
}

/* ---------------------------------------------------- */
/* Detail Drawer Bottom Sheet (Modal Overlay)          */
/* ---------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-sheet {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate3d(-50%, 100%, 0);
  width: 100%;
  max-width: 480px; /* Constrain desktop matching app width */
  max-height: 85svh;
  background: var(--surface);
  border-top: 1px solid var(--surface-glass-border);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s var(--ease-spring);
}

.drawer-overlay.active .drawer-sheet {
  transform: translate3d(-50%, 0, 0);
}

.drawer-header {
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.drawer-handle {
  width: 36px;
  height: 4px;
  background-color: rgba(250, 245, 235, 0.15);
  border-radius: 4px;
}

.drawer-close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(250,245,235,0.05);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  cursor: pointer;
}

.drawer-close:active {
  transform: translateY(-50%) scale(0.9);
  background: rgba(250,245,235,0.1);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.5rem 1.5rem;
}

.drawer-img-container {
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--surface-glass-border);
  position: relative;
  background: #111;
}

.drawer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-img-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--accent-wine);
  color: var(--text-cream);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}

.drawer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.drawer-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.drawer-tags {
  display: flex;
  gap: 0.35rem;
}

.drawer-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-cream);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.drawer-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.drawer-desc-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(250, 245, 235, 0.05);
  padding-bottom: 0.25rem;
}

.drawer-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.drawer-footer {
  padding: 1.25rem 1.5rem calc(1.25rem + var(--safe-bottom));
  border-top: 1px solid rgba(250, 245, 235, 0.05);
  background: var(--surface-active);
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--transition-normal);
}

.drawer-order-controls {
  display: flex;
  align-items: center;
  background: rgba(250,245,235,0.03);
  border: 1px solid rgba(250,245,235,0.06);
  height: 48px;
  border-radius: var(--radius-md);
  padding: 0 0.5rem;
  gap: 1rem;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-cream);
  cursor: pointer;
  transition: var(--transition-fast);
}

.quantity-btn:active {
  background: rgba(250,245,235,0.1);
  transform: scale(0.9);
}

.quantity-value {
  font-size: 1rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* ---------------------------------------------------- */
/* Dialog Box Overlay                                   */
/* ---------------------------------------------------- */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.dialog-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dialog-card {
  width: 100%;
  max-width: 340px;
  background: linear-gradient(180deg, #1e1a19, #131110);
  border: 1px solid var(--surface-glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.dialog-overlay.active .dialog-card {
  transform: scale(1);
}

.dialog-icon {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 4px 12px rgba(198,162,103,0.3));
}

.dialog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-cream);
  margin-bottom: 0.5rem;
}

.dialog-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.dialog-summary {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(250, 245, 235, 0.04);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  font-size: 0.8rem;
  text-align: left;
  max-height: 160px;
  overflow-y: auto;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.dialog-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.dialog-summary-row:last-child {
  margin-bottom: 0;
}

.dialog-summary-title {
  font-weight: 500;
  color: var(--text-cream);
}

.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dialog-actions .btn {
  width: 100%;
}

/* ---------------------------------------------------- */
/* Warning Toast Notifications                          */
/* ---------------------------------------------------- */
.toast-notification {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translate3d(-50%, -100px, 0);
  background: linear-gradient(135deg, #b71c1c, #7f0000);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-cream);
  padding: 0.8rem 1.35rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 99999;
  text-align: center;
  max-width: 90%;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.4s var(--ease-spring), opacity 0.3s ease;
}

.toast-notification.visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
}

/* ---------------------------------------------------- */
/* Dedicated Wine Screen Styles                         */
/* ---------------------------------------------------- */
.wine-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot-tinto {
  background-color: #7b1113; /* Deep tinto red */
  box-shadow: 0 0 6px rgba(123, 17, 19, 0.6);
}

.dot-branco {
  background-color: #f7e7a8; /* Straw gold */
  box-shadow: 0 0 6px rgba(247, 231, 168, 0.6);
}

.dot-rose {
  background-color: #f3a3b2; /* Rosé pink */
  box-shadow: 0 0 6px rgba(243, 163, 178, 0.6);
}

.filter-chip-wine {
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(250, 245, 235, 0.03);
  border: 1px solid rgba(250, 245, 235, 0.08);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip-wine:active {
  transform: scale(0.95);
}

.filter-chip-wine.active {
  background: rgba(198, 162, 103, 0.12);
  border-color: var(--accent-gold);
  color: var(--text-cream);
  box-shadow: 0 2px 8px rgba(198, 162, 103, 0.15);
}

/* Compact layout for 6 bottom tabs on small mobile screens */
@media (max-width: 420px) {
  .nav-item-label {
    font-size: 0.52rem;
    letter-spacing: -0.01em;
  }
  .nav-item {
    gap: 0.2rem;
  }
}
