/*
 * 11 Peyret — Gestor frontend
 * Estilos aislados bajo .ta11-manager para no depender del tema activo.
 */
:root {
  --ta11-ink: #121417;
  --ta11-ink-soft: #23262b;
  --ta11-muted: #69707b;
  --ta11-muted-2: #9299a3;
  --ta11-line: #e4e7eb;
  --ta11-line-strong: #d5d9de;
  --ta11-canvas: #f4f6f7;
  --ta11-card: #ffffff;
  --ta11-lime: #c1ff00;
  --ta11-lime-soft: rgba(193, 255, 0, .22);
  --ta11-success: #2f7d32;
  --ta11-success-soft: #ecf8e9;
  --ta11-warning: #9a6400;
  --ta11-warning-soft: #fff5db;
  --ta11-danger: #b23535;
  --ta11-danger-soft: #fff0f0;
  --ta11-blue: #316bb6;
  --ta11-blue-soft: #edf4ff;
  --ta11-radius: 18px;
  --ta11-radius-sm: 12px;
  --ta11-shadow: 0 14px 38px rgba(17, 24, 39, .07);
  --ta11-shadow-soft: 0 7px 24px rgba(17, 24, 39, .055);
  --ta11-sidebar: 258px;
}

html.ta11-standalone-html {
  margin-top: 0 !important;
  min-height: 100%;
  background: var(--ta11-canvas);
}

body.ta11-standalone-body {
  min-height: 100vh;
  margin: 0;
  background: var(--ta11-canvas);
}

body.ta11-standalone-body #ta11-manager-page {
  min-height: 100vh;
}

.ta11-manager,
.ta11-manager * {
  box-sizing: border-box;
}

.ta11-manager {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: var(--ta11-canvas);
  color: var(--ta11-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.ta11-manager img {
  max-width: 100%;
}

.ta11-manager a {
  color: inherit;
  text-decoration: none;
}

.ta11-manager button,
.ta11-manager input,
.ta11-manager select,
.ta11-manager textarea {
  font: inherit;
}

.ta11-manager button,
.ta11-manager a {
  -webkit-tap-highlight-color: transparent;
}

.ta11-manager [hidden] {
  display: none !important;
}

/* ------------------------------------------------------------
 * Login / acceso
 * ------------------------------------------------------------ */
.ta11-manager--auth {
  min-height: 100vh;
  padding: 32px 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 15%, rgba(193,255,0,.18), transparent 31%),
    radial-gradient(circle at 86% 84%, rgba(193,255,0,.09), transparent 27%),
    #111318;
}

.ta11-auth-card {
  width: min(100%, 460px);
  padding: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
}

.ta11-auth-card h1 {
  margin: 8px 0 8px;
  font-size: clamp(32px, 7vw, 46px);
  line-height: 1;
  letter-spacing: -.045em;
}

.ta11-auth-card__intro {
  margin: 0 0 28px;
  color: var(--ta11-muted);
}

.ta11-auth-card form {
  margin-top: 24px;
}

.ta11-auth-card form p {
  margin: 0 0 17px;
}

.ta11-auth-card form label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 750;
}

.ta11-auth-card .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.ta11-auth-card .login-submit {
  margin: 22px 0 0;
}

.ta11-auth-card .button-primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--ta11-lime);
  color: #111;
  font-weight: 850;
  cursor: pointer;
}

/* ------------------------------------------------------------
 * Estructura general
 * ------------------------------------------------------------ */
.ta11-manager__shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--ta11-sidebar) minmax(0, 1fr);
}

.ta11-sidebar {
  width: var(--ta11-sidebar);
  height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 24%),
    #111318;
  border-right: 1px solid rgba(255,255,255,.06);
}

body.admin-bar .ta11-sidebar {
  top: 32px;
  height: calc(100vh - 32px);
}

.ta11-sidebar__head {
  min-height: 98px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ta11-sidebar__close {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ta11-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff !important;
}

.ta11-brand__mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--ta11-lime);
  color: #111;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -.05em;
}

.ta11-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ta11-brand strong {
  font-size: 15px;
  letter-spacing: .15em;
}

