/**
 * TALIB DIGITAL DEMOS — CAFÉ VIBES STYLESHEET
 * Premium, Light, Aesthetic Contemporary Italian Summer & Artisanal Café Experience
 * Strictly scoped under .tcfe-root and .tcfe-* to prevent global CSS leakage
 */

/* =====================================================================
   CSS DESIGN TOKENS
   ===================================================================== */
:root {
  --tcfe-bg: #FFF9F0;               /* Primary Background */
  --tcfe-bg-surface: #FFFFFF;       /* Pure White Cards */
  --tcfe-bg-alt: #F6F0E6;           /* Secondary Background */
  --tcfe-soft-green: #DDE7D4;       /* Soft Green Accent */
  --tcfe-sage: #A8B89A;             /* Sage Green Primary */
  --tcfe-sage-hover: #93A385;       /* Deep Sage Hover */
  --tcfe-butter: #F5D879;           /* Butter Yellow Warmth */
  --tcfe-butter-soft: #FDF4D4;      /* Soft Butter Tint */
  --tcfe-terracotta: #D98262;       /* Terracotta Accent */
  --tcfe-terracotta-hover: #C36E4F; /* Deep Terracotta */
  --tcfe-terracotta-soft: #FAEBE5;  /* Soft Terracotta Tint */
  --tcfe-coffee: #76513D;           /* Coffee Brown (Typography & Accents) */
  --tcfe-text: #49372D;             /* Primary Text */
  --tcfe-text-muted: #7A6557;       /* Muted Text */
  --tcfe-white: #FFFFFF;            /* Pure White */
  --tcfe-border: #E8DFD3;           /* Refined Border */
  --tcfe-border-light: #F2EBE1;     /* Subtle Border */
  
  --tcfe-shadow-sm: 0 4px 14px rgba(73, 55, 45, 0.05);
  --tcfe-shadow-md: 0 10px 30px rgba(73, 55, 45, 0.07);
  --tcfe-shadow-lg: 0 20px 48px rgba(73, 55, 45, 0.10);

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

  --tcfe-font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --tcfe-font-script: 'Caveat', 'Marck Script', cursive;
  --tcfe-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --tcfe-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Body Resets for Standalone View */
.tcfe-standalone-html,
.tcfe-standalone-body {
  margin: 0;
  padding: 0;
  background-color: var(--tcfe-bg);
  color: var(--tcfe-text);
  font-family: var(--tcfe-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scoped Root Container */
.tcfe-root {
  background-color: var(--tcfe-bg);
  color: var(--tcfe-text);
  font-family: var(--tcfe-font-sans);
  font-size: 16px;
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-overflow-scrolling: touch;
}

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

/* Layout Container */
.tcfe-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Typography Utilities */
.tcfe-serif-italic {
  font-family: var(--tcfe-font-serif);
  font-style: italic;
  font-weight: 500;
}

.tcfe-text-center {
  text-align: center;
}

.tcfe-section {
  padding: 96px 0;
  position: relative;
  overflow-x: clip;
}

.tcfe-section-header {
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.tcfe-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--tcfe-coffee);
  margin-bottom: 12px;
  background-color: var(--tcfe-soft-green);
  padding: 4px 14px;
  border-radius: var(--tcfe-radius-full);
}

.tcfe-section-title {
  font-family: var(--tcfe-font-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--tcfe-text);
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.tcfe-section-subtitle {
  font-size: 1.05rem;
  color: var(--tcfe-text-muted);
  line-height: 1.7;
  margin: 0;
}


/* =====================================================================
   BUTTONS & BADGES
   ===================================================================== */
.tcfe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--tcfe-font-sans);
  border-radius: var(--tcfe-radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--tcfe-transition);
  border: none;
  white-space: nowrap;
}

.tcfe-btn:focus-visible {
  outline: 2px solid var(--tcfe-sage);
  outline-offset: 3px;
}

/* Primary Button: Sage Green with High Contrast White Text */
.tcfe-root .tcfe-btn-primary,
a.tcfe-btn-primary,
button.tcfe-btn-primary,
.tcfe-btn-primary {
  background-color: var(--tcfe-sage) !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--tcfe-sage) !important;
  box-shadow: 0 4px 16px rgba(168, 184, 154, 0.35) !important;
}

