@charset "utf-8";
/*
Theme Name: FlexiTheme PRO
Theme URI: https://masterpubli.com/
Author: JMT
Author URI: https://masterpubli.com/
Description: Tema profesional, limpio, rápido y flexible, optimizado para SEO, Adsense y plugins by JMT. Panel PRO y Premium listos para escalar.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flexitheme-pro
Tags: limpio, profesional, responsive, rápido, seo, adsense, personalizable, premium-ready

📝 MEMORIA FLEXITHEME PRO (Julio 2025):
“FlexiTheme PRO ya tiene una base visual WOW, modular y rápida, con ticker animado, header limpio, hero editable, grid responsive, CTA, sidebar y footer PRO, todo listo para seguir escalando. Pendiente de panel de opciones visual, demo importer, widgets propios, footer/header configurables, publicidad nativa, integración total plugins JMT, optimización SEO/velocidad/accesibilidad/legal y guía visual. Próximo paso: decidir el módulo clave a implementar y avanzar a la plantilla definitiva.”
*/

/* ===== VARIABLES ===== */
:root {
  --color-primario: #2058b0;
  --color-secundario: #44e7ee;
  --color-acento: #FFD700;
  --color-footer: #223255;
  --color-bg: #f8fafd;
  --color-txt: #1a202c;
  --radius-main: 24px;
  --radius-btn: 18px;
  --radius-card: 16px;
  --sombra-suave: 0 2px 16px rgba(32,88,176,.11);
  --sombra-hero: 0 10px 36px -12px #2058b088;
  --sombra-card: 0 1px 8px rgba(0,0,0,0.08);
  --sombra-card-hover: 0 12px 32px -8px var(--color-acento)88;
  --trans-fast: .18s;
  --header-height: 70px;
}

