
    .brands-tabs {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
    }
    .brands-tabs .container {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 16px;
    }
    .brand-tablist {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 24px;
      margin: 0;
      padding: 10px 0;
    }
    .brand-tab {
      position: relative;
      font-weight: 600;
      color: #1f2937;
      cursor: default;
    }
    .brand-trigger {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 6px;
      text-decoration: none;
      color: inherit;
    }
    .brand-trigger .caret {
      border: solid currentColor;
      border-width: 0 2px 2px 0;
      display: inline-block;
      padding: 3px;
      transform: rotate(45deg);
      margin-top: -2px;
    }
    .brand-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 240px;
      background: #ffffff;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      box-shadow: 0 10px 20px rgba(0,0,0,.08);
      padding: 8px;
      z-index: 50; 
    }
    .brand-models {
      display: grid;
      grid-template-columns: 1fr;
      gap: 4px;
      padding: 4px;
    }
    .brand-models a {
      display: block;
      padding: 8px 10px;
      border-radius: 6px;
      color: #111827;
      text-decoration: none;
      font-weight: 500;
    }
    .brand-models a:hover,
    .brand-models a:focus {
      background: #0d6efd;
      color: #ffffff;
    }
    
    /* Default state: hidden (will be controlled by JS for mobile and CSS for desktop hover) */
    .brand-tab .brand-dropdown {
      display: none;
    }
    /* Desktop hover logic: show dropdown (higher specificity to override default 'display: none') */
    .brand-tab:hover .brand-dropdown,
    .brand-tab:focus-within .brand-dropdown {
      display: block !important;
    }
    /* Ensure touch devices rely on JS, not hover */
    @media (hover: none) {
      .brand-tab .brand-dropdown {
        display: none !important;
      }
    }
    
    /* Media Query for smaller screens */
    @media (max-width: 768px) {
      .brand-tablist {
        gap: 10px;
        padding: 6px 0;
      }
      .brands-tabs .container {
        padding: 0 8px;
      }
      .brand-tab {
        font-size: 13px;
        white-space: nowrap;
      }
      .brand-trigger {
        padding: 8px 6px;
        gap: 4px;
      }
      .brand-trigger .caret {
        padding: 2px;
        border-width: 0 1.5px 1.5px 0;
      }
    }
    
    /* Utility classes removed from the original HTML */
    brand-section { margin-bottom: 28px; }
    .brand-section h2 { font-weight: 800; margin-bottom: 8px; }
    .brand-hint { color: #6b7280; margin-bottom: 6px; }
    .wrap { max-width: 960px; margin: 40px auto; padding: 24px; }
    a.back { color:#374151; text-decoration:none; }
    a.back:hover { text-decoration:underline; color:#111827; }
 