.tcfe-root .tcfe-btn-primary span,
.tcfe-btn-primary span {
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

.tcfe-root .tcfe-btn-primary svg,
.tcfe-btn-primary svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
}

.tcfe-root .tcfe-btn-primary:hover,
a.tcfe-btn-primary:hover,
button.tcfe-btn-primary:hover,
.tcfe-btn-primary:hover {
  background-color: var(--tcfe-sage-hover) !important;
  border-color: var(--tcfe-sage-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 184, 154, 0.45) !important;
}

/* Secondary Button: Clean Light Pill with Coffee Brown Text */
.tcfe-root .tcfe-btn-secondary,
a.tcfe-btn-secondary,
button.tcfe-btn-secondary,
.tcfe-btn-secondary {
  background-color: #FFFFFF !important;
  color: var(--tcfe-text) !important;
  border: 1.5px solid var(--tcfe-border) !important;
  box-shadow: 0 2px 8px rgba(73, 55, 45, 0.05) !important;
}

.tcfe-root .tcfe-btn-secondary span,
.tcfe-btn-secondary span {
  color: var(--tcfe-text) !important;
  font-weight: 600 !important;
}

.tcfe-root .tcfe-btn-secondary svg,
.tcfe-btn-secondary svg {
  stroke: var(--tcfe-text) !important;
  color: var(--tcfe-text) !important;
}

.tcfe-root .tcfe-btn-secondary:hover,
a.tcfe-btn-secondary:hover,
button.tcfe-btn-secondary:hover,
.tcfe-btn-secondary:hover {
  border-color: var(--tcfe-coffee) !important;
  background-color: var(--tcfe-bg-alt) !important;
  color: var(--tcfe-coffee) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(73, 55, 45, 0.08) !important;
}

.tcfe-btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.tcfe-btn-full {
  width: 100%;
}

/* Badge Pills */
.tcfe-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--tcfe-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.tcfe-badge-sage {
  background-color: var(--tcfe-soft-green);
  color: #3E5434;
}

.tcfe-badge-butter {
  background-color: var(--tcfe-butter);
  color: #523D02;
}

.tcfe-badge-terracotta {
  background-color: var(--tcfe-terracotta-soft);
  color: var(--tcfe-terracotta);
}

.tcfe-badge-coffee {
  background-color: #ECE3DB;
  color: var(--tcfe-coffee);
}

.tcfe-badge-soft-green {
  background-color: var(--tcfe-soft-green);
  color: var(--tcfe-coffee);
}

.tcfe-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--tcfe-sage);
  display: inline-block;
}


/* =====================================================================
   TOP ANNOUNCEMENT BAR
   ===================================================================== */
.tcfe-top-banner {
  background-color: var(--tcfe-soft-green);
  color: var(--tcfe-text);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(168, 184, 154, 0.4);
}

.tcfe-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tcfe-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tcfe-banner-badge {
  background-color: #FFFFFF;
  color: var(--tcfe-coffee);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--tcfe-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tcfe-banner-link {
  color: var(--tcfe-coffee);
  font-weight: 600;
  text-decoration: none;
  transition: var(--tcfe-transition);
}

.tcfe-banner-link:hover {
  color: var(--tcfe-text);
  text-decoration: underline;
}


/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.tcfe-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 249, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tcfe-border-light);
  transition: var(--tcfe-transition);
}

.tcfe-header.tcfe-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(73, 55, 45, 0.06);
}

.tcfe-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.tcfe-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.tcfe-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.tcfe-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcfe-nav-link {
  color: var(--tcfe-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: var(--tcfe-transition);
}

.tcfe-nav-link:hover,
.tcfe-nav-link.tcfe-active {
  color: var(--tcfe-coffee);
}

.tcfe-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--tcfe-sage);
  border-radius: 2px;
  transition: var(--tcfe-transition);
}

.tcfe-nav-link:hover::after,
.tcfe-nav-link.tcfe-active::after {
  width: 100%;
}

