/**
 * PANOVA CAFÉ — MENU 2.0 CREATIVE MOTION EXPERIENCE
 * Master Stylesheet for the 6-Section Unfolding Menu:
 * Section A: Cinematic Editorial Hero (line-by-line mask reveals & layered depth)
 * Section B: Signature Craving Studio (sticky scroll-driven 3-mood discovery)
 * Section C: Complete Menu (sticky filter toolbar & elevated responsive grid)
 * Section D: Restrained Product Card Interactions
 * Section E: Featured Café Picks Horizontal Rail
 * Section F: Final Visit CTA
 */

:root {
  --color-cream: #FAF6EF;
  --color-cream-soft: #FFFDF9;
  --color-ivory: #EFE4D3;
  --color-espresso: #200C04;
  --color-espresso-deep: #160803;
  --color-mocha: #381E11;
  --color-roast: #4A2E1F;
  --color-gold: #B8975A;
  --color-gold-dark: #785926;
  --color-gold-soft: rgba(184, 151, 90, 0.15);
  --color-border: rgba(32, 12, 4, 0.08);
  --color-border-subtle: rgba(32, 12, 4, 0.05);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'La Belle Aurore', cursive, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(32, 12, 4, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(32, 12, 4, 0.08);
  --shadow-lg: 0 16px 36px -8px rgba(32, 12, 4, 0.12), 0 4px 12px rgba(184, 151, 90, 0.12);
  --shadow-gold: 0 12px 28px -4px rgba(184, 151, 90, 0.35);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  background-color: var(--color-cream);
  color: var(--color-espresso);
  font-family: var(--font-sans);
}

body.menu-page-wrapper {
  margin: 0;
  padding: 0;
  background-color: var(--color-cream);
  color: var(--color-espresso);
  overflow-x: hidden;
  line-height: 1.5;
}

.menu-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.font-script {
  font-family: var(--font-script);
}

/* Eyebrow tag pill */
.hero-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--color-ivory);
  border: 1px solid rgba(184, 151, 90, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
}


/* ==========================================================================
   SECTION A — THE CINEMATIC MENU HERO
   ========================================================================== */

.menu-hero-section {
  position: relative;
  padding: clamp(2.5rem, 5.5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background-color: var(--color-cream);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.menu-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

@media (max-width: 991px) {
  .menu-hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Left Column: Mask-Revealed Editorial Typography */
.hero-display-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-espresso);
  margin: 0 0 1.5rem 0;
}

.hero-display-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold-dark);
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-inner {
  display: block;
  transform: translateY(115%);
  animation: heroLineReveal 0.85s var(--ease-spring) forwards;
}

.hero-title-line:nth-child(1) .hero-title-inner {
  animation-delay: 0.08s;
}

.hero-title-line:nth-child(2) .hero-title-inner {
  animation-delay: 0.2s;
}

.hero-title-line:nth-child(3) .hero-title-inner {
  animation-delay: 0.32s;
}

@keyframes heroLineReveal {
  0% {
    transform: translateY(115%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-roast);
  max-width: 520px;
  margin: 0 0 2rem 0;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-spring) 0.4s forwards;
}

.hero-action-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-spring) 0.52s forwards;
}

.hero-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  background-color: var(--terracotta, #A85438);
  color: #FAF6EF;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.28s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(168, 84, 56, 0.3);
}

.hero-explore-btn:hover {
  background-color: var(--terracotta-hover, #8F442C);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(168, 84, 56, 0.45);
  transform: translateY(-2px);
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-roast);
}

/* Right Column: Editorial Photographic Composition */
.hero-right-collage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .hero-right-collage {
    height: 380px;
    max-width: 340px;
  }
}

.collage-center-drink {
  position: relative;
  z-index: 2;
  width: min(280px, 65%);
  height: 390px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 52px -12px rgba(32, 12, 4, 0.25);
  border: 4px solid var(--color-cream-soft);
  clip-path: inset(0 0 100% 0 round var(--radius-lg));
  animation: clipReveal 0.95s var(--ease-spring) 0.3s forwards, heroFloatCenter 6s ease-in-out 1.25s infinite;
  will-change: transform, clip-path;
}

@media (max-width: 640px) {
  .collage-center-drink {
    width: 220px;
    height: 310px;
  }
}

