@import url("design-tokens.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--gradient-page);
  }
  
  /* Header Styles */
  .header {
    background: var(--gradient-header-main);
    padding: 15px 0;
    border-bottom: 1px solid var(--color-header-border);
  }
  
  .header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--layout-header-inline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
  }
  
  .logo {
    width: min(200px, 42vw);
    max-width: 100%;
    flex-shrink: 0;
  }

  .logo img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .search-bar {
    flex: 1;
    min-width: 0;
    max-width: 600px;
    display: flex;
    position: relative; /* necesario para posicionar el dropdown */
  }
  
  /* === Resultados desplegables === */
  .search-results {
    position: absolute;
    top: 100%; /* justo debajo del input */
    left: 0;
    width: 100%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    max-height: 350px;
    overflow-y: auto;
    z-index: 9999;
    margin-top: 5px;
    display: none;
    animation: fadeIn 0.2s ease-in-out;
  }
  
  /* Animación suave al aparecer */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Cada ítem de resultado */
  .result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .result-item:hover {
    background: var(--color-search-row-hover);
  }
  
  /* Imagen del producto */
  .result-item img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background-color: #fafafa;
  }
  
  /* Información del producto */
  .result-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
  }
  
  .result-info strong {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 600;
  }
  
  .result-info span {
    font-size: 13px;
    color: var(--color-text-muted);
  }
  
  /* Scrollbar más discreta */
  .search-results::-webkit-scrollbar {
    width: 6px;
  }
  
  .search-results::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }
  
  
  .search-bar input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--color-border);
    font-size: 14px;
  }
  
  .search-bar button {
  background: var(--gradient-search-tech);
  color: var(--color-header-on-dark);
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  border-radius: 0 999px 999px 0;
  box-shadow: var(--shadow-search-glow);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
  }
  .search-bar button:hover {
  filter: brightness(1.08);
  box-shadow: var(--shadow-search-glow-hover);
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  .contact-info {
    text-align: right;
  }
  
  .phone {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
  }
  
  .email {
    font-size: 12px;
    color: var(--color-interactive);
    text-decoration: none;
  }
  
  .account-link {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--color-interactive);
  }
  
  .cart-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 18px;
  }
  
  /* Navigation Bar */
  .navbar {
      background: var(--gradient-nav);
      display: flex;
      align-items: center;
      padding: 0 var(--layout-navbar-inline);
      position: relative;
      justify-content: center;
      flex-wrap: wrap;
      row-gap: 0.25rem;
      column-gap: clamp(0.2rem, 1.2vw, 1rem);
  }
  
  .nav-item {
      position: relative;
      color: white;
      padding: 15px 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      text-transform: uppercase;
      border: none;
      background: none;
      margin-left: 0;
  }
  
  .navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  
  
  .nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
  }
  
  .nav-item.promotions {
    background: var(--color-promo);
    border-radius: var(--radius-sm);
  }
  
  .nav-item.promotions:hover {
    background: var(--color-promo-hover);
  }
  
  .member-price {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 12px;
  }
  
  .member-price .star {
    color: var(--color-member-star);
  }
  
  .inactive-badge {
    background: var(--color-danger);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
  }
  
  /* Improved dropdown menu styles with better organization and collapsible categories */
  .dropdown {
    position: static; /* 🔥 clave */
  }
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* empieza un poco abajo */
    width: min(1200px, calc(100vw - 24px));
    max-width: 100%;
    max-height: 600px;
    overflow-y: auto;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 30px;
    border-radius: 0 0 8px 8px;
  
    /* 🔥 IMPORTANTE */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  
    transition: all 0.25s ease;
  }
  
  /* estado visible */
  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  
  .dropdown-content h3 {
    color: var(--color-interactive-hover);
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-interactive-hover);
  }
  
  /* Category list styles */
  .category-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .category-item {
    background: var(--color-category-surface);
    border-radius: 8px;
    overflow: visible;
    transition: all 0.3s ease;
    border: 1px solid var(--color-category-border);
    position: relative;
    z-index: 1; /* Added z-index for proper layering */
  }
  
  /* Increase z-index when category is active to appear above others */
  .category-item.active {
    z-index: 200;
  }
  
  .category-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .category-item > span {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-interactive-hover);
    background: var(--gradient-category-tab);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px; /* Added border radius to match container */
  }
  
  .category-item > span::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.3s ease;
    color: var(--color-interactive-hover); /* Added color for better visibility */
  }
  
  /* Change background when active */
  .category-item.active > span {
    background: var(--gradient-interactive-deep);
    color: white;
    border-radius: 8px 8px 0 0;
  }
  
  .category-item.active > span::after {
    transform: translateY(-50%) rotate(180deg);
    color: white; /* White arrow when active */
  }
  
  .category-item > span:hover {
    background: linear-gradient(135deg, #e8eef3 0%, #d8e3ed 100%);
    padding-left: 25px;
  }
  
  /* Override hover when active */
  .category-item.active > span:hover {
    background: var(--gradient-interactive-deep);
    padding-left: 20px;
  }
  
  /* Subcategory list styles */
  .subcategory-list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    background: white;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 250; /* Increased z-index to appear above everything */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); /* Enhanced shadow for better depth */
    border-radius: 0 0 8px 8px;
    opacity: 0;
    pointer-events: none;
    border: 2px solid var(--color-interactive-hover); /* Better border styling */
    border-top: none;
  }
  
  .category-item.active .subcategory-list {
    max-height: 600px;
    padding: 10px 0; /* Added padding for better spacing */
    opacity: 1;
    pointer-events: auto;
    margin-top: 0;
  }
  
  .subcategory-list li {
    padding: 12px 25px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    background: white;
    position: relative;
  }
  
  /* Added icon before each subcategory item */
  .subcategory-list li::before {
    content: "›";
    position: absolute;
    left: 12px;
    color: var(--color-interactive-hover);
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .subcategory-list li:hover::before {
    opacity: 1;
  }
  
  .subcategory-list li:hover {
    background: linear-gradient(90deg, #f0f7ff 0%, #ffffff 100%); /* Enhanced hover effect with gradient */
    color: var(--color-interactive-hover);
    padding-left: 30px;
    border-left-color: var(--color-interactive-hover);
    font-weight: 500;
  }
  
  .subcategory-list li:first-child {
    padding-top: 15px;
  }
  
  .subcategory-list li:last-child {
    padding-bottom: 15px;
    border-radius: 0 0 6px 6px;
  }
  
  /* Brands dropdown */
  .brand-link
  .brand-link {
    font-size: 12.5px;
    color: #444;
    cursor: pointer; /* 🔥 CLAVE */
    display: inline-block;
    padding: 3px 0;
    transition: all 0.2s ease;
  }
  
  /* HOVER */
  .brand-link:hover {
    color: var(--color-interactive-hover);
    padding-left: 6px;
  }
  
  /* EFECTO MÁS PRO */
  .brand-link::after {
    content: "";
    display: block;
    width: 0%;
    height: 1px;
    background: var(--color-interactive-hover);
    transition: width 0.2s ease;
  }
  
  .brand-link:hover::after {
    width: 100%;
  } 
  
  .brands-dropdown
  .brands-dropdown {
    width: min(950px, calc(100vw - 24px));
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    padding: 15px 20px;
  }

  .brands-dropdown .dropdown-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(9rem, 100%), 1fr));
  }
  
  /* LOGOS más compactos */
  .brand-logos {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }
  
  .brand-logo {
    height: 40px;
    padding: 5px 10px;
    border-radius: 6px;
  }
  
  /* GRID más compacto */
  .dropdown-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
  }
  
  /* LETRAS */
  .letter-title {
    font-size: 12px;
    margin-bottom: 5px;
    padding-bottom: 3px;
  }
  
  /* LISTA */
  .dropdown-column li {
    margin: 2px 0;
  }
  
  /* TEXTO */
  .brand-link {
    font-size: 12.5px;
    line-height: 1.2;
  } 
  
  /* Main Content */
  .main-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 var(--layout-header-inline);
  }
  
  .login-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .tabs {
    display: flex;
    border-bottom: 2px solid var(--color-category-border);
  }
  
  .tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-muted);
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
  }
  
  .tab:hover {
    background: #e8e8e8;
  }
  
  .tab.active {
    background: white;
    color: var(--color-interactive);
    border-bottom: 3px solid var(--color-interactive);
  }
  
  .form-content {
    padding: 40px;
  }
  
  .form-section {
    display: none;
  }
  
  .form-section.active {
    display: block;
  }
  
  .form-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--color-text);
  }
  
  .form-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
    font-size: 14px;
  }
  
  .form-group label .required {
    color: var(--color-price);
  }
  
  .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus {
    outline: none;
    border-color: var(--color-interactive);
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--color-interactive);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
  }
  
  .submit-btn:hover {
    background: var(--color-interactive-hover);
  }
  
  .forgot-password {
    text-align: right;
    margin-top: 10px;
  }
  
  .forgot-password a {
    color: var(--color-interactive);
    text-decoration: none;
    font-size: 14px;
  }
  
  .forgot-password a:hover {
    text-decoration: underline;
  }
  
  .divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
  }
  
  .divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--color-category-border);
  }
  
  .divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: var(--color-text-muted);
    font-size: 14px;
  }
  
  .benefits {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
  }
  
  .benefits h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-text);
  }
  
  .benefits ul {
    list-style: none;
    padding-left: 0;
  }
  
  .benefits li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: var(--color-text-muted);
  }
  
  .benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0a7d3e;
    font-weight: bold;
    font-size: 16px;
  }
  
  /* Footer */
  .footer {
    background: white;
    padding: var(--layout-section-padding);
    border-top: 1px solid var(--color-border);
    margin-top: 60px;
  }
  
  .footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--layout-section-gap);
  }
  
  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--color-text);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-interactive);
  }
  
  .footer-column ul {
    list-style: none;
  }
  
  .footer-column ul li {
    margin-bottom: 10px;
  }
  
  .footer-column ul li a {
    color: var(--color-interactive);
    text-decoration: none;
    font-size: 14px;
  }
  
  .footer-column ul li a:hover {
    text-decoration: underline;
  }
  
  .footer-logo {
    margin-top: 20px;
  }
  
  .footer-logo img {
    max-width: 200px;
  }
  
  .company-info {
    margin-top: 15px;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.8;
  }
  
  /* Responsive — contenido (header/navbar móvil lo controla site-layout.css) */
  @media (max-width: 768px) {
    .search-bar {
      max-width: 100%;
    }
  
    .dropdown-content {
      min-width: 100%;
      max-width: 100%;
    }
  
    .category-list {
      grid-template-columns: 1fr;
    }
  
    .form-content {
      padding: 20px;
    }
  
    .form-row {
      grid-template-columns: 1fr;
    }
  
    .footer-container {
      grid-template-columns: 1fr;
    }

    .login-form-container,
    .form-container,
    .auth-card {
      margin-inline: 12px;
      max-width: 100%;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Scrollbar styling for dropdown */
  .dropdown-content::-webkit-scrollbar {
    width: 8px;
  }
  
  .dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
  }
  
  .dropdown-content::-webkit-scrollbar-thumb {
    background: var(--color-interactive-hover);
    border-radius: 4px;
  }
  
  .dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #003d7a;
  }
  
    .suggestions {
      position: absolute;
      background: white;
      border: 1px solid #ccc;
      width: 100%;
      max-height: 150px;
      overflow-y: auto;
      z-index: 1000;
      border-radius: 5px;
    }
  
    .suggestion-item {
      padding: 8px;
      cursor: pointer;
    }
  
    .suggestion-item:hover {
      background-color: #f0f0f0;
    }
  
  
    /* Contenedor general */
  .stylish-select label {
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 6px;
      display: block;
  }
  
  /* Select estilizado */
  .stylish-select select {
      width: 100%;
      padding: 12px 14px;
      font-size: 16px;
      border: 2px solid #d0d0d0;
      border-radius: 10px;
      background: #fff;
      outline: none;
      transition: all 0.25s ease;
      cursor: pointer;
      appearance: none; /* Oculta la flecha fea */
      background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23888' stroke-width='2' fill='none'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 14px center;
      background-size: 14px;
  }
  
  /* Efecto hover */
  .stylish-select select:hover {
      border-color: #8ab4f8;
  }
  
  /* Efecto Focus */
  .stylish-select select:focus {
      border-color: #4a90e2;
      box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25);
  }
  
  /* Opciones del select */
  .stylish-select select option {
      padding: 10px;
      font-size: 16px;
  }
  
  
  .cart-count {
    background: var(--color-promo);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1;
    transition: background 0.3s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
  }
  
  .cart-count:hover {
    background: var(--color-promo-hover);
    transform: translateY(-2px);
  }
  
  /* Fondo oscuro */
  .empresa-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
  }
  
  /* Caja del modal */
  .empresa-modal-content {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    animation: modalFade 0.25s ease;
  }
  
  @keyframes modalFade {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  .empresa-modal-content h3 {
    margin-bottom: 10px;
    color: var(--color-text);
  }
  
  .empresa-nombre {
    font-weight: 700;
    font-size: 18px;
    color: #1a73e8;
    margin: 12px 0;
  }
  
  .empresa-pregunta {
    margin: 15px 0 20px;
  }
  
  /* Botones */
  .empresa-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
  }
  
  .btn-primario {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .btn-primario:hover {
    background: #1558b0;
  }
  
  .btn-secundario {
    background: var(--color-category-border);
    color: var(--color-text);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .btn-secundario:hover {
    background: #cfcfcf;
  }
  
  input[readonly] {
      background-color: #f5f5f5;
      cursor: not-allowed;
  }
  
  select:disabled {
      background-color: #f5f5f5;
      cursor: not-allowed;
  }
  
  input[readonly], select:disabled {
      background-color: #f5f5f5;
      cursor: not-allowed;
      opacity: 0.8;
  }
  
  
 /* ================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 10px;
  background-color: #25D366;
  color: white;
  font-size: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite, pulse 2s infinite;
}

  
  .whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
  }

/* Tablas más legibles (jerarquía visual clara; excluye tablas de maquetación si usas .layout-table) */
table:not(.layout-table) {
  border-collapse: collapse;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table:not(.layout-table) caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding: 0.5rem 0;
  color: var(--color-text);
}
table:not(.layout-table) thead th {
  background: var(--gradient-table-header);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid var(--color-border-strong);
}
table:not(.layout-table) tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-text);
}

@media (max-width: 768px) {
  /* Mueve el botón de WhatsApp más arriba para dejar espacio al chat */
  .whatsapp-float {
    bottom: 150px !important; /* Ajusta este valor según cuánto espacio necesites */
  }

  /* Si el chat de Zoho también tiene una posición fija, 
     asegúrate de que el chat se quede abajo y WhatsApp arriba */
  #zoho-chat-id, /* Cambia esto por el selector real de tu chat */
  .zsalesiq { 
    bottom: 20px !important;
  }
}

/* Para pantallas muy pequeñas, ajusta el tamaño si es necesario */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 140px !important;
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}
table:not(.layout-table) tbody tr:nth-child(even) { background: var(--color-surface-muted); }
table:not(.layout-table) tbody tr:hover { background: var(--color-interactive-soft); }
table:not(.layout-table) tbody tr:last-child td { border-bottom: none; }
