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

    :root {
      /* Paleta NEO-BOTÁNICO (V0.6) — papel cálido + verdes salvia/oliva, bordes suaves */
      --bg: #F4F1E9;
      --surface: #FBFAF4;
      --surface2: #ECE7D9;
      --border: #E1DBC9;
      --border2: #D0C9B3;
      --text: #232820;
      --text2: #5C6353;
      --text3: #9AA08A;
      --accent: #5F7A4F;
      --accent2: #4B6440;
      --radius: 14px;
      --radius-lg: 20px;
      /* Animate.css: duración global rápida para un look minimalista (defecto 1s) */
      --animate-duration: .55s
    }

    /* TEMA OSCURO — se activa con data-theme="dark" en <html> (botón 🌙/☀️) */
    /* Neo-botánico nocturno: olivo profundo + pergamino cálido + salvia clara */
    html[data-theme='dark'] {
      --bg: #14160F;
      --surface: #1B1E15;
      --surface2: #22271B;
      --border: #2E3522;
      --border2: #3A4329;
      --text: #E6E2D2;
      --text2: #9DA888;
      --text3: #626C50;
      --accent: #A6C285;
      --accent2: #87A766
    }

    /* En oscuro los verdes son claros: el texto del botón/badge vuelve a ser oscuro */
    html[data-theme='dark'] .btn-primary {
      color: #0d1409
    }

    html[data-theme='dark'] .fab-badge {
      color: #14160F
    }

    html {
      scroll-behavior: smooth;
      background: var(--bg)
    }

    body {
      background: transparent;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      line-height: 1.6;
      min-height: 100vh;
      font-optical-sizing: auto;
      -webkit-font-smoothing: antialiased
    }

    /* Fondo aesthetic: dos manchas de color difuminadas que cambian por sección y se mueven con el scroll */
    @property --aura {
      syntax: '<color>';
      inherits: false;
      initial-value: #8fa86b
    }

    @property --aura2 {
      syntax: '<color>';
      inherits: false;
      initial-value: #cdba86
    }

    @property --aura3 {
      syntax: '<color>';
      inherits: false;
      initial-value: #be9a6e
    }

    #bg-aura {
      position: fixed;
      inset: -12%;
      z-index: -1;
      pointer-events: none;
      --aura: #8fa86b;
      --aura2: #cdba86;
      --aura3: #be9a6e;
      filter: blur(95px) saturate(1.1);
      opacity: .46;
      background-image:
        radial-gradient(34% 42% at 20% 24%, var(--aura), transparent 70%),
        radial-gradient(38% 44% at 80% 32%, var(--aura2), transparent 70%),
        radial-gradient(42% 46% at 52% 82%, var(--aura3), transparent 70%);
      background-repeat: no-repeat;
      background-size: 160% 160%, 160% 160%, 170% 170%;
      background-position: 50% 0%, 50% 50%, 50% 100%;
      transition: --aura 1.2s ease, --aura2 1.2s ease, --aura3 1.2s ease;
      animation: auraPulse 14s ease-in-out infinite alternate
    }

    @keyframes auraPulse {
      from {
        opacity: .42
      }

      to {
        opacity: .62
      }
    }

    @media (prefers-reduced-motion: reduce) {
      #bg-aura {
        animation: none
      }
    }

    .hero {
      padding: 3rem 1.5rem 2rem;
      text-align: center;
      border-bottom: 0.5px solid var(--border)
    }

    /* Wordmark "inhale.": mancha de marca del hero. Se alterna negro/blanco según el tema. */
    .hero-logo {
      display: block;
      height: clamp(52px, 13vw, 78px);
      width: auto;
      margin: 0 auto 1.1rem;
      opacity: .94;
      filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .06));
      animation: fadeUp .6s both
    }

    .hero-logo-dark {
      display: none
    }

    html[data-theme='dark'] .hero-logo-light {
      display: none
    }

    html[data-theme='dark'] .hero-logo-dark {
      display: block
    }

    /* Enlace permanente del nombre del producto (SEO): se ve igual que el texto */
    .card-name-link {
      color: inherit;
      text-decoration: none
    }

    /* Fila "Visible para el cliente" del editor de secciones */
    .sec-vis-row {
      display: flex;
      align-items: flex-end;
      padding-bottom: .35rem
    }

    .sec-vis-row .te-pay {
      margin: 0
    }

    .hero-eyebrow {
      font-size: 10px;
      letter-spacing: 0.25em;
      color: var(--text3);
      text-transform: uppercase;
      margin-bottom: 0.75rem
    }

    .hero-name {
      font-family: 'Fraunces', 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 8vw, 3.2rem);
      font-weight: 400;
      color: var(--text);
      line-height: 1.1;
      margin-bottom: 0.5rem
    }

    .hero-name em {
      font-style: italic;
      color: var(--accent)
    }

    .hero-sub {
      font-size: 13px;
      color: var(--text3);
      letter-spacing: 0.04em
    }

    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--bg);
      border-bottom: 0.5px solid var(--border);
      display: flex;
      justify-content: safe center;
      overflow-x: auto;
      scrollbar-width: none
    }

    nav::-webkit-scrollbar {
      display: none
    }

    /* Mientras no se resuelve el nivel de acceso, ocultamos las pestañas (reservando
       el alto) para que NUNCA se vean por un instante las secciones bloqueadas. */
    nav[data-access="pending"] .nav-btn {
      visibility: hidden;
    }

    .nav-btn {
      flex-shrink: 0;
      background: none;
      border: none;
      border-bottom: 2px solid transparent;
      color: var(--text3);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 11px;
      letter-spacing: 0.12em;
      padding: 0.9rem 1.25rem;
      text-transform: uppercase;
      transition: color .2s, border-color .2s
    }

    .nav-btn:hover {
      color: var(--text2)
    }

    .nav-btn.active {
      color: var(--accent);
      border-bottom-color: var(--accent)
    }

    .section {
      display: none;
      padding: 1.75rem 1.25rem;
      max-width: 900px;
      margin: 0 auto
    }

    .section.visible {
      display: block
    }

    .section-label {
      font-size: 10px;
      letter-spacing: 0.2em;
      color: var(--text3);
      text-transform: uppercase;
      margin-bottom: 1.25rem;
      padding-bottom: 0.6rem;
      border-bottom: 0.5px solid var(--border)
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 14px
    }

    .card {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color .2s, transform .15s;
      cursor: pointer
    }

    .card:hover {
      border-color: var(--border2);
      transform: translateY(-2px)
    }

    .card-media {
      width: 100%;
      aspect-ratio: 1/1;
      position: relative;
      overflow: hidden;
      background: var(--surface2)
    }

    .card-media img,
    .card-media video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block
    }

    .card-media-count {
      position: absolute;
      top: 7px;
      right: 7px;
      background: rgba(0, 0, 0, .6);
      color: #fff;
      font-size: 10px;
      padding: 2px 7px;
      border-radius: 20px
    }

    .card-video-flag {
      position: absolute;
      bottom: 7px;
      left: 7px;
      background: rgba(0, 0, 0, .6);
      color: #fff;
      font-size: 11px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .card-placeholder {
      width: 100%;
      aspect-ratio: 1/1;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--surface2);
      font-size: 2.8rem;
      position: relative
    }

    .card-body {
      padding: 0.75rem 0.9rem 0.9rem
    }

    .card-name {
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .card-sci {
      font-family: 'Fraunces', 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: 12px;
      color: var(--text3);
      margin-bottom: 8px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .card-badge-row {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-wrap: wrap;
      margin-bottom: 8px;
      min-height: 18px
    }

    .card-thc {
      font-size: 10px;
      color: var(--text2);
      background: var(--surface2);
      border: 0.5px solid var(--border2);
      padding: 1px 7px;
      border-radius: 20px
    }

    .card-prices {
      width: 100%;
      border-collapse: collapse;
      margin-top: 4px
    }

    .card-prices td {
      font-size: 11px;
      padding: 2px 0;
      color: var(--text3)
    }

    .card-prices td:last-child {
      text-align: right;
      color: var(--accent);
      font-weight: 500;
      font-size: 12px
    }

    .card-price-single {
      font-size: 14px;
      font-weight: 500;
      color: var(--accent)
    }

    .card-price-unit {
      font-size: 11px;
      color: var(--text3);
      font-weight: 400
    }

    /* Etiqueta de precio por volumen en la tarjeta: "desde $X c/u" + chips de tramos */
    .card-price-vol {
      margin-top: 4px
    }

    .tier-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 5px
    }

    .tier-chip-mini {
      font-size: 10px;
      letter-spacing: .02em;
      padding: 2px 7px;
      border-radius: 20px;
      background: var(--surface2);
      color: var(--text2);
      border: .5px solid var(--border2)
    }

    .detail-vol-note {
      font-size: 11px;
      color: var(--text3);
      margin: -2px 0 6px
    }

    .badge {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 20px;
      letter-spacing: 0.04em;
      white-space: nowrap;
      font-weight: 500
    }

    #detail {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 500;
      background: rgba(0, 0, 0, .85)
    }

    #detail.open {
      display: block
    }

    #detail-scroll {
      position: absolute;
      inset: 0;
      overflow-y: auto;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 2.5rem 1rem
    }

    #detail-card {
      background: var(--surface);
      border: 0.5px solid var(--border2);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 840px;
      overflow: hidden;
      margin: auto
    }

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

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

    .detail-media {
      background: #000;
      position: relative;
      display: flex;
      flex-direction: column
    }

    #detail-stage {
      position: relative;
      width: 100%;
      aspect-ratio: 1/1;
      background: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden
    }

    #detail-stage img {
      width: 100%;
      height: 100%;
      object-fit: contain
    }

    #detail-stage video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #000;
      outline: none
    }

    .detail-stage-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, .5);
      border: 0.5px solid rgba(255, 255, 255, .15);
      border-radius: 50%;
      color: #fff;
      cursor: pointer;
      font-size: 1.1rem;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 3
    }

    .detail-stage-nav:hover {
      background: rgba(0, 0, 0, .75)
    }

    .dsn-prev {
      left: 8px
    }

    .dsn-next {
      right: 8px
    }

    .detail-thumbs {
      display: flex;
      gap: 6px;
      padding: 8px;
      overflow-x: auto;
      background: #0a0a0a;
      scrollbar-width: none
    }

    .detail-thumbs::-webkit-scrollbar {
      display: none
    }

    .dt {
      width: 46px;
      height: 46px;
      object-fit: cover;
      border-radius: 5px;
      cursor: pointer;
      border: 2px solid transparent;
      opacity: .55;
      transition: opacity .2s, border-color .2s;
      flex-shrink: 0
    }

    .dt.active {
      border-color: var(--accent);
      opacity: 1
    }

    .dt-video {
      width: 46px;
      height: 46px;
      border-radius: 5px;
      cursor: pointer;
      border: 2px solid transparent;
      opacity: .55;
      background: rgba(255, 255, 255, .08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
      color: #fff
    }

    .dt-video.active {
      border-color: var(--accent);
      opacity: 1
    }

    .detail-info {
      padding: 1.5rem 1.5rem 1.75rem;
      position: relative
    }

    .detail-close {
      position: absolute;
      top: 0.85rem;
      right: 0.85rem;
      background: var(--surface2);
      border: 0.5px solid var(--border2);
      border-radius: 50%;
      color: var(--text2);
      cursor: pointer;
      font-size: 1rem;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 4
    }

    .detail-close:hover {
      color: var(--text)
    }

    .detail-badges {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 10px
    }

    .detail-name {
      font-family: 'Fraunces', 'Cormorant Garamond', serif;
      font-size: 1.7rem;
      font-weight: 500;
      color: var(--text);
      line-height: 1.15;
      margin-bottom: 2px;
      padding-right: 2rem
    }

    .detail-sci {
      font-family: 'Fraunces', 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: 13px;
      color: var(--text3);
      margin-bottom: 1rem
    }

    .detail-desc {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.65;
      margin-bottom: 1.25rem;
      white-space: pre-wrap
    }

    .detail-specs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-bottom: 1.25rem
    }

    .spec {
      background: var(--surface2);
      border: 0.5px solid var(--border);
      border-radius: 8px;
      padding: 0.55rem 0.7rem
    }

    .spec-label {
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 1px
    }

    .spec-value {
      font-size: 13px;
      color: var(--text);
      font-weight: 500
    }

    .spec-full {
      grid-column: 1/-1
    }

    .detail-prices-title {
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 8px;
      padding-top: 0.5rem;
      border-top: 0.5px solid var(--border)
    }

    .detail-price-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 0;
      border-bottom: 0.5px solid var(--border)
    }

    .detail-price-row:last-child {
      border-bottom: none
    }

    .detail-price-label {
      font-size: 13px;
      color: var(--text2)
    }

    .detail-price-value {
      font-size: 14px;
      color: var(--accent);
      font-weight: 500
    }

    .socios-intro {
      font-size: 14px;
      color: var(--text2);
      text-align: center;
      max-width: 560px;
      margin: 0 auto 2rem;
      line-height: 1.6
    }

    .tiers-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 2rem
    }

    .tier {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem 1.35rem;
      position: relative;
      display: flex;
      flex-direction: column
    }

    .tier.highlight {
      border: 2px solid var(--accent)
    }

    .tier-flag {
      position: absolute;
      top: -10px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent2);
      color: #0a1208;
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 3px 12px;
      border-radius: 20px;
      white-space: nowrap
    }

    .tier-name {
      font-family: 'Fraunces', 'Cormorant Garamond', serif;
      font-size: 1.4rem;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 0.5rem
    }

    .tier-price-row {
      display: flex;
      align-items: baseline;
      gap: 4px;
      margin-bottom: 1.1rem;
      padding-bottom: 1.1rem;
      border-bottom: 0.5px solid var(--border)
    }

    .tier-price {
      font-size: 2rem;
      font-weight: 500;
      color: var(--accent)
    }

    .tier-period {
      font-size: 12px;
      color: var(--text3)
    }

    .tier-benefits {
      list-style: none;
      flex: 1
    }

    .tier-benefit {
      font-size: 13px;
      color: var(--text2);
      padding: 6px 0 6px 24px;
      position: relative;
      line-height: 1.5
    }

    .tier-benefit::before {
      content: '✓';
      position: absolute;
      left: 0;
      top: 6px;
      color: var(--accent);
      font-weight: 500
    }

    .socios-join {
      background: var(--surface);
      border: 0.5px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.25rem 1.5rem;
      text-align: center
    }

    .socios-join-note {
      font-size: 14px;
      color: var(--text);
      margin-bottom: 0.85rem;
      font-weight: 500
    }

    .socios-join-links {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap
    }

    .socios-join-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--surface2);
      border: 0.5px solid var(--border2);
      border-radius: 50px;
      color: var(--text2);
      font-size: 13px;
      padding: 0.5rem 1rem;
      text-decoration: none;
      transition: border-color .2s, color .2s
    }

    .socios-join-link:hover {
      border-color: var(--accent2);
      color: var(--accent)
    }

    #edit-toggle {
      position: fixed;
      bottom: 1.25rem;
      left: 1.25rem;
      z-index: 200;
      background: var(--surface2);
      border: 0.5px solid var(--border2);
      border-radius: 50px;
      color: var(--text2);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      letter-spacing: 0.08em;
      padding: 0.6rem 1.1rem;
      transition: background .2s, color .2s
    }

    #edit-toggle:hover {
      background: var(--border);
      color: var(--text)
    }

    #edit-toggle.active {
      background: var(--accent2);
      color: #0a1208;
      border-color: var(--accent)
    }

    .overlay {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 300;
      background: rgba(0, 0, 0, .7);
      align-items: flex-end;
      justify-content: center
    }

    .overlay.open {
      display: flex
    }

    #login-overlay {
      align-items: center
    }

    #login-box {
      background: var(--surface);
      border: 0.5px solid var(--border2);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 360px;
      padding: 1.5rem;
      margin: 1rem
    }

    #edit-panel {
      background: var(--surface);
      border: 0.5px solid var(--border2);
      border-radius: var(--radius-lg) var(--radius-lg) 0 0;
      width: 100%;
      max-width: 540px;
      max-height: 92vh;
      overflow-y: auto;
      padding: 1.5rem
    }

    .panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.25rem
    }

    .panel-title {
      font-size: 15px;
      font-weight: 500;
      color: var(--text)
    }

    .panel-close {
      background: none;
      border: none;
      color: var(--text3);
      cursor: pointer;
      font-size: 1.1rem;
      padding: 4px
    }

    .panel-close:hover {
      color: var(--text)
    }

    label {
      display: block;
      font-size: 11px;
      letter-spacing: 0.1em;
      color: var(--text3);
      text-transform: uppercase;
      margin-bottom: 5px
    }

    input[type=text],
    input[type=email],
    input[type=password],
    input[type=search],
    input[type=tel],
    input[type=number],
    select,
    textarea {
      width: 100%;
      background: var(--surface2);
      border: 0.5px solid var(--border2);
      border-radius: 6px;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      padding: 0.55rem 0.75rem;
      margin-bottom: 1rem;
      outline: none;
      transition: border-color .2s
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--accent2)
    }

    select option {
      background: var(--surface2)
    }

    /* Campo inválido: borde rojo suave + leve fondo, acorde a la paleta (se quita al escribir) */
    .input-error,
    .input-error:focus {
      border-color: #cc5050 !important;
      background: rgba(204, 80, 80, 0.06);
      box-shadow: 0 0 0 2px rgba(204, 80, 80, 0.12)
    }

    textarea {
      resize: vertical;
      min-height: 80px;
      line-height: 1.6
    }

    .btn {
      border-radius: 6px;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.05em;
      padding: 0.55rem 1rem;
      transition: background .2s, color .2s;
      border: 0.5px solid
    }

    .btn-primary {
      background: var(--accent2);
      border-color: var(--accent);
      color: #ffffff
    }

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

    .btn-ghost {
      background: transparent;
      border-color: var(--border2);
      color: var(--text2)
    }

    .btn-ghost:hover {
      background: var(--surface2);
      color: var(--text)
    }

    .btn-danger {
      background: transparent;
      border-color: #4a2020;
      color: #cc5050
    }

    .btn-danger:hover {
      background: rgba(204, 80, 80, .1)
    }

    .btn-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 0.5rem
    }

    .badge-editor {
      background: var(--surface2);
      border: 0.5px solid var(--border2);
      border-radius: var(--radius);
      padding: 0.85rem;
      margin-bottom: 1rem
    }

    .badge-preview-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 0.75rem
    }

    .badge-preview-label {
      font-size: 11px;
      color: var(--text3)
    }

    #badge-preview-pill {
      font-size: 11px;
      padding: 3px 10px;
      border-radius: 20px;
      font-weight: 500;
      letter-spacing: 0.04em
    }

    .badge-name-input {
      width: 100%;
      background: var(--bg);
      border: 0.5px solid var(--border2);
      border-radius: 6px;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      padding: 0.45rem 0.65rem;
      margin-bottom: 0.75rem;
      outline: none
    }

    .badge-name-input:focus {
      border-color: var(--accent2)
    }

    .color-palette-label {
      font-size: 10px;
      color: var(--text3);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 6px
    }

    .color-palette {
      display: flex;
      gap: 6px;
      flex-wrap: wrap
    }

    .color-swatch {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      cursor: pointer;
      border: 2px solid transparent;
      transition: transform .15s, border-color .15s;
      flex-shrink: 0
    }

    .color-swatch:hover {
      transform: scale(1.15)
    }

    .color-swatch.selected {
      border-color: #fff;
      transform: scale(1.1)
    }

    .media-upload-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin-bottom: 1rem
    }

    .media-slot {
      aspect-ratio: 1/1;
      border: 0.5px dashed var(--border2);
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 11px;
      color: var(--text3);
      position: relative;
      overflow: hidden;
      background: var(--surface2);
      transition: border-color .2s
    }

    .media-slot:hover {
      border-color: var(--accent2)
    }

    .media-slot img,
    .media-slot video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 7px
    }

    .media-slot-del {
      position: absolute;
      top: 3px;
      right: 3px;
      background: rgba(0, 0, 0, .65);
      border: none;
      border-radius: 50%;
      color: #fff;
      cursor: pointer;
      font-size: 10px;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2
    }

    .media-slot-label {
      font-size: 18px;
      pointer-events: none
    }

    .media-slot-sub {
      font-size: 9px;
      margin-top: 2px;
      pointer-events: none
    }

    input[type=file].hf {
      display: none
    }

    .specs-editor {
      margin-bottom: 1rem
    }

    .spec-edit-row {
      display: grid;
      grid-template-columns: 1fr 1.2fr auto;
      gap: 6px;
      align-items: center;
      margin-bottom: 6px
    }

    .spec-edit-row input {
      margin-bottom: 0
    }

    .spec-edit-del,
    .price-row-del {
      background: none;
      border: none;
      color: var(--text3);
      cursor: pointer;
      font-size: 14px;
      padding: 0 4px;
      line-height: 1
    }

    .spec-edit-del:hover,
    .price-row-del:hover {
      color: #cc5050
    }

    .price-row-actions {
      display: flex;
      gap: 2px;
      align-items: center
    }

    .price-row-move {
      background: none;
      border: 0.5px solid var(--border2);
      border-radius: 5px;
      color: var(--text2);
      cursor: pointer;
      font-size: 12px;
      line-height: 1;
      padding: 3px 6px
    }

    .price-row-move:hover:not(:disabled) {
      color: var(--text);
      background: var(--surface2)
    }

    .price-row-move:disabled {
      opacity: .35;
      cursor: default
    }

    .spec-quick {
      display: flex;
      gap: 5px;
      flex-wrap: wrap;
      margin-bottom: 8px
    }

    .spec-quick-btn {
      background: none;
      border: 0.5px solid var(--border2);
      border-radius: 20px;
      color: var(--text2);
      cursor: pointer;
      font-size: 10px;
      padding: 3px 9px;
      font-family: 'DM Sans', sans-serif;
      transition: border-color .2s, color .2s
    }

    .spec-quick-btn:hover {
      border-color: var(--accent2);
      color: var(--accent)
    }

    .price-rows {
      margin-bottom: 1rem
    }

    .price-row {
      display: grid;
      grid-template-columns: 1fr 1fr auto;
      gap: 6px;
      align-items: center;
      margin-bottom: 6px
    }

    .price-row input[type=text] {
      margin-bottom: 0
    }

    .add-row-btn {
      background: none;
      border: 0.5px dashed var(--border2);
      border-radius: 6px;
      color: var(--text3);
      cursor: pointer;
      font-size: 11px;
      padding: 5px 10px;
      transition: border-color .2s, color .2s;
      margin-bottom: 1rem;
      font-family: 'DM Sans', sans-serif
    }

    .add-row-btn:hover {
      border-color: var(--accent2);
      color: var(--accent)
    }

    .prod-list-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 0;
      border-bottom: 0.5px solid var(--border)
    }

    .prod-list-item:last-child {
      border-bottom: none
    }

    .prod-list-name {
      font-size: 13px;
      color: var(--text)
    }

    .prod-list-sec {
      font-size: 11px;
      color: var(--text3)
    }

    .tier-edit-card {
      background: var(--surface2);
      border: 0.5px solid var(--border2);
      border-radius: var(--radius);
      padding: 1rem;
      margin-bottom: 1rem
    }

    .tier-edit-title {
      font-size: 12px;
      font-weight: 500;
      color: var(--text);
      margin-bottom: 0.75rem
    }

    .tier-edit-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px
    }

    .tier-edit-grid input {
      margin-bottom: 0.75rem
    }

    .tier-highlight-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 0.5rem;
      font-size: 12px;
      color: var(--text2)
    }

    .tier-highlight-row input[type=checkbox] {
      width: 16px;
      height: 16px;
      accent-color: var(--accent2);
      cursor: pointer
    }

    .sep {
      height: 0.5px;
      background: var(--border);
      margin: 1rem 0
    }

    .add-prod-btn {
      background: var(--surface2);
      border: 0.5px dashed var(--border2);
      border-radius: var(--radius);
      color: var(--text3);
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      padding: 0.65rem;
      text-align: center;
      width: 100%;
      transition: border-color .2s, color .2s;
      margin-top: 8px
    }

    .add-prod-btn:hover {
      border-color: var(--accent2);
      color: var(--accent)
    }

    .empty-state {
      text-align: center;
      padding: 2.5rem 1rem;
      color: var(--text3);
      font-size: 13px
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      padding: 4px 10px;
      border-radius: 20px;
      margin-bottom: 1rem;
      background: var(--surface2);
      border: 0.5px solid var(--border);
      color: var(--text3)
    }

    .field-hint {
      font-size: 10px;
      color: var(--text3);
      margin-bottom: 8px;
      margin-top: -4px
    }

    .busy {
      position: fixed;
      inset: 0;
      z-index: 600;
      background: rgba(0, 0, 0, .6);
      display: none;
      align-items: center;
      justify-content: center;
      color: var(--text);
      font-size: 14px
    }

    .busy.open {
      display: flex
    }

    .banner {
      display: none;
      padding: 0.75rem 1rem;
      background: #2d1f0e;
      color: #c4854a;
      font-size: 12px;
      text-align: center;
      border-bottom: 0.5px solid #4a3518
    }

    .banner.show {
      display: block
    }

    /* ── ANIMACIONES ── */
    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(14px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0
      }

      to {
        opacity: 1
      }
    }

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

      to {
        opacity: 1;
        transform: translateY(0) scale(1)
      }
    }

    @keyframes slideFromRight {
      from {
        opacity: 0;
        transform: translateX(28px)
      }

      to {
        opacity: 1;
        transform: translateX(0)
      }
    }

    @keyframes slideFromLeft {
      from {
        opacity: 0;
        transform: translateX(-28px)
      }

      to {
        opacity: 1;
        transform: translateX(0)
      }
    }

    .card {
      animation: fadeUp .42s cubic-bezier(.22, .61, .36, 1) both
    }

    .section.visible {
      animation: fadeIn .35s ease both
    }

    #detail.open {
      animation: fadeIn .25s ease both
    }

    #detail.open #detail-card {
      animation: pop .38s cubic-bezier(.22, .61, .36, 1) both
    }

    #detail-stage .stage-anim {
      animation: fadeIn .28s ease both
    }

    /* Zoom suave automático de la imagen al abrir el producto */
    @keyframes zoomOpen {
      from {
        opacity: .35;
        transform: scale(1.14)
      }

      to {
        opacity: 1;
        transform: scale(1)
      }
    }

    #detail-stage .zoom-anim {
      animation: zoomOpen .9s cubic-bezier(.22, .61, .36, 1) both
    }

    /* Lupa al hacer clic en la imagen del detalle */
    #detail-stage img {
      transition: transform .28s ease
    }

    #detail-stage img.img-zoomed {
      transform: scale(2.6);
      cursor: zoom-out
    }

    #detail-stage.swipe-next .stage-anim {
      animation: slideFromRight .3s cubic-bezier(.22, .61, .36, 1) both
    }

    #detail-stage.swipe-prev .stage-anim {
      animation: slideFromLeft .3s cubic-bezier(.22, .61, .36, 1) both
    }

    #detail-stage {
      touch-action: pan-y;
      -webkit-user-select: none;
      user-select: none
    }

    @media (prefers-reduced-motion: reduce) {
      * {
        animation: none !important;
        scroll-behavior: auto !important
      }
    }

    /* En dispositivos táctiles (móvil) se ocultan las flechas: solo swipe */
    @media (hover: none) and (pointer: coarse) {
      .detail-stage-nav {
        display: none !important
      }
    }

    /* Cambio suave al rotar la foto en las tarjetas del catálogo */
    .card-media img.card-cycle {
      animation: fadeIn .4s ease both
    }

    /* ════════ V0.1: verificación de edad, carrito, cuentas, pago ════════ */

    /* Age gate +18 */
    #age-gate {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 600;
      background: var(--bg);
      align-items: center;
      justify-content: center;
      padding: 1.5rem
    }

    #age-gate.open {
      display: flex
    }

    .age-box {
      max-width: 380px;
      text-align: center
    }

    .age-box h2 {
      font-family: 'Fraunces', 'Cormorant Garamond', serif;
      font-size: 1.8rem;
      color: var(--text);
      margin-bottom: .5rem
    }

    .age-box p {
      color: var(--text2);
      font-size: 13px;
      margin-bottom: 1.5rem
    }

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

    /* Stock / agotado en tarjetas y detalle */
    .card-stock {
      font-size: 10px;
      color: var(--text2);
      letter-spacing: .04em
    }

    .card-stock.low {
      color: #d8a14a
    }

    .badge-soldout {
      font-size: 11px;
      padding: 3px 10px;
      border-radius: 20px;
      background: rgba(204, 80, 80, .12);
      color: #cc7070;
      border: .5px solid rgba(204, 80, 80, .35)
    }

    .card.soldout {
      opacity: .55
    }

    /* Botones de compra */
    .buy-row {
      display: flex;
      gap: .5rem;
      margin-top: 1rem;
      flex-wrap: wrap
    }

    .buy-qty {
      width: 56px;
      text-align: center
    }

    /* Selector de cantidad con +/- (precio por volumen) */
    .qty-stepper {
      display: flex;
      align-items: stretch;
      border: .5px solid var(--border2);
      border-radius: var(--radius);
      overflow: hidden
    }

    .qty-stepper .buy-qty {
      width: 52px;
      margin: 0;
      border: none;
      border-radius: 0;
      border-left: .5px solid var(--border2);
      border-right: .5px solid var(--border2)
    }

    .qty-btn {
      width: 38px;
      border: none;
      background: var(--surface2);
      color: var(--text);
      font-size: 1.2rem;
      line-height: 1;
      cursor: pointer
    }

    .qty-btn:hover {
      background: var(--border)
    }

    .buy-unit {
      align-self: center;
      font-size: 13px;
      color: var(--text3)
    }

    .buy-total {
      margin-top: .6rem;
      display: flex;
      align-items: center;
      gap: .6rem;
      flex-wrap: wrap
    }

    .buy-total-main {
      font-size: 14px;
      color: var(--text)
    }

    .buy-total-save {
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      background: var(--surface2);
      border: .5px solid var(--border2);
      padding: 2px 8px;
      border-radius: 20px
    }

    /* Tarjeta de comunidad (cuenta) */
    .comm-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: .35rem
    }

    .comm-btn {
      width: 100%;
      margin-bottom: .5rem
    }

    /* Preguntas frecuentes (acordeón) */
    .faq-list {
      max-width: 760px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: .6rem
    }

    .faq-item {
      background: var(--surface);
      border: .5px solid var(--border2);
      border-radius: var(--radius);
      overflow: hidden
    }

    .faq-q {
      list-style: none;
      cursor: pointer;
      padding: .9rem 1.1rem;
      font-size: 14px;
      font-weight: 500;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: .6rem
    }

    .faq-q::-webkit-details-marker {
      display: none
    }

    .faq-q::before {
      content: '+';
      color: var(--accent);
      font-size: 1.1rem;
      line-height: 1;
      width: 1rem;
      flex-shrink: 0
    }

    .faq-item[open] .faq-q::before {
      content: '−'
    }

    .faq-item[open] .faq-q {
      border-bottom: .5px solid var(--border)
    }

    .faq-a {
      padding: .9rem 1.1rem 1.1rem 2.7rem;
      font-size: 13px;
      line-height: 1.6;
      color: var(--text2)
    }

    /* Editor de FAQ (admin) */
    .faq-edit-card {
      border: .5px solid var(--border2);
      border-radius: var(--radius);
      padding: .9rem;
      margin-bottom: .75rem
    }

    .faq-edit-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: .4rem
    }

    .faq-edit-n {
      font-size: 12px;
      font-weight: 600;
      color: var(--text)
    }

    /* Caja del widget Turnstile */
    .cf-turnstile-box {
      margin: .25rem 0 .75rem;
      min-height: 0;
      display: flex;
      justify-content: center
    }

    .cf-turnstile-box:empty {
      margin: 0
    }

    /* Botones flotantes (carrito / cuenta) */
    /* Columna vertical de botones flotantes (anclada abajo a la derecha) */
    #fab-stack {
      position: fixed;
      right: 1rem;
      bottom: 1rem;
      z-index: 250;
      display: flex;
      flex-direction: column;
      gap: .55rem;
      align-items: center;
    }

    .fab {
      position: relative;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: .5px solid var(--border2);
      background: var(--surface);
      color: var(--text);
      font-size: 1.1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
      transition: transform .15s ease, box-shadow .15s ease
    }

    .fab:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 14px rgba(0, 0, 0, .14)
    }

    .fab-badge {
      position: absolute;
      top: -4px;
      right: -4px;
      min-width: 18px;
      height: 18px;
      padding: 0 4px;
      border-radius: 9px;
      background: var(--accent);
      color: #ffffff;
      font-size: 11px;
      font-weight: 600;
      display: none;
      align-items: center;
      justify-content: center
    }

    .fab-badge.show {
      display: flex
    }

    /* Carrito y checkout (reusa estilos de .overlay / #login-box vía estas clases) */
    .sheet {
      background: var(--surface);
      border: .5px solid var(--border2);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 420px;
      padding: 1.5rem;
      margin: 1rem;
      max-height: 88vh;
      overflow-y: auto
    }

    .cart-item {
      display: flex;
      gap: .5rem;
      align-items: center;
      padding: .6rem 0;
      border-bottom: .5px solid var(--border)
    }

    .cart-item-name {
      font-size: 13px;
      color: var(--text)
    }

    .cart-item-sub {
      font-size: 11px;
      color: var(--text2)
    }

    .cart-total-row {
      display: flex;
      justify-content: space-between;
      font-size: 15px;
      color: var(--text);
      margin: 1rem 0;
      font-weight: 500
    }

    /* Caja de pago en cripto */
    .pay-box {
      background: var(--surface2);
      border: .5px solid var(--border2);
      border-radius: var(--radius);
      padding: 1rem;
      margin-top: .75rem
    }

    .pay-addr {
      font-family: monospace;
      font-size: 11px;
      word-break: break-all;
      color: var(--text2);
      background: var(--bg);
      border: .5px solid var(--border);
      border-radius: 8px;
      padding: .5rem;
      margin: .5rem 0
    }

    #pay-qr {
      display: flex;
      justify-content: center;
      margin: .75rem 0
    }

    #pay-qr img,
    #pay-qr canvas {
      border-radius: 8px;
      background: #fff;
      padding: 8px
    }

    .acct-state {
      font-size: 12px;
      color: var(--text2);
      margin-bottom: 1rem
    }

    .visible-row {
      display: flex;
      align-items: center;
      gap: 8px;
      margin: .5rem 0
    }

    .visible-row input {
      width: auto;
      margin: 0
    }

    .visible-row label {
      margin: 0;
      text-transform: none;
      letter-spacing: 0;
      font-size: 12px
    }

    /* Tarjetas del panel de pedidos */
    .order-card {
      background: var(--surface2);
      border: .5px solid var(--border2);
      border-radius: var(--radius);
      padding: .85rem;
      margin-bottom: .65rem
    }

    .order-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: .35rem
    }

    .order-id {
      font-size: 13px;
      font-weight: 600;
      color: var(--text)
    }

    .order-badge {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 20px;
      letter-spacing: .03em;
      background: var(--surface);
      color: var(--text2);
      border: .5px solid var(--border2);
      white-space: nowrap
    }

    .order-badge.st-pagado {
      background: rgba(143, 188, 106, .14);
      color: var(--accent);
      border-color: rgba(143, 188, 106, .4)
    }

    .order-badge.st-pendiente-de-pago {
      background: rgba(216, 161, 74, .14);
      color: #d8a14a;
      border-color: rgba(216, 161, 74, .4)
    }

    .order-badge.st-cancelado {
      background: rgba(204, 80, 80, .12);
      color: #cc7070;
      border-color: rgba(204, 80, 80, .35)
    }

    .order-badge.st-enviado {
      background: rgba(56, 189, 248, .14);
      color: #38a8d8;
      border-color: rgba(56, 189, 248, .4)
    }

    .order-badge.st-entregado {
      background: rgba(143, 188, 106, .2);
      color: var(--accent);
      border-color: rgba(143, 188, 106, .5)
    }

    /* Comentarios / reseñas en el modal de detalle */
    .cmt {
      border-top: .5px solid var(--border);
      padding: .6rem 0
    }

    .cmt-head {
      display: flex;
      align-items: center;
      gap: .5rem;
      margin-bottom: .25rem
    }

    .cmt-alias {
      font-size: 12px;
      font-weight: 600;
      color: var(--text)
    }

    .cmt-date {
      font-size: 11px;
      color: var(--text3)
    }

    .cmt-del {
      margin-left: auto;
      border: none;
      background: none;
      color: var(--text3);
      cursor: pointer;
      font-size: 13px;
      line-height: 1;
      padding: 2px 6px
    }

    .cmt-del:hover {
      color: #cc7070
    }

    .cmt-body {
      font-size: 13px;
      color: var(--text2);
      line-height: 1.5;
      word-break: break-word;
      white-space: pre-wrap
    }

    .cmt-form {
      margin-top: .75rem
    }

    .cmt-form textarea {
      min-height: 64px;
      margin-bottom: .5rem
    }

    /* Estrellas: calificación ya guardada (mostrar) */
    .cmt-rating {
      font-size: 12px;
      letter-spacing: 1px;
      color: #f5a623
    }

    .cmt-avg {
      font-size: 12px;
      font-weight: 500;
      color: var(--text2);
      margin-left: .35rem
    }

    .cmt-avg-n {
      color: var(--text3);
      font-weight: 400
    }

    /* Selector de estrellas (publicar) */
    .cmt-stars-pick {
      display: flex;
      align-items: center;
      gap: 2px;
      margin-bottom: .5rem
    }

    .cmt-star {
      border: none;
      background: none;
      cursor: pointer;
      font-size: 1.35rem;
      line-height: 1;
      padding: 0 1px;
      color: #c9ccd1
    }

    .cmt-star.on {
      color: #f5a623
    }

    .cmt-stars-hint {
      font-size: 11px;
      color: var(--text3);
      margin-left: .5rem
    }

    /* Reseña verificada */
    .cmt-verified {
      font-size: 10px;
      color: var(--accent);
      background: rgba(143, 188, 106, .16);
      border: .5px solid rgba(143, 188, 106, .4);
      border-radius: 20px;
      padding: 1px 7px;
      white-space: nowrap
    }

    /* ❤ y 🔖 sobre la imagen de la tarjeta */
    .card-actions {
      position: absolute;
      top: 7px;
      left: 7px;
      display: flex;
      gap: 4px;
      z-index: 2
    }

    .card-like,
    .card-fav {
      border: none;
      background: rgba(0, 0, 0, .55);
      color: #fff;
      border-radius: 20px;
      font-size: 12px;
      line-height: 1;
      padding: 4px 7px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 3px;
      transition: background .15s, transform .1s
    }

    .card-like:active,
    .card-fav:active {
      transform: scale(.9)
    }

    .card-like-n {
      font-size: 11px;
      font-weight: 600
    }

    .card-fav.on {
      background: rgba(245, 166, 35, .9)
    }

    /* Estrellas promedio en la tarjeta */
    .card-rating {
      display: flex;
      align-items: center;
      gap: 5px;
      margin: 2px 0 4px
    }

    .card-rating .cmt-rating {
      font-size: 12px
    }

    .card-rating-n {
      font-size: 11px;
      color: var(--text3)
    }

    /* Rastreo del envío — vista del cliente */
    .order-track {
      font-size: 12px;
      color: var(--text2);
      line-height: 1.6;
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: 8px;
      padding: .5rem .6rem;
      margin-bottom: .5rem
    }

    .order-track a {
      color: var(--accent)
    }

    /* Rastreo del envío — editor del admin */
    .order-track-edit {
      background: var(--surface);
      border: .5px solid var(--border);
      border-radius: 8px;
      padding: .6rem;
      margin-bottom: .5rem;
      display: flex;
      flex-direction: column;
      gap: .4rem
    }

    .order-track-title {
      font-size: 12px;
      font-weight: 600;
      color: var(--text);
      margin: 0
    }

    .order-track-edit input {
      margin: 0
    }

    .order-meta {
      font-size: 12px;
      color: var(--text2);
      margin-bottom: .4rem
    }

    .order-buyer {
      font-size: 12px;
      color: var(--text);
      margin-bottom: .3rem
    }

    .order-items {
      font-size: 12px;
      color: var(--text);
      margin-bottom: .4rem;
      line-height: 1.5
    }

    .order-deliv {
      font-size: 11px;
      color: var(--text2);
      margin-bottom: .55rem;
      line-height: 1.5
    }

    .order-actions {
      display: flex;
      gap: .5rem
    }

    /* Barra de búsqueda + ordenamiento del catálogo */
    .toolbar {
      max-width: 900px;
      margin: 1rem auto 0;
      padding: 0 1.5rem;
      display: flex;
      gap: .6rem;
      flex-wrap: wrap;
      align-items: center
    }

    .toolbar #search-input {
      flex: 1;
      min-width: 170px;
      margin: 0;
      border-radius: 50px;
      border: 1px solid var(--border2);
      background: var(--surface);
      padding: .6rem 1.1rem;
      transition: border-color .25s, box-shadow .25s, background .25s
    }

    .toolbar #search-input::placeholder {
      color: var(--text3)
    }

    .toolbar #search-input:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
      background: var(--surface)
    }

    .toolbar #sort-select {
      margin: 0;
      width: auto;
      min-width: 168px;
      border-radius: 50px
    }

    .search-count {
      font-size: 12px;
      color: var(--text2);
      margin-bottom: .75rem
    }

    /* Panel de filtros por etiqueta */
    .tag-bar {
      max-width: 900px;
      margin: .75rem auto 0;
      padding: 0 1.5rem;
      display: flex;
      gap: .5rem;
      flex-wrap: wrap;
      justify-content: center
    }

    .tag-bar:empty {
      display: none
    }

    .tag-chip {
      font-size: 11px;
      letter-spacing: .03em;
      padding: 5px 12px;
      border-radius: 50px;
      border: .5px solid var(--border2);
      background: var(--surface);
      color: var(--text2);
      cursor: pointer;
      transition: background .2s, color .2s, border-color .2s
    }

    .tag-chip:hover {
      color: var(--text)
    }

    .tag-chip.active {
      background: var(--accent2);
      border-color: var(--accent);
      color: #fff
    }

    html[data-theme='dark'] .tag-chip.active {
      color: #0a1208
    }

    .tier-buy {
      width: 100%;
      margin-top: 1.1rem
    }

    .te-pays {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 1rem
    }

    .te-pay {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      color: var(--text2);
      text-transform: none;
      letter-spacing: 0;
      margin: 0
    }

    .te-pay input {
      width: auto;
      margin: 0
    }

    /* Tarjeta "Mi cuenta": rol + campos */
    .acct-role {
      display: inline-block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: .08em;
      padding: 3px 10px;
      border-radius: 20px;
      margin-bottom: .9rem;
      background: var(--surface2);
      color: var(--text2);
      border: .5px solid var(--border2)
    }

    .acct-role.admin {
      background: rgba(46, 125, 50, .14);
      color: var(--accent);
      border-color: var(--accent)
    }

    .acct-field {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      font-size: 13px;
      padding: .45rem 0;
      border-bottom: .5px solid var(--border)
    }

    .acct-field span {
      color: var(--text2)
    }

    .acct-field b {
      color: var(--text);
      font-weight: 500;
      text-align: right;
      word-break: break-word
    }

    .phone-row {
      display: flex;
      align-items: center;
      gap: 6px
    }

    .phone-row .dial {
      font-size: 13px;
      color: var(--text2);
      background: var(--surface2);
      border: .5px solid var(--border2);
      border-radius: 6px;
      padding: .55rem .55rem;
      white-space: nowrap
    }

    .phone-row input {
      margin: 0
    }

    /* ════════ V0.6 — Aviso de privacidad, recompensas y panel de clientes ════════ */
    .privacy-note {
      margin: .2rem 0 .6rem;
      border: .5px solid var(--border2);
      border-radius: 10px;
      background: var(--surface2);
      overflow: hidden
    }

    .privacy-note summary {
      cursor: pointer;
      list-style: none;
      padding: .6rem .7rem;
      font-size: 12px;
      font-weight: 600;
      color: var(--text2);
      user-select: none
    }

    .privacy-note summary::-webkit-details-marker {
      display: none
    }

    .privacy-note[open] summary {
      border-bottom: .5px solid var(--border2)
    }

    .privacy-body {
      padding: .6rem .7rem;
      max-height: 240px;
      overflow-y: auto
    }

    .privacy-body p {
      font-size: 11.5px;
      line-height: 1.5;
      color: var(--text3);
      margin: 0 0 .5rem
    }

    .privacy-body p:last-child {
      margin-bottom: 0
    }

    .nowrap {
      white-space: nowrap
    }

    .privacy-accept {
      display: flex;
      align-items: flex-start;
      gap: .5rem;
      font-size: 12px;
      line-height: 1.4;
      color: var(--text2);
      margin: 0 0 .7rem;
      text-transform: none;
      letter-spacing: 0;
      cursor: pointer
    }

    .privacy-accept input {
      margin-top: .15rem;
      flex-shrink: 0
    }

    /* Recompensas del cliente (Mi cuenta) */
    .acct-rewards {
      margin: .6rem 0;
      padding: .7rem;
      border: .5px solid var(--border2);
      border-radius: 12px;
      background: var(--surface2)
    }

    .acct-rewards-title {
      font-size: 12px;
      font-weight: 700;
      color: var(--text);
      margin: 0 0 .5rem
    }

    .reward-card {
      display: flex;
      align-items: center;
      gap: .5rem;
      padding: .5rem .6rem;
      border: .5px solid var(--border2);
      border-radius: 10px;
      background: var(--surface);
      margin-bottom: .4rem
    }

    .reward-card:last-child {
      margin-bottom: 0
    }

    .reward-card.redeemed {
      opacity: .55
    }

    .reward-label {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--text);
      margin: 0
    }

    .reward-note {
      font-size: 11px;
      color: var(--text3);
      margin: .1rem 0 0
    }

    .reward-date {
      font-size: 10px;
      color: var(--text3);
      margin: .15rem 0 0
    }

    .reward-done {
      color: var(--accent);
      font-weight: 700;
      font-size: 1.1rem
    }

    /* Panel de clientes (admin) */
    .cust-stats {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem .9rem;
      margin: .4rem 0;
      font-size: 12px;
      color: var(--text2)
    }

    .cust-stats strong {
      color: var(--text)
    }

    .cust-suggest {
      font-size: 12px;
      color: var(--text);
      background: var(--surface2);
      border: .5px solid var(--border2);
      border-radius: 8px;
      padding: .4rem .55rem;
      margin: .35rem 0
    }

    .cust-reward-form {
      display: flex;
      flex-direction: column;
      gap: .4rem;
      margin-top: .5rem
    }

    .cust-reward-form input {
      margin: 0
    }
