/* ==========================================================================
   SWALK COFFEE × BIG FACE BRAND DESIGN SYSTEM
   Brutalist Luxury Specialty Coffee & Flagship Café
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  /* Brand Core Colors */
  --black: #1E1E1E;
  --black-pure: #0E0E0E;
  --yellow: #FCD450;
  --yellow-light: #FFF0A8;
  --white: #FFFFFF;
  --off-white: #F8F8FA;
  --gray-100: #F3F3F5;
  --gray-200: #E5E5EA;
  --gray-300: #D1D1D6;
  --gray-500: #8E8E93;
  --gray-700: #48484A;
  
  /* Big Face Accent Tones */
  --accent-orange: #FF5500;
  --accent-lime: #D4F932;
  --accent-purple: #8A2BE2;
  --accent-cyan: #00D2FF;

  /* Typography Stacks */
  --font-display: 'Oswald', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Spacing & Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Layout Dimensions */
  --header-height: 80px;
  --max-width: 1180px;
  --pill-radius: 9999px;

  /* Metro Subway Glazed Ceramic Tile Patterns (Berlin U-Bahn & Lisbon Parque) */
  --metro-tile-blue: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2256%22%20height%3D%2228%22%20viewBox%3D%220%200%2056%2028%22%3E%0A%3Crect%20width%3D%2256%22%20height%3D%2228%22%20fill%3D%22%23e0e3e6%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%23164785%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%2211.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%23164785%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%23164785%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3C/svg%3E");
  --metro-tile-mint: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2256%22%20height%3D%2228%22%20viewBox%3D%220%200%2056%2028%22%3E%0A%3Crect%20width%3D%2256%22%20height%3D%2228%22%20fill%3D%22%23e0e3e6%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%232D7D6F%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%2211.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%232D7D6F%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%232D7D6F%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3C/svg%3E");
  --metro-tile-yellow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2256%22%20height%3D%2228%22%20viewBox%3D%220%200%2056%2028%22%3E%0A%3Crect%20width%3D%2256%22%20height%3D%2228%22%20fill%3D%22%23e0e3e6%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%23CE9508%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%2211.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%23CE9508%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23CE9508%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3C/svg%3E");
  --metro-tile-red: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2256%22%20height%3D%2228%22%20viewBox%3D%220%200%2056%2028%22%3E%0A%3Crect%20width%3D%2256%22%20height%3D%2228%22%20fill%3D%22%23e0e3e6%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%23962828%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%221.5%22%20y%3D%2211.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22%23962828%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%22-26.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23962828%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2215.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22/%3E%0A%3Crect%20x%3D%2229.5%22%20y%3D%2225.5%22%20width%3D%2253%22%20height%3D%221%22%20fill%3D%22%23000000%22%20opacity%3D%220.30%22/%3E%0A%3C/svg%3E");
}

/* ==========================================================================
   RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--white);
  color: var(--black);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--black);
  background-color: var(--white);
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   UTILITY & TYPOGRAPHY
   ========================================================================== */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-serif { font-family: var(--font-serif); }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.03em; }
.tracking-wide { letter-spacing: 0.08em; }
.tracking-widest { letter-spacing: 0.16em; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
}

/* Big Face Style Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--pill-radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-pill:hover {
  background: var(--black);
  color: var(--white);
}

.btn-pill-yellow {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.btn-pill-yellow:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--yellow);
}

.btn-pill-dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn-pill-dark:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.btn-arrow-line {
  display: inline-block;
  transition: transform var(--transition-smooth);
}

.btn-pill:hover .btn-arrow-line {
  transform: translateX(6px);
}

/* ==========================================================================
   FLOATING PILL NAVIGATION (BIG FACE MK2 HEADER)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}

.site-header > * {
  pointer-events: auto;
}

/* Left Brand Meta Stack (Clean Swalk Identity) */
.header-meta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--black);
  text-decoration: none;
}

.header-logo-icon {
  width: 26px;
  height: 28px;
  fill: currentColor;
  transition: transform var(--transition-bounce);
}

.header-logo-wrap:hover .header-logo-icon {
  transform: rotate(-10deg) scale(1.1);
}

.header-brand-info {
  display: flex;
  flex-direction: column;
}

.header-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Center Floating Pill Menu (Exact Big Face Brand Aesthetic) */
.header-pill-nav {
  background: rgba(240, 240, 242, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border-radius: var(--pill-radius);
  padding: 0.35rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition-fast);
  position: relative;
}

.header-pill-nav:hover {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.nav-link-pill {
  padding: 0.55rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--pill-radius);
  color: var(--black);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.nav-link-pill:hover,
.nav-link-pill.active {
  background: var(--black);
  color: var(--white);
}

.nav-link-pill .nav-plus {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.2s ease;
}

/* Big Face Interactive Dropdown Panel */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  border-radius: 18px;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 190px);
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-item-dropdown:hover .nav-dropdown-panel,
.nav-dropdown-panel:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown:hover .nav-plus {
  transform: rotate(45deg);
}

.dropdown-cat-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gray-200);
}

.dropdown-link {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
  padding: 0.35rem 0;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.dropdown-link:hover {
  color: #000;
  transform: translateX(4px);
  font-weight: 700;
}

.dropdown-link.highlighted {
  color: #D97706;
  font-weight: 700;
}

/* Right Controls Stack */
.header-controls-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* User Login Pill Button */
.nav-user-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: rgba(240, 240, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--pill-radius);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--black);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-user-pill-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.nav-user-icon {
  width: 17px;
  height: 17px;
}

/* Search Icon Button */
.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(240, 240, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-icon-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Cart Button */
.cart-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--pill-radius);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cart-pill-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.cart-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--pill-radius);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cart-pill-btn:hover {
  background: var(--yellow);
  color: var(--black);
}

.cart-badge-count {
  font-family: var(--font-mono);
  background: var(--yellow);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--pill-radius);
  transition: all var(--transition-fast);
}

.cart-pill-btn:hover .cart-badge-count {
  background: var(--black);
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   HERO: SIGNATURE ROAST TRIO (BIG FACE 3-PANEL EMBOSSED CAROUSEL)
   ========================================================================== */
.hero-trio-section {
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 2rem;
  background: var(--white);
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  height: calc(100vh - 120px);
  min-height: 640px;
  max-height: 820px;
}

.trio-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem;
  cursor: pointer;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.trio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

/* Metro Ceramic Subway Tile Grid Texture (Beveled Brick Ceramic) */
.trio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
  background-size: 72px 36px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.25);
  transition: opacity var(--transition-smooth);
}

.trio-card:hover::before {
  opacity: 0.28;
}

/* ==========================================================================
   PERMANENT DESIGN: CANLI METRO SERAMİKLERİ (PACKAGE-MATCHED TILE IDENTITY)
   ========================================================================== */

/* Panel 1: Altunizade / Ethiopia Tangerine Orange Tile */
.trio-card.card-town {
  background: 
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.42) 0%, transparent 45%),
    linear-gradient(145deg, #FE6E07 0%, #D84315 100%);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.trio-card.card-town::before {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
  opacity: 0.22;
}

.card-town .card-tech-sticker {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #111111;
}

.card-town .sticker-action-btn {
  background: #111111;
  color: #ffffff;
}

.card-town .sticker-action-btn:hover {
  background: #FE6E07;
  color: #ffffff;
}

/* Panel 2: Jannowitzbrücke / Brazil Electric Lime Tile */
.trio-card.card-street {
  background: 
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.48) 0%, transparent 45%),
    linear-gradient(145deg, #BDE218 0%, #7CB342 100%);
  color: #111111;
  border-color: rgba(0, 0, 0, 0.14);
}

.trio-card.card-street::before {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.12) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12) 1.5px, transparent 1.5px);
  opacity: 0.18;
}

.card-street .station-nameplate-badge {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.card-street .card-batch-code {
  background: rgba(0, 0, 0, 0.1);
  color: #111111;
}

.card-street .card-tech-sticker {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #111111;
}

.card-street .sticker-action-btn {
  background: #111111;
  color: #ffffff;
}

.card-street .sticker-action-btn:hover {
  background: #BDE218;
  color: #111111;
}

/* Panel 3: Berlin Alexanderplatz / Rwanda Neon Pink Obsidian Tile */
.trio-card.card-city {
  background: 
    radial-gradient(circle at 85% 15%, rgba(253, 69, 128, 0.28) 0%, transparent 48%),
    linear-gradient(145deg, #242226 0%, #0d0d10 100%);
  color: var(--white);
  border-color: rgba(253, 69, 128, 0.3);
}

.trio-card.card-city::before {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
  opacity: 0.14;
}

.card-city .card-tech-sticker {
  background: rgba(30, 30, 30, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.card-city .sticker-action-btn {
  background: #FD4580;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-city .sticker-action-btn:hover {
  background: #ffffff;
  color: #111111;
}

/* Embossed 3D Giant Station / Code on Card */
.trio-card-emboss {
  position: absolute;
  bottom: 12%;
  left: -5%;
  right: -5%;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.85;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.12;
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.trio-card:hover .trio-card-emboss {
  opacity: 0.22;
  transform: translateX(10px);
}

.card-town .trio-card-emboss,
.card-street .trio-card-emboss,
.card-city .trio-card-emboss {
  color: #ffffff;
  opacity: 0.14;
}

.card-town:hover .trio-card-emboss,
.card-street:hover .trio-card-emboss,
.card-city:hover .trio-card-emboss {
  opacity: 0.28;
}

/* Card Header Specs: Station Nameplate Style */
.card-header-specs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 0.75rem;
}

/* Berlin U-Bahn Authentic Station Nameplate Badge */
.station-nameplate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #0d0d0d;
  color: #ffffff;
  border: 1.8px solid #ffffff;
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.card-street .station-nameplate-badge {
  background: #0d0d0d;
  border-color: #ffffff;
  color: #ffffff;
}

.station-line-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.18rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.line-u1 { background: #E85D22; } /* Orange / Wedding */
.line-u2 { background: #D32F2F; } /* Red / Berliner Straße */
.line-u3 { background: #1A73E8; } /* Blue / Lisbon */
.line-swalk { background: #FFCE00; color: #111111; } /* Swalk Yellow */
.line-orange { background: #fe6e07; color: #ffffff; } /* Tangerine Orange / Ethiopia */
.line-lime { background: #bde218; color: #111111; font-weight: 900; } /* Electric Lime / Brazil */
.line-pink { background: #fd4580; color: #ffffff; } /* Neon Pink / Rwanda */

.card-batch-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  color: var(--white);
}

.card-street .card-batch-code {
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
}

/* Card Mockup Visual */
.card-visual-wrap {
  position: relative;
  z-index: 2;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0);
  transition: transform var(--transition-bounce);
}

.trio-card:hover .card-visual-wrap {
  transform: translateY(-12px) scale(1.04);
}

.card-packaging-img {
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

/* Card Technical Sticker (Unified Sleek Dark Glass) */
.card-tech-sticker {
  position: relative;
  z-index: 2;
  background: rgba(30, 30, 30, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.15rem 1.35rem;
  color: var(--white);
}

.sticker-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.sticker-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.sticker-price {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
}

.sticker-notes {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.85;
  margin-bottom: 0.85rem;
}

.sticker-action-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-radius: var(--pill-radius);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition-fast);
}

.sticker-action-btn:hover {
  background: var(--yellow);
  color: var(--black);
}

/* Neon Accent Buttons Matched to Package Labels */
.card-town .sticker-action-btn {
  background: #fe6e07;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-town .sticker-action-btn:hover {
  background: #ffffff;
  color: #111111;
}

.card-street .sticker-action-btn {
  background: #bde218;
  color: #111111;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-street .sticker-action-btn:hover {
  background: #ffffff;
  color: #111111;
}

.card-city .sticker-action-btn {
  background: #fd4580;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-city .sticker-action-btn:hover {
  background: #ffffff;
  color: #111111;
}

/* ==========================================================================
   INFINITE MARQUEE TICKER (LET'S SWALK • ŞEHRİN RİTMİ)
   ========================================================================== */
.marquee-strip {
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee-mark-svg {
  width: 22px;
  height: 24px;
  fill: var(--yellow);
}

/* ==========================================================================
   HİKAYEMİZ: ŞEHRİN RİTMİNDE BİR YER (OUR STORY EDITORIAL SECTION)
   ========================================================================== */
.story-section {
  position: relative;
  background: #111111;
  color: var(--white);
  padding: 7.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.story-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(252, 212, 80, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.story-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.story-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.story-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.story-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(252, 212, 80, 0.12);
  border: 1px solid rgba(252, 212, 80, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--pill-radius);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.story-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulseDot 2s infinite;
}

.story-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--white);
}

.story-headline .story-highlight {
  color: var(--yellow);
  position: relative;
  display: inline-block;
}

.story-body {
  margin-bottom: 2.5rem;
}

.story-lead-text {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  color: #E2E2E2;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.story-lead-text strong {
  color: var(--white);
  font-weight: 700;
}

.story-paragraph {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #A3A3A3;
  margin-bottom: 2rem;
}

.story-manifesto-quote {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--yellow);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
}

.story-manifesto-quote p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--white);
  font-weight: 500;
  font-style: italic;
  margin: 0;
}

.story-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.story-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.story-feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.story-feature-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
}

.story-feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.story-feature-desc {
  font-size: 0.82rem;
  color: #8E8E93;
  line-height: 1.45;
}

/* Visual Collage in Right Column */
.story-visual-col {
  position: relative;
}

.story-collage-container {
  position: relative;
  padding: 1.5rem 0 2rem 2rem;
}

.story-img-main-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1A1A1A;
}

.story-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-img-main-wrap:hover .story-img-main {
  transform: scale(1.03);
}

.story-img-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.4rem 0.85rem;
  border-radius: var(--pill-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

.story-img-sub-wrap {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  width: 58%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  border: 2px solid #242424;
  background: #181818;
  transition: transform 0.4s var(--transition-bounce);
}

.story-img-sub-wrap:hover {
  transform: translateY(-6px) scale(1.02);
}

.story-img-sub {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.story-floating-caption {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--yellow);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .story-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .story-img-main {
    height: 380px;
  }
  .story-img-sub-wrap {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 1.5rem;
  }
  .story-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   COFFEE SET TO AUTOPILOT (SUBSCRIPTION & ROASTERY CALLOUT)
   ========================================================================== */
.autopilot-section {
  padding: 6rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.autopilot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.autopilot-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 2px solid var(--black);
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
}

.autopilot-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.autopilot-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 2.25rem;
  max-width: 44ch;
}

.subscription-selector-pills {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.sub-pill-btn {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--pill-radius);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sub-pill-btn.active, .sub-pill-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.autopilot-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--gray-100);
}

.autopilot-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.autopilot-visual:hover img {
  transform: scale(1.03);
}

.autopilot-floating-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--yellow);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: var(--pill-radius);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   "BEANS IN ORBIT" INTERACTIVE SPEC TABLE (BIG FACE SIGNATURE)
   ========================================================================== */
.spec-table-section {
  padding: 6rem 0;
  background: var(--white);
}

.section-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--black);
  padding-bottom: 1rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-direction-arrow {
  font-family: var(--font-mono);
  font-size: 1rem;
}

.spec-table-container {
  width: 100%;
}

.spec-row {
  border-bottom: 1px solid var(--gray-200);
  transition: background-color var(--transition-fast);
}

.spec-row:hover {
  background-color: var(--gray-100);
}

.spec-row-main {
  display: grid;
  grid-template-columns: 2.2fr 1.6fr 1.6fr 1fr 1fr auto;
  align-items: center;
  padding: 1.85rem 1rem;
  gap: 1.5rem;
  cursor: pointer;
}

.spec-col-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.spec-col-flavor {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray-700);
}

.spec-col-origin {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

.spec-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--pill-radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.spec-badge-filter {
  background: #E5E7EB;
  color: var(--black);
}

.spec-badge-espresso {
  background: var(--black);
  color: var(--white);
}

.spec-badge-omni {
  background: var(--yellow);
  color: var(--black);
}

.spec-col-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

.spec-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  background: transparent;
}

.spec-row:hover .spec-toggle-btn {
  background: var(--black);
  color: var(--white);
}

.spec-row.is-open .spec-toggle-btn {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  transform: rotate(45deg);
}

/* Expanded Detail Drawer in Row */
.spec-row-drawer {
  display: none;
  padding: 2rem 2rem 2.5rem;
  background: var(--gray-100);
  border-top: 1px dashed var(--gray-300);
  animation: slideDrawer 0.3s ease-out;
}

.spec-row.is-open .spec-row-drawer {
  display: block;
}

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

.drawer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.drawer-specs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.drawer-spec-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.drawer-spec-item span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

.drawer-action-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grind-select-wrap label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.grind-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--pill-radius);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

/* ==========================================================================
   DIGITAL CAFÉ MENU (IN-STORE EXPERIENCE & READYBEV)
   ========================================================================== */
.cafe-menu-section {
  padding: 6rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
}

.menu-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.menu-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.menu-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.menu-pill {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--pill-radius);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-pill.active, .menu-pill:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.drinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.drink-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid #111111;
  border-radius: 16px;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.drink-card[data-category="sicak"] {
  border-top-color: #D32F2F; /* U1 Hot Coffee Red */
}

.drink-card[data-category="soguk"] {
  border-top-color: #004B87; /* U2 Cold Brew Blue */
}

.drink-card[data-category="refresher"] {
  border-top-color: #00875A; /* U3 Botanical Refresher Emerald */
}

.drink-card[data-category="imza"] {
  border-top-color: #FFB300; /* U4 Swalk Signature Gold/Yellow */
}

.drink-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
  border-color: var(--yellow);
}

/* Metro Ceramic Subway Tile Wall Container */
.drink-card-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 1.25rem;
  background-color: #164785; /* Lisbon Parque Cobalt Blue default */
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 45%, transparent 65%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.35) 100%),
    var(--metro-tile-blue);
  background-size: cover, cover, 56px 28px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* Station-specific ceramic tile colors */
.drink-card[data-category="sicak"] .drink-card-image {
  background-color: #8D1F1F; /* Berliner Straße Crimson / Warm Terracotta Red */
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.06) 45%, transparent 65%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.38) 100%),
    var(--metro-tile-red);
}

.drink-card[data-category="soguk"] .drink-card-image {
  background-color: #164785; /* Altunizade Lisbon Parque Cobalt Blue */
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 45%, transparent 65%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.35) 100%),
    var(--metro-tile-blue);
}

.drink-card[data-category="refresher"] .drink-card-image {
  background-color: #2D7D6F; /* Alexanderplatz Mint */
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 45%, transparent 65%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.35) 100%),
    var(--metro-tile-mint);
}

.drink-card[data-category="imza"] .drink-card-image {
  background-color: #CE9508; /* Jannowitzbrücke Yellow */
  background-image: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 65%),
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.30) 100%),
    var(--metro-tile-yellow);
}

.drink-card-image img {
  max-height: 94%;
  max-width: 94%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
  z-index: 1;
}

.drink-card:hover .drink-card-image img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.55));
}

.drink-category-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  background: #111111;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.drink-category-tag::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.drink-card[data-category="sicak"] .drink-category-tag::before {
  background: #FF5252;
}

.drink-card[data-category="soguk"] .drink-category-tag::before {
  background: #448AFF;
}

.drink-card[data-category="refresher"] .drink-category-tag::before {
  background: #00E676;
}

.drink-card[data-category="imza"] .drink-category-tag::before {
  background: #FFD54F;
}

.drink-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.drink-desc {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.drink-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gray-200);
  padding-top: 0.85rem;
}

.drink-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
}

.drink-quick-add {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--pill-radius);
  background: var(--black);
  color: var(--white);
  transition: all var(--transition-fast);
}

.drink-card:hover .drink-quick-add {
  background: var(--yellow);
  color: var(--black);
}

/* ==========================================================================
   DIGITAL CAFÉ MENU PAGINATION & ANIMATIONS
   ========================================================================== */