.tcfe-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tcfe-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: var(--tcfe-bg-surface);
  border: 1px solid var(--tcfe-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.tcfe-hamburger-bar {
  width: 100%;
  height: 2.2px;
  background-color: var(--tcfe-text);
  border-radius: 2px;
  transition: var(--tcfe-transition);
}


/* =====================================================================
   HERO SECTION (AS YMMETRICAL EDITORIAL COLLAGE)
   ===================================================================== */
.tcfe-hero-section {
  padding: 64px 0 88px 0;
  background-color: var(--tcfe-bg);
  position: relative;
  overflow: hidden;
}

.tcfe-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.tcfe-hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tcfe-script-tag {
  font-family: var(--tcfe-font-script);
  font-size: 1.25rem;
  color: var(--tcfe-terracotta);
  transform: rotate(-3deg);
}

.tcfe-hero-title {
  font-family: var(--tcfe-font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--tcfe-text);
  margin: 0 0 24px 0;
  letter-spacing: -1px;
}

.tcfe-title-highlight {
  color: var(--tcfe-coffee);
  position: relative;
  display: inline-block;
}

.tcfe-title-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: var(--tcfe-butter);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.75;
}

.tcfe-hero-description {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--tcfe-text-muted);
  max-width: 530px;
  margin: 0 0 36px 0;
}

.tcfe-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tcfe-hero-features-list {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tcfe-feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--tcfe-radius-full);
  border: 1px solid var(--tcfe-border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tcfe-text);
  box-shadow: 0 2px 8px rgba(73, 55, 45, 0.04);
}

.tcfe-feature-pill svg {
  color: var(--tcfe-sage);
}

/* Hero Right: Composition & Collage */
.tcfe-hero-visual {
  position: relative;
}

.tcfe-hero-composition {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

.tcfe-hero-frame-main {
  position: relative;
  border-radius: var(--tcfe-radius-xl);
  overflow: hidden;
  box-shadow: var(--tcfe-shadow-lg);
  aspect-ratio: 4/4.8;
  border: 8px solid #FFFFFF;
}

.tcfe-hero-photo-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.tcfe-hero-frame-main:hover .tcfe-hero-photo-main {
  transform: scale(1.03);
}

.tcfe-photo-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--tcfe-radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--tcfe-shadow-sm);
}

/* Floating Secondary Card */
.tcfe-hero-card-secondary {
  position: absolute;
  bottom: -32px;
  left: -48px;
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-lg);
  padding: 12px;
  box-shadow: var(--tcfe-shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--tcfe-border-light);
  max-width: 290px;
  animation: tcfeFloat 5s ease-in-out infinite;
}

.tcfe-card-photo {
  width: 68px;
  height: 68px;
  border-radius: var(--tcfe-radius-md);
  object-fit: cover;
}

.tcfe-card-caption {
  display: flex;
  flex-direction: column;
}

.tcfe-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tcfe-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tcfe-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tcfe-text);
  line-height: 1.3;
  margin: 2px 0 4px 0;
}

.tcfe-card-meta {
  font-size: 0.8rem;
  color: var(--tcfe-text-muted);
  font-weight: 600;
}

/* Floating Rotating Seal */
.tcfe-hero-seal {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  background-color: var(--tcfe-butter);
  border-radius: 50%;
  box-shadow: var(--tcfe-shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tcfeSpin 20s linear infinite;
  will-change: transform;
}

.tcfe-seal-inner {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tcfe-hero-seal svg {
  max-width: 100%;
  max-height: 100%;
}

.tcfe-seal-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Botanical Decorative Leaves */
.tcfe-hero-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.tcfe-hero-leaf-top {
  top: -36px;
  left: 40px;
  transform: rotate(-15deg);
  opacity: 0.85;
}

.tcfe-hero-leaf-bottom {
  bottom: -20px;
  right: -10px;
  transform: rotate(45deg);
  opacity: 0.8;
}


/* =====================================================================
   CONTINUOUS TICKER MARQUEE
   ===================================================================== */
.tcfe-marquee-wrapper {
  background-color: var(--tcfe-bg-alt);
  border-top: 1px solid var(--tcfe-border);
  border-bottom: 1px solid var(--tcfe-border);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  contain: paint;
  max-width: 100vw;
}

.tcfe-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: tcfeMarquee 32s linear infinite;
}

.tcfe-marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--tcfe-coffee);
  text-transform: uppercase;
  padding-right: 24px;
}

.tcfe-marquee-bullet {
  color: var(--tcfe-terracotta);
  font-size: 0.8rem;
}


/* =====================================================================
   SIGNATURE SPECIALS SECTION
   ===================================================================== */
.tcfe-specials-section {
  background-color: var(--tcfe-bg-alt);
}

