/* ============================================================
   1. Inicio — te_recordare_base.css limpio
   ============================================================ */

/* ============================================================
   1.1 Inicio — Variables globales
   ============================================================ */
:root {
  --tr-bg: #ffffff;
  --tr-bg-soft: #fff9fb;
  --tr-bg-card: #ffffff;
  --tr-bg-strong: #fff3f7;

  --tr-rose-1: #fff0f6;
  --tr-rose-2: #ffe3ed;
  --tr-rose-3: #efbdd1;
  --tr-rose-4: #d97aa5;

  --tr-burgundy-1: #8c1f4d;
  --tr-burgundy-2: #74163f;
  --tr-burgundy-3: #5a1030;
  --tr-burgundy-4: #430a22;

  --tr-text: #4d1230;
  --tr-text-strong: #111111;
  --tr-text-soft: #333333;
  --tr-text-inverse: #ffffff;

  --tr-border: #f3d7e3;
  --tr-border-strong: #dca2bb;

  --tr-success: #2f6b3f;
  --tr-warning: #865915;
  --tr-danger: #7e0f3a;
  --tr-info: #7a2347;

  --tr-radius-xs: 8px;
  --tr-radius-sm: 12px;
  --tr-radius-md: 16px;
  --tr-radius-lg: 22px;
  --tr-radius-xl: 30px;
  --tr-radius-pill: 999px;

  --tr-space-1: 4px;
  --tr-space-2: 8px;
  --tr-space-3: 12px;
  --tr-space-4: 16px;
  --tr-space-5: 20px;
  --tr-space-6: 24px;
  --tr-space-7: 32px;
  --tr-space-8: 40px;
  --tr-space-9: 48px;
  --tr-space-10: 64px;

  --tr-max-width: 1440px;
  --tr-sidebar-width: 360px;
  --tr-preview-min-h: 560px;

  --tr-font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --tr-font-display: "Cormorant", "Georgia", serif;
  --tr-font-ui: "Inter", "Segoe UI", Arial, sans-serif;

  --tr-transition-fast: 0.18s ease;
  --tr-transition-base: 0.28s ease;
}
/* ============================================================
   1.1 Fin
   ============================================================ */


/* ============================================================
   1.2 Inicio — Reset base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--tr-font-body);
  color: var(--tr-text);
  background: #ffffff;
  line-height: 1.55;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--tr-burgundy-1);
  text-decoration: none;
}

a:hover {
  color: var(--tr-burgundy-2);
}

::selection {
  background: var(--tr-rose-2);
  color: #111111;
}
/* ============================================================
   1.2 Fin
   ============================================================ */


/* ============================================================
   1.3 Inicio — Tipografía global
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--tr-space-4);
  color: var(--tr-text-strong);
  line-height: 1.1;
}

h1,
.tr-display-xl,
.tr-display-lg,
.tr-brand-title {
  font-family: var(--tr-font-display);
  letter-spacing: 0.01em;
}

h1,
.tr-display-xl {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 600;
}

h2,
.tr-display-lg {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 600;
}

h3,
.tr-display-md {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
}

h4,
.tr-display-sm {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 var(--tr-space-4);
}

small,
.tr-text-small {
  font-size: 0.88rem;
}

.tr-text-soft {
  color: var(--tr-text-soft);
}

.tr-text-strong {
  color: var(--tr-text-strong);
}

.tr-text-center {
  text-align: center;
}

.tr-text-right {
  text-align: right;
}
/* ============================================================
   1.3 Fin
   ============================================================ */


/* ============================================================
   1.4 Inicio — Layout general
   ============================================================ */
.tr-page {
  width: min(calc(100% - 32px), var(--tr-max-width));
  margin: 0 auto;
  padding: var(--tr-space-7) 0 var(--tr-space-10);
}

.tr-page-wide {
  width: min(calc(100% - 24px), 1680px);
  margin: 0 auto;
  padding: var(--tr-space-6) 0 var(--tr-space-9);
}

.tr-section {
  margin-bottom: var(--tr-space-8);
}