.ta11-brand small {
  margin-top: 6px;
  color: rgba(255,255,255,.58);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ta11-brand--auth {
  margin-bottom: 28px;
  color: var(--ta11-ink) !important;
}

.ta11-brand--auth small {
  color: var(--ta11-muted);
}

.ta11-nav {
  padding: 20px 14px;
  display: grid;
  gap: 6px;
}

.ta11-nav__item {
  min-height: 46px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: rgba(255,255,255,.7) !important;
  font-size: 13px;
  font-weight: 650;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.ta11-nav__item:hover {
  color: #fff !important;
  background: rgba(255,255,255,.065);
  transform: translateX(2px);
}

.ta11-nav__item.is-active {
  color: #111 !important;
  background: var(--ta11-lime);
}

.ta11-nav__item .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.ta11-sidebar__foot {
  margin-top: auto;
  padding: 18px 20px 23px;
  display: grid;
  gap: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ta11-sidebar__foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.63) !important;
  font-size: 12px;
}

.ta11-sidebar__foot a:hover {
  color: #fff !important;
}

.ta11-sidebar__foot .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.ta11-manager__main {
  min-width: 0;
  grid-column: 2;
}

.ta11-manager__overlay {
  display: none;
}

.ta11-topbar {
  min-height: 88px;
  padding: 15px 32px;
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(214,218,223,.85);
  background: rgba(255,255,255,.91);
  backdrop-filter: blur(14px);
}

body.admin-bar .ta11-topbar {
  top: 32px;
}

.ta11-topbar__title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.ta11-topbar__title h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.ta11-topbar__title p {
  margin: 4px 0 0;
  color: var(--ta11-muted);
  font-size: 12px;
}

.ta11-topbar__menu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--ta11-line);
  border-radius: 11px;
  background: #fff;
  color: var(--ta11-ink);
  cursor: pointer;
}

.ta11-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ta11-user-chip__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ta11-line);
}

.ta11-user-chip > span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ta11-user-chip small {
  color: var(--ta11-muted-2);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ta11-user-chip strong {
  margin-top: 3px;
  font-size: 12px;
}

.ta11-manager__content {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 31px 32px 64px;
}

/* ------------------------------------------------------------
 * Tipografía y encabezados
 * ------------------------------------------------------------ */
.ta11-eyebrow {
  margin: 0 0 7px !important;
  color: #7e858e !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.ta11-section-head {
  margin: 0 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.ta11-section-head h2 {
  margin: 3px 0 6px;
  font-size: clamp(29px, 3.6vw, 42px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.ta11-section-head p:not(.ta11-eyebrow) {
  margin: 0;
  color: var(--ta11-muted);
}

.ta11-back {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--ta11-muted) !important;
  font-size: 12px;
  font-weight: 700;
}

.ta11-back:hover {
  color: var(--ta11-ink) !important;
}

/* ------------------------------------------------------------
 * Botones
 * ------------------------------------------------------------ */
.ta11-btn {
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--ta11-ink) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition: transform .14s ease, filter .14s ease, border-color .14s ease;
}

.ta11-btn:hover {
  transform: translateY(-1px);
  filter: brightness(.985);
}

.ta11-btn:focus-visible,
.ta11-icon-btn:focus-visible,
.ta11-text-btn:focus-visible,
.ta11-topbar__menu:focus-visible,
.ta11-sidebar__close:focus-visible {
  outline: 3px solid rgba(193,255,0,.42);
  outline-offset: 2px;
}

.ta11-btn .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.ta11-btn--lime {
  border-color: var(--ta11-lime);
  background: var(--ta11-lime);
}

.ta11-btn--dark {
  border-color: #17191d;
  background: #17191d;
  color: #fff !important;
}

.ta11-btn--light {
  border-color: var(--ta11-line-strong);
  background: #fff;
}

.ta11-btn--ghost {
  border-color: transparent;
  background: #f1f3f4;
}

.ta11-btn--danger {
  border-color: #edcaca;
  background: #fff;
  color: var(--ta11-danger) !important;
}

.ta11-btn--small {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 11px;
}

.ta11-btn--block {
  width: 100%;
}

.ta11-text-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ta11-muted) !important;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.ta11-text-btn--danger {
  color: var(--ta11-danger) !important;
}

.ta11-icon-btn {
  width: 37px;
  height: 37px;
  padding: 0;
  border: 1px solid var(--ta11-line);
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: var(--ta11-ink) !important;
  cursor: pointer;
}

.ta11-icon-btn .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.ta11-icon-btn--danger {
  border-color: #eccaca;
  color: var(--ta11-danger) !important;
}

/* ------------------------------------------------------------
 * Tarjetas, grillas y avisos
 * ------------------------------------------------------------ */
.ta11-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ta11-line);
  border-radius: var(--ta11-radius);
  background: var(--ta11-card);
  box-shadow: var(--ta11-shadow-soft);
}

