/* Soulbike — identidad según Brandbook Julio 2024 */

:root {
  /* Paleta oficial */
  --black: #000000;
  --yellow: #ffff00;
  --yellow-soft: #ffdd00;
  --teal: #1b3f3b;
  --navy: #1b1d3d;

  /* Aplicación UI */
  --ink: var(--navy);
  --text: var(--black);
  --paper: #fafafa;
  --surface: #ffffff;
  --mist: #4a5560;
  --muted: #5c6670;
  --line: rgba(27, 29, 61, 0.12);
  --line-strong: rgba(27, 29, 61, 0.18);
  --shadow: 0 16px 40px rgba(27, 29, 61, 0.08);

  /*
    Tipografía institucional (Brandbook):
    1. Florensa Regular — títulos primarios (tracking 25)
    2. Articulat — títulos secundarios (tracking -10) y texto base
    Coloca los archivos licenciados en /fonts/ para usar las oficiales.
    Mientras tanto: Urbanist ≈ Florensa, Public Sans ≈ Articulat CF.
  */
  --font-display: "Florensa", "Urbanist", system-ui, sans-serif;
  --font-body: "Articulat", "Public Sans", system-ui, sans-serif;
  --tracking-title: 0.025em;
  --tracking-secondary: -0.01em;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 5.75rem;
}