.tr-grid {
  display: grid;
  gap: var(--tr-space-6);
}

.tr-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tr-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tr-flex,
.tr-flex-center,
.tr-flex-between {
  display: flex;
  gap: var(--tr-space-4);
}

.tr-flex-center {
  align-items: center;
  justify-content: center;
}

.tr-flex-between {
  align-items: center;
  justify-content: space-between;
}

.tr-wrap {
  flex-wrap: wrap;
}

.tr-stack-xs > * + * {
  margin-top: var(--tr-space-2);
}

.tr-stack-sm > * + * {
  margin-top: var(--tr-space-3);
}

.tr-stack-md > * + * {
  margin-top: var(--tr-space-4);
}

.tr-stack-lg > * + * {
  margin-top: var(--tr-space-6);
}
/* ============================================================
   1.4 Fin
   ============================================================ */


/* ============================================================
   1.5 Inicio — Contenedores
   ============================================================ */
.tr-card,
.tr-panel,
.tr-box,
.tr-surface {
  background: #ffffff;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-lg);
}

.tr-card {
  padding: var(--tr-space-6);
}

.tr-panel {
  padding: var(--tr-space-5);
}

.tr-box {
  padding: var(--tr-space-4);
}

.tr-surface {
  padding: var(--tr-space-7);
}

.tr-card-strong {
  background: #ffffff;
  border: 1px solid var(--tr-border);
}

.tr-outline-burgundy {
  border: 1px solid var(--tr-burgundy-1);
}

.tr-outline-rose {
  border: 1px solid var(--tr-rose-3);
}
/* ============================================================
   1.5 Fin
   ============================================================ */


/* ============================================================
   1.6 Inicio — Header
   ============================================================ */
.tr-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--tr-burgundy-1);
  border-bottom: none;
  box-shadow: none;
}

.tr-site-header__inner {
  width: min(calc(100% - 24px), var(--tr-max-width));
  margin: 0 auto;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--tr-space-5);
}

.tr-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--tr-space-3);
  background: transparent;
}

.tr-brand__logo {
  width: 280px;
  height: auto;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: normal;
}

.tr-brand__name {
  font-family: var(--tr-font-display);
  font-size: 2rem;
  color: #ffffff;
  line-height: 1;
}

.tr-header-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--tr-space-3);
}
/* ============================================================
   1.6 Fin
   ============================================================ */


/* ============================================================
   1.7 Inicio — Navegación
   ============================================================ */
.tr-nav,
.tr-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--tr-space-2);
  flex-wrap: wrap;
}

.tr-nav a,
.tr-header-nav a {
  padding: 10px 16px;
  border-radius: var(--tr-radius-pill);
  color: #ffffff;
  font-weight: 600;
}

.tr-nav a:hover,
.tr-nav a.is-active,
.tr-header-nav a:hover,
.tr-header-nav a.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
/* ============================================================
   1.7 Fin
   ============================================================ */


/* ============================================================
   1.8 Inicio — Hero
   ============================================================ */
.tr-hero {
  position: relative;
  overflow: hidden;
  padding: var(--tr-space-9) var(--tr-space-7);
  border-radius: var(--tr-radius-xl);
  background: #ffffff;
  border: 1px solid var(--tr-border);
}

.tr-hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--tr-space-4);
  padding: 8px 14px;
  border-radius: var(--tr-radius-pill);
  background: #fff3f8;
  color: var(--tr-burgundy-1);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tr-hero__title {
  max-width: 920px;
}

.tr-hero__text {
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--tr-text-soft);
}
/* ============================================================
   1.8 Fin
   ============================================================ */


/* ============================================================
   1.9 Inicio — Botones
   ============================================================ */
.tr-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--tr-radius-pill);
  padding: 13px 22px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition:
    background var(--tr-transition-fast),
    border-color var(--tr-transition-fast),
    color var(--tr-transition-fast);
}

.tr-btn:focus-visible {
  outline: none;
  border-color: #111111;
}