.ta11-card__head {
  min-height: 78px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--ta11-line);
}

.ta11-card__head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.ta11-card__head > a {
  color: var(--ta11-muted) !important;
  font-size: 11px;
  font-weight: 750;
}

.ta11-grid {
  display: grid;
  gap: 18px;
}

.ta11-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.ta11-grid--catalog {
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.5fr);
  align-items: start;
}

.ta11-grid--settings {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: start;
}

.ta11-notice {
  margin: 0 0 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid;
  border-radius: 12px;
  font-size: 12px;
}

.ta11-notice p {
  margin: 0;
}

.ta11-notice--success {
  border-color: #cce5c4;
  background: var(--ta11-success-soft);
  color: #356b27;
}

.ta11-notice--error {
  border-color: #efc6c6;
  background: var(--ta11-danger-soft);
  color: #972f2f;
}

.ta11-inline-note {
  margin: 18px 0;
  padding: 14px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #dfe6c4;
  border-radius: 12px;
  background: #f8fbe9;
  color: #5b651f;
}

.ta11-inline-note p {
  margin: 0;
  font-size: 12px;
}

/* ------------------------------------------------------------
 * Resumen
 * ------------------------------------------------------------ */
.ta11-hero {
  margin: 0 0 22px;
  padding: 31px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
  border-radius: 21px;
  background:
    radial-gradient(circle at 85% 0%, rgba(193,255,0,.3), transparent 35%),
    #17191d;
  color: #fff;
  box-shadow: 0 20px 55px rgba(17,19,24,.16);
}

.ta11-hero::after {
  content: "11";
  position: absolute;
  right: 32px;
  bottom: -47px;
  color: rgba(255,255,255,.035);
  font-size: 200px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.1em;
  pointer-events: none;
}

.ta11-hero > div {
  position: relative;
  z-index: 1;
}

