* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

/* ====================== HEADER ====================== */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: #E30613;
    text-decoration: none;
}

.logo span {
    color: #111111;
}

/* Menu */
.menu {
    display: flex;
    gap: 2.8rem;
    list-style: none;
}

.menu a {
    color: #222222;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #E30613;
}
    nav a {
      color: #fff;
      margin-left: 20px;
      text-decoration: none;
      font-weight: 500;
    }

    .container {
      max-width: 1200px;
      margin: 60px auto;
      padding: 0 20px;
    }

    .products {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }

    .product {
      background: #fff;
      border-radius: 12px;
      padding: 25px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
      transition: transform 0.3s;
    }

    .product:hover {
      transform: translateY(-5px);
    }

    .product img {
      width: 100%;
      height: 240px;
      object-fit: contain;
      margin-bottom: 20px;
    }

    .product h2 {
      font-size: 20px;
      margin-bottom: 10px;
    }

    .product p {
      font-size: 14px;
      color: #555;
      margin-bottom: 15px;
    }

    .price {
      font-size: 22px;
      font-weight: 700;
      color: #16a34a;
      margin-bottom: 20px;
    }

    .btn {
      background: #cb0000;
      color: #fff;
      border: none;
      padding: 14px;
      width: 100%;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
    }

    .btn:hover {
      background: #15803d;
    }

    

    .cart {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -3px 0 8px rgba(0,0,0,0.2);
  padding: 20px;
  transition: right .3s ease;
  z-index: 999;
  overflow-y: auto;
}

.cart.open {
  right: 0;
}

.cart-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #bd0707;
  color: #fff;
  font-size: 24px;
  border: none;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
}

.cart .fechar {
  background: rgb(186, 0, 0);
  margin-top: 10px;
  width: 100%;
}


.cart .finalizar {
   background: rgb(186, 0, 0);
  margin-top: 10px;
  width: 100%;
}

.cart-total {
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}


.remove-btn {
  background: red;
  border: none;
  color: white;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 6px;
}
    .container {
      max-width: 900px;
      margin: 40px auto;
      background: #fff;
      padding: 20px;
      border-radius: 10px;
    }

    .produto {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
    }

    .produto img {
      width: 300px;
      border-radius: 10px;
    }

    .info {
      flex: 1;
    }

    h1 {
      margin-top: 0;
    }

    .preco {
      color: green;
      font-size: 24px;
      margin: 10px 0;
    }

    .btn {
      background: red;
      color: white;
      border: none;
      padding: 15px;
      border-radius: 8px;
      cursor: pointer;
      width: 200px;
      font-size: 16px;
    }

    .btn:hover {
      background: darkred;
    }