.tr-btn:disabled,
.tr-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tr-btn--primary,
.tr-btn--burgundy {
  background: var(--tr-burgundy-1);
  color: #ffffff;
  border-color: var(--tr-burgundy-1);
}

.tr-btn--primary:hover,
.tr-btn--burgundy:hover {
  background: var(--tr-burgundy-2);
  color: #ffffff;
  border-color: var(--tr-burgundy-2);
}

.tr-btn--rose {
  background: var(--tr-rose-1);
  color: var(--tr-burgundy-3);
  border-color: var(--tr-border-strong);
}

.tr-btn--rose:hover {
  background: var(--tr-rose-2);
}

.tr-btn--black-rose {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.tr-btn--black-rose:hover {
  background: #000000;
  color: #ffffff;
}

.tr-btn--outline-rose {
  background: #ffffff;
  color: var(--tr-burgundy-1);
  border-color: var(--tr-rose-3);
}

.tr-btn--outline-rose:hover {
  background: #fff7fb;
}

.tr-btn--outline-burgundy {
  background: #ffffff;
  color: #111111;
  border-color: var(--tr-burgundy-1);
}

.tr-btn--outline-burgundy:hover {
  background: #fff8fc;
  color: #111111;
}

.tr-btn--ghost {
  background: transparent;
  color: var(--tr-text);
  border-color: transparent;
}

.tr-btn--ghost:hover {
  background: #fff7fb;
}

.tr-btn--sm {
  min-height: 38px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.tr-btn--lg {
  min-height: 54px;
  padding: 16px 28px;
  font-size: 1rem;
}

.tr-btn-group {
  display: flex;
  gap: var(--tr-space-3);
  flex-wrap: wrap;
}
/* ============================================================
   1.9 Fin
   ============================================================ */


/* ============================================================
   1.10 Inicio — Formularios
   ============================================================ */
.tr-form {
  display: grid;
  gap: var(--tr-space-5);
}

.tr-form-row {
  display: grid;
  gap: var(--tr-space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tr-field {
  display: grid;
  gap: 8px;
}

.tr-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tr-text-strong);
}

.tr-help {
  font-size: 0.85rem;
  color: var(--tr-text-soft);
}

.tr-input,
.tr-select,
.tr-textarea,
.tr-file,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  background: #ffffff;
  color: var(--tr-text-strong);
  padding: 14px 16px;
  transition:
    border-color var(--tr-transition-fast),
    background var(--tr-transition-fast);
}

.tr-input::placeholder,
.tr-textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #b97d98;
}

.tr-input:hover,
.tr-select:hover,
.tr-textarea:hover,
.tr-file:hover,
input:hover,
select:hover,
textarea:hover {
  border-color: var(--tr-border-strong);
}

.tr-input:focus,
.tr-select:focus,
.tr-textarea:focus,
.tr-file:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--tr-burgundy-1);
  background: #ffffff;
}

.tr-textarea,
textarea {
  min-height: 120px;
  resize: vertical;
}

.tr-checkbox,
.tr-radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.tr-checkbox input,
.tr-radio input {
  accent-color: var(--tr-burgundy-1);
}
/* ============================================================
   1.10 Fin
   ============================================================ */


/* ============================================================
   1.11 Inicio — Switch
   ============================================================ */
.tr-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.tr-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tr-switch__track {
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #eed5e0;
  position: relative;
  transition: background var(--tr-transition-fast);
}

.tr-switch__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform var(--tr-transition-fast);
}

.tr-switch input:checked + .tr-switch__track {
  background: var(--tr-burgundy-1);
}

.tr-switch input:checked + .tr-switch__track::after {
  transform: translateX(24px);
}
/* ============================================================
   1.11 Fin
   ============================================================ */


/* ============================================================
   1.12 Inicio — Mensajes
   ============================================================ */
.tr-message {
  padding: 14px 16px;
  border-radius: var(--tr-radius-md);
  font-weight: 600;
  border: 1px solid transparent;
}

.tr-message--success {
  background: #eef8f0;
  color: var(--tr-success);
  border-color: #c7e2cf;
}