.ta11-hero h2 {
  max-width: 740px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.ta11-hero p:not(.ta11-eyebrow) {
  max-width: 690px;
  margin: 0;
  color: rgba(255,255,255,.67);
}

.ta11-hero .ta11-eyebrow {
  color: var(--ta11-lime) !important;
}

.ta11-hero__actions {
  min-width: max-content;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ta11-hero .ta11-btn--dark {
  border-color: rgba(255,255,255,.23);
  background: rgba(255,255,255,.08);
}

.ta11-stats {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ta11-stat {
  min-height: 107px;
  padding: 18px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid var(--ta11-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ta11-shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}

.ta11-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--ta11-shadow);
}

.ta11-stat__icon {
  width: 46px !important;
  height: 46px !important;
  display: inline-grid !important;
  place-items: center;
  border-radius: 13px;
  font-size: 21px !important;
}

.ta11-stat > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ta11-stat strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.05em;
}

.ta11-stat small {
  margin-top: 7px;
  overflow: hidden;
  color: var(--ta11-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta11-stat--lime .ta11-stat__icon {
  background: var(--ta11-lime-soft);
  color: #547000;
}

.ta11-stat--dark .ta11-stat__icon {
  background: #e9eaec;
  color: #23262b;
}

.ta11-stat--soft .ta11-stat__icon {
  background: var(--ta11-blue-soft);
  color: var(--ta11-blue);
}

.ta11-stat--muted .ta11-stat__icon {
  background: #f2ecff;
  color: #6a49a5;
}

.ta11-quick-links {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ta11-quick-links a {
  min-height: 105px;
  padding: 15px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid #e7e9ec;
  border-radius: 13px;
  background: #fafbfb;
  transition: transform .14s ease, background .14s ease, border-color .14s ease;
}

.ta11-quick-links a:hover {
  transform: translateY(-2px);
  border-color: #cbd0d5;
  background: #fff;
}

.ta11-quick-links a > .dashicons {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ta11-lime);
  color: #111;
  font-size: 18px;
}

.ta11-quick-links a > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.ta11-quick-links strong {
  font-size: 12px;
}

.ta11-quick-links small {
  margin-top: 4px;
  color: var(--ta11-muted);
  font-size: 10px;
}

.ta11-quick-links b {
  color: #9ba1aa;
  font-size: 18px;
}

.ta11-check-list {
  padding: 4px 22px 12px;
}

.ta11-check {
  min-height: 67px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #edf0f2;
}

.ta11-check:last-child {
  border-bottom: 0;
}

.ta11-check > .dashicons {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ta11-success-soft);
  color: var(--ta11-success);
  font-size: 17px;
}

.ta11-check > .dashicons-warning {
  background: var(--ta11-warning-soft);
  color: var(--ta11-warning);
}

.ta11-check div {
  display: flex;
  flex-direction: column;
}

.ta11-check strong {
  font-size: 12px;
}

.ta11-check small {
  margin-top: 3px;
  color: var(--ta11-muted);
  font-size: 10px;
}

.ta11-mini-list {
  padding: 8px 18px 14px;
}

.ta11-mini-list > a {
  min-height: 68px;
  padding: 9px 4px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf0f2;
}

.ta11-mini-list > a:last-child {
  border-bottom: 0;
}

.ta11-mini-list__image {
  width: 48px;
  height: 48px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #edf0f2;
  color: #9aa1aa;
}

.ta11-mini-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ta11-mini-list > a > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ta11-mini-list strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta11-mini-list small {
  margin-top: 4px;
  color: var(--ta11-muted);
  font-size: 10px;
}

/* ------------------------------------------------------------
 * Filtros y listados
 * ------------------------------------------------------------ */
.ta11-filters {
  margin-bottom: 16px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ta11-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ta11-shadow-soft);
}

.ta11-search {
  min-width: 230px;
  flex: 1;
  position: relative;
}

.ta11-search > .dashicons {
  position: absolute;
  left: 12px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: #8d949d;
  font-size: 18px;
}

.ta11-search input {
  padding-left: 38px !important;
}

.ta11-filters select {
  width: auto !important;
  min-width: 160px;
}

.ta11-filter-clear {
  padding: 0 8px;
  color: var(--ta11-muted) !important;
  font-size: 11px;
  font-weight: 750;
}

.ta11-list {
  display: grid;
  gap: 12px;
}

.ta11-item-card {
  min-height: 155px;
  padding: 12px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--ta11-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--ta11-shadow-soft);
}

.ta11-item-card__media {
  min-height: 130px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef1f3;
  color: #a1a8b0;
}

.ta11-item-card__media > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.ta11-item-card__media > .dashicons:not(.ta11-badge) {
  width: 34px;
  height: 34px;
  font-size: 34px;
}

.ta11-badge {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 1;
  padding: 6px 9px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #333;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.ta11-badge--status-publish {
  background: rgba(221,250,211,.95);
  color: #2c702c;
}

.ta11-badge--status-draft {
  background: rgba(255,244,210,.95);
  color: #8a650a;
}

.ta11-badge--status-pending {
  background: rgba(228,238,255,.95);
  color: #315d9e;
}

.ta11-item-card__body {
  min-width: 0;
  padding: 5px 4px 3px 0;
  display: flex;
  flex-direction: column;
}

.ta11-item-card__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.ta11-item-card__title h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.ta11-item-card__title p {
  margin: 5px 0 0;
  color: var(--ta11-muted);
  font-size: 11px;
}