/* ===== RESET Y BASE ===== */
html, body {
  box-sizing: border-box;
  margin: 0; padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-txt);
  min-height: 100%;
}
*, *:before, *:after { box-sizing: inherit; }
a {
  color: var(--color-acento);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* ===== TICKER HOT NEWS ===== */
.ticker-bar {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 0;
  text-align: left;
  font-size: 0.96em;
  font-weight: 600;
  border-bottom: 2px solid #20c7ff;
  box-shadow: 0 2px 9px -8px #0ff3;
  display: flex;
  align-items: center;
  min-height: 18px;
  height: 22px;
  position: relative;
  overflow: hidden;
  z-index: 100;
}
.ticker-label {
  color: #E53935;
  font-weight: bold;
  padding: 0 10px;
  font-size: 1em;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.ticker-content-scroll {
  flex: 1;
  overflow: hidden;
  height: 22px;
  display: flex;
  align-items: center;
}
.ticker-scroll-inner {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll-anim 35s linear infinite;
}
@keyframes ticker-scroll-anim {
  0% { transform: translateX(100%);}
  100% { transform: translateX(-100%);}
}
.ticker-news-item {
  display: inline-block;
  margin-right: 28px;
  font-weight: 500;
  font-size: 1em;
  color: #fff;
}
.ticker-news-item a {
  color: #20c7ff;
  text-decoration: none;
  font-weight: bold;
  transition: color .15s;
}
.ticker-news-item a:hover {
  color: var(--color-acento);
  text-decoration: underline;
}

/* ===== HEADER WOW ===== */
.site-header {
  background: linear-gradient(90deg, var(--color-primario) 0%, #2f80ed 70%, var(--color-secundario) 100%);
  color: #fff;
  min-height: 114px;
  box-shadow: 0 3px 36px -7px #2058b080;
  border-radius: 0 0 32px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 62px 0 26px;
  position: relative;
  z-index: 50;
  margin-bottom: 0;
  height: var(--header-height);
}
.sticky-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--color-primario) 0%, #2f80ed 70%, var(--color-secundario) 100%);
  box-shadow: 0 8px 28px -10px #2058b088;
  z-index: 999;
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-title { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.logo-img img { max-height: 96px !important; width: auto; }
.logo-fallback .site-title { font-size: 1.5em; font-weight: 800; color: var(--color-acento);}
.site-info { display: flex; flex-direction: column; margin-left: 8px;}
.site-title { font-size: 1.36em; color: var(--color-acento); font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; text-shadow: 0 2px 7px #2223; }
.site-desc { font-size: 1em; color: #fff; font-weight: 400; opacity: 0.82; margin-top: -2px; }

/* ==== MENÚ MEJORADO ==== */
.main-menu-list {
  display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0;
  list-style: none; font-size: 1em; font-weight: 700;
}
.main-menu-list li { margin: 0; }
.main-menu-list a {
  color: #fff;
  text-decoration: none;
  transition: color .18s, border-bottom .18s, background .18s;
  border-bottom: 2px solid transparent;
  padding: 7px 15px;
  border-radius: 10px;
  font-size: 1em;
  background: linear-gradient(90deg, #2569d0 0%, #188ecf 100%);
  box-shadow: 0 2px 12px -8px #1113;
  position: relative;
}
.main-menu-list a:hover {
  background: linear-gradient(90deg, var(--color-acento) 0%, #ffae00 100%);
  color: var(--color-primario);
  border-bottom: 2px solid var(--color-acento);
  text-shadow: 0 1px 3px #fff7;
}

/* ==== BOTÓN CTA HEADER ==== */
/* BOTÓN CTA QUITADO POR REQUERIMIENTO */
/* Puedes eliminar el bloque o dejarlo oculto */
/*
.header-cta .btn-header-cta {
  display: none !important;
}
*/

/* ==== BOTÓN MODO OSCURO ==== */
.darkmode-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.36em;
  margin-left: 12px;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background .14s;
  outline: none;
  display: inline-flex;
  align-items: center;
}
.darkmode-toggle:hover {
  background: #2058b077;
}
.icon-moon { font-size: 1.28em; line-height: 1; }
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ===== MENÚ MÓVIL PRO ===== */
.menu-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 12px;
  padding: 7px 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
}
.menu-mobile-toggle span {
  width: 28px;
  height: 4px;
  background: #fff;
  border-radius: 3px;
  display: block;
  transition: all 0.2s;
}
.main-menu-mobile {
  display: none;
  background: linear-gradient(90deg, var(--color-primario) 0%, var(--color-secundario) 100%);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw;
  box-shadow: 0 2px 16px -4px #2058b055;
  z-index: 99;
  padding: 20px 0;
}
.main-menu-mobile.menu-mobile-open {
  display: block;
  animation: fadeInMenuMobile .25s;
}
@keyframes fadeInMenuMobile {
  from { opacity: 0; transform: translateY(-16px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* ==== HERO ANIMADO PRO ==== */
.hero-animated {
  width: 100%;
  min-height: 340px;
  background: linear-gradient(120deg, var(--color-primario) 55%, var(--color-secundario) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 54px 0;
  border-radius: 0 0 34px 34px;
  margin-bottom: 2em;
  overflow: hidden;
  box-shadow: var(--sombra-hero);
  animation: hero-bg-move 11s ease-in-out infinite alternate;
  transition: box-shadow var(--trans-fast);
}
@keyframes hero-bg-move {
  0% {background-position: 0% 50%;}
  100% {background-position: 100% 50%;}
}
.hero-inner {
  text-align: left;
  z-index: 2;
  padding: 40px 64px 48px 64px;
  max-width: 760px;
}
.hero-title {
  font-size: 2.6em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(32,88,176,.12);
}
.hero-desc {
  font-size: 1.21em;
  color: #fff;
  margin-bottom: 28px;
  max-width: 550px;
}
.hero-btn {
  background: var(--color-acento);
  color: var(--color-primario);
  font-weight: 700;
  border-radius: 20px;
  padding: 13px 42px;
  font-size: 1.13em;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(32,88,176,.11);
  transition: .18s;
  display: inline-block;
}
.hero-btn:hover {
  background: var(--color-primario);
  color: #fff;
}
.hero-icon {
  font-size: 3em;
  color: var(--color-acento);
  line-height: 1;
  display: inline-block;
  margin-bottom: 10px;
}

/* ===== GRID/CARDS ===== */
.main-content {
  display: flex;
  gap: 32px;
  max-width: 1300px;
  margin: 40px auto 0;
}
.articles-grid > div {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
}
.post-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--sombra-card);
  padding: 20px;
  min-height: 370px;
  max-height: 470px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow .22s, transform .18s;
}
.post-card img {
  max-height: 180px;
  width: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
}
.post-card:hover {
  box-shadow: var(--sombra-card-hover);
  transform: translateY(-7px) scale(1.025);
}

/* ===== SIDEBAR ===== */
.sidebar,
#secondary.widget-area {
  color: var(--color-primario);
  font-size: 1em;
  padding: 12px 6px;
}
.sidebar h2, .sidebar h3, .sidebar h4,
#secondary .widget-title {
  color: var(--color-primario);
  font-size: 1.13em;
  font-weight: 700;
}
.sidebar a, #secondary a {
  color: var(--color-primario);
  text-decoration: none;
  transition: color .18s;
}
.sidebar a:hover, #secondary a:hover {
  color: var(--color-acento);
}
.sidebar li,
.sidebar ul,
#secondary li,
#secondary ul {
  color: #181818;
  font-size: 1em;
}

/* ===== SIDEBAR MODO OSCURO MEJORADO ===== */
body.modo-oscuro .sidebar,
body.modo-oscuro #secondary.widget-area {
  color: #a0cfff; /* azul claro legible */
}
body.modo-oscuro .sidebar h2,
body.modo-oscuro .sidebar h3,
body.modo-oscuro .sidebar h4,
body.modo-oscuro #secondary .widget-title {
  color: #6ec1ff; /* azul más visible */
}
body.modo-oscuro .sidebar a,
body.modo-oscuro #secondary a {
  color: #6ec1ff; /* azul enlaces legible */
}
body.modo-oscuro .sidebar a:hover,
body.modo-oscuro #secondary a:hover {
  color: var(--color-acento);
}
body.modo-oscuro .sidebar li,
body.modo-oscuro .sidebar ul,
body.modo-oscuro #secondary li,
body.modo-oscuro #secondary ul {
  color: #d3e7ff;
}

