/* ==========================================================================
   Aviso de Privacidad en Mostrador - NED Leal
   Estilos de Interfaz Web y Plantillas Imprimibles en PDF (Media Carta / Carta / Stickers)
   Cumplimiento Ley 1581 de 2012 y Decreto 1377 de 2013 (Colombia)
   ========================================================================== */

:root {
  --ned-magenta: #c4227d;
  --ned-magenta-dark: #9a1a62;
  --ned-magenta-light: #fdf2f8;
  --ned-yellow: #ffe700;
  --ned-yellow-dark: #d4c000;
  --ned-dark: #2b2d42;
  --ned-dark-soft: #3b3d4f;
  --ned-gray-border: #e2e8f0;
  --ned-gray-bg: #f8fafc;
  --ned-gray-text: #64748b;
  --ned-shadow-sm: 0 4px 12px rgba(43, 45, 66, 0.05);
  --ned-shadow-md: 0 12px 30px rgba(43, 45, 66, 0.08);
  --ned-shadow-lg: 0 20px 45px rgba(43, 45, 66, 0.12);
  --ned-radius-card: 18px;
  --ned-radius-pill: 50px;
}

/* ==========================================================================
   Estructura Principal de la Página Web
   ========================================================================== */

.aviso-page-main {
  padding: 6.5rem 1.5rem 4rem 1.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(196, 34, 125, 0.04) 0%, rgba(255, 231, 0, 0.03) 90%), #f8fafc;
  min-height: 100vh;
  box-sizing: border-box;
}

.aviso-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Hero & Encabezado */
.aviso-hero {
  text-align: center;
  margin-bottom: 2.2rem;
}

.hero-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(196, 34, 125, 0.12) 0%, rgba(255, 231, 0, 0.2) 100%);
  color: var(--ned-magenta-dark);
  border: 1px solid rgba(196, 34, 125, 0.25);
  padding: 6px 18px;
  border-radius: var(--ned-radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-legal-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.aviso-hero h1 {
  font-family: "Outfit", sans-serif;
  color: var(--ned-dark);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.aviso-hero p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ned-gray-text);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   Panel de Control y Personalización (Editor)
   ========================================================================== */

.editor-card {
  background: #ffffff;
  border-radius: var(--ned-radius-card);
  padding: 1.8rem 2rem;
  box-shadow: var(--ned-shadow-md);
  border: 1px solid rgba(196, 34, 125, 0.1);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.editor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ned-magenta) 0%, var(--ned-yellow) 100%);
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .editor-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ned-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label .required-star {
  color: var(--ned-magenta);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  color: var(--ned-gray-text);
  font-size: 1.1rem;
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-family: "Nunito", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ned-dark);
  background: #fdfdfd;
  border: 2px solid var(--ned-gray-border);
  border-radius: 12px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--ned-magenta);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(196, 34, 125, 0.12);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--ned-gray-text);
  margin-top: 2px;
}

/* Selector de Pestañas / Formatos */
.format-tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--ned-gray-border);
}

.format-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 14px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ned-dark-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
  color: var(--ned-magenta);
}

.tab-btn.active {
  background: #ffffff;
  color: var(--ned-magenta-dark);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.tab-btn .tab-icon {
  font-size: 1.1rem;
}

/* Subopciones de Tamaño de Impresión para el Hablador */
.size-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ned-dark);
}

.size-selector select {
  font-family: "Nunito", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--ned-gray-border);
  background: #ffffff;
  color: var(--ned-dark);
  cursor: pointer;
  outline: none;
}

.size-selector select:focus {
  border-color: var(--ned-magenta);
}

/* ==========================================================================
   Barra de Acciones Rápidas (Imprimir / Descargar / Copiar)
   ========================================================================== */

.action-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--ned-shadow-sm);
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--ned-shadow-md);
}

.btn-action:active {
  transform: translateY(0);
}

.btn-primary-print {
  background: linear-gradient(135deg, var(--ned-magenta) 0%, #ad146b 100%);
  color: #ffffff;
}

.btn-primary-print:hover {
  background: linear-gradient(135deg, #b31a70 0%, #8c0f55 100%);
}

.btn-secondary-pdf {
  background: #ffffff;
  color: var(--ned-dark);
  border: 2px solid var(--ned-dark);
}

.btn-secondary-pdf:hover {
  background: #f8fafc;
  border-color: var(--ned-magenta);
  color: var(--ned-magenta);
}

.btn-tertiary-copy {
  background: #ffffff;
  color: var(--ned-dark-soft);
  border: 2px solid var(--ned-gray-border);
}

.btn-tertiary-copy:hover {
  border-color: var(--ned-dark-soft);
  color: var(--ned-dark);
}

.btn-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-badge-live .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   Contenedor de Visualización / Vista Previa (Mockup Stand)
   ========================================================================== */

.preview-wrapper {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-header-meta {
  width: 100%;
  max-width: 820px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  padding: 0 8px;
  box-sizing: border-box;
}

.preview-title-badge {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ned-gray-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Efecto de atril acrílico realista */
.acrylic-stand-mockup {
  position: relative;
  padding: 24px 24px 34px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 245, 250, 0.7) 100%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 25px 60px rgba(43, 45, 66, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 100%;
  max-width: 820px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Base del atril acrílico (3D) */
.acrylic-stand-mockup::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 12px;
  background: linear-gradient(180deg, rgba(200, 215, 230, 0.7) 0%, rgba(160, 180, 200, 0.9) 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: none;
}

/* Brillo superior del acrílico */
.acrylic-stand-mockup::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.9) 50%, transparent 100%);
  border-radius: 2px;
  pointer-events: none;
}

/* ==========================================================================
   FORMATO 1: Hablador de Mostrador (Documento Imprimible)
   ========================================================================== */

.hablador-sheet {
  background: #ffffff;
  color: var(--ned-dark);
  font-family: "Nunito", sans-serif;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid #2b2d42;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 2.2rem 2.4rem;
}

/* Borde decorativo superior de marca */
.hablador-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--ned-magenta) 0%, var(--ned-yellow) 100%);
}

