:root {
  --bg: #0A0E1A;
  --surface: #111827;
  --surface2: #1E2840;
  --border: #2D3A52;
  --gold: #C9A84C;
  --gold-light: #F0C040;
  --text: #F1F5F9;
  --text-muted: #94A3B8;
  --green: #10B981;
  --amber: #F59E0B;
  --red: #EF4444;
  --radius: 12px;
  --header-h: 64px;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

/* ── UTILS ── */
.m26-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.m26-py-4 { padding-top: 32px; padding-bottom: 32px; }
.m26-py-6 { padding-top: 48px; padding-bottom: 48px; }
.m26-py-8 { padding-top: 64px; padding-bottom: 64px; }
.m26-py-12 { padding-top: 96px; padding-bottom: 96px; }
.m26-mt-4 { margin-top: 32px; }
.m26-gold { color: var(--gold-light); }
.m26-text-muted { color: var(--text-muted); }
.hidden { display: none !important; }
.text-center { text-align: center; }

/* ── BUTTONS ── */
.m26-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; white-space: nowrap; }
.m26-btn-gold { background: var(--gold); color: #0A0E1A; }
.m26-btn-gold:hover { background: var(--gold-light); }
.m26-btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.m26-btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.m26-btn-lg { padding: 14px 28px; font-size: 16px; }
.m26-btn-full { width: 100%; justify-content: center; }

/* ── BADGES ── */
.m26-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.m26-badge-green { background: rgba(16,185,129,.15); color: var(--green); }
.m26-badge-amber { background: rgba(245,158,11,.15); color: var(--amber); }
.m26-badge-red   { background: rgba(239,68,68,.15); color: var(--red); }
.m26-badge-gray  { background: rgba(148,163,184,.1); color: var(--text-muted); }

/* ── HEADER ── */
.m26-header { position: sticky; top: 0; z-index: 100; background: rgba(10,14,26,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); height: var(--header-h); }
.m26-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.m26-header-inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; gap: 24px; }
.m26-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.m26-logo-icon { width: 32px; height: 32px; background: var(--gold); color: #0A0E1A; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; }
.m26-logo-text { font-size: 18px; font-weight: 700; color: var(--text); }
.m26-logo-dot { color: var(--gold); }
.m26-nav { display: flex; align-items: center; gap: 4px; }
.m26-nav-link { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-muted); transition: all .2s; white-space: nowrap; }
.m26-nav-link:hover, .m26-nav-link.active { color: var(--text); background: var(--surface2); }
.m26-header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.m26-country-select { background: var(--surface2); border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.m26-country-select:focus { outline: none; border-color: var(--gold); }

/* User menu */
.m26-user-menu { position: relative; }
.m26-user-btn { display: flex; align-items: center; gap: 8px; background: var(--surface2); border: 1px solid var(--border); color: var(--text); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.m26-user-btn:hover { border-color: var(--gold); }
.m26-user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.m26-user-avatar-initials { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #0A0E1A; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.m26-user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m26-chevron { font-size: 10px; color: var(--text-muted); }
.m26-user-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 200px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.4); z-index: 200; }
.m26-user-dropdown.open { display: block; }
.m26-dropdown-item { display: block; padding: 10px 16px; font-size: 13px; color: var(--text); transition: background .15s; }
.m26-dropdown-item:hover { background: var(--surface2); }
.m26-dropdown-item--danger { color: var(--red); }
.m26-dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }
.m26-hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.m26-hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ── HERO ── */
.m26-hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; padding: 80px 20px; }
.m26-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(16,185,129,.05) 0%, transparent 50%); }
.m26-hero-content { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.m26-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3); color: var(--gold); padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.m26-hero-title { font-size: clamp(28px, 5vw, 52px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.m26-hero-subtitle { font-size: 17px; color: var(--text-muted); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.m26-search-form { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px 6px 6px 16px; }
.m26-search-input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: 15px; min-width: 0; }
.m26-search-input::placeholder { color: var(--text-muted); }
.m26-search-btn { background: var(--gold); color: #0A0E1A; border: none; padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.m26-search-btn:hover { background: var(--gold-light); }
.m26-hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.m26-hero-search { margin-bottom: 16px; }

/* ── STATS ── */
.m26-stats { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.m26-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.m26-stat-item { padding: 28px 20px; border-right: 1px solid var(--border); }
.m26-stat-item:last-child { border-right: none; }
.m26-stat-number { display: block; font-size: 36px; font-weight: 800; color: var(--gold-light); }
.m26-stat-label { font-size: 13px; color: var(--text-muted); }

/* ── MODULES ── */
.m26-modules { padding: 80px 20px; }
.m26-section-header { text-align: center; margin-bottom: 48px; }
.m26-section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.m26-section-header p { color: var(--text-muted); font-size: 16px; }
.m26-modules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.m26-module-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; transition: all .2s; text-align: center; cursor: pointer; }
.m26-module-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.1); }
.m26-module-icon { font-size: 36px; margin-bottom: 14px; }
.m26-module-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.m26-module-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.m26-module-cta { font-size: 13px; color: var(--gold); font-weight: 600; }

/* ── HOW IT WORKS ── */
.m26-how { background: var(--surface); padding: 80px 20px; border-top: 1px solid var(--border); }
.m26-how-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 48px; }
.m26-how-tab { background: var(--surface2); border: 1px solid var(--border); color: var(--text-muted); padding: 10px 24px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .2s; }
.m26-how-tab.active { background: var(--gold); color: #0A0E1A; border-color: var(--gold); font-weight: 600; }
.m26-how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.m26-step { text-align: center; }
.m26-step-num { width: 48px; height: 48px; background: rgba(201,168,76,.15); border: 2px solid var(--gold); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin: 0 auto 16px; }
.m26-step h4 { font-size: 16px; margin-bottom: 8px; }
.m26-step p { font-size: 13px; color: var(--text-muted); }

/* ── VENDORS ── */
.m26-latest-vendors { padding: 80px 20px; }
.m26-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; text-align: left; }
.m26-section-header h2 { font-size: 28px; font-weight: 700; }
.m26-link-gold { color: var(--gold); font-size: 14px; font-weight: 600; }
.m26-link-gold:hover { color: var(--gold-light); }
.m26-vendors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

/* Company card */
.m26-company-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .2s; }
.m26-company-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.m26-company-logo { width: 100%; height: 140px; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 40px; overflow: hidden; }
.m26-company-logo img { width: 100%; height: 100%; object-fit: cover; background: var(--surface2); }
.m26-company-body { padding: 16px; }
.m26-company-name { font-size: 13px; font-weight: 400; margin-bottom: 4px; }
.m26-company-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.m26-company-desc { font-size: 12px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.m26-company-footer { display: flex; justify-content: space-between; align-items: center; }
.m26-verified-badge { font-size: 11px; background: rgba(16,185,129,.15); color: var(--green); padding: 2px 8px; border-radius: 999px; font-weight: 600; }

/* ── CTA FINAL ── */
.m26-cta-final { padding: 80px 20px; background: linear-gradient(135deg, rgba(201,168,76,.08) 0%, var(--surface) 100%); border-top: 1px solid var(--border); text-align: center; }
.m26-cta-final h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.m26-cta-final p { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; }
.m26-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.m26-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 60px 20px 0; }
.m26-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 48px; }
.m26-footer-brand .m26-logo { margin-bottom: 16px; }
.m26-footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.m26-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.m26-footer-col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.m26-footer-col a { display: block; font-size: 13px; color: var(--text-muted); padding: 4px 0; transition: color .2s; }
.m26-footer-col a:hover { color: var(--gold); }
.m26-footer-bottom { border-top: 1px solid var(--border); padding: 20px; text-align: center; font-size: 12px; color: var(--text-muted); max-width: 1200px; margin: 0 auto; }

/* ── AUTH ── */
.m26-auth-wrap { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.m26-auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 40px; width: 100%; max-width: 440px; }
.m26-auth-logo { text-align: center; margin-bottom: 28px; }
.m26-auth-title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.m26-auth-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.m26-auth-form { display: flex; flex-direction: column; gap: 18px; }
.m26-auth-footer { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 20px; }
.m26-auth-footer a { color: var(--gold); }
.m26-field { display: flex; flex-direction: column; gap: 6px; }
.m26-field label { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.m26-input { background: var(--surface2); border: 1px solid var(--border); color: var(--text); padding: 10px 14px; border-radius: 10px; font-size: 14px; width: 100%; transition: border-color .2s; }
.m26-input:focus { outline: none; border-color: var(--gold); }
.m26-input-code { text-align: center; font-size: 28px; letter-spacing: 10px; font-weight: 700; }
.m26-otp-timer { text-align: center; font-size: 13px; color: var(--text-muted); }
#m26-timer { color: var(--amber); }
.m26-link { background: none; border: none; color: var(--gold); cursor: pointer; font-size: 13px; text-decoration: underline; }
.m26-terms-note { font-size: 12px; color: var(--text-muted); text-align: center; }
.m26-terms-note a { color: var(--gold); }
.m26-alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.m26-alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: var(--green); }
.m26-alert-error   { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: var(--red); }
.m26-alert-info    { background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3); color: var(--gold); }