@keyframes menuCardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.drink-card.page-card-enter {
  animation: menuCardSlideIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.menu-pagination-wrapper {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.menu-page-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.65rem 1.25rem;
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--pill-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.menu-page-nav-btn:hover:not(:disabled) {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.menu-page-nav-btn:disabled,
.menu-page-nav-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--gray-200);
  background: var(--gray-100);
}

.menu-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.menu-page-num-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-page-num-btn:hover {
  border-color: var(--black);
  background: var(--gray-100);
}

.menu-page-num-btn.active {
  background: var(--black);
  color: var(--yellow);
  border-color: var(--black);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.menu-pagination-counter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--gray-100);
  border-radius: var(--pill-radius);
  border: 1px solid var(--gray-200);
}

.menu-pagination-counter strong {
  color: var(--black);
  font-weight: 700;
}

/* ==========================================================================
   FLAGSHIP CAFÉ & ARCHITECTURAL SYSTEM (BAĞLARBAŞI)
   ========================================================================== */
.flagship-section {
  padding: 6.5rem 0;
  background: var(--black);
  color: var(--white);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flagship-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.flagship-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.flagship-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.flagship-top-meta {
  max-width: 48ch;
}

.flagship-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(252, 212, 80, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(252, 212, 80, 0.3);
  border-radius: var(--pill-radius);
  padding: 0.35rem 0.9rem;
  margin-bottom: 0.85rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.flagship-intro-p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-300);
}

/* Expanded Architectural Photo Grid (Brutalist Asymmetry) */
.flagship-gallery-expanded {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.gallery-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 212, 80, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.gallery-tile picture,
.gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

/* Brutalist Grid Tile Sizing */
.gallery-tile.tile-feature {
  grid-column: span 7;
  height: 480px;
}

.gallery-tile[data-index="1"] {
  grid-column: span 5;
  height: 480px;
}

.gallery-tile[data-index="2"] {
  grid-column: span 4;
  height: 340px;
}

.gallery-tile[data-index="3"] {
  grid-column: span 4;
  height: 340px;
}

.gallery-tile[data-index="4"] {
  grid-column: span 4;
  height: 340px;
}

.gallery-tile[data-index="5"] {
  grid-column: span 12;
  height: 380px;
}

/* Tile Overlay & Badges */
.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.gallery-tile-caption {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(20, 20, 20, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.85rem;
  border-radius: var(--pill-radius);
  text-transform: uppercase;
}

.gallery-zoom-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(252, 212, 80, 0.3);
  padding: 0.4rem 0.75rem;
  border-radius: var(--pill-radius);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-tile:hover .gallery-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Flagship Bottom Bar & Specs */
.flagship-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.flagship-specs-box {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.f-spec strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.f-spec span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.flagship-actions-group {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   OFFICIAL CUPS & BRAND ARTIFACTS (THE 2 STANDARDS)
   ========================================================================== */
.cups-section {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.cups-header {
  max-width: 60ch;
  margin-bottom: 3.5rem;
}

.cups-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cup-item-card {
  border-radius: 20px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.cup-item-card.yellow-stage {
  background: linear-gradient(180deg, #FFF9E6 0%, #FEEBB2 100%);
}

.cup-img-wrap {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.cup-img-wrap img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-bounce);
}

.cup-item-card:hover .cup-img-wrap img {
  transform: scale(1.06) rotate(-2deg);
}

.cup-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.cup-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  max-width: 40ch;
  line-height: 1.5;
}

/* ==========================================================================
   SWALK CLUB (DIGITAL WALLET & LOYALTY)
   ========================================================================== */
.club-section {
  padding: 6rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
}

.club-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.club-phones-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.phone-card {
  width: 240px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--black);
  transition: transform var(--transition-smooth);
}

.phone-card:nth-child(1) {
  transform: rotate(-4deg);
}

.phone-card:nth-child(2) {
  transform: rotate(4deg) translateY(20px);
}

.phone-card:hover {
  transform: rotate(0) translateY(-8px) scale(1.03);
}

.club-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.club-feat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.club-feat-card:hover {
  border-color: var(--black);
  transform: translateY(-3px);
}

.club-feat-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yellow);
  background: var(--black);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.club-feat-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.club-feat-text {
  font-size: 0.88rem;
  color: var(--gray-700);
  line-height: 1.45;
}

/* ==========================================================================
   INTERACTIVE BREW LAB & RATIO CALCULATOR
   ========================================================================== */
.brew-lab-section {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.brew-widget-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 24px;
  padding: 3rem;
  max-width: 1000px;
  margin: 2.5rem auto 0;
}

.brew-methods-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.brew-method-btn {
  padding: 0.75rem 1.75rem;
  border-radius: var(--pill-radius);
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.brew-method-btn.active, .brew-method-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.brew-calculator-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calculator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-slider-wrap label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-300);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--black);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--yellow);
}

.calc-results-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 0.75rem;
}

.result-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
}

