 :root {
      --blue-dark: #003366;
      --blue-medium: #0066cc;
      --blue-light: #4da6ff;
      --yellow: #fff159;
      --white: #ffffff;
      --gray-light: #f5f5f5;
      --gray-medium: #e0e0e0;
      --gray-dark: #333333;
      --green: #00a650;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--gray-dark);
      background-color: var(--gray-light);
      line-height: 1.6;
    }
    
    /* WhatsApp Fixo */
    .whatsapp-float {
      position: fixed;
      width: 60px;
      height: 60px;
      text-decoration: none;
      bottom: 25px;
      right: 25px;
      background-color: #25d366;
      color: var(--white);
      border-radius: 50px;
      text-align: center;
      font-size: 30px;
      box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s;
      animation: pulse 2s infinite;
    }
    
    .whatsapp-float:hover {
      background-color: #128C7E;
      transform: scale(1.05);
      text-decoration: none;
      color: var(--white);
    }
    
    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
      }
      70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
      }
    }
    
    /* Header */
    .main-header {
      background-color: var(--blue-dark);
      padding: 10px 0;
    }
    
    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 15px;
    }
    
    .logo {
      color: var(--white);
      font-size: 1.8rem;
      font-weight: 700;
      text-decoration: none;
    }
    
    .logo span {
      color: var(--blue-light);
    }
    
    .user-actions a {
      color: var(--white);
      margin-left: 15px;
      text-decoration: none;
    }
    
    /* Barra de Busca */
    .search-container {
      display: flex;
      max-width: 600px;
      margin: 0 auto;
    }
    
    .search-input {
      flex: 1;
      padding: 12px 15px;
      border: none;
      border-radius: 4px 0 0 4px;
      font-size: 16px;
    }
    
    .search-btn {
      background-color: var(--gray-light);
      border: none;
      padding: 0 20px;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
    }
    
    /* Navegação */
    .main-nav {
      background-color: var(--blue-medium);
      padding: 10px 0;
    }
    
    .nav-links {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    
    .nav-links li {
      margin-right: 20px;
    }
    
    .nav-links a {
      color: var(--white);
      text-decoration: none;
      font-weight: 500;
    }
    
    .nav-links a:hover {
      text-decoration: underline;
    }
    
    /* Conteúdo Principal */
    .main-content {
      display: flex;
      max-width: 1200px;
      margin: 20px auto;
      gap: 20px;
    }
    
    /* Sidebar - Categorias */
    .sidebar {
      width: 250px;
      background: var(--white);
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .sidebar-title {
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 15px;
      color: var(--blue-dark);
      border-bottom: 2px solid var(--blue-light);
      padding-bottom: 5px;
    }
    
    .category-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .category-item {
      margin-bottom: 10px;
    }
    
    .category-link {
      display: flex;
      align-items: center;
      color: var(--gray-dark);
      text-decoration: none;
      padding: 8px 0;
      transition: all 0.3s;
      cursor: pointer;
    }
    
    .category-link:hover, .category-link.active {
      color: var(--blue-medium);
    }
    
    .category-link i {
      margin-right: 10px;
      width: 20px;
      text-align: center;
    }
    
    .category-count {
      margin-left: auto;
      background: var(--gray-light);
      color: var(--gray-dark);
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 0.8rem;
    }
    
    /* Produtos */
    .products-section {
      flex: 1;
    }
    
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    
    .section-title {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--blue-dark);
    }
    
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 25px;
    }
    
    .product-card {
      background: var(--white);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      cursor: pointer;
    }
    
    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }
    
    .product-image {
      height: 180px;
      background: var(--gray-light);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px;
    }
    
    .product-image img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    
    .product-info {
      padding: 15px;
    }
    
    .product-price {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin-bottom: 5px;
    }
    
    .product-installments {
      color: var(--green);
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
    
    .product-name {
      font-size: 0.95rem;
      margin-bottom: 10px;
      height: 50px;
      overflow: hidden;
    }
    
    .product-shipping {
      color: var(--green);
      font-size: 0.85rem;
      margin-bottom: 10px;
    }
    
    .product-btn {
      width: 100%;
      background: var(--blue-medium);
      color: var(--white);
      border: none;
      padding: 10px;
      border-radius: 4px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }
    
    .product-btn:hover {
      background: var(--blue-light);
    }
    
    /* Modal */
    .modal-content {
      border-radius: 8px;
      border: none;
    }
    
    .modal-header {
      background: var(--blue-dark);
      color: var(--white);
      border-bottom: none;
      padding: 20px;
    }
    
    .modal-title {
      font-weight: 700;
    }
    
    .btn-close {
      filter: invert(1);
    }
    
    .modal-body {
      padding: 30px;
    }
    
    .product-modal-content {
      display: flex;
      gap: 30px;
    }
    
    .modal-image {
      flex: 0 0 300px;
    }
    
    .modal-image img {
      width: 100%;
      max-height: 300px;
      object-fit: contain;
      padding-top: 50px;
    }
    
    .modal-details {
      flex: 1;
    }
    
    .modal-price {
      font-size: 2rem;
      font-weight: 700;
      color: var(--blue-dark);
      margin-bottom: 10px;
    }
    
    .modal-installments {
      color: var(--green);
      font-size: 1.1rem;
      margin-bottom: 20px;
    }
    
    .modal-description {
      margin-bottom: 20px;
      line-height: 1.6;
    }
    
    .features-list {
      list-style: none;
      padding: 0;
      margin-bottom: 25px;
    }
    
    .features-list li {
      margin-bottom: 8px;
      padding-left: 20px;
      position: relative;
    }
    
    .features-list li:before {
      content: "✓";
      color: var(--green);
      position: absolute;
      left: 0;
    }
    
    .modal-footer {
      border-top: 1px solid var(--gray-medium);
      padding: 20px 30px;
    }
    
    .btn-whatsapp {
      background: #25d366;
      color: var(--white);
      border: none;
      padding: 12px 25px;
      border-radius: 4px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s;
      text-decoration: none;
    }
    
    .btn-whatsapp:hover {
      background: #128C7E;
      color: var(--white);
    }
    
    /* Footer */
    .main-footer {
      background: var(--blue-dark);
      color: var(--white);
      padding: 40px 0 20px;
      margin-top: 40px;
    }
    
    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }
    
    .footer-logo {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 15px;
    }
    
    .footer-logo span {
      color: var(--blue-light);
    }
    
    .footer-links h4 {
      color: var(--blue-light);
      margin-bottom: 15px;
      font-size: 1.1rem;
    }
    
    .footer-links ul {
      list-style: none;
      padding: 0;
    }
    
    .footer-links li {
      margin-bottom: 8px;
    }
    
    .footer-links a {
      color: var(--gray-medium);
      text-decoration: none;
      transition: all 0.3s;
    }
    
    .footer-links a:hover {
      color: var(--blue-light);
    }
    
    .social-icons {
      display: flex;
      gap: 15px;
      margin-top: 15px;
    }
    
    .social-icons a {
      color: var(--white);
      font-size: 1.2rem;
      transition: all 0.3s;
    }
    
    .social-icons a:hover {
      color: var(--blue-light);
      transform: translateY(-3px);
    }
    
    .footer-bottom {
      text-align: center;
      margin-top: 30px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Responsividade */
    @media (max-width: 992px) {
      .main-content {
        flex-direction: column;
      }
      
      .sidebar {
        width: 100%;
      }
      
      .product-modal-content {
        flex-direction: column;
      }
      
      .modal-image {
        flex: none;
        text-align: center;
      }
    }
    
    @media (max-width: 768px) {
      .header-top {
        flex-direction: column;
        gap: 10px;
      }
      
      .user-actions {
        text-align: center;
      }
      
      .nav-links {
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
      }
      
      .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
      }
    }
    
    @media (max-width: 576px) {
      .products-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
    }

    /* Loading */
    .loading {
      text-align: center;
      padding: 20px;
      color: var(--blue-medium);
    }

    .no-products {
      text-align: center;
      padding: 40px;
      color: var(--gray-dark);
      grid-column: 1 / -1;
    }