/* ===== SIDEBAR STICKY ===== */
.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

/* ===== FOOTER WOW ===== */
.footer-wow {
  background: linear-gradient(90deg, var(--color-primario) 0%, var(--color-secundario) 100%);
  color: #fff;
  padding: 48px 0 18px 0;
  border-top: 4px solid var(--color-acento);
  box-shadow: 0 -3px 34px -7px #2058b080;
  margin-top: 56px;
}
.footer-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto 16px auto;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 42px;
}
.footer-col {
  min-width: 180px;
  flex: 1;
}
.footer-col h4 {
  font-size: 1.15em;
  margin-bottom: 14px;
  color: var(--color-acento);
  letter-spacing: 0.03em;
  font-weight: bold;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col ul li a {
  color: var(--color-footer);
  opacity: 0.93;
  background: #fff8;
  padding: 2px 9px;
  border-radius: 6px;
  margin-right: 2px;
  font-weight: 500;
}
.footer-col ul li a:hover {
  color: var(--color-acento);
  background: var(--color-primario);
  text-decoration: underline;
}
.footer-copy {
  border-top: 1.5px solid #fff8;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0 0 0;
  font-size: 0.99em;
  color: #fff;
  opacity: 0.90;
  letter-spacing: 0.02em;
}

/* ===== FULLWIDTH PAGE STYLES ===== */
.page-fullwidth .site-main {
  padding-top: 28px;
}
.fullwidth-article {
  background: #fff;
  border-radius: var(--radius-main);
  box-shadow: var(--sombra-suave);
  padding: 38px 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .fullwidth-article { padding: 18px 8px; }
}

/* ===== ANIMACIONES WOW (solo en lo esencial) ===== */
@media (hover: hover) {
  .hero-btn, .btn-header-cta, .main-menu-list a, .post-card, .cta-sidebar-btn {
    will-change: transform, box-shadow;
    transition: box-shadow 0.18s, transform 0.16s;
  }
  .hero-btn:hover,
  .btn-header-cta:hover,
  .cta-sidebar-btn:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 12px 36px -14px var(--color-acento)77;
  }
  .post-card:hover {
    box-shadow: var(--sombra-card-hover);
    transform: translateY(-7px) scale(1.028);
  }
}