.tcfe-specials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.tcfe-special-card {
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-lg);
  overflow: hidden;
  box-shadow: var(--tcfe-shadow-sm);
  border: 1px solid var(--tcfe-border-light);
  display: flex;
  flex-direction: column;
  transition: var(--tcfe-transition);
}

.tcfe-special-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tcfe-shadow-lg);
  border-color: var(--tcfe-sage);
}

.tcfe-special-media {
  position: relative;
  aspect-ratio: 4/3.5;
  overflow: hidden;
}

.tcfe-special-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tcfe-special-card:hover .tcfe-special-img {
  transform: scale(1.06);
}

.tcfe-special-media .tcfe-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
}

.tcfe-special-price {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: #FFFFFF;
  color: var(--tcfe-text);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--tcfe-radius-full);
  box-shadow: var(--tcfe-shadow-sm);
}

.tcfe-special-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tcfe-special-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tcfe-coffee);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.tcfe-special-title {
  font-family: var(--tcfe-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tcfe-text);
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.tcfe-special-desc {
  font-size: 0.9rem;
  color: var(--tcfe-text-muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.tcfe-special-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tcfe-special-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--tcfe-bg-alt);
  color: var(--tcfe-text);
  padding: 3px 8px;
  border-radius: 4px;
}

.tcfe-btn-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background-color: var(--tcfe-soft-green);
  color: var(--tcfe-text);
  border: 1px solid transparent;
  border-radius: var(--tcfe-radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tcfe-transition);
}

.tcfe-btn-card-action:hover {
  background-color: var(--tcfe-sage);
  color: #FFFFFF;
}


/* =====================================================================
   MENU SECTION & CLIENT-SIDE CATEGORY FILTERING
   ===================================================================== */
.tcfe-menu-section {
  background-color: var(--tcfe-bg);
}

.tcfe-menu-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.tcfe-menu-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background-color: var(--tcfe-bg-surface);
  padding: 8px;
  border-radius: var(--tcfe-radius-full);
  border: 1px solid var(--tcfe-border);
  box-shadow: var(--tcfe-shadow-sm);
}

.tcfe-menu-tab {
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tcfe-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--tcfe-radius-full);
  cursor: pointer;
  transition: var(--tcfe-transition);
  white-space: nowrap;
}

.tcfe-menu-tab:hover {
  color: var(--tcfe-text);
}

.tcfe-menu-tab.tcfe-active {
  background-color: var(--tcfe-sage);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(168, 184, 154, 0.4);
}

.tcfe-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.tcfe-menu-card {
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-lg);
  overflow: hidden;
  box-shadow: var(--tcfe-shadow-sm);
  border: 1px solid var(--tcfe-border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.tcfe-menu-card.tcfe-hidden {
  display: none !important;
}

.tcfe-menu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tcfe-shadow-lg);
  border-color: var(--tcfe-border);
}

.tcfe-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3.2;
  overflow: hidden;
  background-color: var(--tcfe-bg-alt);
}

.tcfe-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tcfe-menu-card:hover .tcfe-card-image {
  transform: scale(1.05);
}

.tcfe-card-img-wrap .tcfe-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
}

.tcfe-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tcfe-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tcfe-card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--tcfe-coffee);
}

.tcfe-card-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tcfe-text);
}

.tcfe-card-title {
  font-family: var(--tcfe-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tcfe-text);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.tcfe-card-desc {
  font-size: 0.88rem;
  color: var(--tcfe-text-muted);
  line-height: 1.55;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.tcfe-card-footer {
  margin-top: auto;
}

.tcfe-card-view-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  background-color: #FFFFFF;
  border: 1px solid var(--tcfe-border);
  border-radius: var(--tcfe-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tcfe-text);
  cursor: pointer;
  text-align: center;
  transition: var(--tcfe-transition);
}

.tcfe-card-view-btn:hover {
  background-color: var(--tcfe-bg-alt);
  border-color: var(--tcfe-coffee);
  color: var(--tcfe-coffee);
}


/* =====================================================================
   STORY & PHILOSOPHY SECTION
   ===================================================================== */
.tcfe-story-section {
  background-color: var(--tcfe-bg-alt);
}

.tcfe-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.tcfe-story-lead {
  font-size: 1.25rem;
  font-family: var(--tcfe-font-serif);
  font-style: italic;
  color: var(--tcfe-coffee);
  margin: 0 0 18px 0;
  line-height: 1.5;
}

.tcfe-story-p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--tcfe-text-muted);
  margin: 0 0 32px 0;
}

