/* ================================================================
   ECOSISTEMA360 MALL — mall.css
   Diseño responsivo: 4 cols desktop → 2 tablet → 1 móvil
   3 niveles visuales: Básico, Stand, Premium/Tienda Ancla
   ================================================================ */

/* ── Variables ── */
:root {
  --gold:       #c8a84b;
  --gold-l:     #e2c46a;
  --gold-d:     #a6882e;
  --gold-bg:    rgba(200,168,75,.09);
  --dark:       #0a0a0a;
  --dark2:      #111318;
  --dark3:      #1a1d24;
  --surface:    #16191f;
  --surface2:   #1e2229;
  --border:     rgba(255,255,255,.08);
  --border-l:   rgba(255,255,255,.13);
  --white:      #f8f9fa;
  --white2:     #ffffff;
  --gray:       #94a3b8;
  --gray-l:     #cbd5e1;
  --blue:       #3b7ddd;
  --blue-l:     rgba(59,125,221,.12);
  --green:      #2d9e6b;
  --red:        #e05555;
  --r:          10px;
  --r-lg:       16px;
  --r-xl:       20px;
  --shadow:     0 2px 16px rgba(0,0,0,.35);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.55);
  --glow:       0 0 24px rgba(200,168,75,.22);
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ── */
.emall-wrap, .emall-wrap * { box-sizing: border-box; }
.emall-wrap { font-family: var(--font); color: var(--white); max-width: 1280px; margin: 0 auto; padding: 0 16px 60px; }
.emall-wrap a { text-decoration: none; }
.emall-wrap img { max-width: 100%; height: auto; display: block; }

/* ================================================================
   HERO
   ================================================================ */
.emall-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  border-radius: var(--r-xl);
  padding: 52px 40px 40px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-l);
}
.emall-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% -10%, rgba(200,168,75,.15) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 90% 100%, rgba(59,125,221,.07) 0%, transparent 60%);
  pointer-events: none;
}
.emall-hero::after {
  content: '360°';
  position: absolute;
  right: -20px; top: 50%; transform: translateY(-50%);
  font-size: 12rem; font-weight: 900;
  color: rgba(200,168,75,.04); line-height: 1;
  pointer-events: none; user-select: none;
}
.emall-hero-content { position: relative; max-width: 680px; }
.emall-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(200,168,75,.12); border: 1px solid rgba(200,168,75,.28);
  color: var(--gold); padding: 5px 16px; border-radius: 50px;
  font-size: .76rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 18px;
}
.emall-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; line-height: 1.1; color: var(--white2);
  margin: 0 0 14px; letter-spacing: -.5px;
}
.emall-hero-accent { color: var(--gold); }
.emall-hero-sub { color: rgba(255,255,255,.58); font-size: 1rem; line-height: 1.65; margin-bottom: 26px; }

/* Hero search */
.emall-hero-search { margin-bottom: 20px; }
.emall-hero-search-box {
  display: flex; align-items: stretch;
  background: var(--surface); border: 1.5px solid var(--border-l);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color .2s, box-shadow .2s;
}
.emall-hero-search-box:focus-within { border-color: var(--gold); box-shadow: var(--shadow), var(--glow); }
.emall-search-ico { width: 20px; height: 20px; flex-shrink: 0; color: var(--gray); margin: 0 12px 0 16px; align-self: center; }
#emall-search-input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--font); font-size: 1rem; color: var(--white2);
  padding: 16px 0;
}
#emall-search-input::placeholder { color: rgba(255,255,255,.28); }
.emall-search-btn {
  background: var(--gold); color: var(--dark);
  border: none; padding: 0 28px; font-weight: 800;
  font-size: .9rem; cursor: pointer; font-family: var(--font);
  transition: background .15s; white-space: nowrap;
}
.emall-search-btn:hover { background: var(--gold-l); }

/* Quick cats */
.emall-quick-cats { display: flex; flex-wrap: wrap; gap: 7px; }
.emall-quick-cat {
  background: rgba(255,255,255,.06); border: 1px solid var(--border-l);
  color: rgba(255,255,255,.65); padding: 6px 14px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; cursor: pointer;
  font-family: var(--font); transition: all .14s;
}
.emall-quick-cat:hover,
.emall-quick-cat.active { background: var(--gold-bg); border-color: rgba(200,168,75,.35); color: var(--gold); }

