/*!*****************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/style.css ***!
  \*****************************************************************/
/* Variables CSS modernas para el chat */
:root {
  /* Colores principales */
  --primary: hsl(0, 83%, 53%);
  --primary-foreground: hsl(210, 40%, 98%);
  
  /* Colores de fondo */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222.2, 84%, 4.9%);
  
  /* Colores de elementos */
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);
  
  /* Bordes */
  --border: hsl(214.3, 31.8%, 91.4%);
  --input: hsl(214.3, 31.8%, 91.4%);
  
  /* Acentos */
  --accent: hsl(210, 40%, 96%);
  --accent-foreground: hsl(222.2, 84%, 4.9%);
  
  /* Focus ring */
  --ring: hsl(221.2, 83.2%, 53.3%);
  
  /* Radius */
  --radius: 0.5rem;
}

/* Reset básico */
* {
  box-sizing: border-box;
}

/* Clases utilitarias */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.bottom-4 { bottom: 1rem; }
.right-4 { right: 1rem; }
.right-3 { right: 0.75rem; }
.top-3 { top: 0.75rem; }
.z-50 { z-index: 50; }
.flex { display: flex; }
.block { display: block; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-row-reverse { flex-direction: row-reverse; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.max-h-full { max-height: 100%; }
.max-w-full { max-width: 100%; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.max-w-\[80\%\] { max-width: 80%; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.pr-12 { padding-right: 3rem; }
.pt-0 { padding-top: 0; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: var(--radius); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.transition-colors { transition: color 150ms ease-in-out, background-color 150ms ease-in-out, border-color 150ms ease-in-out; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.resize-none { resize: none; }
.cursor-pointer { cursor: pointer; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:pointer-events-none:disabled { pointer-events: none; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }
.focus-visible\:outline-none:focus-visible { outline: 2px solid transparent; outline-offset: 2px; }
.focus-visible\:ring-2:focus-visible { box-shadow: 0 0 0 2px var(--ring); }
.focus-visible\:ring-0:focus-visible { box-shadow: none; }
.focus-within\:ring-1:focus-within { box-shadow: 0 0 0 1px var(--ring); }
.hover\:bg-primary\/90:hover { background-color: hsl(from var(--primary) h s l / 0.9); }
.inline-flex { display: inline-flex; }
.min-h-12 { min-height: 3rem; }
.h-9 { height: 2.25rem; }
.h-10 { width: 2.5rem; height: 2.5rem; }
.w-10 { width: 2.5rem; }
.size-3\.5 { width: 0.875rem; height: 0.875rem; }
.size-4 { width: 1rem; height: 1rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }
.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1 1 0%; }

/* Colores */
.bg-primary { background-color: var(--primary); }
.bg-background { background-color: var(--background); }
.bg-muted { background-color: var(--muted); }
.bg-muted\/50 { background-color: hsl(from var(--muted) h s l / 0.5); }
.bg-current { background-color: currentColor; }
.bg-accent { background-color: var(--accent); }
.bg-transparent { background-color: transparent; }
.text-primary-foreground { color: var(--primary-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-accent-foreground { color: var(--accent-foreground); }
.text-foreground { color: var(--foreground); }
.border-input { border-color: var(--input); }
.border-b { border-color: var(--border); }
.border-t { border-color: var(--border); }
.hover\:bg-accent:hover { background-color: var(--accent); }
.hover\:bg-muted:hover { background-color: var(--muted); }
.hover\:text-accent-foreground:hover { color: var(--accent-foreground); }
.hover\:text-foreground:hover { color: var(--foreground); }

/* Animaciones */
.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8,0,1,1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0,0,0.2,1);
  }
}

/* Tamaños específicos del chat */
.w-80 { width: 20rem; }
.h-96 { height: 24rem; }
.w-96 { width: 24rem; }
.h-\[500px\] { height: 500px; }
.w-\[400px\] { width: 400px; }
.h-\[600px\] { height: 600px; }
.w-\[480px\] { width: 480px; }
.h-\[650px\] { height: 650px; }

/* Placeholder */
.placeholder\:text-muted-foreground::placeholder {
  color: var(--muted-foreground);
}

/* Clases adicionales para botones y transiciones */
.border-0 { border-width: 0; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-none { box-shadow: none; }
.transition-all { transition: all 150ms ease-in-out; }
.duration-200 { transition-duration: 200ms; }
.justify-end { justify-content: flex-end; }

/* Mejorar hover effects para botones */
.hover\:shadow-md:hover { 
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  transform: translateY(-1px);
}

/* Clases adicionales para el botón de refresh */
.flex-row { flex-direction: row; }
.text-left { text-align: left; }
.justify-between { justify-content: space-between; }

/* Asegurar visibilidad del botón */
.h-4 { height: 1rem; }
.w-4 { height: 1rem; width: 1rem; }
.bg-muted { background-color: var(--muted); }
.hover\:bg-accent:hover { background-color: var(--accent); }

/* Clases para renderizado de HTML */
.whitespace-pre-wrap { white-space: pre-wrap; }

/* Clases adicionales para el layout de mensajes */
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.font-medium { font-weight: 500; }
.max-w-\[95\%\] { max-width: 95%; }
.max-w-\[80\%\] { max-width: 80%; }
.md\:max-w-\[80\%\] { max-width: 80%; }
  
/* CUSTOM */

/* Tarjeta producto IA - layout catálogo vertical */
.ai-results .ai-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  padding: 0.85rem;
  margin: 0 0 0.85rem 0;

  border: 1px solid hsl(from var(--primary) h s l / 0.28);
  border-radius: 1rem;

  background:
    linear-gradient(180deg, #fff, hsl(from var(--muted) h s l / 0.35));

  box-shadow:
    0 10px 24px rgb(15 23 42 / 0.08),
    0 2px 6px rgb(15 23 42 / 0.04);

  white-space: normal;
  overflow: hidden;
}

/* Imagen protagonista */
.ai-results .ai-product-card > img {
  order: 1;

  width: 100% !important;
  height: 150px !important;
  max-width: none !important;
  max-height: none !important;

  object-fit: contain !important;

  margin: 0 !important;
  padding: 0.75rem !important;

  border-radius: 0.9rem;
  border: 1px solid hsl(from var(--border) h s l / 0.8);
  background: #fff;
}

/* Título debajo de imagen */
.ai-results .ai-product-card > h2 {
  order: 2;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;

  letter-spacing: normal !important;
  text-transform: none !important;

  color: var(--foreground) !important;
  background: transparent !important;
  border: 0 !important;
}

/* Enlace del título */
.ai-results .ai-product-card > h2 > a {
  display: inline !important;

  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;

  color: var(--primary) !important;
  text-decoration: none !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.ai-results .ai-product-card > h2 > a:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Descripción */
.ai-results .ai-product-card > p {
  order: 3;

  margin: 0 !important;
  padding: 0 !important;

  font-size: 0.8rem !important;
  line-height: 1.45 !important;
  color: var(--muted-foreground) !important;

  white-space: normal !important;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Evita que whitespace-pre-wrap afecte a las tarjetas */
.ai-results.whitespace-pre-wrap,
.ai-results .ai-product-card,
.ai-results .ai-product-card * {
  white-space: normal;
}