/* Ktactical SAAS — simple, rápido, responsive */

:root {
  --bg: #0f1419;
  --surface: #1a2332;
  --surface2: #243044;
  --text: #e8eef5;
  --muted: #8b9cb3;
  --accent: #3d8bfd;
  --accent2: #2b6fd6;
  --danger: #e85d6c;
  --ok: #3ecf8e;
  --warn: #f0b429;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  /* Ancho máximo del contenido y de todas las tablas */
  --content-max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: linear-gradient(160deg, var(--bg) 0%, #151c28 50%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

code {
  font-size: 0.9em;
  background: var(--surface2);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.container {
  width: min(var(--content-max), 100% - 2rem);
  margin: 0 auto 3rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface2);
  margin-bottom: 1.25rem;
}

.site-header__inner {
  width: min(var(--content-max), 100% - 2rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font: inherit;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav__user {
  color: var(--text);
  font-size: 0.9rem;
  padding: 0 0.5rem;
  border-left: 1px solid var(--surface2);
  margin-left: 0.25rem;
}

.nav__muted {
  font-size: 0.85rem;
}

.nav__logout {
  color: var(--danger) !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid var(--surface2);
  }
  .nav.is-open {
    display: flex;
  }
  .nav__user {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }
}

/* Flash */
.flash {
  width: min(var(--content-max), 100% - 2rem);
  margin: 0 auto 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.flash--ok {
  background: rgba(62, 207, 142, 0.15);
  border: 1px solid rgba(62, 207, 142, 0.35);
  color: #b8f5d4;
}
.flash--err {
  background: rgba(232, 93, 108, 0.12);
  border: 1px solid rgba(232, 93, 108, 0.35);
  color: #ffc4cb;
}

/* Typography blocks */
.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.page-head h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
}

.page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lede {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  width: 100%;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.card__title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.stat {
  margin: 0 0 1rem;
}
.stat__label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.stat__value {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  background: var(--surface2);
}
.btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent2);
  color: #fff;
}

.btn--secondary {
  background: var(--surface2);
  border-color: #3a4a63;
}

.btn--ghost {
  background: transparent;
  border-color: var(--surface2);
  color: var(--muted);
}

.btn--danger {
  background: rgba(232, 93, 108, 0.2);
  border-color: var(--danger);
  color: #ffb3bc;
}

.btn--small {
  padding: 0.3rem 0.55rem;
  font-size: 0.8rem;
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form--narrow {
  max-width: 420px;
}

@media (max-width: 640px) {
  .form--grid {
    grid-template-columns: 1fr;
  }
}

.form label,
.form .check {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form .check {
  flex-direction: row;
  align-items: center;
}
.form .check input {
  width: auto;
}

.span-2 {
  grid-column: span 2;
}
@media (max-width: 640px) {
  .span-2 {
    grid-column: span 1;
  }
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.form__actions {
  margin-top: 0.5rem;
}

.filters {
  margin-bottom: 1rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.filters label {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.filters select,
.filters input[type="search"],
.filters input[type="text"] {
  margin-left: 0.5rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--surface2);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.filters input[type="search"],
.filters input[type="text"] {
  width: 240px;
}
.filters input[type="search"]::placeholder,
.filters input[type="text"]::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.inline-form {
  display: inline;
}
.inline-form.row-form {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.qty-input {
  width: 4rem !important;
}

/* Tables */
.table-wrap,
.table-wrap--scroll,
.table-wrap--always {
  max-width: var(--content-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--surface2);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.table-wrap--scroll {
  max-height: 70vh;
  overflow: auto;
}

.table-wrap--always {
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  overflow: hidden;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--surface2);
  vertical-align: middle;
}

.table th {
  background: var(--surface2);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr.is-active td {
  background: rgba(61, 139, 253, 0.08);
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.actions {
  white-space: nowrap;
}
.actions .btn,
.actions form {
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--surface2);
  color: var(--muted);
}
.badge--warn {
  background: rgba(240, 180, 41, 0.2);
  color: #ffe08a;
}

/* Responsive tabla (escritorio) vs tarjetas (móvil). */
.hide-mobile {
  display: block;
}

.card-list.show-mobile {
  display: none;
}

@media (max-width: 900px) {
  .hide-mobile {
    display: none !important;
  }

  .card-list.show-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Layout Toggle (List vs Grid) */
.view-mode--list .grid-view-element {
    display: none;
}
.view-mode--grid .list-view-element {
    display: none;
}
.view-mode--grid .grid-view-element {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .view-mode--grid .grid-view-element { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    /* Forzamos vista de tarjetas en móviles independientemente del modo */
    .view-mode--list .list-view-element { display: none !important; }
    .view-mode--list .grid-view-element { 
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .view-mode--grid .grid-view-element { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .view-mode--list .grid-view-element,
    .view-mode--grid .grid-view-element { grid-template-columns: 1fr !important; }
}

/* Modern E-commerce Card */
.modern-card {
    background: var(--surface);
    border: 1px solid var(--surface2);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border-color: var(--accent);
}
.modern-card__img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    background: rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    display: block;
}
.modern-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.modern-card__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
}
.modern-card__body {
    padding: 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.modern-card__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
}
.modern-card__title:hover {
    color: var(--accent);
}
.modern-card__meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.85rem;
}
.modern-card__stock {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}
.modern-card__prices {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid var(--surface2);
}
.modern-card__price-label {
    font-size: 0.75rem;
    color: var(--muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}
.modern-card__price-val {
    font-weight: 700;
    font-size: 1.05rem;
}
.modern-card__actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.85rem 1.15rem;
    background: rgba(0,0,0,0.15);
    border-top: 1px solid var(--surface2);
}
.modern-card__actions .btn {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.45rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.product-card__top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.product-card__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.product-card__title {
  margin: 0;
  font-size: 1.05rem;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.kv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}
.kv dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.kv dd {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 480px) {
  .kv {
    grid-template-columns: 1fr;
  }
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Config tiles */
.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.config-tile {
  display: block;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  color: inherit;
  box-shadow: var(--shadow);
}
.config-tile:hover {
  border-color: var(--accent);
  text-decoration: none;
}
.config-tile h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.config-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.simple-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  max-width: 22rem;
}

.select-compact,
.form-inline-actions select {
  min-width: 8rem;
  max-width: 12rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.82rem;
  border-radius: 6px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
}

.input-qty {
  width: 3.25rem;
  padding: 0.35rem;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--surface2);
  background: var(--bg);
  color: var(--text);
}

.location-product-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.stack-form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
  width: 100%;
}

.stack-form select,
.stack-form input[type="number"] {
  width: 100%;
  max-width: 280px;
}

/* Datos maestros: filas editables */
.master-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.master-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--surface2);
}

.master-list__item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.master-list__form {
  flex: 1 1 200px;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.65rem;
  align-items: end;
}

.master-list__form--single {
  grid-template-columns: 1fr;
}

.master-list__form .master-list__label {
  margin: 0;
}

.master-list__actions {
  grid-column: 1 / -1;
}

.master-list__delete {
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .master-list__form {
    grid-template-columns: 1fr;
  }
}

.card .master-list__form input {
  font-size: 0.88rem;
  padding: 0.45rem 0.5rem;
}

/* Listas tipo WP: estructura (título + acciones), colores del tema del sitio */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.table-wrap.table-wrap--wp {
  background: var(--surface);
  border: 1px solid var(--surface2);
  box-shadow: var(--shadow);
}

.card--wp-shell .table-wrap--wp {
  box-shadow: none;
}

.table--wp {
  color: var(--text);
  font-size: 0.875rem;
}

.table--wp th,
.table--wp td {
  border-bottom: 1px solid var(--surface2);
  padding: 0.75rem 0.65rem;
  vertical-align: top;
}

.table--wp th {
  background: var(--surface2);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: normal;
}

.table--wp tr:last-child td {
  border-bottom: none;
}

.table--wp__row:hover td {
  background: rgba(61, 139, 253, 0.06);
}

.table--wp a:not(.table--wp__thumb-link) {
  color: var(--accent);
}

.table--wp a:not(.table--wp__thumb-link):hover {
  color: var(--accent2);
}

.table--wp .wp-title-cell__link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

.wp-title-cell__text {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--text);
}

.wp-title-cell__heading {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.row-actions {
  font-size: 0.72rem;
  margin-top: 0.2rem;
  line-height: 1.55;
  color: var(--muted);
}

.row-actions__id {
  color: var(--muted);
}

.row-actions__sep {
  color: var(--surface2);
  margin: 0 0.2em;
  user-select: none;
}

.row-actions a {
  color: var(--accent);
}

.row-actions a:hover {
  color: var(--accent2);
}

.row-actions__btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

.row-actions__btn:hover {
  color: var(--accent2);
}

.row-actions__btn--danger {
  color: var(--danger);
}

.row-actions__btn--danger:hover {
  color: #ff7a88;
}

.row-actions__inline {
  display: inline;
  margin: 0;
}

.table--wp__thumb {
  width: 56px;
  vertical-align: middle;
}

.table--wp__thumb-link {
  display: inline-block;
  line-height: 0;
}

.table--wp__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--surface2);
  vertical-align: middle;
}

/* Placeholder cuando no hay foto: cuadrado gris */
.table--wp__noimg {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--surface2);
  border: 1px solid rgba(139, 156, 179, 0.25);
  vertical-align: middle;
  box-sizing: border-box;
}

.table--wp__title-col {
  min-width: 10rem;
}

.table--wp__actions-col {
  min-width: 12rem;
}

.table--wp__badge {
  margin-top: 0.2rem;
  display: inline-block;
}

.stock-ok {
  color: var(--ok);
  font-weight: 600;
}

.stock-qty {
  color: var(--muted);
  font-weight: 400;
}

.stock-low {
  color: var(--warn);
  font-weight: 600;
}

.table--wp .select-compact,
.table--wp .form-inline-actions select,
.table--wp .input-qty {
  background: var(--bg);
  color: var(--text);
  border-color: var(--surface2);
}

.table--wp .btn.btn--small {
  font-size: 0.78rem;
}

/* Ficha de producto (bloque claro) */
.ficha--light {
  background: #fff;
  color: #2c3338;
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.ficha--light a {
  color: #2271b1;
}

.ficha--light .ficha__block-title,
.ficha--light .ficha__dl dt {
  color: #646970;
}

.ficha--light .ficha__dl dd {
  color: #1d2327;
}

.ficha__hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
}

.ficha__photo {
  width: min(280px, 100%);
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #dcdcde;
  background: #f6f7f7;
}

.ficha__photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  color: #a7aaad;
  font-size: 0.9rem;
}

.ficha__meta {
  flex: 1 1 220px;
  min-width: 0;
}

.ficha__idline {
  margin: 0 0 0.75rem;
}

.ficha__dl {
  margin: 0;
  display: grid;
  gap: 0.65rem 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.ficha__dl > div {
  margin: 0;
}

.ficha__dl dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ficha__dl dd {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
}

.ficha__block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #dcdcde;
}

.ficha__block-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.ficha__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #2c3338;
}

.ficha__footer-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #dcdcde;
}

.product-card__row-actions {
  margin-top: 0.35rem;
}

.product-card .row-actions {
  color: var(--muted);
}

.product-card .row-actions a {
  color: var(--accent);
}

.product-card .row-actions .row-actions__id {
  color: var(--muted);
}

.product-card .row-actions .row-actions__sep {
  color: var(--surface2);
}

.product-card .row-actions__btn {
  color: var(--accent);
}

.product-card .row-actions__btn--danger {
  color: var(--danger);
}

.product-card .wp-title-cell__link {
  color: var(--accent);
  font-weight: 600;
}

.wp-title-cell__link--block {
  display: block;
}

/* Auth */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.auth-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.auth-card__meta {
  margin-top: 1rem;
  font-size: 0.9rem;
}