.tr-message--warning {
  background: #fff8ee;
  color: var(--tr-warning);
  border-color: #efd7ab;
}

.tr-message--danger {
  background: #fff2f6;
  color: var(--tr-danger);
  border-color: #e9b7cc;
}

.tr-message--info {
  background: #fff5f8;
  color: var(--tr-info);
  border-color: #efc5d7;
}
/* ============================================================
   1.12 Fin
   ============================================================ */


/* ============================================================
   1.13 Inicio — Tabs y chips
   ============================================================ */
.tr-tabs {
  display: flex;
  gap: var(--tr-space-3);
  flex-wrap: wrap;
}

.tr-tab {
  border: 1px solid var(--tr-border);
  background: #ffffff;
  color: var(--tr-text);
  padding: 12px 18px;
  border-radius: var(--tr-radius-pill);
  cursor: pointer;
  font-weight: 700;
}

.tr-tab:hover {
  border-color: var(--tr-border-strong);
  background: #fff9fb;
}

.tr-tab.is-active {
  background: var(--tr-burgundy-1);
  color: #ffffff;
  border-color: var(--tr-burgundy-1);
}

.tr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--tr-radius-pill);
  background: #fff8fb;
  border: 1px solid var(--tr-border);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
}
/* ============================================================
   1.13 Fin
   ============================================================ */


/* ============================================================
   1.14 Inicio — Tabla
   ============================================================ */
.tr-table-wrap {
  width: 100%;
  overflow: auto;
  border-radius: var(--tr-radius-lg);
  border: 1px solid var(--tr-border);
  background: #ffffff;
}

.tr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.tr-table thead th {
  text-align: left;
  padding: 14px 16px;
  background: #fff7fa;
  color: var(--tr-burgundy-2);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tr-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #f8e7ee;
  color: var(--tr-text);
}

.tr-table tbody tr:hover {
  background: #fffafb;
}
/* ============================================================
   1.14 Fin
   ============================================================ */


/* ============================================================
   1.15 Inicio — Configurador
   ============================================================ */
.tr-configurator {
  display: grid;
  grid-template-columns: minmax(320px, var(--tr-sidebar-width)) minmax(0, 1fr);
  gap: var(--tr-space-6);
  align-items: start;
}

.tr-configurator__sidebar {
  position: sticky;
  top: 96px;
}

.tr-configurator__preview {
  min-height: var(--tr-preview-min-h);
}

.tr-preview-shell {
  background: #ffffff;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-xl);
  padding: var(--tr-space-5);
}

.tr-preview-stage {
  position: relative;
  width: 100%;
  min-height: 640px;
  border-radius: var(--tr-radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--tr-border);
}

.tr-preview-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 520px;
  overflow: hidden;
  background: #ffffff;
}

.tr-preview-layer {
  position: absolute;
  inset: 0;
}

.tr-preview-layer--mockup img,
.tr-preview-layer--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tr-preview-layer--text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--tr-space-6);
  pointer-events: none;
}

.tr-preview-text {
  font-family: var(--tr-font-display);
  color: var(--tr-burgundy-1);
  text-align: center;
  text-wrap: balance;
}
/* ============================================================
   1.15 Fin
   ============================================================ */


/* ============================================================
   1.16 Inicio — Panel de herramientas
   ============================================================ */
.tr-tool-panel {
  display: grid;
  gap: var(--tr-space-5);
}

.tr-tool-group {
  padding: var(--tr-space-5);
  border-radius: var(--tr-radius-lg);
  background: #ffffff;
  border: 1px solid var(--tr-border);
}

.tr-tool-group__title {
  margin-bottom: var(--tr-space-4);
  font-size: 1rem;
  font-weight: 800;
  color: var(--tr-burgundy-2);
}