.result-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Built-in Brew Timer */
.brew-timer-wrap {
  text-align: center;
  margin-top: 1rem;
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   MONUMENTAL TYPOGRAPHIC MANIFESTO (BIG FACE 100VW BANNER)
   ========================================================================== */
.manifesto-section {
  background: var(--black);
  color: var(--white);
  padding: 8rem 0 6rem;
  overflow: hidden;
  text-align: center;
}

.giant-swalk-banner {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 22rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  user-select: none;
  background: linear-gradient(180deg, #FFFFFF 0%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 24ch;
  margin: 0 auto 3rem;
}

.manifesto-arrow-pointer {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   FRANCHISE CALLOUT ("KENDİ KÖŞENİZİ AÇIN")
   ========================================================================== */
.franchise-section {
  padding: 6.5rem 0;
  background: var(--yellow);
  color: var(--black);
  position: relative;
}

.franchise-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.franchise-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.franchise-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.franchise-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

.franchise-check {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
}

/* Franchise Store Visual Card */
.franchise-visual-card {
  background: var(--black);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.franchise-img-box {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #111;
}

.franchise-store-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.franchise-visual-card:hover .franchise-store-img {
  transform: scale(1.05);
}

.franchise-badge-floating {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  color: var(--white);
}

.f-badge-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.franchise-badge-floating strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.franchise-visual-footer {
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #181818;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.f-vf-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.f-vf-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* ==========================================================================
   TECHNICAL TERMINAL FOOTER
   ========================================================================== */
.site-footer {
  background: var(--black-pure);
  color: var(--white);
  padding: 5rem 0 3rem;
  border-top: 1px solid #222;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.footer-logo-svg {
  width: 26px;
  height: 28px;
  fill: var(--yellow);
}

.footer-lead-text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.5;
  max-width: 30ch;
  margin-bottom: 1.75rem;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

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

/* Newsletter Input Line */
.newsletter-form {
  position: relative;
  margin-top: 1.25rem;
  width: 100%;
}

.newsletter-input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #444;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input::placeholder {
  color: var(--gray-500);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.newsletter-input:focus {
  border-color: var(--yellow);
}

.newsletter-submit {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--yellow);
  cursor: pointer;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.newsletter-submit:hover {
  transform: translateY(-50%) translateX(3px);
  color: #fff;
}

.newsletter-submit svg {
  display: block;
}

.newsletter-archive-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid #333;
  color: var(--white);
  background: #111;
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.newsletter-archive-link strong,
.newsletter-archive-link small {
  display: block;
  font-family: var(--font-mono);
}

.newsletter-archive-link strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.newsletter-archive-link small {
  margin-top: 0.28rem;
  font-size: 0.68rem;
  color: var(--gray-500);
}

.newsletter-archive-arrow {
  flex: 0 0 auto;
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 1.15rem;
}

.newsletter-archive-link:hover,
.newsletter-archive-link:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* Footer Bottom Coordinates */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #222;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 1rem;
}

.coordinates-ticker {
  color: var(--gray-300);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER (BIG FACE STYLE)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  z-index: 2001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.cart-drawer-overlay.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
}

.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cart-close-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* Free Shipping / Coffee Reward Progress Bar */
.cart-progress-box {
  padding: 1rem 2rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.cart-progress-text {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-progress-track {
  width: 100%;
  height: 6px;
  background: var(--gray-300);
  border-radius: 3px;
  overflow: hidden;
}

.cart-progress-fill {
  height: 100%;
  background: var(--yellow);
  width: 45%;
  transition: width var(--transition-smooth);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item-row {
  display: flex;
  gap: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 1.25rem;
}

.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.cart-item-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-item-variant {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-500);
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.cart-qty-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--pill-radius);
  padding: 0.15rem 0.65rem;
}

.qty-btn {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.cart-item-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
}

.cart-subtotal-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gray-500);
}

.cart-subtotal-val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
}

.cart-checkout-btn {
  width: 100%;
}

/* ==========================================================================
   MODALS (FRANCHISE & PRODUCT DETAILS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 1.5rem;
}

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

.modal-card {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-bounce);
}

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

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--black);
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--black);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--pill-radius);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 4000;
  transition: transform var(--transition-bounce);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ==========================================================================
   USER LOGIN & SWALK CLUB ACCOUNT MODAL
   ========================================================================== */
.login-modal-card {
  max-width: 480px;
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
}

.login-badge-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.login-logo-icon {
  width: 22px;
  height: 24px;
  fill: var(--black);
}

.login-club-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--black);
  background: var(--yellow);
  padding: 0.2rem 0.65rem;
  border-radius: var(--pill-radius);
}

.login-modal-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.login-modal-sub {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.forgot-pass-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--black);
  text-decoration: underline;
}

.login-club-perks-box {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--gray-700);
}

.perk-icon {
  font-weight: 800;
  color: var(--black);
}

/* Logged In Dashboard Card */
.logged-in-profile {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--black);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.profile-tier {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.08em;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.profile-stat-box {
  background: var(--gray-100);
  padding: 1.15rem;
  border-radius: 14px;
}

.p-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.p-stat-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
}

/* ==========================================================================
   PHOTO LIGHTBOX MODAL (AUTHENTIC ARCHITECTURE)
   ========================================================================== */
.photo-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(16px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 94vw;
  max-width: 1280px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(252, 212, 80, 0.12);
  border: 1px solid rgba(252, 212, 80, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--pill-radius);
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.lightbox-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: rotate(90deg);
}

.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0;
  min-height: 0;
}

.lightbox-image-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-active-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transition: opacity 0.25s ease;
}

.lightbox-nav-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
  transform: scale(1.1);
}

.lightbox-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.lightbox-desc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gray-300);
  letter-spacing: 0.02em;
  max-width: 60ch;
}

.lightbox-thumb-strip {
  display: flex;
  gap: 0.5rem;
}

