/**
 * Gastronomy Detail Page - Editorial Design System
 * Brand colors: #2077ba (primary), #2c91ce (secondary), #f9b33b (gold), #ffbe5f (gold light)
 * Canvas: #faf7f2, Ink: #14222e, Muted: #6a7b88, Line: #e7e2d8
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* Brand Colors */
  --gastro-primary: #2077ba;
  --gastro-primary-soft: rgba(32, 119, 186, 0.08);
  --gastro-secondary: #2c91ce;
  --gastro-gold: #f9b33b;
  --gastro-gold-light: #ffbe5f;
  --gastro-gold-soft: rgba(249, 179, 59, 0.12);

  /* Neutrals */
  --gastro-canvas: #faf7f2;
  --gastro-ink: #14222e;
  --gastro-muted: #6a7b88;
  --gastro-line: #e7e2d8;
  --gastro-white: #ffffff;

  /* Status Colors */
  --gastro-open: #22c55e;
  --gastro-closed: #ef4444;

  /* Typography */
  --gastro-font-serif: 'Instrument Serif', 'Playfair Display', 'Georgia', serif;
  --gastro-font-sans: 'Geist', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --gastro-font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

  /* Spacing */
  --gastro-gap-xs: 8px;
  --gastro-gap-sm: 12px;
  --gastro-gap-md: 16px;
  --gastro-gap-lg: 24px;
  --gastro-gap-xl: 32px;
  --gastro-gap-2xl: 48px;

  /* Radii */
  --gastro-radius-sm: 8px;
  --gastro-radius-md: 12px;
  --gastro-radius-lg: 16px;
  --gastro-radius-xl: 20px;
  --gastro-radius-2xl: 24px;
  --gastro-radius-full: 9999px;

  /* Shadows */
  --gastro-shadow-sm: 0 1px 2px rgba(20, 34, 46, 0.05);
  --gastro-shadow-md: 0 4px 12px rgba(20, 34, 46, 0.08);
  --gastro-shadow-lg: 0 8px 24px rgba(20, 34, 46, 0.1);
  --gastro-shadow-xl: 0 16px 48px rgba(20, 34, 46, 0.12);
  --gastro-shadow-primary: 0 4px 14px rgba(32, 119, 186, 0.35);
  --gastro-shadow-gold: 0 4px 14px rgba(249, 179, 59, 0.35);

  /* Transitions */
  --gastro-transition-fast: 150ms ease;
  --gastro-transition-base: 200ms ease;

  /* Layout */
  --gastro-max-width: 1240px;
  --gastro-sidebar-width: 360px;
}

/* ============================================
   BASE STYLES
   ============================================ */