.tr-option-grid {
  display: grid;
  gap: var(--tr-space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tr-option-card {
  padding: var(--tr-space-4);
  border-radius: var(--tr-radius-md);
  border: 1px solid var(--tr-border);
  background: #ffffff;
  cursor: pointer;
}

.tr-option-card:hover {
  border-color: var(--tr-border-strong);
  background: #fffafb;
}

.tr-option-card.is-selected {
  border-color: var(--tr-burgundy-1);
  background: #fff6fa;
}
/* ============================================================
   1.16 Fin
   ============================================================ */


/* ============================================================
   1.17 Inicio — Upload
   ============================================================ */
.tr-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--tr-space-3);
  width: 100%;
  min-height: 240px;
  border: 2px dashed var(--tr-border-strong);
  border-radius: var(--tr-radius-lg);
  background: #ffffff;
  padding: var(--tr-space-6);
  text-align: center;
  overflow: hidden;
  cursor: pointer;
}

.tr-dropzone:hover,
.tr-dropzone.is-dragover {
  border-color: var(--tr-burgundy-1);
  background: #fff7fa;
}

.tr-dropzone:focus-within {
  border-color: var(--tr-burgundy-1);
}

.tr-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.tr-dropzone > *:not(input) {
  position: relative;
  z-index: 1;
}

.tr-dropzone__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff0f6;
  display: grid;
  place-items: center;
  color: var(--tr-burgundy-1);
  font-size: 1.6rem;
  line-height: 1;
  flex: 0 0 auto;
}
/* ============================================================
   1.17 Fin
   ============================================================ */


/* ============================================================
   1.18 Inicio — Productos
   ============================================================ */
.tr-product-grid {
  display: grid;
  gap: var(--tr-space-5);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tr-product-card {
  overflow: hidden;
  border-radius: var(--tr-radius-xl);
  background: #ffffff;
  border: 1px solid var(--tr-border);
}

.tr-product-card:hover {
  border-color: var(--tr-border-strong);
}

.tr-product-card__media {
  aspect-ratio: 4 / 3;
  background: #fff8fb;
  overflow: hidden;
}

.tr-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-product-card__body {
  padding: var(--tr-space-5);
}

.tr-product-card__title {
  margin-bottom: var(--tr-space-2);
  font-family: var(--tr-font-display);
  font-size: 1.8rem;
  color: #111111;
}

.tr-product-card__meta {
  color: #333333;
  font-size: 0.94rem;
}
/* ============================================================
   1.18 Fin
   ============================================================ */


/* ============================================================
   1.19 Inicio — Modal y drawer
   ============================================================ */
.tr-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 10, 15, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tr-modal-backdrop.is-open {
  display: flex;
}

.tr-modal {
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e7ccd7;
  padding: 20px;
}

.tr-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(100%, 420px);
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--tr-border);
  transform: translateX(100%);
  transition: transform var(--tr-transition-base);
  padding: var(--tr-space-6);
  overflow: auto;
}

.tr-drawer.is-open {
  transform: translateX(0);
}
/* ============================================================
   1.19 Fin
   ============================================================ */


/* ============================================================
   1.20 Inicio — Loader y vacíos
   ============================================================ */
.tr-loader {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid #f4dde8;
  border-top-color: var(--tr-burgundy-1);
  animation: tr-spin 0.9s linear infinite;
}

@keyframes tr-spin {
  to {
    transform: rotate(360deg);
  }
}

.tr-empty {
  padding: var(--tr-space-8);
  text-align: center;
  border: 1px dashed var(--tr-border-strong);
  border-radius: var(--tr-radius-lg);
  background: #ffffff;
  color: var(--tr-text-soft);
}
/* ============================================================
   1.20 Fin
   ============================================================ */


/* ============================================================
   1.21 Inicio — Auth global
   ============================================================ */
.tr-auth-state-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  border: 1px solid #000000;
  background: #fff5f7;
  color: #000000;
}

.tr-auth-state-badge.is-ok {
  border-color: var(--tr-success);
  color: var(--tr-success);
}

.tr-auth-state-badge.is-locked {
  border-color: #000000;
  color: #000000;
}
/* ============================================================
   1.21 Fin
   ============================================================ */


/* ============================================================
   1.22 Inicio — Utilidades
   ============================================================ */
.tr-hidden {
  display: none !important;
}

