/* ================================================================
   MiProWeb v3.0 — Estilos completos
   Panel de usuario + Landing pública + Registro + Login
   ================================================================ */

:root {
  --mpw-blue:        #2563eb;
  --mpw-blue-lt:     #eff6ff;
  --mpw-blue-mid:    #dbeafe;
  --mpw-blue-dk:     #1d4ed8;
  --mpw-green:       #16a34a;
  --mpw-green-lt:    #f0fdf4;
  --mpw-orange:      #ea580c;
  --mpw-yellow-lt:   #fefce8;
  --mpw-red:         #dc2626;
  --mpw-red-lt:      #fef2f2;
  --mpw-text:        #0f172a;
  --mpw-text-2:      #334155;
  --mpw-text-3:      #64748b;
  --mpw-text-4:      #94a3b8;
  --mpw-border:      #f1f5f9;
  --mpw-border-2:    #e2e8f0;
  --mpw-bg:          #fff;
  --mpw-bg-2:        #f8fafc;
  --mpw-bg-3:        #f1f5f9;
  --mpw-radius:      16px;
  --mpw-radius-sm:   10px;
  --mpw-font:        'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mpw-font-serif:  'Fraunces', Georgia, serif;
  --mpw-shadow:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --mpw-shadow-md:   0 4px 16px rgba(0,0,0,.08);
  --mpw-shadow-blue: 0 4px 16px rgba(37,99,235,.2);
}

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

/* ================================================================
   COMPONENTES COMUNES
   ================================================================ */

.mpw-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--mpw-blue); color: #fff; border: none;
  border-radius: var(--mpw-radius-sm); padding: 12px 20px;
  font-family: var(--mpw-font); font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: all .18s;
}
.mpw-btn-primary:hover { background: var(--mpw-blue-dk); transform: translateY(-1px); box-shadow: var(--mpw-shadow-blue); }

.mpw-btn-primary.mpw-btn-lg { font-size: 15px; padding: 14px 24px; border-radius: 12px; }

.mpw-btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--mpw-border-2); color: var(--mpw-text-2); background: #fff;
  border-radius: var(--mpw-radius-sm); padding: 10px 16px;
  font-family: var(--mpw-font); font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none; transition: all .18s;
}
.mpw-btn-outline:hover { border-color: var(--mpw-blue); color: var(--mpw-blue); }
.mpw-btn-outline.mpw-btn-sm { padding: 7px 12px; font-size: 12px; }

.mpw-btn-ghost-sm {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--mpw-text-3); text-decoration: none; font-size: 13px;
  font-family: var(--mpw-font); font-weight: 600;
  background: none; border: none; cursor: pointer; padding: 6px 8px;
  border-radius: 8px; transition: all .15s;
}
.mpw-btn-ghost-sm:hover { color: var(--mpw-text); background: var(--mpw-bg-3); }

