  <style>
    * {
      box-sizing: border-box;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 10px auto;
    }

    /* FILTROS */
    .filtros {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-bottom: 30px;
    }

    .filtro-btn {
      border: none;
      padding: 10px 18px;
      border-radius: 20px;
      background: #FFF;
      color: #9096f2;
      cursor: pointer;
      font-weight: bold;
      transition: 0.2s;
      font-size: 20px;
    }

    .filtro-btn:hover {
      background: #f0f0ff;
    }

    .filtro-btn.ativo {
      background: #9096f2;
      color: #fff;
    }

    /* GRID DOS PRODUTOS */
    .grid-produtos {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 60px;
    }

    .produto-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      border: 2px solid #FFF;
      transition: transform 0.2s ease;
    }

    .produto-card:hover {
      background: #edefff;
      transform: translateY(-3px);
    }

    .produto-card img {
      width: 100%;
      height: 220px;
      object-fit: contain;
      background: #FFF;
      display: block;
    }

    .produto-info {
      padding: 15px;
    }

    .produto-info h3 {
      margin: 0 0 8px;
      font-size: 18px;
      color: #9096f2;
    }

    .produto-info p {
      margin: 0;
      color: #555;
      font-size: 14px;
    }

    /* MODAL */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(144,150,242,0.5);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      z-index: 999;
    }

    .modal-overlay.ativo {
      display: flex;
    }

    .modal {
      background: #fff;
      width: 100%;
      max-width: 950px;
      max-height: 90vh;
      overflow-y: auto;
      border-radius: 16px;
      position: relative;
      padding: 25px;
      text-align:left;
    }

    .modal-fechar {
      position: absolute;
      top: 12px;
      right: 15px;
      border: none;
      background: transparent;
      font-size: 28px;
      cursor: pointer;
      line-height: 1;
    }

    .modal-conteudo {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 30px;
      align-items: start;
    }

    .galeria-principal img {
      width: 100%;
      height: 420px;
      object-fit: contain;
      background: #fff;
      border-radius: 12px;
      display: block;
    }

    .miniaturas {
      display: flex;
      gap: 10px;
      margin-top: 12px;
      flex-wrap: wrap;
    }

    .miniaturas img {
      width: 75px;
      height: 75px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
      border: 2px solid transparent;
    }

    .miniaturas img.ativa {
      border-color: #dddefd;
    }

    .modal-detalhes h2 {
      margin-top: 0;
      margin-bottom: 10px;
    }

    .modal-categoria {
      display: inline-block;
      background: #dddefd;
      padding: 6px 12px;
      border-radius: 15px;
      font-size: 13px;
      margin-bottom: 18px;
    }

    .modal-descricao {
      line-height: 1.2;
      font-size:16px;
      color: #444;
      margin-bottom: 22px;
    }

    .lojas h4 {
      margin-bottom: 12px;
    }

    .lojas-lista {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .loja-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      background: #dddefd;
      color: #000;
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 14px;
      transition: 0.2s;
    }

    .loja-btn:hover {
      opacity: 0.9;
      background: #9096f2;
      color: #fff;
    }

    .loja-btn img {
      width: 18px;
      height: 18px;
      object-fit: contain;
      background: #fff;
      border-radius: 4px;
      padding: 2px;
    }

    .sem-produtos {
      text-align: center;
      padding: 30px;
      color: #666;
      display: none;
    }

    @media (max-width: 1000px) {
      .grid-produtos {
        grid-template-columns: repeat(3, 1fr);
      }

      .modal-conteudo {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 700px) {
      .grid-produtos {
        grid-template-columns: repeat(2, 1fr);
      }

      .produto-card img {
        height: 180px;
      }

      .galeria-principal img {
        height: 300px;
      }
    }

    @media (max-width: 480px) {
      .grid-produtos {
        grid-template-columns: 1fr;
      }
    }
  </style>