/**
 * li-perfil.css — estilos para single-escort-v2.php (Sprint PERFIL D1).
 *
 * Fuente: design/lujo_intimo_mockup_perfil.html (líneas 11-903, extracción mecánica).
 * NO modificar estética sin actualizar el mockup primero.
 *
 * Carga: enqueue condicional desde functions.php — solo cuando is_singular('escort')
 * AND li_is_escort_canary($post_id). Evita side effects en URLs no-canary.
 *
 * Fonts (Cormorant Garamond + Manrope) se enqueuean también condicionalmente.
 *
 * Per Sprint PERFIL Día 1 — 2026-05-06.
 */

:root {
  --bg: #0a0908;
  --bg-card: #161311;
  --bg-elevated: #1f1c1a;
  --bg-pill: rgba(255,255,255,0.04);
  --gold: #c9a96a;
  --gold-bright: #e6c989;
  --red-sr: #991B1B;
  --red-sr-bright: #b91c1c;
  --green-active: #4ade80;
  --whatsapp: #16a34a;
  --whatsapp-dark: #15803d;
  --text: #f5f4f2;
  --text-muted: rgba(245,244,242,0.65);
  --text-dim: rgba(245,244,242,0.4);
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(201,169,106,0.35);
  --warning: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Premium focus state for keyboard navigation */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Custom dark scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(201,169,106,0.3);
}
html { scrollbar-color: rgba(255,255,255,0.1) var(--bg); }

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(201,169,106,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -200px;
  left: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(185,28,28,0.025) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ============ HEADER ============ */
.site-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,9,8,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 100;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text);
}
.logo-accent { color: var(--gold); font-weight: 400; }
.header-nav {
  display: flex;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--gold); }
.header-account {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201,169,106,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.header-account:hover { border-color: var(--gold); background: rgba(201,169,106,0.08); }
.header-account svg { width: 16px; height: 16px; fill: var(--gold); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  padding: 28px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep {
  margin: 0 12px;
  color: var(--text-dim);
}

/* ============ PROFILE LAYOUT ============ */
.profile {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  padding: 48px 0 96px;
  align-items: start;
}

/* ============ GALLERY ============ */
.gallery {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(165deg, #2a1810 0%, #160c08 100%);
  border: 1px solid var(--border);
}
/* ============ GALLERY IMAGES (override mockup flex) ============ */
.gallery-img-wrap {
  position: absolute !important;
  inset: 0 !important;
  display: block !important; /* override flex del mockup original */
}
.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.gallery-img.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.gallery-placeholder {
  font-family: 'Cormorant Garamond', serif;
  font-size: 280px;
  font-weight: 400;
  font-style: italic;
  color: rgba(201,169,106,0.13);
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
  animation: subtlePulse 5s ease-in-out infinite;
}
@keyframes subtlePulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.gallery::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(to top, rgba(10,9,8,0.4) 0%, transparent 100%);
  pointer-events: none;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s, border-color 0.25s;
}
.gallery-arrow:hover {
  background: rgba(0,0,0,0.65);
  border-color: rgba(201,169,106,0.55);
}
.gallery-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}
.gallery-arrow.prev { left: 18px; }
.gallery-arrow.next { right: 18px; }

.gallery-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255,255,255,0.13);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.06em;
  font-weight: 400;
  z-index: 2;
}
.gallery-counter strong { color: var(--gold-bright); font-weight: 500; }

/* ============ INFO COLUMN ============ */
.info-col { padding-top: 8px; }

.name-block { margin-bottom: 24px; }
.name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.verified-shield {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 8px;
}
.verified-shield svg { width: 100%; height: 100%; fill: var(--gold); }
.location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.location svg {
  width: 13px;
  height: 13px;
  fill: var(--gold);
}

/* ============ PILLS ROW (Ficha de Confianza integrada) ============ */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--bg-pill);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.trust-pill svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}
.trust-pill.active {
  border-color: rgba(74,222,128,0.25);
  background: rgba(74,222,128,0.05);
  color: var(--green-active);
}
.trust-pill.active .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-active);
  box-shadow: 0 0 4px rgba(74,222,128,0.45);
}
.trust-pill.verified { color: var(--gold-bright); border-color: rgba(201,169,106,0.25); background: rgba(201,169,106,0.04); }
.trust-pill.verified svg { fill: var(--gold-bright); }