.collage-center-drink img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-plate-left {
  position: absolute;
  bottom: 25px;
  left: 0;
  z-index: 3;
  width: min(210px, 50%);
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(32, 12, 4, 0.22);
  border: 3px solid var(--color-cream-soft);
  opacity: 0;
  transform: rotate(-12deg) translateY(40px);
  animation: plateRevealLeft 0.85s var(--ease-spring) 0.45s forwards, heroFloatLeft 7s ease-in-out 1.3s infinite;
  will-change: transform, opacity;
}

.collage-plate-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-plate-right {
  position: absolute;
  top: 45px;
  right: 0;
  z-index: 1;
  width: min(210px, 50%);
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(32, 12, 4, 0.18);
  border: 3px solid var(--color-cream-soft);
  opacity: 0;
  transform: rotate(14deg) translateY(40px);
  animation: plateRevealRight 0.85s var(--ease-spring) 0.55s forwards, heroFloatRight 8s ease-in-out 1.4s infinite;
  will-change: transform, opacity;
}

.collage-plate-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-script-note {
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 5;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--color-gold-dark);
  transform: rotate(7deg);
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
  line-height: 1.1;
  text-align: right;
  animation: scriptShimmer 5s ease-in-out infinite;
}

@keyframes clipReveal {
  0% {
    clip-path: inset(0 0 100% 0 round var(--radius-lg));
    opacity: 0;
  }
  100% {
    clip-path: inset(0 0 0% 0 round var(--radius-lg));
    opacity: 1;
  }
}

@keyframes plateRevealLeft {
  0% {
    opacity: 0;
    transform: rotate(-12deg) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: rotate(-7deg) translateY(0);
  }
}

@keyframes plateRevealRight {
  0% {
    opacity: 0;
    transform: rotate(14deg) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: rotate(7deg) translateY(0);
  }
}

@keyframes heroFloatCenter {
  0%, 100% { transform: translateY(-8px) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(-1deg); }
}

@keyframes heroFloatLeft {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-3.5deg) translateY(-18px); }
}

@keyframes heroFloatRight {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(10.5deg) translateY(-16px); }
}

@keyframes scriptShimmer {
  0%, 100% {
    opacity: 0.85;
    transform: rotate(7deg) scale(1);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.6));
  }
  50% {
    opacity: 1;
    transform: rotate(8.5deg) scale(1.05);
    filter: drop-shadow(0 4px 14px rgba(184, 151, 90, 0.65));
  }
}

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   SECTION B — SIGNATURE WOW FEATURE: THE PANOVA CRAVING STUDIO
   "WHAT ARE YOU IN THE MOOD FOR?" (Sticky Scroll-Driven Discovery Scene)
   ========================================================================== */

.craving-studio-section {
  position: relative;
  background-color: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}

/* Outer Desktop Track: Gives 200vh of natural scroll distance */
.craving-studio-track {
  position: relative;
  height: 200vh;
}

@media (max-width: 991px) {
  .craving-studio-track {
    height: auto;
  }
}

/* Sticky Container: Pinned during desktop scrolling */
.craving-studio-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-cream);
}

@media (max-width: 991px) {
  .craving-studio-sticky {
    position: relative;
    top: auto;
    height: auto;
    padding: 3.5rem 0 4rem;
  }
}

.craving-studio-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90%;
  max-height: 720px;
}

@media (max-width: 991px) {
  .craving-studio-container {
    height: auto;
    max-height: none;
    gap: 2rem;
  }
}

/* Header Bar & 3 Clickable Mood Selectors */
.craving-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

.craving-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.craving-badge-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 0 0 rgba(184, 151, 90, 0.7);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 151, 90, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(184, 151, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 151, 90, 0); }
}

.craving-main-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  color: var(--color-espresso);
  margin: 0;
}

.craving-mood-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.craving-mood-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  white-space: nowrap;
}

.craving-mood-tab .mood-num {
  font-size: 0.7rem;
  color: var(--color-gold-dark);
  font-weight: 700;
}

.craving-mood-tab:hover {
  border-color: var(--color-gold);
  background-color: var(--color-ivory);
  transform: translateY(-1px);
}

.craving-mood-tab.is-active {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  border-color: var(--color-espresso);
  box-shadow: var(--shadow-sm);
}