.ta11-pill {
  min-height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f0f2f4;
  color: #5a6069;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.ta11-pill--success,
.ta11-pill--active {
  background: var(--ta11-success-soft);
  color: var(--ta11-success);
}

.ta11-pill--dark,
.ta11-pill--expired {
  background: #e9eaec;
  color: #35383d;
}

.ta11-pill--scheduled {
  background: var(--ta11-blue-soft);
  color: var(--ta11-blue);
}

.ta11-item-card__meta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ta11-item-card__meta > span {
  min-width: 0;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background: #f7f8f9;
}

.ta11-item-card__meta small {
  color: var(--ta11-muted-2);
  font-size: 9px;
}

.ta11-item-card__meta strong {
  margin-top: 4px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta11-item-card__actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ta11-inline-form {
  margin: 0;
  display: inline-flex;
}

.ta11-inline-form--block {
  width: 100%;
}

.ta11-detached-form {
  display: none;
}

/* ------------------------------------------------------------
 * Formularios
 * ------------------------------------------------------------ */
.ta11-manager input[type="text"],
.ta11-manager input[type="search"],
.ta11-manager input[type="email"],
.ta11-manager input[type="password"],
.ta11-manager input[type="number"],
.ta11-manager input[type="url"],
.ta11-manager input[type="date"],
.ta11-manager select,
.ta11-manager textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d6dade;
  border-radius: 10px;
  background: #fff;
  color: var(--ta11-ink);
  outline: 0;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ta11-manager textarea {
  resize: vertical;
  line-height: 1.55;
}

.ta11-manager input:focus,
.ta11-manager select:focus,
.ta11-manager textarea:focus {
  border-color: #91ba00;
  box-shadow: 0 0 0 3px rgba(193,255,0,.2);
}

.ta11-manager input:disabled,
.ta11-manager select:disabled,
.ta11-manager textarea:disabled {
  cursor: not-allowed;
  background: #f2f3f4;
  color: #8d939a;
}

.ta11-manager input[type="checkbox"] {
  accent-color: #8eaf00;
}

.ta11-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}

.ta11-editor__main {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.ta11-editor__side {
  min-width: 0;
  display: grid;
  gap: 15px;
  position: sticky;
  top: 107px;
}

body.admin-bar .ta11-editor__side {
  top: 139px;
}

.ta11-form-card > form,
.ta11-form-card > .ta11-form-grid,
.ta11-form-card > .ta11-tax-grid,
.ta11-form-card > .ta11-media-grid {
  padding: 21px 22px 23px;
}

.ta11-form-card > form .ta11-field + .ta11-field {
  margin-top: 15px;
}

.ta11-form-grid {
  display: grid;
  gap: 16px;
}

.ta11-form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ta11-form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ta11-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ta11-field--full {
  grid-column: 1 / -1;
}

.ta11-field > span:first-child {
  color: #34383d;
  font-size: 11px;
  font-weight: 800;
}

.ta11-field > small {
  color: var(--ta11-muted);
  font-size: 10px;
  line-height: 1.45;
}

.ta11-form-error {
  margin: 0 22px 22px;
  padding: 10px 12px;
  border: 1px solid #efc7c7;
  border-radius: 10px;
  background: var(--ta11-danger-soft);
  color: var(--ta11-danger);
  font-size: 11px;
}

.ta11-switch-field {
  min-height: 60px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.ta11-switch-field--boxed {
  margin: 15px 0;
  padding: 13px;
  border: 1px solid var(--ta11-line);
  border-radius: 12px;
  background: #f8f9fa;
}

.ta11-switch-field > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ta11-switch {
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
  position: relative;
  border-radius: 999px;
  background: #cbd0d5;
  transition: background .15s ease;
}

.ta11-switch::after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.2);
  transition: transform .15s ease;
}

.ta11-switch-field > input:checked + .ta11-switch {
  background: #8db500;
}

.ta11-switch-field > input:checked + .ta11-switch::after {
  transform: translateX(20px);
}

.ta11-switch-field > span:last-child {
  display: flex;
  flex-direction: column;
}

.ta11-switch-field strong {
  font-size: 11px;
}

.ta11-switch-field small {
  margin-top: 3px;
  color: var(--ta11-muted);
  font-size: 9px;
}

.ta11-discount-fields {
  padding-top: 0 !important;
}

.ta11-tax-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ta11-tax-grid h4,
.ta11-media-grid h4 {
  margin: 0 0 10px;
  font-size: 13px;
}

.ta11-tax-grid > div > h4 + .ta11-check-grid {
  margin-top: 0;
}

.ta11-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ta11-choice {
  min-height: 42px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ta11-line);
  border-radius: 10px;
  background: #fafbfb;
  font-size: 11px;
  cursor: pointer;
}

.ta11-choice:has(input:checked) {
  border-color: #a7c82b;
  background: #f6ffdc;
}

.ta11-choice > span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ta11-choice i {
  width: 15px;
  text-align: center;
}

.ta11-media-grid {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: 24px;
}

.ta11-media-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.ta11-media-grid p {
  margin: -4px 0 13px;
  color: var(--ta11-muted);
  font-size: 10px;
}

.ta11-publish-card,
.ta11-danger-card {
  padding: 19px;
}

.ta11-publish-card .ta11-btn + .ta11-btn,
.ta11-danger-card .ta11-btn + .ta11-btn {
  margin-top: 8px;
}

.ta11-danger-card {
  border-color: #ecd4d4;
}

.ta11-danger-card h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.ta11-danger-card p {
  margin: 0 0 14px;
  color: var(--ta11-muted);
  font-size: 10px;
}

.ta11-current-state {
  margin: 14px 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--ta11-line);
  border-radius: 11px;
  background: #f8f9fa;
}

.ta11-current-state small {
  color: var(--ta11-muted);
  font-size: 10px;
}

/* ------------------------------------------------------------
 * Multimedia
 * ------------------------------------------------------------ */
.ta11-image-picker,
.ta11-gallery-picker {
  padding: 12px;
  border: 1px solid var(--ta11-line);
  border-radius: 13px;
  background: #fafbfb;
}

.ta11-image-picker__preview {
  min-height: 180px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #cfd4da;
  border-radius: 10px;
  background: #eef1f3;
  color: #9aa1aa;
}

.ta11-image-picker__preview.has-image {
  border-style: solid;
}

.ta11-image-picker__preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.ta11-image-picker__preview .dashicons {
  width: 34px;
  height: 34px;
  font-size: 34px;
}

.ta11-image-picker__preview small,
.ta11-gallery-picker__empty small {
  font-size: 10px;
}

.ta11-media-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ta11-gallery-picker__preview {
  min-height: 95px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
}

.ta11-gallery-item {
  min-height: 86px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--ta11-line);
  border-radius: 10px;
  background: #eef1f3;
  cursor: move;
}

.ta11-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 86px;
  display: block;
  object-fit: cover;
}

.ta11-gallery-item__drag {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 24px !important;
  height: 24px !important;
  display: inline-grid !important;
  place-items: center;
  border-radius: 7px;
  background: rgba(17,19,24,.78);
  color: #fff;
  font-size: 15px !important;
}

.ta11-gallery-item > button {
  width: 24px;
  height: 24px;
  padding: 0;
  position: absolute;
  right: 6px;
  top: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ta11-danger);
  font-weight: 900;
  cursor: pointer;
}

.ta11-gallery-picker__empty {
  min-height: 95px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed #cfd4da;
  border-radius: 10px;
  color: #959ca5;
}

.ta11-gallery-picker__empty .dashicons {
  width: 28px;
  height: 28px;
  font-size: 28px;
}

.ta11-gallery-picker > .ta11-btn {
  margin-top: 10px;
}

/* ------------------------------------------------------------
 * Amenities / tipos
 * ------------------------------------------------------------ */
.ta11-sticky-card {
  position: sticky;
  top: 107px;
}

body.admin-bar .ta11-sticky-card {
  top: 139px;
}

.ta11-icon-input {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 8px;
}

.ta11-icon-input > i {
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d6dade;
  border-radius: 10px;
  background: #f4f6f7;
  font-size: 18px;
}

.ta11-icon-presets {
  margin: 12px 0 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.ta11-icon-presets button {
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--ta11-line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fafbfb;
  color: var(--ta11-ink);
  font-size: 10px;
  cursor: pointer;
}

.ta11-icon-presets button:hover {
  border-color: #aacb2e;
  background: #f7ffdd;
}

.ta11-icon-presets i {
  width: 18px;
  text-align: center;
}

.ta11-term-list {
  padding: 7px 18px 12px;
}

.ta11-term-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #edf0f2;
}

.ta11-term-row:last-child {
  border-bottom: 0;
}

.ta11-term-row__icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f2f4;
  color: #565c64;
  font-size: 17px;
}