/* ============ SR REVIEW SECTION ============ */
.sr-section {
  margin-bottom: 36px;
  padding: 14px 16px 14px 16px;
  background: linear-gradient(135deg, rgba(185,28,28,0.07) 0%, rgba(201,169,106,0.04) 100%);
  border: 0.5px solid rgba(201,169,106,0.32);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.sr-section-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.sr-badge {
  background: linear-gradient(135deg, #b91c1c 0%, #851515 100%);
  border: 0.5px solid rgba(201,169,106,0.55);
  border-radius: 100px;
  padding: 5px 12px 5px 5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(185,28,28,0.28);
}
.sr-badge .sr-mark {
  background: rgba(201,169,106,0.22);
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.08em;
}
.sr-badge svg {
  width: 12px;
  height: 12px;
  fill: var(--gold-bright);
}
.sr-badge .score {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.sr-section-text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-section-text em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-bright);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.sr-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 0.5px solid rgba(201,169,106,0.4);
  border-radius: 100px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  flex-shrink: 0;
}
.sr-cta:hover {
  border-color: var(--gold);
  background: rgba(201,169,106,0.08);
  color: #fff;
}
.sr-cta svg {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sr-cta:hover svg {
  transform: translate(2px, -2px);
}

/* ============ INFO GRID ============ */
.section-label {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}

/* ============ DETAILS LIST ============ */
.details-list {
  list-style: none;
  margin-bottom: 36px;
}
.details-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.details-list li:last-child { border-bottom: 1px solid var(--border); }
.details-list svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}
.details-list strong {
  color: var(--text);
  font-weight: 400;
  margin-right: 4px;
}

/* ============ WARNING ============ */
.warning {
  padding: 18px 22px;
  background: rgba(239,68,68,0.06);
  border-left: 2px solid var(--warning);
  border-radius: 0 10px 10px 0;
  margin-bottom: 36px;
}
.warning-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.warning-header svg {
  width: 14px;
  height: 14px;
  fill: var(--warning);
}
.warning-title {
  color: var(--warning);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.warning-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ============ FOOTER ACTIONS ============ */
.footer-actions {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.footer-action:hover { color: var(--gold-bright); }
.footer-action svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}
.cta-whatsapp {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 26px;
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22,163,74,0.18), 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.25), 0 3px 8px rgba(0,0,0,0.35);
}
.cta-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
.cta-favorite {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(31,28,26,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(201,169,106,0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.cta-favorite:hover {
  border-color: var(--gold);
  background: rgba(31,28,26,1);
}
.cta-favorite.active { background: rgba(201,169,106,0.15); border-color: var(--gold); }
.cta-favorite svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 1.8;
  transition: fill 0.25s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cta-favorite.active svg {
  fill: var(--gold-bright);
  transform: scale(1.15);
}

/* ============ RELATED ============ */
.related {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.related-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}
.related-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.related-title em { font-style: italic; color: var(--gold); }
.related-link {
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(230,201,137,0.3);
  padding-bottom: 3px;
  transition: border-color 0.2s;
}
.related-link:hover { border-color: var(--gold-bright); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mini-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4.2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), border-color 0.4s;
}
.mini-card:hover { transform: translateY(-4px); }
.mini-card.with-sr { border-color: rgba(201,169,106,0.32); }
.mini-card.with-sr:hover { border-color: rgba(201,169,106,0.55); }
.mini-card-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-card-photo.amber { background: linear-gradient(165deg, #2a1810 0%, #160c08 100%); }
.mini-card-photo.wine { background: linear-gradient(165deg, #2a1015 0%, #170810 100%); }
.mini-card-photo.forest { background: linear-gradient(165deg, #1a201a 0%, #0a100b 100%); }
.mini-card-photo.violet { background: linear-gradient(165deg, #1a1025 0%, #0c0815 100%); }
.mini-card-photo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 92px;
  font-style: italic;
  color: rgba(201,169,106,0.13);
}
.mini-card-photo::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to top, rgba(10,9,8,0.85) 0%, transparent 100%);
  pointer-events: none;
}
.mini-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 2;
}
.mini-card-name {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.mini-card-name svg { width: 12px; height: 12px; fill: var(--gold); }
.mini-card-zone {
  color: rgba(255,255,255,0.55);
  font-size: 11.5px;
  font-weight: 300;
}
.mini-card-status {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255,255,255,0.13);
  border-radius: 100px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #fff;
  z-index: 2;
}
.mini-card-status .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-active);
}
.mini-card-sr {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #b91c1c 0%, #851515 100%);
  border: 0.5px solid rgba(201,169,106,0.55);
  border-radius: 100px;
  padding: 3px 9px 3px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.mini-card-sr .sr-mark {
  background: rgba(201,169,106,0.22);
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 100px;
  letter-spacing: 0.08em;
}
.mini-card-sr svg { width: 9px; height: 9px; fill: var(--gold-bright); }
.mini-card-sr .score { color: #fff; font-size: 10px; font-weight: 500; }

/* ============ INFO LIST (datos físicos editorial) ============ */
.info-list {
  list-style: none;
  border-top: 0.5px solid var(--border);
  margin-bottom: 36px;
}
.info-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 0.5px solid var(--border);
  transition: background 0.3s;
}
.info-list li:hover {
  background: rgba(201,169,106,0.02);
}
.info-list-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  font-weight: 400;
}
.info-list-value {
  font-size: 16px;
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.005em;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.2,0.8,0.2,1) forwards; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.4s; }

/* Accessibility: respect reduced motion preference + ensure snapshots/headless rendering show content */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    animation: none;
    transform: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@supports not (animation: fadeUp 0.7s) {
  .fade-up { opacity: 1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .profile { grid-template-columns: 1fr; gap: 40px; padding: 32px 0 64px; }
  .name { font-size: 42px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .header-nav { display: none; }
  .sr-section {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    padding: 14px 16px;
    gap: 12px;
  }
  .sr-section-info {
    gap: 12px;
  }
  .sr-section-text {
    white-space: normal;
    line-height: 1.35;
    font-size: 13px;
  }
  .sr-section-text em {
    font-size: 14.5px;
  }
  /* Hide SR mark on mobile — "Suite Roja" already identifies brand in the text */
  .sr-badge .sr-mark { display: none; }
  .sr-badge {
    padding: 5px 11px 5px 9px;
  }
  .sr-cta {
    align-self: flex-start;
  }
}

/* ============ MOBILE BOTTOM BAR ============ */
@media (max-width: 768px) {
  .sticky-cta {
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    gap: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(10,9,8,0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 0.5px solid var(--border);
    align-items: center;
  }
  .cta-whatsapp {
    flex: 1;
    justify-content: center;
    padding: 14px 18px;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(22,163,74,0.18);
    white-space: nowrap;
    overflow: hidden;
  }
  .cta-whatsapp:hover { transform: none; }
  .cta-favorite {
    width: 48px;
    height: 48px;
    margin-left: 12px;
    flex-shrink: 0;
    align-self: center;
  }
  /* Add bottom padding to body to prevent content being hidden behind bottom bar */
  body { padding-bottom: 88px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .name { font-size: 36px; gap: 12px; }
  .verified-shield { width: 22px; height: 22px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .gallery-placeholder { font-size: 200px; }
  .footer-actions { flex-wrap: wrap; gap: 16px; }
  .info-list li { grid-template-columns: 100px 1fr; gap: 16px; padding: 16px 4px; }
  .info-list-label { font-size: 14px; }
  .info-list-value { font-size: 15px; }

  /* Counter moves up to avoid being covered by mobile bottom bar */
  .gallery-counter {
    top: 18px;
    bottom: auto;
    right: 18px;
    padding: 5px 12px;
    font-size: 10.5px;
  }
  /* Slightly shorter gallery to give vertical breathing room with bottom bar visible */
  .gallery {
    aspect-ratio: 3/3.6;
  }
  /* Arrows slightly more compact for mobile */
  .gallery-arrow {
    width: 38px;
    height: 38px;
  }
  .gallery-arrow.prev { left: 12px; }
  .gallery-arrow.next { right: 12px; }
}

/* ============ HOTFIX: Hide Essential Addons scroll-to-top in v2 perfiles ============ */
/* Conflict: .eael-ext-scroll-to-top-wrap solapa con .cta-favorite (sticky-cta) en bottom-right */
.eael-ext-scroll-to-top-wrap {
    display: none !important;
}

/* ============ HOTFIX MOBILE: gallery image + arrows ============ */
/* Bug 1: object-fit:cover recortaba pies/cara en mobile (aspect-ratio mismatch) */
/* Bug 2: arrows poco visibles en mobile — UX feedback usuario */
@media (max-width: 768px) {
    .gallery-img {
        object-fit: contain !important;
        background: #1A1A1A;
    }
    .gallery-arrow {
        display: flex !important;
        opacity: 0.85;
        width: 40px;
        height: 40px;
    }
    .gallery-arrow.prev { left: 8px; }
    .gallery-arrow.next { right: 8px; }
}
@media (max-width: 560px) {
    .gallery-arrow {
        width: 36px;
        height: 36px;
    }
}

/* ============ Gallery logo placeholder (count===1) ============ */
.gallery-logo-placeholder {
    object-fit: contain !important;
    background: #1A1A1A;
    padding: 18%;
}
@media (max-width: 768px) {
    .gallery-logo-placeholder {
        padding: 22%;
    }
}