.craving-mood-tab.is-active .mood-num {
  color: var(--color-gold);
}

/* Stage Viewport & Crossfading Panels */
.craving-stage-viewport {
  position: relative;
  flex: 1;
  min-height: 440px;
  margin: 1.5rem 0;
}

@media (max-width: 991px) {
  .craving-stage-viewport {
    min-height: auto;
    margin: 1rem 0;
  }
}

.craving-mood-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.48s var(--ease-smooth), transform 0.48s var(--ease-spring);
  display: flex;
  align-items: center;
}

.craving-mood-panel.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.craving-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
}

@media (max-width: 991px) {
  .craving-panel-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Panel Copy */
.craving-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.85rem;
}

.craving-panel-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-espresso);
  margin: 0 0 1rem 0;
  letter-spacing: -0.015em;
}

.craving-panel-desc {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: var(--color-roast);
  margin: 0 0 1.5rem 0;
  max-width: 480px;
}

.craving-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.craving-pill {
  padding: 0.35rem 0.85rem;
  background-color: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-roast);
}

.craving-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  background-color: var(--terracotta, #A85438);
  color: #FAF6EF;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
  box-shadow: 0 4px 14px rgba(168, 84, 56, 0.28);
}

.craving-explore-btn:hover {
  background-color: var(--terracotta-hover, #8F442C);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(168, 84, 56, 0.42);
  transform: translateY(-2px);
}

/* Panel Visuals Composition */
.craving-panel-visual {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (max-width: 640px) {
  .craving-panel-visual {
    grid-template-columns: 1fr;
  }
}

.craving-main-visual {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-cream-soft);
}

@media (max-width: 991px) {
  .craving-main-visual {
    height: 300px;
  }
}

.craving-main-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}

.craving-main-visual:hover img {
  transform: scale(1.05);
}

.craving-visual-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  padding: 0.45rem 1rem;
  background: rgba(32, 12, 4, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-cream);
  border: 1px solid rgba(184, 151, 90, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.craving-sub-visuals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.craving-sub-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  background-color: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease-spring);
  cursor: pointer;
}

.craving-sub-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.craving-sub-card img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.craving-sub-info {
  display: flex;
  flex-direction: column;
}

.craving-sub-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-espresso);
  line-height: 1.2;
}

.craving-sub-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-top: 0.2rem;
}

/* Bottom Progress Track */
.craving-progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.craving-progress-track {
  flex: 1;
  height: 4px;
  background-color: rgba(32, 12, 4, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.craving-progress-fill {
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  border-radius: var(--radius-pill);
  transition: width 0.35s var(--ease-spring);
}

.craving-step-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  letter-spacing: 0.08em;
}


/* ==========================================================================
   SECTION C — THE COMPLETE MENU
   (Sticky Filter Toolbar + Refined Responsive Grid)
   ========================================================================== */

.menu-catalog-section {
  position: relative;
  padding: 4rem 0 5rem;
  background-color: var(--color-cream);
}

.catalog-heading-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.catalog-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--color-espresso);
  margin: 0 0 0.75rem 0;
  line-height: 1.1;
}

.catalog-main-sub {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--color-roast);
  margin: 0;
  line-height: 1.6;
}

/* Sticky Toolbar under Navbar */
.catalog-sticky-toolbar {
  position: sticky;
  top: 72px;
  z-index: 45;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 0;
  margin-bottom: 2.5rem;
  box-shadow: 0 6px 20px rgba(32, 12, 4, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toolbar-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Category Pills Row */
.category-pills-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}

.cat-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease-spring);
  white-space: nowrap;
}

.cat-pill-btn:hover {
  background-color: var(--color-ivory);
  border-color: var(--color-gold);
  transform: translateY(-1px);
}

.cat-pill-btn.is-active {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  border-color: var(--color-espresso);
  box-shadow: var(--shadow-sm);
}

.toolbar-controls-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Live Search Box */
.toolbar-search-field {
  position: relative;
  width: 240px;
}

@media (max-width: 640px) {
  .toolbar-search-field {
    width: 100%;
  }
}

.catalog-search-input {
  width: 100%;
  height: 40px;
  padding: 0 2.2rem 0 2.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background-color: var(--color-cream-soft);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--color-espresso);
  outline: none;
  box-sizing: border-box;
  transition: all 0.22s ease;
}