/* Radio cards */
.m26-radio-group { display: flex; flex-direction: column; gap: 10px; }
.m26-radio-card { display: flex; align-items: center; gap: 12px; background: var(--surface2); border: 1.5px solid var(--border); border-radius: 10px; padding: 14px; cursor: pointer; transition: all .2s; }
.m26-radio-card input { display: none; }
.m26-radio-card.active, .m26-radio-card:has(input:checked) { border-color: var(--gold); background: rgba(201,168,76,.06); }
.m26-radio-icon { font-size: 24px; flex-shrink: 0; }
.m26-radio-card strong { display: block; font-size: 14px; }
.m26-radio-card small { font-size: 12px; color: var(--text-muted); }

/* ── DIRECTORIO ── */
.m26-dir-filters { background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: var(--header-h); z-index: 90; }
.m26-dir-filters-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.m26-field-inline { margin: 0; flex: 1; min-width: 200px; }
.m26-toggle-label { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.m26-toggle-input { display: none; }
.m26-toggle { width: 40px; height: 22px; background: var(--surface2); border: 1px solid var(--border); border-radius: 11px; position: relative; transition: background .2s; flex-shrink: 0; }
.m26-toggle::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: var(--text-muted); border-radius: 50%; transition: all .2s; }
.m26-toggle-input:checked + .m26-toggle { background: var(--gold); border-color: var(--gold); }
.m26-toggle-input:checked + .m26-toggle::after { left: 20px; background: #0A0E1A; }
.m26-dir-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.m26-dir-total { font-size: 13px; color: var(--text-muted); }
.m26-companies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; min-height: 200px; }
.m26-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.m26-page-btn { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 8px 14px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: all .2s; }
.m26-page-btn:hover, .m26-page-btn.active { border-color: var(--gold); color: var(--gold); }

/* ── DASHBOARD ── */
.m26-dashboard .m26-container { max-width: 960px; }
.m26-dash-welcome { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.m26-dash-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.m26-dash-avatar-initials { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #0A0E1A; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; flex-shrink: 0; }
.m26-dash-welcome h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.m26-dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.m26-dash-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
.m26-dash-stat-num { display: block; font-size: 28px; font-weight: 700; color: var(--gold-light); }
.m26-dash-stat-label { font-size: 12px; color: var(--text-muted); }
.m26-dash-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.m26-dash-link-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: all .2s; }
.m26-dash-link-card:hover { border-color: var(--gold); }
.m26-dash-link-card span { font-size: 28px; margin-bottom: 4px; }
.m26-dash-link-card strong { font-size: 15px; }
.m26-dash-link-card small { font-size: 12px; color: var(--text-muted); }
.m26-verify-cta { display: flex; align-items: center; gap: 20px; background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.3); border-radius: var(--radius); padding: 24px; }
.m26-verify-icon { font-size: 40px; flex-shrink: 0; }
.m26-verify-cta h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.m26-verify-cta p { font-size: 13px; color: var(--text-muted); }