.tcfe-story-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.tcfe-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #FFFFFF;
  padding: 16px 20px;
  border-radius: var(--tcfe-radius-md);
  border: 1px solid var(--tcfe-border-light);
  box-shadow: 0 2px 8px rgba(73, 55, 45, 0.03);
}

.tcfe-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tcfe-icon-sage {
  background-color: var(--tcfe-soft-green);
  color: #3E5434;
}

.tcfe-icon-butter {
  background-color: var(--tcfe-butter-soft);
  color: #6C5106;
}

.tcfe-icon-terracotta {
  background-color: var(--tcfe-terracotta-soft);
  color: var(--tcfe-terracotta);
}

.tcfe-pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tcfe-text);
  margin: 0 0 4px 0;
}

.tcfe-pillar-desc {
  font-size: 0.88rem;
  color: var(--tcfe-text-muted);
  margin: 0;
  line-height: 1.55;
}

.tcfe-story-stats {
  display: flex;
  gap: 24px;
}

.tcfe-stat-box {
  background-color: #FFFFFF;
  border: 1px solid var(--tcfe-border-light);
  padding: 14px 20px;
  border-radius: var(--tcfe-radius-md);
  display: flex;
  flex-direction: column;
}

.tcfe-stat-number {
  font-family: var(--tcfe-font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tcfe-coffee);
  line-height: 1.1;
}

.tcfe-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tcfe-text-muted);
  margin-top: 4px;
}

/* Story Visual Composition */
.tcfe-story-collage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.tcfe-story-frame-primary {
  border-radius: var(--tcfe-radius-xl);
  overflow: hidden;
  box-shadow: var(--tcfe-shadow-lg);
  border: 6px solid #FFFFFF;
  aspect-ratio: 4/4.8;
}

.tcfe-story-photo-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tcfe-story-frame-secondary {
  position: absolute;
  bottom: -28px;
  right: -32px;
  width: 200px;
  height: 230px;
  border-radius: var(--tcfe-radius-lg);
  overflow: hidden;
  border: 5px solid #FFFFFF;
  box-shadow: var(--tcfe-shadow-lg);
}

.tcfe-story-photo-sec {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcfe-story-quote-card {
  position: absolute;
  top: 24px;
  left: -32px;
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-md);
  padding: 14px 18px;
  box-shadow: var(--tcfe-shadow-md);
  border: 1px solid var(--tcfe-border-light);
  max-width: 240px;
}

.tcfe-story-quote {
  font-family: var(--tcfe-font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--tcfe-text);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.tcfe-story-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tcfe-coffee);
  text-transform: uppercase;
}


/* =====================================================================
   ATMOSPHERE & SEATING ZONES
   ===================================================================== */
.tcfe-experience-section {
  background-color: var(--tcfe-bg);
}

.tcfe-zones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tcfe-zone-card {
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-lg);
  overflow: hidden;
  box-shadow: var(--tcfe-shadow-sm);
  border: 1px solid var(--tcfe-border-light);
  transition: var(--tcfe-transition);
}

.tcfe-zone-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tcfe-shadow-md);
}

.tcfe-zone-img-wrap {
  aspect-ratio: 4/2.9;
  overflow: hidden;
}

.tcfe-zone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tcfe-zone-card:hover .tcfe-zone-img {
  transform: scale(1.05);
}

.tcfe-zone-content {
  padding: 24px;
}

.tcfe-zone-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tcfe-terracotta);
  display: block;
  margin-bottom: 6px;
}

.tcfe-zone-title {
  font-family: var(--tcfe-font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tcfe-text);
  margin: 0 0 10px 0;
}

.tcfe-zone-desc {
  font-size: 0.92rem;
  color: var(--tcfe-text-muted);
  line-height: 1.6;
  margin: 0;
}


/* =====================================================================
   VISUAL GALLERY (MASONRY JOURNAL)
   ===================================================================== */
.tcfe-gallery-section {
  background-color: var(--tcfe-bg-alt);
}

.tcfe-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tcfe-gallery-item {
  position: relative;
  border-radius: var(--tcfe-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3.4;
  box-shadow: var(--tcfe-shadow-sm);
  display: block;
  text-decoration: none;
}

.tcfe-gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tcfe-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(73, 55, 45, 0.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tcfe-gallery-item:hover .tcfe-gallery-overlay {
  opacity: 1;
}

.tcfe-gallery-item:hover .tcfe-gallery-photo {
  transform: scale(1.06);
}

.tcfe-gallery-zoom-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tcfe-text);
}

