/* MercadU — estilo "Bold" (portada oscura, titulares gigantes, bloques de color, botones rectos)
   con la paleta MercadU: esmeralda, teal, dorado y verde casi negro. */
:root {
  /* paleta MercadU */
  --brand: #059669;          /* esmeralda: acento principal */
  --brand-dark: #047857;
  --brand-2: #14b8a6;        /* teal */
  --brand-3: #34d399;        /* verde claro */
  --gold: #f59e0b;           /* dorado: monedas / comisiones */
  --brand-grad: linear-gradient(120deg, #047857, #10b981 60%, #34d399);

  /* superficies */
  --night: #0f1f1a;          /* verde casi negro (texto actual, ahora fondo de bandas oscuras) */
  --night-2: #162b24;
  --night-line: #26403a;
  --on-night: #f3f8f5;
  --night-muted: #9fb5ad;
  --bg: #f3f8f5;
  --card: #ffffff;
  --paper-2: #ecfdf5;        /* tinte verde muy claro */
  --text: #0f1f1a;
  --muted: #5b6b64;
  --line: #dbe7e1;
  --ok: #16a34a; --warn: #d97706; --bad: #dc2626;

  --f-head: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-pic: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  display: flex; flex-direction: column; min-height: 100vh;
}
h1, h2, h3 { font-family: var(--f-head); letter-spacing: -.02em; text-wrap: balance; }
.hidden, [hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.eyebrow { font-family: var(--f-head); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin: 0; }
.dark .eyebrow { color: var(--brand-3); }
.dot { color: var(--brand); }
.dark .dot, .dark .hl { color: var(--brand-3); }
.dark { background: var(--night); color: var(--on-night); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 31, 26, .95); backdrop-filter: blur(10px);
  color: var(--on-night); border-bottom: 1px solid var(--night-line);
}
.topbar .wrap { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand-mark {
  position: relative; font-family: var(--f-head);
  font-weight: 800; font-size: 20px; letter-spacing: -1px;
  background: var(--brand-grad); color: #fff; padding: 4px 11px 4px 10px; border-radius: 11px;
}
/* moneda dorada sobre la "U" */
.brand-u { position: relative; }
.brand-u::after {
  content: "₮"; position: absolute; top: -7px; right: -9px;
  font-size: 11px; font-weight: 800; color: #3b2f00;
  background: var(--gold); border-radius: 50%; width: 15px; height: 15px;
  display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.brand-name { font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.brand-name b { color: var(--brand-3); font-weight: 800; }
.search { flex: 1; max-width: 520px; }
.search input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--night-line);
  border-radius: 0; background: var(--night-2); color: var(--on-night); outline: none; font-size: 15px;
}
.search input::placeholder { color: var(--night-muted); }
.search input:focus { border-color: var(--brand-3); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  position: relative; border: 1px solid var(--night-line); background: transparent;
  padding: 9px 16px; border-radius: 0; font-family: var(--f-head); font-weight: 600; color: var(--on-night);
  transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--on-night); }
.icon-btn.solid { background: var(--brand); border-color: var(--brand); color: #fff; }
.icon-btn.solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.badge {
  background: var(--gold); color: var(--night); border-radius: 999px;
  font-size: 12px; font-weight: 800; padding: 1px 7px; margin-left: 4px;
}

main { flex: 1; width: 100%; }
main > .page-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 20px 72px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 2px solid var(--brand); background: var(--brand); color: #fff;
  padding: 13px 22px; border-radius: 0; font-family: var(--f-head); font-weight: 700; font-size: .95rem;
  width: 100%; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn.auto { width: auto; }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--brand); color: #fff; }
.btn.line-light { background: transparent; border-color: var(--on-night); color: var(--on-night); }
.btn.line-light:hover { background: var(--on-night); color: var(--night); }
.btn.dark-btn { background: var(--night); border-color: var(--night); color: #fff; }
.btn.dark-btn:hover { background: var(--brand); border-color: var(--brand); }
.btn.sec { background: var(--paper-2); border-color: var(--paper-2); color: var(--text); }
.btn.sec:hover { border-color: var(--text); background: var(--paper-2); }
.btn.ok { background: var(--ok); border-color: var(--ok); }
.btn.bad { background: var(--bad); border-color: var(--bad); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .7fr .55fr; gap: 40px; padding-top: 72px; padding-bottom: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); font-weight: 800; line-height: .98; margin: 18px 0 0; }
.hero .lead { margin: 22px 0 0; max-width: 46ch; font-size: 1.08rem; color: var(--night-muted); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .ctas .btn { width: auto; }
.capsule-wrap { position: relative; }
.capsule {
  width: 100%; aspect-ratio: 9/16; border-radius: 999px; display: grid; place-items: center; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 28% 18%, #6ee7b7 0%, #10b981 45%, #047857 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}
.capsule .big-emoji { font-size: clamp(64px, 9vw, 110px); filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); }
.capsule-wrap .orb { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); top: -18px; left: -22px; z-index: 2; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 26px; color: #3b2f00; }
.capsule-wrap .chip-float {
  position: absolute; right: -18px; bottom: 22%; z-index: 2; background: #fff; color: var(--text);
  padding: 12px 14px; box-shadow: 0 14px 30px rgba(0,0,0,.4); display: flex; gap: 10px; align-items: center; font-size: .82rem; line-height: 1.3;
}
.chip-float .av { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; }
.chip-float b { display: block; font-family: var(--f-head); }
.chip-float .plus { color: var(--brand); font-weight: 700; }
.hero-stats { display: grid; gap: 30px; }
.hero-stats .n { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-stats .n span { color: var(--brand-3); }
.hero-stats .t { margin-top: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--night-muted); }

/* ---------- Bloques de cifras ---------- */
.blocks { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.block { padding: 36px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.block .n { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
.block .k { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.block .bar { width: 34px; height: 3px; background: currentColor; }
.block p { margin: 0; font-size: .92rem; opacity: .88; max-width: 30ch; }
.b1 { background: #fff; } .b1 .n { color: var(--brand); }
.b2 { background: var(--brand); color: #fff; }
.b3 { background: var(--gold); color: var(--night); }
.b4 { background: var(--night-2); color: var(--on-night); }

/* ---------- Secciones ---------- */
section.sec { padding-top: 84px; padding-bottom: 84px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.02; margin: 12px 0 0; max-width: 16ch; }
.sec-head p { margin: 0; max-width: 42ch; color: var(--muted); }
.dark .sec-head p { color: var(--night-muted); }

/* ---------- Chips de categoría ---------- */
.chips { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 28px; background: #fff; border: 1px solid var(--line); }
.chip {
  border: 0; border-right: 1px solid var(--line); background: transparent; padding: 13px 20px;
  font-family: var(--f-head); font-weight: 600; color: var(--muted); border-radius: 0;
}
.chip:hover { color: var(--text); background: var(--paper-2); }
.chip.active { background: var(--night); color: #fff; }

/* ---------- Grid de productos ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 30px 24px; }
.card { display: flex; flex-direction: column; color: var(--text); }
.card .pic {
  position: relative; aspect-ratio: 4/4.4; border-radius: var(--r-pic); overflow: hidden;
  display: grid; place-items: center; background: var(--pic, #d1fae5);
}
.card .pic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 70% 90%, rgba(0,0,0,.12), transparent 70%); pointer-events: none; }
.card .emoji { font-size: 84px; transition: transform .4s; filter: drop-shadow(0 10px 16px rgba(0,0,0,.18)); }
.card:hover .emoji { transform: scale(1.08) rotate(-4deg); }
.card .comm {
  position: absolute; top: 12px; left: 12px; z-index: 1; font-size: .74rem; font-weight: 700;
  padding: 6px 10px; background: var(--night); color: #fff;
}
.card .comm b { color: var(--gold); }
.card .cat-tag { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: .72rem; font-weight: 600; padding: 6px 10px; background: #fff; color: var(--text); }
.card .body { padding: 14px 2px 0; display: grid; gap: 6px; }
.card h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.card .row-b { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.card .price { font-family: var(--f-head); font-size: 1.3rem; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.card .add { width: auto; padding: 9px 14px; font-size: .88rem; }
.empty { grid-column: 1/-1; padding: 48px; text-align: center; background: var(--paper-2); color: var(--muted); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--night-line); }
.step { background: var(--night); padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--f-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand-3); }
.step h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.step p { margin: 0; color: var(--night-muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta { background: var(--brand); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.02; max-width: 18ch; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn { width: auto; border-color: #fff; background: transparent; color: #fff; }
.cta .btn:hover { background: #fff; color: var(--brand); }
.cta .btn.solid { background: var(--night); border-color: var(--night); }
.cta .btn.solid:hover { background: #fff; color: var(--night); border-color: #fff; }

/* ---------- Páginas internas ---------- */
.page-head { margin-bottom: 28px; }
h1.page { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.02; margin: 10px 0 0; }
.panel { background: var(--card); border: 1px solid var(--line); padding: 26px; margin-bottom: 20px; min-width: 0; }
.panel h2 { margin: 0 0 14px; font-size: 1.45rem; font-weight: 800; }
.panel.dark { background: var(--night); color: var(--on-night); border-color: var(--night); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.panel.dark .muted { color: var(--night-muted); }
.panel.dark .line { border-color: var(--night-line); }
.big-n { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dark .big-n { color: var(--brand-3); }
.code-n { font-family: var(--f-head); font-weight: 800; font-size: 2rem; letter-spacing: .12em; color: var(--brand); }
.row { display: flex; gap: 20px; flex-wrap: wrap; }
.row > .panel { flex: 1; min-width: 280px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 200px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  padding: 12px; border: 1px solid var(--line); border-radius: 0; font-size: 15px; background: #fff; width: 100%; min-width: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--text); outline: none; }
.muted { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.total-n { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; color: var(--brand); font-variant-numeric: tabular-nums; }
.dark .total-n { color: var(--brand-3); }
.auth-box { max-width: 460px; margin: 0 auto; }
.auth-box a { color: var(--brand); font-weight: 600; }

/* Lista (carrito, órdenes) */
.line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: none; }
.line .ico { width: 58px; height: 58px; border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; font-size: 30px; flex: 0 0 58px; }
.line .grow { flex: 1; min-width: 0; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 32px; height: 32px; border-radius: 0; border: 1px solid var(--line); background: #fff; font-weight: 800; }
.qty button:hover { background: var(--night); color: #fff; border-color: var(--night); }

/* Estados */
.tag { font-size: .72rem; font-weight: 700; padding: 3px 10px; text-transform: uppercase; letter-spacing: .06em; }
.tag.pending { background: #fef3c7; color: #92400e; }
.tag.paid { background: #dcfce7; color: #166534; }
.tag.rejected { background: #fee2e2; color: #991b1b; }

/* Pago */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.pay-opt { padding: 14px; text-align: center; cursor: pointer; font-family: var(--f-head); font-weight: 700; }
.pay-opt + .pay-opt { border-left: 1px solid var(--line); }
.pay-opt:hover { background: var(--paper-2); }
.pay-opt.active { background: var(--night); color: #fff; }
.pay-box { background: var(--paper-2); border-left: 4px solid var(--brand); padding: 16px 18px; margin-top: 16px; overflow-wrap: anywhere; }
.pay-box code { background: #fff; padding: 2px 8px; border: 1px solid var(--line); user-select: all; }

/* Stats admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); margin-bottom: 20px; }
.stat { background: #fff; padding: 22px 20px; }
.stat:nth-child(5) { background: var(--brand); color: #fff; }
.stat:nth-child(6) { background: var(--gold); color: var(--night); }
.stat .n { font-family: var(--f-head); font-size: 2rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { margin-top: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--night); color: #fff; padding: 13px 22px; border-radius: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.25); z-index: 50; font-weight: 600;
}
.toast.bad { background: var(--bad); } .toast.ok { background: var(--brand); }

/* ---------- Footer ---------- */
.footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer h4 { margin: 0 0 14px; font-family: var(--f-head); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer a { color: var(--night-muted); text-decoration: none; cursor: pointer; }
.footer a:hover { color: var(--on-night); }
.footer .about p { color: var(--night-muted); margin: 14px 0 0; max-width: 36ch; font-size: .93rem; }
.footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: .86rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-column: 1/-1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .blocks { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topbar .wrap { flex-wrap: wrap; gap: 12px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 48px; }
  .capsule-wrap { width: 200px; margin-inline: auto; }
  .hero-stats { gap: 16px; }
  .two-col { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr; }
  .pay-opt + .pay-opt { border-left: 0; border-top: 1px solid var(--line); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .about { grid-column: 1/-1; }
  section.sec { padding-top: 60px; padding-bottom: 60px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; }
  .chip { white-space: nowrap; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .card .pic { border-radius: 16px; }
  .card .emoji { font-size: 58px; }
  .card .cat-tag { display: none; }
  .card .comm { top: 8px; left: 8px; font-size: .66rem; padding: 4px 7px; }
  .card h3 { font-size: 1rem; }
  .card .price { font-size: 1.1rem; }
  .card .add { width: 100%; }
}
@media (max-width: 480px) {
  .blocks, .steps { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .card .row-b { flex-wrap: wrap; }
  .line { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Fotos de producto ---------- */
.card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .pic img { transform: scale(1.04); }
.card .pic.has-photo::after { background: linear-gradient(180deg, rgba(0,0,0,.18), transparent 30%); }
.ico img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ico .emoji { font-size: 30px; }
.ico { overflow: hidden; }

/* ---------- Admin: pestañas ---------- */
.tabs { display: flex; border: 1px solid var(--line); background: #fff; margin-bottom: 20px; width: fit-content; max-width: 100%; }
.tab { border: 0; background: transparent; padding: 12px 22px; font-family: var(--f-head); font-weight: 700; color: var(--muted); }
.tab + .tab { border-left: 1px solid var(--line); }
.tab:hover { background: var(--paper-2); color: var(--text); }
.tab[aria-selected="true"] { background: var(--night); color: #fff; }

/* ---------- Admin: productos ---------- */
.prod-admin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.prod-admin > .panel:first-child { position: sticky; top: 90px; }
.pform { display: grid; gap: 16px; margin-top: 16px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.f-grid .field { min-width: 0; margin-bottom: 12px; }
.f-grid .span2 { grid-column: 1 / -1; }
.earn { padding: 12px; background: var(--paper-2); font-size: .9rem; font-variant-numeric: tabular-nums; }
.earn b { color: var(--brand); }
.photo-drop { display: flex; gap: 18px; align-items: center; padding: 14px; border: 2px dashed var(--line); transition: border-color .2s, background .2s; }
.photo-drop.over { border-color: var(--brand); background: var(--paper-2); }
.photo-prev { width: 120px; height: 120px; flex: none; border-radius: 18px; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.photo-prev .emoji { font-size: 54px; }
.photo-txt { display: grid; gap: 6px; min-width: 0; font-size: .92rem; }
.photo-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.btn.sm { padding: 8px 14px; font-size: .86rem; }
label.btn { cursor: pointer; }
.prow .grow { min-width: 0; }
.prow.off .ico, .prow.off .grow b { opacity: .5; }
@media (max-width: 900px) {
  .prod-admin { grid-template-columns: 1fr; }
  .prod-admin > .panel:first-child { position: static; }
}
@media (max-width: 480px) {
  .f-grid { grid-template-columns: 1fr; }
  .photo-drop { flex-direction: column; align-items: flex-start; }
}

/* ---------- +18 y categorías ---------- */
.card .cat-tag.adult { background: var(--gold); color: var(--night); font-weight: 800; }
.adult-ok { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: #fffbeb; border: 1px solid #fde68a; font-size: .9rem; cursor: pointer; margin: 4px 0 14px; }
.adult-ok input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.stack-col { display: grid; gap: 20px; min-width: 0; }
.cat-add { display: flex; gap: 8px; margin: 12px 0 6px; flex-wrap: wrap; }
.cat-add input { flex: 1; min-width: 160px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 0; background: #fff; outline: none; }
.cat-add input:focus { border-color: var(--text); }
.cat-row { padding: 10px 0; }
.btn:disabled:hover { background: transparent; color: var(--brand); }

/* ---------- Admin: cobros ---------- */
.switch { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--brand); }
.addr-hint { font-size: .84rem; margin-top: 6px; color: var(--bad); }
.addr-hint.ok { color: var(--ok); }
#pc-usdt-address { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }

/* ---------- QR de pago ---------- */
.usdt-box { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.qr-pay { display: grid; justify-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.qr-pay svg, .qr-pay img { width: 168px; height: 168px; background: #fff; border: 1px solid var(--line); padding: 6px; object-fit: contain; }
.usdt-info { flex: 1; min-width: 200px; }
.usdt-info .addr { display: inline-block; margin: 4px 0 10px; font-size: .85rem; word-break: break-all; }
.qr-cfg { display: flex; gap: 18px; align-items: flex-start; padding: 14px; border: 1px dashed var(--line); margin-bottom: 12px; }
.qr-prev { width: 150px; height: 150px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); text-align: center; font-size: .8rem; padding: 6px; }
.qr-prev svg, .qr-prev img { width: 100%; height: 100%; object-fit: contain; }
.qr-opts { display: grid; gap: 10px; min-width: 0; font-size: .92rem; }
.qr-opt { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.qr-opt input { margin-top: 4px; accent-color: var(--brand); }
@media (max-width: 560px) { .qr-cfg { flex-direction: column; } }