/* ==========================================================================
   MASAJES ORIENTALES BCN - PALETA ORIENTAL ROJO IMPERIAL Y ORO
   ========================================================================== */

:root {
  /* Fondo general: Chinese Red Gradient */
  --bg-page: #520905;
  --bg-card: rgba(122, 16, 13, 0.95);
  --bg-surface: rgba(70, 9, 7, 0.85);
  --bg-surface-alt: rgba(90, 12, 9, 0.90);
  --bg-input: rgba(30, 3, 2, 0.92);

  /* Typography & Headings: Gleaming Gold & Champagne Silk */
  --color-espresso: #FFE8B8;
  --color-heading: #FFDF85;
  --color-body: #E8C8B5;
  --color-muted: #D6A596;
  --color-light: #FFF8EE;

  /* Imperial Chinese Red & Brothel Neon Lantern Red */
  --primary-red: #FF3B30;
  --primary-red-hover: #FF5A52;
  --primary-red-dark: #A81C14;
  --primary-red-light: rgba(255, 59, 48, 0.15);
  --primary-red-border: rgba(255, 59, 48, 0.45);
  --primary-red-glow: rgba(255, 59, 48, 0.40);

  /* Rich Oriental Gold & Amber */
  --gold-primary: #F5C538;
  --gold-hover: #FFD868;
  --gold-dark: #D89816;
  --gold-bright: #FFE48A;
  --gold-light: rgba(245, 197, 56, 0.18);
  --gold-border: rgba(245, 197, 56, 0.50);
  --gold-glow: rgba(245, 197, 56, 0.40);

  /* Subtle Oriental Warm Borders */
  --border-light: rgba(245, 197, 56, 0.28);
  --border-medium: rgba(245, 197, 56, 0.45);
  --border-gold: rgba(245, 197, 56, 0.65);

  /* Shadows with seductive lantern and gold depth */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 6px 20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 197, 56, 0.35);
  --shadow-card-hover: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(220, 30, 20, 0.45), 0 0 12px rgba(245, 197, 56, 0.4);
  --shadow-btn: 0 4px 18px rgba(184, 28, 20, 0.55), 0 0 10px rgba(245, 197, 56, 0.35);
  --shadow-gold-btn: 0 4px 18px rgba(245, 197, 56, 0.55);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
}

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  background-image:
    radial-gradient(circle at 50% 80px, #B82218 0%, #85130D 35%, #4F0804 70%, #280302 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-body);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TOP FIXED BAR (SELECTOR DE IDIOMA REDONDO MULTIIDIOMA - TODOASIATICAS)
   ========================================================================== */
.top-notice-bar {
  background: rgba(22, 2, 2, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245, 197, 56, 0.28);
  padding: 0.5rem 0.6rem !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.top-notice-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.lang-flags-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  margin: 0 auto !important;
  direction: ltr !important;
}

.lang-flag-round {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-shrink: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(245, 197, 56, 0.35) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
  background: #000 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-decoration: none;
}

.lang-flag-round:hover {
  transform: translateY(-2px) scale(1.12);
  border-color: var(--gold-bright) !important;
  box-shadow: 0 4px 14px rgba(245, 197, 56, 0.5) !important;
}

.lang-flag-round.active {
  border-color: var(--gold-bright) !important;
  border-width: 2px !important;
  transform: scale(1.18) !important;
  box-shadow: 0 0 12px rgba(245, 197, 56, 0.7), 0 2px 6px rgba(0, 0, 0, 0.75) !important;
}

.lang-flag-round img,
.lang-flag-round svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

/* Header */
.site-header {
  background-color: transparent;
  border: none;
  padding: 1.25rem 1rem 0.25rem;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.brand-logo-link:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none;
}

.header-badge-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem 0.25rem;
  width: 100%;
}

.header-counter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFE6A3;
  background: linear-gradient(135deg, rgba(48, 6, 5, 0.95) 0%, rgba(22, 2, 2, 0.98) 100%);
  padding: 0.42rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 197, 56, 0.3);
  margin: 0;
  line-height: 1.35;
}

.header-updated-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(6, 78, 40, 0.92) 0%, rgba(3, 45, 23, 0.95) 100%);
  border: 1.2px solid #22c55e;
  border-radius: var(--radius-full);
  padding: 0.24rem 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #bbf7d0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 10px rgba(34, 197, 94, 0.25);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.header-updated-badge .updated-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  display: inline-block;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF3B30;
  box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.35);
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 59, 48, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

/* ==========================================================================
   CITY FILTER BADGES (Barcelona, L'Hospitalet, Badalona, Santa Coloma)
   ========================================================================== */
.city-filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.25rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.city-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #D1D5DB;
  background: rgba(30, 20, 20, 0.78);
  border: 1px solid rgba(245, 197, 56, 0.28);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  user-select: none;
  font-family: inherit;
  outline: none;
}

.city-badge-btn:hover {
  color: #FFE6A3;
  border-color: rgba(245, 197, 56, 0.65);
  background: rgba(55, 15, 15, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), 0 0 8px rgba(245, 197, 56, 0.25);
}

.city-badge-btn.active {
  color: #FFE6A3;
  background: linear-gradient(135deg, rgba(75, 14, 12, 0.96) 0%, rgba(32, 5, 5, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 10px rgba(245, 197, 56, 0.4);
  font-weight: 700;
}

.city-badge-btn:active {
  transform: translateY(0);
}


/* ==========================================================================
   CATALOG SECTION (Microfichas Minimalistas - 1 por línea)
   ========================================================================== */
.catalog-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3.5rem;
  width: 100%;
}

.section-header {
  margin-bottom: 2rem;
}

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

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--color-espresso);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-body);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Search Container */
.search-container {
  margin-bottom: 1.25rem;
  width: 100%;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-svg {
  position: absolute;
  left: 1.15rem;
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(245, 197, 56, 0.45));
}

.search-input-box input {
  width: 100%;
  padding: 0.85rem 2.8rem 0.85rem 3rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(245, 197, 56, 0.55);
  background: linear-gradient(135deg, rgba(38, 4, 3, 0.92) 0%, rgba(20, 2, 2, 0.96) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFF2D6;
  font-family: inherit;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 230, 160, 0.12);
  transition: all 0.22s ease;
}

.search-input-box input:focus {
  outline: none;
  background: linear-gradient(135deg, rgba(48, 5, 4, 0.98) 0%, rgba(28, 3, 2, 0.99) 100%);
  border-color: #FFD868;
  box-shadow: 0 0 0 3px rgba(245, 197, 56, 0.35), 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 16px rgba(220, 30, 20, 0.45);
}

.search-input-box input::placeholder {
  color: #C49A8F;
}

.clear-search-btn {
  position: absolute;
  right: 1.15rem;
  background: none;
  border: none;
  color: #D6A596;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.15s ease;
}

.clear-search-btn:hover {
  color: var(--gold-bright);
}

.hidden {
  display: none !important;
}

/* Active Filter Indicator Bar */
.active-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.15rem;
}

.active-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(125, 18, 15, 0.96) 0%, rgba(85, 11, 9, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.95rem 0.45rem 1.15rem;
  color: #FFE6A3;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 197, 56, 0.28);
  animation: fadeInFilter 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes fadeInFilter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.active-filter-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.active-filter-close {
  background: rgba(245, 197, 56, 0.22);
  border: 1px solid rgba(245, 197, 56, 0.5);
  color: #FFF2D6;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
}

.active-filter-close:hover {
  background: #B81C14;
  border-color: #FFE48A;
  color: #FFFFFF;
  transform: scale(1.15);
}

/* Results Status Bar */
.results-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.results-counter {
  font-weight: 700;
  color: var(--gold-bright);
  font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(245, 197, 56, 0.3);
}

.view-indicator-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFECC4;
  background: linear-gradient(135deg, rgba(42, 5, 4, 0.88) 0%, rgba(22, 2, 2, 0.94) 100%);
  border: 1px solid rgba(245, 197, 56, 0.5);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 230, 160, 0.15);
}