.gastro-detail {
  color: var(--gastro-ink);
  font-family: var(--gastro-font-sans);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: var(--gastro-max-width);
  padding: 24px 18px 64px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.gastro-breadcrumbs {
  margin-bottom: var(--gastro-gap-md);
}

.gastro-breadcrumbs__list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-family: var(--gastro-font-mono);
  font-size: 11px;
  gap: var(--gastro-gap-xs);
  letter-spacing: 0.1em;
  list-style: none;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

.gastro-breadcrumbs__list li {
  align-items: center;
  display: flex;
  gap: var(--gastro-gap-xs);
}

.gastro-breadcrumbs__list li:not(:last-child)::after {
  color: var(--gastro-line);
  content: '/';
}

.gastro-breadcrumbs__list a {
  color: var(--gastro-muted);
  text-decoration: none;
  transition: color var(--gastro-transition-fast);
}

.gastro-breadcrumbs__list a:hover {
  color: var(--gastro-primary);
}

.gastro-breadcrumbs__list li[aria-current="page"] {
  color: var(--gastro-ink);
  font-weight: 600;
}

/* ============================================
   BACK TO LISTINGS PILL
   ============================================ */
.gastro-back-pill {
  align-items: center;
  background: var(--gastro-white);
  border-radius: var(--gastro-radius-full);
  box-shadow: var(--gastro-shadow-md);
  color: var(--gastro-muted);
  display: inline-flex;
  font-family: var(--gastro-font-sans);
  font-size: 13px;
  font-weight: 500;
  gap: var(--gastro-gap-xs);
  margin-bottom: var(--gastro-gap-lg);
  padding: 10px 16px;
  text-decoration: none;
  transition: all var(--gastro-transition-fast);
}

.gastro-back-pill:hover {
  box-shadow: var(--gastro-shadow-lg);
  color: var(--gastro-primary);
  transform: translateX(-3px);
}

.gastro-back-pill svg {
  transition: transform var(--gastro-transition-fast);
}

.gastro-back-pill:hover svg {
  transform: translateX(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.gastro-hero {
  align-items: start;
  display: grid;
  gap: var(--gastro-gap-xl);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  margin-bottom: var(--gastro-gap-2xl);
}

.gastro-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--gastro-gap-md);
  padding-top: var(--gastro-gap-sm);
}

/* Eyebrow */
.gastro-hero__eyebrow {
  align-items: center;
  background: var(--gastro-primary-soft);
  border-radius: var(--gastro-radius-full);
  color: var(--gastro-primary);
  display: inline-flex;
  font-family: var(--gastro-font-mono);
  font-size: 10px;
  font-weight: 600;
  gap: var(--gastro-gap-xs);
  letter-spacing: 0.12em;
  padding: 6px 12px;
  text-transform: uppercase;
  width: fit-content;
}

.gastro-hero__eyebrow-dot {
  background: var(--gastro-gold);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.gastro-hero__eyebrow-text {
  color: var(--gastro-primary);
}

/* Title */
.gastro-hero__title {
  color: var(--gastro-ink);
  font-family: var(--gastro-font-serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

/* Tagline */
.gastro-hero__tagline {
  color: var(--gastro-muted);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 38ch;
}

/* Meta Row */
.gastro-hero__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gastro-gap-sm);
  margin-top: var(--gastro-gap-xs);
}

.gastro-hero__meta-item {
  align-items: center;
  color: var(--gastro-muted);
  display: inline-flex;
  font-size: 14px;
  gap: 5px;
}

.gastro-hero__meta-item--price {
  color: var(--gastro-gold);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.gastro-hero__meta-item svg {
  color: var(--gastro-gold);
}

.gastro-hero__meta-divider {
  background: var(--gastro-line);
  height: 16px;
  width: 1px;
}

.gastro-hero__meta-count {
  color: var(--gastro-muted);
  font-size: 13px;
}

/* Actions Row */
.gastro-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gastro-gap-sm);
  margin-top: var(--gastro-gap-sm);
}

.gastro-hero__icon-actions {
  display: flex;
  gap: var(--gastro-gap-xs);
  margin-left: auto;
}

/* Hero Media */
.gastro-hero__media {
  border-radius: var(--gastro-radius-2xl);
  justify-self: end;
  max-width: 380px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gastro-hero__image,
.gastro-hero__placeholder {
  aspect-ratio: 1 / 1;
  border-radius: var(--gastro-radius-2xl);
  display: block;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  width: 100%;
}

/* Striped placeholders */
.gastro-hero__placeholder {
  align-items: center;
  background: repeating-linear-gradient(
    135deg,
    #e8e4dc 0px,
    #e8e4dc 10px,
    #f0ece4 10px,
    #f0ece4 20px
  );
  display: flex;
  justify-content: center;
  min-height: 280px;
}

.gastro-hero__placeholder-caption,
.gastro-map__placeholder-caption {
  background: var(--gastro-white);
  border-radius: var(--gastro-radius-full);
  color: var(--gastro-muted);
  font-family: var(--gastro-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  text-transform: uppercase;
}

/* Floating Badge */
.gastro-hero__badge {
  align-items: center;
  background: var(--gastro-white);
  border-radius: var(--gastro-radius-lg);
  bottom: 20px;
  box-shadow: var(--gastro-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  left: 20px;
  padding: 12px 18px;
  position: absolute;
}

.gastro-hero__badge-score {
  color: var(--gastro-ink);
  font-family: var(--gastro-font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.gastro-hero__badge-label {
  color: var(--gastro-muted);
  font-family: var(--gastro-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   BUTTONS
   ============================================ */
.gastro-btn {
  align-items: center;
  border: none;
  border-radius: var(--gastro-radius-full);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--gastro-font-sans);
  font-size: 14px;
  font-weight: 600;
  gap: var(--gastro-gap-xs);
  justify-content: center;
  padding: 12px 22px;
  text-decoration: none;
  transition: all var(--gastro-transition-fast);
}

.gastro-btn--primary {
  background: var(--gastro-primary);
  box-shadow: var(--gastro-shadow-primary);
  color: var(--gastro-white);
}

.gastro-btn--primary:hover {
  background: var(--gastro-secondary);
  box-shadow: 0 6px 20px rgba(32, 119, 186, 0.45);
  transform: translateY(-1px);
}

.gastro-btn--ghost {
  background: transparent;
  border: 1px solid var(--gastro-line);
  color: var(--gastro-ink);
}

.gastro-btn--ghost:hover {
  background: var(--gastro-canvas);
  border-color: var(--gastro-primary);
  color: var(--gastro-primary);
}

.gastro-btn--full {
  width: 100%;
}

.gastro-btn--half {
  flex: 1;
  padding: 10px 16px;
}

/* Icon Button */
.gastro-icon-btn {
  align-items: center;
  background: var(--gastro-canvas);
  border: none;
  border-radius: 50%;
  color: var(--gastro-muted);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: all var(--gastro-transition-fast);
  width: 40px;
}

.gastro-icon-btn:hover {
  background: var(--gastro-primary-soft);
  color: var(--gastro-primary);
}

/* Mini Button */
.gastro-mini-btn {
  align-items: center;
  background: var(--gastro-canvas);
  border: none;
  border-radius: var(--gastro-radius-md);
  color: var(--gastro-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  padding: 8px 12px;
  transition: all var(--gastro-transition-fast);
}

.gastro-mini-btn:hover {
  background: var(--gastro-primary-soft);
  color: var(--gastro-primary);
}

/* ============================================
   QUICK FACTS STRIP
   ============================================ */
.gastro-facts {
  display: grid;
  gap: var(--gastro-gap-md);
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: var(--gastro-gap-2xl);
}

.gastro-facts__card {
  align-items: center;
  background: var(--gastro-white);
  border: 1px solid var(--gastro-line);
  border-radius: var(--gastro-radius-xl);
  display: flex;
  gap: var(--gastro-gap-sm);
  padding: var(--gastro-gap-md);
  transition: all var(--gastro-transition-fast);
}

.gastro-facts__card:hover {
  box-shadow: var(--gastro-shadow-md);
  transform: translateY(-2px);
}

.gastro-facts__card--highlight {
  background: linear-gradient(135deg, var(--gastro-gold-light) 0%, var(--gastro-gold) 100%);
  border-color: transparent;
}

.gastro-facts__card--highlight .gastro-facts__icon {
  background: var(--gastro-white);
  color: var(--gastro-gold);
}

.gastro-facts__card--highlight .gastro-facts__label {
  color: rgba(20, 34, 46, 0.7);
}

.gastro-facts__card--highlight .gastro-facts__value {
  color: var(--gastro-ink);
}

.gastro-facts__icon {
  align-items: center;
  background: var(--gastro-canvas);
  border-radius: var(--gastro-radius-md);
  color: var(--gastro-muted);
  display: inline-flex;
  flex-shrink: 0;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.gastro-facts__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gastro-facts__label {
  color: var(--gastro-muted);
  font-family: var(--gastro-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gastro-facts__value {
  color: var(--gastro-ink);
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   BODY LAYOUT
   ============================================ */
.gastro-body {
  align-items: start;
  display: grid;
  gap: var(--gastro-gap-xl);
  grid-template-columns: minmax(0, 1fr) var(--gastro-sidebar-width);
  margin-bottom: var(--gastro-gap-2xl);
}

.gastro-main {
  display: flex;
  flex-direction: column;
  gap: var(--gastro-gap-xl);
  min-width: 0;
}

.gastro-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gastro-gap-lg);
  position: sticky;
  top: 110px;
}

/* ============================================
   SECTIONS
   ============================================ */
.gastro-section {
  background: var(--gastro-white);
  border: 1px solid var(--gastro-line);
  border-radius: var(--gastro-radius-xl);
  padding: var(--gastro-gap-xl);
}

.gastro-section__title {
  color: var(--gastro-ink);
  font-family: var(--gastro-font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 var(--gastro-gap-md);
}

/* ============================================
   GALLERY
   ============================================ */
.gastro-gallery__stage {
  aspect-ratio: 16 / 9;
  background: var(--gastro-canvas);
  border-radius: var(--gastro-radius-xl);
  overflow: hidden;
  position: relative;
}

.gastro-gallery__slide {
  background: transparent;
  border: none;
  cursor: zoom-in;
  display: none;
  height: 100%;
  left: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.gastro-gallery__slide.is-active {
  display: block;
}

.gastro-gallery__slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Nav Buttons */
.gastro-gallery__nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  color: var(--gastro-ink);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all var(--gastro-transition-fast);
  width: 44px;
  z-index: 2;
}

.gastro-gallery__nav:hover {
  background: var(--gastro-white);
  box-shadow: var(--gastro-shadow-md);
}

.gastro-gallery__nav--prev {
  left: 16px;
}

.gastro-gallery__nav--next {
  right: 16px;
}

/* Counter */
.gastro-gallery__counter {
  background: rgba(20, 34, 46, 0.7);
  backdrop-filter: blur(4px);
  border-radius: var(--gastro-radius-md);
  bottom: 16px;
  color: var(--gastro-white);
  font-family: var(--gastro-font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  position: absolute;
  right: 16px;
  z-index: 2;
}

/* Thumbnails */
.gastro-gallery__thumbs {
  display: grid;
  gap: 10px;
  grid-auto-columns: minmax(80px, 1fr);
  grid-auto-flow: column;
  margin-top: var(--gastro-gap-sm);
  overflow-x: auto;
  padding-bottom: 4px;
}

.gastro-gallery__thumb {
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--gastro-radius-md);
  cursor: pointer;
  opacity: 0.7;
  overflow: hidden;
  padding: 0;
  transition: all var(--gastro-transition-fast);
}

.gastro-gallery__thumb:hover {
  opacity: 0.85;
}

.gastro-gallery__thumb.is-active {
  border-color: var(--gastro-primary);
  opacity: 1;
}

.gastro-gallery__thumb img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

/* Lightbox */
.gastro-lightbox {
  align-items: center;
  background: rgba(20, 34, 46, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 72px 24px 32px;
  position: fixed;
  z-index: 9999;
}

.gastro-lightbox[hidden] {
  display: none;
}

.gastro-lightbox img {
  border-radius: var(--gastro-radius-lg);
  max-height: calc(100vh - 140px);
  max-width: min(1200px, 92vw);
  object-fit: contain;
}

.gastro-lightbox__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--gastro-white);
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 18px;
  transition: all var(--gastro-transition-fast);
  width: 48px;
}

.gastro-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gastro-lightbox__nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--gastro-white);
  cursor: pointer;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all var(--gastro-transition-fast);
  width: 56px;
}

.gastro-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gastro-lightbox__nav--prev {
  left: 24px;
}

.gastro-lightbox__nav--next {
  right: 24px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.gastro-about__content {
  color: var(--gastro-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 68ch;
}

.gastro-about__content p {
  margin: 0 0 var(--gastro-gap-md);
}

.gastro-about__content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SIGNATURE DISHES
   ============================================ */
.gastro-dishes__list {
  display: flex;
  flex-direction: column;
}

.gastro-dish {
  align-items: flex-start;
  border-bottom: 1px dashed var(--gastro-line);
  display: flex;
  gap: var(--gastro-gap-md);
  padding: var(--gastro-gap-md) 0;
}

.gastro-dish:last-child {
  border-bottom: none;
}

.gastro-dish__number {
  color: var(--gastro-gold);
  flex-shrink: 0;
  font-family: var(--gastro-font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  min-width: 36px;
}

.gastro-dish__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gastro-dish__name {
  color: var(--gastro-ink);
  font-size: 16px;
  font-weight: 500;
}

.gastro-dish__note {
  color: var(--gastro-muted);
  font-size: 13px;
}

/* ============================================
   TAGS SECTION
   ============================================ */
.gastro-tags-section {
  display: flex;
  flex-direction: column;
  gap: var(--gastro-gap-lg);
}

.gastro-tags__group {
  display: flex;
  flex-direction: column;
  gap: var(--gastro-gap-sm);
}

.gastro-tags__label {
  color: var(--gastro-muted);
  font-family: var(--gastro-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gastro-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gastro-gap-sm);
}

.gastro-tag {
  border-radius: var(--gastro-radius-full);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
}

.gastro-tag--cuisine {
  background: var(--gastro-primary-soft);
  border: 1px solid rgba(32, 119, 186, 0.2);
  color: var(--gastro-primary);
}

.gastro-tag--highlight {
  background: var(--gastro-gold-soft);
  border: 1px solid rgba(249, 179, 59, 0.3);
  color: #7a5a20;
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.gastro-video__player,
.gastro-video__embed {
  aspect-ratio: 16 / 9;
  background: var(--gastro-canvas);
  border-radius: var(--gastro-radius-lg);
  overflow: hidden;
  width: 100%;
}

.gastro-video__player {
  height: auto;
  max-height: min(70vh, 520px);
  object-fit: contain;
}

.gastro-video__embed iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

/* ============================================
   SIDEBAR CARDS
   ============================================ */
.gastro-card {
  background: var(--gastro-white);
  border: 1px solid var(--gastro-line);
  border-radius: var(--gastro-radius-xl);
  padding: var(--gastro-gap-lg);
}

.gastro-card--reservation {
  background: linear-gradient(180deg, var(--gastro-primary-soft) 0%, var(--gastro-white) 100%);
}

.gastro-card__title {
  color: var(--gastro-ink);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 var(--gastro-gap-md);
}

.gastro-card__header {
  align-items: center;
  display: flex;
  gap: var(--gastro-gap-sm);
  justify-content: space-between;
  margin-bottom: var(--gastro-gap-md);
}

.gastro-card__price {
  color: var(--gastro-ink);
  font-family: var(--gastro-font-serif);
  font-size: 22px;
  font-weight: 400;
}

.gastro-card__rating {
  align-items: center;
  background: var(--gastro-gold-soft);
  border-radius: var(--gastro-radius-full);
  color: var(--gastro-gold);
  display: inline-flex;
  font-weight: 600;
  gap: 4px;
  padding: 4px 10px;
}

.gastro-card__actions-row {
  display: flex;
  gap: var(--gastro-gap-sm);
  margin-top: var(--gastro-gap-sm);
}

.gastro-card__divider {
  background: var(--gastro-line);
  height: 1px;
  margin: var(--gastro-gap-md) 0;
}

.gastro-card__mini-actions {
  display: flex;
  gap: var(--gastro-gap-sm);
  justify-content: center;
}

.gastro-card__text {
  color: var(--gastro-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.gastro-card__address {
  color: var(--gastro-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: var(--gastro-gap-md) 0 0;
}

/* ============================================
   OPEN STATUS
   ============================================ */
.gastro-status {
  align-items: center;
  border-radius: var(--gastro-radius-full);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  margin-bottom: var(--gastro-gap-md);
  padding: 6px 12px;
}

.gastro-status--open {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.gastro-status--closed {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.gastro-status__dot {
  border-radius: 50%;
  height: 8px;
  position: relative;
  width: 8px;
}

.gastro-status--open .gastro-status__dot {
  background: var(--gastro-open);
}

.gastro-status--open .gastro-status__dot::after {
  animation: pulse-ring 2s ease-out infinite;
  border-radius: 50%;
  border: 2px solid var(--gastro-open);
  content: '';
  height: 100%;
  left: -2px;
  position: absolute;
  top: -2px;
  width: 100%;
}

.gastro-status--closed .gastro-status__dot {
  background: var(--gastro-closed);
}

@keyframes pulse-ring {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}

/* ============================================
   OPENING HOURS
   ============================================ */
.gastro-hours {
  display: flex;
  flex-direction: column;
}

.gastro-hours__row {
  align-items: center;
  border-bottom: 1px dashed var(--gastro-line);
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.gastro-hours__row:last-child {
  border-bottom: none;
}

.gastro-hours__row--today {
  background: var(--gastro-primary-soft);
  border-bottom: none;
  border-radius: var(--gastro-radius-md);
  margin: 0 calc(-1 * var(--gastro-gap-sm));
  padding: 8px var(--gastro-gap-sm);
}

.gastro-hours__day {
  color: var(--gastro-muted);
  font-size: 13px;
}

.gastro-hours__row--today .gastro-hours__day {
  color: var(--gastro-primary);
  font-weight: 600;
}

.gastro-hours__time {
  color: var(--gastro-ink);
  font-family: var(--gastro-font-mono);
  font-size: 13px;
}

.gastro-hours__time--closed {
  color: var(--gastro-muted);
  font-style: italic;
}

.gastro-hours__row--today .gastro-hours__time {
  color: var(--gastro-primary);
  font-weight: 600;
}

/* ============================================
   MAP
   ============================================ */
.gastro-map {
  border-radius: var(--gastro-radius-lg);
  overflow: hidden;
}

.gastro-map iframe {
  border: 0;
  display: block;
  height: 180px;
  width: 100%;
}

.gastro-map__placeholder {
  align-items: center;
  background: repeating-linear-gradient(
    135deg,
    #e8e4dc 0px,
    #e8e4dc 10px,
    #f0ece4 10px,
    #f0ece4 20px
  );
  border-radius: var(--gastro-radius-lg);
  display: flex;
  height: 180px;
  justify-content: center;
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.gastro-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gastro-gap-sm);
}

.gastro-social__link {
  background: var(--gastro-canvas);
  border: 1px solid var(--gastro-line);
  border-radius: var(--gastro-radius-full);
  color: var(--gastro-muted);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 14px;
  text-decoration: none;
  transition: all var(--gastro-transition-fast);
}

.gastro-social__link:hover {
  background: var(--gastro-primary);
  border-color: var(--gastro-primary);
  color: var(--gastro-white);
}

/* ============================================
   SIMILAR LISTINGS
   ============================================ */
.gastro-similar {
  border-top: 1px solid var(--gastro-line);
  padding-top: var(--gastro-gap-2xl);
}

.gastro-similar__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--gastro-gap-lg);
}

.gastro-similar__title {
  color: var(--gastro-ink);
  font-family: var(--gastro-font-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

.gastro-similar__link {
  align-items: center;
  color: var(--gastro-primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  text-decoration: none;
  transition: all var(--gastro-transition-fast);
}

.gastro-similar__link:hover {
  color: var(--gastro-secondary);
}

.gastro-similar__link svg {
  transition: transform var(--gastro-transition-fast);
}

.gastro-similar__link:hover svg {
  transform: translateX(3px);
}

.gastro-similar__grid {
  display: grid;
  gap: var(--gastro-gap-lg);
  grid-template-columns: repeat(3, 1fr);
}

.gastro-similar__card {
  background: var(--gastro-white);
  border: 1px solid var(--gastro-line);
  border-radius: var(--gastro-radius-xl);
  overflow: hidden;
  transition: all var(--gastro-transition-fast);
}

.gastro-similar__card:hover {
  box-shadow: var(--gastro-shadow-lg);
  transform: translateY(-3px);
}

.gastro-similar__image-link {
  display: block;
  position: relative;
}

.gastro-similar__image-link img,
.gastro-similar__placeholder {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.gastro-similar__placeholder {
  background: repeating-linear-gradient(
    135deg,
    #2077ba 0px,
    #2077ba 10px,
    #2c91ce 10px,
    #2c91ce 20px
  );
}

.gastro-similar__eyebrow {
  background: var(--gastro-primary);
  border-radius: var(--gastro-radius-full);
  bottom: 12px;
  color: var(--gastro-white);
  font-family: var(--gastro-font-mono);
  font-size: 9px;
  left: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  position: absolute;
  text-transform: uppercase;
}

.gastro-similar__body {
  padding: var(--gastro-gap-md);
}

.gastro-similar__name {
  font-family: var(--gastro-font-serif);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 8px;
}

.gastro-similar__name a {
  color: var(--gastro-ink);
  text-decoration: none;
  transition: color var(--gastro-transition-fast);
}

.gastro-similar__name a:hover {
  color: var(--gastro-primary);
}

.gastro-similar__meta {
  align-items: center;
  color: var(--gastro-muted);
  display: flex;
  font-size: 13px;
  gap: var(--gastro-gap-sm);
  justify-content: space-between;
}

.gastro-similar__price {
  color: var(--gastro-gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
  .gastro-hero {
    grid-template-columns: 1fr;
  }

  .gastro-hero__media {
    justify-self: stretch;
    max-width: none;
    order: -1;
  }

  .gastro-hero__image,
  .gastro-hero__placeholder {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .gastro-body {
    grid-template-columns: 1fr;
  }

  .gastro-sidebar {
    position: static;
  }

  .gastro-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .gastro-similar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gastro-detail {
    padding: 16px 12px 48px;
  }

  .gastro-hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .gastro-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gastro-hero__icon-actions {
    margin-left: 0;
    justify-content: flex-start;
  }

  .gastro-facts {
    grid-template-columns: 1fr;
  }

  .gastro-section {
    padding: var(--gastro-gap-md);
  }

  .gastro-gallery__nav {
    height: 36px;
    width: 36px;
  }

  .gastro-gallery__nav--prev {
    left: 8px;
  }

  .gastro-gallery__nav--next {
    right: 8px;
  }

  .gastro-lightbox__nav {
    height: 44px;
    width: 44px;
  }

  .gastro-lightbox__nav--prev {
    left: 8px;
  }

  .gastro-lightbox__nav--next {
    right: 8px;
  }

  .gastro-similar__grid {
    grid-template-columns: 1fr;
  }

  .gastro-similar__title {
    font-size: 22px;
  }

  .gastro-dish__number {
    font-size: 22px;
  }
}

/* ============================================
   LEGACY COMPATIBILITY (keep existing classes)
   ============================================ */

/* Listing grid cards (for index page) */
.gastronomy-page,
.gastronomy-detail {
  color: #1f2933;
  margin: 0 auto;
  max-width: 1240px;
  padding: 28px 18px 48px;
}

.gastronomy-hero,
.gastronomy-detail__hero {
  background: linear-gradient(135deg, #2077ba 0%, #2c91ce 100%);
  border-radius: 26px;
  color: #fff;
  margin-bottom: 24px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
}

.gastronomy-detail__hero {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.gastronomy-hero__eyebrow {
  color: #ffbe5f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.gastronomy-hero h1,
.gastronomy-detail__hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  margin: 0 0 14px;
}

.gastronomy-hero p,
.gastronomy-detail__hero p {
  font-size: clamp(16px, 2vw, 20px);
  margin: 0;
  max-width: 760px;
}

.gastronomy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.gastronomy-tabs__item {
  background: #fff;
  border: 1px solid rgba(32, 119, 186, .18);
  border-radius: 999px;
  color: #2077ba;
  font-weight: 800;
  padding: 10px 16px;
  text-decoration: none;
}

.gastronomy-tabs__item.is-active,
.gastronomy-tabs__item:hover,
.gastronomy-tabs__item:focus {
  background: #2077ba;
  color: #fff;
  text-decoration: none;
}

.gastronomy-breadcrumbs {
  align-items: center;
  color: #536171;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 14px;
}

.gastronomy-breadcrumbs a {
  color: #2077ba;
  text-decoration: none;
}

.gastronomy-breadcrumbs a:hover,
.gastronomy-breadcrumbs a:focus {
  color: #142233;
  text-decoration: underline;
}

.gastronomy-back-link {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(32, 119, 186, .18);
  border-radius: 999px;
  color: #2077ba;
  display: inline-flex;
  font-weight: 900;
  margin-bottom: 18px;
  padding: 10px 16px;
  text-decoration: none;
}

.gastronomy-back-link::before {
  content: "\2039";
  font-size: 24px;
  line-height: 1;
  margin-right: 8px;
}

.gastronomy-back-link:hover,
.gastronomy-back-link:focus {
  background: #2077ba;
  color: #fff;
  text-decoration: none;
}

.gastronomy-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.gastronomy-results__summary {
  color: #536171;
  font-weight: 700;
  margin-bottom: 14px;
}

.gastronomy-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gastronomy-card,
.gastronomy-info-card,
.gastronomy-map-panel,
.gastronomy-empty {
  background: #fff;
  border: 1px solid rgba(32, 119, 186, .12);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15, 35, 52, .08);
}

.gastronomy-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gastronomy-card__image-link {
  display: block;
  overflow: hidden;
}

.gastronomy-card__image,
.gastronomy-detail__cover {
  aspect-ratio: 16 / 10;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.gastronomy-detail__cover {
  border-radius: 22px;
}

.gastronomy-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.gastronomy-card__meta {
  color: #2077ba;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
}

.gastronomy-card h2 {
  font-size: 24px;
  line-height: 1.12;
  margin: 0;
}

.gastronomy-card h2 a {
  color: #182737;
  text-decoration: none;
}

.gastronomy-card h2 a:hover,
.gastronomy-card h2 a:focus {
  color: #2077ba;
}

.gastronomy-card__tagline {
  color: #536171;
  margin: 0;
}

.gastronomy-card__facts,
.gastronomy-info-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.gastronomy-card__facts div,
.gastronomy-info-card dl div {
  display: grid;
  gap: 3px;
}

.gastronomy-card__facts dt,
.gastronomy-info-card dt {
  color: #7a8794;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.gastronomy-card__facts dd,
.gastronomy-info-card dd {
  margin: 0;
}

.gastronomy-card__cta {
  align-items: center;
  background: #ffbe5f;
  border-radius: 999px;
  color: #142233;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: auto;
  padding: 11px 18px;
  text-decoration: none;
}

.gastronomy-card__cta:hover,
.gastronomy-card__cta:focus {
  background: #f9b33b;
  color: #142233;
  text-decoration: none;
}

.gastronomy-map-panel,
.gastronomy-info-card,
.gastronomy-empty {
  padding: 20px;
}

.gastronomy-map-panel {
  position: sticky;
  top: 20px;
}

.gastronomy-map-panel h2,
.gastronomy-info-card h2,
.gastronomy-section h2 {
  color: #2077ba;
  font-size: 22px;
  margin: 0 0 10px;
}

.gastronomy-map-panel__legend {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 10px;
  margin-top: 16px;
}

.gastronomy-map-panel__pin {
  background: #ffbe5f;
  border: 4px solid #2077ba;
  border-radius: 50% 50% 50% 0;
  display: inline-block;
  height: 22px;
  transform: rotate(-45deg);
  width: 22px;
}

.gastronomy-pagination {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.gastronomy-pagination a,
.gastronomy-pagination span {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 35, 52, .08);
  color: #2077ba;
  font-weight: 800;
  padding: 10px 15px;
}

.gastronomy-detail__grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.gastronomy-detail__main {
  min-width: 0;
}

.gastronomy-gallery-slider {
  margin-bottom: 24px;
  max-width: 100%;
}

.gastronomy-gallery-slider__stage {
  aspect-ratio: 16 / 10;
  background: #0f2334;
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15, 35, 52, .12);
  overflow: hidden;
  position: relative;
}

.gastronomy-gallery-slider__slide {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: none;
  height: 100%;
  padding: 0;
  width: 100%;
}

.gastronomy-gallery-slider__slide.is-active {
  display: block;
}

.gastronomy-gallery-slider__slide img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gastronomy-gallery-slider__nav,
.gastronomy-gallery-lightbox__nav,
.gastronomy-gallery-lightbox__close {
  align-items: center;
  background: rgba(15, 35, 52, .72);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
}

.gastronomy-gallery-slider__nav {
  font-size: 42px;
  height: 52px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  z-index: 2;
}

.gastronomy-gallery-slider__nav--prev {
  left: 16px;
}

.gastronomy-gallery-slider__nav--next {
  right: 16px;
}

.gastronomy-gallery-slider__nav:hover,
.gastronomy-gallery-slider__nav:focus,
.gastronomy-gallery-lightbox__nav:hover,
.gastronomy-gallery-lightbox__nav:focus,
.gastronomy-gallery-lightbox__close:hover,
.gastronomy-gallery-lightbox__close:focus {
  background: #2077ba;
}

.gastronomy-gallery-slider__thumbs {
  display: grid;
  gap: 10px;
  grid-auto-columns: minmax(86px, 120px);
  grid-auto-flow: column;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gastronomy-gallery-slider__thumb {
  background: transparent;
  border: 3px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.gastronomy-gallery-slider__thumb.is-active {
  border-color: #ffbe5f;
}

.gastronomy-gallery-slider__thumb img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.gastronomy-gallery-lightbox {
  align-items: center;
  background: rgba(6, 15, 24, .92);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 72px 24px 32px;
  position: fixed;
  z-index: 9999;
}

.gastronomy-gallery-lightbox[hidden] {
  display: none;
}

.gastronomy-gallery-lightbox img {
  border-radius: 18px;
  max-height: calc(100vh - 120px);
  max-width: min(1100px, 92vw);
  object-fit: contain;
}

.gastronomy-gallery-lightbox__close {
  font-size: 34px;
  height: 48px;
  position: absolute;
  right: 24px;
  top: 18px;
  width: 48px;
}

.gastronomy-gallery-lightbox__nav {
  font-size: 48px;
  height: 58px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
}

.gastronomy-gallery-lightbox__nav--prev {
  left: 24px;
}

.gastronomy-gallery-lightbox__nav--next {
  right: 24px;
}

.gastronomy-section {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15, 35, 52, .08);
  padding: 24px;
}

.gastronomy-video-section {
  max-width: 100%;
  overflow: hidden;
}

.gastronomy-video,
.gastronomy-video-embed {
  aspect-ratio: 16 / 9;
  background: #0f2334;
  border-radius: 18px;
  display: block;
  overflow: hidden;
  width: 100%;
}

.gastronomy-video {
  height: auto;
  max-height: min(70vh, 520px);
  object-fit: contain;
}

.gastronomy-video-embed iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.gastronomy-rich-text {
  line-height: 1.75;
}

.gastronomy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.gastronomy-tags__heading {
  color: #182737;
  font-size: 18px;
  margin: 16px 0 10px;
}

.gastronomy-tag {
  background: rgba(32, 119, 186, .1);
  border: 1px solid rgba(32, 119, 186, .18);
  border-radius: 999px;
  color: #2077ba;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 13px;
}

.gastronomy-tag--highlight {
  background: rgba(255, 190, 95, .22);
  border-color: rgba(249, 179, 59, .42);
  color: #7a4a00;
}

.gastronomy-menu {
  display: grid;
  gap: 18px;
}

.gastronomy-menu__section {
  border-top: 1px solid rgba(32, 119, 186, .14);
  padding-top: 18px;
}

.gastronomy-menu__section:first-child {
  border-top: 0;
  padding-top: 0;
}

.gastronomy-menu__section h3 {
  color: #182737;
  font-size: 20px;
  margin: 0 0 8px;
}

.gastronomy-menu__items {
  display: grid;
  gap: 12px;
}

.gastronomy-menu__item {
  align-items: start;
  border-bottom: 1px solid rgba(15, 35, 52, .08);
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 12px;
}

.gastronomy-menu__item span {
  color: #536171;
  display: block;
  margin-top: 4px;
}

.gastronomy-menu__item b {
  color: #2077ba;
  white-space: nowrap;
}

.gastronomy-detail__sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 20px;
}

.gastronomy-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gastronomy-social-links a {
  background: rgba(32, 119, 186, .1);
  border: 1px solid rgba(32, 119, 186, .18);
  border-radius: 999px;
  color: #2077ba;
  font-weight: 900;
  padding: 9px 13px;
  text-decoration: none;
}

.gastronomy-social-links a:hover,
.gastronomy-social-links a:focus {
  background: #2077ba;
  color: #fff;
  text-decoration: none;
}

/* Legacy responsive */
@media (max-width: 991px) {
  .gastronomy-layout,
  .gastronomy-detail__grid,
  .gastronomy-detail__hero {
    grid-template-columns: 1fr;
  }

  .gastronomy-map-panel,
  .gastronomy-detail__sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .gastronomy-page,
  .gastronomy-detail {
    padding: 18px 12px 36px;
  }

  .gastronomy-grid {
    grid-template-columns: 1fr;
  }

  .gastronomy-detail__grid {
    gap: 18px;
  }

  .gastronomy-gallery-slider {
    margin-bottom: 18px;
  }

  .gastronomy-gallery-slider__stage {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .gastronomy-gallery-slider__nav,
  .gastronomy-gallery-lightbox__nav {
    font-size: 34px;
    height: 44px;
    width: 44px;
  }

  .gastronomy-gallery-slider__nav--prev,
  .gastronomy-gallery-lightbox__nav--prev {
    left: 8px;
  }

  .gastronomy-gallery-slider__nav--next,
  .gastronomy-gallery-lightbox__nav--next {
    right: 8px;
  }

  .gastronomy-gallery-slider__thumbs {
    gap: 8px;
    grid-auto-columns: minmax(72px, 84px);
  }

  .gastronomy-gallery-slider__thumb {
    border-radius: 10px;
    border-width: 2px;
  }

  .gastronomy-section {
    border-radius: 18px;
    padding: 18px;
  }

  .gastronomy-video,
  .gastronomy-video-embed {
    border-radius: 14px;
    max-height: calc(100vh - 180px);
  }

  .gastronomy-tabs {
    flex-wrap: nowrap;
    margin-left: -12px;
    margin-right: -12px;
    overflow-x: auto;
    padding: 0 12px 4px;
  }

  .gastronomy-tabs__item {
    white-space: nowrap;
  }

  .gastronomy-menu__item {
    grid-template-columns: 1fr;
  }
}