.lightbox-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.lightbox-thumb.active,
.lightbox-thumb:hover {
  opacity: 1;
  border-color: var(--yellow);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .trio-grid {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
  
  .trio-card {
    height: 520px;
  }
  
  .spec-row-main {
    grid-template-columns: 2fr 1fr 1fr auto;
  }
  
  .spec-col-origin {
    display: none;
  }
  
  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flagship-gallery-expanded {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-tile.tile-feature {
    grid-column: span 6;
    height: 400px;
  }

  .gallery-tile[data-index="1"] {
    grid-column: span 6;
    height: 340px;
  }

  .gallery-tile[data-index="2"],
  .gallery-tile[data-index="3"] {
    grid-column: span 3;
    height: 280px;
  }

  .gallery-tile[data-index="4"],
  .gallery-tile[data-index="5"] {
    grid-column: span 6;
    height: 300px;
  }

  .flagship-specs-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .autopilot-layout, .club-layout, .franchise-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-pill-nav {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .spec-row-main {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  
  .spec-col-flavor, .spec-badge {
    display: none;
  }
  
  .drinks-grid {
    grid-template-columns: 1fr;
  }

  .menu-pagination-wrapper {
    gap: 0.65rem;
  }

  .menu-page-nav-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.72rem;
  }

  .menu-page-num-btn {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .menu-pagination-counter {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .cups-grid {
    grid-template-columns: 1fr;
  }
  
  .brew-calculator-body {
    grid-template-columns: 1fr;
  }

  .flagship-top-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .flagship-gallery-expanded {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-tile.tile-feature,
  .gallery-tile[data-index="1"],
  .gallery-tile[data-index="2"],
  .gallery-tile[data-index="3"],
  .gallery-tile[data-index="4"],
  .gallery-tile[data-index="5"] {
    grid-column: span 1;
    height: 260px;
  }

  .flagship-specs-box {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .lightbox-thumb-strip {
    display: none;
  }

  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OFFICIAL FOOTER LEGAL BAR & COPYRIGHT (MATCHING SCREENSHOT)
   ========================================================================== */
.footer-legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.legal-bar-heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  display: inline-flex;
  align-items: center;
}

.legal-bar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.legal-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  letter-spacing: 0.01em;
}

.legal-link-btn:hover {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copyright-bar {
  padding: 1.6rem 0 2.5rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   LEGAL DOCUMENTS & BILGILENDIRME MODAL
   ========================================================================== */
.legal-modal-card {
  max-width: 860px;
  width: 95%;
  max-height: 88vh;
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  background: #181818;
  color: #F0F0F0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}

.legal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.legal-modal-brand-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.legal-badge-icon {
  width: 28px;
  height: 28px;
  fill: var(--yellow);
  flex-shrink: 0;
}

.legal-badge-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--yellow);
  text-transform: uppercase;
}

.legal-badge-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.legal-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--pill-radius);
  padding: 0.4rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.legal-action-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.legal-modal-header .modal-close-btn {
  position: static;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
}

.legal-modal-header .modal-close-btn:hover {
  background: #ff4d4f;
  color: #fff;
  border-color: #ff4d4f;
}

/* Tabs Navigation — Minimalist Architectural Underline Tabs */
.legal-tabs-header {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  overflow-x: auto;
  padding: 0.25rem 0 0 0;
  margin-top: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  scrollbar-width: none;
  flex-shrink: 0;
}

.legal-tabs-header::-webkit-scrollbar {
  display: none;
}

.legal-tab-nav-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 0.2rem 0.85rem 0.2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  margin-bottom: -1px;
  flex-shrink: 0;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.legal-tab-nav-btn:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.legal-tab-nav-btn.is-active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
  font-weight: 600;
}

/* Tab Panes Body */
.legal-tabs-content {
  overflow-y: auto;
  padding: 1.5rem 0.5rem 0.5rem 0;
  margin-top: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-700) transparent;
}

.legal-doc-pane {
  display: none;
}

.legal-doc-pane.is-active {
  display: block;
  animation: fadeInDoc 0.25s ease-out;
}

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

.legal-doc-intro {
  margin-bottom: 1.75rem;
}

.legal-doc-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 0.4rem;
}

.legal-doc-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.6rem;
}

.legal-doc-lead {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Seller Credentials Box */
.legal-seller-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.legal-seller-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}

.legal-seller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.legal-seller-grid strong {
  color: #fff;
}

.legal-seller-grid a {
  color: var(--yellow);
  text-decoration: none;
}

.legal-seller-grid a:hover {
  text-decoration: underline;
}

/* Articles and Content */
.legal-prose {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.legal-article {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-article:last-of-type {
  border-bottom: none;
}

.legal-article h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.6rem;
}

.legal-article p {
  margin-bottom: 0.75rem;
}

.legal-bullet-list {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.legal-bullet-list li {
  margin-bottom: 0.5rem;
}

.legal-doc-updated {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1.5rem;
}

/* Allergen Banner & Items */
.allergen-warning-banner {
  background: var(--yellow);
  color: var(--black);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.allergen-warning-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.allergen-warning-sub {
  font-size: 0.85rem;
  opacity: 0.85;
}

.allergen-category-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.allergen-category-header .station-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
}

.allergen-category-header h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #fff;
}

.allergen-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.allergen-card-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.allergen-card-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.4rem;
}

.allergen-meta-ing {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.35rem;
}

.allergen-meta {
  font-size: 0.82rem;
  color: var(--yellow-light);
}

.allergen-meta strong {
  color: #fff;
}

.allergen-trace-callout {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--yellow);
  padding: 0.85rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0 2rem;
}

.allergen-trace-callout .trace-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.25rem;
}

.allergen-footer-notes {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

/* ==========================================================================
   METRO TRANSIT WAYFINDING SYSTEM (DUAL RAIL: MILEPOST LEFT & TRAIN RIGHT)
   ========================================================================== */

/* Left Margin: Unified Metro Wayfinding Container */
.metro-hud-system,
.metro-hud-right {
  position: fixed;
  left: 1.5rem;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  align-items: center;
}

.metro-track-container {
  position: relative;
  height: 380px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Left Side: Station Arrival Info Plaque - docked beside the rail */
.metro-hud-left {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  z-index: 96;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 190px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-50%) translateX(-12px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.35s;
}

/* Station Plaque is visible ONLY when arriving / stopped at a station! */
.metro-hud-left.is-visible,
.metro-hud-system:hover .metro-hud-left {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.metro-hud-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.hud-line-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--yellow);
  background: rgba(252, 212, 80, 0.14);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.hud-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.05em;
}

.hud-pulse-light {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px #00E676;
  transition: background 0.2s, box-shadow 0.2s;
}

.hud-pulse-light.is-traveling {
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
  animation: pulseHeadlight 0.8s infinite alternate;
}

.metro-hud-station-card {
  display: flex;
  flex-direction: column;
}

.hud-peron-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hud-station-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.15rem 0 0.15rem;
  line-height: 1.1;
  transition: color 0.2s;
}