/* Archivos oficiales (si existen) */
@font-face {
  font-family: "Florensa";
  src: url("../fonts/Florensa-Regular.woff2") format("woff2"),
       url("../fonts/Florensa-Regular.woff") format("woff"),
       url("../fonts/Florensa-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Articulat";
  src: url("../fonts/ArticulatCF-Regular.woff2") format("woff2"),
       url("../fonts/ArticulatCF-Regular.woff") format("woff"),
       url("../fonts/ArticulatCF-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Articulat";
  src: url("../fonts/ArticulatCF-Medium.woff2") format("woff2"),
       url("../fonts/ArticulatCF-Medium.woff") format("woff"),
       url("../fonts/ArticulatCF-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Articulat";
  src: url("../fonts/ArticulatCF-Bold.woff2") format("woff2"),
       url("../fonts/ArticulatCF-Bold.woff") format("woff"),
       url("../fonts/ArticulatCF-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Transición entre páginas / secciones —— */
@media (prefers-reduced-motion: no-preference) {
  body.page-enter main {
    animation: pageEnter 0.55s var(--ease) both;
  }

  body.page-leave main {
    animation: pageLeave 0.28s ease forwards;
    pointer-events: none;
  }

  body.page-leave .site-header {
    transition: opacity 0.25s ease;
    opacity: 0.85;
  }

  @keyframes pageEnter {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes pageLeave {
    from {
      opacity: 1;
      transform: none;
    }
    to {
      opacity: 0;
      transform: translateY(-12px);
    }
  }

  /* Secciones del home: entrada más suave al hacer scroll */
  main > section.section-soft {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  main > section.section-soft.is-inview {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Nav —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s, color 0.35s, border-color 0.35s;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: var(--black);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 110;
  line-height: 0;
}

.logo img {
  height: 2.85rem;
  width: auto;
  max-width: min(220px, 46vw);
  display: block;
  object-fit: contain;
  transition: filter 0.35s var(--ease);
}

/* Logo header: negro sobre hero oscuro → se muestra blanco */
.site-header:not(.is-scrolled) .logo img {
  filter: invert(1);
}

/* Sobre header claro: logo negro */
.site-header.is-scrolled .logo img,
.site-header.is-menu-open .logo img {
  filter: none;
}

.site-header.is-menu-open {
  color: var(--black);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a,
.nav-links .nav-user,
.nav-links .nav-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: var(--tracking-secondary);
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.25s;
}

.nav-links .nav-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links .nav-ico svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
}

.site-header.is-scrolled .nav-links a {
  color: var(--mist);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--yellow-soft);
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a.is-active {
  color: var(--black);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: var(--yellow-soft);
  color: var(--black) !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: var(--tracking-secondary);
  border-radius: 0;
  transition: background 0.25s, transform 0.25s, color 0.25s;
}

.nav-cta:hover {
  background: var(--yellow);
  color: var(--black) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  height: 2px;
  background: currentColor;
  transition: 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 0.65rem; }
.nav-toggle span:nth-child(2) { top: 1.05rem; }
.nav-toggle span:nth-child(3) { top: 1.45rem; }

.nav-toggle.is-open span:nth-child(1) {
  top: 1.05rem;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  top: 1.05rem;
  transform: rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: var(--tracking-secondary);
  border-radius: 0;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow-soft);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--yellow);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  border-color: var(--yellow-soft);
  color: var(--yellow-soft);
  background: rgba(255, 221, 0, 0.1);
}

.featured .btn-ghost,
.cafe .btn-ghost,
.visit .btn-ghost,
.shop .btn-ghost {
  border-color: var(--line-strong);
  color: var(--black);
  background: transparent;
}

.featured .btn-ghost:hover,
.cafe .btn-ghost:hover {
  border-color: var(--black);
  background: var(--yellow-soft);
}

.btn-dark {
  background: var(--black);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy);
}

.btn-leaf {
  background: var(--teal);
  color: #fff;
}

.btn-leaf:hover {
  background: #245550;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
  z-index: 0;
}

.hero-slider .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg img,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
}

.hero-slider .hero-slide.is-active img {
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 29, 61, 0.45) 0%, rgba(27, 29, 61, 0.2) 30%, rgba(27, 63, 59, 0.55) 68%, var(--paper) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 58%);
  z-index: 2;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  left: max(1.5rem, calc((100% - 1280px) / 2 + 0.5rem));
  bottom: 3.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-dot.is-active {
  width: 1.55rem;
  border-radius: 999px;
  background: var(--yellow-soft);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  max-width: 48rem;
  padding-bottom: 1.5rem;
}

.hero-brand {
  margin-bottom: 1.25rem;
  animation: fade-up 1s var(--ease) both;
  line-height: 0;
}

.hero-brand img {
  width: min(560px, 92vw);
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-lead {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  margin-bottom: 2rem;
  animation: fade-up 1s var(--ease) 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fade-up 1s var(--ease) 0.22s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-scroll {
  position: absolute;
  right: max(1.5rem, calc((100% - 1280px) / 2 + 0.5rem));
  bottom: 3.5rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: fade-up 1s var(--ease) 0.5s both, pulse-y 2.4s ease-in-out 1.2s infinite;
}

@keyframes pulse-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* —— Worlds —— */
.worlds {
  padding: 5rem 0 2rem;
  background: var(--paper);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--black);
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.worlds-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}

.world-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: transform 0.3s var(--ease);
}

.world-btn-circle {
  width: clamp(7.5rem, 18vw, 10.5rem);
  height: clamp(7.5rem, 18vw, 10.5rem);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.25s;
}

.world-btn svg {
  width: clamp(2.4rem, 5vw, 3.25rem);
  height: clamp(2.4rem, 5vw, 3.25rem);
}

.world-btn-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  color: var(--black);
}

/* Color 3 — #1B3F3B */
.world-btn--teal .world-btn-circle {
  background: var(--teal);
  color: #fff;
}

.world-btn--teal:hover .world-btn-circle {
  box-shadow: 0 12px 32px rgba(27, 63, 59, 0.4);
  filter: brightness(1.08);
}

/* Color 4 — #FFDD00 */
.world-btn--yellow .world-btn-circle {
  background: var(--yellow-soft);
  color: var(--black);
}

.world-btn--yellow:hover .world-btn-circle {
  background: var(--yellow);
  box-shadow: 0 12px 32px rgba(255, 221, 0, 0.4);
}

/* Color 5 — #1B1D3D */
.world-btn--navy .world-btn-circle {
  background: var(--navy);
  color: #fff;
}

.world-btn--navy:hover .world-btn-circle {
  box-shadow: 0 12px 32px rgba(27, 29, 61, 0.45);
  filter: brightness(1.12);
}

.world-btn--ink .world-btn-circle {
  background: var(--black);
  color: #fff;
}

.world-btn--ink:hover .world-btn-circle {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  filter: brightness(1.15);
}

.world-btn:hover {
  transform: translateY(-4px);
}

.world-btn:hover .world-btn-circle {
  transform: scale(1.05);
}

/* —— Featured —— */
.featured {
  padding: 6rem 0;
  background: var(--surface);
}

.featured-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.bike-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bike-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef1f0;
  margin-bottom: 1.1rem;
}

.bike-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.bike-item:hover .bike-media img {
  transform: scale(1.05);
}

.bike-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: var(--yellow-soft);
  color: var(--black);
  font-weight: 700;
}