/* ==========================================================================
   MICROFICHAS CONTAINER & ROW (1 POR LÍNEA - PORTADA MINIMALISTA)
   ========================================================================== */
.microfichas-container {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.microficha-row {
  background: linear-gradient(135deg, rgba(122, 16, 13, 0.94) 0%, rgba(82, 11, 9, 0.98) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(245, 197, 56, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 12px rgba(184, 28, 20, 0.22), inset 0 1px 0 rgba(255, 230, 160, 0.16);
  padding: 0.55rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
}

.microficha-row:hover {
  transform: translateY(-2px);
  border-color: #FFD868;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 0 20px rgba(220, 25, 15, 0.5), 0 0 14px rgba(245, 197, 56, 0.4);
  background: linear-gradient(135deg, rgba(82, 10, 7, 0.98) 0%, rgba(48, 5, 4, 0.99) 100%);
}

.microficha-row:hover .micro-title {
  color: #FFF2D6;
  text-shadow: 0 0 10px rgba(245, 197, 56, 0.65), 0 0 20px rgba(255, 59, 48, 0.45);
}

.microficha-row:focus-visible {
  outline: 2px solid var(--gold-bright);
}

/* 1. Miniatura proporcionada que ocupa la altura de las 3 líneas */
.micro-thumb {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(25, 3, 2, 0.9);
  flex-shrink: 0;
  position: relative;
  border: 1.5px solid rgba(245, 197, 56, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.micro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.microficha-row:hover .micro-thumb img {
  transform: scale(1.08);
}

.thumb-photo-count {
  display: none !important;
}

/* 2. 3 Líneas de texto perfectamente alineadas con la altura de la imagen */
.micro-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 70px;
  gap: 0.15rem;
}

.micro-line-name {
  display: flex;
  align-items: center;
  min-width: 0;
}

.micro-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

.micro-title-seo-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.micro-title-seo-link:hover {
  color: var(--gold-bright);
}

.micro-line-address {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.loc-pin-icon {
  width: 13px;
  height: 13px;
  color: var(--primary-red);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 59, 48, 0.6));
}

.micro-address-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-body);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.micro-line-metro {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}

.micro-metro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFE6A3;
  background: rgba(35, 4, 3, 0.85);
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 197, 56, 0.5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  width: fit-content;
}

/* Microficha WhatsApp & Telegram mini-badges */
.micro-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.micro-channel-badge.badge-wa {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #55FF88;
}

.micro-channel-badge.badge-tg {
  background: rgba(0, 136, 204, 0.16);
  border: 1px solid rgba(0, 136, 204, 0.45);
  color: #64B5F6;
}

/* 3. Indicador de flecha sutil a la derecha (toda la tarjeta es el botón) */
.micro-chevron {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--gold-primary);
  opacity: 0.75;
  transition: all 0.2s ease;
}

.micro-chevron svg {
  width: 15px;
  height: 15px;
}

.microficha-row:hover .micro-chevron {
  opacity: 1;
  transform: translateX(3px);
  color: var(--gold-bright);
  filter: drop-shadow(0 0 6px rgba(245, 197, 56, 0.75));
}

/* Load More Section */
.load-more-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.5rem auto 0.5rem;
  width: 100%;
}

.btn-load-more {
  background: linear-gradient(135deg, #D41C12 0%, #850E07 100%);
  color: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  padding: 0.75rem 2.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 14px rgba(212, 28, 18, 0.4);
  transition: all 0.22s ease;
  font-family: inherit;
}

.btn-load-more:hover {
  background: linear-gradient(135deg, #F0281D 0%, #A3120A 100%);
  border-color: #FFE48A;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 59, 48, 0.6);
}

.btn-load-more:active {
  transform: translateY(0);
}

.load-more-icon {
  font-size: 1.1rem;
  line-height: 1;
  color: var(--gold-bright);
  transition: transform 0.2s ease;
}

.btn-load-more:hover .load-more-icon {
  transform: translateY(2px);
}

.load-more-count {
  font-size: 0.82rem;
  color: rgba(255, 235, 215, 0.7);
  font-weight: 500;
}

/* ==========================================================================
   EXTENDED DETAIL POPUP MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 2, 2, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-detail-box {
  background: radial-gradient(circle at 50% 80px, #C0261C 0%, #901612 35%, #6A0E0B 70%, #460806 100%);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(184, 28, 20, 0.6), 0 0 24px rgba(245, 197, 56, 0.4);
  border: 2px solid var(--gold-primary);
  color: var(--color-body);
  animation: modalScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-drag-indicator {
  display: none;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 20;
  background: linear-gradient(135deg, #E52E25 0%, #A8140E 100%);
  border: 2px solid #FF8A80;
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(229, 46, 37, 0.55), 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: all 0.22s ease;
}

.modal-close-btn:hover {
  background: linear-gradient(135deg, #FF3B30 0%, #C41C14 100%);
  color: #FFFFFF;
  border-color: #FFAAA3;
  box-shadow: 0 0 20px rgba(255, 59, 48, 0.9), 0 4px 14px rgba(0, 0, 0, 0.7);
  transform: rotate(90deg) scale(1.08);
}

.modal-detail-content {
  padding: 1.8rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Pagoda Roof Architecture Banner (Modal Popup & Shop Detail Page) */
.pagoda-header-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0.25rem 0 0.85rem 0;
  aspect-ratio: 1024 / 341;
  background-image: url('img/roof-header.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-sizing: border-box;
  filter: none;
}

.popup-header-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: calc(100% + 4rem);
  margin: -1.8rem -2rem 0.65rem -2rem;
  padding: 0;
}

.popup-header-block .pagoda-header-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 18px 18px 0 0;
}

.pagoda-title-box {
  width: 76%;
  height: 52%;
  margin-bottom: 0;
  transform: translateY(8%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0.5rem;
  box-sizing: border-box;
  overflow: visible;
}

.pagoda-title-box .popup-title,
.pagoda-title-box .shop-full-title,
.pagoda-title-box .shop-main-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  color: #FFF3C4;
  line-height: 1.1;
  margin: 0;
  text-align: center;
  letter-spacing: -0.015em;
  text-shadow: none;
  max-width: 100%;
  word-break: break-word;
}

/* Popup Header */
.popup-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  color: #FFF3C4;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: none;
  width: 100%;
}

.popup-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.popup-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.pill-zone {
  background: rgba(184, 28, 20, 0.35);
  color: #FFA59E;
  border: 1px solid rgba(255, 59, 48, 0.55);
}

.pill-metro {
  background: rgba(45, 5, 4, 0.85);
  color: #FFE6A3;
  border: 1px solid rgba(245, 197, 56, 0.5);
}

/* Gallery inside popup */
.popup-gallery-block {
  background: rgba(22, 2, 2, 0.85);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(245, 197, 56, 0.35);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.6);
}

.popup-gallery-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.popup-gallery-item {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 197, 56, 0.35);
  display: block;
}

.popup-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.popup-gallery-item:hover {
  border-color: #FFD868;
  box-shadow: 0 0 14px rgba(245, 197, 56, 0.5);
}

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

.popup-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.popup-zoom-hint {
  font-weight: 600;
  color: #D6A596;
}