/* ===== PREMIUM RIBBON / DEMO BADGE ===== */
.flexi-premium-ribbon {
  position: absolute;
  top: -8px; left: -8px;
  background: linear-gradient(90deg, var(--color-acento), #2058b0);
  color: #fff;
  font-weight: 700;
  font-size: 1em;
  padding: 4px 16px;
  border-radius: 14px 0 18px 0;
  box-shadow: 0 2px 8px #2058b055;
  z-index: 22;
  letter-spacing: 0.02em;
}

/* ===== WIDGET CTA (Sidebar PRO Ready) ===== */
.widget-cta .cta-sidebar-btn {
  display: block;
  width: 100%;
  background: var(--color-primario);
  color: #fff;
  font-weight: 700;
  padding: 12px 0;
  margin: 12px 0 0 0;
  border-radius: var(--radius-btn);
  text-align: center;
  box-shadow: var(--sombra-suave);
  transition: background var(--trans-fast), color var(--trans-fast), box-shadow var(--trans-fast);
}
.widget-cta .cta-sidebar-btn:hover {
  background: var(--color-acento);
  color: var(--color-primario);
}

/* ===== GUTENBERG OPTIMIZACIÓN ===== */
.alignfull, .wp-block-cover.alignfull, .wp-block-group.alignfull {
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw;
  width: 100vw;
}
.wp-block-image img {
  border-radius: 12px;
  box-shadow: var(--sombra-suave);
}
.wp-block-button__link {
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 1.09em;
  background: var(--color-acento);
  color: var(--color-primario);
  box-shadow: var(--sombra-suave);
  transition: background .16s, color .16s;
}
.wp-block-button__link:hover {
  background: var(--color-primario);
  color: #fff;
}

/* ===== PREMIUM READY & UTILS ===== */
.premium-badge {
  display: inline-block;
  color: #fff;
  background: #2058b0;
  border-radius: 9px;
  padding: 3px 9px;
}

/* ===== CTA FINAL ===== */
.cta-final {
  width: 100%;
  max-width: 780px;
  margin: 48px auto 32px auto;
  background: linear-gradient(90deg,#2058b0 70%,#e6b800 120%);
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(32,88,176,.11);
  padding: 38px 32px;
  text-align: center;
}
.cta-title {
  color: #fff;
  font-size: 1.7em;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-desc {
  color: #fff;
  font-size: 1.15em;
  margin-bottom: 22px;
}
.cta-btn {
  background: #fff;
  color: #2058b0;
  font-weight: 700;
  border-radius: 18px;
  padding: 11px 38px;
  font-size: 1.1em;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(32,88,176,.07);
  transition: .18s;
  display: inline-block;
}
.cta-btn:hover {
  background: #2058b0;
  color: #fff;
  box-shadow: 0 4px 24px -6px #e6b80066;
}

/* ==== RESPONSIVE & MOBILE FIRST ==== */
@media (max-width: 1200px) {
  .main-content, .footer-content { max-width: 98vw; }
  .articles-grid > div { grid-template-columns: repeat(2,1fr);}
}
@media (max-width: 900px) {
  .main-content { flex-direction: column; gap: 20px;}
  .sidebar { position: relative; top: unset; }
  .articles-grid > div { grid-template-columns: 1fr;}
  .hero-inner { padding: 30px 16px 28px 16px;}
  .menu-mobile-toggle { display: inline-flex; }
  .main-menu { display: none !important; }
  .main-menu-mobile { display: block; }
}
@media (max-width: 700px) {
  .site-header { padding: 0 8px; border-radius: 0 0 18px 18px;}
  .main-content { margin-top: 20px; }
  .footer-content { flex-direction: column; gap: 18px;}
  .hero-title { font-size: 1.6em; }
  .post-card { min-height: 240px; padding: 9px;}
}

/* ==== ANIMACIONES WOW/ANIMATE.CSS PRO READY ==== */
.animate__animated, .wow {
  visibility: visible !important;
}

/* ===== MODO OSCURO PRO ACTIVADO ===== */
body.modo-oscuro, .modo-oscuro {
  --color-bg: #12191f;
  --color-txt: #f5f8fd;
  --color-footer: #222c3a;
  --color-primario: #141e30;
  --color-secundario: #1e466c;
  --color-acento: #FFD700;
  background: var(--color-bg) !important;
  color: var(--color-txt) !important;
}
body.modo-oscuro .footer-wow,
.modo-oscuro .footer-wow {
  background: linear-gradient(90deg, #141e30 0%, #1e466c 100%);
}
body.modo-oscuro .site-header,
.modo-oscuro .site-header {
  background: linear-gradient(90deg, #141e30 0%, #1e466c 100%);
}
body.modo-oscuro .main-menu-list a,
.modo-oscuro .main-menu-list a {
  background: linear-gradient(90deg, #192437 0%, #27406c 100%);
  color: #f5f8fd;
}
body.modo-oscuro .main-menu-list a:hover,
.modo-oscuro .main-menu-list a:hover {
  background: linear-gradient(90deg, #FFD700 0%, #ffe888 100%);
  color: #141e30;
}
body.modo-oscuro .btn-header-cta,
.modo-oscuro .btn-header-cta {
  background: #FFD700;
  color: #1e466c;
}
body.modo-oscuro .btn-header-cta:hover,
.modo-oscuro .btn-header-cta:hover {
  background: #141e30;
  color: #FFD700;
}
body.modo-oscuro .cta-final,
.modo-oscuro .cta-final {
  background: linear-gradient(90deg,#232b3a 70%,#e6b800 120%);
}
body.modo-oscuro .cta-btn,
.modo-oscuro .cta-btn {
  background: #FFD700;
  color: #1e466c;
}
body.modo-oscuro .cta-btn:hover,
.modo-oscuro .cta-btn:hover {
  background: #232b3a;
  color: #FFD700;
}
body.modo-oscuro .post-card,
.modo-oscuro .fullwidth-article {
  background: #1d2630;
  color: #f5f8fd;
}
body.modo-oscuro .footer-copy {
  border-top: 1.5px solid #FFD70033;
  color: #FFD700bb;
}

/* ===== BLOQUE TIENDA HOME ===== */
.home-shop-block {
  padding: 40px 0 20px 0;
}

.home-shop-container {
  max-width: 1200px;
  margin: 0 auto;
}

.home-shop-title {
  font-size: 1.9em;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.home-shop-subtitle {
  font-size: 1.1em;
  margin-bottom: 22px;
  text-align: center;
  opacity: .9;
}

.home-shop-grid {
  margin-top: 10px;
}

/* ===== TIENDA FULL WIDTH (EDD) ===== */
.page-template-page-tienda .tienda-wrapper {
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
}

.page-template-page-tienda .tienda-title {
  text-align: center;
  font-size: 2.3em;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--color-acento);
}

.page-template-page-tienda .tienda-grid {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.page-template-page-tienda .edd_downloads_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.page-template-page-tienda .edd_download {
  float: none;
  list-style: none;
  max-width: 260px;
  text-align: center;
}

.page-template-page-tienda .edd_download_inner {
  margin: 0 auto;
}

.page-template-page-tienda .edd_price,
.page-template-page-tienda .edd_purchase_submit_wrapper {
  display: block;
  margin: 6px auto;
}
/* Margen lateral para la página Tienda */
.page-id-26788 .edd_downloads_list {
  padding: 0 40px;
  box-sizing: border-box;
}
/* Tarjetas PRO para productos EDD */
.edd_download {
  background: #ffffff08;
  border-radius: 18px;
  padding: 26px 20px 30px 20px;
  margin: 16px;
  text-align: center;
  box-shadow: 0 4px 16px #0003;
  transition: transform .18s, box-shadow .18s;
}

body.modo-oscuro .edd_download {
  background: #1d2630;
  box-shadow: 0 4px 16px rgba(255,255,255,0.06);
}

.edd_download:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px #0004;
}

/* Títulos PRO */
.edd_download .edd_download_title {
  font-size: 1.28em;
  font-weight: 800;
  color: var(--color-acento);
  margin-bottom: 12px;
}
.edd_downloads_list + form {
  display: none !important;
}
/* Centrar el grid EDD */
.edd_downloads_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 40px !important;
}

.edd_download {
  width: 28%;
  min-width: 260px;
}
/* Precio PRO en EDD */
.edd_download .edd_price {
  font-size: 1.25em;
  font-weight: 700;
  margin: 6px 0 10px 0;
  color: #ffffff;
}
body.modo-oscuro .edd_download .edd_price {
  color: #FFD700;
}
/* Botón Comprar PRO */
.edd_download .edd_purchase_submit_wrapper .edd-add-to-cart,
.edd_download .edd_purchase_submit_wrapper .edd_go_to_checkout {
  background: var(--color-acento);
  color: var(--color-primario);
  border-radius: 999px;
  padding: 9px 22px;
  font-weight: 700;
  border: none;
  box-shadow: 0 3px 10px #0004;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}

.edd_download .edd_purchase_submit_wrapper .edd-add-to-cart:hover,
.edd_download .edd_purchase_submit_wrapper .edd_go_to_checkout:hover {
  background: var(--color-primario);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px #0007;
}
/* Aire entre productos y responsive tienda */
.edd_download {
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .edd_downloads_list {
    padding: 0 18px !important;
    gap: 20px;
  }
  .edd_download {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* Ocultar título "Home" en la página de inicio */
.page-id-798 .entry-title {
  display: none;
}
/* Bordes más suaves y PRO en productos */
.edd_download {
  border-radius: 26px !important;
}
/* Aire entre grid de tienda y CTA final */
.home-shop-block {
  margin-bottom: 60px;
}

.cta-final {
  margin-top: 60px;
}
/* Botón comprar unificado JMT */
.edd_download .edd_purchase_submit_wrapper input[type="submit"],
.edd_download .edd_purchase_submit_wrapper .edd-add-to-cart,
.edd_download .edd_purchase_submit_wrapper .edd_go_to_checkout {
  text-transform: none !important;
  font-size: 1.05em !important;
  letter-spacing: .3px;
}
/* ===== FICHA DE PRODUCTO EDD (single-download) ===== */
.single-download-page .download-wrapper {
  max-width: 1100px;
  margin: 40px auto 60px auto;
  padding: 0 24px;
}

.single-download-page .download-columns {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.single-download-page .download-col-left {
  flex: 0 0 30%;
}

.single-download-page .download-col-right {
  flex: 1;
}

.single-download-page .download-logo img {
  border-radius: 24px;
  box-shadow: 0 6px 20px #0005;
  max-width: 100%;
  height: auto;
}

.single-download-page .download-title {
  font-size: 2em;
  font-weight: 800;
  color: var(--color-acento);
  margin-bottom: 10px;
}

.single-download-page .download-price {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

body.modo-oscuro .single-download-page .download-price {
  color: #FFD700;
}

.single-download-page .download-purchase {
  margin-bottom: 18px;
}

.single-download-page .download-short {
  font-size: 1.02em;
  opacity: .9;
}

/* Contenido largo: descripción, Lite vs Pro, etc. */
.single-download-page .download-content {
  background: #ffffff08;
  border-radius: 24px;
  padding: 26px 22px 30px 22px;
  box-shadow: 0 4px 18px #0004;
  font-size: 1.02em;
  line-height: 1.6;
}

body.modo-oscuro .single-download-page .download-content {
  background: #1d2630;
}

/* Responsive */
@media (max-width: 900px) {
  .single-download-page .download-columns {
    flex-direction: column;
  }
  .single-download-page .download-col-left,
  .single-download-page .download-col-right {
    flex: 1 1 100%;
  }
}
/* Bloques descripción y Lite vs Pro en ficha EDD */
.single-download-page .download-content h2 {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 14px;
}

.single-download-page .download-content h3 {
  font-size: 1.18em;
  margin-top: 18px;
  margin-bottom: 8px;
}

.download-plans {
  display: flex;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.download-plan {
  flex: 1 1 260px;
  border-radius: 18px;
  padding: 16px 18px 18px 18px;
  background: #ffffff05;
}

body.modo-oscuro .download-plan {
  background: #0f1722;
}

.download-plan-title {
  font-weight: 800;
  margin-bottom: 6px;
}

.download-plan-lite .download-plan-title {
  color: #ffdd66;
}

.download-plan-pro .download-plan-title {
  color: #7CFC00;
}

.download-plan ul {
  margin: 8px 0 0 18px;
  padding: 0;
}
/* ============================
   ESTILO PRO FICHAS EDD — BY JMT
   ============================ */

/* Caja centrada para todo el contenido */
.single-download-page .download-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 30px;
}

/* Imagen centrada */
.single-download-page .download-logo img {
    display: block;
    margin: 0 auto 25px auto;
    max-width: 260px;
    border-radius: 16px;
}

/* Título del producto centrado */
.single-download-page .download-title {
    text-align: center;
}

/* Precio y botón centrado */
.single-download-page .download-price,
.single-download-page .download-purchase {
    text-align: center;
}

/* Encabezados grandes y limpios */
.single-download-page h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.9em;
    font-weight: 800;
}

/* Contenido más fácil de leer */
.single-download-page p,
.single-download-page ul,
.single-download-page li {
    font-size: 1.12em;
    line-height: 1.6;
}

/* Comparativa Lite vs PRO (cuadros) */
.download-plans {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.download-plans > div {
    flex: 1;
    padding: 20px;
    border-radius: 14px;
    background: #ffffff10;
    backdrop-filter: blur(4px);
    border: 1px solid #ffffff22;
}

.modo-oscuro .download-plans > div {
    background: #18202b;
    border: 1px solid #ffffff22;
}

.download-plans h3 {
    margin-bottom: 12px;
    font-size: 1.4em;
    font-weight: 700;
}

.download-plans ul li {
    margin-bottom: 8px;
}
.single-download-page .download-title {
    text-align:center !important;
    margin-top: 10px !important;
}
/* Grid EDD también en la Home: 3 columnas con logo */
.home .edd_downloads_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.home .edd_download {
    list-style: none;
    text-align: center;
    max-width: 260px;
    margin: 0;
}

/* En móvil, 1 por línea (normal) */
@media (max-width: 900px) {
    .home .edd_download {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }
}
