    /* ============================================================
   Maquetación de SPOTVzla
   ============================================================ */
    :root {
      --bg: #F3F6F5;
      --bg-alt: #E9EEEC;
      --surface: #FFFFFF;
      --surface-2: #FBFCFC;
      --ink: #0F1A1C;
      --ink-2: #3C4B4E;
      --muted: #66787B;
      --line: #DCE4E2;
      --line-2: #EDF1F0;
      --brand: #0F9B8E;
      --brand-ink: #0A6E64;
      --brand-soft: #E1F3F0;
      --hot: #F25C54;
      --sun: #F5A524;
      --shadow: 0 1px 2px rgba(15, 26, 28, .05), 0 8px 24px -12px rgba(15, 26, 28, .18);
      --shadow-lg: 0 2px 6px rgba(15, 26, 28, .06), 0 28px 60px -28px rgba(15, 26, 28, .3);
      --r-s: 8px;
      --r-m: 14px;
      --r-l: 22px;
      --r-xl: 30px;
      --pay-cashea: #F59E0B;
      --pay-zelle: #7414CA;
      --pay-zinlli: #A855F7;
      --pay-paypal: #0070BA;
      --pay-binance: #C98A00;
      --pay-punto: #64748B;
      --pay-movil: #06B6D4;
      --pay-efectivo: #10B981;
      --map-tile-filter: none;
    }

    [data-theme="dark"] {
      --bg: #0A1315;
      --bg-alt: #0E1A1D;
      --surface: #121F22;
      --surface-2: #16262A;
      --ink: #E9F1EF;
      --ink-2: #C0CFCD;
      --muted: #8AA0A2;
      --line: #20343A;
      --line-2: #1A2B2F;
      --brand: #2CC3B2;
      --brand-ink: #7FE3D6;
      --brand-soft: #12332F;
      --hot: #FF7A72;
      --sun: #FFBE4D;
      --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .7);
      --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 28px 60px -28px rgba(0, 0, 0, .9);
      --map-tile-filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9) saturate(.7);
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
      font-size: 16px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      transition: background .35s ease, color .35s ease;
    }

    h1,
    h2,
    h3,
    h4 {
      font-family: "Bricolage Grotesque", Georgia, serif;
      margin: 0;
      letter-spacing: -.03em;
      line-height: 1.04;
      font-weight: 800
    }

    h1 {
      font-size: clamp(2.4rem, 5.4vw, 4.3rem)
    }

    h2 {
      font-size: clamp(1.7rem, 3.2vw, 2.6rem)
    }

    h3 {
      font-size: 1.15rem;
      font-weight: 600;
      letter-spacing: -.02em
    }

    p {
      margin: 0
    }

    a {
      color: inherit;
      text-decoration: none
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
      color: inherit
    }

    img {
      max-width: 100%;
      display: block
    }

    .mono {
      font-family: "IBM Plex Mono", ui-monospace, monospace
    }

    .eyebrow {
      font-family: "IBM Plex Mono", monospace;
      font-size: .7rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--muted)
    }

    .wrap {
      width: min(1180px, 92vw);
      margin-inline: auto
    }

    .sr {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0)
    }

    :focus-visible {
      outline: 2.5px solid var(--brand);
      outline-offset: 3px;
      border-radius: 4px
    }

    /* ---------- marca ---------- */
    .logo {
      display: flex;
      align-items: center;
      gap: .55rem
    }

    .logo svg {
      width: 30px;
      height: 30px;
      flex: none
    }

    .logo b {
      font-family: "Bricolage Grotesque", serif;
      font-size: 1.45rem;
      font-weight: 800;
      letter-spacing: -.05em
    }

    /* ---------- header ---------- */
    .hdr {
      position: sticky;
      top: 0;
      z-index: 60;
      background: color-mix(in srgb, var(--bg) 82%, transparent);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line)
    }

    .logo {
      display: flex;
      align-items: center;
      gap: .55rem;
      text-decoration: none;
      color: var(--ink);
      flex-shrink: 0;
    }

    .logo img {
      height: 128px;
      width: auto;
      object-fit: contain;
      flex-shrink: 0;
    }

    .hdr-in {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      height: 68px;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: .3rem;
      margin-left: 1rem;
    }

    .nav a {
      padding: .45rem .7rem;
      border-radius: 999px;
      font-size: .92rem;
      color: var(--ink-2);
      font-weight: 500;
      white-space: nowrap;
    }

    .nav a:hover {
      background: var(--bg-alt);
      color: var(--ink);
    }

    .nav a.on {
      background: var(--ink);
      color: var(--bg);
    }

    .hdr-act {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: .5rem;
      flex-shrink: 0;
    }

    .menu-toggle {
      display: none;
    }

    /* Mobile Drawer Navigation */
    .mobile-drawer {
      position: fixed;
      inset: 0;
      z-index: 999;
      pointer-events: none;
      visibility: hidden;
      transition: visibility 0.3s;
    }

    .mobile-drawer.open {
      pointer-events: auto;
      visibility: visible;
    }

    .mobile-drawer-bg {
      position: absolute;
      inset: 0;
      background: rgba(10, 19, 21, 0.6);
      backdrop-filter: blur(6px);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .mobile-drawer.open .mobile-drawer-bg {
      opacity: 1;
    }

    .mobile-drawer-content {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 300px;
      max-width: 85vw;
      background: var(--surface);
      border-left: 1px solid var(--line);
      display: flex;
      flex-direction: column;
      padding: 1.25rem 1.5rem;
      box-shadow: var(--shadow-lg);
      transform: translateX(100%);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-drawer.open .mobile-drawer-content {
      transform: translateX(0);
    }

    .mobile-drawer-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--line);
    }

    .mobile-nav {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      padding: 1.25rem 0;
      flex: 1;
      overflow-y: auto;
    }

    .mobile-nav a {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      padding: 0.7rem 1rem;
      border-radius: var(--r-m);
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--ink-2);
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.15s, color 0.15s;
    }

    .mobile-nav a:hover {
      background: var(--bg-alt);
      color: var(--ink);
    }

    .mobile-nav a.on {
      font-weight: 600;
      background: var(--brand-soft);
      color: var(--brand-ink);
    }

    .mobile-drawer-foot {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
    }

    /* ---------- botones ---------- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .5rem;
      border: 1px solid transparent;
      border-radius: 999px;
      padding: .62rem 1.15rem;
      font-size: .92rem;
      font-weight: 600;
      cursor: pointer;
      background: none;
      transition: transform .12s ease, background .2s, border-color .2s, color .2s
    }

    .btn:active {
      transform: translateY(1px)
    }

    .btn-primary {
      background: var(--brand);
      color: #fff
    }

    [data-theme="dark"] .btn-primary {
      color: #04211E
    }

    .btn-primary:hover {
      background: var(--brand-ink)
    }

    .btn-ghost {
      border-color: var(--line);
      color: var(--ink)
    }

    .btn-ghost:hover {
      background: var(--bg-alt);
      border-color: var(--muted)
    }

    .btn-solid {
      background: var(--ink);
      color: var(--bg)
    }

    .btn-lg {
      padding: .85rem 1.5rem;
      font-size: 1rem
    }

    .btn-sm {
      padding: .4rem .8rem;
      font-size: .82rem
    }

    .icon-btn {
      width: 38px;
      height: 38px;
      border-radius: 999px;
      border: 1px solid var(--line);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      background: var(--surface)
    }



    .icon-btn:hover {
      border-color: var(--muted)
    }

    .ico {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.9;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    /* ---------- botones de acción en tablas (CRUD) ---------- */
    .btn-action {
      width: 32px;
      height: 32px;
      border-radius: 9px;
      border: 1px solid var(--line);
      background: var(--surface);
      color: var(--ink-2);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      transition: all .16s ease;
      box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    }

    .btn-action .ico {
      width: 15px;
      height: 15px;
      transition: transform .15s ease;
    }

    .btn-action:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
    }

    .btn-action:active:not(:disabled) {
      transform: translateY(0);
    }

    .btn-action-edit:hover:not(:disabled) {
      border-color: var(--brand);
      color: var(--brand);
      background: var(--brand-soft);
    }

    .btn-action-pause:hover:not(:disabled) {
      border-color: var(--sun);
      color: var(--sun);
      background: color-mix(in srgb, var(--sun) 15%, transparent);
    }

    .btn-action-approve:hover:not(:disabled) {
      border-color: var(--pay-efectivo);
      color: var(--pay-efectivo);
      background: color-mix(in srgb, var(--pay-efectivo) 15%, transparent);
    }

    .btn-action-delete:hover:not(:disabled) {
      border-color: var(--hot);
      color: var(--hot);
      background: color-mix(in srgb, var(--hot) 14%, transparent);
    }

    .btn-action:disabled {
      opacity: .25;
      cursor: not-allowed;
      transform: none !important;
      box-shadow: none !important;
      border-color: var(--line) !important;
      color: var(--muted) !important;
      background: var(--surface) !important;
    }

    /* ---------- fichas de pago (elemento firma) ---------- */
    .pay {
      --c: var(--brand);
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      height: 26px;
      padding: 0 .5rem 0 .28rem;
      border-radius: 999px;
      background: color-mix(in srgb, var(--c) 12%, transparent);
      border: 1px solid color-mix(in srgb, var(--c) 34%, transparent);
      font-size: .76rem;
      font-weight: 600;
      color: color-mix(in srgb, var(--c) 72%, var(--ink));
      white-space: nowrap
    }

    .pay i {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--c);
      color: #fff;
      display: grid;
      place-items: center;
      font-family: "IBM Plex Mono", monospace;
      font-size: .62rem;
      font-weight: 600;
      font-style: normal;
      letter-spacing: 0
    }

    .pay.mini {
      height: 20px;
      padding: 0;
      width: 20px;
      justify-content: center;
      border: none;
      background: none
    }

    .pay.mini i {
      width: 20px;
      height: 20px;
      font-size: .66rem;
      box-shadow: 0 0 0 2px var(--surface)
    }

    .pay-cashea {
      --c: var(--pay-cashea)
    }

    .pay-zelle {
      --c: var(--pay-zelle)
    }

    .pay-zinlli {
      --c: var(--pay-zinlli)
    }

    .pay-paypal {
      --c: var(--pay-paypal)
    }

    .pay-binance {
      --c: var(--pay-binance)
    }

    .pay-punto {
      --c: var(--pay-punto)
    }

    .pay-movil {
      --c: var(--pay-movil)
    }

    .pay-efectivo {
      --c: var(--pay-efectivo)
    }

    .pay-row {
      display: flex;
      gap: .3rem;
      flex-wrap: wrap;
      align-items: center
    }

    .pay-toggle {
      cursor: pointer;
      opacity: .55;
      filter: saturate(.35);
      transition: .18s
    }

    .pay-toggle:hover {
      opacity: .85;
      filter: none
    }

    .pay-toggle.on {
      opacity: 1;
      filter: none;
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent)
    }

    /* ---------- hero ---------- */
    .hero {
      padding: 4.2rem 0 3rem;
      position: relative;
      overflow: hidden
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 3.5rem;
      align-items: center
    }

    .hero h1 span {
      background: linear-gradient(96deg, var(--brand) 0%, #3B82F6 38%, #B14BE0 68%, var(--hot) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent
    }

    .hero-sub {
      margin-top: 1.1rem;
      font-size: 1.08rem;
      color: var(--muted);
      max-width: 44ch
    }

    /* constructor de búsqueda en lenguaje natural */
    .builder {
      margin-top: 2rem;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-l);
      padding: 1.35rem 1.4rem;
      box-shadow: var(--shadow)
    }

    .builder-line {
      font-family: "Bricolage Grotesque", serif;
      font-size: clamp(1.05rem, 2vw, 1.35rem);
      font-weight: 600;
      line-height: 2.15;
      letter-spacing: -.02em
    }

    .slot {
      position: relative;
      display: inline-block
    }

    .slot select {
      appearance: none;
      border: none;
      background: var(--brand-soft);
      color: var(--brand-ink);
      font-family: inherit;
      font-size: inherit;
      font-weight: 800;
      padding: .15rem 1.7rem .15rem .7rem;
      border-radius: 10px;
      cursor: pointer;
      border-bottom: 2px solid color-mix(in srgb, var(--brand) 45%, transparent)
    }

    [data-theme="dark"] .slot select {
      color: var(--brand-ink)
    }

    .slot svg {
      position: absolute;
      right: .45rem;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
      width: 14px;
      height: 14px;
      stroke: var(--brand-ink);
      fill: none;
      stroke-width: 2.4;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .builder-foot {
      display: flex;
      align-items: center;
      gap: .9rem;
      margin-top: 1.1rem;
      padding-top: 1.1rem;
      border-top: 1px dashed var(--line);
      flex-wrap: wrap
    }

    .builder-count {
      font-size: .85rem;
      color: var(--muted)
    }

    .builder-count b {
      color: var(--ink);
      font-family: "IBM Plex Mono", monospace
    }

    /* tarjeta mapa del hero */
    .hero-card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-xl);
      padding: .7rem;
      box-shadow: var(--shadow-lg);
      transform: rotate(1.1deg)
    }

    .hero-map {
      height: 330px;
      border-radius: 24px;
      overflow: hidden;
      position: relative
    }

    .hero-pins {
      position: absolute;
      inset: 0
    }

    .hero-legend {
      display: flex;
      align-items: center;
      gap: .6rem;
      padding: .7rem .6rem .3rem;
      font-size: .8rem;
      color: var(--muted)
    }

    /* ---------- secciones ---------- */
    .sec {
      padding: 4.2rem 0
    }

    .sec-alt {
      background: var(--bg-alt)
    }

    .sec-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      margin-bottom: 2rem;
      flex-wrap: wrap
    }

    .sec-head p {
      color: var(--muted);
      max-width: 52ch;
      margin-top: .5rem
    }

    /* ---------- rail de categorías ---------- */
    .rail {
      display: flex;
      gap: .9rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scroll-snap-type: x mandatory;
      scrollbar-width: thin
    }

    .cat {
      scroll-snap-align: start;
      flex: 0 0 216px;
      border: 1px solid var(--line);
      border-radius: var(--r-l);
      overflow: hidden;
      background: var(--surface);
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s
    }

    .cat:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
      border-color: transparent
    }

    .cat-art {
      height: 112px;
      position: relative;
      display: grid;
      place-items: center
    }

    .cat-art svg {
      width: 46px;
      height: 46px;
      stroke: rgba(255, 255, 255, .95);
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
      position: relative;
      z-index: 1
    }

    .cat-art::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .28), transparent 60%)
    }

    .cat-body {
      padding: .85rem 1rem 1.05rem
    }

    .cat-body b {
      display: block;
      font-family: "Bricolage Grotesque", serif;
      font-size: 1.05rem;
      letter-spacing: -.02em
    }

    .cat-body span {
      font-family: "IBM Plex Mono", monospace;
      font-size: .74rem;
      color: var(--muted)
    }

    /* ---------- tarjetas de comercio ---------- */
    .grid-cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
      gap: 1.25rem
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-l);
      overflow: hidden;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s
    }

    .card:hover,
    .card.hl {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: color-mix(in srgb, var(--brand) 40%, transparent)
    }

    .card-art {
      height: 146px;
      position: relative;
      display: grid;
      place-items: center
    }

    .card-art svg {
      width: 40px;
      height: 40px;
      stroke: rgba(255, 255, 255, .9);
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round
    }

    .card-art::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(110% 80% at 80% 10%, rgba(255, 255, 255, .25), transparent 55%)
    }

    .badge {
      position: absolute;
      top: .7rem;
      left: .7rem;
      z-index: 2;
      background: var(--surface);
      color: var(--ink);
      border-radius: 999px;
      padding: .2rem .6rem;
      font-family: "IBM Plex Mono", monospace;
      font-size: .68rem;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: .35rem
    }

    .badge.closed {
      color: var(--muted)
    }

    .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--brand)
    }

    .badge.closed .dot {
      background: var(--muted)
    }

    .card-body {
      padding: .95rem 1.05rem 1.1rem;
      display: flex;
      flex-direction: column;
      gap: .55rem;
      flex: 1
    }

    .card-top {
      display: flex;
      justify-content: space-between;
      gap: .6rem;
      align-items: flex-start
    }

    .card-top h3 {
      font-size: 1.05rem;
      font-family: "Bricolage Grotesque", serif;
      font-weight: 600
    }

    .rate {
      display: inline-flex;
      align-items: center;
      gap: .22rem;
      font-family: "IBM Plex Mono", monospace;
      font-size: .82rem;
      color: var(--ink)
    }

    .rate svg {
      width: 13px;
      height: 13px;
      fill: var(--sun);
      stroke: none
    }

    .meta {
      font-size: .83rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: .45rem;
      flex-wrap: wrap
    }

    .meta .sep {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: var(--line);
      flex: none
    }

    .card-foot {
      margin-top: auto;
      padding-top: .7rem;
      border-top: 1px dashed var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: .5rem
    }

    /* ---------- cómo funciona ---------- */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem
    }

    .step {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-l);
      padding: 1.6rem
    }

    .step-n {
      font-family: "IBM Plex Mono", monospace;
      font-size: .72rem;
      color: var(--brand);
      letter-spacing: .12em
    }

    .step h3 {
      margin: .9rem 0 .5rem;
      font-size: 1.25rem;
      font-family: "Bricolage Grotesque", serif;
      font-weight: 800
    }

    .step p {
      color: var(--muted);
      font-size: .94rem
    }

    /* ---------- vista mapa ---------- */
    .view {
      display: none
    }

    .view.on {
      display: block
    }

    .maplayout {
      display: grid;
      grid-template-columns: 376px 1fr;
      height: calc(100vh - 68px)
    }

    .filters {
      border-right: 1px solid var(--line);
      background: var(--surface);
      overflow-y: auto;
      padding: 1.4rem
    }

    .field {
      position: relative;
      margin-bottom: 1.2rem
    }

    .field input[type=text] {
      width: 100%;
      padding: .75rem .9rem .75rem 2.4rem;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--bg);
      font-size: .92rem
    }

    .field input:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-soft)
    }

    .field>svg.pre {
      position: absolute;
      left: .8rem;
      top: 50%;
      transform: translateY(-50%);
      width: 17px;
      height: 17px;
      stroke: var(--muted);
      fill: none;
      stroke-width: 2
    }

    .flabel {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: "IBM Plex Mono", monospace;
      font-size: .7rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
      margin: 1.5rem 0 .7rem
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: .4rem
    }

    .chip {
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: .35rem .75rem;
      font-size: .85rem;
      cursor: pointer;
      background: var(--surface);
      color: var(--ink-2);
      transition: .15s
    }

    .chip:hover {
      border-color: var(--muted)
    }

    .chip.on {
      background: var(--ink);
      color: var(--bg);
      border-color: var(--ink)
    }

    input[type=range] {
      width: 100%;
      accent-color: var(--brand)
    }

    .switch {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .7rem 0;
      border-top: 1px solid var(--line-2);
      font-size: .92rem
    }

    .sw {
      width: 40px;
      height: 23px;
      border-radius: 999px;
      background: var(--line);
      position: relative;
      cursor: pointer;
      transition: .2s;
      flex: none
    }

    .sw::after {
      content: "";
      position: absolute;
      top: 3px;
      left: 3px;
      width: 17px;
      height: 17px;
      border-radius: 50%;
      background: var(--surface);
      box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
      transition: .2s
    }

    .sw.on {
      background: var(--brand)
    }

    .sw.on::after {
      left: 20px
    }

    #map {
      height: 100%;
      width: 100%;
      background: var(--bg-alt)
    }

    .leaflet-tile-pane {
      filter: var(--map-tile-filter)
    }

    .map-wrap {
      position: relative
    }

    .map-float {
      position: absolute;
      z-index: 500;
      top: 1rem;
      right: 1rem;
      display: flex;
      gap: .5rem
    }

    .map-float .btn {
      background: var(--surface);
      border-color: var(--line);
      box-shadow: var(--shadow)
    }

    .reslist {
      position: absolute;
      z-index: 500;
      left: 1rem;
      right: 1rem;
      bottom: 0;
      max-height: 46%;
      overflow-y: auto;
      background: color-mix(in srgb, var(--surface) 94%, transparent);
      backdrop-filter: blur(12px);
      border: 1px solid var(--line);
      border-bottom: none;
      border-radius: var(--r-l) var(--r-l) 0 0;
      box-shadow: var(--shadow-lg);
      padding: 1rem
    }

    .reslist h4 {
      font-family: "Bricolage Grotesque", serif;
      font-size: 1rem;
      margin-bottom: .8rem;
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .res-scroll {
      display: flex;
      gap: .8rem;
      overflow-x: auto;
      padding-bottom: .4rem
    }

    .res-scroll .card {
      flex: 0 0 265px
    }

    /* pin personalizado */
    .pin {
      position: relative;
      width: 34px;
      height: 42px;
      display: grid;
      place-items: start center;
      cursor: pointer
    }

    .pin-body {
      width: 30px;
      height: 30px;
      border-radius: 50% 50% 50% 8px;
      transform: rotate(45deg);
      background: var(--brand);
      border: 2.5px solid var(--surface);
      box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
      display: grid;
      place-items: center
    }

    .pin-body svg {
      transform: rotate(-45deg);
      width: 14px;
      height: 14px;
      stroke: #fff;
      fill: none;
      stroke-width: 2
    }

    .pin-pays {
      position: absolute;
      top: -7px;
      left: 50%;
      transform: translateX(-50%);
      display: flex
    }

    .pin-pays span {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      border: 1.5px solid var(--surface);
      margin-left: -3px
    }

    .pin.act .pin-body {
      background: var(--hot);
      transform: rotate(45deg) scale(1.16)
    }

    /* ---------- detalle ---------- */
    .detail {
      display: grid;
      grid-template-columns: 1.35fr .65fr;
      gap: 2.5rem;
      padding: 2.5rem 0 4rem
    }

    .detail-art {
      height: 270px;
      border-radius: var(--r-l);
      position: relative;
      display: grid;
      place-items: center;
      margin-bottom: 1.6rem
    }

    .detail-art svg {
      width: 64px;
      height: 64px;
      stroke: rgba(255, 255, 255, .9);
      fill: none;
      stroke-width: 1.3
    }

    .side {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-l);
      padding: 1.4rem;
      position: sticky;
      top: 88px
    }

    .kv {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      padding: .62rem 0;
      border-bottom: 1px solid var(--line-2);
      font-size: .92rem
    }

    .kv:last-of-type {
      border: none
    }

    .kv span {
      color: var(--muted)
    }

    .detail-map {
      height: 170px;
      border-radius: var(--r-m);
      overflow: hidden;
      margin-top: 1rem
    }

    /* ---------- wizard ---------- */
    .wizard {
      max-width: 760px;
      margin: 0 auto;
      padding: 3rem 0 5rem
    }

    .wz-steps {
      display: flex;
      gap: .5rem;
      margin: 1.8rem 0 2.2rem
    }

    .wz-step {
      flex: 1
    }

    .wz-bar {
      height: 4px;
      border-radius: 99px;
      background: var(--line)
    }

    .wz-step.done .wz-bar,
    .wz-step.act .wz-bar {
      background: var(--brand)
    }

    .wz-step small {
      display: block;
      margin-top: .55rem;
      font-family: "IBM Plex Mono", monospace;
      font-size: .7rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted)
    }

    .wz-step.act small {
      color: var(--ink)
    }

    .panel {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-l);
      padding: 1.9rem
    }

    .f {
      margin-bottom: 1.25rem
    }

    .f>label {
      display: block;
      font-size: .85rem;
      font-weight: 600;
      margin-bottom: .42rem
    }

    .f>label em {
      font-style: normal;
      color: var(--muted);
      font-weight: 400
    }

    .f input[type=text],
    .f input[type=email],
    .f input[type=password],
    .f input[type=tel],
    .f input[type=url],
    .f input[type=number],
    .f input[type=search],
    .f select,
    .f textarea {
      width: 100%;
      padding: .72rem .85rem;
      border: 1px solid var(--line);
      border-radius: 11px;
      background: var(--bg);
      color: var(--ink);
      font-family: inherit;
      font-size: .94rem;
      transition: border-color .15s, box-shadow .15s;
    }

    .f input::placeholder,
    .f textarea::placeholder {
      color: var(--muted);
      opacity: .75;
    }

    .f textarea {
      min-height: 88px;
      resize: vertical
    }

    .f input:focus,
    .f select:focus,
    .f textarea:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-soft)
    }

    .f-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem
    }

    .hint {
      font-size: .8rem;
      color: var(--muted);
      margin-top: .4rem
    }

    .picker {
      height: 210px;
      border-radius: var(--r-m);
      overflow: hidden;
      border: 1px solid var(--line);
      position: relative
    }

    .drop {
      border: 1.5px dashed var(--line);
      border-radius: var(--r-m);
      padding: 1.7rem;
      text-align: center;
      color: var(--muted);
      cursor: pointer;
      background: var(--bg)
    }

    .drop:hover {
      border-color: var(--brand);
      color: var(--brand-ink);
      background: var(--brand-soft)
    }

    .wz-foot {
      display: flex;
      justify-content: space-between;
      margin-top: 1.6rem;
      gap: 1rem
    }

    .review {
      background: var(--bg);
      border-radius: var(--r-m);
      padding: 1.1rem 1.2rem
    }

    /* ---------- admin ---------- */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
      margin-bottom: 1.8rem
    }

    .stat {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-m);
      padding: 1.1rem 1.2rem
    }

    .stat b {
      display: block;
      font-family: "Bricolage Grotesque", serif;
      font-size: 2rem;
      letter-spacing: -.04em;
      margin-top: .25rem
    }

    .tbl {
      width: 100%;
      border-collapse: collapse;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-m);
      overflow: hidden
    }

    .tbl th {
      text-align: left;
      font-family: "IBM Plex Mono", monospace;
      font-size: .68rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      color: var(--muted);
      padding: .85rem 1rem;
      background: var(--surface-2);
      border-bottom: 1px solid var(--line)
    }

    .tbl td {
      padding: .85rem 1rem;
      border-bottom: 1px solid var(--line-2);
      font-size: .9rem;
      vertical-align: middle
    }

    .tbl tr:last-child td {
      border-bottom: none
    }

    .tag {
      display: inline-flex;
      align-items: center;
      gap: .35rem;
      padding: .18rem .55rem;
      border-radius: 999px;
      font-size: .75rem;
      font-weight: 600
    }

    .tag-wait {
      background: color-mix(in srgb, var(--sun) 18%, transparent);
      color: color-mix(in srgb, var(--sun) 65%, var(--ink))
    }

    .tag-ok {
      background: color-mix(in srgb, var(--pay-efectivo) 16%, transparent);
      color: color-mix(in srgb, var(--pay-efectivo) 70%, var(--ink))
    }

    .tag-no {
      background: color-mix(in srgb, var(--hot) 16%, transparent);
      color: color-mix(in srgb, var(--hot) 72%, var(--ink))
    }

    /* ---------- modal ---------- */
    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(6, 16, 18, .55);
      backdrop-filter: blur(4px);
      z-index: 100;
      display: none;
      place-items: center;
      padding: 1.2rem
    }

    .overlay.on {
      display: grid
    }

    .modal {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-l);
      width: min(430px, 100%);
      padding: 1.9rem;
      box-shadow: var(--shadow-lg);
      max-height: 92vh;
      overflow-y: auto;
      animation: pop .22s cubic-bezier(.2, .9, .3, 1.2)
    }

    @keyframes pop {
      from {
        opacity: 0;
        transform: translateY(14px) scale(.97)
      }

      to {
        opacity: 1
      }
    }

    .tabs {
      display: flex;
      background: var(--bg);
      border-radius: 12px;
      padding: 4px;
      margin: 1.2rem 0 1.5rem
    }

    .tabs button {
      flex: 1;
      padding: .5rem;
      border: none;
      border-radius: 9px;
      background: none;
      font-size: .9rem;
      font-weight: 600;
      color: var(--muted);
      cursor: pointer
    }

    .tabs button.on {
      background: var(--surface);
      color: var(--ink);
      box-shadow: var(--shadow)
    }

    .oauth {
      display: flex;
      flex-direction: column;
      gap: .6rem
    }

    .oauth button {
      width: 100%;
      justify-content: center
    }

    .divider {
      display: flex;
      align-items: center;
      gap: .8rem;
      margin: 1.2rem 0;
      color: var(--muted);
      font-size: .8rem
    }

    .divider::before,
    .divider::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--line)
    }

    /* ---------- CTA + footer ---------- */
    .cta {
      background: var(--ink);
      color: var(--bg);
      border-radius: var(--r-xl);
      padding: 3rem;
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 2.5rem;
      align-items: center
    }

    [data-theme="dark"] .cta {
      background: var(--surface-2);
      color: var(--ink);
      border: 1px solid var(--line)
    }

    .cta h2 {
      color: inherit
    }

    .cta p {
      opacity: .72;
      margin-top: .8rem
    }

    .cta-list {
      display: flex;
      flex-direction: column;
      gap: .7rem
    }

    .cta-list div {
      display: flex;
      gap: .6rem;
      align-items: center;
      font-size: .95rem
    }

    .cta-list svg {
      width: 17px;
      height: 17px;
      stroke: var(--brand);
      fill: none;
      stroke-width: 2.4;
      flex: none
    }

    .store {
      display: flex;
      gap: .6rem;
      flex-wrap: wrap
    }

    .store a {
      display: flex;
      align-items: center;
      gap: .6rem;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: .6rem 1rem;
      background: var(--surface)
    }

    .store b {
      display: block;
      font-size: .9rem;
      font-family: "Bricolage Grotesque", serif
    }

    .store span {
      font-size: .7rem;
      color: var(--muted)
    }

    .ftr {
      border-top: 1px solid var(--line);
      padding: 2.8rem 0 2rem;
      margin-top: 1rem
    }

    .ftr-grid {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, 1fr);
      gap: 2rem
    }

    .ftr h4 {
      font-family: "IBM Plex Mono", monospace;
      font-size: .7rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: .9rem;
      font-weight: 500
    }

    .ftr ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: .5rem;
      font-size: .9rem;
      color: var(--ink-2)
    }

    .ftr ul a:hover {
      color: var(--brand)
    }

    .ftr-base {
      display: flex;
      justify-content: space-between;
      margin-top: 2.4rem;
      padding-top: 1.4rem;
      border-top: 1px solid var(--line-2);
      font-size: .82rem;
      color: var(--muted);
      flex-wrap: wrap;
      gap: 1rem
    }

    .toast {
      position: fixed;
      bottom: 1.5rem;
      left: 50%;
      transform: translate(-50%, 140%);
      background: var(--ink);
      color: var(--bg);
      padding: .8rem 1.3rem;
      border-radius: 999px;
      font-size: .9rem;
      z-index: 200;
      transition: transform .3s cubic-bezier(.2, .9, .3, 1.3);
      box-shadow: var(--shadow-lg)
    }

    .toast.on {
      transform: translate(-50%, 0)
    }

    .demo-note {
      background: var(--brand-soft);
      color: var(--brand-ink);
      border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
      border-radius: var(--r-m);
      padding: .75rem 1rem;
      font-size: .85rem;
      display: flex;
      gap: .6rem;
      align-items: center;
      margin-bottom: 1.4rem
    }

    .demo-note svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      flex: none
    }

    /* ---------- responsive ---------- */
    @media (max-width:1024px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem
      }

      .hero-card {
        transform: none
      }

      .cta {
        grid-template-columns: 1fr;
        padding: 2.2rem
      }

      .maplayout {
        grid-template-columns: 1fr;
        height: auto
      }

      .filters {
        border-right: none;
        border-bottom: 1px solid var(--line)
      }

      .map-wrap {
        height: 62vh
      }

      .reslist {
        position: static;
        max-height: none;
        border-radius: 0;
        border-left: none;
        border-right: none;
        backdrop-filter: none
      }

      .detail {
        grid-template-columns: 1fr
      }

      .side {
        position: static
      }

      .stats {
        grid-template-columns: repeat(2, 1fr)
      }

      .ftr-grid {
        grid-template-columns: 1fr 1fr
      }
    }

    @media (max-width:960px) {
      .nav {
        display: none !important;
      }

      .menu-toggle,
      #menu-toggle {
        display: inline-flex !important;
      }

      .hdr-act-desktop {
        display: none !important;
      }
    }

    @media (max-width:720px) {
      .steps {
        grid-template-columns: 1fr
      }

      .f-row {
        grid-template-columns: 1fr
      }

      .hdr-act .btn span {
        display: none
      }

      .tbl-wrap {
        overflow-x: auto
      }

      .tbl {
        min-width: 660px
      }
    }

    @media (prefers-reduced-motion:reduce) {
      * {
        animation: none !important;
        transition: none !important
      }
    }
    /* ---------- DataTables Estilos Integrados con Spot ---------- */
    .dataTables_wrapper {
      color: var(--ink);
      font-family: inherit;
      margin-top: .5rem;
    }
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
      margin-bottom: 1rem;
      color: var(--muted);
      font-size: .88rem;
    }
    .dataTables_wrapper .dataTables_filter input,
    .dataTables_wrapper .dataTables_length select {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--r-s);
      color: var(--ink);
      padding: .4rem .7rem;
      font-size: .88rem;
      margin-left: .4rem;
    }
    .dataTables_wrapper .dataTables_filter input:focus,
    .dataTables_wrapper .dataTables_length select:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-soft);
    }
    .dataTables_wrapper .dataTables_info {
      color: var(--muted);
      font-size: .85rem;
      padding-top: .9rem;
    }
    .dataTables_wrapper .dataTables_paginate {
      padding-top: .75rem;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button {
      padding: .35rem .75rem !important;
      border-radius: var(--r-s) !important;
      border: 1px solid var(--line) !important;
      background: var(--surface) !important;
      color: var(--ink) !important;
      font-size: .85rem;
      margin: 0 2px !important;
      cursor: pointer;
      transition: all .2s;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
      background: var(--brand-soft) !important;
      color: var(--brand-ink) !important;
      border-color: var(--brand) !important;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
      background: var(--brand) !important;
      color: #FFFFFF !important;
      border-color: var(--brand) !important;
      font-weight: 600;
    }
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
      opacity: .4;
      cursor: not-allowed;
      background: var(--surface) !important;
      color: var(--muted) !important;
    }
    table.dataTable {
      border-collapse: collapse !important;
      width: 100% !important;
      margin: 0 !important;
      border: 1px solid var(--line);
      border-radius: var(--r-m);
      overflow: hidden;
    }
    table.dataTable thead th {
      background: var(--surface-2) !important;
      color: var(--muted) !important;
      border-bottom: 1px solid var(--line) !important;
      font-family: "IBM Plex Mono", monospace;
      font-size: .72rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: .85rem 1rem !important;
    }
    table.dataTable tbody td {
      padding: .85rem 1rem !important;
      border-bottom: 1px solid var(--line-2) !important;
      background: var(--surface) !important;
      color: var(--ink);
      font-size: .9rem;
      vertical-align: middle;
    }
    table.dataTable tbody tr:hover td {
      background: var(--bg) !important;
    }

    /* ============================================================
       Personalización de SweetAlert2 acorde a SPOT
       ============================================================ */
    .swal2-container {
      z-index: 2000 !important;
      font-family: inherit !important;
    }

    .swal2-popup {
      background: var(--surface) !important;
      color: var(--ink) !important;
      border: 1px solid var(--line) !important;
      border-radius: var(--r-l) !important;
      padding: 1.8rem 2rem !important;
      box-shadow: var(--shadow-lg) !important;
    }

    .swal2-title {
      font-family: "Bricolage Grotesque", Georgia, serif !important;
      color: var(--ink) !important;
      font-size: 1.45rem !important;
      font-weight: 700 !important;
      letter-spacing: -.02em !important;
    }

    .swal2-html-container {
      color: var(--muted) !important;
      font-size: .95rem !important;
      line-height: 1.55 !important;
      margin-top: .6rem !important;
    }

    .swal2-actions {
      gap: .75rem !important;
      margin-top: 1.6rem !important;
    }

    .swal2-actions button,
    .swal2-styled {
      border-radius: 999px !important;
      font-size: .92rem !important;
      font-weight: 600 !important;
      padding: .65rem 1.4rem !important;
      box-shadow: none !important;
      transition: all .18s ease !important;
      cursor: pointer !important;
      outline: none !important;
    }

    .swal2-actions button.swal2-confirm,
    .swal2-styled.swal2-confirm {
      background: var(--brand) !important;
      color: #FFFFFF !important;
      border: 1px solid var(--brand) !important;
    }

    [data-theme="dark"] .swal2-actions button.swal2-confirm,
    [data-theme="dark"] .swal2-styled.swal2-confirm {
      color: #04211E !important;
    }

    .swal2-actions button.swal2-confirm:hover,
    .swal2-styled.swal2-confirm:hover {
      background: var(--brand-ink) !important;
      border-color: var(--brand-ink) !important;
      transform: translateY(-1px);
    }

    .swal2-actions button.swal2-confirm.swal2-danger,
    .swal2-styled.swal2-confirm.swal2-danger {
      background: var(--hot) !important;
      border-color: var(--hot) !important;
      color: #FFFFFF !important;
    }

    .swal2-actions button.swal2-confirm.swal2-danger:hover,
    .swal2-styled.swal2-confirm.swal2-danger:hover {
      background: #b91c1c !important;
      border-color: #b91c1c !important;
      transform: translateY(-1px);
    }

    .swal2-actions button.swal2-cancel,
    .swal2-styled.swal2-cancel {
      background: var(--surface) !important;
      color: var(--ink) !important;
      border: 1px solid var(--line) !important;
    }

    .swal2-actions button.swal2-cancel:hover,
    .swal2-styled.swal2-cancel:hover {
      background: var(--bg-alt) !important;
      border-color: var(--muted) !important;
      transform: translateY(-1px);
    }

    /* Toasts de SweetAlert2 */
    .swal2-toast {
      background: var(--surface) !important;
      color: var(--ink) !important;
      border: 1px solid var(--line) !important;
      border-radius: var(--r-m) !important;
      box-shadow: var(--shadow) !important;
      padding: .85rem 1.1rem !important;
    }

    .swal2-toast .swal2-title {
      font-family: inherit !important;
      font-size: .92rem !important;
      font-weight: 600 !important;
      color: var(--ink) !important;
    }

    .swal2-timer-progress-bar {
      background: var(--brand) !important;
      height: 3px !important;
    }

    .swal2-icon.swal2-warning {
      border-color: var(--sun) !important;
      color: var(--sun) !important;
    }

    .swal2-icon.swal2-error {
      border-color: var(--hot) !important;
      color: var(--hot) !important;
    }

    .swal2-icon.swal2-success {
      border-color: var(--brand) !important;
      color: var(--brand) !important;
    }

    .swal2-icon.swal2-success [class^='swal2-success-line'] {
      background-color: var(--brand) !important;
    }

    .swal2-icon.swal2-success .swal2-success-ring {
      border-color: color-mix(in srgb, var(--brand) 35%, transparent) !important;
    }

    /* Filas dinámicas de redes sociales */
    .dynamic-red-row {
      display: grid;
      grid-template-columns: 180px 1fr auto;
      gap: .6rem;
      align-items: flex-end;
      background: var(--bg);
      border: 1px dashed var(--line);
      border-radius: var(--r-m);
      padding: .6rem .8rem;
      transition: border-color .15s ease, background .15s ease;
    }
    .dynamic-red-row:hover {
      border-color: var(--brand);
      background: color-mix(in srgb, var(--brand) 3%, var(--bg));
    }
    .dynamic-red-row .f {
      margin: 0;
    }
    .dynamic-red-row .btn-remove-red {
      color: var(--muted);
      height: 38px;
      width: 38px;
      min-width: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: var(--r-s);
      border: 1px solid var(--line);
      background: var(--surface);
      cursor: pointer;
      transition: all .15s ease;
    }
    .dynamic-red-row .btn-remove-red:hover {
      color: var(--hot);
      border-color: var(--hot);
      background: color-mix(in srgb, var(--hot) 10%, transparent);
    }
    @media (max-width: 600px) {
      .dynamic-red-row {
        grid-template-columns: 1fr;
      }
      .dynamic-red-row .btn-remove-red {
        width: 100%;
        margin-top: .2rem;
      }
    }

    /* Botones de Iconos Oficiales para Redes Sociales (Font Awesome) */
    .social-icons-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: .65rem;
      align-items: center;
      margin-top: .5rem;
    }

    .social-icon-btn {
      width: 44px;
      height: 44px;
      min-width: 44px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid var(--border);
      color: var(--ink);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      text-decoration: none;
      transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 2px 6px rgba(0,0,0,0.06);
      position: relative;
    }

    .social-icon-btn:hover {
      transform: translateY(-3px) scale(1.1);
      box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    }

    /* Colores y gradientes de marca auténticos al pasar el cursor */
    .social-btn-instagram:hover {
      background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-whatsapp:hover {
      background: #25D366;
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-tiktok:hover {
      background: #000000;
      color: #ffffff !important;
      border-color: #25F4EE;
      box-shadow: 0 6px 18px rgba(37, 244, 238, 0.35);
    }
    .social-btn-web:hover, .social-btn-sitio-web:hover {
      background: var(--brand);
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-facebook:hover {
      background: #1877F2;
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-telegram:hover {
      background: #229ED9;
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-youtube:hover {
      background: #FF0000;
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-twitter:hover, .social-btn-x:hover, .social-btn-twitter---x:hover {
      background: #111111;
      color: #ffffff !important;
      border-color: #444444;
    }
    .social-btn-linkedin:hover {
      background: #0A66C2;
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-discord:hover {
      background: #5865F2;
      color: #fff !important;
      border-color: transparent;
    }
    .social-btn-threads:hover {
      background: #000000;
      color: #ffffff !important;
      border-color: #555555;
    }
    .social-btn-pinterest:hover {
      background: #E60023;
      color: #fff !important;
      border-color: transparent;
    }

    /* Celda de icono en tabla de administración */
    .admin-icon-preview {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: var(--surface);
      border: 1px solid var(--border);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
    }

    /* ==========================================================================
       GALERÍA DE FOTOS DE COMERCIOS & VISOR LIGHTBOX
       ========================================================================== */

    .comercio-gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: .75rem;
      margin-top: .6rem;
    }

    @media (min-width: 640px) {
      .comercio-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }

    .gallery-item-thumb {
      position: relative;
      aspect-ratio: 4 / 3;
      border-radius: var(--r-s, 10px);
      overflow: hidden;
      cursor: pointer;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      background: var(--surface);
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }

    .gallery-item-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .35s cubic-bezier(0.2, 0, 0.2, 1);
    }

    .gallery-item-thumb:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
      border-color: var(--brand);
    }

    .gallery-item-thumb:hover img {
      transform: scale(1.08);
    }

    .gallery-item-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 60%);
      opacity: 0;
      transition: opacity .25s ease;
      display: flex;
      align-items: flex-end;
      padding: .5rem;
    }

    .gallery-item-thumb:hover .gallery-item-overlay {
      opacity: 1;
    }

    .gallery-item-caption {
      font-size: .74rem;
      color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: 500;
    }

    .gallery-zoom-badge {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: .75rem;
      backdrop-filter: blur(4px);
      opacity: 0.85;
      transition: transform .2s ease;
    }

    .gallery-item-thumb:hover .gallery-zoom-badge {
      transform: scale(1.1);
      background: var(--brand);
    }

    .detail-art.has-cover {
      background-size: cover !important;
      background-position: center !important;
      position: relative;
    }

    .detail-art.has-cover::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
      border-radius: inherit;
    }

    .detail-art.has-cover svg {
      display: none;
    }

    /* Lightbox Modal */
    .lightbox-overlay {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(0, 0, 0, 0.88);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      display: none;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity .25s ease;
    }

    .lightbox-overlay.on {
      display: flex;
      opacity: 1;
    }

    .lightbox-container {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      box-sizing: border-box;
    }

    .lightbox-media-wrap {
      max-width: min(92vw, 1080px);
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      animation: lightboxPop .25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes lightboxPop {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    #lightbox-img {
      max-width: 100%;
      max-height: calc(88vh - 54px);
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
      user-select: none;
    }

    .lightbox-caption-bar {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: .6rem 1rem;
      margin-top: .6rem;
      background: rgba(15, 23, 42, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      backdrop-filter: blur(10px);
      color: #f8fafc;
      font-size: .88rem;
      box-sizing: border-box;
    }

    .lightbox-nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
      font-size: 1.25rem;
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: all .2s ease;
      backdrop-filter: blur(8px);
      z-index: 10001;
    }

    .lightbox-nav-btn:hover {
      background: rgba(255, 255, 255, 0.28);
      transform: translateY(-50%) scale(1.1);
    }

    .lightbox-prev { left: 1.5rem; }
    .lightbox-next { right: 1.5rem; }

    .lightbox-close-btn {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
      font-size: 1.25rem;
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: all .2s ease;
      backdrop-filter: blur(8px);
      z-index: 10002;
    }

    .lightbox-close-btn:hover {
      background: var(--hot, #EF4444);
      transform: scale(1.08);
    }

    @media (max-width: 640px) {
      .lightbox-container { padding: 1rem; }
      .lightbox-prev { left: .5rem; }
      .lightbox-next { right: .5rem; }
      .lightbox-close-btn { top: .8rem; right: .8rem; width: 38px; height: 38px; }
    }

    /* Previsualizadores de Fotos en Formularios */
    .photos-preview-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
      gap: .7rem;
    }

    .photo-preview-item {
      position: relative;
      aspect-ratio: 1;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      background: var(--surface);
    }

    .photo-preview-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .photo-remove-btn {
      position: absolute;
      top: 4px;
      right: 4px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.75);
      color: #fff;
      border: none;
      display: grid;
      place-items: center;
      font-size: .72rem;
      cursor: pointer;
      transition: background .2s ease, transform .2s ease;
    }

    .photo-remove-btn:hover {
      background: var(--hot, #EF4444);
      transform: scale(1.15);
    }

    .admin-photos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
      gap: .6rem;
      margin-top: .4rem;
    }

    .admin-photo-card {
      position: relative;
      aspect-ratio: 1;
      border-radius: 8px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      background: var(--surface);
    }

    .admin-photo-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }


