 body { font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent; }
      
      /* Ocultar Scrollbars */
      .hide-scroll::-webkit-scrollbar { display: none; }
      .hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

      /* Slider Snap */
      .slider-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
      }
      .slider-item {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        scroll-snap-align: center;
        position: relative;
      }
      .media-cover { width: 100%; height: 100%; object-fit: cover; }
      .media-contain { width: 100%; height: 100%; object-fit: contain; background: #f9fafb; }

      /* Animaciones */
      @keyframes flashPrice { 0% { transform:scale(1.06); color:#059669; } 100% { transform:scale(1);} }
      .price-flash { animation: flashPrice .4s ease-out; }

      /* Estilo para la barra de scroll visible y elegante */
.custom-scroll::-webkit-scrollbar {
    width: 6px; /* Grosor de la barra vertical */
}

.custom-scroll::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color del fondo del carril */
    border-radius: 10px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1; /* Color de la barra que se mueve */
    border-radius: 10px;
    transition: background 0.3s;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #10b981; /* Color primario (verde) al pasar el mouse */
}

/* Asegurar que el contenedor tenga el scroll activo */
.custom-scroll {
    scrollbar-width: thin; /* Para Firefox */
    scrollbar-color: #c1c1c1 #f1f1f1; /* Para Firefox */
}

      /* Badges Pill Style */
      .badge-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4px 10px;
        border-radius: 9999px;
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        line-height: 1;
        white-space: nowrap;
      }
      
      /* Badge Aesthetic (Modal) */
      .badge-aesthetic {
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        border: 1px solid transparent;
        padding: 5px 12px;
        font-size: 0.7rem;
      }

      /* Badge Mini (Card) */
      .badge-mini {
        font-size: 0.55rem;
        padding: 3px 6px;
        line-height: 1;
        border-radius: 4px;
        font-weight: 800;
        letter-spacing: 0.5px;
      }

      /* Tags Seleccionables */
      .tag-selectable {
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid transparent;
      }
      .tag-selectable:hover { transform: translateY(-1px); }
      .tag-selectable.active {
        background-color: #111827; 
        color: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      }
      
      /* Estilos para Selección de Decoración */
      .deco-card {
        cursor: pointer;
        transition: all 0.2s;
        border: 2px solid transparent;
      }
      .deco-card:hover { transform: translateY(-2px); }
      .deco-card.selected {
        border-color: #10b981; /* Primary Green */
        background-color: #ecfdf5;
      }
      .deco-card.selected .check-icon { opacity: 1; transform: scale(1); }
      
      /* Transiciones Modal */
      .modal-enter { transform: translateX(100%); }
      .modal-exit { transform: translateX(100%); }
      
      /* Background Image Support CORREGIDO */
      body.has-bg-image::before{
        content:""; position: fixed; inset:0;
        background-image: var(--bg-img); 
        background-size: cover; background-position: center; background-repeat: no-repeat;
        z-index:-2;
      }
      body.has-bg-image::after{
        content:""; position: fixed; inset:0; z-index:-1;
        background-color: var(--bg-overlay);
      }
      
      /* Rich Text (Saltos de linea) */
      .rich-text { white-space: pre-line; }

      /* Inputs number clean */
      input[type=number]::-webkit-inner-spin-button, 
      input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

      /* ESTILOS GEMINI AGENT */
      .gemini-btn {
          position: relative;
          overflow: hidden;
      }
      .gemini-btn::after {
          content: '';
          position: absolute;
          top: -50%;
          left: -50%;
          width: 200%;
          height: 200%;
          background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
          transform: rotate(45deg);
          animation: shine 3s infinite;
      }
      @keyframes shine {
          0% { transform: translateX(-100%) rotate(45deg); }
          100% { transform: translateX(100%) rotate(45deg); }
      }
      .chat-bubble {
          max-width: 85%;
          padding: 10px 14px;
          border-radius: 12px;
          font-size: 0.85rem;
          line-height: 1.4;
          margin-bottom: 8px;
          position: relative;
      }
      .chat-bubble.bot {
          background: white;
          color: #374151;
          border: 1px solid #e5e7eb;
          border-bottom-left-radius: 2px;
      }
      .chat-bubble.user {
          color: white;
          align-self: flex-end;
          border-bottom-right-radius: 2px;
          margin-left: auto;
      }
      /* Loading dots */
      .typing-indicator span {
        display: inline-block;
        width: 4px;
        height: 4px;
        background-color: #ccc;
        border-radius: 50%;
        animation: typing 1s infinite;
        margin: 0 1px;
      }
      .typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
      .typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
      @keyframes typing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

      /* ── Categorías por imagen ── */
      #category-images-strip { scrollbar-width: none; }
      #category-images-strip::-webkit-scrollbar { display: none; }
      .cat-img-card {
        display: flex; flex-direction: column; align-items: center; gap: 5px;
        border: 2px solid transparent; border-radius: 14px; padding: 6px 10px;
        background: #fff; cursor: pointer; flex-shrink: 0;
        transition: border-color 0.15s, transform 0.1s;
        min-width: 72px; max-width: 90px;
      }
      .cat-img-card:hover { border-color: #d1fae5; transform: translateY(-1px); }
      .cat-img-card.active { border-color: #10b981; background: #f0fdf4; }
      .cat-img-thumb {
        width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
        background: #f3f4f6; display: flex; align-items: center; justify-content: center;
      }
      .cat-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
      .cat-img-card span {
        font-size: 0.65rem; font-weight: 700; text-align: center;
        color: #374151; line-height: 1.2; max-width: 80px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      }
      .cat-img-card.active span { color: #065f46; }