.bike-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.bike-meta h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: var(--tracking-secondary);
}

.bike-meta p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.bike-price {
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

/* —— Taller band —— */
.taller-band {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;
  color: #fff;
}

.taller-band-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(27, 63, 59, 0.92) 0%, rgba(27, 29, 61, 0.78) 50%, rgba(0, 0, 0, 0.55) 100%),
    url("https://images.unsplash.com/photo-1532298229144-0ec0c57515c7?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.taller-band .section-label {
  color: var(--yellow-soft);
}

.taller-band .section-title {
  color: #fff;
}

.taller-band .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.taller-band .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.taller-band .section-title {
  max-width: 18ch;
}

.service-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.service-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 1.02rem;
}

.service-list li span:last-child {
  color: var(--yellow-soft);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.taller-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Cafe —— */
.cafe {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 8% 15%, rgba(255, 221, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 40% at 92% 85%, rgba(27, 63, 59, 0.08), transparent 50%),
    var(--paper);
}

.cafe-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.cafe-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cafe-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: cafe-breathe 12s ease-in-out infinite alternate;
}

@keyframes cafe-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.cafe-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

.cafe-copy .section-title {
  text-transform: none;
  letter-spacing: var(--tracking-title);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.75rem;
  margin: 2rem 0 2.25rem;
}

.menu-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: var(--tracking-secondary);
  margin-bottom: 0.25rem;
}

.menu-item p {
  font-size: 0.88rem;
  color: var(--muted);
}

.menu-item .price {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
}

/* —— Visit —— */
.visit {
  padding: 5rem 0 6rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}

.visit h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: var(--tracking-secondary);
  color: var(--navy);
}

.visit p,
.visit li {
  color: var(--muted);
  font-size: 0.95rem;
}

.visit li + li {
  margin-top: 0.35rem;
}

.visit strong {
  color: var(--black);
  font-weight: 700;
}

/* —— Page hero —— */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f0f2f1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f0f2f1 0%, transparent 45%, #f0f2f1 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.85rem;
  color: var(--black);
}

.page-hero p {
  color: var(--muted);
  max-width: 32rem;
  font-size: 1.05rem;
}

/* —— Shop —— */
.shop {
  padding: 3.5rem 0 5rem;
  background: var(--paper);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: var(--tracking-secondary);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--muted);
  background: var(--surface);
  transition: 0.25s;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--black);
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.product {
  display: flex;
  flex-direction: column;
}

.product.is-clickable {
  cursor: pointer;
}

.product-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.product-link:hover h3 {
  color: var(--teal);
}

.product-media {
  aspect-ratio: 1;
  overflow: hidden;
  background: #eef1f0;
  margin-bottom: 1rem;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product:hover .product-media img {
  transform: scale(1.05);
}

.product h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: var(--tracking-secondary);
}

.product .cat {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.2rem 0 0.5rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-footer .price {
  font-weight: 700;
  color: var(--teal);
}

.add-btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  transition: 0.25s;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.add-btn:hover {
  background: var(--yellow-soft);
  border-color: var(--yellow-soft);
  color: var(--black);
}

/* —— Ficha de producto —— */
.product-detail {
  padding: 7rem 0 4rem;
  background: var(--paper);
  min-height: 70vh;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.product-breadcrumb a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.product-breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.product-detail-media {
  background: #eef1f0;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: var(--tracking-title);
  margin: 0.35rem 0 0.75rem;
}

.product-detail-spec {
  color: var(--muted);
  margin: 0 0 1rem;
}

.product-detail-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 1.5rem;
}

.apparel-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
}