.popup-banner-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Details Cards Grid */
.popup-details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.popup-card {
  background: linear-gradient(135deg, rgba(62, 8, 8, 0.88) 0%, rgba(36, 4, 4, 0.94) 100%);
  border: 1px solid rgba(245, 197, 56, 0.35);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.1), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.popup-card-span-full {
  grid-column: 1 / -1;
}

.popup-card-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #E0B496;
}

.popup-card-label svg {
  width: 13px;
  height: 13px;
  color: var(--primary-red);
  filter: drop-shadow(0 0 3px rgba(255, 59, 48, 0.5));
}

.popup-card-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFF2D6;
  line-height: 1.35;
}

.popup-card-sub {
  font-size: 0.8rem;
  color: #D6A596;
}

/* Location Card - Centered like Ficha Extendida */
.popup-card-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1.15rem 1.25rem;
}

.popup-location-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.popup-card-location .popup-card-label {
  justify-content: center;
}

.popup-location-address {
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
  width: 100%;
}

.popup-address-street {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}

.popup-address-cpcity {
  color: #E0B496;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Location Badges Cluster (Metro, District & Google Maps in vertical stack) */
.popup-location-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.42rem;
  margin-top: 0.55rem;
}

.popup-card-location .popup-location-badges {
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.35rem;
}

/* Metro station & colored badges inside popup location card */
.popup-metro-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.22rem 0.52rem;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(245, 197, 56, 0.28);
  border-radius: 6px;
  width: fit-content;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.18s ease;
}

.popup-metro-link:hover {
  text-decoration: none;
  background: rgba(60, 8, 6, 0.88);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(245, 197, 56, 0.3);
}

.popup-metro-link:hover .popup-metro-station {
  color: var(--gold-bright);
}

.popup-metro-icon {
  font-size: 0.82rem;
  line-height: 1;
}

.popup-metro-station {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFF2D6;
  transition: color 0.18s ease;
}

.popup-metro-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
}

.popup-metro-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.08rem 0.32rem;
  border-radius: 4px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  display: inline-block;
  min-width: 22px;
  text-align: center;
}

/* District badge directly underneath metro badge */
.popup-district-row {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.22rem 0.52rem;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(245, 197, 56, 0.28);
  border-radius: 6px;
  width: fit-content;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.18s ease;
}

.popup-district-icon {
  font-size: 0.82rem;
  line-height: 1;
}

.popup-district-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFF2D6;
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
}

.popup-district-link:hover {
  text-decoration: none;
  background: rgba(60, 8, 6, 0.88);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(245, 197, 56, 0.3);
}

.popup-district-link:hover .popup-district-name {
  color: var(--gold-bright);
}

