/* ═══════════════════════════════════════════════════════════
   TIPSPLUS UNIFIED DESIGN SYSTEM (v1.0)
   Consolidación estética para: Ingredientes, Reseñas y Páginas de País.
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Brand Colors (Unified) */
    --tp-blue-dark:      #061a2c;
    --tp-blue-medium:    #0c3c68;
    --tp-blue-light:     #104f87;
    --tp-green:          #2ABF6F;
    --tp-green-hover:    #22a35f;
    --tp-bg-light:       #f0f7fd;
    
    /* Text */
    --tp-text-heading:   #082843;
    --tp-text-main:      #334155;
    --tp-text-muted:     #64748b;
    
    /* Surface & Borders */
    --tp-border:         #e2e8f0;
    --tp-shadow-sm:      0 4px 15px rgba(0,0,0,0.02);
    --tp-shadow-md:      0 10px 32px rgba(6,26,44,0.08);
    
    /* Typography */
    --tp-font-heading:   'Plus Jakarta Sans', sans-serif;
    --tp-font-body:      'Inter', sans-serif;
}

/* ─── GLOBAL FIXES ────────────────────────────────────────── */

/* Sticky Header (Solid White - Wireframe standard) */
#masthead, .site-header { 
    position: sticky !important; top: 0 !important; z-index: 9999 !important; 
    background: #fff !important; box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important; 
}

/* Surgery: Universal One-Column Layout for ALL TipPlus Articles */
/* Evita que los bloques de Kadence intenten forzar columnas paralelas en artículos */
.tp-article-render [class*="-wrap"], 
.tp-article-render [class*="-layout"], 
.tp-article-render [class*="wp-block-columns"],
.tp-article-render [class*="kb-row-layout"] { 
    display: flex !important; flex-direction: column !important; width: 100% !important; max-width: 100% !important; gap: 0 !important; 
}
.tp-article-render [class*="-column"] { 
    width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; display: block !important; 
}

/* ── DESKTOP BASE LAYOUT ───────────────────────────────────── */
/* Estos estilos van en CSS (no en inline style) para poder ser sobreescritos en mobile */
.tp-main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: 60px !important;
    padding: 40px 0 100px !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}



/* ─── UI COMPONENTS ─────────────────────────────────────── */

/* 1. THE HERO (Ondas SVG + Gradiente) */
.tp-hero {
  width: 100vw; position: relative; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--tp-blue-dark) 0%, var(--tp-blue-medium) 100%) !important;
  color: #fff !important; padding: 48px 0 160px; font-family: var(--tp-font-heading); overflow: hidden; z-index: 1;
}
.tp-hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 10; pointer-events: none; }
.tp-hero__wave svg { display: block; width: 100%; height: 100px; fill: var(--tp-bg-light) !important; }

.tp-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.tp-hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.tp-hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 850; line-height: 1.05; margin: 0 0 24px !important; color: #fff !important; letter-spacing: -1.5px; }

/* 2. SIDEBAR (Smart Sticky) */
.tp-sidebar { display: flex !important; flex-direction: column !important; gap: 32px !important; position: sticky; top: 120px; align-self: start; }
.tp-side-widget { background: #fff; border: 1px solid var(--tp-border); border-radius: 20px; padding: 32px; box-shadow: var(--tp-shadow-sm); }
.tp-side-widget__title { font-family: var(--tp-font-heading); font-size: 18px; font-weight: 850; color: var(--tp-text-heading); margin-bottom: 24px; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; width: 100%; display: block !important; }

/* 3. TOC & SCROLL SPY */
.tp-toc-list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; gap: 4px !important; }
.tp-toc-link { 
    display: block !important; padding: 12px 20px; color: var(--tp-text-muted); text-decoration: none !important; 
    font-size: 16px; font-weight: 500; border-radius: 12px; transition: 0.3s;
    border-left: 3px solid transparent; line-height: 1.5; width: 100% !important; box-sizing: border-box;
}
.tp-toc-link.active { 
    background: #f0f9ff !important; color: var(--tp-text-heading) !important; font-weight: 700 !important;
    border-left: 3px solid var(--tp-green) !important; border-radius: 4px 12px 12px 4px !important;
}