/* Cabecera del Documento */
.hablador-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #2b2d42;
  padding-bottom: 1.2rem;
  margin-bottom: 1.4rem;
}

.hablador-logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hablador-logo-img {
  width: 82px;
  height: auto;
  object-fit: contain;
}

.hablador-brand-text h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ned-dark);
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1;
  text-align: left;
}

.hablador-brand-text span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ned-magenta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hablador-legal-tag {
  text-align: right;
  border-left: 2px solid var(--ned-yellow);
  padding-left: 12px;
}

.hablador-legal-tag .tag-title {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hablador-legal-tag .tag-law {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ned-magenta-dark);
}

/* Título Central Destacado */
.hablador-title-banner {
  background: #f8fafc;
  border: 1.5px solid #2b2d42;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  margin-bottom: 1.2rem;
}

.hablador-title-banner h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ned-dark);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0 0 3px 0;
  line-height: 1.2;
}

.hablador-title-banner .sub-banner {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ned-magenta);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Identificación del Comercio */
.hablador-merchant-intro {
  background: rgba(196, 34, 125, 0.03);
  border-left: 4px solid var(--ned-magenta);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #1f2937;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.hablador-merchant-intro strong {
  font-weight: 800;
  color: var(--ned-dark);
}

.display-biz-name {
  color: var(--ned-magenta-dark);
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 231, 0, 0.35);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Secciones Numeradas Legales */
.hablador-sections-grid {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.legal-section-block {
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 0.75rem;
}

.legal-section-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--ned-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.legal-section-title .sec-badge {
  background: var(--ned-magenta);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.legal-section-body {
  font-size: 0.81rem;
  line-height: 1.42;
  color: #334155;
  text-align: justify;
}

.legal-section-list {
  list-style: none;
  padding-left: 0;
  margin: 0.35rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.legal-section-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #1e293b;
}

.legal-section-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--ned-magenta);
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
}

.legal-section-list.lettered li::before {
  content: attr(data-letter);
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ned-magenta);
}

/* Pie de Página del Hablador */
.hablador-footer-box {
  border-top: 2px solid #2b2d42;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.hablador-footer-info {
  flex: 1;
}

.hablador-footer-info p {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #475569;
  margin-bottom: 4px;
  text-align: left;
}

.hablador-contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ned-dark);
}

.hablador-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid #2b2d42;
  border-radius: 8px;
  padding: 8px;
  min-width: 95px;
}

.hablador-qr-canvas {
  width: 75px;
  height: 75px;
  display: block;
}

.hablador-qr-box span {
  font-family: "Outfit", sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--ned-dark);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Modificadores de Tamaño para Media Carta vs Carta */
.hablador-sheet.size-media-carta {
  max-width: 580px;
  padding: 1.6rem 1.8rem;
}

.hablador-sheet.size-media-carta .hablador-sections-grid {
  gap: 0.7rem;
}

.hablador-sheet.size-media-carta .legal-section-title {
  font-size: 0.82rem;
}

.hablador-sheet.size-media-carta .legal-section-body,
.hablador-sheet.size-media-carta .legal-section-list li {
  font-size: 0.76rem;
  line-height: 1.35;
}

/* ==========================================================================
   FORMATO 2: Plantilla de Stickers de Caja / Datáfono
   ========================================================================== */

.stickers-sheet {
  width: 100%;
  max-width: 820px;
  background: #ffffff;
  border-radius: 12px;
  padding: 1.8rem;
  box-sizing: border-box;
}

.stickers-sheet-intro {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--ned-gray-border);
}

.stickers-sheet-intro h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ned-dark);
  margin-bottom: 4px;
}

.stickers-sheet-intro p {
  font-size: 0.85rem;
  color: var(--ned-gray-text);
  margin: 0;
  text-align: center;
}

.stickers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .stickers-grid {
    grid-template-columns: 1fr;
  }
}

/* Tarjeta / Sticker Individual */
.pos-sticker-card {
  border: 2px dashed #64748b;
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  page-break-inside: avoid;
}