/* Hero stats */
.emall-hero-stats {
  position: absolute; bottom: 32px; right: 40px;
  display: flex; align-items: center; gap: 14px;
  flex-direction: column;
}
.emall-hero-stat { text-align: center; }
.emall-hero-stat strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--gold); }
.emall-hero-stat span { font-size: .7rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .4px; }
.emall-hero-stat-div { height: 1px; width: 32px; background: rgba(255,255,255,.1); }
.emall-hero-publish-btn {
  background: var(--gold); color: var(--dark);
  padding: 10px 18px; border-radius: var(--r); font-weight: 800;
  font-size: .82rem; text-align: center; display: block;
  transition: background .15s; white-space: nowrap; margin-top: 8px;
}
.emall-hero-publish-btn:hover { background: var(--gold-l); color: var(--dark); }

/* ================================================================
   GUIDE BAR
   ================================================================ */
.emall-guide-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 16px; padding: 0 4px;
}
.emall-guide-item {
  display: flex; align-items: flex-start; gap: 10px;
  flex: 1; min-width: 200px;
  padding: 12px 16px; border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
}
.emall-guide-item > span { font-size: 1.2rem; flex-shrink: 0; padding-top: 1px; }
.emall-guide-item > div { display: flex; flex-direction: column; gap: 1px; }
.emall-guide-item strong { font-size: .84rem; color: var(--white2); }
.emall-guide-item span { font-size: .74rem; color: var(--gray); }
.emall-guide-prem { background: rgba(200,168,75,.07); border-color: rgba(200,168,75,.25); }
.emall-guide-stand { background: rgba(59,125,221,.06); border-color: rgba(59,125,221,.22); }
.emall-guide-basico { background: rgba(255,255,255,.02); }

/* ================================================================
   FILTERS
   ================================================================ */
.emall-filters-bar { margin-bottom: 14px; }
.emall-pills-wrap {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 10px;
}
.emall-pill {
  padding: 7px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border-l); background: transparent;
  color: var(--gray); font-family: var(--font); transition: all .14s;
}
.emall-pill:hover { border-color: var(--gold); color: var(--gold); }
.emall-pill-active { background: var(--gold); color: var(--dark) !important; border-color: var(--gold); }
.emall-dropdowns { display: flex; flex-wrap: wrap; gap: 8px; }
.emall-select {
  padding: 8px 12px; border-radius: var(--r); border: 1.5px solid var(--border-l);
  background: var(--surface); color: var(--white);
  font-family: var(--font); font-size: .84rem; cursor: pointer; outline: none;
  transition: border-color .15s;
}
.emall-select:focus { border-color: var(--gold); }
.emall-select option { background: var(--dark2); color: var(--white); }

/* ================================================================
   RESULTS BAR
   ================================================================ */
.emall-results-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 16px;
}
.emall-count { font-size: .87rem; color: var(--gray); }

/* ================================================================
   BUTTONS
   ================================================================ */
.emall-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--r);
  font-size: .87rem; font-weight: 700; cursor: pointer;
  border: none; font-family: var(--font); text-decoration: none;
  transition: all .15s; white-space: nowrap;
}
.emall-btn:hover { text-decoration: none; transform: translateY(-1px); }
.emall-btn-gold   { background: var(--gold); color: var(--dark); }
.emall-btn-gold:hover { background: var(--gold-l); color: var(--dark); }
.emall-btn-primary { background: var(--blue); color: #fff; }
.emall-btn-primary:hover { background: #2e6bc4; color: #fff; }
.emall-btn-outline { background: transparent; border: 1.5px solid var(--border-l); color: rgba(255,255,255,.8); }
.emall-btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.emall-btn-ghost  { background: var(--surface); border: 1px solid var(--border-l); color: var(--gray-l); }
.emall-btn-ghost:hover { border-color: var(--gold-d); color: var(--gold); }
.emall-btn-sm { padding: 7px 14px; font-size: .8rem; }
.emall-btn-lg { padding: 14px 28px; font-size: .96rem; border-radius: var(--r-lg); }
.emall-btn-block { display: flex; justify-content: center; width: 100%; }

/* ================================================================
   ⭐ PREMIUM — TIENDA ANCLA
   Fila completa, fondo dorado oscuro, video integrado
   ================================================================ */
.emall-premium-section { margin-bottom: 28px; }
.emall-premium-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gold); display: flex;
  align-items: center; gap: 8px; margin-bottom: 10px;
}
.emall-premium-title::after { content: ''; flex: 1; height: 1px; background: rgba(200,168,75,.25); }