.tcfe-gallery-label {
  font-family: var(--tcfe-font-serif);
  font-size: 1.15rem;
  color: #FFFFFF;
  font-weight: 600;
}


/* =====================================================================
   VISIT & RESERVATION SECTION
   ===================================================================== */
.tcfe-visit-section {
  background-color: var(--tcfe-bg);
}

.tcfe-visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.tcfe-visit-info-card {
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-lg);
  padding: 36px;
  border: 1px solid var(--tcfe-border-light);
  box-shadow: var(--tcfe-shadow-sm);
}

.tcfe-visit-info-title {
  font-family: var(--tcfe-font-serif);
  font-size: 1.5rem;
  color: var(--tcfe-text);
  margin: 0 0 6px 0;
}

.tcfe-demo-tagline {
  color: var(--tcfe-text-muted);
  margin: 0 0 28px 0;
}

.tcfe-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.tcfe-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--tcfe-soft-green);
  color: var(--tcfe-coffee);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tcfe-info-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--tcfe-text);
  margin-bottom: 2px;
}

.tcfe-info-item p {
  font-size: 0.88rem;
  color: var(--tcfe-text-muted);
  margin: 0 0 3px 0;
}

/* Reservation Form Card */
.tcfe-reservation-card {
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-lg);
  padding: 36px;
  border: 1px solid var(--tcfe-border-light);
  box-shadow: var(--tcfe-shadow-md);
}

.tcfe-reserve-heading {
  font-family: var(--tcfe-font-serif);
  font-size: 1.5rem;
  color: var(--tcfe-text);
  margin: 0 0 6px 0;
}

.tcfe-reserve-sub {
  font-size: 0.9rem;
  color: var(--tcfe-text-muted);
  margin: 0 0 24px 0;
}

.tcfe-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tcfe-form-group {
  margin-bottom: 18px;
}

.tcfe-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tcfe-text);
  margin-bottom: 6px;
}

.tcfe-required {
  color: var(--tcfe-terracotta);
}

.tcfe-input,
.tcfe-select,
.tcfe-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: var(--tcfe-font-sans);
  color: var(--tcfe-text);
  background-color: var(--tcfe-bg);
  border: 1.5px solid var(--tcfe-border);
  border-radius: 10px;
  transition: var(--tcfe-transition);
  box-sizing: border-box;
}

.tcfe-input:focus,
.tcfe-select:focus,
.tcfe-textarea:focus {
  outline: none;
  border-color: var(--tcfe-sage);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(168, 184, 154, 0.25);
}


/* =====================================================================
   FOOTER
   ===================================================================== */
.tcfe-footer {
  background-color: var(--tcfe-bg-alt);
  border-top: 1px solid var(--tcfe-border);
  padding: 72px 0 32px 0;
}

.tcfe-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 0.9fr;
  gap: 40px;
  margin-bottom: 56px;
}

.tcfe-footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tcfe-footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.tcfe-footer-bio {
  font-size: 0.92rem;
  color: var(--tcfe-text-muted);
  line-height: 1.65;
  margin: 0 0 18px 0;
}

.tcfe-footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tcfe-text);
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tcfe-footer-links,
.tcfe-footer-hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcfe-footer-links li {
  margin-bottom: 10px;
}

.tcfe-footer-links a {
  color: var(--tcfe-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--tcfe-transition);
}

.tcfe-footer-links a:hover {
  color: var(--tcfe-coffee);
  padding-left: 4px;
}

.tcfe-footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--tcfe-text-muted);
  margin-bottom: 8px;
}

.tcfe-footer-hours strong {
  color: var(--tcfe-text);
}

.tcfe-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--tcfe-radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tcfe-text);
  margin-top: 14px;
  border: 1px solid var(--tcfe-border-light);
}

.tcfe-footer-sub {
  font-size: 0.9rem;
  color: var(--tcfe-text-muted);
  line-height: 1.6;
  margin: 0 0 18px 0;
}

.tcfe-footer-bottom {
  border-top: 1px solid var(--tcfe-border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--tcfe-text-muted);
}