/* 4. PROGRESS BARS (Animated) */
.tp-progress-widget { display: flex !important; flex-direction: column !important; gap: 24px !important; width: 100%; }
.tp-progress-item { width: 100% !important; border-top: 1px solid #f1f5f9; padding-top: 20px; display: block !important; }
.tp-progress-item:first-child { border-top: none; padding-top: 0; }
.tp-progress-info { display: flex !important; justify-content: space-between !important; margin-bottom: 12px; }
.tp-progress-value { font-weight: 850; color: var(--tp-green); }
.tp-progress-track { height: 8px; background: #f1f5f9; border-radius: 10px; overflow: hidden; width: 100%; position: relative; }
.tp-progress-fill { height: 100%; background: var(--tp-green); border-radius: 10px; width: 0; transition: width 1.5s cubic-bezier(0.1, 0.5, 0.5, 1); }

/* 5. PRODUCT CARDS (Regional) */
.tp-product-card { background: #fff; border: 1px solid var(--tp-border); border-radius: 20px; padding: 24px; transition: 0.3s; text-decoration: none; display: flex; align-items: center; gap: 20px; }
.tp-product-card:hover { transform: translateY(-3px); box-shadow: var(--tp-shadow-md); border-color: var(--tp-green); }
.tp-product-card__img { width: 60px; height: 60px; border-radius: 12px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.tp-product-card__info { display: flex; flex-direction: column; }
.tp-product-card__name { font-weight: 800; color: var(--tp-text-heading); font-size: 16px; }
.tp-product-card__note { font-size: 13px; color: var(--tp-text-muted); }

/* 6. TESTIMONIALS / EXPERIENCE (Nuestra Experiencia) */
.experience-quote {
  position: relative !important;
  padding: 50px 40px 40px 80px !important;
  background: #f0fbf5 !important;
  border: 1px solid #d6f5e7 !important;
  border-radius: 24px !important;
  margin: 60px 0 !important;
  display: flex !important;          /* flex-column garantiza autor DEBAJO */
  flex-direction: column !important;
  box-shadow: 0 4px 12px rgba(42, 191, 111, 0.05) !important;
  overflow: visible !important;
}

.experience-quote::before {
  content: '\201C' !important;
  position: absolute !important;
  top: -10px !important;
  left: 20px !important;
  font-size: 110px !important;
  font-family: var(--tp-font-heading) !important;
  color: var(--tp-green) !important;
  opacity: 0.4 !important;
  line-height: 1 !important;
  font-style: normal !important;
}

.experience-quote p {
  font-style: italic !important;
  font-size: 19px !important;
  line-height: 1.8 !important;
  color: #334155 !important;          /* Color fijo — oscuro, no verde */
  margin-bottom: 24px !important;
  position: relative !important;
  z-index: 2 !important;
  text-transform: none !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

.experience-quote__author {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #2ABF6F !important;          /* Verde TipsPlus */
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  margin-top: 16px !important;
  width: 100% !important;
  float: none !important;
  position: static !important;
}

/* Ocultar SVG del autor y reemplazar con emoji */
.experience-quote__author svg {
  display: none !important;
}

/* Emoji de persona antes del nombre */
.experience-quote__author::before {
  content: '\1F464\00A0' !important; /* 👤 + espacio no separable */
  font-style: normal !important;
  /* Reemplaza el ::before con línea verde anterior */
  width: auto !important;
  height: auto !important;
  background: none !important;
  display: inline !important;
  font-size: 16px !important;
}

/* 7. FAQ ACCORDION (WIRFRAME & KADENCE OVERRIDE) */
/* -> Si es HTML puro del wireframe */
.faq-list { display: flex !important; flex-direction: column !important; gap: 12px !important; margin-top: 24px !important; }
.faq-item {
  border: 1px solid #dcdfe9 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: border-color 250ms !important;
  margin-bottom: 12px !important;
  background: white !important;
}
.faq-item.is-open { border-color: #83bfec !important; }

.faq-item__question {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 20px !important;
  background: white !important;
  text-align: left !important;
  font-family: var(--tp-font-heading) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--tp-text-heading) !important;
  cursor: pointer !important;
  transition: background 250ms !important;
  border: none !important;
}
.faq-item__question:hover { background: #f6f7fb !important; }
.faq-item.is-open .faq-item__question { background: var(--tp-bg-light) !important; color: var(--tp-blue-medium) !important; }

.faq-item__icon {
  width: 24px !important; height: 24px !important;
  background: #edeef5 !important;
  border-radius: 50% !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 250ms !important;
  color: #7c8298 !important;
}
.faq-item.is-open .faq-item__icon {
  background: var(--tp-blue-medium) !important;
  color: #fff !important;
  transform: rotate(45deg) !important;
}

.faq-item__answer {
  display: none !important;
  padding: 0 20px 20px !important;
  font-size: 15px !important;
  color: var(--tp-text-main) !important;
  line-height: 1.75 !important;
  background: white !important;
}
.faq-item.is-open .faq-item__answer { display: block !important; }


/* -> Si es bloque Kadence (Misma estética y forzando estructura) */
.wp-block-kadence-accordion .kt-accordion-pane {
  border: 1px solid #dcdfe9 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  transition: border-color 250ms !important;
  margin-bottom: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.wp-block-kadence-accordion .kt-active-pane {
  border-color: #83bfec !important;
}

.wp-block-kadence-accordion .kt-blocks-accordion-header {
  padding: 20px !important;
  background: white !important;
  color: var(--tp-text-heading) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-height: unset !important;
  border: none !important;
  border-radius: 0 !important;
}
.wp-block-kadence-accordion .kt-blocks-accordion-header:hover {
  background: #f6f7fb !important;
}
.wp-block-kadence-accordion .kt-active-pane .kt-blocks-accordion-header {
  background: var(--tp-bg-light) !important;
  color: var(--tp-blue-medium) !important;
}

.wp-block-kadence-accordion .kt-blocks-accordion-title {
  font-family: var(--tp-font-heading) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: inherit !important;
  text-align: left !important;
  margin: 0 !important;
}

/* Ocultar cualquier SVG/Icono o wrapper basura de Kadence pase lo que pase */
.wp-block-kadence-accordion .kt-blocks-accordion-icon-wrap,
.wp-block-kadence-accordion .kt-blocks-accordion-icon {
  display: none !important;
}

/* Generar el icono (+) directamente en el header garantizando que siempre se vea */
.wp-block-kadence-accordion .kt-blocks-accordion-header::after {
  content: '+' !important;
  width: 24px !important;
  height: 24px !important;
  background: #edeef5 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #7c8298 !important;
  font-family: var(--tp-font-heading) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: all 250ms !important;
  margin-left: 16px !important;
}

/* Al abrirse, rotar y cambiar color */
.wp-block-kadence-accordion .kt-active-pane .kt-blocks-accordion-header::after {
  background: var(--tp-blue-medium) !important;
  color: #fff !important;
  transform: rotate(45deg) !important;
}

.wp-block-kadence-accordion .kt-accordion-panel-inner {
  padding: 0 20px 20px !important;
  font-size: 15px !important;
  color: var(--tp-text-main) !important;
  line-height: 1.75 !important;
  background: white !important;
}
.wp-block-kadence-accordion .kt-active-pane .kt-accordion-panel-inner {
  background: var(--tp-bg-light) !important;
}

/* --- RESPONSIVE --- */
/* ═══════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM — TipsPlus Unified
   Breakpoints:
     ≤1024px  → Tablet
     ≤768px   → Mobile grande (phablet/landscape)
     ≤480px   → Mobile pequeño (portrait)
   ═══════════════════════════════════════════════════════════ */

/* ── TABLET (≤1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {

  /* Container */
  .tp-container { padding: 0 20px; }

  /* Hero: de 2 columnas a 1 columna */
  .tp-hero { padding: 40px 0 120px; }
  .tp-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .tp-hero__wave svg { height: 70px; }

  /* Main Grid: artículo + sidebar apilados */
  .tp-main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  /* Sidebar: estático, ancho completo */
  .tp-sidebar {
    position: static !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    align-self: auto !important;
  }

  /* Experience Quote */
  .experience-quote {
    padding: 40px 30px 30px 50px !important;
    margin: 40px 0 !important;
  }
  .experience-quote::before {
    font-size: 80px !important;
    top: -5px !important;
    left: 15px !important;
  }

  /* CTA Card */
  .tp-final-cta { padding: 40px 24px !important; margin: 50px 0 !important; }
  .tp-final-cta h2 { font-size: 28px !important; }
}

/* ── MOBILE GRANDE (≤768px) ───────────────────────────────── */
@media (max-width: 768px) {

  /* === CONTENEDOR === */
  .tp-container { padding: 0 16px; }

  /* === HEADER / NAV === */
  #masthead, .site-header {
    padding: 0 !important;
  }

  /* === HERO === */
  .tp-hero { padding: 32px 0 100px; }
  .tp-hero__title { font-size: clamp(1.8rem, 7vw, 2.6rem) !important; letter-spacing: -0.5px; }
  .tp-hero__wave svg { height: 50px; }

  /* === MAIN GRID === */
  .tp-main-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 24px 0 60px !important;
  }

  /* === ARTICLE BODY ===
     El problema principal reportado: artículo muy apretado.
     Aseguramos que no tenga padding ni margin laterales extra */
  .tp-article,
  .tp-article-render,
  .tp-article-body {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  /* Kadence columns dentro del artículo */
  .tp-article-render [class*="-wrap"],
  .tp-article-render [class*="-layout"],
  .tp-article-render [class*="wp-block-columns"],
  .tp-article-render [class*="kb-row-layout"],
  .tp-article-render [class*="kb-inside-container"] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* === SIDEBAR: 1 columna === */
  .tp-sidebar {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .tp-side-widget { padding: 20px 16px; }
  .tp-side-widget__title { font-size: 16px; margin-bottom: 16px; }

  /* === TOC === */
  .tp-toc-link { font-size: 14px; padding: 10px 16px; }

  /* === BARRAS DE PROGRESO === */
  .tp-progress-widget { gap: 16px !important; }
  .tp-progress-item { padding-top: 14px; }

  /* === FAQ ACCORDION === */
  .faq-item__question { font-size: 15px !important; padding: 16px 14px !important; }
  .faq-item__answer { font-size: 14px !important; padding: 0 14px 16px !important; }

  /* === KADENCE ACCORDION === */
  .wp-block-kadence-accordion .kt-blocks-accordion-header { padding: 16px 14px !important; }
  .wp-block-kadence-accordion .kt-blocks-accordion-title { font-size: 15px !important; }

  /* === EXPERIENCE QUOTE === */
  .experience-quote {
    padding: 40px 20px 24px 36px !important;
    margin: 32px 0 !important;
  }
  .experience-quote::before {
    font-size: 64px !important;
    top: 0px !important;
    left: 8px !important;
  }
  .experience-quote p { font-size: 17px !important; }

  /* === CTA CARD FINAL === */
  .tp-final-cta {
    padding: 32px 16px !important;
    margin: 40px 0 !important;
    border-radius: 20px !important;
  }
  .tp-final-cta h2 { font-size: clamp(1.4rem, 5vw, 1.9rem) !important; margin-bottom: 12px !important; }
  .tp-final-cta > div { gap: 10px !important; }
  .tp-final-cta a {
    width: 100% !important;
    justify-content: center !important;
    font-size: 15px !important;
  }



  /* === PRODUCT CARDS === */
  .tp-product-card { gap: 12px; padding: 16px; }
  .tp-product-card__img { width: 48px; height: 48px; font-size: 24px; }
}

/* ── MOBILE PEQUEÑO (≤480px) ──────────────────────────────── */
@media (max-width: 480px) {

  /* === HERO === */
  .tp-hero { padding: 24px 0 80px; }
  .tp-hero__title { font-size: clamp(1.6rem, 8vw, 2.2rem) !important; }
  .tp-hero__wave svg { height: 40px; }

  /* === SIDEBAR: padding reducido === */
  .tp-side-widget { padding: 16px 14px; border-radius: 14px; }

  /* === FAQ === */
  .faq-item__question { font-size: 14px !important; padding: 14px 12px !important; gap: 10px !important; }
  .faq-item__icon { width: 20px !important; height: 20px !important; font-size: 14px !important; }

  /* === CTA === */
  .tp-final-cta { padding: 28px 14px !important; }
  .tp-final-cta h2 { font-size: 1.4rem !important; }
  .tp-final-cta p { font-size: 15px !important; }

  /* === EXPERIENCE QUOTE === */
  .experience-quote {
    padding: 36px 16px 20px 28px !important;
  }
  .experience-quote::before { font-size: 52px !important; }
  .experience-quote p { font-size: 16px !important; }

  /* === ACCORDION KADENCE === */
  .wp-block-kadence-accordion .kt-blocks-accordion-header { padding: 14px 12px !important; }
  .wp-block-kadence-accordion .kt-blocks-accordion-title { font-size: 14px !important; }
  .wp-block-kadence-accordion .kt-accordion-panel-inner { font-size: 14px !important; }
}

/* ═══════════════════════════════════════════════════════════
   DISCLAIMER
   ═══════════════════════════════════════════════════════════ */
.article-disclaimer {
  background: #f6f7fb;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 16px;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 40px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .article-disclaimer {
    padding: 12px;
    font-size: 0.75rem; /* 12px */
    gap: 8px;
    margin-top: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════
   COUNTRY SELECTOR (HEADER SHORTCODE)
   ═══════════════════════════════════════════════════════════ */
.tp-country-selector {
    position: relative;
    display: inline-block;
    z-index: 1000;
}
.tp-country-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
    font-family: var(--tp-font-body);
}
.tp-country-btn:hover {
    background: #f1f5f9;
}
.tp-country-btn .tp-flag {
    font-size: 20px;
    line-height: 1;
}
.tp-country-btn .tp-code {
    font-weight: 700;
    color: var(--tp-text-heading);
    font-size: 14px;
}
.tp-country-btn svg {
    color: var(--tp-text-muted);
    transition: transform 0.3s;
}

/* El Dropdown Oculto */
.tp-country-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 10px; /* gap invisible para hover */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 260px;
}
.tp-country-selector:hover .tp-country-dropdown,
.tp-country-selector:focus-within .tp-country-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.tp-country-selector:hover .tp-country-btn svg {
    transform: rotate(180deg);
}

/* Interior del Dropdown (Glassmorphism) */
.tp-country-dropdown-inner {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(6, 26, 44, 0.08), 0 0 0 1px rgba(6, 26, 44, 0.03);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tp-country-dropdown-header {
    font-size: 12px;
    font-weight: 700;
    color: var(--tp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tp-country-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.2s;
}
.tp-country-item:hover {
    background: rgba(42, 191, 111, 0.08); /* Verde claro transparente */
}
.tp-country-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tp-country-item .tp-flag {
    font-size: 22px;
    line-height: 1;
}
.tp-country-item .tp-name {
    font-family: var(--tp-font-heading);
    font-weight: 600;
    color: var(--tp-text-heading);
    font-size: 14px;
    margin: 0 !important;
}
.tp-country-item.is-active .tp-name {
    color: var(--tp-green);
}
.tp-country-item .tp-check {
    color: var(--tp-green);
    display: flex;
}

/* ═══════════════════════════════════════════════════════════
   MAIN NAVIGATION MENU (HEADER SHORTCODE)
   ═══════════════════════════════════════════════════════════ */
.tp-main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.tp-main-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.tp-nav-item {
    display: flex;
    align-items: center;
    margin: 0 !important;
}
.tp-nav-link {
    font-family: var(--tp-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--tp-text-heading);
    text-decoration: none !important;
    padding: 8px 4px;
    transition: color 0.3s ease;
    position: relative;
}
.tp-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tp-green);
    transition: width 0.3s ease;
}
.tp-nav-link:hover {
    color: var(--tp-green);
}
.tp-nav-link:hover::after {
    width: 100%;
}
.tp-nav-item--selector {
    margin-left: 12px !important;
}

/* ─── DROPDOWN GUÍA DE SALUD ─── */
.tp-nav-item--dropdown {
    position: relative;
}
/* Reset de estilos nativos del <button> */
.tp-nav-link--dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 4px;
    margin: 0;
    font-family: var(--tp-font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--tp-text-heading);
    text-decoration: none !important;
    transition: color 0.3s ease;
    position: relative;
    line-height: inherit;
}
.tp-nav-link--dropdown:hover,
.tp-nav-item--dropdown:hover .tp-nav-link--dropdown,
.tp-nav-item--dropdown:focus-within .tp-nav-link--dropdown {
    color: var(--tp-green);
}
.tp-nav-link--dropdown .tp-nav-chevron {
    font-size: 9px;
    transition: transform 0.25s ease;
    display: inline-block;
    line-height: 1;
    margin-top: 1px;
}
.tp-nav-item--dropdown:hover .tp-nav-chevron,
.tp-nav-item--dropdown:focus-within .tp-nav-chevron {
    transform: rotate(180deg);
}
.tp-nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 210px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    padding: 8px;
    list-style: none !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 9999;
}
.tp-nav-item--dropdown:hover .tp-nav-submenu,
.tp-nav-item--dropdown:focus-within .tp-nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.tp-nav-submenu li {
    margin: 0 !important;
    padding: 0 !important;
}
.tp-nav-submenu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tp-text-heading) !important;
    text-decoration: none !important;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}
.tp-nav-submenu-link .tp-sub-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
.tp-nav-submenu-link:hover {
    background: rgba(42,191,111,0.1);
    color: var(--tp-green) !important;
}
/* Pequeña flecha indicadora debajo del enlace padre */
.tp-nav-submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.97);
    border-left: 1px solid rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.08);
    rotate: 45deg;
}

/* Responsive Menu Ajustes (Si se requiere en móvil) */
@media (max-width: 1024px) {
    .tp-main-nav-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        gap: 24px;
    }
    .tp-nav-item {
        width: 100%;
    }
    .tp-nav-link {
        font-size: 16px;
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    .tp-nav-link::after {
        display: none;
    }
    .tp-main-nav {
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
    }
    .tp-nav-item--selector {
        margin-top: 10px;
        margin-left: 0 !important;
    }
    .tp-country-dropdown {
        left: 0;
        right: auto;
    }
}