.ta11-term-row__name {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ta11-term-row__name strong {
  font-size: 12px;
}

.ta11-term-row__name small {
  margin-top: 3px;
  color: var(--ta11-muted);
  font-size: 10px;
}

.ta11-term-row__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ta11-term-row__actions form {
  margin: 0;
}

/* ------------------------------------------------------------
 * Configuración, ayuda y estados vacíos
 * ------------------------------------------------------------ */
.ta11-info-list {
  padding: 8px 20px 16px;
}

.ta11-info-list > div {
  padding: 13px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-bottom: 1px solid #edf0f2;
}

.ta11-info-list > div:last-child {
  border-bottom: 0;
}

.ta11-info-list small {
  color: var(--ta11-muted);
  font-size: 10px;
}

.ta11-info-list strong,
.ta11-info-list code {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.ta11-grid--settings > .ta11-card:last-child > .ta11-btn {
  margin: 0 20px 20px;
}

.ta11-prose {
  padding: 24px;
}

.ta11-prose h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.ta11-prose h3:not(:first-child) {
  margin-top: 24px;
}

.ta11-prose p,
.ta11-prose li {
  color: #525962;
  font-size: 12px;
  line-height: 1.75;
}

.ta11-prose ol,
.ta11-prose ul {
  margin: 0;
  padding-left: 20px;
}

.ta11-shortcode-list {
  padding: 8px 20px 17px;
}

.ta11-shortcode-list > div {
  padding: 13px 0;
  border-bottom: 1px solid #edf0f2;
}

.ta11-shortcode-list > div:last-child {
  border-bottom: 0;
}

.ta11-shortcode-list code {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 7px;
  background: #17191d;
  color: var(--ta11-lime);
  font-size: 10px;
}

.ta11-shortcode-list p {
  margin: 7px 0 0;
  color: var(--ta11-muted);
  font-size: 10px;
}

.ta11-empty {
  min-height: 270px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  border: 1px dashed #cfd4d9;
  border-radius: 17px;
  background: rgba(255,255,255,.65);
  text-align: center;
}

.ta11-empty > .dashicons {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  color: #9aa1aa;
  font-size: 46px;
}

.ta11-empty h3 {
  margin: 0;
  font-size: 19px;
}

.ta11-empty p {
  max-width: 460px;
  margin: 8px 0 18px;
  color: var(--ta11-muted);
  font-size: 12px;
}

.ta11-empty-inline {
  margin: 0;
  padding: 22px;
  color: var(--ta11-muted);
  font-size: 11px;
}

/* ------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .ta11-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ta11-editor {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .ta11-item-card__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ta11-manager__shell {
    display: block;
  }
  .ta11-manager__main {
    min-height: 100vh;
  }
  .ta11-sidebar {
    width: min(86vw, 300px);
    transform: translateX(-102%);
    transition: transform .2s ease;
    box-shadow: 25px 0 60px rgba(0,0,0,.26);
  }
  .ta11-manager.is-nav-open .ta11-sidebar {
    transform: translateX(0);
  }
  .ta11-sidebar__close {
    display: inline-grid;
    place-items: center;
  }
  .ta11-manager__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1050;
    visibility: hidden;
    opacity: 0;
    background: rgba(9,11,14,.52);
    transition: opacity .2s ease, visibility .2s ease;
  }
  .ta11-manager.is-nav-open .ta11-manager__overlay {
    visibility: visible;
    opacity: 1;
  }
  .ta11-topbar__menu {
    display: inline-grid;
    place-items: center;
  }
  .ta11-grid--2,
  .ta11-grid--settings {
    grid-template-columns: 1fr;
  }
  .ta11-editor {
    grid-template-columns: 1fr;
  }
  .ta11-editor__side,
  body.admin-bar .ta11-editor__side {
    position: static;
  }
  .ta11-grid--catalog {
    grid-template-columns: 1fr;
  }
  .ta11-sticky-card,
  body.admin-bar .ta11-sticky-card {
    position: static;
  }
  .ta11-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .ta11-hero__actions {
    min-width: 0;
  }
}

@media (max-width: 782px) {
  body.admin-bar .ta11-topbar {
    top: 46px;
  }
  body.admin-bar .ta11-sidebar {
    top: 46px;
    height: calc(100vh - 46px);
  }
  .ta11-manager__content {
    padding: 24px 18px 52px;
  }
  .ta11-topbar {
    min-height: 76px;
    padding: 12px 18px;
  }
  .ta11-topbar__title p,
  .ta11-user-chip > span {
    display: none;
  }
  .ta11-filters {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .ta11-search {
    min-width: 100%;
    flex-basis: 100%;
  }
  .ta11-filters select {
    min-width: 0;
    flex: 1 1 180px;
  }
  .ta11-item-card {
    grid-template-columns: 145px minmax(0, 1fr);
  }
  .ta11-form-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ta11-auth-card {
    padding: 30px 23px;
  }
  .ta11-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .ta11-section-head > .ta11-btn {
    width: 100%;
  }
  .ta11-hero {
    padding: 25px 21px;
  }
  .ta11-hero__actions,
  .ta11-hero__actions .ta11-btn {
    width: 100%;
  }
  .ta11-stats {
    grid-template-columns: 1fr;
  }
  .ta11-quick-links {
    grid-template-columns: 1fr;
  }
  .ta11-item-card {
    grid-template-columns: 1fr;
  }
  .ta11-item-card__media {
    min-height: 190px;
  }
  .ta11-item-card__meta {
    grid-template-columns: 1fr;
  }
  .ta11-item-card__actions > .ta11-btn,
  .ta11-item-card__actions > .ta11-inline-form,
  .ta11-item-card__actions > .ta11-inline-form .ta11-btn {
    width: 100%;
  }
  .ta11-form-grid--2,
  .ta11-form-grid--3,
  .ta11-tax-grid,
  .ta11-media-grid {
    grid-template-columns: 1fr;
  }
  .ta11-check-grid {
    grid-template-columns: 1fr;
  }
  .ta11-card__head,
  .ta11-form-card > form,
  .ta11-form-card > .ta11-form-grid,
  .ta11-form-card > .ta11-tax-grid,
  .ta11-form-card > .ta11-media-grid {
    padding-left: 17px;
    padding-right: 17px;
  }
  .ta11-term-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .ta11-term-row__actions {
    grid-column: 1 / -1;
    padding: 0 0 10px 51px;
  }
  .ta11-icon-presets {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta11-manager *,
  .ta11-manager *::before,
  .ta11-manager *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Refuerzo contra estilos globales de temas y constructores visuales. */
#ta11-manager-page .ta11-manager h1,
#ta11-manager-page .ta11-manager h2,
#ta11-manager-page .ta11-manager h3,
#ta11-manager-page .ta11-manager h4,
#ta11-manager-page .ta11-manager h5,
#ta11-manager-page .ta11-manager h6,
#ta11-manager-page .ta11-manager p,
#ta11-manager-page .ta11-manager label,
#ta11-manager-page .ta11-manager button,
#ta11-manager-page .ta11-manager input,
#ta11-manager-page .ta11-manager select,
#ta11-manager-page .ta11-manager textarea {
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
}

#ta11-manager-page .ta11-manager .ta11-btn--lime {
  border-color: var(--ta11-lime);
  background: var(--ta11-lime);
  color: #111 !important;
}