.emall-card-premium {
  background: linear-gradient(135deg, #0d0b02 0%, #1a1508 100%);
  border: 1.5px solid rgba(200,168,75,.35);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: var(--shadow-lg), var(--glow);
  transition: box-shadow .25s, transform .2s;
  margin-bottom: 14px;
  position: relative;
}
.emall-card-premium:hover { box-shadow: 0 16px 60px rgba(0,0,0,.7), 0 0 40px rgba(200,168,75,.3); transform: translateY(-2px); }
.emall-card-premium::before {
  content: '⭐ TIENDA ANCLA';
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: var(--dark);
  font-size: .65rem; font-weight: 900; letter-spacing: .8px;
  padding: 4px 12px; border-radius: 20px;
  z-index: 2;
}

.emall-prem-media { position: relative; min-height: 240px; background: var(--dark3); overflow: hidden; }
.emall-prem-media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.emall-prem-media-placeholder { display: flex; align-items: center; justify-content: center; height: 240px; font-size: 4rem; background: linear-gradient(135deg, #111, #1a1508); }
.emall-prem-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; }
.emall-prem-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.emall-prem-info { padding: 28px 28px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.emall-prem-sector { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gold); margin-bottom: 6px; }
.emall-prem-nombre { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 900; color: var(--white2); margin-bottom: 8px; line-height: 1.1; }
.emall-prem-desc { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.emall-prem-services { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.emall-prem-service { background: rgba(200,168,75,.1); border: 1px solid rgba(200,168,75,.2); color: rgba(255,255,255,.7); font-size: .73rem; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.emall-prem-location { font-size: .8rem; color: rgba(255,255,255,.4); margin-bottom: 16px; display: flex; align-items: center; gap: 5px; }
.emall-prem-contact { display: flex; flex-direction: column; gap: 8px; }
.emall-prem-phone { color: var(--gold); font-size: 1.1rem; font-weight: 800; display: block; text-decoration: none; margin-bottom: 4px; }
.emall-prem-phone:hover { color: var(--gold-l); }
.emall-prem-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ================================================================
   🔵 STAND DIGITAL — Grid 2-3 cols, con imagen
   ================================================================ */
.emall-stand-section { margin-bottom: 24px; }
.emall-stand-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--blue); display: flex;
  align-items: center; gap: 8px; margin-bottom: 10px;
}
.emall-stand-title::after { content: ''; flex: 1; height: 1px; background: rgba(59,125,221,.25); }

.emall-stand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.emall-card-stand {
  background: var(--surface);
  border: 1.5px solid rgba(59,125,221,.28);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
}
.emall-card-stand:hover { border-color: rgba(59,125,221,.6); box-shadow: 0 8px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(59,125,221,.15); transform: translateY(-3px); }

.emall-stand-img {
  height: 160px; overflow: hidden; background: var(--dark3);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative;
}
.emall-stand-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.emall-card-stand:hover .emall-stand-img img { transform: scale(1.04); }
.emall-stand-badge { position: absolute; top: 10px; left: 10px; background: var(--blue); color: #fff; font-size: .65rem; font-weight: 800; padding: 3px 10px; border-radius: 20px; }
.emall-stand-logo {
  position: absolute; bottom: -20px; right: 14px;
  width: 44px; height: 44px; border-radius: 10px;
  border: 2px solid var(--surface); background: var(--surface2);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.emall-stand-logo img { width: 100%; height: 100%; object-fit: cover; }

.emall-stand-body { padding: 26px 16px 14px; flex: 1; display: flex; flex-direction: column; }
.emall-stand-sector { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--blue); margin-bottom: 4px; }
.emall-stand-nombre { font-size: 1rem; font-weight: 800; color: var(--white2); margin-bottom: 7px; }
.emall-stand-desc { font-size: .81rem; color: var(--gray); line-height: 1.5; margin-bottom: 10px; flex: 1; }
.emall-stand-services { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.emall-stand-service { background: var(--blue-l); color: rgba(255,255,255,.7); font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 5px; }
.emall-stand-location { font-size: .76rem; color: rgba(255,255,255,.35); margin-bottom: 12px; }

.emall-stand-footer { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.01); }
.emall-stand-phone { font-size: .85rem; font-weight: 700; color: var(--white2); text-decoration: none; }
.emall-stand-phone:hover { color: var(--gold); }

/* ================================================================
   ⚪ BÁSICO — Grid 4 cols, cards compactas
   ================================================================ */
.emall-basico-section { margin-bottom: 24px; }
.emall-basico-title {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gray); display: flex;
  align-items: center; gap: 8px; margin-bottom: 10px;
}
.emall-basico-title::after { content: ''; flex: 1; height: 1px; background: var(--border-l); }

/* THE KEY: 4 columns auto-fill */
.emall-basico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 10px;
}

/* BÁSICO: ultra compact — icon + name + category only (Craigslist-style) */
.emall-card-basico {
  background: var(--surface);
  border: 1px solid var(--border-l);
  border-radius: var(--r);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  text-align: center;
  transition: border-color .16s, background .16s, transform .16s;
  min-height: 90px;
  justify-content: center;
}
.emall-card-basico:hover {
  border-color: rgba(200,168,75,.35);
  background: rgba(200,168,75,.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.emall-basico-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; overflow: hidden; flex-shrink: 0;
}
.emall-basico-icon img { width: 100%; height: 100%; object-fit: cover; }
.emall-basico-nombre {
  font-size: .84rem; font-weight: 700; color: var(--white2);
  line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.emall-basico-sector { font-size: .7rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }

/* ================================================================
   MODAL
   ================================================================ */
.emall-modal-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(8,10,14,.82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; visibility: hidden;
  transition: opacity .22s, visibility .22s;
}
.emall-modal-overlay.open { opacity: 1; visibility: visible; }
.emall-modal {
  background: var(--surface);
  border: 1px solid var(--border-l);
  border-radius: var(--r-xl);
  padding: 28px; max-width: 580px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(20px); transition: transform .22s;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.emall-modal-overlay.open .emall-modal { transform: none; }
.emall-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--gray); font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .14s;
}
.emall-modal-close:hover { color: var(--white2); }

/* Modal content styles */
.emall-modal-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.emall-modal-logo { width: 60px; height: 60px; border-radius: 14px; overflow: hidden; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.emall-modal-logo img { width: 100%; height: 100%; object-fit: cover; }
.emall-modal-sector { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.emall-modal-nombre { font-size: 1.3rem; font-weight: 900; color: var(--white2); margin-bottom: 6px; }
.emall-modal-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.emall-modal-badge { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.emall-mb-premium { background: rgba(200,168,75,.15); color: var(--gold); border: 1px solid rgba(200,168,75,.3); }
.emall-mb-stand { background: var(--blue-l); color: #6ba3f7; border: 1px solid rgba(59,125,221,.3); }
.emall-mb-basico { background: rgba(255,255,255,.05); color: var(--gray); border: 1px solid var(--border-l); }

.emall-modal-section { margin-bottom: 18px; }
.emall-modal-section h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--gray); margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.emall-modal-desc { font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.65; }
.emall-modal-services { display: flex; flex-wrap: wrap; gap: 6px; }
.emall-modal-service { background: var(--surface2); border: 1px solid var(--border); color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 7px; }
.emall-modal-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.emall-modal-contact-item { background: var(--surface2); border: 1px solid var(--border); border-radius: 9px; padding: 12px; }
.emall-modal-contact-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.emall-modal-contact-val { font-size: .88rem; font-weight: 700; color: var(--white2); }
.emall-modal-contact-val a { color: var(--gold); }
.emall-modal-contact-val a:hover { color: var(--gold-l); }

.emall-modal-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.emall-modal-cta .emall-btn { flex: 1; text-align: center; justify-content: center; }

.emall-modal-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.emall-modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.emall-modal-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.emall-modal-social { padding: 8px 14px; border-radius: 8px; font-size: .8rem; font-weight: 700; text-decoration: none; transition: opacity .14s; }
.emall-modal-social:hover { opacity: .88; }
.emall-social-ig  { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366); color: #fff; }
.emall-social-fb  { background: #1877f2; color: #fff; }
.emall-social-li  { background: #0a66c2; color: #fff; }
.emall-social-yt  { background: #ff0000; color: #fff; }
.emall-social-web { background: var(--surface2); border: 1px solid var(--border); color: var(--white2); }

/* ================================================================
   LOADING & EMPTY
   ================================================================ */
.emall-loading { text-align: center; padding: 56px 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.emall-loading p { font-size: .9rem; color: var(--gray); }
.emall-spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,.08);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.emall-empty { text-align: center; padding: 64px 20px; }
.emall-empty-ico { font-size: 3.5rem; display: block; margin-bottom: 16px; }
.emall-empty h3 { font-size: 1.3rem; font-weight: 800; color: var(--white2); margin-bottom: 8px; }
.emall-empty p { color: var(--gray); margin-bottom: 20px; }

/* ================================================================
   PAGINATION
   ================================================================ */
.emall-pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 32px 0 0; }
.emall-page-btn {
  width: 40px; height: 40px; border-radius: var(--r);
  border: 1.5px solid var(--border-l); background: var(--surface);
  color: var(--gray); font-size: .85rem; font-weight: 600;
  cursor: pointer; font-family: var(--font);
  display: flex; align-items: center; justify-content: center;
  transition: all .14s;
}
.emall-page-btn:hover { border-color: var(--gold); color: var(--gold); }
.emall-page-btn.active { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ================================================================
   REGISTER FORM
   ================================================================ */
.emall-form-wrap { background: var(--surface); border: 1px solid var(--border-l); border-radius: var(--r-xl); padding: 30px; max-width: 800px; margin: 0 auto; }
.emall-form-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.emall-form-header-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-bg); border: 1px solid rgba(200,168,75,.2); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.emall-form-header h2 { font-size: 1.3rem; font-weight: 800; color: var(--white2); margin: 0 0 4px; }
.emall-form-header p { font-size: .85rem; color: var(--gray); margin: 0; }
.emall-section { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.emall-section:last-child { border-bottom: none; }
.emall-section-title { font-size: 1rem; font-weight: 800; color: var(--white2); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.emall-section-private { background: rgba(200,168,75,.04); border: 1px solid rgba(200,168,75,.15); border-radius: var(--r-lg); padding: 18px; }
.emall-private-pill { background: rgba(200,168,75,.12); color: var(--gold); font-size: .68rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.emall-public-pill { background: rgba(59,125,221,.1); color: #93c5fd; font-size: .68rem; font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.emall-hint { font-size: .82rem; color: var(--gray); background: var(--surface2); border-radius: 7px; padding: 8px 12px; border-left: 3px solid var(--gold); margin-bottom: 14px; }
.emall-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.emall-field { display: flex; flex-direction: column; gap: 5px; }
.emall-full { grid-column: span 2; }
.emall-field label { font-size: .83rem; font-weight: 600; color: rgba(255,255,255,.75); }
.emall-req { color: var(--red); }
.emall-field input, .emall-field select, .emall-field textarea {
  border: 1.5px solid var(--border-l); border-radius: var(--r);
  padding: 10px 13px; font-size: .9rem; color: var(--white2);
  background: rgba(255,255,255,.04); font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.emall-field input:focus, .emall-field select:focus, .emall-field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200,168,75,.1); }
.emall-field textarea { min-height: 100px; resize: vertical; }
.emall-field select { cursor: pointer; }
.emall-field select option { background: var(--dark2); }
.emall-rut-msg { font-size: .75rem; min-height: 16px; }
.emall-rut-msg.ok { color: var(--green); }
.emall-rut-msg.err { color: var(--red); }
/* Tipo */
.emall-tipo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.emall-tipo-option { border: 1.5px solid var(--border-l); border-radius: var(--r-lg); padding: 16px; cursor: pointer; transition: all .15s; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; user-select: none; }
.emall-tipo-option input { display: none; }
.emall-tipo-option:hover, .emall-tipo-option.active { border-color: var(--gold); background: var(--gold-bg); }
.emall-tipo-ico { font-size: 1.8rem; }
.emall-tipo-option strong { font-size: .9rem; color: var(--white2); }
.emall-tipo-option .emall-tipo-sub { font-size: .76rem; color: var(--gray); }
/* Plan selector */
.emall-plan-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.emall-plan-option { border: 1.5px solid var(--border-l); border-radius: var(--r-lg); padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; user-select: none; transition: all .15s; }
.emall-plan-option input { display: none; }
.emall-plan-badge { font-size: .78rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; text-align: center; }
.emall-plan-badge-basico { background: rgba(255,255,255,.06); color: var(--gray); }
.emall-plan-badge-stand { background: var(--blue-l); color: #6ba3f7; }
.emall-plan-badge-premium { background: var(--gold-bg); color: var(--gold); }
.emall-plan-option ul { list-style: none; padding: 0; margin: 0; font-size: .78rem; color: var(--gray); display: flex; flex-direction: column; gap: 4px; line-height: 1.4; }
.emall-plan-option.active, .emall-plan-option:has(input:checked) { border-color: var(--gold); background: rgba(200,168,75,.04); }
.emall-plan-option.emall-plan-stand.active { border-color: var(--blue); background: var(--blue-l); }
/* Terms */
.emall-section-terms { background: rgba(59,125,221,.05); border: 1px solid rgba(59,125,221,.15); border-radius: var(--r-lg); padding: 18px; }
.emall-check-label { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: rgba(255,255,255,.8); cursor: pointer; margin-bottom: 10px; }
.emall-check-label:last-child { margin-bottom: 0; }
.emall-check-label input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; }
.emall-check-label a { color: var(--gold); }
.emall-form-footer { text-align: center; padding-top: 16px; }
.emall-form-note { font-size: .76rem; color: var(--gray); margin-top: 10px; }
#emall-form-msg { padding: 12px 16px; border-radius: var(--r); font-size: .88rem; font-weight: 600; margin-top: 14px; }
#emall-form-msg.ok  { background: rgba(45,158,107,.12); border: 1px solid rgba(45,158,107,.3); color: #52c896; }
#emall-form-msg.err { background: rgba(224,85,85,.12); border: 1px solid rgba(224,85,85,.3); color: #f08080; }

/* ================================================================
   ACCOUNT PAGE
   ================================================================ */
.emall-account { max-width: 900px; margin: 0 auto; }
.emall-account-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.emall-account-header h2 { font-size: 1.3rem; font-weight: 800; color: var(--white2); margin: 0; }
.emall-account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.emall-account-card { background: var(--surface); border: 1.5px solid var(--border-l); border-radius: var(--r-lg); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.emall-account-card.emall-plan-premium { border-color: rgba(200,168,75,.35); }
.emall-account-card.emall-plan-stand   { border-color: rgba(59,125,221,.3); }
.emall-account-card-top { display: flex; align-items: flex-start; gap: 12px; }
.emall-account-thumb { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); flex-shrink: 0; }
.emall-account-thumb-placeholder { width: 48px; height: 48px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.emall-account-badges { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.emall-badge { font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.emall-badge-basico  { background: rgba(255,255,255,.05); color: var(--gray); border: 1px solid var(--border-l); }
.emall-badge-stand   { background: var(--blue-l); color: #6ba3f7; border: 1px solid rgba(59,125,221,.3); }
.emall-badge-premium { background: var(--gold-bg); color: var(--gold); border: 1px solid rgba(200,168,75,.3); }
.emall-badge-status-publish { background: rgba(45,158,107,.12); color: #52c896; border: 1px solid rgba(45,158,107,.3); }
.emall-badge-status-pending { background: rgba(200,168,75,.1); color: var(--gold); border: 1px solid rgba(200,168,75,.25); }
.emall-badge-status-draft   { background: rgba(255,255,255,.06); color: var(--gray); border: 1px solid var(--border-l); }
.emall-account-actions { display: flex; gap: 7px; flex-wrap: wrap; }

/* Login gate */
.emall-gate { display: flex; justify-content: center; padding: 52px 20px; }
.emall-gate-box { background: var(--surface); border: 1px solid var(--border-l); border-radius: var(--r-xl); padding: 40px; max-width: 440px; text-align: center; }
.emall-gate-icon { font-size: 2.5rem; display: block; margin-bottom: 14px; }
.emall-gate-box h3 { font-size: 1.2rem; font-weight: 800; color: var(--white2); margin-bottom: 8px; }
.emall-gate-box p { color: var(--gray); font-size: .88rem; margin-bottom: 20px; }
.emall-gate-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Empty */
.emall-empty-ico { font-size: 3rem; display: block; margin-bottom: 12px; }

/* ================================================================
   RESPONSIVE — THE IMPORTANT PART
   ================================================================ */

/* Tablet: Stand goes 2 cols, Básico stays auto (3-4 cols) */
@media (max-width: 1024px) {
  .emall-hero { padding: 36px 28px 32px; }
  .emall-hero-stats { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 20px; }
  .emall-hero::after { display: none; }
  .emall-card-premium { grid-template-columns: 1fr; }
  .emall-prem-media { min-height: 200px; }
  .emall-plan-grid { grid-template-columns: 1fr; }
  .emall-guide-bar { gap: 8px; }
}

/* Mobile: everything 1 column */
@media (max-width: 640px) {
  .emall-hero { padding: 24px 18px; border-radius: var(--r-lg); }
  .emall-hero-title { font-size: 1.9rem; }
  .emall-search-btn { padding: 0 16px; font-size: .82rem; }
  .emall-guide-bar { display: none; } /* Simplify on mobile */
  .emall-basico-grid { grid-template-columns: 1fr; } /* 1 col on mobile */
  .emall-stand-grid  { grid-template-columns: 1fr; }
  .emall-grid-2 { grid-template-columns: 1fr; }
  .emall-full { grid-column: span 1; }
  .emall-tipo-grid { grid-template-columns: 1fr; }
  .emall-modal-contact-grid { grid-template-columns: 1fr; }
  .emall-form-wrap { padding: 20px 16px; }
  .emall-prem-info { padding: 18px; }
}

/* Specific: 2 cols on small tablet for básico */
@media (min-width: 480px) and (max-width: 639px) {
  .emall-basico-grid { grid-template-columns: 1fr 1fr; }
}

/* 3+ cols on medium */
@media (min-width: 640px) and (max-width: 899px) {
  .emall-basico-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 4 cols on large */
@media (min-width: 900px) {
  .emall-basico-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================
   MODAL CONTACT FORM
   ================================================================ */
.emall-mf-wrap { margin-top: 4px; }
.emall-mf-wrap h4 { color: var(--gold) !important; }
.emall-modal-form { display: flex; flex-direction: column; gap: 8px; }
.emall-mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.emall-mf-input, .emall-mf-textarea {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1.5px solid var(--border-l);
  border-radius: var(--r);
  padding: 10px 13px;
  font-family: var(--font);
  font-size: .88rem;
  color: var(--white2);
  transition: border-color .15s;
}
.emall-mf-input:focus, .emall-mf-textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,168,75,.1);
}
.emall-mf-input::placeholder, .emall-mf-textarea::placeholder { color: rgba(255,255,255,.25); }
.emall-mf-textarea { min-height: 80px; resize: vertical; }
.emall-mf-btn { margin-top: 4px; }
.emall-mf-ok  { padding: 10px 14px; background: rgba(45,158,107,.12); border: 1px solid rgba(45,158,107,.3); color: #52c896; border-radius: var(--r); font-size: .87rem; font-weight: 600; margin-top: 8px; }
.emall-mf-err { padding: 10px 14px; background: rgba(224,85,85,.12); border: 1px solid rgba(224,85,85,.3); color: #f08080; border-radius: var(--r); font-size: .87rem; font-weight: 600; margin-top: 8px; }

/* Instagram CTA button */
.emall-btn-ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}
.emall-btn-ig:hover { opacity: .9; color: #fff; }

/* Mobile: stack contact form */
@media (max-width: 540px) {
  .emall-mf-row { grid-template-columns: 1fr; }
  .emall-modal-cta { flex-direction: column; }
  .emall-modal-cta .emall-btn { width: 100%; justify-content: center; }
}

/* ================================================================
   PLANS BAR — precios visibles
   ================================================================ */
.emall-plans-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.emall-plan-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 18px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border-l);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
}
.emall-plan-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.emall-plan-card-basico:hover { border-color: rgba(255,255,255,.25); }
.emall-plan-card-stand:hover   { border-color: rgba(59,125,221,.6); }
.emall-plan-card-premium { border-color: rgba(200,168,75,.35); background: linear-gradient(135deg,#0d0b02,#1a1508); }
.emall-plan-card-premium:hover { border-color: rgba(200,168,75,.7); box-shadow: 0 8px 32px rgba(0,0,0,.5), var(--glow); }
.emall-plan-badge { font-size: .78rem; font-weight: 800; padding: 5px 12px; border-radius: 20px; display: inline-block; width: fit-content; }
.emall-plan-badge-basico  { background: rgba(255,255,255,.07); color: var(--gray); }
.emall-plan-badge-stand   { background: var(--blue-l); color: #6ba3f7; }
.emall-plan-badge-premium { background: var(--gold-bg); color: var(--gold); }
.emall-plan-price {
  font-size: 1.4rem; font-weight: 900; color: var(--white2); line-height: 1;
}
.emall-plan-card-premium .emall-plan-price { color: var(--gold); }
.emall-plan-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 5px;
  font-size: .8rem; color: rgba(255,255,255,.65); flex: 1;
}
.emall-plan-cta {
  font-size: .82rem; font-weight: 700;
  color: var(--gold); margin-top: 4px;
}

/* ================================================================
   HERO RIGHT
   ================================================================ */
.emall-hero-right {
  position: absolute; bottom: 28px; right: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.emall-hero-stats { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.emall-hero-stat { text-align: center; }
.emall-hero-stat strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.emall-hero-stat span { font-size: .7rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .4px; }
.emall-hero-stat-sep { width: 30px; height: 1px; background: rgba(255,255,255,.1); }
.emall-hero-publish {
  background: var(--gold); color: var(--dark);
  padding: 10px 16px; border-radius: var(--r);
  font-weight: 800; font-size: .82rem; text-decoration: none;
  white-space: nowrap; text-align: center;
}
.emall-hero-publish:hover { background: var(--gold-l); color: var(--dark); text-decoration: none; }

/* ================================================================
   SÍGUEME Y TE SIGO
   ================================================================ */
.emall-sigueme {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  border: 1.5px solid rgba(200,168,75,.2);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin-top: 36px;
}
.emall-sigueme-inner {
  display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap;
}
.emall-sigueme-icon { font-size: 2.4rem; flex-shrink: 0; }
.emall-sigueme-text { flex: 1; min-width: 240px; }
.emall-sigueme-text h3 {
  font-size: 1.15rem; font-weight: 800; color: var(--white2);
  margin: 0 0 7px;
}
.emall-sigueme-text p {
  font-size: .88rem; color: rgba(255,255,255,.6);
  line-height: 1.6; margin-bottom: 14px;
}
.emall-sigueme-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.emall-btn-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.emall-btn-ig:hover { opacity: .9; color: #fff; }
.emall-btn-yt { background: #ff0000; color: #fff; }
.emall-btn-yt:hover { background: #cc0000; color: #fff; }
.emall-sigueme-checklist { flex-shrink: 0; min-width: 200px; }

/* ================================================================
   MODAL CONTACT FORM
   ================================================================ */
.emall-mf-wrap { margin-top: 4px; }
.emall-mf-wrap h4 { color: var(--gold) !important; }
.emall-modal-form { display: flex; flex-direction: column; gap: 8px; }
.emall-mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.emall-mf-input, .emall-mf-textarea {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1.5px solid var(--border-l); border-radius: var(--r);
  padding: 10px 13px; font-family: var(--font); font-size: .88rem; color: var(--white2);
  transition: border-color .15s;
}
.emall-mf-input:focus, .emall-mf-textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200,168,75,.1); }
.emall-mf-input::placeholder, .emall-mf-textarea::placeholder { color: rgba(255,255,255,.25); }
.emall-mf-textarea { min-height: 80px; resize: vertical; }
.emall-mf-ok  { padding: 10px 14px; background: rgba(45,158,107,.12); border: 1px solid rgba(45,158,107,.3); color: #52c896; border-radius: var(--r); font-size: .87rem; font-weight: 600; margin-top: 8px; }
.emall-mf-err { padding: 10px 14px; background: rgba(224,85,85,.12); border: 1px solid rgba(224,85,85,.3); color: #f08080; border-radius: var(--r); font-size: .87rem; font-weight: 600; margin-top: 8px; }

/* ================================================================
   RESPONSIVE FIXES
   ================================================================ */
@media (max-width: 900px) {
  .emall-plans-bar { grid-template-columns: 1fr; }
  .emall-hero-right { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
  .emall-hero-stats { flex-direction: row; align-items: center; gap: 12px; }
  .emall-hero-stat-sep { width: 1px; height: 30px; }
  .emall-hero::after { display: none; }
}
@media (max-width: 640px) {
  .emall-sigueme { padding: 20px; }
  .emall-sigueme-inner { flex-direction: column; }
  .emall-mf-row { grid-template-columns: 1fr; }
  .emall-modal-cta { flex-direction: column; }
  .emall-modal-cta .emall-btn { width: 100%; justify-content: center; }
  .emall-plans-bar { grid-template-columns: 1fr; }
}

/* Price display in cards */
.emall-basico-price { font-size: .72rem; font-weight: 700; color: var(--gray); background: rgba(255,255,255,.05); padding: 2px 8px; border-radius: 8px; width: fit-content; margin: 0 auto; }
.emall-stand-price { font-size: .75rem; font-weight: 700; color: #6ba3f7; background: var(--blue-l); padding: 3px 9px; border-radius: 8px; width: fit-content; margin-bottom: 6px; }
.emall-prem-price { font-size: .82rem; font-weight: 700; color: var(--gold); background: rgba(200,168,75,.15); padding: 4px 12px; border-radius: 8px; width: fit-content; margin-bottom: 8px; }
.emall-mb-precio { background: rgba(200,168,75,.12); color: var(--gold); border: 1px solid rgba(200,168,75,.25); font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }

/* Stand card footer actions */
.emall-stand-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.emall-stand-ig-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: 7px;
  background: linear-gradient(135deg,#f09433,#dc2743,#bc1888);
  color: #fff; font-size: .75rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: opacity .15s;
}
.emall-stand-ig-btn:hover { opacity: .88; color: #fff; text-decoration: none; }