.apparel-option-block {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.apparel-option-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.apparel-option-label span {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 600;
  margin-left: 0.35rem;
}

.apparel-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.apparel-color-swatch {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apparel-color-swatch:hover {
  transform: scale(1.06);
}

.apparel-color-swatch.is-active {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 0 2px #fff, 0 0 0 4px var(--ink);
}

.apparel-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.apparel-size-btn {
  min-width: 3rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.apparel-size-btn:hover {
  border-color: var(--ink);
}

.apparel-size-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.product-detail-desc h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: var(--tracking-secondary);
  margin: 0 0 0.5rem;
}

.product-detail-desc p {
  color: var(--mist);
  line-height: 1.65;
  margin: 0 0 1.75rem;
  white-space: pre-line;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-detail-actions .btn {
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border: none;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.product-detail-actions .btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.product-detail-actions .btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}

.product-detail-empty {
  padding: 2rem 0 4rem;
}

.product-detail-empty h1 {
  margin-bottom: 0.75rem;
}

.product-related {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.product-related h2 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.bike-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-detail {
    padding-top: 6rem;
  }
}

/* —— Taller page —— */
.taller-services {
  padding: 4rem 0 5rem;
  background: var(--paper);
}

.service-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-block {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.3s;
}

.service-block:hover {
  border-color: var(--yellow-soft);
}

.service-block h3 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: var(--tracking-secondary);
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.service-block p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-block .price-tag {
  font-weight: 700;
  color: var(--teal);
}

.booking {
  padding: 3rem 0 5rem;
  background: #eef2f1;
  border-top: 1px solid var(--line);
}

.booking-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  margin: 0.35rem 0 1.5rem;
}

.booking-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.booking-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.booking-steps li span {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dfe4e2;
  color: var(--navy);
  font-size: 0.78rem;
}

.booking-steps li.is-active {
  color: var(--navy);
}

.booking-steps li.is-active span {
  background: var(--yellow-soft);
}

.booking-steps li.is-done span {
  background: var(--teal);
  color: #fff;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
}

.booking-main {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.booking-panel[hidden] {
  display: none !important;
}

.booking-panel h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.booking-help {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.booking-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.booking-service-card {
  text-align: left;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.booking-service-card:hover {
  border-color: var(--yellow-soft);
}

.booking-service-card.is-selected {
  border-color: var(--navy);
  background: rgba(27, 29, 61, 0.04);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.booking-service-name {
  font-weight: 700;
  color: var(--navy);
}

.booking-service-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

.booking-service-price {
  margin-top: 0.35rem;
  font-weight: 700;
  color: var(--teal);
  font-size: 0.9rem;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mist);
  margin-bottom: 1rem;
}

.booking-field input,
.booking-field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--text);
  outline: none;
}

.booking-field input:focus,
.booking-field textarea:focus {
  border-color: var(--teal);
}

.booking-slots-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mist);
  margin: 0.5rem 0 0.65rem;
}

.booking-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.booking-slot {
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.booking-slot.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.booking-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.booking-summary {
  background: var(--navy);
  color: #fff;
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.booking-summary-label {
  color: var(--yellow-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.booking-summary-row span {
  color: rgba(255, 255, 255, 0.7);
}

.booking-summary-row strong {
  text-align: right;
  font-weight: 600;
}

.booking-confirm-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.booking-confirm-note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.booking-done h2 {
  color: var(--teal);
}

.booking-empty {
  color: var(--muted);
  grid-column: 1 / -1;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 640px;
}

.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mist);
}

.booking-form label.full {
  grid-column: 1 / -1;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--teal);
}

.booking-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--teal);
  background: rgba(27, 63, 59, 0.08);
  color: var(--teal);
  font-size: 0.95rem;
}

.form-success.is-shown {
  display: block;
  animation: fade-up 0.5s var(--ease);
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-summary {
    position: static;
    order: -1;
  }

  .booking-services {
    grid-template-columns: 1fr;
  }

  .booking-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Auth (login / registro) —— */
.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(27, 29, 61, 0.92), rgba(27, 63, 59, 0.88)),
    url("https://images.unsplash.com/photo-1571068316344-75bc76f77890?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.auth-main {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 1.5rem) 1rem 2rem;
}

.auth-card {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  margin: 0.25rem 0 0.5rem;
  color: var(--navy);
}

.auth-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.auth-error {
  background: rgba(180, 40, 40, 0.08);
  border: 1px solid rgba(180, 40, 40, 0.35);
  color: #8a1f1f;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mist);
}

.auth-form input {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--text);
  outline: none;
}

.auth-form input:focus {
  border-color: var(--teal);
}

.auth-submit {
  width: 100%;
  margin-top: 0.35rem;
  justify-content: center;
}

.auth-switch {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.auth-switch a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: inherit;
  font-size: 0.9rem;
}

.nav-logout {
  border: 0;
  cursor: pointer;
  font: inherit;
}

body.app-shell .nav-user {
  color: var(--navy);
}

/* —— Cafe page —— */
.cafe-menu-page {
  padding: 4rem 0 5rem;
  background: var(--paper);
}

.menu-sections {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 2.5rem;
}