.popup-badge-link-icon {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-left: 0.18rem;
  line-height: 1;
  opacity: 0.85;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.popup-metro-link:hover .popup-badge-link-icon,
.popup-district-link:hover .popup-badge-link-icon {
  opacity: 1;
  transform: translate(1px, -1px);
}

.line-r4,
.line-r7 {
  background: #E65100;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.popup-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFF2D6;
  text-decoration: none;
  margin: 0;
  padding: 0.2rem 0.52rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(245, 197, 56, 0.28);
  border-radius: 6px;
  width: fit-content;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.popup-maps-btn:hover {
  text-decoration: none;
  background: rgba(60, 8, 6, 0.85);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(245, 197, 56, 0.3);
}

.popup-maps-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.popup-card-prices {
  background: linear-gradient(135deg, rgba(68, 9, 6, 0.95) 0%, rgba(42, 5, 4, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-width: 1.5px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 14px rgba(245, 197, 56, 0.25);
}

.popup-prices-val {
  font-size: 0.96rem;
  font-weight: 800;
  color: #FFE8A3;
  line-height: 1.45;
  text-shadow: 0 0 8px rgba(245, 197, 56, 0.45);
}

/* Contact Card - Distinctive, Prominent & Homogeneous */
.popup-card-contact {
  background: linear-gradient(135deg, rgba(82, 10, 10, 0.96) 0%, rgba(46, 5, 5, 0.98) 50%, rgba(24, 2, 2, 0.98) 100%);
  border: 1.5px solid rgba(245, 197, 56, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.2), 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 18px rgba(245, 197, 56, 0.15);
  padding: 1.1rem 1.35rem;
  gap: 0.5rem;
}

.popup-contact-top {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-contact-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  width: 100%;
}

.popup-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
  width: 100%;
}

.popup-phone-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.18s ease;
}

.popup-phone-link:hover .popup-phone-number {
  color: #FFFFFF;
  text-shadow: 0 0 18px rgba(245, 197, 56, 0.75), 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Interactive Phone Copy Button */
.popup-phone-copy-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.popup-phone-copy-btn:hover {
  background: rgba(245, 197, 56, 0.1);
  border-color: rgba(245, 197, 56, 0.25);
}

.popup-phone-copy-btn:hover .popup-phone-number {
  color: #FFFFFF;
  text-shadow: 0 0 18px rgba(245, 197, 56, 0.75), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.popup-phone-copy-btn:hover .popup-copy-icon {
  color: #FFD868;
  transform: scale(1.08);
  border-color: rgba(245, 197, 56, 0.6);
  background: rgba(60, 8, 8, 0.85);
}

.popup-phone-wrap,
.popup-phone-copy-btn,
.popup-phone-number,
.popup-phone-sub-number,
.popup-phone-sub-copy,
.shop-phone,
.phone-number,
a[href^="tel:"],
[data-phone] {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.popup-phone-number {
  font-size: clamp(1.45rem, 3.4vw, 1.95rem);
  font-weight: 800;
  color: #FFE6A3;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-shadow: 0 0 14px rgba(245, 197, 56, 0.45), 0 2px 4px rgba(0, 0, 0, 0.7);
  font-variant-numeric: tabular-nums;
  display: inline-block !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

/* Copy Icon Container */
.popup-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(45, 6, 6, 0.75);
  border: 1px solid rgba(245, 197, 56, 0.35);
  color: #FFE8A3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.popup-copy-icon svg {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.popup-copy-icon .icon-check {
  display: none;
}

.popup-copy-icon .icon-copy {
  display: block;
}

/* Copied feedback state */
.popup-phone-copy-btn.copied .popup-copy-icon {
  background: rgba(22, 101, 52, 0.85);
  border-color: #4ade80;
  color: #86efac;
}

.popup-phone-copy-btn.copied .popup-copy-icon .icon-copy {
  display: none;
}

.popup-phone-copy-btn.copied .popup-copy-icon .icon-check {
  display: block;
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-copy-badge {
  position: absolute;
  top: -24px;
  left: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  color: #86efac;
  background: rgba(20, 83, 45, 0.95);
  border: 1px solid #22c55e;
  padding: 0.18rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateX(-50%) translateY(4px) scale(0.9);
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  z-index: 10;
}

.popup-phone-copy-btn.copied .popup-copy-badge,
.popup-phone-sub-copy.copied .popup-copy-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Sub-copy button for secondary / landline */
.popup-phone-sub-copy {
  background: transparent;
  border: none;
  padding: 0.12rem 0.35rem;
  margin: 0;
  font-size: 0.82rem;
  color: #E0B496;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 4px;
  font-family: inherit;
  transition: all 0.18s ease;
  width: fit-content;
  position: relative;
}

.popup-phone-sub-copy:hover {
  color: #FFE6A3;
  background: rgba(245, 197, 56, 0.08);
}

.popup-phone-sub-copy svg {
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.popup-phone-sub-copy:hover svg {
  opacity: 1;
  color: #FFD868;
}

.popup-phone-sub-copy.copied {
  color: #86efac;
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-phone-secondary {
  font-size: 0.82rem;
  color: #E0B496;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.popup-no-contact-text {
  font-size: 0.95rem;
  color: #E0B496;
  font-style: italic;
}

.popup-icon-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* Small, Homogeneous, Icon-only Action Buttons - Rojo Chino */
.popup-contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(145deg, #D41C12 0%, #850E07 100%);
  border: 1.5px solid var(--gold-primary);
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45), 0 0 10px rgba(212, 28, 18, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  flex-shrink: 0;
}

.popup-contact-icon-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.popup-contact-icon-btn:hover {
  background: linear-gradient(145deg, #F0281D 0%, #A3120A 100%);
  border-color: #FFE48A;
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6), 0 0 18px rgba(240, 40, 29, 0.65);
}

.popup-contact-icon-btn:hover svg {
  transform: scale(1.1);
}

.popup-contact-icon-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Popup Guides & Articles Block */
.popup-guides-section {
  background: linear-gradient(135deg, rgba(120, 16, 13, 0.94) 0%, rgba(78, 10, 8, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), inset 0 0 16px rgba(184, 28, 20, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guides-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(245, 197, 56, 0.25);
}

.guides-header-icon {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(245, 197, 56, 0.4));
}

.guides-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.guides-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

.guides-subtitle {
  font-size: 0.8rem;
  color: var(--color-body);
  opacity: 0.9;
}

.guides-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.guide-item {
  background: rgba(18, 2, 2, 0.65);
  border: 1px solid rgba(245, 197, 56, 0.3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

.guide-item:hover {
  border-color: var(--gold-bright);
  background: rgba(35, 4, 3, 0.75);
}

.guide-item[open] {
  border-color: var(--gold-bright);
  background: rgba(32, 4, 3, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.guide-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.95rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: #FFF2D6;
  transition: color 0.18s ease;
}

.guide-summary::-webkit-details-marker {
  display: none;
}

.guide-summary:hover {
  color: var(--gold-bright);
}

.guide-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.guide-name {
  flex: 1;
}

.guide-arrow {
  font-size: 0.9rem;
  color: var(--gold-bright);
  transition: transform 0.2s ease;
}

.guide-item[open] .guide-arrow {
  transform: rotate(180deg);
}

.guide-content {
  padding: 0.75rem 1rem 0.95rem 1rem;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 235, 215, 0.85);
  border-top: 1px solid rgba(245, 197, 56, 0.15);
}

.guide-content p {
  margin: 0;
}

.guide-content strong {
  color: var(--gold-bright);
}

.btn-gold {
  background: linear-gradient(135deg, #D41C12 0%, #850E07 100%);
  color: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 0.92rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(212, 28, 18, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F0281D 0%, #A3120A 100%);
  border-color: #FFE48A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 59, 48, 0.6);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: rgba(30, 3, 2, 0.96);
  color: #FFF2D6;
  border: 1px solid rgba(245, 197, 56, 0.35);
  border-left: 4px solid var(--gold-primary);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 15px rgba(245, 197, 56, 0.25);
  animation: slideInUp 0.3s ease, fadeOut 0.3s ease 2.5s forwards;
  pointer-events: auto;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(48, 6, 5, 0.92) 0%, rgba(28, 3, 2, 0.96) 100%);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(245, 197, 56, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  max-width: 520px;
  margin: 1.5rem auto;
}

.empty-icon {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}

.empty-state h3:last-child {
  margin-bottom: 0;
}

.empty-state p {
  color: var(--color-body);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   ARTICLES & GUIDES SECTION (Main Page)
   ========================================================================== */
.articles-section {
  max-width: 980px;
  width: 100%;
  margin: 1.25rem auto 3rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.articles-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.articles-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: rgba(184, 28, 20, 0.4);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  color: #FFE48A;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Articles Header Banner (Información para Iniciados - Transparente) */
.articles-banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.articles-banner-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
  background: transparent !important;
  transition: none !important;
  transform: none !important;
}

.articles-banner-img:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.site-header-article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem 0.25rem;
  width: 100%;
}

.article-header-banner-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 460px;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: none !important;
}

.article-header-banner-link:hover {
  transform: none !important;
  filter: none !important;
}

.article-header-banner-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
  background: transparent !important;
  transition: none !important;
  transform: none !important;
}

.article-header-banner-img:hover {
  transform: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.articles-main-title {
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  text-shadow: 0 0 16px rgba(245, 197, 56, 0.35);
  margin: 0;
  line-height: 1.25;
}

.articles-main-desc {
  font-size: 0.94rem;
  color: #FFF2D6;
  max-width: 680px;
  margin: 0.25rem auto 0;
  line-height: 1.6;
  opacity: 0.95;
  text-align: center;
}

.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-card {
  background: linear-gradient(145deg, rgba(120, 16, 13, 0.94) 0%, rgba(78, 10, 8, 0.98) 100%);
  border: 1.2px solid rgba(245, 197, 56, 0.45);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(184, 28, 20, 0.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
  cursor: pointer;
}

.article-card:hover {
  border-color: var(--gold-bright);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 14px rgba(245, 197, 56, 0.25);
  transform: translateY(-2px);
}

.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.article-summary {
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.article-summary::-webkit-details-marker {
  display: none;
}

.article-card:hover .article-summary,
.article-card-link:hover .article-summary {
  background-color: rgba(60, 7, 5, 0.45);
}

.article-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFF2D6;
  line-height: 1.32;
  margin: 0;
  transition: color 0.18s ease;
}

.article-card:hover .article-title,
.article-card-link:hover .article-title {
  color: var(--gold-bright);
}

.article-excerpt {
  font-size: 0.82rem;
  color: rgba(255, 235, 215, 0.76);
  line-height: 1.45;
  margin: 0;
}

.article-toggle-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-top: 0.15rem;
  transition: transform 0.18s ease;
}

.article-details .toggle-text-close {
  display: none;
}

.article-details .toggle-text-open {
  display: inline;
}

.article-details[open] .toggle-text-close {
  display: inline;
}

.article-details[open] .toggle-text-open {
  display: none;
}

.article-body {
  padding: 0 1.1rem 1.15rem;
  border-top: 1px solid rgba(245, 197, 56, 0.2);
  margin-top: 0.2rem;
  padding-top: 0.85rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 235, 215, 0.88);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-body h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 0.4rem 0 0.15rem;
}

.article-body p {
  margin: 0;
}

.article-body ul,
.article-body ol {
  margin: 0;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.article-body strong {
  color: #FFF2D6;
}

.article-highlight-box {
  background: rgba(18, 2, 2, 0.8);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #FFE6A3;
  box-shadow: inset 0 0 12px rgba(245, 197, 56, 0.15);
  margin-top: 0.4rem;
}

.article-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 197, 56, 0.3);
  margin-top: 0.4rem;
}

.article-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.article-pricing-table th,
.article-pricing-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(245, 197, 56, 0.2);
}

.article-pricing-table th {
  background: rgba(35, 4, 3, 0.95);
  color: var(--gold-bright);
  font-weight: 700;
}

.article-pricing-table td {
  background: rgba(18, 2, 2, 0.7);
  color: rgba(255, 235, 215, 0.85);
}

.article-pricing-table tr:last-child td {
  border-bottom: none;
}

/* Article Preview Read Button */
.article-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: all 0.18s ease;
  width: fit-content;
}

.article-read-btn:hover,
.article-card:hover .article-read-btn,
.article-card-link:hover .article-read-btn {
  color: #FFE48A;
}

.read-arrow {
  transition: transform 0.18s ease;
  display: inline-block;
}

.article-read-btn:hover .read-arrow,
.article-card:hover .read-arrow,
.article-card-link:hover .read-arrow {
  transform: translateX(4px);
}

.article-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.article-title a:hover {
  color: var(--gold-bright);
}

/* ==========================================================================
   DEDICATED ARTICLE PAGE STYLES
   ========================================================================== */
.article-page-wrap {
  max-width: 860px;
  width: 100%;
  margin: 1.25rem auto 3.5rem;
  padding: 0 1rem;
}

.article-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(255, 235, 215, 0.7);
  background: rgba(35, 4, 4, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 197, 56, 0.25);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.15rem auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 230, 160, 0.1);
  box-sizing: border-box;
}

.article-breadcrumb a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.article-breadcrumb a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.article-breadcrumb-separator {
  color: rgba(245, 197, 56, 0.45);
  font-size: 0.85rem;
  user-select: none;
}

.article-breadcrumb-current {
  color: rgba(255, 235, 215, 0.92);
  font-weight: 700;
}

.article-full-container {
  background: linear-gradient(145deg, rgba(120, 16, 13, 0.94) 0%, rgba(78, 10, 8, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(184, 28, 20, 0.2);
}

.article-full-title {
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1.25rem 0;
  text-shadow: 0 0 18px rgba(245, 197, 56, 0.3);
}

.article-intro-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: #FFF2D6;
  border-left: 3px solid var(--gold-primary);
  margin-bottom: 1.75rem;
  background: rgba(245, 197, 56, 0.06);
  padding: 0.9rem 1.2rem;
  border-radius: 0 8px 8px 0;
}

.article-full-content {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 235, 215, 0.88);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.article-full-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin: 1.35rem 0 0.35rem 0;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(245, 197, 56, 0.2);
  padding-bottom: 0.4rem;
}

.article-full-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFE6A3;
  margin: 1rem 0 0.25rem 0;
}

.article-full-content p {
  margin: 0;
}

.article-full-content ul,
.article-full-content ol {
  margin: 0;
  padding-left: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.article-full-content li strong {
  color: #FFF2D6;
}

/* Back to Home CTA Box */
.article-back-wrap,
.article-cta-box {
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #D41C12 0%, #850E07 100%);
  color: #FFFFFF !important;
  border: 1.5px solid var(--gold-primary);
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.85rem;
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.4;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 14px rgba(212, 28, 18, 0.45);
  transition: all 0.22s ease;
  cursor: pointer;
  max-width: 100%;
}

.btn-back-home:hover {
  background: linear-gradient(135deg, #F0281D 0%, #A3120A 100%);
  border-color: #FFE48A;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 59, 48, 0.6);
  color: #FFFFFF !important;
}

/* Related articles on dedicated page */
.related-articles-wrap {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(245, 197, 56, 0.25);
  width: 100%;
}

.related-articles-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFE48A;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
}

.related-articles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  text-align: left;
}

.related-article-card {
  background: rgba(35, 4, 3, 0.75);
  border: 1px solid rgba(245, 197, 56, 0.3);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 0.2s ease;
}

.related-article-card:hover {
  background: rgba(65, 8, 6, 0.85);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.related-article-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFF2D6;
  line-height: 1.35;
}

.related-article-card:hover .related-article-name {
  color: #FFE48A;
}

.related-article-hint {
  font-size: 0.74rem;
  color: rgba(255, 235, 215, 0.55);
}

@media (max-width: 640px) {
  .article-full-container,
  .article-detail-card {
    padding: 1.4rem 1.15rem;
    border-radius: 12px;
  }

  .related-articles-list {
    grid-template-columns: 1fr;
  }
}

/* Fallback & Alias Selectors for Article Structure */
.article-main-container {
  max-width: 860px;
  width: 100%;
  margin: 1.25rem auto 3.5rem;
  padding: 0 1rem;
}

.article-detail-card {
  background: linear-gradient(145deg, rgba(120, 16, 13, 0.94) 0%, rgba(78, 10, 8, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 2.2rem 2.4rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(184, 28, 20, 0.2);
}

.article-banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.article-banner-img {
  max-width: 440px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
  background: transparent !important;
}

.article-detail-card .article-title,
.article-full-container .article-title {
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 1.25rem 0;
  text-shadow: 0 0 18px rgba(245, 197, 56, 0.3);
}

.article-card .article-title,
.article-summary .article-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF2D6;
  line-height: 1.35;
  margin: 0 0 0.35rem 0;
  text-shadow: none;
  letter-spacing: normal;
}

.article-body {
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 235, 215, 0.88);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* RTL Support for Dedicated Article Pages */
html[dir="rtl"] .article-intro-lead {
  border-left: none;
  border-right: 3px solid var(--gold-primary);
  border-radius: 8px 0 0 8px;
}

html[dir="rtl"] .article-full-content ul,
html[dir="rtl"] .article-full-content ol,
html[dir="rtl"] .article-body ul,
html[dir="rtl"] .article-body ol {
  padding-left: 0;
  padding-right: 1.45rem;
}

html[dir="rtl"] .related-articles-title,
html[dir="rtl"] .related-articles-list {
  text-align: right;
}

/* Hindi Typography for Dedicated Article Pages */
html[lang="hi"] .article-full-title,
html[lang="hi"] .article-title,
html[lang="hi"] .article-intro-lead,
html[lang="hi"] .article-full-content,
html[lang="hi"] .article-body,
html[lang="hi"] .related-articles-title,
html[lang="hi"] .related-article-name {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 1.25rem 3.5rem;
  background: linear-gradient(180deg, rgba(20, 2, 2, 0.4) 0%, rgba(10, 1, 1, 0.95) 100%);
  border-top: 2px solid rgba(245, 197, 56, 0.35);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.footer-container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.25rem;
  padding: 0 1rem;
}

.footer-brand {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 580px;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
  transition: none;
}

.footer-logo-link:hover {
  transform: none;
  filter: none;
}

.footer-logo-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
  background: transparent !important;
}

/* SEO Intro Description */
.footer-seo-intro {
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.footer-seo-title {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: #FFE48A;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 0 12px rgba(245, 197, 56, 0.35);
}

.footer-seo-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 235, 215, 0.85);
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

.footer-seo-desc strong {
  color: #FFF2D6;
}

/* SEO Panels Grid & Cards (Desktop: 4 Panels | Mobile: Elegant Accordion) */
.footer-seo-panels {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  text-align: left;
  margin-top: 0.5rem;
}

.footer-seo-card {
  background: linear-gradient(145deg, rgba(100, 13, 11, 0.94) 0%, rgba(68, 8, 7, 0.98) 100%);
  border: 1.5px solid rgba(245, 197, 56, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-seo-card:hover {
  border-color: rgba(245, 197, 56, 0.6);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 197, 56, 0.15);
}

.footer-card-header {
  padding: 0.85rem 1rem;
  background: rgba(35, 4, 3, 0.9);
  border-bottom: 1px solid rgba(245, 197, 56, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-card-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: #FFE48A;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-card-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-card-body {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
}

/* Chips Grid for Zonas (10 Distritos Oficiales) */
.footer-chips-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-districts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.footer-chip-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  background: rgba(60, 8, 6, 0.65);
  border: 1px solid rgba(245, 197, 56, 0.25);
  border-radius: 8px;
  color: #FFF2D6;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.18s ease;
  cursor: pointer;
}

.footer-chip-btn:hover {
  background: rgba(184, 28, 20, 0.55);
  border-color: #FFD868;
  color: #FFE48A;
  transform: translateX(3px);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  flex-shrink: 0;
}

/* Metro Lines List & Official Badges */
.footer-metro-lines-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-metro-line-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  background: rgba(60, 8, 6, 0.65);
  border: 1px solid rgba(245, 197, 56, 0.25);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer-metro-line-row:hover {
  background: rgba(184, 28, 20, 0.6);
  border-color: #FFD868;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.metro-line-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.03em;
  min-width: 36px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Official Barcelona Metro Line Colors */
.line-l1 {
  background: #E31B23;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* L1 Roja */
.line-l2 {
  background: #90278E;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* L2 Lila */
.line-l3 {
  background: #27963C;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* L3 Verde */
.line-l4 {
  background: #F6A000;
  color: #181818;
  text-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* L4 Amarilla */
.line-l5 {
  background: #007CC3;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* L5 Azul */
.line-l9s {
  background: #F05A24;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* L9S Naranja */
.line-l9n {
  background: #F05A24;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* L9N Naranja Nord */
.line-l10n {
  background: #00AEEF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* L10N Azul Claro */

.metro-line-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 0.1rem;
}

.metro-line-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFF2D6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-metro-line-row:hover .metro-line-name {
  color: #FFE48A;
}

.metro-line-route {
  font-size: 0.72rem;
  color: rgba(255, 235, 215, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.metro-line-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFE6A3;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 197, 56, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

/* List Rows for Servicios and Guías */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.42rem 0.55rem;
  border-radius: 6px;
  color: rgba(255, 235, 215, 0.82);
  font-size: 0.8rem;
  line-height: 1.35;
  text-decoration: none;
  transition: all 0.18s ease;
  border-bottom: 1px solid rgba(245, 197, 56, 0.08);
}

.footer-list-row:last-child {
  border-bottom: none;
}

.footer-list-row:hover {
  background: rgba(60, 8, 6, 0.6);
  color: #FFE48A;
  transform: translateX(3px);
}

.row-bullet,
.row-icon {
  font-size: 0.82rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.row-label,
.row-text {
  flex-grow: 1;
}

.row-arrow {
  font-size: 0.72rem;
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity 0.18s ease;
}

.footer-list-row:hover .row-arrow {
  opacity: 1;
  color: #FFD868;
}

/* SEO Keywords Cloud / Tags */
.footer-subgroup-title {
  font-size: 0.74rem;
  font-weight: 800;
  color: #FFD868;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.2rem 0.2rem;
  border-bottom: 1px solid rgba(245, 197, 56, 0.18);
  margin-bottom: 0.45rem;
  margin-top: 0.6rem;
}

.footer-subgroup-title:first-child {
  margin-top: 0;
}

.active-chip {
  background: rgba(184, 28, 20, 0.6) !important;
  border-color: #FFD868 !important;
  color: #FFE48A !important;
  font-weight: 700 !important;
}

.footer-city-tags-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  max-width: 900px;
}

.footer-city-tag-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.city-tag-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFE6A3;
  letter-spacing: 0.03em;
  opacity: 0.95;
}

.footer-tags-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 197, 56, 0.2);
}

.footer-tags-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFE6A3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.footer-tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem 0.38rem;
  max-width: 820px;
}

.footer-seo-tag {
  background: rgba(35, 5, 5, 0.75);
  border: 1px solid rgba(245, 197, 56, 0.25);
  color: rgba(255, 242, 214, 0.9);
  padding: 0.16rem 0.48rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  line-height: 1.35;
  text-decoration: none;
  transition: all 0.18s ease;
}

.footer-seo-tag:hover {
  border-color: #FFD868;
  background: rgba(184, 28, 20, 0.55);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Disclaimer +18 and Copyright */
.footer-bottom-bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 197, 56, 0.2);
}

.footer-adult-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 720px;
  font-size: 0.76rem;
  color: rgba(255, 235, 215, 0.65);
  line-height: 1.5;
}

.badge-18 {
  background: #B81C14;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.74rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #FFD868;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.footer-copy-text {
  font-size: 0.76rem;
  color: rgba(255, 235, 215, 0.5);
}

.footer-copy-text strong {
  color: rgba(255, 235, 215, 0.8);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Adaptive minimalist layout)
   ========================================================================== */
@media (max-width: 992px) {
  .popup-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .catalog-section {
    padding: 1rem 1rem 3rem;
  }

  .search-container {
    margin-bottom: 1rem;
  }

  .microficha-row {
    padding: 0.65rem 0.85rem;
    gap: 0.75rem;
  }

  .micro-thumb {
    width: 66px;
    height: 66px;
    min-width: 66px;
  }

  .micro-content {
    height: 66px;
  }

  .micro-title {
    font-size: 0.96rem;
  }

  .micro-address-text {
    font-size: 0.8rem;
  }

  .micro-metro-pill {
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
  }

  .micro-chevron {
    width: 18px;
    height: 18px;
    opacity: 0.5;
  }

  .footer-seo-panels {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .footer-chips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }
}

@media (max-width: 640px) {
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-detail-box {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(184, 28, 20, 0.35);
    animation: sheetSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .modal-drag-indicator {
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: rgba(245, 197, 56, 0.55);
    margin: 10px auto 4px auto;
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.85rem;
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
    background: linear-gradient(135deg, #E52E25 0%, #A8140E 100%);
    border: 2px solid #FF8A80;
    color: #FFFFFF;
    box-shadow: 0 3px 12px rgba(229, 46, 37, 0.6);
  }

  .modal-detail-content {
    padding: 0.75rem 1rem 2.25rem;
    gap: 1.1rem;
  }

  .popup-header-block {
    width: calc(100% + 2rem);
    margin: -0.75rem -1rem 0.65rem -1rem;
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .popup-title {
    font-size: 2.25rem;
    text-align: center;
    text-shadow: none;
  }

  .pagoda-title-box .popup-title,
  .pagoda-title-box .shop-full-title,
  .pagoda-title-box .shop-main-title {
    font-size: clamp(1.65rem, 6.8vw, 2.65rem);
    line-height: 1.08;
    text-shadow: none;
  }

  .popup-gallery-block {
    padding: 0.65rem;
  }

  .popup-gallery-item {
    width: 150px;
    height: 110px;
  }

  .popup-details-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .popup-card {
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .popup-card-contact {
    padding: 0.95rem 1rem;
  }

  .popup-contact-body {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
  }

  .popup-phone-number {
    font-size: 1.45rem;
  }

  .popup-contact-icon-btn {
    width: 42px;
    height: 42px;
  }

  .popup-contact-icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .popup-guides-section {
    padding: 1rem 0.85rem;
  }

  .guide-summary {
    padding: 0.65rem 0.75rem;
    font-size: 0.84rem;
  }

  .guide-content {
    padding: 0.65rem 0.75rem 0.85rem 0.75rem;
    font-size: 0.82rem;
  }
}

@keyframes sheetSlideUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {

  .pagoda-title-box .popup-title,
  .pagoda-title-box .shop-full-title,
  .pagoda-title-box .shop-main-title {
    font-size: clamp(1.5rem, 6.4vw, 2.3rem);
    line-height: 1.08;
    text-shadow: none;
  }

  .header-counter-badge {
    font-size: 0.76rem;
    padding: 0.32rem 0.85rem;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
  }

  .city-filter-container {
    gap: 0.35rem;
    padding: 0.4rem 0.5rem 0.15rem;
  }

  .city-badge-btn {
    font-size: 0.74rem;
    padding: 0.26rem 0.65rem;
  }

  .catalog-section {
    padding: 0.85rem 0.85rem 2.5rem;
  }

  .articles-section {
    padding: 0 0.85rem;
  }

  .microficha-row {
    padding: 0.55rem 0.75rem;
    gap: 0.65rem;
  }

  .micro-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  .micro-content {
    height: 64px;
  }

  .micro-title {
    font-size: 0.92rem;
  }

  .micro-address-text {
    font-size: 0.76rem;
  }

  .footer-container {
    padding: 0 0.85rem;
    gap: 1.6rem;
  }

  .footer-chips-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .footer-seo-desc {
    text-align: left;
    font-size: 0.84rem;
  }

  .footer-card-header {
    padding: 0.75rem 0.85rem;
  }

  .footer-card-text {
    font-size: 0.82rem;
  }

  .footer-chip-btn {
    padding: 0.52rem 0.65rem;
    font-size: 0.82rem;
  }

  .footer-list-row {
    padding: 0.45rem 0.5rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Dedicated Shop Page Styles (/tiendas/*.html)
   ========================================================================== */
.shop-page-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 0.75rem 1rem 3.5rem;
  width: 100%;
  box-sizing: border-box;
}

.shop-full-container {
  background: linear-gradient(165deg, rgba(142, 22, 18, 0.96) 0%, rgba(105, 14, 12, 0.97) 45%, rgba(68, 8, 7, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(184, 28, 20, 0.35), inset 0 1px 0 rgba(255, 230, 160, 0.22);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.shop-header-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  width: 100%;
}

.shop-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(30, 130, 60, 0.25);
  border: 1px solid #2ecc71;
  color: #2ecc71;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  width: fit-content;
  letter-spacing: 0.02em;
  margin: 0 auto;
}

/* Shop Full Page Chinese Header Ornaments (Top Hands & Bottom Lotus) */
.shop-header-top-ornament {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0.15rem auto 0;
  aspect-ratio: 1024 / 112;
  background-image: url('img/shop-header-hands.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
  box-sizing: border-box;
}

.shop-title-wrap {
  text-align: center;
  width: 100%;
  margin: 0.35rem 0 0.35rem 0;
}

.shop-full-title,
.shop-main-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #FFF3C4;
  line-height: 1.15;
  margin: 0;
  text-align: center;
  letter-spacing: -0.015em;
  text-shadow: none;
}

/* Shop Full Page Chinese Bottom Lotus Divider */
.shop-roof-wrap,
.shop-divider-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 0.45rem;
  aspect-ratio: 1024 / 151;
  background-image: url('img/shop-header-ornament.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  box-sizing: border-box;
}

.shop-sub-pills,
.shop-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.shop-pill-district {
  background: rgba(245, 197, 56, 0.15);
  border: 1px solid rgba(245, 197, 56, 0.4);
  color: #FFE6A3;
}

.shop-pill-district:hover {
  background: rgba(245, 197, 56, 0.3);
  color: #FFF;
}

.shop-pill-metro {
  background: rgba(41, 128, 185, 0.2);
  border: 1px solid rgba(52, 152, 219, 0.5);
  color: #85C1E9;
}

.shop-pill-metro:hover {
  background: rgba(41, 128, 185, 0.35);
  color: #FFF;
}

.shop-pill-barrio {
  background: rgba(184, 28, 20, 0.25);
  border: 1px solid rgba(245, 197, 56, 0.3);
  color: #FFD4A3;
}

/* Shop Gallery */
.shop-gallery-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shop-main-photo-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.2px solid rgba(245, 197, 56, 0.35);
  background: #000;
}

.shop-main-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shop-main-photo-img:hover {
  transform: scale(1.02);
}

.shop-thumbs-row {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
}

.shop-thumb-btn {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(245, 197, 56, 0.3);
  cursor: pointer;
  padding: 0;
  background: transparent;
  transition: all 0.2s ease;
}

.shop-thumb-btn.active,
.shop-thumb-btn:hover {
  border-color: var(--gold-bright);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(245, 197, 56, 0.4);
}

.shop-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quick Action Buttons (Call, WhatsApp, Telegram) - Auténtico Rojo Chino Imperial */
.shop-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  margin: 0.25rem auto 0.65rem;
  width: 100%;
}

.shop-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 120px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(145deg, #D41C12 0%, #850E07 100%);
  border: 1.5px solid var(--gold-primary);
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 14px rgba(212, 28, 18, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.shop-cta-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.shop-cta-btn:hover {
  background: linear-gradient(145deg, #F0281D 0%, #A3120A 100%);
  border-color: #FFE48A;
  color: #FFFFFF;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 22px rgba(240, 40, 29, 0.7);
}

.shop-cta-btn:hover svg {
  transform: scale(1.12);
}

.shop-cta-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Shop Info Cards Grid */
.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  text-align: left;
}

.shop-info-card {
  background: rgba(48, 6, 6, 0.75);
  border: 1px solid rgba(245, 197, 56, 0.32);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.shop-info-card-full {
  grid-column: 1 / -1;
}

.shop-info-card-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFE48A;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.shop-info-card-body {
  font-size: 0.9rem;
  color: rgba(255, 235, 215, 0.9);
  line-height: 1.5;
}

.shop-phones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.shop-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(245, 197, 56, 0.35);
  color: #FFF2D6;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.18s ease;
}

.shop-phone-badge:hover {
  background: rgba(184, 28, 20, 0.5);
  border-color: var(--gold-bright);
  color: #FFF;
}

/* Schedule Line & Payment Badges inside Horario Card */
.shop-schedule-line {
  margin-bottom: 0.65rem;
  color: #FFF2D6;
  font-size: 0.92rem;
}

.shop-info-card-body strong {
  color: #FFF2D6;
  font-weight: 700;
}

/* Price & Schedule rows: Label on left, Value on right, subtle delimiter between lines */
.shop-info-card-prices,
.shop-info-card-schedule {
  display: flex;
  flex-direction: column;
}

.shop-price-row,
.shop-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid rgba(245, 197, 56, 0.16);
  font-size: 0.9rem;
  line-height: 1.45;
}

.shop-price-row:first-child,
.shop-schedule-row:first-child {
  padding-top: 0.1rem;
}

.shop-price-row:last-child,
.shop-schedule-row:last-child {
  border-bottom: none;
  padding-bottom: 0.1rem;
}

.shop-price-service,
.shop-schedule-dias {
  color: #FFF2D6;
  font-weight: 700;
  text-align: left;
}

.shop-price-amount,
.shop-schedule-horas {
  color: #FFF2D6;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

/* Related Shops Nearby */
.shop-related-section {
  margin-top: 1.5rem;
  text-align: left;
}

.shop-related-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0 0 0.55rem 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.shop-district-link {
  color: #FFD700;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.45);
  transition: all 0.18s ease;
}

.shop-district-link:hover {
  color: #FFFFFF;
  text-decoration-color: #FFFFFF;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Related Shops Microfichas (Text only, tightly spaced) */
.shop-related-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.shop-related-card {
  background: rgba(45, 6, 6, 0.7);
  border: 1px solid rgba(245, 197, 56, 0.22);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: all 0.18s ease;
}

.shop-related-card:hover {
  border-color: var(--gold-bright);
  transform: translateX(3px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  background: rgba(85, 12, 10, 0.92);
}

.shop-related-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.shop-related-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.shop-related-addr {
  font-size: 0.76rem;
  color: rgba(255, 240, 225, 0.88);
  white-space: nowrap;
}

.shop-related-addr::before {
  content: "•";
  color: rgba(245, 197, 56, 0.4);
  margin-right: 0.55rem;
}

.shop-related-metro {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #FFE066;
  font-weight: 700;
  font-size: 0.76rem;
}

.shop-related-metro::before {
  content: "•";
  color: rgba(245, 197, 56, 0.4);
  margin-right: 0.55rem;
}

.rel-metro-station {
  color: #FFE066;
}

.rel-metro-badges {
  display: inline-flex;
  gap: 0.18rem;
}

.shop-related-arrow {
  color: var(--gold-bright);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.shop-related-card:hover .shop-related-arrow {
  transform: translateX(3px);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .shop-related-title {
    font-size: 0.74rem;
    margin: 0 0 0.45rem 0;
  }

  .shop-related-card {
    padding: 0.5rem 0.75rem;
    align-items: center;
  }

  .shop-related-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
    width: 100%;
  }

  .shop-related-name {
    font-size: 0.85rem;
    line-height: 1.25;
    color: #FFFFFF;
    white-space: normal;
  }

  .shop-related-addr {
    font-size: 0.73rem;
    line-height: 1.25;
    color: rgba(255, 240, 225, 0.88);
    white-space: normal;
  }

  .shop-related-addr::before {
    display: none;
    content: none;
  }

  .shop-related-metro {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.73rem;
    line-height: 1.25;
    margin-top: 0.05rem;
    color: #FFE066;
  }

  .shop-related-metro::before {
    display: none;
    content: none;
  }
}

.popup-fullpage-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0.5rem;
}

.popup-btn-fullpage {
  background: linear-gradient(135deg, #D41C12 0%, #850E07 100%);
  color: #FFFFFF !important;
  border: 1.5px solid var(--gold-primary);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  padding: 0.82rem 2.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 14px rgba(212, 28, 18, 0.4);
  transition: all 0.22s ease;
  font-family: inherit;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
}

.popup-btn-fullpage:hover {
  background: linear-gradient(135deg, #F0281D 0%, #A3120A 100%);
  border-color: #FFE48A;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 59, 48, 0.6);
  text-decoration: none;
}

.popup-btn-fullpage:active {
  transform: translateY(0);
}

.popup-btn-fullpage .load-more-text {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.popup-btn-fullpage .load-more-icon {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--gold-bright);
  transition: transform 0.2s ease;
  display: inline-block;
}

.popup-btn-fullpage:hover .load-more-icon {
  transform: translate(2px, -2px);
}

@media (max-width: 640px) {
  .article-breadcrumb {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    gap: 0.35rem;
    border-radius: var(--radius-full);
  }

  .shop-header-top-ornament {
    margin: 0.1rem auto 0;
  }

  .shop-title-wrap {
    margin: 0.22rem 0 0.22rem 0;
  }

  .shop-roof-wrap,
  .shop-divider-wrap {
    margin: 0 auto 0.35rem;
  }

  .shop-full-title,
  .shop-main-title {
    font-size: clamp(1.45rem, 5.5vw, 2.1rem);
    line-height: 1.12;
  }

  .shop-full-container {
    padding: 1.1rem 1rem;
    border-radius: 12px;
  }

  .shop-info-grid {
    grid-template-columns: 1fr;
  }

  .shop-main-photo-wrap {
    height: 240px;
  }

  .shop-cta-row {
    gap: 0.65rem;
  }

  .shop-cta-btn {
    height: 46px;
    max-width: 95px;
  }

  .shop-cta-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  max-width: 90vw;
}

.toast {
  background: rgba(22, 2, 2, 0.95);
  border: 1px solid var(--gold-primary);
  color: var(--color-espresso);
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 14px rgba(245, 197, 56, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: toastFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
  text-align: center;
  white-space: nowrap;
}

@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   RTL SUPPORT (ARABIC & URDU)
   ========================================================================== */
html[dir="rtl"],
body.rtl-theme {
  direction: rtl;
  text-align: right;
  font-family: 'Noto Sans Arabic', 'Cairo', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html[dir="rtl"] .top-notice-bar,
html[dir="rtl"] .site-header,
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-bottom-bar,
html[dir="rtl"] .article-breadcrumb,
html[dir="rtl"] .header-badge-wrap,
html[dir="rtl"] .header-counter-badge,
html[dir="rtl"] .header-updated-badge,
html[dir="rtl"] .city-filter-container,
html[dir="rtl"] .center-card-badges,
html[dir="rtl"] .popup-header-block,
html[dir="rtl"] .shop-title-wrap,
html[dir="rtl"] .shop-related-info,
html[dir="rtl"] .center-card-info {
  direction: rtl;
}

html[dir="rtl"] .search-input-box {
  flex-direction: row-reverse;
}

html[dir="rtl"] .search-input-box input {
  text-align: right;
  padding: 0.75rem 0.75rem 0.75rem 2.8rem;
}

html[dir="rtl"] .clear-search-btn {
  left: 12px;
  right: auto;
}

html[dir="rtl"] .center-card-arrow,
html[dir="rtl"] .shop-related-arrow {
  transform: rotate(180deg);
}

html[dir="rtl"] .article-breadcrumb-separator {
  transform: scaleX(-1);
  display: inline-block;
}

html[dir="rtl"] .footer-chip-btn .chip-dot,
html[dir="rtl"] .header-updated-badge .updated-dot {
  margin-left: 0.35rem;
  margin-right: 0;
}

html[dir="rtl"] .btn-back-home {
  direction: rtl;
}

/* Responsive flags row for smaller viewports */
@media (max-width: 380px) {
  .lang-flags-row {
    gap: 7px !important;
  }

  .lang-flag-round {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
  }
}

/* Premium Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: 90vw;
}

.toast {
  background: rgba(26, 4, 4, 0.96);
  color: #FFE6A3;
  border: 1.5px solid rgba(245, 197, 56, 0.6);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65), 0 0 12px rgba(245, 197, 56, 0.28);
  animation: toastFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   HINDI SUPPORT (DEVANAGARI)
   ========================================================================== */
html[lang="hi"],
body.hindi-theme {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html[lang="hi"] .center-card-title,
html[lang="hi"] .shop-full-title,
html[lang="hi"] .article-full-title,
html[lang="hi"] .article-card-title {
  font-family: 'Noto Sans Devanagari', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.35;
}

/* ==========================================================================
   ARABIC & URDU RTL SUPPORT
   ========================================================================== */
html[dir="rtl"],
body.rtl-theme {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Noto Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif;
}

html[dir="rtl"] .top-notice-container,
html[dir="rtl"] .lang-flags-row {
  direction: ltr !important;
  /* Keep flags consistent */
}

html[dir="rtl"] .microficha-row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .micro-chevron svg {
  transform: rotate(180deg);
}

html[dir="rtl"] .search-input-box {
  flex-direction: row-reverse;
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 1rem;
}

html[dir="rtl"] .read-arrow {
  display: inline-block;
  transform: rotate(180deg);
}

html[dir="rtl"] .shop-related-card {
  flex-direction: row-reverse;
}

html[dir="rtl"] .shop-related-arrow {
  margin-left: 0;
  margin-right: auto;
  transform: rotate(180deg);
}

html[dir="rtl"] .shop-related-card:hover .shop-related-arrow {
  transform: translateX(-3px) rotate(180deg);
}

html[dir="rtl"] .shop-related-addr::before,
html[dir="rtl"] .shop-related-metro::before {
  margin-right: 0;
  margin-left: 0.55rem;
}

/* Force Telephone Numbers strictly Left-To-Right in RTL */
html[dir="rtl"] .popup-phone-wrap {
  direction: ltr !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

html[dir="rtl"] .popup-phone-copy-btn {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
}

html[dir="rtl"] .popup-phone-number,
html[dir="rtl"] .popup-phone-sub-number,
html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] [data-phone] {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block !important;
  text-align: left !important;
}

html[dir="rtl"] .popup-contact-body {
  direction: ltr !important;
}