
/* TR Marketplace PRO - Dark Premium */
.trmp-wrap, .trmp-single{ --bg:#0b1220; --panel:#0f1729; --panel2:#0b1220; --line:rgba(255,255,255,.12); --text:#e9eefc; --muted:#9fb0d0; --accent:#1e3a8a; --cta:#e11d48; --ghost:rgba(255,255,255,.10); color:var(--text); }

.trmp-wrap{ padding:18px 0; }
.trmp-filters{ background:linear-gradient(180deg,var(--panel),var(--panel2)); border:1px solid var(--line); border-radius:18px; padding:14px; box-shadow:0 16px 40px rgba(0,0,0,.35); margin-bottom:16px; }
.trmp-filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.trmp-filter-row:last-child{ margin-bottom:0; }
.trmp-filters input, .trmp-filters select{
  background:rgba(255,255,255,.06); border:1px solid var(--line); color:var(--text);
  padding:12px 12px; border-radius:12px; outline:none; min-width:160px;
}
.trmp-filters input::placeholder{ color:rgba(233,238,252,.65); }

.trmp-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:12px; padding:12px 16px; font-weight:700; text-decoration:none; border:1px solid transparent; cursor:pointer; }
.trmp-btn-primary{ background:var(--cta); color:#fff; }
.trmp-btn-ghost{ background:var(--ghost); color:var(--text); border-color:var(--line); }
.trmp-btn:hover{ opacity:.92; }

.trmp-empty{ background:linear-gradient(180deg,var(--panel),var(--panel2)); border:1px dashed var(--line); border-radius:18px; padding:18px; }

.trmp-grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
@media(max-width:980px){ .trmp-grid{ grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){ .trmp-grid{ grid-template-columns:1fr;} }

.trmp-card{ background:linear-gradient(180deg,var(--panel),var(--panel2)); border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:0 16px 40px rgba(0,0,0,.35); }
.trmp-card-link{ display:block; color:inherit; text-decoration:none; }
.trmp-card-media{ height:180px; background:#111827; background-size:cover; background-position:center; }
.trmp-card-body{ padding:14px; }
.trmp-card-title{ margin:10px 0 6px; font-size:16px; line-height:1.25; }
.trmp-price{ font-size:18px; font-weight:800; }
.trmp-price-xl{ font-size:26px; }
.trmp-meta{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; color:var(--muted); font-size:13px; }
.trmp-pill{ padding:6px 10px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.06); }
.trmp-pill-disponible{ border-color:rgba(34,197,94,.35); }
.trmp-pill-reservado{ border-color:rgba(234,179,8,.35); }
.trmp-pill-vendido{ border-color:rgba(239,68,68,.35); }

.trmp-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:800; letter-spacing:.02em;
  padding:8px 10px; border-radius:999px;
  background:rgba(79,140,255,.16);
  border:1px solid rgba(79,140,255,.25);
}

.trmp-pagination{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-top:16px; }
.trmp-page{ padding:10px 12px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.06); color:var(--text); text-decoration:none; }
.trmp-page.active{ background:rgba(225,29,72,.18); border-color:rgba(225,29,72,.35); }

.trmp-single-head{ display:grid; grid-template-columns:1.15fr .85fr; gap:14px; }
@media(max-width:980px){ .trmp-single-head{ grid-template-columns:1fr; } }
.trmp-single-media{ background:linear-gradient(180deg,var(--panel),var(--panel2)); border:1px solid var(--line); border-radius:18px; padding:12px; box-shadow:0 16px 40px rgba(0,0,0,.35); }
.trmp-single-img{ width:100%; height:auto; border-radius:14px; }
.trmp-single-summary{ background:linear-gradient(180deg,var(--panel),var(--panel2)); border:1px solid var(--line); border-radius:18px; padding:14px; box-shadow:0 16px 40px rgba(0,0,0,.35); }
.trmp-single-title{ margin:10px 0 10px; font-size:24px; line-height:1.2; }
.trmp-table{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
@media(max-width:520px){ .trmp-table{ grid-template-columns:1fr; } }
.trmp-table > div{ border:1px solid var(--line); background:rgba(255,255,255,.05); border-radius:14px; padding:10px; }
.trmp-table span{ display:block; color:var(--muted); font-size:12px; }
.trmp-table strong{ display:block; margin-top:4px; }

.trmp-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.trmp-single-body{ margin-top:14px; display:grid; grid-template-columns:1fr; gap:14px; }
.trmp-panel{ background:linear-gradient(180deg,var(--panel),var(--panel2)); border:1px solid var(--line); border-radius:18px; padding:14px; box-shadow:0 16px 40px rgba(0,0,0,.35); }
.trmp-panel h3{ margin-top:0; }

.trmp-form input, .trmp-form textarea{
  width:100%;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--text);
  padding:12px 12px;
  border-radius:12px;
  outline:none;
}
.trmp-form textarea{ resize:vertical; }
.trmp-form-2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media(max-width:640px){ .trmp-form-2{ grid-template-columns:1fr; } }
.trmp-form-row{ margin-bottom:10px; }

.trmp-alert{ border-radius:14px; padding:10px 12px; margin-bottom:12px; border:1px solid var(--line); }
.trmp-alert-ok{ background:rgba(34,197,94,.12); border-color:rgba(34,197,94,.25); }
.trmp-alert-error{ background:rgba(239,68,68,.12); border-color:rgba(239,68,68,.25); }

.trmp-footnote{ margin-top:10px; color:var(--muted); font-size:12px; }

.trmp-form input[type=file]{ padding:10px; }