#ta11-manager-page .ta11-manager .ta11-btn--dark {
  border-color: #17191d;
  background: #17191d;
  color: #fff !important;
}

#ta11-manager-page .ta11-manager .ta11-btn--light {
  border-color: var(--ta11-line-strong);
  background: #fff;
  color: var(--ta11-ink) !important;
}

#ta11-manager-page .ta11-manager .ta11-btn--ghost {
  border-color: transparent;
  background: #f1f3f4;
  color: var(--ta11-ink) !important;
}

#ta11-manager-page .ta11-manager .ta11-btn--danger {
  border-color: #edcaca;
  background: #fff;
  color: var(--ta11-danger) !important;
}

/* Promoción permanente */
.ta11-pill--permanent {
  background: var(--ta11-lime-soft);
  color: #4a6000;
}

.ta11-promo-permanent {
  margin: 0 0 18px;
  padding: 14px 15px;
  border: 1px solid #d9e9a0;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(193,255,0,.15), rgba(193,255,0,.045));
}

[data-ta11-promo-date-fields] {
  transition: opacity .16s ease, filter .16s ease;
}

[data-ta11-promo-date-fields].is-disabled {
  opacity: .52;
  filter: grayscale(.28);
}

/* El tercer botón del hero se mantiene legible sobre el fondo oscuro. */
.ta11-hero .ta11-btn--ghost {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.09);
  color: #fff !important;
}

#ta11-manager-page .ta11-manager .ta11-hero .ta11-btn--ghost {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.09);
  color: #fff !important;
}