/* Badges */
.mpw-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 100px; font-family: var(--mpw-font);
}
.mpw-badge-active   { background: var(--mpw-green-lt);  color: var(--mpw-green); border: 1px solid #bbf7d0; }
.mpw-badge-trial    { background: #eff6ff;               color: var(--mpw-blue);  border: 1px solid var(--mpw-blue-mid); }
.mpw-badge-freemium {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}
.mpw-badge-inactive { background: var(--mpw-red-lt);     color: var(--mpw-red);   border: 1px solid #fecaca; }
.mpw-badge-pending  { background: var(--mpw-yellow-lt);  color: #a16207;          border: 1px solid #fde68a; }

/* Alertas */
.mpw-alert { border-radius: var(--mpw-radius-sm); padding: 12px 16px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.mpw-success { background: var(--mpw-green-lt); border: 1px solid #bbf7d0; color: var(--mpw-green); }
.mpw-error   { background: var(--mpw-red-lt);   border: 1px solid #fecaca; color: var(--mpw-red);   }

/* ================================================================
   PANEL DE USUARIO
   ================================================================ */

.mpw-panel-wrap {
  font-family: var(--mpw-font);
  background: var(--mpw-bg-2);
  min-height: 100vh;
  color: var(--mpw-text);
}

/* HEADER */
.mpw-panel-header {
  background: var(--mpw-bg);
  border-bottom: 1px solid var(--mpw-border);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--mpw-shadow);
}
.mpw-panel-logo { height: 24px; width: auto; max-width: 90px; object-fit: contain; }
.mpw-panel-header-right { display: flex; align-items: center; gap: 8px; }

/* SALUDO */
.mpw-panel-greeting {
  padding: 20px 20px 0;
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.mpw-greeting-h1 {
  font-size: 22px; font-weight: 800; color: var(--mpw-text);
}
.mpw-greeting-sub { font-size: 13px; color: var(--mpw-text-3); margin-top: 2px; }

/* ALERTAS GLOBALES */
.mpw-panel-alert-wrap { padding: 12px 20px 0; max-width: 800px; margin: 0 auto; }

/* BANNERS */
.mpw-banner {
  margin: 12px auto;
  border-radius: var(--mpw-radius-sm);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 760px;
  width: calc(100% - 40px);
  text-align: center;
}
}
.mpw-banner-warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.mpw-banner-danger  { background: var(--mpw-red-lt); border: 1px solid #fecaca; color: var(--mpw-red); }
.mpw-banner-cta     { margin-left: auto; color: inherit; font-weight: 800; text-decoration: underline; white-space: nowrap; }

/* TABS NAVEGACIÓN — SCROLL HORIZONTAL MOBILE */
.mpw-tabs-nav {
  display: flex; gap: 2px;
  padding: 12px 20px 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 800px; margin: 12px auto 0;
}
.mpw-tabs-nav::-webkit-scrollbar { display: none; }

.mpw-tab-btn {
  flex-shrink: 0;
  background: none; border: none; border-bottom: 2px solid transparent;
  font-family: var(--mpw-font); font-size: 13px; font-weight: 600;
  color: var(--mpw-text-3); padding: 8px 14px; cursor: pointer;
  transition: all .18s; white-space: nowrap; border-radius: 8px 8px 0 0;
}
.mpw-tab-btn:hover  { color: var(--mpw-text); background: var(--mpw-bg-3); }
.mpw-tab-btn.active { color: var(--mpw-blue); border-bottom-color: var(--mpw-blue); background: var(--mpw-bg); }

/* BODY DEL PANEL */
.mpw-panel-body {
  padding: 16px 20px 100px;
  max-width: 800px; margin: 0 auto;
}

/* PANELES (panes) */
.mpw-tab-pane         { display: none; }
.mpw-tab-pane.active  { display: block; }

/* CARD */
.mpw-card {
  background: var(--mpw-bg);
  border: 1px solid var(--mpw-border);
  border-radius: var(--mpw-radius);
  padding: 24px;
  box-shadow: var(--mpw-shadow);
}
.mpw-card-title {
  font-size: 16px; font-weight: 800; color: var(--mpw-text);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--mpw-border);
}

/* FIELDS */
.mpw-field    { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.mpw-field:last-child { margin-bottom: 0; }
.mpw-2col     { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .mpw-2col { grid-template-columns: 1fr; } }
.mpw-label    { font-size: 12px; font-weight: 700; color: var(--mpw-text-2); letter-spacing: .3px; }
.mpw-hint     { font-size: 11px; color: var(--mpw-text-4); line-height: 1.5; }

.mpw-input {
  width: 100%; border: 2px solid var(--mpw-border-2);
  border-radius: var(--mpw-radius-sm); padding: 10px 14px;
  font-size: 14px; font-family: var(--mpw-font); color: var(--mpw-text);
  background: var(--mpw-bg); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.mpw-input:focus { border-color: var(--mpw-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.mpw-textarea { resize: vertical; min-height: 100px; }

/* FORM FOOTER */
.mpw-form-footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 20px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--mpw-border);
  display: flex; justify-content: center;
  z-index: 90; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.mpw-form-footer #mpw-save-btn {
  width: 100%; max-width: 400px; padding: 14px;
  font-size: 15px; border-radius: 12px;
}

/* UPLOAD BOX */
.mpw-upload-box {
  border: 2px dashed var(--mpw-border-2); border-radius: var(--mpw-radius-sm);
  padding: 24px; text-align: center; cursor: pointer; position: relative;
  overflow: hidden; transition: border-color .18s, background .18s;
  background: var(--mpw-bg-2);
}
.mpw-upload-box:hover { border-color: var(--mpw-blue); background: var(--mpw-blue-lt); }
.mpw-upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mpw-upload-placeholder p { font-size: 14px; font-weight: 600; color: var(--mpw-text-3); }
.mpw-upload-placeholder small { font-size: 11px; color: var(--mpw-text-4); }
.mpw-file-inp { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.mpw-logo-preview { max-width: 180px; max-height: 180px; object-fit: contain; border-radius: 12px; }
.mpw-logo-remove {
  display: block; margin: 8px auto 0;
  background: none; border: 1px solid #fecaca; color: var(--mpw-red);
  border-radius: 8px; padding: 4px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.mpw-logo-remove:hover { background: var(--mpw-red-lt); }

/* GALERÍA */
.mpw-gallery-editor {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px;
}
.mpw-gal-thumb {
  position: relative; aspect-ratio: 1; border-radius: 10px;
  overflow: hidden; border: 2px solid var(--mpw-border);
}

.mpw-gal-thumb,
.mpw-galeria-grid img {
  overflow: hidden;
  cursor: pointer;
}

.mpw-galeria-grid img {
  transition: transform .35s ease;
}

.mpw-galeria-grid img:hover,
.mpw-galeria-grid img:active {
  transform: scale(1.06);
}

.mpw-gal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.mpw-gal-thumb img:hover,
.mpw-gal-thumb img:active {
  transform: scale(1.06);
}

.mpw-gal-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  background: rgba(0,0,0,.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}
.mpw-gal-remove:hover { background: #dc2626; }

.mpw-gal-remove:hover { background: var(--mpw-red); }
.mpw-gal-add {
  aspect-ratio: 1; border-radius: 10px; border: 2px dashed var(--mpw-border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--mpw-text-4); cursor: pointer;
  position: relative; overflow: hidden; transition: all .18s;
}
.mpw-gal-add:hover { border-color: var(--mpw-blue); color: var(--mpw-blue); background: var(--mpw-blue-lt); }

/* SERVICIOS */
.mpw-servicios-editor {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
  margin-bottom: 8px;
}
.mpw-srv-slot { display: flex; flex-direction: column; gap: 6px; }
.mpw-srv-img-box {
  aspect-ratio: 1; border-radius: var(--mpw-radius-sm);
  border: 2px dashed var(--mpw-border-2); overflow: hidden;
  cursor: pointer; position: relative; background: var(--mpw-bg-2);
  transition: all .18s;
}
.mpw-srv-img-box:hover { border-color: var(--mpw-blue); background: var(--mpw-blue-lt); }
.mpw-srv-img-box img { width: 100%; height: 100%; object-fit: cover; }
.mpw-srv-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  color: var(--mpw-text-4);
}
.mpw-srv-placeholder span  { font-size: 24px; }
.mpw-srv-placeholder small { font-size: 10px; font-weight: 600; }
.mpw-srv-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  background: rgba(0,0,0,.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}
.mpw-srv-remove:hover { background: #dc2626; }
.mpw-srv-nombre { font-size: 12px; padding: 6px 10px; }

/* UPLOAD STATUS */
.mpw-upload-status {
  font-size: 12px; color: var(--mpw-blue); font-weight: 600;
  padding: 8px 0; text-align: center;
}

/* ESTADÍSTICAS */
.mpw-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (min-width: 500px) { .mpw-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.mpw-stat-card {
  background: var(--mpw-bg-2); border: 1px solid var(--mpw-border);
  border-radius: var(--mpw-radius-sm); padding: 16px 12px; text-align: center;
}
.mpw-stat-icon  { font-size: 22px; margin-bottom: 6px; }
.mpw-stat-num   { font-size: 26px; font-weight: 800; color: var(--mpw-blue); }
.mpw-stat-label { font-size: 11px; color: var(--mpw-text-3); font-weight: 600; margin-top: 4px; }

/* SUSCRIPCIÓN */
.mpw-sub-status {
  border-radius: var(--mpw-radius-sm); padding: 16px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid;
}
.mpw-sub-active   { background: var(--mpw-green-lt); border-color: #bbf7d0; }
.mpw-sub-trial    { background: var(--mpw-blue-lt);  border-color: var(--mpw-blue-mid); }
.mpw-sub-inactive { background: var(--mpw-red-lt);   border-color: #fecaca; }
.mpw-sub-icon  { font-size: 22px; flex-shrink: 0; }
.mpw-sub-info  { font-size: 13px; }
.mpw-sub-info strong { font-weight: 800; font-size: 14px; display: block; margin-bottom: 4px; }
.mpw-pricing-box   { background: var(--mpw-bg-2); border: 1px solid var(--mpw-border); border-radius: var(--mpw-radius-sm); padding: 20px; text-align: center; }
.mpw-pricing-price { font-size: 15px; font-weight: 700; color: var(--mpw-text); }
.mpw-pricing-num   { font-size: 32px; font-weight: 800; color: var(--mpw-blue); }

/* ================================================================
   LANDING PAGE PÚBLICA (single-negocio.php)
   ================================================================ */

.mpw-landing-page {
  font-family: var(--mpw-font);
  background: var(--mpw-bg);
  color: var(--mpw-text);
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mpw-landing-page {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* TOP BAR */
.mpw-topbar {
  background: var(--mpw-bg);
  border-bottom: 1px solid var(--mpw-border);
  padding: 10px 18px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.mpw-topbar-brand { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mpw-text-3); font-weight: 500; }
.mpw-topbar-brand strong { color: var(--mpw-blue); font-weight: 700; }
.mpw-topbar-cta {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--mpw-blue); color: #fff;
  font-family: var(--mpw-font); font-size: 11px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; text-decoration: none; border: none;
  cursor: pointer; transition: all .18s;
}
.mpw-topbar-cta:hover { background: var(--mpw-blue-dk); }
.mpw-topbar-cta s { color: rgba(255,255,255,.5); font-weight: 400; margin: 0 2px; }

/* HERO */
.mpw-hero { padding: 28px 20px 20px; text-align: center; }
.mpw-verified {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--mpw-green-lt); color: var(--mpw-green);
  border: 1px solid #bbf7d0; border-radius: 100px;
  font-size: 11px; font-weight: 600; padding: 4px 12px; margin-bottom: 16px;
}
.mpw-verified-dot {
  width: 6px; height: 6px; background: var(--mpw-green);
  border-radius: 50%; animation: mpw-blink 2s ease-in-out infinite;
}
@keyframes mpw-blink { 0%,100% { opacity:1 } 50% { opacity:.3 } }

.mpw-hero-img {
  width: 180px; height: 200px; margin: 0 auto 20px;
  border-radius: 20px; overflow: hidden;
  border: 3px solid var(--mpw-blue-mid); background: var(--mpw-blue-lt);
}
.mpw-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mpw-hero-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 56px; }
.mpw-hero-name { font-family: var(--mpw-font-serif); font-size: 30px; font-weight: 700; color: var(--mpw-blue); letter-spacing: -.5px; line-height: 1.1; margin-bottom: 6px; }
.mpw-hero-subtitulo { font-size: 13px; font-weight: 600; color: var(--mpw-text-3); margin-bottom: 10px; }
.mpw-hero-desc { font-size: 13px; color: var(--mpw-text-3); line-height: 1.7; margin-bottom: 24px; padding: 0 4px; }

/* BOTONES CTA HERO */
.mpw-cta-stack { padding: 0 20px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.mpw-cta-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.mpw-btn-call {
  background: var(--mpw-blue); color: #fff; border: none;
  border-radius: 14px; padding: 14px;
  font-family: var(--mpw-font); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; text-decoration: none; transition: all .18s;
}
.mpw-btn-call:hover { background: var(--mpw-blue-dk); transform: translateY(-1px); }
.mpw-btn-wha  { background: #25d366; }
.mpw-btn-wha:hover  { background: #1da851; }
.mpw-btn-call-outline {
  background: #fff; color: var(--mpw-text-2); border: 2px solid var(--mpw-border-2);
  border-radius: 14px; padding: 12px;
  font-family: var(--mpw-font); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none; transition: all .18s;
}
.mpw-btn-call-outline:hover { border-color: var(--mpw-blue); color: var(--mpw-blue); }

/* SECCIONES */
.mpw-section-card {
  background: var(--mpw-bg);
  border: 1px solid var(--mpw-border);
  border-radius: var(--mpw-radius);
  padding: 20px; margin: 0 16px 16px;
}
.mpw-section-title {
  font-size: 14px; font-weight: 800; color: var(--mpw-text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 7px;
}
.mpw-section-title span { font-size: 16px; }

/* INFO CHIPS */
.mpw-info-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mpw-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--mpw-bg-3); border: 1px solid var(--mpw-border);
  border-radius: 100px; font-size: 12px; font-weight: 600;
  color: var(--mpw-text-2); padding: 4px 12px;
}
.mpw-chip-blue { background: var(--mpw-blue-lt); border-color: var(--mpw-blue-mid); color: var(--mpw-blue); }

/* SERVICIOS LANDING */
.mpw-servicios-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.mpw-servicio-card {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--mpw-border); background: var(--mpw-bg-2);
}
.mpw-servicio-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mpw-servicio-nombre { font-size: 12px; font-weight: 700; text-align: center; padding: 8px; color: var(--mpw-text-2); }

/* GALERÍA LANDING */
.mpw-galeria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mpw-galeria-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--mpw-border);
  display: block;
}
/* RESEÑAS */
.mpw-reviews-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mpw-review-card {
  background: var(--mpw-bg-3);
  border-radius: 12px;
  padding: 10px;
}
.mpw-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 4px;
}
.mpw-review-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--mpw-text);
  line-height: 1.3;
}
.mpw-review-stars {
  font-size: 10px;
  color: #f59e0b;
  flex-shrink: 0;
}
.mpw-review-text {
  font-size: 11px;
  color: var(--mpw-text-3);
  line-height: 1.5;
}

/* CONTACTO LANDING */
.mpw-contact-list { display: flex; flex-direction: column; gap: 8px; }
.mpw-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--mpw-text-2); text-decoration: none;
  padding: 8px; border-radius: 10px; transition: background .15s;
}
.mpw-contact-item:hover { background: var(--mpw-bg-3); }
.mpw-contact-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--mpw-blue-lt); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }

/* REDES SOCIALES LANDING */
.mpw-redes-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mpw-red-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--mpw-bg-3); border: 1px solid var(--mpw-border);
  border-radius: 10px; padding: 9px 14px; font-size: 13px; font-weight: 700;
  color: var(--mpw-text-2); text-decoration: none; transition: all .15s;
}
.mpw-red-btn:hover { transform: translateY(-1px); box-shadow: var(--mpw-shadow-md); }

/* MAPA */
.mpw-map-wrap { margin: 0 16px 16px; border-radius: var(--mpw-radius); overflow: hidden; border: 1px solid var(--mpw-border); }
.mpw-map-wrap iframe { display: block; width: 100%; height: 200px; border: none; }

/* VIDEO YOUTUBE */
.mpw-video-wrap { margin: 0 16px 16px; border-radius: var(--mpw-radius); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.mpw-video-wrap iframe { width: 100%; height: 100%; border: none; }

/* NAV STICKY BOTTOM LANDING */
.mpw-sticky-bottom {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--mpw-border); padding: 10px 16px;
  display: flex; gap: 8px; z-index: 100;
  max-width: 480px; margin: 0 auto;
}
.mpw-sticky-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 12px; padding: 11px; font-family: var(--mpw-font);
  font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: all .18s;
}
.mpw-sticky-btn-wha { background: #25d366; color: #fff; }
.mpw-sticky-btn-call { background: var(--mpw-blue); color: #fff; }
.mpw-sticky-btn-loc  { background: var(--mpw-bg-3); color: var(--mpw-text-2); border: 1px solid var(--mpw-border); }
.mpw-sticky-btn-share { background: var(--mpw-bg-3); color: var(--mpw-text-2); border: 1px solid var(--mpw-border); }

/* FOOTER LANDING */
.mpw-footer {
  padding: 20px 20px 100px; text-align: center;
  font-size: 11px; color: var(--mpw-text-4);
  border-top: 1px solid var(--mpw-border); margin: 16px 16px 0;
}
.mpw-footer a { color: var(--mpw-blue); text-decoration: none; font-weight: 700; }

/* ANIMACIONES */
@keyframes mpwFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mpw-panel-greeting, .mpw-tabs-nav, .mpw-tab-pane.active { animation: mpwFadeIn .25s ease; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .mpw-panel-greeting { padding: 16px 16px 0; }
  .mpw-panel-body     { padding: 12px 14px 90px; }
  .mpw-tabs-nav       { padding: 8px 14px 0; margin: 8px auto 0; }
  .mpw-card           { padding: 18px; }
  .mpw-greeting-h1    { font-size: 19px; }
}

/* TOAST */
@keyframes mpwToastIn {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}
.mpw-toast {
  position: fixed; bottom: 80px; right: 20px; z-index: 9999;
  background: var(--mpw-text); color: #fff;
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 700; font-family: var(--mpw-font);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  animation: mpwToastIn .22s ease;
}
.mpw-toast-success { background: var(--mpw-green); }
.mpw-toast-error   { background: var(--mpw-red); }




/* ================================================================
   OVERLAY NEGOCIO INACTIVO
   ================================================================ */

#mpw-inactive-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* Fondo con blur que deja ver el negocio desenfocado detrás */
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: mpwOverlayIn .3s ease;
}

@keyframes mpwOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mpw-inactive-box {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  animation: mpwBoxIn .35s cubic-bezier(.34,1.56,.64,1);
}

@keyframes mpwBoxIn {
  from { opacity: 0; transform: scale(.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.mpw-inactive-icon {
  font-size: 52px;
  margin-bottom: 16px;
  line-height: 1;
}

.mpw-inactive-box h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.mpw-inactive-box > p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.mpw-inactive-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 20px 0;
}

.mpw-inactive-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.mpw-inactive-btn-panel {
  display: inline-block;
  background: #f1f5f9;
  color: #334155;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s;
  margin-bottom: 20px;
}
.mpw-inactive-btn-panel:hover {
  background: #e2e8f0;
}

.mpw-inactive-cta-wrap {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 16px;
}

.mpw-inactive-cta-wrap p {
  font-size: 12px;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 10px;
}

.mpw-inactive-btn-reg {
  display: block;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: all .18s;
}
.mpw-inactive-btn-reg:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}



/* ── FREEMIUM LOCKS ── */
.mpw-stat-locked {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
    opacity: .6;
}

.mpw-locked-overlay-card {
    text-align: center;
    padding: 24px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 14px;
}

.mpw-freemium-lock-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    font-size: 14px;
    color: #92400e;
    width: 100%;
}