.hud-station-subtitle {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--yellow-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Vertical Steel Rail */
.metro-track-rail {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 99px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.metro-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(180deg, #FFB300 0%, #FFD54F 100%);
  box-shadow: 0 0 8px #FFD54F;
  border-radius: 99px;
  transition: height 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated Metro Train Car */
.metro-train-carrier {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  transition: top 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.metro-train-car {
  width: 26px;
  height: 40px;
  background: #FFD54F; /* U-Bahn Signal Yellow */
  border: 2px solid #111111;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* Metro Pantograph on top */
.train-pantograph {
  position: absolute;
  top: -6px;
  width: 12px;
  height: 5px;
  border: 1.5px solid #222;
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

/* Black roof accent */
.train-roof {
  width: 100%;
  height: 5px;
  background: #222;
  border-radius: 3px 3px 0 0;
}

/* Cabin with windows */
.train-cabin {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-top: 3px;
}

.train-window {
  width: 16px;
  height: 6px;
  background: #111111;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Twin Glowing Headlights */
.train-headlight {
  width: 16px;
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
}

.train-headlight::before,
.train-headlight::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 6px #FFF, 0 0 10px #FFD54F;
}

/* Headlight Light Beam Projection Downward */
.train-headlight-beam {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 213, 79, 0.15) 60%, transparent 100%);
  clip-path: polygon(30% 0%, 70% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  opacity: 0.8;
  animation: beamGlow 1.5s infinite alternate;
}

/* Station Nodes along the Rail */
.metro-stations-list {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  height: calc(100% - 24px);
  margin: 0;
  padding: 0;
}

.metro-station-node {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.station-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #111111;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.metro-station-node:hover .station-dot {
  transform: scale(1.35);
  background: var(--yellow);
  border-color: #000;
  box-shadow: 0 0 10px var(--yellow);
}

.metro-station-node.active .station-dot {
  background: var(--yellow);
  border-color: #000000;
  transform: scale(1.4);
  box-shadow: 0 0 12px #FFD54F, inset 0 0 2px #fff;
}

/* Tooltip on Station Hover (Expands to the right) */
.station-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  right: auto;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  background: #111111;
  color: #FFFFFF;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.metro-station-node:hover .station-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Keyframes */
@keyframes beamGlow {
  0% { opacity: 0.6; transform: translateX(-50%) scaleX(0.9); }
  100% { opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}

@keyframes pulseHeadlight {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Responsive adjustment: hide side HUDs on screens < 992px */
@media (max-width: 992px) {
  .metro-hud-left,
  .metro-hud-right {
    display: none;
  }
}

/* ==========================================================================
   MOBILE LAYOUT HARDENING
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .container {
    padding-inline: 1.25rem;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 0.75rem 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
  }

  .header-meta-left,
  .header-logo-wrap,
  .header-controls-right {
    min-width: 0;
  }

  .header-logo-wrap {
    gap: 0.45rem;
  }

  .header-logo-icon {
    width: 22px;
    height: 24px;
  }

  .header-brand-title {
    font-size: 1rem;
  }

  .header-controls-right {
    gap: 0.35rem;
  }

  .nav-icon-btn,
  .nav-user-pill-btn,
  .mobile-nav-toggle {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }

  .nav-user-label,
  .cart-pill-btn > span:not(.cart-badge-count) {
    display: none;
  }

  .cart-pill-btn {
    position: relative;
    flex: 0 0 46px;
    width: 46px;
    height: 40px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .cart-pill-btn svg {
    margin-right: 0 !important;
  }

  .cart-badge-count {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 19px;
    padding: 0.08rem 0.32rem;
    font-size: 0.66rem;
    text-align: center;
  }

  .mobile-nav-toggle {
    display: flex;
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
  }

  .header-pill-nav.mobile-open {
    position: fixed;
    top: calc(var(--header-height) + 0.5rem);
    left: 0.9rem;
    right: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    max-height: calc(100dvh - var(--header-height) - 1.5rem);
    padding: 0.75rem;
    overflow-y: auto;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
  }

  .header-pill-nav.mobile-open .nav-link-pill,
  .header-pill-nav.mobile-open .nav-item-dropdown {
    width: 100%;
  }

  .header-pill-nav.mobile-open .nav-link-pill {
    justify-content: space-between;
    padding: 0.85rem 1rem;
  }

  .header-pill-nav.mobile-open .nav-dropdown-panel {
    display: none;
  }

  .hero-trio-section {
    padding-top: calc(var(--header-height) + 1.25rem);
  }

  .trio-grid,
  .story-layout,
  .club-layout,
  .franchise-layout,
  .brew-calculator-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-layout > *,
  .club-layout > *,
  .franchise-layout > *,
  .brew-calculator-body > * {
    min-width: 0;
    width: 100%;
  }

  .story-section,
  .cafe-menu-section,
  .club-section,
  .brew-lab-section,
  .franchise-section,
  .site-footer {
    padding-block: 4.5rem;
  }

  .story-headline,
  .menu-title,
  .franchise-title {
    overflow-wrap: anywhere;
  }

  .story-headline {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .story-eyebrow-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .story-collage-container {
    padding: 0;
  }

  .story-img-main {
    height: 320px;
  }

  .story-actions-row,
  .flagship-actions-group {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .btn-pill {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.85rem 1.15rem;
    white-space: normal;
    text-align: center;
  }

  .btn-arrow-line {
    display: none;
  }

  .menu-filter-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .menu-pill {
    min-width: 0;
    padding-inline: 0.7rem;
  }

  .menu-pagination-wrapper {
    justify-content: center;
  }

  .menu-page-numbers {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .flagship-actions-group > * {
    width: 100%;
  }

  .club-phones-mockup {
    width: 100%;
    gap: 0.55rem;
    overflow: hidden;
    padding: 0.75rem 0.35rem 1.5rem;
  }

  .phone-card {
    width: min(43vw, 158px);
    border-width: 3px;
  }

  .phone-card:nth-child(1) {
    transform: rotate(-2deg);
  }

  .phone-card:nth-child(2) {
    transform: rotate(2deg) translateY(10px);
  }

  .club-features-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .brew-widget-box {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .brew-methods-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .brew-method-btn {
    min-width: 0;
    padding: 0.7rem 0.5rem;
    font-size: 0.75rem;
  }

  .calc-results-card {
    padding: 1.25rem;
  }

  .franchise-layout {
    gap: 2.5rem;
  }

  .franchise-title {
    font-size: clamp(2.2rem, 11vw, 3.15rem);
  }

  .franchise-list-item,
  .franchise-list-item > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .franchise-img-box {
    height: 280px;
  }

  .franchise-visual-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .manifesto-section {
    padding: 5rem 1.25rem 4rem;
  }

  .giant-swalk-banner {
    font-size: clamp(4.5rem, 24vw, 7rem);
  }

  .manifesto-statement {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .footer-top-grid {
    gap: 2.5rem;
  }

  .footer-legal-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .legal-bar-links {
    gap: 1rem 1.35rem;
  }

  .cart-drawer {
    width: min(100vw, 390px);
    max-width: 100%;
  }

  .modal-content,
  .legal-modal-content {
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 1rem;
  }

  .site-header {
    padding-inline: 0.7rem;
  }

  .header-brand-title {
    font-size: 0.92rem;
  }

  .header-controls-right {
    gap: 0.25rem;
  }

  .nav-icon-btn,
  .nav-user-pill-btn,
  .mobile-nav-toggle {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .cart-pill-btn {
    flex-basis: 42px;
    width: 42px;
    height: 38px;
  }

  .trio-card {
    height: 500px;
    padding: 1.25rem;
  }

  .card-content-box {
    padding: 1.2rem;
  }

  .story-section,
  .cafe-menu-section,
  .club-section,
  .brew-lab-section,
  .franchise-section,
  .site-footer {
    padding-block: 3.75rem;
  }

  .menu-filter-pills,
  .brew-methods-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .phone-card {
    width: min(42vw, 145px);
  }

  .footer-bottom-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .header-pill-nav {
    display: none;
  }

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

  .header-pill-nav.mobile-open {
    position: fixed;
    top: calc(var(--header-height) + 0.5rem);
    left: 1.25rem;
    right: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  }

  .header-pill-nav.mobile-open .nav-link-pill,
  .header-pill-nav.mobile-open .nav-item-dropdown {
    width: 100%;
  }

  .header-pill-nav.mobile-open .nav-link-pill {
    justify-content: space-between;
    padding: 0.85rem 1rem;
  }

  .header-pill-nav.mobile-open .nav-dropdown-panel {
    display: none;
  }
}

/* ==========================================================================
   MOBILE DESKTOP-COMPOSITION MODE
   Keep the visual rhythm of the desktop site instead of stacking every block.
   ========================================================================== */
@media (max-width: 768px) {
  /* Signature coffees stay together as the same three-panel composition. */
  .hero-trio-section .container {
    padding-inline: 0.65rem;
  }

  .trio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.3rem, 1.5vw, 0.5rem);
    height: clamp(320px, 104vw, 410px);
    min-height: 0;
    max-height: none;
  }

  .trio-card {
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    padding: clamp(0.42rem, 1.8vw, 0.65rem);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  }

  .trio-card::before {
    background-size: 36px 18px;
  }

  .trio-card-emboss {
    bottom: 16%;
    font-size: clamp(1.7rem, 8vw, 2.7rem);
  }

  .card-header-specs {
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
  }

  .station-nameplate-badge {
    width: 100%;
    min-width: 0;
    gap: 0.2rem;
    padding: 0.22rem 0.28rem;
    font-size: clamp(0.38rem, 1.55vw, 0.52rem);
    line-height: 1.08;
    letter-spacing: 0.035em;
  }

  .station-line-pill {
    flex: 0 0 auto;
    padding: 0.12rem 0.18rem;
    font-size: clamp(0.34rem, 1.35vw, 0.46rem);
  }

  .card-batch-code {
    align-self: flex-start;
    max-width: 100%;
    padding: 0.12rem 0.2rem;
    font-size: clamp(0.33rem, 1.3vw, 0.44rem);
    letter-spacing: 0.035em;
  }

  .card-visual-wrap {
    min-height: 0;
    margin: 0.2rem 0;
  }

  .card-packaging-img {
    width: 100%;
    max-width: 100%;
    max-height: clamp(126px, 38vw, 170px);
  }

  .card-tech-sticker {
    min-width: 0;
    padding: clamp(0.42rem, 1.6vw, 0.6rem);
    border-radius: 8px;
  }

  .sticker-top-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.12rem;
    margin-bottom: 0.25rem;
  }

  .sticker-name {
    font-size: clamp(0.68rem, 3.2vw, 0.96rem);
    line-height: 1.05;
  }

  .sticker-price {
    font-size: clamp(0.55rem, 2.3vw, 0.72rem);
  }

  .sticker-notes {
    margin-bottom: 0.35rem;
    font-size: clamp(0.38rem, 1.55vw, 0.5rem);
    line-height: 1.28;
  }

  .sticker-action-btn {
    justify-content: center;
    padding: 0.36rem 0.25rem;
    font-size: clamp(0.45rem, 1.85vw, 0.6rem);
  }

  /* Editorial and product sections keep their desktop relationships. */
  .story-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 0.85rem;
    align-items: start;
  }

  .story-eyebrow-row {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .story-badge-pill {
    padding: 0.22rem 0.42rem;
    font-size: 0.5rem;
  }

  .story-headline {
    margin-bottom: 0.85rem;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .story-body {
    margin-bottom: 1rem;
  }

  .story-lead-text {
    margin-bottom: 0.65rem;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .story-paragraph {
    margin-bottom: 0.75rem;
    font-size: 0.64rem;
    line-height: 1.5;
  }

  .story-manifesto-quote {
    margin: 0.75rem 0;
    padding: 0.65rem 0.7rem;
    border-radius: 0 9px 9px 0;
  }

  .story-manifesto-quote p {
    font-size: 0.66rem;
    line-height: 1.45;
  }

  .story-actions-row {
    align-items: stretch;
    flex-direction: row;
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .story-actions-row .btn-pill {
    flex: 1 1 0;
    width: auto;
    padding: 0.48rem 0.3rem;
    font-size: 0.5rem;
  }

  .story-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    padding-top: 0.75rem;
  }

  .story-feature-num {
    font-size: 0.5rem;
  }

  .story-feature-title {
    font-size: 0.62rem;
  }

  .story-feature-desc {
    font-size: 0.5rem;
    line-height: 1.35;
  }

  .story-collage-container {
    padding: 0.65rem 0 1rem 0.55rem;
  }

  .story-img-main {
    height: clamp(210px, 62vw, 270px);
  }

  .story-img-badge,
  .story-floating-caption {
    font-size: 0.44rem;
  }

  .story-img-sub-wrap {
    position: absolute;
    bottom: -0.75rem;
    left: -0.25rem;
    width: 62%;
    margin-top: 0;
  }

  .story-img-sub {
    height: clamp(86px, 25vw, 115px);
  }

  .drinks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .drink-card {
    min-width: 0;
    padding: 0.8rem;
  }

  .drink-card-image {
    height: clamp(145px, 42vw, 185px);
    margin-bottom: 0.75rem;
    padding: 0.65rem;
  }

  .drink-name {
    font-size: 1rem;
  }

  .drink-desc {
    margin-bottom: 0.75rem;
    font-size: 0.68rem;
  }

  .drink-price {
    font-size: 0.8rem;
  }

  .drink-quick-add {
    padding: 0.34rem 0.55rem;
    font-size: 0.62rem;
  }

  .flagship-gallery-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .gallery-tile.tile-feature,
  .gallery-tile[data-index="1"] {
    grid-column: span 2;
    height: 230px;
  }

  .gallery-tile[data-index="2"],
  .gallery-tile[data-index="3"],
  .gallery-tile[data-index="4"],
  .gallery-tile[data-index="5"] {
    grid-column: span 1;
    height: 165px;
  }

  .flagship-specs-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .club-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 0.8rem;
    align-items: center;
  }

  .club-phones-mockup {
    gap: 0.2rem;
    padding: 0.4rem 0.1rem 1rem;
  }

  .phone-card {
    width: min(20vw, 82px);
    border-width: 2px;
    border-radius: 14px;
  }

  .club-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .club-feat-card {
    min-width: 0;
    padding: 0.65rem;
    border-radius: 9px;
  }

  .club-feat-num {
    margin-bottom: 0.35rem;
    font-size: 0.52rem;
  }

  .club-feat-title {
    font-size: 0.72rem;
  }

  .club-feat-text {
    font-size: 0.56rem;
    line-height: 1.35;
  }

  .brew-widget-box {
    padding: 0.85rem;
  }

  .brew-methods-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
    margin-bottom: 1rem;
  }

  .brew-method-btn {
    padding: 0.48rem 0.2rem;
    font-size: 0.5rem;
  }

  .brew-calculator-body {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0.7rem;
  }

  .calc-results-card {
    gap: 0.65rem;
    padding: 0.7rem;
  }

  .result-label {
    font-size: 0.5rem;
  }

  .result-val {
    font-size: 0.9rem;
  }

  .franchise-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 0.75rem;
    align-items: start;
  }

  .franchise-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .franchise-list {
    gap: 0.55rem;
  }

  .franchise-list-item {
    gap: 0.35rem;
    font-size: 0.62rem;
    line-height: 1.4;
  }

  .franchise-img-box {
    height: clamp(180px, 55vw, 230px);
  }

  .franchise-badge-floating {
    inset-inline: 0.45rem;
    bottom: 0.45rem;
    padding: 0.5rem;
  }

  .franchise-visual-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.65rem;
  }

  .f-vf-item strong {
    font-size: 0.45rem;
  }

  .f-vf-item span {
    font-size: 0.5rem;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