.tcfe-copyright,
.tcfe-credits {
  margin: 0;
}


/* =====================================================================
   INTERACTIVE MODALS & LIGHTBOX
   ===================================================================== */
.tcfe-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

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

.tcfe-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(73, 55, 45, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tcfe-modal-dialog {
  position: relative;
  z-index: 2;
  background-color: #FFFFFF;
  border-radius: var(--tcfe-radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--tcfe-shadow-lg);
  border: 1px solid var(--tcfe-border-light);
  transform: translateY(20px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.tcfe-modal.tcfe-is-open .tcfe-modal-dialog {
  transform: translateY(0);
}

.tcfe-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--tcfe-border);
  font-size: 24px;
  line-height: 1;
  color: var(--tcfe-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tcfe-transition);
}

.tcfe-modal-close:hover {
  background-color: var(--tcfe-bg-alt);
  color: var(--tcfe-coffee);
}

.tcfe-modal-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.tcfe-modal-media {
  position: relative;
  background-color: var(--tcfe-bg-alt);
}

.tcfe-modal-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.tcfe-modal-media .tcfe-badge-pill {
  position: absolute;
  top: 16px;
  left: 16px;
}

.tcfe-modal-details {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.tcfe-modal-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tcfe-coffee);
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.tcfe-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.tcfe-modal-title {
  font-family: var(--tcfe-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tcfe-text);
  margin: 0;
  line-height: 1.3;
}

.tcfe-modal-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tcfe-coffee);
  white-space: nowrap;
}

.tcfe-modal-desc {
  font-size: 0.95rem;
  color: var(--tcfe-text-muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.tcfe-modal-specs {
  background-color: var(--tcfe-bg);
  padding: 16px;
  border-radius: var(--tcfe-radius-md);
  margin-bottom: 18px;
}

.tcfe-modal-specs h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--tcfe-text);
  margin: 0 0 6px 0;
}

.tcfe-modal-specs p {
  font-size: 0.88rem;
  color: var(--tcfe-text-muted);
  line-height: 1.5;
  margin: 0;
}

.tcfe-modal-note {
  color: var(--tcfe-text-muted);
  margin-bottom: 24px;
}

.tcfe-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

/* Confirmation Modal Receipt */
.tcfe-confirm-dialog {
  max-width: 480px;
  padding: 40px;
  text-align: center;
}

.tcfe-confirm-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--tcfe-soft-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.tcfe-confirm-title {
  font-family: var(--tcfe-font-serif);
  font-size: 1.5rem;
  color: var(--tcfe-text);
  margin: 0 0 8px 0;
}

.tcfe-confirm-sub {
  font-size: 0.92rem;
  color: var(--tcfe-text-muted);
  margin: 0 0 24px 0;
}

.tcfe-confirm-details {
  background-color: var(--tcfe-bg);
  border-radius: var(--tcfe-radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: left;
}

.tcfe-confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed var(--tcfe-border);
  font-size: 0.88rem;
}

.tcfe-confirm-row:last-child {
  border-bottom: none;
}

.tcfe-confirm-row span {
  color: var(--tcfe-text-muted);
}

.tcfe-confirm-row strong {
  color: var(--tcfe-text);
}

.tcfe-confirm-disclaimer {
  color: var(--tcfe-text-muted);
  font-size: 0.8rem;
  margin-bottom: 24px;
}

/* Lightbox */
.tcfe-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tcfe-lightbox.tcfe-is-open {
  opacity: 1;
  pointer-events: auto;
}

.tcfe-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(44, 30, 24, 0.85);
  backdrop-filter: blur(10px);
}

.tcfe-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 36px;
  cursor: pointer;
  padding: 8px;
}

.tcfe-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.tcfe-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.tcfe-lightbox-prev {
  left: 24px;
}

.tcfe-lightbox-next {
  right: 24px;
}

.tcfe-lightbox-stage {
  position: relative;
  z-index: 2;
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tcfe-lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--tcfe-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tcfe-lightbox-caption {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
}


/* =====================================================================
   KEYFRAME ANIMATIONS & SCROLL REVEALS
   ===================================================================== */
@keyframes tcfeMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes tcfeFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes tcfeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tcfe-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  will-change: opacity, transform;
}

.tcfe-reveal.tcfe-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}


