/* Commercial polish layer (safe overrides).
   Scope: only active when <body class="prod-commercial"> is present. */

body.prod-commercial {
  /* Fallbacks para páginas standalone que aún no cargan product_system.css. */
  --bg: var(--prod-bg, #08111d);
  --panel: var(--prod-panel, #0d1728);
  --panel-soft: rgba(15, 23, 39, 0.84);
  --line: var(--prod-line, rgba(144, 161, 185, 0.22));
  --ink: var(--prod-text, #f5f7fa);
  --muted: var(--prod-muted, #91a1b9);
  --accent: var(--prod-secondary, #f4b400);
  --pitch: var(--prod-primary, #2f7d32);
  /* Aliases legacy usados en templates antiguos (evita paletas paralelas). */
  --brand: var(--prod-secondary, #f4b400);
  --amber: var(--prod-secondary, #f4b400);
  --cyan: var(--prod-primary, #2f7d32);
  --ok: var(--prod-success, #22c55e);
  --err: var(--prod-danger, #d64545);

  color: var(--ink);
  font-family: var(--prod-font-ui, "Avenir Next", "Inter", "Segoe UI", sans-serif);
  font-size: var(--prod-font-size-base, 16px);
  /* Base weight: evitamos que toda la UI parezca "negrita" en iPad.
     Las jerarquías (títulos/botones/badges) se controlan con reglas específicas más abajo. */
  font-weight: var(--prod-font-weight, 500);
  font-style: var(--prod-font-style, normal);
  text-decoration: var(--prod-text-decoration, none);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;

  background-image:
    linear-gradient(180deg, rgba(5, 11, 20, 0.78), rgba(5, 11, 20, 0.92)),
    var(--prod-system-image, none),
    radial-gradient(circle at 14% -12%, rgba(47, 125, 50, 0.2), transparent 52%),
    radial-gradient(circle at 88% -6%, rgba(244, 180, 0, 0.16), transparent 46%),
    radial-gradient(circle at 70% 120%, rgba(144, 161, 185, 0.12), transparent 52%),
    linear-gradient(180deg, #050b14 0%, var(--prod-bg, #0b1626) 58%, #040912 100%) !important;
  background-size: cover, cover, auto, auto, auto, auto;
  background-position: center, center, center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed;
  min-width: 0;
  min-height: 100vh;
  min-height: var(--app-vh, 100dvh);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

/* Light theme: superficies claras y acentos de marca. */
:root[data-theme="light"] body.prod-commercial {
  --panel-soft: rgba(248, 250, 252, 0.92);

  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 247, 251, 0.9)),
    var(--prod-system-image, none),
    radial-gradient(circle at 12% -16%, rgba(47, 125, 50, 0.1), transparent 54%),
    radial-gradient(circle at 86% -10%, rgba(244, 180, 0, 0.12), transparent 50%),
    radial-gradient(circle at 72% 120%, rgba(15, 23, 42, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, var(--prod-bg, #f4f7fb) 55%, #eef2f7 100%) !important;
  background-size: cover, cover, auto, auto, auto, auto;
  background-position: center, center, center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}

/* High contrast: elimina fondos complejos y aumenta contraste. */
:root[data-theme="hc"] body.prod-commercial {
  --panel-soft: rgba(255, 255, 255, 0.06);
  background: #000000 !important;
}

/* Mobile/performance:
   - `background-attachment: fixed` y `backdrop-filter` pueden ir a tirones en iOS/Android.
   - En pantallas táctiles priorizamos fluidez y batería. */
@media (hover: none), (pointer: coarse), (max-width: 820px) {
  body.prod-commercial {
    background-attachment: scroll;
  }

  body.prod-commercial .topbar,
  body.prod-commercial .hero,
  body.prod-commercial .panel,
  body.prod-commercial .card,
  body.prod-commercial .product-card {
    backdrop-filter: none;
  }
}

body.prod-commercial :focus-visible {
  outline: 2px solid rgba(244, 180, 0, 0.65);
  outline-offset: 3px;
}

body.prod-commercial a,
body.prod-commercial button {
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

body.prod-commercial .topbar,
body.prod-commercial .hero,
body.prod-commercial .panel,
body.prod-commercial .card,
body.prod-commercial .product-card {
  backdrop-filter: blur(8px) saturate(1.14);
}

body.prod-commercial .module-tab:hover,
body.prod-commercial .tab:hover,
body.prod-commercial .button:hover,
body.prod-commercial button:hover {
  border-color: rgba(244, 180, 0, 0.32);
}

body.prod-commercial .module-tab:hover,
body.prod-commercial .button:hover {
  transform: translateY(-1px);
}

body.prod-commercial .product-card,
body.prod-commercial .hero,
body.prod-commercial .topbar {
  box-shadow: var(--ui-shadow-md);
}

/* ------------------------------------------------------------
   Unified UI Kit (commercial-safe)
   - High-specificity selectors to override per-template CSS.
   - Applies only under `body.prod-commercial`.
   - Goal: consistent buttons/tabs/panels/forms across the product.
------------------------------------------------------------ */

body.prod-commercial {
  --ui-radius-xl: var(--prod-radius-lg, 22px);
  --ui-radius-lg: var(--prod-radius-md, 16px);
  --ui-radius-md: 14px;
  --ui-radius-sm: 12px;
  --ui-shadow-lg: var(--prod-shadow-lg, 0 24px 64px rgba(0, 0, 0, 0.34));
  --ui-shadow-md: var(--prod-shadow-md, 0 16px 36px rgba(0, 0, 0, 0.24));

  --ui-bg: var(--prod-bg, #08111d);
  --ui-panel: var(--prod-panel, rgba(14, 23, 39, 0.96));
  --ui-panel-flat: var(--prod-panel-flat, rgba(14, 23, 39, 0.96));
  --ui-line: var(--prod-line, rgba(144, 161, 185, 0.22));
  --ui-line-strong: var(--prod-line-strong, rgba(244, 180, 0, 0.22));
  --ui-text: var(--prod-text, #f5f7fa);
  --ui-muted: var(--prod-muted, #91a1b9);
  --ui-muted-soft: var(--prod-muted-soft, #b0bccd);
  --ui-accent: var(--prod-secondary, #f4b400);
  --ui-accent-2: var(--prod-primary, #2f7d32);
  --ui-info: var(--prod-info, #22d3ee);
  --ui-success: var(--prod-success, #22c55e);
  --ui-danger: var(--prod-danger, #d64545);
  --ui-button-text: var(--prod-button-text, rgba(245, 247, 250, 0.98));
  --ui-button-muted-text: rgba(226, 232, 240, 0.94);
  --ui-button-bg: var(--prod-button-bg, rgba(15, 23, 42, 0.62));
  --ui-system-image: var(--prod-system-image, none);

  /* Density + typography tokens */
  --ui-btn-pad-y: 0.62rem;
  --ui-btn-pad-x: 0.95rem;
  --ui-btn-fs: calc(0.78rem * var(--prod-font-size-scale, 1));
  --ui-btn-letter: 0.06em;
  --ui-chip-pad-y: 0.34rem;
  --ui-chip-pad-x: 0.7rem;
  --ui-card-pad: 1rem;
  --ui-card-pad-compact: 0.85rem;
  --ui-block-gap: 0.95rem;
  --ui-block-gap-compact: 0.75rem;
  --ui-title-gap: 0.55rem;
  --ui-title-gap-compact: 0.42rem;
}

:root[data-density="compact"] body.prod-commercial {
  --ui-btn-pad-y: 0.5rem;
  --ui-btn-pad-x: 0.82rem;
  --ui-btn-fs: 0.72rem;
  --ui-btn-letter: 0.05em;
  --ui-chip-pad-y: 0.26rem;
  --ui-chip-pad-x: 0.62rem;
}

:root[data-density="compact"] body.prod-commercial {
  --ui-card-pad: var(--ui-card-pad-compact);
  --ui-block-gap: var(--ui-block-gap-compact);
  --ui-title-gap: var(--ui-title-gap-compact);
}

body.prod-commercial a {
  color: inherit;
}

body.prod-commercial a:hover {
  color: rgba(255, 242, 199, 0.96);
}

/* En claro, el hover no debe volverse amarillo pálido. */
:root[data-theme="light"] body.prod-commercial a:hover {
  color: rgba(15, 122, 53, 0.92);
}

:root[data-theme="hc"] body.prod-commercial a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Legacy `.link` (muchas plantillas lo pintan en azul/cian). Lo alineamos a marca. */
body.prod-commercial .link {
  color: rgba(255, 242, 199, 0.96) !important;
}

:root[data-theme="light"] body.prod-commercial .link {
  color: rgba(15, 122, 53, 0.92) !important;
}

body.prod-commercial .link:hover {
  color: #fff7dd !important;
  text-decoration: underline;
}

/* Typography: jerarquía consistente sin tocar templates (solo overrides suaves). */
body.prod-commercial h1,
body.prod-commercial h2,
body.prod-commercial h3 {
  font-family: var(--prod-font-display, var(--prod-font-ui, system-ui));
  letter-spacing: -0.01em;
}

body.prod-commercial h1 {
  font-weight: 1000;
}

body.prod-commercial h2,
body.prod-commercial h3 {
  font-weight: 900;
}

/* Normalización de tamaños y ritmo (sin tocar templates).
   - Evita “saltos” visuales entre módulos.
   - Mantiene flexibilidad: páginas específicas pueden sobrescribir. */
body.prod-commercial :where(h1, h2, h3) {
  line-height: 1.12;
  margin: 0;
}

body.prod-commercial :where(h1) {
  font-size: clamp(1.25rem, 1.2rem + 1.1vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.prod-commercial :where(h2) {
  font-size: clamp(1.02rem, 0.98rem + 0.7vw, 1.28rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.prod-commercial :where(h3) {
  font-size: clamp(0.9rem, 0.88rem + 0.5vw, 1.12rem);
  letter-spacing: 0.05em;
}

body.prod-commercial :where(p) {
  line-height: 1.45;
}

/* Texto normal: mantener lectura ligera.
   Nota: muchos templates antiguos usan <strong> incluso para textos de apoyo; limitamos su impacto. */
body.prod-commercial :where(p, li, span, a, label, input, select, textarea) {
  font-weight: 500;
  min-width: 0;
}
body.prod-commercial strong,
body.prod-commercial b {
  font-weight: 800;
}

body.prod-commercial :where(*, *::before, *::after) {
  box-sizing: border-box;
}

body.prod-commercial :where(img, svg, video, canvas, iframe) {
  max-width: 100%;
}

body.prod-commercial :where(img, video, canvas) {
  height: auto;
}

body.prod-commercial :where(.grid, .form-grid, .meta-grid, .upload-grid, .availability-grid, .ws-shortcuts-grid) {
  min-width: 0;
}

body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card, .toolbar, .actions, .buttons, .tabs, .chips, .product-nav-shortcuts) {
  min-width: 0;
}

body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card) {
  overflow-wrap: anywhere;
}

body.prod-commercial :where(.toolbar, .actions, .buttons, .tabs, .chips) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Espaciado “default” alrededor de bloques frecuentes. */
body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card) + :where(.topbar, .hero, .panel, .card, .product-card) {
  margin-top: var(--ui-block-gap);
}

/* Tarjetas/paneles: padding y bordes consistentes. */
body.prod-commercial .topbar,
body.prod-commercial .hero,
body.prod-commercial .panel,
body.prod-commercial .card,
body.prod-commercial .product-card {
  border-radius: var(--ui-radius-xl);
  border: 1px solid var(--ui-line);
  background: var(--ui-panel);
}

body.prod-commercial .topbar,
body.prod-commercial .hero {
  padding: calc(var(--ui-card-pad) + 0.05rem);
}

body.prod-commercial .panel {
  padding: var(--ui-card-pad);
}

/* Muchas plantillas usan `.card` como contenedor sin padding; damos un padding seguro. */
body.prod-commercial .card {
  padding: var(--ui-card-pad);
}

/* Evita que el primer/último hijo “pegue saltos” raros. */
body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card) > :where(h1, h2, h3) {
  margin-bottom: var(--ui-title-gap);
}

body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card) > :first-child {
  margin-top: 0;
}

body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card) > :last-child {
  margin-bottom: 0;
}

/* Global states: badges/alerts/toasts (reusable). */
body.prod-commercial .ui-badge,
body.prod-commercial .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: var(--ui-chip-pad-y, 0.34rem) var(--ui-chip-pad-x, 0.7rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ui-text);
  font-size: 0.7rem;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
}

body.prod-commercial .ui-badge.is-ok,
body.prod-commercial .badge.ok {
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.14);
  color: rgba(214, 255, 224, 0.98);
}

body.prod-commercial .ui-badge.is-warn,
body.prod-commercial .badge.warn {
  border-color: rgba(244, 180, 0, 0.42);
  background: rgba(244, 180, 0, 0.16);
  color: rgba(255, 243, 207, 0.98);
}

body.prod-commercial .ui-badge.is-err,
body.prod-commercial .badge.danger,
body.prod-commercial .badge.err {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(220, 38, 38, 0.18);
  color: rgba(254, 226, 226, 0.95);
}

body.prod-commercial .ui-badge.is-info,
body.prod-commercial .badge.info {
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(34, 211, 238, 0.12);
  color: rgba(226, 245, 255, 0.96);
}

/* Buttons (supports `.button`, `.btn`, bare <button> and editor trigger buttons). */
body.prod-commercial button,
body.prod-commercial .button,
body.prod-commercial .btn,
body.prod-commercial [role="button"],
body.prod-commercial .surface-trigger,
body.prod-commercial button.button,
body.prod-commercial button.btn,
body.prod-commercial a.button,
body.prod-commercial a.btn {
  appearance: none !important;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--ui-btn-pad-y, 0.62rem) var(--ui-btn-pad-x, 0.95rem);
  border-radius: 999px;
  border: 1px solid var(--ui-line) !important;
  background: var(--ui-button-bg) !important;
  color: var(--ui-button-text) !important;
  -webkit-text-fill-color: var(--ui-button-text);
  text-decoration: none;
  font: inherit;
  font-size: var(--ui-btn-fs, 0.78rem);
  font-weight: 700;
  letter-spacing: var(--ui-btn-letter, 0.045em);
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(2, 6, 23, 0.18) inset;
  cursor: pointer;
  user-select: none;
  min-width: 0;
  min-height: 42px;
  max-width: 100%;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  touch-action: manipulation;
}

body.prod-commercial button *,
body.prod-commercial .button *,
body.prod-commercial .btn *,
body.prod-commercial [role="button"] *,
body.prod-commercial .surface-trigger * {
  color: inherit !important;
  -webkit-text-fill-color: currentColor;
}

:root[data-theme="light"] body.prod-commercial .button,
:root[data-theme="light"] body.prod-commercial .btn,
:root[data-theme="light"] body.prod-commercial button,
:root[data-theme="light"] body.prod-commercial [role="button"],
:root[data-theme="light"] body.prod-commercial .surface-trigger,
:root[data-theme="light"] body.prod-commercial button.button,
:root[data-theme="light"] body.prod-commercial button.btn,
:root[data-theme="light"] body.prod-commercial a.button,
:root[data-theme="light"] body.prod-commercial a.btn {
  background: var(--ui-button-bg) !important;
  box-shadow: 0 0 0 1px rgba(2, 6, 23, 0.06) inset;
}

body.prod-commercial button:hover,
body.prod-commercial .button:hover,
body.prod-commercial .btn:hover,
body.prod-commercial [role="button"]:hover,
body.prod-commercial .surface-trigger:hover,
body.prod-commercial button.button:hover,
body.prod-commercial button.btn:hover,
body.prod-commercial a.button:hover,
body.prod-commercial a.btn:hover {
  border-color: rgba(244, 180, 0, 0.32);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

body.prod-commercial .button:active,
body.prod-commercial .btn:active,
body.prod-commercial button.button:active,
body.prod-commercial button.btn:active,
body.prod-commercial a.button:active,
body.prod-commercial a.btn:active {
  transform: translateY(0);
}

body.prod-commercial .button:focus-visible,
body.prod-commercial .btn:focus-visible,
body.prod-commercial button.button:focus-visible,
body.prod-commercial button.btn:focus-visible,
body.prod-commercial a.button:focus-visible,
body.prod-commercial a.btn:focus-visible {
  outline: 2px solid rgba(244, 180, 0, 0.55);
  outline-offset: 3px;
}

body.prod-commercial .button.primary,
body.prod-commercial .btn.primary,
body.prod-commercial .btn-primary,
body.prod-commercial button.primary,
body.prod-commercial a.primary {
  border-color: rgba(244, 180, 0, 0.34) !important;
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.95), rgba(47, 125, 50, 0.86)) !important;
  color: var(--ui-button-text) !important;
  -webkit-text-fill-color: var(--ui-button-text);
  box-shadow: 0 12px 32px rgba(244, 180, 0, 0.18) !important;
  font-weight: 800;
}

body.prod-commercial .button.secondary,
body.prod-commercial .btn.secondary,
body.prod-commercial button.secondary,
body.prod-commercial a.secondary {
  border-color: rgba(47, 125, 50, 0.32) !important;
  background: linear-gradient(135deg, rgba(47, 125, 50, 0.88), rgba(24, 63, 38, 0.84)) !important;
  color: rgba(245, 247, 250, 0.96) !important;
}

body.prod-commercial .button.danger,
body.prod-commercial .btn.danger,
body.prod-commercial button.danger,
body.prod-commercial a.danger {
  border-color: rgba(248, 113, 113, 0.5) !important;
  background: rgba(220, 38, 38, 0.18) !important;
  color: rgba(254, 226, 226, 0.95) !important;
}

body.prod-commercial .button.ghost,
body.prod-commercial .btn-ghost,
body.prod-commercial a.ghost,
body.prod-commercial button.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.24);
  color: var(--ui-button-muted-text) !important;
  -webkit-text-fill-color: var(--ui-button-muted-text);
  box-shadow: none;
}

body.prod-commercial .button.is-disabled,
body.prod-commercial .btn.is-disabled,
body.prod-commercial .button[aria-disabled="true"],
body.prod-commercial .btn[aria-disabled="true"],
body.prod-commercial button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

body.prod-commercial .button.icon-only,
body.prod-commercial .btn.icon-only,
body.prod-commercial button.icon-only {
  padding: 0.68rem 0.8rem;
  min-width: 3rem;
}

/* Tabs */
body.prod-commercial .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.95rem;
}

body.prod-commercial .tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.54rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(226, 232, 240, 0.92) !important;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

/* Module tabs (legacy `.module-tab`) unify to the same tab styles. */
body.prod-commercial .module-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.54rem 0.92rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(226, 232, 240, 0.92) !important;
  font-size: 0.76rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

body.prod-commercial .module-tab.is-active,
body.prod-commercial .tab-link.is-active {
  border-color: rgba(244, 180, 0, 0.34) !important;
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.16), rgba(47, 125, 50, 0.14)) !important;
  color: #fff7dd !important;
}

body.prod-commercial .tab-link:hover {
  border-color: rgba(244, 180, 0, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

body.prod-commercial .tab-link.is-active,
body.prod-commercial .tab-link[aria-current="page"] {
  border-color: rgba(244, 180, 0, 0.45);
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.18), rgba(47, 125, 50, 0.1));
  color: rgba(255, 242, 199, 0.96);
}

/* Panels / cards */
body.prod-commercial .panel,
body.prod-commercial .card,
body.prod-commercial .product-card {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-xl);
  background: var(--ui-panel);
}

body.prod-commercial .panel {
  padding: 1rem;
  box-shadow: var(--ui-shadow-md);
}

body.prod-commercial .card,
body.prod-commercial .product-card {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

/* Alerts */
body.prod-commercial .alert {
  border-radius: var(--ui-radius-lg);
  border: 1px solid var(--ui-line);
  padding: 0.78rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
}

body.prod-commercial .alert.ok {
  border-color: rgba(34, 197, 94, 0.42);
  background: rgba(34, 197, 94, 0.12);
}

body.prod-commercial .alert.err {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(220, 38, 38, 0.12);
}

body.prod-commercial .alert.warn {
  border-color: rgba(244, 180, 0, 0.38);
  background: rgba(244, 180, 0, 0.12);
}

/* Badges */
body.prod-commercial .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Forms */
body.prod-commercial input,
body.prod-commercial select,
body.prod-commercial textarea {
  font-family: inherit;
  font-size: max(16px, var(--prod-font-size-base, 16px));
  color: rgba(245, 247, 250, 0.94);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  max-width: 100%;
  min-height: 42px;
}

body.prod-commercial input::placeholder,
body.prod-commercial textarea::placeholder {
  color: rgba(148, 163, 184, 0.78);
}

body.prod-commercial input:focus,
body.prod-commercial select:focus,
body.prod-commercial textarea:focus {
  outline: 2px solid rgba(244, 180, 0, 0.38);
  outline-offset: 2px;
  border-color: rgba(244, 180, 0, 0.28);
}

/* Tables */
body.prod-commercial table {
  width: 100%;
  border-collapse: collapse;
}

body.prod-commercial :where(.table-wrap, .table-scroll, .product-scroll-x) {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

body.prod-commercial :where(.table-wrap, .table-scroll, .product-scroll-x) > table {
  min-width: 720px;
}

body.prod-commercial th,
body.prod-commercial td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

body.prod-commercial th {
  color: rgba(176, 188, 205, 0.9);
}

@supports (-webkit-touch-callout: none) {
  body.prod-commercial {
    min-height: var(--app-vh, 100vh);
    background-attachment: scroll;
  }

  body.prod-commercial :where(.ws-modal-panel, .cmdk-panel, .nav-more-panel, .modal, .modal-panel, .drawer, .sheet) {
    max-height: calc(var(--app-vh, 100vh) - var(--safe-top, 0px) - var(--safe-bottom, 0px) - 1.5rem);
  }

  body.prod-commercial :where(input, select, textarea, button) {
    -webkit-text-size-adjust: 100%;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  body.prod-commercial {
    min-height: var(--app-vh, 100dvh);
  }

  body.prod-commercial :where(.product-page, main, .page, .shell, .wrap) {
    max-width: 100%;
  }

  body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card) {
    border-radius: min(var(--ui-radius-xl), 18px);
  }

  body.prod-commercial :where(.toolbar, .actions, .buttons, .tabs, .chips, .product-nav-shortcuts) {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.prod-commercial :where(.toolbar, .actions, .buttons, .tabs, .chips, .product-nav-shortcuts) > * {
    flex: 0 0 auto;
  }
}

@media (max-width: 820px) {
  body.prod-commercial :where(.grid, .form-grid, .upload-grid, .availability-grid, .ws-shortcuts-grid) {
    grid-template-columns: 1fr !important;
  }

  body.prod-commercial :where(.topbar, .hero, .panel, .card, .product-card) {
    padding: min(var(--ui-card-pad), 0.9rem);
  }

  body.prod-commercial :where(.button, .btn, button, [role="button"], .surface-trigger) {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.prod-commercial a,
  body.prod-commercial button {
    transition: none;
  }
  body.prod-commercial .module-tab:hover,
  body.prod-commercial .button:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------
   Shell UX: Modals, shortcuts, presentation mode
------------------------------------------------------------ */

body.prod-commercial .ws-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
}

body.prod-commercial .ws-modal[hidden] {
  display: none;
}

body.prod-commercial .ws-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(3px);
}

:root[data-theme="light"] body.prod-commercial .ws-modal-backdrop {
  background: rgba(15, 23, 42, 0.28);
}

body.prod-commercial .ws-modal-panel {
  position: absolute;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 1.25rem));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 16, 30, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

:root[data-theme="light"] body.prod-commercial .ws-modal-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

body.prod-commercial .ws-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] body.prod-commercial .ws-modal-head {
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

body.prod-commercial .ws-modal-head strong {
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(245, 247, 250, 0.94);
}

:root[data-theme="light"] body.prod-commercial .ws-modal-head strong {
  color: rgba(15, 23, 42, 0.92);
}

body.prod-commercial .ws-modal-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  cursor: pointer;
}

:root[data-theme="light"] body.prod-commercial .ws-modal-close {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.9);
}

body.prod-commercial .ws-modal-body {
  padding: 0.9rem 1rem 1rem;
  color: rgba(226, 232, 240, 0.92);
}

:root[data-theme="light"] body.prod-commercial .ws-modal-body {
  color: rgba(15, 23, 42, 0.92);
}

body.prod-commercial .ws-shortcuts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  body.prod-commercial .ws-shortcuts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

body.prod-commercial .ws-shortcut {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.7rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

:root[data-theme="light"] body.prod-commercial .ws-shortcut {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.03);
}

body.prod-commercial .ws-shortcut span {
  font-weight: 800;
  letter-spacing: 0.02em;
}

body.prod-commercial .ws-kbd {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(244, 180, 0, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(255, 247, 221, 0.96);
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 0.68rem;
}

:root[data-theme="light"] body.prod-commercial .ws-kbd {
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.92);
}

/* Skeletons (carga) */
body.prod-commercial .ws-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.12);
}

body.prod-commercial .ws-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  animation: ws-skeleton 1.25s infinite;
}

:root[data-theme="light"] body.prod-commercial .ws-skeleton {
  background: rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] body.prod-commercial .ws-skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.06), transparent);
}

@keyframes ws-skeleton {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.prod-commercial .ws-skeleton::after {
    animation: none;
  }
}

/* ------------------------------------------------------------
   Dragon nav + command palette (migrado desde inline CSS)
------------------------------------------------------------ */

body.prod-commercial .dragon-nav {
  width: 94px;
  height: 94px;
  border-radius: 22px;
  border: 1px solid rgba(244, 180, 0, 0.22);
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(21, 38, 63, 0.96));
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.45);
  font-size: 0;
}

body.prod-commercial .dragon-link {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

body.prod-commercial .dragon-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.prod-commercial .product-nav-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.42rem;
}

body.prod-commercial .nav-context {
  flex-basis: 100%;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.15rem 0.05rem 0.05rem;
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

body.prod-commercial .nav-context-name {
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.prod-commercial .nav-context-sep {
  color: rgba(148, 163, 184, 0.85);
}

body.prod-commercial .nav-context-subtitle {
  font-weight: 800;
  color: rgba(244, 180, 0, 0.88);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.prod-commercial .nav-context-team {
  font-weight: 850;
  color: rgba(226, 232, 240, 0.92);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.prod-commercial .nav-context-section {
  font-weight: 900;
  color: rgba(148, 163, 184, 0.92);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.prod-commercial .nav-context-season {
  color: rgba(226, 232, 240, 0.88);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.prod-commercial .nav-season-form {
  margin-left: auto;
}

body.prod-commercial .nav-season-form select {
  min-height: 1.9rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  padding: 0.22rem 1.85rem 0.22rem 0.72rem;
  color: rgba(245, 247, 250, 0.94);
  background: rgba(15, 23, 42, 0.72);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.prod-commercial .product-nav-shortcuts a,
body.prod-commercial .product-nav-shortcuts button.nav-command-btn,
body.prod-commercial .nav-more summary {
  text-decoration: none;
  color: #f5f7fa;
  border: 1px solid rgba(244, 180, 0, 0.18);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.7rem;
  line-height: 1.15;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

body.prod-commercial .product-nav-shortcuts a:hover,
body.prod-commercial .product-nav-shortcuts button.nav-command-btn:hover,
body.prod-commercial .nav-more[open] summary {
  border-color: rgba(244, 180, 0, 0.5);
  color: #fff9e8;
}

body.prod-commercial .product-nav-shortcuts a.is-active,
body.prod-commercial .product-nav-shortcuts button.nav-command-btn.is-active,
body.prod-commercial .nav-more.is-active summary {
  border-color: rgba(244, 180, 0, 0.65);
  background: rgba(244, 180, 0, 0.12);
  color: #ffffff;
}

body.prod-commercial .product-nav-shortcuts button.nav-command-btn {
  cursor: pointer;
}

body.prod-commercial .product-nav-shortcuts button.nav-command-btn--panel,
body.prod-commercial .nav-more-panel a {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.55rem 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 0.68rem;
  text-align: left;
}

body.prod-commercial .product-nav-shortcuts button.nav-command-btn--panel:hover,
body.prod-commercial .nav-more-panel a:hover {
  border-color: rgba(244, 180, 0, 0.45);
}

body.prod-commercial .nav-more {
  position: relative;
}

body.prod-commercial .nav-more summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

body.prod-commercial .nav-more summary::-webkit-details-marker {
  display: none;
}

body.prod-commercial .nav-more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 210px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 16, 30, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45);
  padding: 0.45rem;
  display: grid;
  gap: 0.25rem;
  z-index: 40;
}

body.prod-commercial .nav-more-subtitle {
  margin-top: 0.15rem;
  padding: 0.35rem 0.55rem 0.1rem;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(148, 163, 184, 0.95);
}

body.prod-commercial .team-switcher {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body.prod-commercial .team-switcher--inline {
  width: 100%;
  margin: 0;
  padding: 0.25rem 0.45rem 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

body.prod-commercial .team-switcher-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.75);
  font-weight: 800;
}

body.prod-commercial .team-switcher select {
  width: 100%;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(244, 180, 0, 0.18);
  background: rgba(15, 23, 42, 0.65);
  color: #f8fafc;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

body.prod-commercial .team-switcher select:focus {
  outline: 2px solid rgba(244, 180, 0, 0.45);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  body.prod-commercial .dragon-nav {
    width: 82px;
    height: 82px;
    margin: 0 auto 0.45rem;
  }
  body.prod-commercial .product-nav-shortcuts {
    justify-content: center;
  }
  body.prod-commercial .nav-more-panel {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  body.prod-commercial .team-switcher {
    justify-content: center;
    width: 100%;
  }
}

/* Command palette */
body.prod-commercial .cmdk {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

body.prod-commercial .cmdk[hidden] {
  display: none;
}

body.prod-commercial .cmdk-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(3px);
}

body.prod-commercial .cmdk-panel {
  position: absolute;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 1.2rem));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 16, 30, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

body.prod-commercial .cmdk-head {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

body.prod-commercial .cmdk-input {
  flex: 1;
  border-radius: 12px;
  border: 1px solid rgba(244, 180, 0, 0.24);
  background: rgba(15, 23, 42, 0.65);
  color: #f8fafc;
  padding: 0.72rem 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

body.prod-commercial .cmdk-input:focus {
  outline: 2px solid rgba(244, 180, 0, 0.45);
  outline-offset: 2px;
}

body.prod-commercial .cmdk-close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  padding: 0.62rem 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  cursor: pointer;
}

body.prod-commercial .cmdk-hint {
  padding: 0.5rem 0.85rem;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 700;
  font-size: 0.78rem;
}

body.prod-commercial .cmdk-list {
  max-height: 58vh;
  overflow: auto;
  padding: 0.45rem;
  display: grid;
  gap: 0.25rem;
}

body.prod-commercial .cmdk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(245, 247, 250, 0.92);
  cursor: pointer;
}

body.prod-commercial .cmdk-item:hover {
  border-color: rgba(244, 180, 0, 0.45);
}

body.prod-commercial .cmdk-item[aria-selected="true"] {
  border-color: rgba(244, 180, 0, 0.65);
  background: rgba(244, 180, 0, 0.10);
}

body.prod-commercial .cmdk-main {
  min-width: 0;
}

body.prod-commercial .cmdk-title {
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

body.prod-commercial .cmdk-sub {
  margin-top: 0.15rem;
  color: rgba(226, 232, 240, 0.70);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46ch;
}

body.prod-commercial .cmdk-star {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(226, 232, 240, 0.92);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-weight: 950;
  cursor: pointer;
}

body.prod-commercial .cmdk-star.is-fav {
  border-color: rgba(244, 180, 0, 0.55);
  color: #fff9e8;
  background: rgba(244, 180, 0, 0.12);
}

body.prod-commercial .cmdk-section {
  margin: 0.35rem 0 0.2rem;
  padding: 0.25rem 0.55rem 0.15rem;
  color: rgba(148, 163, 184, 0.92);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 950;
  font-size: 0.66rem;
}

/* Theme-aware (light / high-contrast) */
:root[data-theme="light"] body.prod-commercial .product-nav-shortcuts a,
:root[data-theme="light"] body.prod-commercial .product-nav-shortcuts button.nav-command-btn,
:root[data-theme="light"] body.prod-commercial .nav-more summary {
  color: rgba(15, 23, 42, 0.92);
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(15, 23, 42, 0.03);
}

:root[data-theme="light"] body.prod-commercial .product-nav-shortcuts a.is-active,
:root[data-theme="light"] body.prod-commercial .product-nav-shortcuts button.nav-command-btn.is-active,
:root[data-theme="light"] body.prod-commercial .nav-more.is-active summary {
  border-color: rgba(47, 125, 50, 0.32);
  background: linear-gradient(135deg, rgba(47, 125, 50, 0.12), rgba(244, 180, 0, 0.1));
  color: rgba(15, 23, 42, 0.92);
}

:root[data-theme="light"] body.prod-commercial .nav-context {
  color: rgba(15, 23, 42, 0.72);
}

:root[data-theme="light"] body.prod-commercial .nav-context-sep {
  color: rgba(15, 23, 42, 0.38);
}

:root[data-theme="light"] body.prod-commercial .nav-context-subtitle {
  color: rgba(47, 125, 50, 0.92);
}

:root[data-theme="light"] body.prod-commercial .nav-context-season {
  color: rgba(15, 23, 42, 0.76);
}

:root[data-theme="light"] body.prod-commercial .nav-season-form select {
  color: rgba(15, 23, 42, 0.9);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.16);
}

:root[data-theme="light"] body.prod-commercial .cmdk-backdrop {
  background: rgba(15, 23, 42, 0.28);
}

:root[data-theme="light"] body.prod-commercial .cmdk-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

:root[data-theme="light"] body.prod-commercial .cmdk-head {
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] body.prod-commercial .cmdk-input {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.14);
  color: rgba(15, 23, 42, 0.92);
}

:root[data-theme="light"] body.prod-commercial .cmdk-hint,
:root[data-theme="light"] body.prod-commercial .cmdk-sub,
:root[data-theme="light"] body.prod-commercial .cmdk-section {
  color: rgba(71, 85, 105, 0.92);
}

:root[data-theme="light"] body.prod-commercial .cmdk-item {
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.03);
  color: rgba(15, 23, 42, 0.92);
}

:root[data-theme="light"] body.prod-commercial .cmdk-close,
:root[data-theme="light"] body.prod-commercial .cmdk-star {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.9);
}

:root[data-theme="light"] body.prod-commercial .cmdk-star.is-fav {
  border-color: rgba(47, 125, 50, 0.28);
  background: rgba(47, 125, 50, 0.08);
}

:root[data-theme="hc"] body.prod-commercial .dragon-nav {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

:root[data-theme="hc"] body.prod-commercial .product-nav-shortcuts a,
:root[data-theme="hc"] body.prod-commercial .product-nav-shortcuts button.nav-command-btn,
:root[data-theme="hc"] body.prod-commercial .nav-more summary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
}

:root[data-theme="hc"] body.prod-commercial .nav-more-panel {
  background: rgba(0, 0, 0, 0.98);
  border-color: rgba(255, 255, 255, 0.34);
}

:root[data-theme="hc"] body.prod-commercial .cmdk-panel {
  background: rgba(0, 0, 0, 0.98);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

:root[data-theme="hc"] body.prod-commercial .cmdk-item {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme="hc"] body.prod-commercial .cmdk-item[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

:root[data-theme="light"] body.prod-commercial .nav-more summary,
:root[data-theme="light"] body.prod-commercial .team-switcher select {
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.92);
  border-color: rgba(15, 23, 42, 0.14);
}

:root[data-theme="light"] body.prod-commercial .nav-more-panel,
:root[data-theme="light"] body.prod-commercial .team-switcher--inline {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

:root[data-theme="light"] body.prod-commercial .nav-more-panel a,
:root[data-theme="light"] body.prod-commercial .product-nav-shortcuts button.nav-command-btn--panel {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.92);
}

:root[data-theme="light"] body.prod-commercial .team-switcher-label {
  color: rgba(71, 85, 105, 0.92);
}

:root[data-theme="light"] body.prod-commercial .nav-more-subtitle {
  color: rgba(71, 85, 105, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  body.prod-commercial .cmdk-backdrop,
  body.prod-commercial .nav-more-panel {
    backdrop-filter: none;
  }
}

/* Presentation mode: ocultar navegación y dar más espacio al contenido. */
:root[data-presentation="1"] body.prod-commercial .dragon-nav,
:root[data-presentation="1"] body.prod-commercial .product-nav-shortcuts {
  display: none !important;
}

:root[data-presentation="1"] body.prod-commercial .product-page {
  padding-top: 0.75rem;
}

body.prod-commercial .ws-presentation-exit {
  display: none;
  position: fixed;
  top: calc(0.75rem + var(--safe-top, 0px));
  right: calc(0.75rem + var(--safe-right, 0px));
  z-index: 1450;
}

:root[data-presentation="1"] body.prod-commercial .ws-presentation-exit {
  display: flex;
}

body.prod-commercial .ws-presentation-exit button {
  appearance: none;
  border: 1px solid rgba(244, 180, 0, 0.28);
  background: rgba(15, 23, 42, 0.55);
  color: rgba(255, 247, 221, 0.96);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

:root[data-theme="light"] body.prod-commercial .ws-presentation-exit button {
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.92);
}