.menu-section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--yellow-soft);
  color: var(--black);
}

.menu-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.menu-row-media {
  width: 5.5rem;
  height: 5.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #e8ebe4, #d4d9d2);
}

.menu-row-media.is-empty,
.menu-row-media:empty {
  background: linear-gradient(145deg, var(--yellow-soft), #e8ebe4);
}

.menu-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-row-body h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: var(--tracking-secondary);
}

.menu-row-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.menu-row .price {
  font-weight: 700;
  color: var(--teal);
}

.menu-row-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

@media (max-width: 560px) {
  .menu-row {
    grid-template-columns: 4.5rem 1fr;
    grid-template-areas:
      "media body"
      "media actions";
    gap: 0.65rem 1rem;
  }

  .menu-row-media {
    grid-area: media;
    width: 4.5rem;
    height: 4.5rem;
  }

  .menu-row-body {
    grid-area: body;
  }

  .menu-row-actions {
    grid-area: actions;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.menu-add {
  padding: 0.45rem 0.9rem !important;
  font-size: 0.82rem !important;
}

.cafe-order-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.cafe-order-bar p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-kind {
  font-size: 0.7rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper, var(--teal)) !important;
  margin-bottom: 0.15rem;
}

.cafe-ambiance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 0 5rem;
}

.cafe-ambiance figure {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow);
}

.cafe-ambiance img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cafe-ambiance figure:hover img {
  transform: scale(1.04);
}

/* —— App shell (mobile) —— */
.app-title,
.app-cart,
.app-tabbar,
.cafe-app-title,
.cafe-app-cart {
  display: none;
}

.cafe-cat-tabs {
  display: none;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0 0.85rem;
  margin: 0 -0.25rem 0.5rem;
}

.cafe-cat-tabs::-webkit-scrollbar {
  display: none;
}

.cafe-cat-tab {
  flex: 0 0 auto;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: var(--tracking-secondary);
  white-space: nowrap;
}

.cafe-cat-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  height: calc(3.75rem + env(safe-area-inset-bottom, 0px));
  padding: 0.35rem 0.15rem env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.app-tab svg {
  display: block;
  width: 20px;
  height: 20px;
}

.app-tab.is-active {
  color: var(--navy);
}

.app-tab-badge {
  position: absolute;
  top: 0.1rem;
  right: calc(50% - 1.2rem);
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.05rem;
  text-align: center;
}

.app-cart,
.cafe-app-cart {
  position: relative;
  color: var(--navy);
  padding: 0.35rem;
}

.app-cart .cart-badge,
.cafe-app-cart .cart-badge {
  position: absolute;
  top: -0.1rem;
  right: -0.15rem;
}