.catalog-search-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-soft);
  background-color: #ffffff;
}

.search-icon-svg {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--color-gold-dark);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-roast);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sort Select */
.catalog-sort-select {
  height: 40px;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background-color: var(--color-cream-soft);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-espresso);
  cursor: pointer;
  outline: none;
  transition: all 0.22s ease;
}

.catalog-sort-select:hover,
.catalog-sort-select:focus {
  border-color: var(--color-gold);
  background-color: #ffffff;
}

/* Dynamic Category Banner */
.catalog-category-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  background-color: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  margin-bottom: 2.25rem;
}

@media (max-width: 640px) {
  .catalog-category-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }
}

.banner-title-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.banner-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-ivory);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-title-text {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-espresso);
  margin: 0 0 0.25rem 0;
}

.banner-sub-text {
  font-size: 0.88rem;
  color: var(--color-roast);
  margin: 0;
}

.banner-script-badge {
  font-size: 1.75rem;
  color: var(--color-gold-dark);
  transform: rotate(3deg);
  white-space: nowrap;
}


/* ==========================================================================
   SECTION D — ELEVATED RESPONSIVE PRODUCT GRID & CARDS
   ========================================================================== */

.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

@media (max-width: 640px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.product-card {
  background-color: var(--color-cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease-spring), box-shadow 0.32s var(--ease-smooth), border-color 0.25s ease;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  will-change: transform, box-shadow;
  animation: cardEntrance 0.48s var(--ease-spring) both;
  animation-delay: calc(var(--item-idx, 0) * 0.035s);
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.008);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 151, 90, 0.45);
}

.product-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-ivory);
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.05);
}

/* Authentic Veg Indicator (Indian FSSAI Standard Square with Dot) */
.product-veg-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 2px solid #16a34a;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.product-veg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #16a34a;
}

/* Card Body Content */
.product-card-body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .product-card-body {
    padding: 0.85rem;
  }
}

.product-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.product-price-tag {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-espresso);
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-espresso);
  margin: 0 0 0.45rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .product-title {
    font-size: 1.05rem;
  }
}

.product-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-roast);
  margin: 0 0 1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .product-desc {
    display: none;
  }
}

.product-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.6rem 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.22s ease;
}

.product-card:hover .product-card-action {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  border-color: var(--color-espresso);
}

/* Empty State */
.catalog-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background-color: var(--color-ivory);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-espresso);
  margin: 0 0 0.5rem 0;
}

.empty-state-desc {
  font-size: 0.92rem;
  color: var(--color-roast);
  margin: 0 0 1.5rem 0;
}

.empty-state-reset-btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-espresso);
  color: var(--color-cream);
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.empty-state-reset-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-espresso);
}


/* ==========================================================================
   SECTION E — FEATURED CAFÉ PICKS (Horizontal Product Rail)
   ========================================================================== */

.featured-picks-section {
  position: relative;
  padding: 5rem 0;
  background-color: var(--color-cream);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.featured-rail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.featured-rail-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-espresso);
  margin: 0 0 0.5rem 0;
}

.featured-rail-sub {
  font-size: 0.95rem;
  color: var(--color-roast);
  margin: 0;
}

.rail-arrows-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rail-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s var(--ease-spring);
  box-shadow: var(--shadow-sm);
}

.rail-nav-btn:hover {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  border-color: var(--color-espresso);
  transform: scale(1.05);
}

/* Horizontal Scroll Track */
.featured-rail-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.featured-rail-track::-webkit-scrollbar {
  display: none;
}

.featured-rail-card {
  flex: 0 0 310px;
  scroll-snap-align: start;
  background-color: var(--color-cream-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.featured-rail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184, 151, 90, 0.45);
}

.rail-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-ivory);
}

.rail-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.featured-rail-card:hover .rail-card-img-wrap img {
  transform: scale(1.06);
}

.rail-veg-dot {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.rail-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.rail-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-espresso);
  margin-bottom: 0.35rem;
}

.rail-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-espresso);
  margin: 0 0 0.5rem 0;
}

.rail-card-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-roast);
  margin: 0 0 1.25rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rail-card-btn {
  width: 100%;
  padding: 0.55rem 0;
  border-radius: var(--radius-pill);
  background-color: var(--color-ivory);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s ease;
}