/* ── COMING SOON ── */
.m26-coming-soon { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.m26-loading-spinner { text-align: center; color: var(--text-muted); padding: 48px; width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .m26-country-select { display: none; }
  .m26-how-steps { grid-template-columns: 1fr; }
  .m26-footer-inner { grid-template-columns: 1fr; }
  .m26-footer-links { grid-template-columns: repeat(2, 1fr); }
  .m26-stats-grid { grid-template-columns: 1fr; }
  .m26-stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .m26-stat-item:last-child { border-bottom: none; }
  .m26-dash-stats { grid-template-columns: repeat(2, 1fr); }
  .m26-verify-cta { flex-direction: column; text-align: center; }
  .m26-dir-filters-inner { flex-direction: column; align-items: stretch; }
  .m26-field-inline { min-width: unset; }
  .m26-section-header { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 480px) {
  .m26-hero-title { font-size: 26px; }
  .m26-search-form { flex-direction: column; }
  .m26-dash-stats { grid-template-columns: 1fr 1fr; }
  .m26-modules-grid { grid-template-columns: 1fr 1fr; }
  .m26-companies-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .m26-company-logo { height: 80px; font-size: 28px; }
  .m26-company-body { padding: 10px; }
  .m26-company-name { font-size: 13px; }
  .m26-company-desc { display: none; }
  .m26-dir-filters-inner { gap: 8px; }
}

/* ═══════════════════════════════════════════
   GLOBAL SEARCH
═══════════════════════════════════════════ */
.m26-search-wrap {
  position: relative;
  width: 220px;
  margin-right: 12px;
}
.m26-global-search-input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 20px;
  color: #fff;
  padding: 7px 16px;
  font-size: 13px;
  outline: none;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}
.m26-global-search-input:focus {
  border-color: #C9A84C;
  background: rgba(255,255,255,0.1);
}
.m26-global-search-input::placeholder { color: #8892a4; }
.m26-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #111827;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  z-index: 9999;
  max-height: 380px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.m26-search-section-label {
  font-size: 11px;
  color: #C9A84C;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 12px 4px;
  font-weight: 700;
}
.m26-search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 13px;
  transition: background .15s;
}
.m26-search-item:hover { background: rgba(201,168,76,0.1); color: #fff; }
.m26-search-item-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1e2936;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.m26-search-item-initial { color: #C9A84C; font-weight: 700; }
.m26-search-item span { display: flex; flex-direction: column; }
.m26-search-item span em { font-size: 11px; color: #8892a4; font-style: normal; }
.m26-search-no-results { padding: 16px; text-align: center; color: #8892a4; font-size: 13px; }

/* ═══════════════════════════════════════════
   PLANES
═══════════════════════════════════════════ */
.m26-page-planes { min-height: 80vh; }
.m26-planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.m26-plan-card {
  background: #111827;
  border: 1px solid #1e2936;
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.m26-plan-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.4); }
.m26-plan-featured {
  border: 2px solid #C9A84C !important;
  background: linear-gradient(145deg,#111827,#1a1a2e);
  transform: scale(1.03);
}
.m26-plan-featured:hover { transform: scale(1.03) translateY(-4px); }
.m26-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #C9A84C;
  color: #0A0E1A;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.m26-plan-name { color: #fff; font-size: 1.5rem; margin: 0 0 12px; }
.m26-plan-price { margin-bottom: 8px; }
.m26-price-amount { color: #C9A84C; font-size: 2.5rem; font-weight: 900; }
.m26-price-period { color: #8892a4; font-size: 1rem; }
.m26-plan-desc { color: #8892a4; font-size: 13px; margin: 0 0 20px; }
.m26-plan-features { list-style: none; padding: 0; margin: 0 0 24px; }
.m26-plan-features li { padding: 8px 0; color: #d1d5db; font-size: 14px; border-bottom: 1px solid #1e2936; }
.m26-plan-features li:last-child { border-bottom: none; }
.m26-feature-no { opacity: .45; }
.m26-plan-cta { text-align: center; }
.m26-btn-current {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  border: 2px solid #C9A84C;
  color: #C9A84C;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 768px) {
  .m26-planes-grid { grid-template-columns: 1fr; max-width: 400px; }
  .m26-plan-featured { transform: none; }
  .m26-plan-featured:hover { transform: translateY(-4px); }
  .m26-search-wrap { display: none; }
}

/* ═══════════════════════════════════════════
   TESTIMONIOS
═══════════════════════════════════════════ */
.m26-testimonios {
  padding: 70px 0;
  background: linear-gradient(180deg,#0d1117,#0A0E1A);
}
.m26-testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.m26-testimonio-card {
  background: #111827;
  border: 1px solid #1e2936;
  border-radius: 12px;
  padding: 28px;
  transition: border-color .2s;
}
.m26-testimonio-card:hover { border-color: rgba(201,168,76,0.4); }
.m26-testimonio-text {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.m26-testimonio-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.m26-testimonio-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,#C9A84C,#a07830);
  color: #0A0E1A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.m26-testimonio-author strong { display: block; color: #fff; font-size: 14px; }
.m26-testimonio-author span { color: #8892a4; font-size: 12px; }

/* PRECIOS PREVIEW */
.m26-precios-preview { padding: 60px 0; }
.m26-planes-preview .m26-plan-card { padding: 24px 20px; }
.m26-planes-preview .m26-price-amount { font-size: 2rem; }

/* 404 */
.m26-page-404 { min-height: 80vh; display: flex; align-items: center; }

@media (max-width: 768px) {
  .m26-testimonios-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════
   HEADER REDESIGN v2
═══════════════════════════════════════════ */
.m26-header-inner { display:flex; align-items:center; gap:8px; padding:0 16px; height:var(--header-h); position:relative; }
.m26-logo-center { margin-right:auto; }
.m26-search-desktop { flex:1; max-width:360px; }
.m26-desktop-only { display:flex; }
.m26-icon-btn { background:none; border:1px solid var(--border); border-radius:8px; padding:6px 10px; cursor:pointer; font-size:16px; color:var(--text); transition:border-color .2s; }
.m26-icon-btn:hover { border-color:var(--gold); }
.m26-config-wrap, .m26-account-wrap { position:relative; }
.m26-config-dropdown, .m26-account-dropdown { display:none; position:absolute; right:0; top:calc(100% + 8px); background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); min-width:220px; z-index:200; box-shadow:0 8px 32px rgba(0,0,0,.4); padding:8px 0; }
.m26-config-dropdown.open, .m26-account-dropdown.open { display:block; }
.m26-config-item { display:flex; align-items:center; gap:10px; padding:10px 16px; border-bottom:1px solid var(--border); }
.m26-config-item:last-child { border-bottom:none; }
.m26-config-label { font-size:13px; color:var(--text-muted); flex:1; white-space:nowrap; }
.m26-config-select { background:var(--surface2); border:1px solid var(--border); border-radius:6px; color:var(--text); font-size:12px; padding:4px 6px; cursor:pointer; }
.m26-switch { position:relative; display:inline-block; width:36px; height:20px; flex-shrink:0; }
.m26-switch input { opacity:0; width:0; height:0; }
.m26-switch-slider { position:absolute; inset:0; background:var(--surface2); border:1px solid var(--border); border-radius:20px; cursor:pointer; transition:background .2s; }
.m26-switch-slider:before { content:''; position:absolute; width:14px; height:14px; left:2px; top:2px; background:var(--text-muted); border-radius:50%; transition:transform .2s,background .2s; }
.m26-switch input:checked + .m26-switch-slider { background:var(--gold); border-color:var(--gold); }
.m26-switch input:checked + .m26-switch-slider:before { transform:translateX(16px); background:#000; }
.m26-switch-label { font-size:11px; color:var(--text-muted); min-width:50px; }
.m26-account-btn { display:flex; align-items:center; gap:6px; background:none; border:1px solid var(--border); border-radius:8px; padding:6px 10px; cursor:pointer; color:var(--text); font-size:13px; transition:border-color .2s; }
.m26-account-btn:hover { border-color:var(--gold); }
.m26-nav-desktop { display:flex; }
.m26-nav-drawer { display:none; position:fixed; top:var(--header-h); left:0; bottom:0; width:280px; background:var(--surface); border-right:1px solid var(--border); flex-direction:column; padding:16px; gap:4px; z-index:999; overflow-y:auto; transform:translateX(-100%); transition:transform .25s ease; }
.m26-nav-drawer.open { display:flex; transform:translateX(0); }
.m26-nav-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:998; }
.m26-nav-overlay.open { display:block; }

/* ═══════════════════════════════════════════
   SEARCH MODAL
═══════════════════════════════════════════ */
.m26-search-modal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.75); z-index:99999; align-items:center; justify-content:center; padding:16px; backdrop-filter:blur(8px); -webkit-overflow-scrolling:touch; }
.m26-search-modal.open { display:flex; }
.m26-search-modal-inner { position:relative; z-index:100000; }
.m26-search-modal-input { -webkit-user-select:text; user-select:text; touch-action:auto; }
.m26-search-modal-inner { background:var(--surface); border:1px solid var(--border); border-radius:20px; width:100%; max-width:620px; overflow:hidden; box-shadow:0 24px 80px rgba(0,0,0,.7); display:flex; flex-direction:column; max-height:85vh; }
.m26-search-modal-bar { display:flex; align-items:center; gap:12px; padding:18px 20px; border-bottom:1px solid var(--border); }
.m26-search-modal-input { flex:1; background:none; border:none; outline:none; font-size:18px; color:var(--text); font-family:inherit; }
.m26-search-modal-input::placeholder { color:var(--text-muted); }
.m26-search-modal-close { background:none; border:1px solid var(--border); cursor:pointer; color:var(--text-muted); font-size:16px; padding:4px 10px; border-radius:8px; transition:all .2s; flex-shrink:0; }
.m26-search-modal-close:hover { color:var(--text); border-color:var(--gold); }
/* Filtros */
.m26-search-modal-filters { display:flex; align-items:center; gap:8px; padding:10px 16px; border-bottom:1px solid var(--border); flex-wrap:wrap; background:var(--surface2); }
.m26-search-filter-chip { display:flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; border:1px solid var(--border); background:var(--surface); color:var(--text-muted); font-size:12px; cursor:pointer; transition:all .2s; white-space:nowrap; }
.m26-search-filter-chip.active { border-color:var(--gold); color:var(--gold); background:rgba(201,168,76,.1); }
.m26-search-filter-chip:hover { border-color:var(--gold); color:var(--gold); }
.m26-search-filter-sep { width:1px; height:20px; background:var(--border); flex-shrink:0; }
.m26-search-filter-select { background:var(--surface); border:1px solid var(--border); border-radius:8px; color:var(--text); font-size:12px; padding:5px 8px; cursor:pointer; }
.m26-search-modal-results { max-height:400px; overflow-y:auto; padding:8px 0; flex:1; }
.m26-search-modal-section-title { font-size:11px; font-weight:600; color:var(--gold); text-transform:uppercase; letter-spacing:.08em; padding:8px 20px 4px; }
.m26-search-modal-item { display:flex; align-items:center; gap:12px; padding:10px 20px; color:var(--text); text-decoration:none; transition:background .15s; font-size:14px; }
.m26-search-modal-item:hover { background:var(--surface2); }
.m26-search-modal-item img { width:40px; height:40px; border-radius:8px; object-fit:contain; background:var(--surface2); padding:4px; flex-shrink:0; }
.m26-search-modal-item-info { flex:1; min-width:0; }
.m26-search-modal-item-name { font-size:14px; font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.m26-search-modal-item-sub { font-size:12px; color:var(--text-muted); margin-top:2px; }
/* Footer del modal */
.m26-search-modal-footer { padding:10px 20px; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; background:var(--surface2); }
.m26-search-modal-footer span { font-size:11px; color:var(--text-muted); }
.m26-search-modal-footer kbd { background:var(--surface); border:1px solid var(--border); border-radius:4px; padding:2px 6px; font-size:10px; color:var(--text-muted); }

/* ═══════════════════════════════════════════
   APP FOOTER BAR
═══════════════════════════════════════════ */
.m26-app-footer { display:flex; position:fixed; bottom:0; left:0; right:0; height:calc(60px + env(safe-area-inset-bottom, 0px)); padding-bottom:env(safe-area-inset-bottom, 0px); background:var(--surface); border-top:1px solid var(--border); z-index:900; align-items:stretch; justify-content:space-around; }
.m26-app-tab { display:flex; flex-direction:column; align-items:center; justify-content:center; flex:1; gap:3px; padding:8px 4px; color:var(--text-muted); text-decoration:none; font-size:11px; cursor:pointer; position:relative; transition:color .2s; border:none; background:none; }
.m26-app-tab.active, .m26-app-tab:hover { color:var(--gold); }
.m26-tab-svg { width:22px; height:22px; transition:stroke .2s; }
.m26-app-tab-label { font-size:10px; font-weight:500; white-space:nowrap; }
.m26-app-tab.active::after { content:''; position:absolute; top:0; left:20%; right:20%; height:2px; background:var(--gold); border-radius:0 0 3px 3px; }
.m26-app-submenu { display:none; position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%); background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); min-width:160px; box-shadow:0 -4px 20px rgba(0,0,0,.4); overflow:hidden; z-index:910; }
.m26-app-submenu.open { display:block; }
.m26-app-submenu-item { display:flex; align-items:center; gap:10px; padding:12px 16px; color:var(--text); text-decoration:none; font-size:14px; border-bottom:1px solid var(--border); transition:background .15s; }
.m26-app-submenu-item:last-child { border-bottom:none; }
.m26-app-submenu-item:hover { background:var(--surface2); color:var(--gold); }
.m26-app-overlay {
  display: none;
  position: fixed;
  inset: 0;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  background: rgba(0,0,0,.6);
  z-index: 905;
  backdrop-filter: blur(2px);
}
.m26-app-overlay.open { display: block; }

@media (max-width:768px) {
  .m26-search-desktop { display:none; }
  .m26-desktop-only { display:none !important; }
  .m26-logo-center { flex:1; text-align:center; }
  .m26-nav-desktop { display:none; }
  .m26-user-name { display:none; }
  .m26-chevron { display:none; }
  .m26-account-btn { border:none; padding:6px; }
  .m26-main { padding-bottom:calc(70px + env(safe-area-inset-bottom, 0px)); }
  .m26-app-footer { display:flex; }
  .m26-footer { display:none; }
}

/* ═══════════════════════════════════════════
   BOTTOM SHEET — NEGOCIOS
═══════════════════════════════════════════ */
.m26-bottom-sheet {
  position: fixed;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  left: 0; right: 0;
  background: #0D1117;
  border-top: 1px solid rgba(201,168,76,.25);
  border-radius: 20px 20px 0 0;
  z-index: 950;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,1,.4,1);
  max-height: calc(85vh - 60px);
  overflow-y: auto;
  box-shadow: 0 -8px 40px rgba(0,0,0,.6);
}
.m26-bottom-sheet.open { transform: translateY(0); }
.m26-sheet-drag-handle {
  width: 36px; height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* Header */
.m26-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
}
.m26-sheet-title-wrap { display: flex; align-items: center; gap: 12px; }
.m26-sheet-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.m26-sheet-title { font-size: 18px; font-weight: 700; color: #F1F5F9; }
.m26-sheet-subtitle { font-size: 12px; color: #94A3B8; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.m26-market-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10B981;
  display: inline-block;
  animation: m26-pulse-dot 1.5s ease-in-out infinite;
}
@keyframes m26-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.m26-sheet-close {
  background: rgba(255,255,255,.08); border: none; color: #94A3B8;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.m26-sheet-close:hover { background: rgba(255,255,255,.15); }

/* Ticker */
.m26-sheet-ticker {
  overflow: hidden; padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.m26-ticker-track {
  display: flex; gap: 32px; white-space: nowrap;
  animation: m26-ticker-scroll 20s linear infinite;
  padding: 0 20px;
}
@keyframes m26-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.m26-ticker-item { font-size: 12px; color: #94A3B8; flex-shrink: 0; }
.m26-ticker-item strong { font-weight: 600; margin-left: 4px; }
.m26-ticker-up strong { color: #10B981; }
.m26-ticker-down strong { color: #EF4444; }

/* KPIs */
.m26-sheet-kpis {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 14px 16px;
}
.m26-sheet-kpi {
  background: #161B25; border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 12px;
  display: flex; align-items: center; gap: 10px;
  position: relative; overflow: hidden;
}
.m26-kpi-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.m26-kpi-gold { background: rgba(201,168,76,.15); }
.m26-kpi-blue { background: rgba(59,130,246,.15); }
.m26-kpi-green { background: rgba(16,185,129,.15); }
.m26-kpi-red { background: rgba(239,68,68,.15); }
.m26-kpi-info { flex: 1; min-width: 0; }
.m26-kpi-value {
  font-size: 20px; font-weight: 800; color: #F1F5F9; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.m26-kpi-label { font-size: 9px; font-weight: 600; color: #64748B; letter-spacing: .08em; margin-top: 3px; }
.m26-kpi-spark {
  width: 60px; height: 24px; flex-shrink: 0;
}
.m26-spark-up {
  stroke: #10B981; stroke-width: 1.5; fill: none;
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: m26-draw-spark 1.5s ease forwards .3s;
}
.m26-spark-down {
  stroke: #EF4444; stroke-width: 1.5; fill: none;
  stroke-dasharray: 200; stroke-dashoffset: 200;
  animation: m26-draw-spark 1.5s ease forwards .3s;
}
@keyframes m26-draw-spark {
  to { stroke-dashoffset: 0; }
}

/* Nav links */
.m26-sheet-nav { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.m26-sheet-nav-item {
  display: flex; align-items: center; gap: 12px;
  background: #161B25; border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 10px 14px;
  text-decoration: none; transition: all .2s;
  margin-bottom: 6px;
}
.m26-sheet-nav-item:hover, .m26-sheet-nav-item:active { border-color: rgba(201,168,76,.4); background: rgba(201,168,76,.05); }
.m26-sheet-nav-icon { font-size: 22px; flex-shrink: 0; }
.m26-sheet-nav-info { flex: 1; }
.m26-sheet-nav-title { display: block; font-size: 15px; font-weight: 600; color: #F1F5F9; }
.m26-sheet-nav-desc { display: block; font-size: 12px; color: #64748B; margin-top: 2px; }
.m26-sheet-nav-arrow { font-size: 22px; color: #C9A84C; font-weight: 300; }

/* ═══════════════════════════════════════════
   TIENDA INLINE EN EMPRESA SINGLE
═══════════════════════════════════════════ */
.m26-tienda-inline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.m26-tienda-prod-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.m26-tienda-prod-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,168,76,.15);
}
.m26-tienda-prod-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m26-tienda-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.m26-tienda-prod-noimg {
  font-size: 36px;
  opacity: .4;
}
.m26-tienda-prod-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.m26-tienda-prod-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  min-height: 32px;
}
.m26-tienda-prod-price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.m26-tienda-prod-current {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}
.m26-tienda-prod-old {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.m26-tienda-prod-btn {
  margin-top: auto;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: background .2s;
}
.m26-tienda-prod-card:hover .m26-tienda-prod-btn {
  background: rgba(201,168,76,.25);
}
@media (max-width: 768px) {
  .m26-tienda-inline-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .m26-tienda-inline-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .m26-tienda-prod-name { font-size: 11px; }
}

/* Mobile-only / desktop-only helpers */
.m26-mobile-only { display: none; }
@media (max-width: 768px) {
  .m26-mobile-only { display: block; }
}

/* ========== SUBASTAS HERO ========== */
.m26-subastas-hero {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.m26-sub-hero-title h1 { margin: 0; }
.m26-sub-stats-bar {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.m26-sub-stat {
  display: flex; flex-direction: column; align-items: center;
  min-width: 72px;
}
.m26-sub-stat-val {
  font-size: 20px; font-weight: 800; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.m26-sub-stat.m26-up .m26-sub-stat-val { color: var(--gold-light); }
.m26-sub-stat-lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }

/* ========== SUBASTA CARDS GRID (new) ========== */
.m26-sub-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  min-height: 200px;
}
.m26-sub-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.m26-sub-card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,168,76,.18);
}
.m26-sub-card-img {
  position: relative; height: 180px; overflow: hidden;
  background: var(--surface2);
}
.m26-sub-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m26-sub-card-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-size: 56px; background: var(--surface2);
}
.m26-sub-live-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(220,38,38,.9); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 20px; display: flex; align-items: center; gap: 5px;
  backdrop-filter: blur(4px);
}
.m26-live-dot {
  width: 7px; height: 7px; background: #fff;
  border-radius: 50%; animation: m26-pulse 1.2s infinite;
  flex-shrink: 0;
}
@keyframes m26-pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.4; transform:scale(.7); }
}
.m26-sub-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.m26-sub-title {
  font-size: 13px; font-weight: 700; line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.m26-sub-price-wrap { margin-bottom: 6px; }
.m26-sub-price {
  font-size: 22px; font-weight: 800; color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.m26-sub-unit-price { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.m26-sub-progress {
  height: 4px; background: rgba(255,255,255,.08); border-radius: 2px;
  margin: 8px 0; overflow: hidden;
}
.m26-sub-progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; min-width: 4px;
  transition: width .5s ease;
}
.m26-sub-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-muted); margin-bottom: 4px;
}
.m26-sub-timer {
  font-size: 15px; font-weight: 800; color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.m26-sub-status-txt { font-size: 12px; color: var(--text-muted); }
.m26-sub-cta {
  margin-top: auto; padding-top: 10px;
  font-size: 13px; font-weight: 700; color: var(--gold);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Vendor row on cards */
.m26-sub-vendor-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 8px;
}
.m26-sub-vendor-av {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; background: var(--surface2); flex-shrink: 0;
}
.m26-sub-vendor-av-init {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gold);
  background: rgba(201,168,76,.15);
}
.m26-sub-vendor-info { flex: 1; min-width: 0; }
.m26-sub-vendor-name {
  display: block; font-size: 12px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.m26-sub-vendor-loc { display: block; font-size: 10px; color: var(--text-muted); }
.m26-sub-verified { color: #10B981; font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* ========== SINGLE SUBASTA — vendor card ========== */
.m26-sv-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface2); border-radius: 10px;
  padding: 12px 14px; margin: 12px 0 16px;
}
.m26-sv-logo {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.m26-sv-logo-init {
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--gold);
  background: rgba(201,168,76,.15);
}
.m26-sv-info { flex: 1; min-width: 0; }
.m26-sv-name { font-size: 14px; font-weight: 700; color: var(--text); }
.m26-sv-verified { color: #10B981; font-size: 12px; margin-left: 4px; }
.m26-sv-loc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.m26-sv-link { font-size: 12px; color: var(--gold); font-weight: 600; text-decoration: none; white-space: nowrap; }
.m26-sv-link:hover { text-decoration: underline; }

/* ========== PUJAS FEED (single subasta) ========== */
.m26-pujas-feed { display: flex; flex-direction: column; gap: 0; }
.m26-puja-feed-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  transition: background .15s; border-bottom: 1px solid rgba(255,255,255,.04);
}
.m26-puja-feed-item:hover { background: var(--surface2); }
.m26-puja-top { background: rgba(201,168,76,.07); }
.m26-puja-feed-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(201,168,76,.15); display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.m26-puja-feed-info { flex: 1; min-width: 0; }
.m26-puja-feed-name {
  display: block; font-size: 13px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.m26-puja-feed-time { display: block; font-size: 11px; color: var(--text-muted); }
.m26-puja-feed-amount { font-size: 14px; font-weight: 800; color: var(--gold-light); }

/* Price flash animation */
@keyframes m26-price-flash {
  0%,100%{ color: var(--gold-light); }
  50%{ color: #fff; background: rgba(201,168,76,.2); }
}
.m26-price-flash { animation: m26-price-flash .6s ease; }

/* ========== NAV DESKTOP DROPDOWN & MEGAMENU ========== */
.m26-nav-dropdown-wrap { position: relative; }
.m26-nav-dropdown, .m26-nav-mega {
  display: none; position: absolute; top: 100%; left: 0;
  padding-top: 8px;
  background: transparent;
  z-index: 300; min-width: 240px;
}
.m26-nav-dropdown-inner, .m26-nav-mega-inner {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.4);
  padding: 8px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
}
.m26-nav-mega { min-width: 480px; display: none; }
.m26-nav-mega-inner { display: flex; flex-direction: row; gap: 0; }
.m26-nav-dropdown-wrap:hover > .m26-nav-dropdown,
.m26-nav-dropdown-wrap:hover > .m26-nav-mega { display: block; }
.m26-nav-dropdown-wrap:hover .m26-nav-dropdown-inner,
.m26-nav-dropdown-wrap:hover .m26-nav-mega-inner { opacity: 1; transform: translateY(0); }
.m26-nav-mega-col { flex: 1; }
.m26-nav-mega-title {
  font-size: 11px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 12px 8px;
}
.m26-nav-dd-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 8px; text-decoration: none; color: var(--text);
  transition: background .15s;
}
.m26-nav-dd-item:hover { background: var(--surface2); }
.m26-nav-dd-item > span:first-child { font-size: 20px; flex-shrink: 0; }
.m26-nav-dd-item strong { display: block; font-size: 13px; }
.m26-nav-dd-item small { display: block; font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.m26-nav-arrow { font-size: 10px; opacity: .6; }
.m26-nav-has-dropdown { display: flex; align-items: center; gap: 4px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .m26-sub-cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .m26-subastas-hero { flex-direction: column; align-items: flex-start; }
  .m26-sub-stats-bar { gap: 16px; }
  .m26-sub-stat-val { font-size: 16px; }
}
@media (max-width: 480px) {
  .m26-sub-cards-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   PÁGINA BUSCAR — LAYOUT
═══════════════════════════════════════════ */
.m26-search-results-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.m26-search-col { }
.m26-search-col-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.m26-search-emp-grid { grid-template-columns: 1fr; gap: 10px; }
.m26-search-prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
/* En desktop ocultar tabs, mostrar columnas */
@media (min-width: 769px) {
  .m26-bottom-sheet { } .m26-app-overlay { }
  .m26-search-tabs-mobile { display: none; }
  #tab-empresas, #tab-productos { display: block !important; }
}
/* En móvil ocultar col-titles, mostrar tabs */
@media (max-width: 768px) {
  .m26-search-results-wrap { grid-template-columns: 1fr; gap: 0; }
  .m26-search-col-title { display: none; }
  #tab-productos { display: none; }
}

/* ===== MARKET TICKER ===== */
.m26-market-ticker { background:#0A0E1A; border-bottom:1px solid rgba(201,168,76,.2); display:flex; align-items:center; gap:12px; padding:6px 16px; height:36px; overflow:hidden; position:sticky; top:var(--header-h); z-index:89; }
.m26-ticker-label { font-size:11px; font-weight:700; color:var(--gold); white-space:nowrap; flex-shrink:0; border-right:1px solid rgba(201,168,76,.3); padding-right:12px; }
.m26-ticker-scroll { flex:1; overflow:hidden; position:relative; }
.m26-ticker-items { display:flex; gap:32px; white-space:nowrap; animation:m26-scroll-left 60s linear infinite; }
.m26-ticker-items:hover { animation-play-state:paused; }
@keyframes m26-scroll-left { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
.m26-ticker-item { font-size:12px; color:var(--text-muted); flex-shrink:0; }
.m26-ticker-item strong { margin-left:4px; }
.m26-ticker-item.up strong { color:#10B981; }
.m26-ticker-item.down strong { color:#EF4444; }
.m26-ticker-right { flex-shrink:0; }
@media (max-width:768px) { .m26-market-ticker { display:none; } }

/* ===== DIRECTORIO VIEW TOGGLE ===== */
.m26-dir-view-toggle { display:flex; gap:4px; }
.m26-view-btn { background:var(--surface2); border:1px solid var(--border); border-radius:6px; padding:6px 8px; cursor:pointer; color:var(--text-muted); transition:all .2s; }
.m26-view-btn.active { border-color:var(--gold); color:var(--gold); background:rgba(201,168,76,.1); }
.m26-companies-grid.m26-list-view { display:flex; flex-direction:column; gap:0; }
.m26-companies-grid.m26-list-view .m26-company-card { display:flex; flex-direction:row; align-items:center; border-radius:0; border-bottom:1px solid var(--border); border-left:none; border-right:none; border-top:none; padding:10px 16px; gap:12px; }
.m26-companies-grid.m26-list-view .m26-company-card:first-child { border-top:1px solid var(--border); border-radius:8px 8px 0 0; }
.m26-companies-grid.m26-list-view .m26-company-card:last-child { border-radius:0 0 8px 8px; }
.m26-companies-grid.m26-list-view .m26-company-card:hover { transform:none; background:var(--surface2); }
.m26-companies-grid.m26-list-view .m26-company-logo { width:44px; height:44px; flex-shrink:0; border-radius:8px; }
.m26-companies-grid.m26-list-view .m26-company-body { display:flex; align-items:center; flex:1; gap:16px; min-width:0; }
.m26-companies-grid.m26-list-view .m26-company-name { font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:160px; max-width:220px; }
.m26-companies-grid.m26-list-view .m26-company-desc { display:block !important; flex:1; font-size:12px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.m26-companies-grid.m26-list-view .m26-company-footer { margin-left:auto; flex-shrink:0; }

/* ===== FAV CARDS ===== */
.m26-fav-card { display:flex; align-items:center; gap:12px; padding:12px 16px; background:var(--surface2); border:1px solid var(--border); border-radius:10px; text-decoration:none; color:var(--text); transition:border-color .2s; margin-bottom:8px; }
.m26-fav-card:hover { border-color:var(--gold); }
.m26-fav-logo { width:44px; height:44px; border-radius:8px; overflow:hidden; flex-shrink:0; background:var(--surface); display:flex; align-items:center; justify-content:center; }
.m26-fav-logo img { width:100%; height:100%; object-fit:contain; padding:4px; }
.m26-fav-initial { font-size:20px; font-weight:700; color:var(--gold); }
.m26-fav-info { flex:1; min-width:0; }
.m26-fav-name { font-size:14px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.m26-fav-meta { font-size:12px; color:var(--text-muted); margin-top:2px; }
.m26-fav-remove { background:none; border:none; cursor:pointer; font-size:18px; flex-shrink:0; padding:4px; }

/* ── FAB FILTROS ── */
.m26-fab-filters {
  position: fixed;
  bottom: 76px;
  right: 16px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
  z-index: 800;
  transition: transform .2s, box-shadow .2s;
}
.m26-fab-filters:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,168,76,.5); }
.page-directorio .m26-fab-filters { display: flex; }

/* ── MODAL FILTROS ── */
.m26-filter-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #0A0E1A;
}
.m26-filter-modal.open { display: flex; flex-direction: column; }
.m26-filter-modal-inner { display: flex; flex-direction: column; height: 100%; }
.m26-filter-modal-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: #0D1117;
  flex-shrink: 0;
}
.m26-filter-modal-back {
  background: var(--surface2); border: none; border-radius: 8px;
  padding: 8px; cursor: pointer; color: var(--text); display: flex;
}
.m26-filter-modal-title { flex: 1; font-size: 18px; font-weight: 700; color: var(--text); margin: 0; }
.m26-filter-modal-reset { background: none; border: none; color: var(--gold); font-size: 14px; cursor: pointer; padding: 4px; }
.m26-filter-modal-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.m26-filter-section { margin-bottom: 24px; }
.m26-filter-section-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.m26-filter-input { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 15px; outline: none; box-sizing: border-box; }
.m26-filter-input:focus { border-color: var(--gold); }
.m26-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m26-filter-chip {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 14px; font-size: 13px;
  color: var(--text-muted); cursor: pointer; transition: all .2s;
}
.m26-filter-chip.active { background: rgba(201,168,76,.15); border-color: var(--gold); color: var(--gold); }
.m26-filter-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.m26-filter-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #0D1117;
  flex-shrink: 0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.m26-filter-apply-btn { width: 100%; padding: 14px; font-size: 16px; border-radius: 12px; }

/* ===== EMPRESA SINGLE - LOGO ===== */
.m26-tienda-logo-wrap { flex-shrink:0; }
.m26-tienda-logo { width:100px; height:100px; border-radius:16px; object-fit:cover; border:2px solid rgba(201,168,76,.3); background:#1a1f2e; display:block; }
.m26-tienda-logo-initials { width:100px; height:100px; border-radius:16px; background:linear-gradient(135deg,#1a1f2e,#2a2f3e); border:2px solid rgba(201,168,76,.4); display:flex; align-items:center; justify-content:center; font-size:36px; font-weight:700; color:#C9A84C; letter-spacing:-1px; }
.m26-tienda-hero { display:flex; gap:24px; align-items:flex-start; padding:32px 0 24px; flex-wrap:wrap; }
@media(max-width:768px){ .m26-tienda-hero { flex-direction:column; align-items:center; text-align:center; } .m26-tienda-logo, .m26-tienda-logo-initials { width:80px; height:80px; font-size:28px; } }

/* ===== DRAWER - SECTION LABELS ===== */
.m26-drawer-section-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1.2px; color:var(--gold); opacity:.7; padding:4px 0 6px; }

/* Descripción corta en cards de tienda */
.m26-tienda-prod-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === Agricultor product cards (expanded) === */
.m26-agri-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}
.m26-agri-prod-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.m26-agri-prod-gallery {
  position: relative;
  overflow: hidden;
}
.m26-agri-gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.m26-agri-gallery-scroll::-webkit-scrollbar { display: none; }
.m26-agri-gallery-scroll img {
  min-width: 100%;
  max-height: 300px;
  object-fit: cover;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.m26-agri-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.5));
}
.m26-agri-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .2s;
}
.m26-agri-dot.active {
  background: var(--gold);
}
.m26-agri-prod-body {
  padding: 16px;
}
.m26-agri-prod-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.m26-agri-prod-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.m26-agri-current-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}
.m26-agri-old-price {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.m26-agri-prod-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 12px;
}
.m26-agri-prod-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.m26-agri-prod-btn {
  display: inline-block;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
  width: 100%;
}
.m26-agri-prod-btn:hover {
  background: rgba(201,168,76,.25);
  color: var(--gold);
  text-decoration: none;
}

/* Owner name in directory cards */
.m26-company-owner {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* FORCE footer on mobile */
@media (max-width: 768px) {
  .m26-app-footer {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
  }
}

/* Product name in directory cards */
.m26-company-product {
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
}
.m26-company-product strong {
  font-weight: 700;
}

/* ====== Profile Modal Fullscreen ====== */
.m26-profile-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg, #0A0E1A);
  flex-direction: column;
}
.m26-profile-modal.open {
  display: flex;
}
.m26-profile-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--surface, #111827);
  border-bottom: 1px solid var(--border, #1e293b);
  flex-shrink: 0;
  height: 48px;
}
.m26-profile-modal-close {
  background: none;
  border: none;
  color: var(--text, #f1f5f9);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background .2s;
}
.m26-profile-modal-close:hover {
  background: rgba(255,255,255,.1);
}
.m26-profile-modal-open {
  color: var(--gold, #C9A84C);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.m26-profile-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: var(--bg, #0A0E1A);
}

/* Sheet nav counter badges */
.m26-sheet-badge {
  background: rgba(201,168,76,.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  margin-left: auto;
}
.m26-sheet-nav-info {
  flex: 1;
}

/* ====== Filter FAB + Sheet ====== */
.m26-filter-fab {
  display: none;
  position: fixed;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  right: 16px;
  z-index: 899;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 28px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
  transition: transform .2s;
}
.m26-filter-fab:active { transform: scale(.95); }
.m26-filter-fab svg { flex-shrink: 0; }
.m26-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 960;
  backdrop-filter: blur(2px);
}
.m26-filter-overlay.open { display: block; }
.m26-filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface, #111827);
  border-radius: 20px 20px 0 0;
  z-index: 970;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.32,1,.4,1);
  max-height: 70vh;
  overflow-y: auto;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.m26-filter-sheet.open { transform: translateY(0); }
.m26-filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
  position: sticky;
  top: 0;
  background: var(--surface, #111827);
  z-index: 1;
}
.m26-filter-sheet-body { padding: 8px 20px 20px; }
.m26-filter-section { margin-bottom: 16px; }
.m26-filter-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.m26-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.m26-filter-chip {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  color: var(--text);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
}
.m26-filter-chip:hover, .m26-filter-chip.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
@media (min-width: 769px) {
  .m26-filter-fab { bottom: 24px; }
  .m26-filter-sheet { max-width: 400px; left: auto; }
}

/* ====== Shop / Marketplace ====== */
.m26-shop-header { display:flex; align-items:baseline; gap:12px; margin-bottom:16px; }
.m26-shop-title { font-size:clamp(20px,4vw,28px); font-weight:800; margin:0; }
.m26-shop-count { font-size:13px; color:var(--text-muted); }
.m26-shop-filters { margin-bottom:20px; }
.m26-shop-search-form { display:flex; flex-direction:column; gap:10px; }
.m26-shop-search-input { font-size:15px !important; }
.m26-shop-filter-row { display:flex; gap:8px; }
.m26-shop-select { font-size:13px !important; flex:1; }
.m26-shop-clear { font-size:12px; color:var(--gold); text-decoration:none; align-self:flex-start; }
.m26-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width:600px) { .m26-shop-grid { grid-template-columns: repeat(3, 1fr); gap:16px; } }
@media (min-width:900px) { .m26-shop-grid { grid-template-columns: repeat(4, 1fr); } }
.m26-shop-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.m26-shop-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,.15); }
.m26-shop-card-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.m26-shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.m26-shop-card-noimg {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  font-size:48px; background:var(--surface2);
}
.m26-shop-card-body { padding: 10px 12px 14px; }
.m26-shop-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.m26-shop-card-vendor {
  font-size: 11px;
  color: var(--gold);
  text-decoration: none;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m26-shop-card-vendor:hover { text-decoration: underline; }
.m26-shop-card-location {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.m26-shop-card-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}
.m26-shop-card-pres {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.m26-shop-card-unit {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}
.m26-shop-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  padding-bottom: 20px;
}
.m26-shop-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.m26-shop-page.active { background: var(--gold); color: #000; border-color: var(--gold); }
.m26-shop-page:hover:not(.active) { border-color: var(--gold); }

/* Nav dropdown counters */
.m26-nav-dd-item { position: relative; }
.m26-nav-dd-count {
  background: rgba(201,168,76,.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

/* Nav dropdown sheet-style items */
.m26-nav-dd-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 16px !important;
}
.m26-nav-dd-icon {
  font-size: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border-radius: 10px;
  flex-shrink: 0;
}
.m26-nav-dd-info {
  flex: 1;
  min-width: 0;
}
.m26-nav-dd-info strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}
.m26-nav-dd-info small {
  font-size: 11px;
  color: var(--text-muted);
}
.m26-nav-dd-arrow {
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Footer directory items with badges */
.m26-footer-dir-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m26-footer-dir-item .m26-sheet-badge {
  font-size: 10px;
  padding: 1px 6px;
}

/* App footer visible on all screens */
.m26-main { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 769px) {
  .m26-app-footer { display: flex !important; }
  .m26-bottom-sheet { max-width: 100%; left: 0; right: 0; }
}

/* Hide old desktop footer - app footer replaces it everywhere */
.m26-footer { display: none !important; }

/* Description hidden in cards - too verbose */
.m26-company-desc { display: none; }

/* Product categories grid in bottom sheet */
.m26-sheet-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 8px;
}
@media (min-width: 600px) { .m26-sheet-categories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .m26-sheet-categories { grid-template-columns: repeat(4, 1fr); } }
.m26-sheet-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  transition: background .15s;
}
.m26-sheet-cat-item:hover { background: rgba(201,168,76,.1); color: var(--gold); }
.m26-sheet-cat-all {
  grid-column: 1 / -1;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  font-weight: 600;
  margin-bottom: 8px;
}
.m26-sheet-cat-icon { font-size: 18px; flex-shrink: 0; }
.m26-sheet-cat-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Optimized product categories - compact grid */
.m26-sheet-categories {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  padding: 4px 8px !important;
}
.m26-sheet-cat-item {
  flex-direction: column !important;
  gap: 2px !important;
  padding: 10px 6px !important;
  text-align: center;
  font-size: 12px !important;
  border-radius: 10px;
}
.m26-sheet-cat-icon { font-size: 24px !important; }
.m26-sheet-cat-name {
  font-size: 11px !important;
  white-space: normal !important;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m26-sheet-cat-item .m26-sheet-badge {
  font-size: 9px !important;
  padding: 1px 6px !important;
}
.m26-sheet-cat-all {
  flex-direction: row !important;
  text-align: left;
  padding: 10px 14px !important;
}
@media (min-width: 600px) {
  .m26-sheet-categories { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (min-width: 900px) {
  .m26-sheet-categories { grid-template-columns: repeat(6, 1fr) !important; }
}

/* Mobile: 1 column list style */
@media (max-width: 599px) {
  .m26-sheet-categories { grid-template-columns: 1fr !important; gap: 0 !important; }
  .m26-sheet-cat-item {
    flex-direction: row !important;
    text-align: left !important;
    padding: 12px 14px !important;
    gap: 10px !important;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .m26-sheet-cat-icon { font-size: 20px !important; }
  .m26-sheet-cat-name { font-size: 13px !important; -webkit-line-clamp: 1; }
}

/* Product management rows */
.m26-prod-list { display:flex; flex-direction:column; gap:2px; }
.m26-prod-row { display:flex; align-items:center; gap:10px; padding:10px 12px; background:var(--surface); border-radius:8px; border:1px solid var(--border); }
.m26-prod-row:hover { border-color:rgba(201,168,76,.3); }
.m26-prod-toolbar { display:flex; align-items:center; gap:8px; padding:8px 12px; background:rgba(201,168,76,.08); border:1px solid rgba(201,168,76,.2); border-radius:8px; margin-bottom:12px; flex-wrap:wrap; font-size:12px; color:var(--text-muted); }
.m26-stat-mini { display:flex; flex-direction:column; align-items:center; padding:8px 16px; background:var(--surface); border:1px solid var(--border); border-radius:10px; }
.m26-stat-mini span { font-size:20px; font-weight:800; color:var(--gold); }
.m26-stat-mini small { font-size:10px; color:var(--text-muted); }
.m26-modal { display:none; position:fixed; inset:0; z-index:99999; background:rgba(0,0,0,.6); backdrop-filter:blur(4px); align-items:center; justify-content:center; padding:16px; }
.m26-modal.open { display:flex; }
.m26-modal-content { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:20px; width:100%; overflow-y:auto; max-height:90vh; }
.m26-modal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.m26-modal-header h3 { margin:0; font-size:18px; }

/* Notification bell visible on all screens */
@media (max-width: 768px) {
  .m26-notif-wrap { display: block !important; }
  .m26-notif-btn { font-size: 18px !important; padding: 4px !important; position: relative; }
  .m26-notif-count { position: absolute !important; top: -2px !important; right: -4px !important; min-width: 16px; height: 16px; font-size: 9px !important; display: flex !important; align-items: center; justify-content: center; }
  .m26-notif-dropdown { position: fixed !important; top: var(--header-h, 56px) !important; left: 0 !important; right: 0 !important; max-height: 60vh; border-radius: 0 0 12px 12px !important; }
}

/* Chat icon in header */
.m26-chat-btn {
  position: relative;
  font-size: 18px;
  text-decoration: none;
  padding: 4px;
}
.m26-chat-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
/* Stars in cards */
.m26-company-rating { font-size: 12px; margin-top: 2px; }
.m26-stars { color: var(--gold); letter-spacing: 1px; }
.m26-company-rating small { color: var(--text-muted); }

/* ====== Light Mode ====== */
.m26-light {
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --surface2: #F0F0F0;
  --border: #E0E0E0;
  --card: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --gold: #B8942E;
  --gold-light: #D4A017;
  --red: #DC2626;
}
.m26-light .m26-header { background: #FFFFFF; border-bottom-color: #E0E0E0; }
.m26-light .m26-app-footer { background: #FFFFFF; border-top-color: #E0E0E0; }
.m26-light .m26-bottom-sheet { background: #FFFFFF; }
.m26-light .m26-company-card { background: #FFFFFF; border-color: #E0E0E0; }
.m26-light .m26-company-card:hover { border-color: #B8942E; }
.m26-light .m26-btn-gold { color: #FFFFFF; }
.m26-light .m26-btn-outline { border-color: #D1D5DB; color: #374151; }
.m26-light .m26-shop-card { background: #FFFFFF; border-color: #E5E7EB; }
.m26-light .m26-shop-card:hover { border-color: #B8942E; }
.m26-light .m26-info-card { background: #FFFFFF; border-color: #E5E7EB; }
.m26-light .m26-prod-row { background: #FFFFFF; border-color: #E5E7EB; }
.m26-light .m26-modal-content { background: #FFFFFF; border-color: #E5E7EB; }
.m26-light .m26-input { background: #F9FAFB; border-color: #D1D5DB; color: #1F2937; }
.m26-light .m26-filter-sheet { background: #FFFFFF; }
.m26-light .m26-nav-dropdown { background: #FFFFFF; border-color: #E5E7EB; }
.m26-light .m26-drawer { background: #FFFFFF; }
.m26-light .m26-tienda-banner { background: #F3F4F6 !important; }
.m26-light .m26-verified-card { background: #F0FDF4; border-color: #BBF7D0; }
.m26-light .m26-stat-mini { background: #FFFFFF; border-color: #E5E7EB; }
.m26-light .m26-map-stat { background: rgba(255,255,255,.9); border-color: #E5E7EB; }
.m26-light .m26-filter-chip { background: rgba(184,148,46,.08); border-color: rgba(184,148,46,.2); color: #374151; }
.m26-light .m26-filter-chip:hover, .m26-light .m26-filter-chip.active { background: #B8942E; color: #FFF; }
.m26-light .m26-sheet-nav-item:hover { background: #F3F4F6; }
.m26-light .m26-sheet-badge { background: rgba(184,148,46,.1); }
.m26-light .m26-prod-toolbar { background: rgba(184,148,46,.05); border-color: rgba(184,148,46,.15); }
.m26-light .leaflet-tile-pane { filter: none; }
.m26-light .leaflet-popup-content-wrapper { background: #FFFFFF !important; color: #1A1A2E !important; }
.m26-light .leaflet-popup-tip { background: #FFFFFF !important; }
.m26-light .m26-pop h4 { color: #B8942E; }
.m26-light .m26-pop .dept { color: #6B7280; }

/* Fix color consistency */
/* All badges same gold style */
.m26-sheet-badge {
  background: rgba(201,168,76,.15) !important;
  color: var(--gold) !important;
}
/* Nav dd count same style */
.m26-nav-dd-count {
  background: rgba(201,168,76,.15) !important;
  color: var(--gold) !important;
}
/* Sheet nav icons consistent bg */
.m26-sheet-nav-icon {
  background: var(--surface2) !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  font-size: 20px !important;
}
/* Active tab underline gold */
.m26-app-tab.active::after {
  background: var(--gold) !important;
}
/* Sheet header consistent */
.m26-sheet-header {
  background: var(--surface) !important;
}

/* Light mode - bottom sheets and overlays */
.m26-light .m26-bottom-sheet { background: #FFFFFF !important; border-top-color: #E5E7EB !important; }
.m26-light .m26-sheet-header { background: #FFFFFF !important; }
.m26-light .m26-sheet-nav-item { background: #F9FAFB; border-color: #E5E7EB; }
.m26-light .m26-sheet-nav-item:hover { background: #F3F4F6; }
.m26-light .m26-sheet-nav-title { color: #1F2937; }
.m26-light .m26-sheet-nav-desc { color: #6B7280; }
.m26-light .m26-sheet-nav-arrow { color: #9CA3AF; }
.m26-light .m26-sheet-nav-icon { background: #F3F4F6 !important; }
.m26-light .m26-sheet-title { color: #1F2937; }
.m26-light .m26-sheet-subtitle { color: #6B7280; }
.m26-light .m26-sheet-close { color: #6B7280; }
.m26-light .m26-sheet-drag-handle::before { background: #D1D5DB; }
.m26-light .m26-app-overlay { background: rgba(0,0,0,.3); }
.m26-light .m26-sheet-cat-item { color: #374151; }
.m26-light .m26-sheet-cat-item:hover { background: #F3F4F6; color: #B8942E; }
.m26-light .m26-sheet-cat-all { background: rgba(184,148,46,.05); border-color: rgba(184,148,46,.15); }
.m26-light .m26-app-footer { background: #FFFFFF !important; border-top-color: #E5E7EB !important; }
.m26-light .m26-app-tab { color: #9CA3AF; }
.m26-light .m26-app-tab.active { color: #B8942E; }
.m26-light .m26-notif-dropdown { background: #FFFFFF; border-color: #E5E7EB; }
.m26-light .m26-drawer { background: #FFFFFF !important; color: #1F2937; }
.m26-light .m26-drawer-section-label { color: #6B7280; }

/* Light mode - complete coverage */
/* Header */
.m26-light .m26-header { background: #FFFFFF !important; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.m26-light .m26-logo-icon { background: #B8942E !important; color: #FFF !important; }
.m26-light .m26-logo-text { color: #1F2937 !important; }
.m26-light .m26-hamburger span { background: #374151 !important; }
.m26-light .m26-search-btn, .m26-light .m26-account-btn { color: #374151 !important; }

/* KPI cards (Negocios sheet) */
.m26-light .m26-kpi-card { background: #F9FAFB !important; border: 1px solid #E5E7EB !important; }
.m26-light .m26-kpi-value { color: #1F2937 !important; }
.m26-light .m26-kpi-label { color: #6B7280 !important; }
.m26-light .m26-kpi-spark path { stroke: #B8942E !important; }

/* Ticker */
.m26-light .m26-market-ticker { background: #FFFFFF !important; border-bottom-color: #E5E7EB !important; }
.m26-light .m26-ticker-label { color: #B8942E !important; border-right-color: #E5E7EB !important; }
.m26-light .m26-ticker-item { color: #374151 !important; }
.m26-light .m26-ticker-green { color: #16A34A !important; }
.m26-light .m26-ticker-red { color: #DC2626 !important; }

/* General dark elements that need light override */
.m26-light [style*=background:#0D1117], 
.m26-light [style*=background:

/* Light mode - complete coverage */
.m26-light .m26-header { background: #FFFFFF !important; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.m26-light .m26-logo-icon { background: #B8942E !important; color: #FFF !important; }
.m26-light .m26-logo-text { color: #1F2937 !important; }
.m26-light .m26-hamburger span { background: #374151 !important; }
.m26-light .m26-search-btn, .m26-light .m26-account-btn { color: #374151 !important; }
.m26-light .m26-kpi-card { background: #F9FAFB !important; border: 1px solid #E5E7EB !important; }
.m26-light .m26-kpi-value { color: #1F2937 !important; }
.m26-light .m26-kpi-label { color: #6B7280 !important; }
.m26-light .m26-market-ticker { background: #FFFFFF !important; border-bottom-color: #E5E7EB !important; }
.m26-light .m26-ticker-label { color: #B8942E !important; border-right-color: #E5E7EB !important; }
.m26-light .m26-ticker-item { color: #374151 !important; }
.m26-light .m26-ticker-green { color: #16A34A !important; }
.m26-light .m26-app-footer { background: #FFFFFF !important; border-top: 1px solid #E5E7EB !important; }
.m26-light .m26-app-tab { color: #9CA3AF !important; }
.m26-light .m26-app-tab.active { color: #B8942E !important; }
.m26-light .m26-search-modal { background: rgba(255,255,255,.95) !important; }
.m26-light .m26-global-search-input { background: #F3F4F6 !important; border-color: #D1D5DB !important; color: #1F2937 !important; }
.m26-light .m26-market-dot { background: #22C55E !important; }
.m26-light .m26-badge-green { background: #DCFCE7 !important; color: #166534 !important; }
.m26-light .m26-badge-gray { background: #F3F4F6 !important; color: #4B5563 !important; }
.m26-light .m26-filter-fab { background: #B8942E !important; }
.m26-light .m26-profile-modal-header { background: #FFFFFF !important; border-bottom-color: #E5E7EB !important; }
.m26-light .m26-profile-modal-close { color: #374151 !important; }
.m26-light .m26-sp-vendor { background: #F9FAFB !important; border-color: #E5E7EB !important; }

/* Light mode - KPI cards and negocios sheet */
.m26-light .m26-sheet-kpi {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.m26-light .m26-kpi-value { color: #1F2937 !important; }
.m26-light .m26-kpi-label { color: #6B7280 !important; }
.m26-light .m26-kpi-spark path { stroke: #B8942E !important; }
.m26-light .m26-kpi-gold { background: rgba(184,148,46,.1) !important; }
.m26-light .m26-kpi-blue { background: rgba(59,130,246,.1) !important; }
.m26-light .m26-kpi-green { background: rgba(16,185,129,.1) !important; }
.m26-light .m26-kpi-red { background: rgba(239,68,68,.1) !important; }
.m26-light .m26-sheet-kpis { background: transparent !important; }

/* Header area behind sheet */
.m26-light .m26-header-inner { background: transparent; }

/* Light mode - Empresa/Agricultor Single Profile */
.m26-light .m26-empresa-single { background: #F5F5F5; }
.m26-light .m26-tienda-banner { background: #FFFFFF !important; border-bottom: 1px solid #E5E7EB; }
.m26-light .m26-tienda-hero h1 { color: #1F2937 !important; }
.m26-light .m26-tienda-hero p { color: #4B5563 !important; }
.m26-light .m26-tienda-hero .m26-text-muted { color: #6B7280 !important; }
.m26-light .m26-tienda-hero .m26-badge-green { background: #DCFCE7 !important; color: #166534 !important; }
.m26-light .m26-tienda-hero .m26-badge-gray { background: #F3F4F6 !important; color: #4B5563 !important; }
.m26-light .m26-tienda-actions .m26-btn-gold { background: #B8942E !important; color: #FFF !important; }
.m26-light .m26-tienda-actions .m26-btn-outline { border-color: #D1D5DB !important; color: #374151 !important; background: #FFFFFF !important; }
.m26-light .m26-tienda-actions .m26-btn-outline:hover { border-color: #B8942E !important; color: #B8942E !important; }
.m26-light .m26-claim-btn { color: #6B7280 !important; border-color: #D1D5DB !important; }

/* Info cards */
.m26-light .m26-info-card { background: #FFFFFF !important; border: 1px solid #E5E7EB !important; }
.m26-light .m26-info-card h3 { color: #1F2937 !important; }
.m26-light .m26-info-row { border-bottom-color: #F3F4F6 !important; }
.m26-light .m26-info-row span { color: #6B7280 !important; }
.m26-light .m26-info-row strong { color: #1F2937 !important; }

/* Verified card */
.m26-light .m26-verified-card { background: #F0FDF4 !important; border: 1px solid #BBF7D0 !important; }
.m26-light .m26-verified-card h4 { color: #166534 !important; }
.m26-light .m26-verified-card p { color: #4B5563 !important; }

/* Tienda inline products */
.m26-light .m26-tienda-inline { background: #FFFFFF !important; border: 1px solid #E5E7EB !important; }
.m26-light .m26-agri-prod-card { background: #FFFFFF !important; border-color: #E5E7EB !important; }
.m26-light .m26-agri-prod-title { color: #1F2937 !important; }
.m26-light .m26-agri-prod-desc { color: #6B7280 !important; }
.m26-light .m26-agri-prod-btn { background: rgba(184,148,46,.08) !important; border-color: rgba(184,148,46,.2) !important; }

/* Reseñas */
.m26-light #m26-resenas-section { color: #1F2937; }
.m26-light .m26-resena-card { background: #F9FAFB !important; border-color: #E5E7EB !important; }

/* Map embed */
.m26-light .m26-empresa-map { border-color: #E5E7EB !important; }

/* Profile modal */
.m26-light .m26-profile-modal { background: #F5F5F5 !important; }

/* Fix desktop footer - same as mobile */
@media (min-width: 769px) {
  .m26-app-footer {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    z-index: 900 !important;
    background: var(--surface) !important;
    border-top: 1px solid var(--border) !important;
    align-items: stretch !important;
    justify-content: space-around !important;
  }
  .m26-main { padding-bottom: 70px !important; }
  .m26-bottom-sheet {
    position: fixed !important;
    bottom: 60px !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
    max-height: calc(80vh - 60px) !important;
    z-index: 950 !important;
  }
  .m26-app-overlay {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    bottom: 60px !important;
    z-index: 905 !important;
  }
  .m26-app-overlay.open { display: block !important; }
}

/* Light mode desktop footer */
.m26-light .m26-app-footer {
  background: #FFFFFF !important;
  border-top: 1px solid #E5E7EB !important;
  box-shadow: 0 -1px 3px rgba(0,0,0,.05) !important;
}

/* FORCE footer app visible everywhere */
html .m26-app-footer {
  display: flex !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 60px !important;
  z-index: 9990 !important;
  align-items: stretch !important;
  justify-content: space-around !important;
  box-shadow: 0 -2px 10px rgba(0,0,0,.1) !important;
}
html .m26-main {
  padding-bottom: 70px !important;
}
html .m26-bottom-sheet {
  z-index: 9991 !important;
  bottom: 60px !important;
}
html .m26-app-overlay {
  z-index: 9989 !important;
}
html .m26-filter-sheet {
  z-index: 9992 !important;
}
html .m26-filter-fab {
  z-index: 9988 !important;
  bottom: 70px !important;
}
/* Light: solid background */
.m26-light .m26-app-footer {
  background: #FFFFFF !important;
  border-top: 1px solid #D1D5DB !important;
  box-shadow: 0 -2px 10px rgba(0,0,0,.08) !important;
}

/* DEFINITIVE footer fix - ensure full visibility */
nav.m26-app-footer#m26-app-footer {
  display: flex !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  z-index: 99990 !important;
  background: var(--surface) !important;
  border-top: 1px solid var(--border) !important;
  box-shadow: 0 -2px 10px rgba(0,0,0,.1) !important;
  align-items: stretch !important;
  justify-content: space-around !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}
.m26-light nav.m26-app-footer#m26-app-footer {
  background: #FFFFFF !important;
  border-top: 1px solid #D1D5DB !important;
  box-shadow: 0 -2px 8px rgba(0,0,0,.06) !important;
}
/* Ensure content doesn't overlap footer */
.m26-main, main.m26-main { 
  padding-bottom: 66px !important; 
}
.m26-hero { 
  margin-bottom: 0 !important; 
}

/* Footer app - DEFINITIVE visual fix */
nav.m26-app-footer#m26-app-footer {
  background: #111827 !important;
  border-top: 2px solid var(--gold) !important;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2) !important;
}
nav.m26-app-footer#m26-app-footer .m26-app-tab {
  color: #94A3B8 !important;
}
nav.m26-app-footer#m26-app-footer .m26-app-tab.active {
  color: var(--gold) !important;
}
/* Light mode: subtle gray bg so it stands out */
.m26-light nav.m26-app-footer#m26-app-footer {
  background: #F8F9FA !important;
  border-top: 1px solid #D1D5DB !important;
  box-shadow: 0 -4px 15px rgba(0,0,0,.08) !important;
}
.m26-light nav.m26-app-footer#m26-app-footer .m26-app-tab {
  color: #9CA3AF !important;
}
.m26-light nav.m26-app-footer#m26-app-footer .m26-app-tab.active {
  color: #B8942E !important;
}