/* Guía de tijera para recortar */
.pos-sticker-card::after {
  content: "✂ Recortar";
  position: absolute;
  top: -11px;
  right: 14px;
  background: #ffffff;
  padding: 0 6px;
  font-family: "Nunito", sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}

.sticker-header-strip {
  background: var(--ned-dark);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sticker-header-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.sticker-header-badge {
  background: var(--ned-yellow);
  color: var(--ned-dark);
  font-family: "Outfit", sans-serif;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.sticker-merchant-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ned-magenta-dark);
  margin-bottom: 6px;
  display: block;
}

.sticker-content-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sticker-legal-text {
  flex: 1;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #1e293b;
  text-align: justify;
}

.sticker-legal-text strong {
  font-weight: 800;
  color: var(--ned-dark);
}

.sticker-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px;
  background: #fafafa;
  min-width: 65px;
}

.sticker-qr-canvas {
  width: 55px;
  height: 55px;
  display: block;
}

.sticker-qr-wrapper span {
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--ned-dark);
  margin-top: 2px;
}

.sticker-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 600;
}

/* ==========================================================================
   FORMATO 3: Kit Completo Punto de Venta (1 Hoja Carta Mixta)
   ========================================================================== */

.kit-sheet {
  background: #ffffff;
  border-radius: 12px;
  border: 2px solid #2b2d42;
  padding: 1.5rem 1.8rem;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
}

.kit-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 1.5rem 0;
  border-top: 2px dashed #94a3b8;
  position: relative;
}

.kit-divider-tag {
  background: #ffffff;
  padding: 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-top: -10px;
}

.kit-stickers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 600px) {
  .kit-stickers-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Guía Legal & Preguntas Frecuentes para el Comerciante
   ========================================================================== */

.merchant-guide {
  background: #ffffff;
  border-radius: var(--ned-radius-card);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--ned-shadow-sm);
  border: 1px solid var(--ned-gray-border);
  margin-top: 2rem;
}

.guide-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ned-dark);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

.guide-card {
  background: var(--ned-gray-bg);
  border: 1px solid var(--ned-gray-border);
  border-radius: 14px;
  padding: 1.3rem;
}

.guide-card h4 {
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ned-magenta-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-card p {
  font-size: 0.83rem;
  line-height: 1.45;
  color: #475569;
  text-align: left;
}

/* Toast de Notificación */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ned-dark);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-notice .toast-icon {
  color: var(--ned-yellow);
  font-size: 1.1rem;
}

/* ==========================================================================
   ESTILOS DE IMPRESIÓN EXCLUSIVOS (@media print)
   Generación perfecta de PDF y salida a impresora física
   ========================================================================== */

@media print {
  @page {
    size: letter portrait;
    margin: 8mm 10mm;
  }

  /* Reset del navegador */
  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Ocultar elementos de interfaz web */
  #header-placeholder,
  #footer-placeholder,
  .aviso-hero,
  .editor-card,
  .action-toolbar,
  .preview-header-meta,
  .acrylic-stand-mockup::before,
  .acrylic-stand-mockup::after,
  .merchant-guide,
  .toast-notice,
  .no-print {
    display: none !important;
    visibility: hidden !important;
  }

  /* Contenedores sin paddings web */
  .aviso-page-main {
    padding: 0 !important;
    background: none !important;
    min-height: auto !important;
  }

  .aviso-container,
  .preview-wrapper,
  .acrylic-stand-mockup {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  /* Mostrar solo el formato activo */
  .tab-pane {
    display: none !important;
  }

  .tab-pane.active {
    display: block !important;
  }

  /* Hablador en Impresión */
  .hablador-sheet {
    box-shadow: none !important;
    border: 2px solid #000000 !important;
    border-radius: 6px !important;
    padding: 16mm 18mm !important;
    page-break-inside: avoid !important;
    page-break-after: avoid !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hablador-sheet::before {
    height: 6px !important;
  }

  .hablador-title-banner {
    background: #f1f5f9 !important;
    border: 1.5px solid #000000 !important;
  }

  .hablador-merchant-intro {
    background: #f8fafc !important;
    border-left: 4px solid #c4227d !important;
  }

  .display-biz-name {
    background: #ffe700 !important;
    color: #000000 !important;
  }

  .legal-section-block {
    border-bottom: 1px dashed #94a3b8 !important;
    padding-bottom: 3mm !important;
  }

  .hablador-qr-box {
    border: 1.5px solid #000000 !important;
  }

  /* Stickers en Impresión */
  .stickers-sheet {
    max-width: 100% !important;
    padding: 0 !important;
    border: none !important;
  }

  .stickers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8mm !important;
  }

  .pos-sticker-card {
    border: 1.5px dashed #475569 !important;
    padding: 4mm 5mm !important;
    page-break-inside: avoid !important;
  }

  .sticker-header-strip {
    background: #2b2d42 !important;
    color: #ffffff !important;
  }

  .sticker-header-badge {
    background: #ffe700 !important;
    color: #000000 !important;
  }

  /* Kit Mixto en Impresión */
  .kit-sheet {
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}