@media (max-width: 720px) {
  body.app-shell,
  body.cafe-app {
    --nav-h: 3.75rem;
    background: var(--paper);
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  body.app-shell .app-desktop-only,
  body.app-shell .cafe-app-desktop-only,
  body.app-shell .site-footer,
  body.cafe-app .cafe-app-desktop-only,
  body.cafe-app .site-footer,
  body.cafe-app .app-desktop-only {
    display: none !important;
  }

  body.app-shell .app-burger,
  body.app-shell .nav-toggle,
  body.cafe-app .cafe-app-burger,
  body.cafe-app .nav-toggle {
    display: none !important;
  }

  body.app-shell .nav-links,
  body.cafe-app .nav-links {
    display: none !important;
  }

  body.app-shell .app-header,
  body.app-shell .site-header,
  body.cafe-app .cafe-app-header,
  body.cafe-app .site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    height: var(--nav-h);
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    color: var(--navy);
  }

  body.app-shell .app-nav,
  body.app-shell .nav,
  body.cafe-app .cafe-app-nav,
  body.cafe-app .nav {
    height: var(--nav-h);
    max-width: none;
    width: 100%;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    justify-content: unset;
  }

  body.app-shell .logo img,
  body.cafe-app .logo img {
    height: 2.1rem;
    width: auto;
    max-width: 160px;
    filter: none !important;
  }

  body.app-shell .app-title,
  body.cafe-app .cafe-app-title,
  body.cafe-app .app-title {
    display: block;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: var(--tracking-title);
    text-transform: uppercase;
    text-align: center;
    color: var(--navy);
  }

  body.app-shell .app-cart,
  body.cafe-app .cafe-app-cart,
  body.cafe-app .app-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.app-shell .app-hero,
  body.app-shell .page-hero,
  body.cafe-app .cafe-app-hero,
  body.cafe-app .page-hero {
    min-height: 0;
    padding: 1.15rem 0 1rem;
    border-bottom: none;
  }

  body.app-shell .page-hero-bg,
  body.cafe-app .page-hero-bg {
    opacity: 0.35;
  }

  body.app-shell .page-hero h1,
  body.cafe-app .page-hero h1 {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
    margin: 0.35rem 0 0.4rem;
  }

  body.app-shell .page-hero p,
  body.cafe-app .page-hero p {
    font-size: 0.9rem;
    max-width: 30ch;
  }

  body.app-shell .hero {
    min-height: 72vh;
    padding-bottom: 2rem;
  }

  body.app-shell .hero-lead {
    font-size: 0.95rem;
  }

  body.app-shell .shop,
  body.app-shell .taller-services,
  body.app-shell .booking-wizard,
  body.app-shell .checkout-page,
  body.app-shell .cafe-menu-page {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  body.app-shell .booking-main {
    padding: 1.1rem;
  }

  body.app-shell .booking-steps {
    gap: 0.45rem 0.65rem;
  }

  body.app-shell .booking-steps li {
    font-size: 0.72rem;
  }

  body.app-shell .booking-steps li span {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.7rem;
  }

  body.app-shell .product-grid {
    gap: 0.85rem;
  }

  body.app-shell .product {
    border: 1px solid var(--line);
    background: var(--surface);
  }

  body.app-shell .filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.35rem;
  }

  body.app-shell .filters::-webkit-scrollbar {
    display: none;
  }

  body.app-shell .checkout-page {
    padding-top: 1.25rem;
  }

  body.app-shell .checkout-title {
    font-size: 1.55rem;
  }

  body.app-shell .cafe-menu-page .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.app-shell[data-app-page="cafe"] .cafe-cat-tabs,
  body.cafe-app .cafe-cat-tabs {
    display: flex;
    position: sticky;
    top: var(--nav-h);
    z-index: 60;
    background: linear-gradient(var(--paper) 70%, rgba(250, 250, 250, 0));
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body.app-shell[data-app-page="cafe"] .menu-sections,
  body.cafe-app .menu-sections {
    gap: 2rem;
    margin-top: 0.5rem;
  }

  body.app-shell[data-app-page="cafe"] .menu-section,
  body.cafe-app .menu-section {
    scroll-margin-top: calc(var(--nav-h) + 3.25rem);
  }

  body.app-shell[data-app-page="cafe"] .menu-section h2,
  body.cafe-app .menu-section h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.45rem;
  }

  body.app-shell[data-app-page="cafe"] .menu-row,
  body.cafe-app .menu-row {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 0.75rem;
    margin-bottom: 0.65rem;
    gap: 0.75rem 0.85rem;
  }

  body.app-shell[data-app-page="cafe"] .menu-row:last-child,
  body.cafe-app .menu-row:last-child {
    margin-bottom: 0;
  }

  body.app-shell[data-app-page="cafe"] .menu-row-media,
  body.cafe-app .menu-row-media {
    width: 4.75rem;
    height: 4.75rem;
  }

  body.app-shell .app-tabbar,
  body.cafe-app .app-tabbar {
    display: grid;
  }

  body.app-shell .toast,
  body.cafe-app .toast {
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* —— Footer —— */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 0.85rem;
  line-height: 0;
}

.footer-brand img {
  height: 4.75rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand + p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  max-width: 22rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow-soft);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--yellow-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Toast —— */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: var(--black);
  color: var(--yellow-soft);
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0;
  transform: translateY(120%);
  opacity: 0;
  transition: 0.4s var(--ease);
  pointer-events: none;
  box-shadow: var(--shadow);
}