.featured-rail-card:hover .rail-card-btn {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  border-color: var(--color-espresso);
}


/* ==========================================================================
   SECTION F — FINAL VISIT CTA
   ========================================================================== */

.visit-cta-section {
  position: relative;
  padding: 5rem 0 3rem;
  background-color: var(--color-cream);
}

.visit-cta-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  background: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
}

@media (max-width: 860px) {
  .visit-cta-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
}

.visit-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-espresso);
  margin: 0 0 1rem 0;
}

.visit-cta-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-roast);
  margin: 0 0 2rem 0;
  max-width: 480px;
}

.visit-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.visit-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  background-color: var(--terracotta, #A85438);
  color: #FAF6EF;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(168, 84, 56, 0.28);
  transition: all 0.25s var(--ease-spring);
}

.visit-btn-primary:hover {
  background-color: var(--terracotta-hover, #8F442C);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(168, 84, 56, 0.42);
  transform: translateY(-2px);
}

.visit-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-cream-soft);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.visit-btn-secondary:hover {
  background-color: var(--color-ivory);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.visit-cta-visual-col {
  position: relative;
  text-align: center;
}

.visit-script-tag {
  position: absolute;
  top: -24px;
  right: 15px;
  z-index: 5;
  font-size: 2.2rem;
  color: var(--color-gold-dark);
  transform: rotate(8deg);
  line-height: 1;
}

.visit-cta-cup-wrap {
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 48px -10px rgba(32, 12, 4, 0.25);
  border: 6px solid var(--color-cream-soft);
  position: relative;
}

@media (max-width: 640px) {
  .visit-cta-cup-wrap {
    width: 220px;
    height: 220px;
  }
}

.visit-cta-cup-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   PRODUCT DETAIL MODAL (ACCESSIBLE DIALOG)
   ========================================================================== */

.product-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(32, 12, 4, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.product-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-card {
  position: relative;
  width: 100%;
  max-width: 820px;
  border-radius: var(--radius-lg);
  background-color: var(--color-cream-soft);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s var(--ease-spring);
}

@media (max-width: 768px) {
  .product-modal-card {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
}

.product-modal-backdrop.is-open .product-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--color-espresso);
  color: var(--color-cream);
}

.modal-image-col {
  position: relative;
  height: 100%;
  min-height: 320px;
  background-color: var(--color-ivory);
}

@media (max-width: 768px) {
  .modal-image-col {
    height: 240px;
    min-height: auto;
  }
}

.modal-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content-col {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .modal-content-col {
    padding: 1.5rem;
  }
}

.modal-product-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-espresso);
  line-height: 1.15;
  margin: 0 0 0.5rem 0;
}

.modal-product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold-dark);
}

.modal-product-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-roast);
}

.modal-actions-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background-color: var(--color-cream);
}

.stepper-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-espresso);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-val {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-espresso);
}

.modal-whatsapp-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-espresso);
  color: var(--color-cream);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease-spring);
  box-shadow: 0 4px 14px rgba(32, 12, 4, 0.18);
}

.modal-whatsapp-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-espresso);
  box-shadow: var(--shadow-gold);
}

.modal-badges-list {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.modal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-ivory);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-espresso);
}


/* ==========================================================================
   WARM CREAM BRAND FOOTER
   ========================================================================== */

.panova-cream-footer {
  background-color: var(--color-cream-soft);
  border-top: 1px solid var(--color-border);
  padding: 4.5rem 0 2.5rem;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 991px) {
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-lockup {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--color-roast);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--color-gold-dark);
}

.footer-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.8rem;
  color: var(--color-roast);
  flex-wrap: wrap;
  gap: 1rem;
}

.back-to-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-cream);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s var(--ease-spring);
}

.back-to-top-btn:hover {
  background-color: var(--color-espresso);
  color: var(--color-cream);
  transform: translateY(-2px);
}


/* ==========================================================================
   SCROLL REVEAL UTILITIES & ACCESSIBILITY
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-spring), transform 0.75s var(--ease-spring);
  will-change: opacity, transform;
}

.animate-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-title-inner,
  .hero-description,
  .hero-action-group,
  .collage-center-drink,
  .collage-plate-left,
  .collage-plate-right,
  .collage-script-note,
  .product-card,
  .animate-on-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