.tr-rounded-sm {
  border-radius: var(--tr-radius-sm);
}

.tr-rounded-md {
  border-radius: var(--tr-radius-md);
}

.tr-rounded-lg {
  border-radius: var(--tr-radius-lg);
}

.tr-border {
  border: 1px solid var(--tr-border);
}

.tr-bg-page,
.tr-bg-card {
  background: #ffffff;
}

.tr-bg-soft {
  background: var(--tr-bg-soft);
}

.tr-bg-strong {
  background: var(--tr-bg-strong);
}

.tr-w-full {
  width: 100%;
}

.tr-h-full {
  height: 100%;
}

.tr-m-0 {
  margin: 0;
}

.tr-mt-0 {
  margin-top: 0;
}

.tr-mb-0 {
  margin-bottom: 0;
}

.tr-p-0 {
  padding: 0;
}
/* ============================================================
   1.22 Fin
   ============================================================ */


/* ============================================================
   1.23 Inicio — Footer
   ============================================================ */
.tr-site-footer {
  margin-top: var(--tr-space-10);
  padding: var(--tr-space-8) 0;
  border-top: 1px solid var(--tr-border);
  background: var(--tr-burgundy-1);
}

.tr-site-footer__inner {
  width: min(calc(100% - 24px), var(--tr-max-width));
  margin: 0 auto;
  display: grid;
  gap: var(--tr-space-5);
  color: #ffffff;
}

.tr-site-footer__brand {
  font-family: var(--tr-font-display);
  font-size: 2rem;
  color: #ffffff;
}
/* ============================================================
   1.23 Fin
   ============================================================ */


/* ============================================================
   1.24 Inicio — Impresión
   ============================================================ */
@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .tr-site-header,
  .tr-site-footer,
  .tr-configurator__sidebar,
  .tr-btn,
  .tr-no-print {
    display: none !important;
  }

  .tr-page,
  .tr-page-wide {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .tr-card,
  .tr-panel,
  .tr-box,
  .tr-surface,
  .tr-preview-shell,
  .tr-preview-stage {
    border: none;
    background: #ffffff;
  }

  .tr-print-sheet {
    width: 210mm;
    min-height: 297mm;
    background: #ffffff;
  }
}
/* ============================================================
   1.24 Fin
   ============================================================ */


/* ============================================================
   1.25 Inicio — Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .tr-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tr-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .tr-configurator {
    grid-template-columns: 1fr;
  }

  .tr-configurator__sidebar {
    position: static;
  }

  .tr-form-row,
  .tr-grid-3,
  .tr-grid-2 {
    grid-template-columns: 1fr;
  }

  .tr-option-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tr-site-header__inner {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding: 14px 0;
    align-items: center;
  }

  .tr-header-nav,
  .tr-nav {
    display: none;
  }

  .tr-header-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .tr-page,
  .tr-page-wide {
    width: min(calc(100% - 16px), var(--tr-max-width));
    padding-top: var(--tr-space-5);
    padding-bottom: var(--tr-space-8);
  }

  .tr-hero {
    padding: var(--tr-space-7) var(--tr-space-5);
  }

  .tr-card,
  .tr-panel,
  .tr-tool-group,
  .tr-modal,
  .tr-surface {
    padding: var(--tr-space-4);
  }

  .tr-preview-stage {
    min-height: 420px;
  }

  .tr-preview-canvas {
    min-height: 360px;
  }

  .tr-product-grid,
  .tr-grid-4 {
    grid-template-columns: 1fr;
  }

  .tr-option-grid {
    grid-template-columns: 1fr;
  }

  .tr-btn-group,
  .tr-flex,
  .tr-flex-center,
  .tr-flex-between {
    flex-direction: column;
    align-items: stretch;
  }

  .tr-btn {
    width: 100%;
  }

  .tr-brand__logo {
    width: 220px;
  }

  .tr-brand__name {
    font-size: 1.7rem;
  }
}
/* ============================================================
   1.25 Fin
   ============================================================ */

/* ============================================================
   2. Fin — te_recordare_base.css limpio
   ============================================================ */