/* =====================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ===================================================================== */
@media (max-width: 1024px) {
  .tcfe-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tcfe-hero-visual {
    order: -1;
  }

  .tcfe-hero-composition {
    margin: 0 auto;
    max-width: 480px;
  }

  .tcfe-specials-grid,
  .tcfe-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tcfe-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tcfe-story-collage {
    margin: 32px auto 0 auto;
    max-width: 440px;
  }

  .tcfe-footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .tcfe-modal-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tcfe-section {
    padding: 60px 0;
    overflow-x: clip;
  }

  .tcfe-container {
    padding: 0 16px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Massive Scroll Performance: Disable expensive backdrop-filter blur on mobile */
  .tcfe-header {
    background-color: #FFF9F0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .tcfe-header.tcfe-scrolled {
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(73, 55, 45, 0.08) !important;
  }

  .tcfe-mobile-toggle {
    display: flex;
  }

  .tcfe-nav-list {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--tcfe-border);
    box-shadow: var(--tcfe-shadow-md);
    display: none;
  }

  .tcfe-nav-list.tcfe-mobile-open {
    display: flex;
  }

  .tcfe-nav-reserve-btn {
    display: none;
  }

  /* Hero Section Mobile Perfection */
  .tcfe-hero-title {
    font-size: 2.35rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .tcfe-hero-composition {
    max-width: 100%;
    position: relative;
    border-radius: var(--tcfe-radius-xl);
  }

  .tcfe-hero-frame-main {
    border-width: 4px;
    border-radius: var(--tcfe-radius-xl);
  }

  .tcfe-hero-card-secondary {
    position: static;
    margin: 16px 0 0 0;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--tcfe-shadow-sm);
  }

  .tcfe-hero-seal {
    width: 68px;
    height: 68px;
    top: 10px;
    right: 10px;
    box-shadow: var(--tcfe-shadow-sm);
  }

  .tcfe-hero-seal .tcfe-seal-inner {
    width: 60px;
    height: 60px;
  }

  .tcfe-hero-leaf-top,
  .tcfe-hero-leaf-bottom {
    display: none !important;
  }

  /* Story Section Overlap Containment */
  .tcfe-story-collage {
    max-width: 100%;
    margin: 24px auto 0 auto;
    position: relative;
  }

  .tcfe-story-frame-primary {
    border-width: 4px;
  }

  .tcfe-story-frame-secondary {
    right: 8px;
    bottom: -14px;
    width: 140px;
    height: 165px;
    border-width: 4px;
  }

  .tcfe-story-quote-card {
    left: 8px;
    top: 12px;
    max-width: 190px;
    padding: 10px 14px;
  }

  .tcfe-story-quote {
    font-size: 0.85rem;
  }

  /* Grids */
  .tcfe-zones-grid,
  .tcfe-gallery-grid {
    grid-template-columns: 1fr;
  }

  .tcfe-visit-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Visit & Reservation Cards: Balanced 16px Margins with Zero Right Clipping */
  .tcfe-visit-info-card,
  .tcfe-reservation-card {
    padding: 24px 18px;
    border-radius: var(--tcfe-radius-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tcfe-info-item {
    gap: 12px;
    margin-bottom: 18px;
  }

  .tcfe-info-item p {
    word-break: break-word;
  }

  .tcfe-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 16px Font Size Prevents iOS Safari Auto-Zoom Viewport Shift */
  .tcfe-input,
  .tcfe-select,
  .tcfe-textarea {
    font-size: 16px;
    padding: 11px 12px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Menu Filter Tabs Touch Horizontal Swipe */
  .tcfe-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 16px 12px 16px;
    margin: 0 -16px 28px -16px;
    gap: 8px;
    justify-content: flex-start;
  }

  .tcfe-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .tcfe-filter-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .tcfe-footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tcfe-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .tcfe-hero-title {
    font-size: 2rem;
  }

  .tcfe-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .tcfe-hero-actions .tcfe-btn {
    width: 100%;
    justify-content: center;
  }

  .tcfe-specials-grid,
  .tcfe-menu-grid {
    grid-template-columns: 1fr;
  }

  .tcfe-modal-actions {
    flex-direction: column;
  }

  .tcfe-story-stats {
    flex-direction: column;
    gap: 12px;
  }

  .tcfe-stat-box {
    width: 100%;
    text-align: center;
  }
}

/* Reduced Motion Respect */
@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;
  }

  .tcfe-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