.toast.is-shown {
  transform: none;
  opacity: 1;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .bike-grid,
  .taller-band .container,
  .cafe-layout,
  .visit-grid,
  .footer-top,
  .service-blocks,
  .cafe-ambiance {
    grid-template-columns: 1fr;
  }

  .taller-band .container {
    gap: 2rem;
  }

  .cafe-visual {
    aspect-ratio: 16 / 10;
    max-height: 320px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .logo img {
    height: 2.25rem;
    max-width: 170px;
  }

  .hero-brand img {
    width: min(520px, 94vw);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(250, 250, 250, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s var(--ease);
    color: var(--black);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a,
  .site-header .nav-links a,
  .site-header.is-scrolled .nav-links a {
    color: var(--mist);
    font-size: 1.25rem;
  }

  .nav-links a:hover,
  .nav-links a.is-active,
  .site-header .nav-links a:hover,
  .site-header .nav-links a.is-active {
    color: var(--black);
  }

  .nav-links .nav-cta,
  .site-header .nav-links .nav-cta,
  .site-header.is-scrolled .nav-links .nav-cta {
    background: var(--yellow-soft);
    color: var(--black) !important;
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 3.5rem;
  }

  .hero-scroll {
    display: none;
  }

  .menu-grid,
  .booking-form,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .featured-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Cart badge —— */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-header:not(.is-scrolled) .cart-badge {
  background: var(--yellow-soft);
  color: var(--black);
}

/* —— Checkout —— */
.checkout-page {
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  background: var(--paper);
  min-height: 100vh;
}

.checkout-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  list-style: none;
}

.checkout-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.checkout-steps li span {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage, #eef1f0);
  color: var(--muted);
  font-size: 0.85rem;
}

.checkout-steps li.is-active {
  color: var(--black);
}

.checkout-steps li.is-active span {
  background: var(--yellow-soft);
  color: var(--black);
}

.checkout-steps li.is-done span {
  background: var(--teal);
  color: #fff;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.checkout-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.checkout-panel[hidden],
.checkout-account-banner[hidden],
.checkout-account-gate[hidden],
.checkout-account-error[hidden],
#addressField[hidden],
#passwordField[hidden],
#password2Field[hidden],
#accountChoiceLogin[hidden],
#accountChoiceRegister[hidden] {
  display: none !important;
}

.checkout-panel h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: var(--tracking-secondary);
  margin-bottom: 1.25rem;
}

.checkout-account-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.checkout-account-choice {
  text-align: left;
  padding: 1.15rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.checkout-account-choice:hover {
  border-color: var(--navy);
}

.checkout-account-choice.is-selected {
  border-color: var(--navy);
  background: rgba(27, 29, 61, 0.04);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.checkout-account-choice strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.checkout-account-choice span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .checkout-account-choices {
    grid-template-columns: 1fr;
  }
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty {
  padding: 1.5rem 0;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #eef1f0;
}

.cart-line-info h3 {
  font-size: 1rem;
  font-weight: 700;
}

.cart-line-info p {
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-line-price {
  margin-top: 0.25rem !important;
  color: var(--teal) !important;
  font-weight: 600;
}

.cart-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  padding: 0.25rem;
}

.cart-line-qty button {
  width: 1.75rem;
  height: 1.75rem;
  background: var(--paper);
  font-size: 1rem;
  font-weight: 700;
}

.cart-line-total {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}

.cart-remove {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: underline;
}

.checkout-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkout-form label,
.checkout-form fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mist);
}

.checkout-form .full {
  grid-column: 1 / -1;
}

.checkout-form input,
.checkout-form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--text);
  outline: none;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--teal);
}

.checkout-form fieldset {
  border: 1px solid var(--line);
  padding: 1rem;
}

.checkout-form legend {
  padding: 0 0.35rem;
  font-weight: 700;
  color: var(--black);
}

.radio-row {
  flex-direction: row !important;
  align-items: center;
  gap: 0.55rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  margin-top: 0.35rem;
}

.checkout-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.checkout-account-banner {
  background: rgba(27, 63, 59, 0.08);
  border: 1px solid rgba(27, 63, 59, 0.25);
  color: var(--teal);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

.checkout-account-gate {
  background: var(--paper);
}

.checkout-account-hint {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.checkout-account-error {
  background: rgba(180, 40, 40, 0.08);
  border: 1px solid rgba(180, 40, 40, 0.35);
  color: #8a1f1f;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
}

.checkout-summary {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.checkout-summary h3 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-title);
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--yellow-soft);
  margin-bottom: 1rem;
}

.summary-lines {
  list-style: none;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.45rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.summary-total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.15rem;
}

.summary-total strong {
  color: var(--yellow-soft);
}

.order-success h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--tracking-title);
  font-size: 1.8rem;
  margin: 0.5rem 0 1rem;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
    order: -1;
  }

  .cart-line {
    grid-template-columns: 64px 1fr;
  }

  .cart-line-qty,
  .cart-line-total {
    grid-column: 2;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }
}
