:root {
  --roxo-principal:#061028;
  --roxo-escuro: #061029;
  --roxo-claro: #9370db;
  --branco: #ffffff;
  --cinza-claro: #f5f5f5;
  --cinza-escuro: #333;
}

body {
  background-color: var(--cinza-claro);
  color: var(--cinza-escuro);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--roxo-principal);
}

.header-table td {
  vertical-align: middle;
  padding: 15px 0;
}

.logo {
  font-size: 4.0rem;
  font-weight: bold;
  color: var(--branco);
  text-decoration: none;
  padding-left: 60px;
  font-family: "Oi", serif;
  font-weight: 400;
  font-style: normal;
}

.logo span {
  font-weight: normal;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.nav-table {
  width: 100%;
  border-collapse: collapse;
}

.nav-item {
  padding: 0 15px;
  text-align: center;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  left: 1500px;
}

.nav-item a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: block;
  padding: 10px 0;

}

.nav-item a:hover {
  color: var(--roxo-claro);
}

.active {
  font-weight: bold;
  text-decoration: underline;
}

.search-bar {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.search-bar input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  width: 200px;
  transition: width 0.3s;
}

.search-bar input:focus {
  width: 250px;
  border-color: var(--roxo-claro);
}

.search-bar button {
  background: none;
  border: none;
  margin-left: -35px;
  cursor: pointer;
  color: var(--roxo-principal);
}

main.container {
  flex: 1;
  padding: 20px;
}

.section {
  background: var(--branco);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.section-title, .redes {
  color: var(--roxo-escuro);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--cinza-claro);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--roxo-principal);
  color: var(--branco);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--roxo-escuro);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-table td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.image-cell {
  text-align: center;
  background-color: #f5f5f5;
  color: #666;
  height: 150px;
  vertical-align: middle;
}

.simple-form-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
        
.simple-form-table td {
  padding: 8px 0;
  vertical-align: top;
}
        
.simple-form-table input,
.simple-form-table textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
        
.simple-form-table textarea {
  min-height: 120px;
}
        
.submit-cell {
  padding-top: 15px;
  text-align: center;
}

footer {
  background-color: var(--roxo-escuro);
  color: var(--branco);
  padding: 1.5rem 0;
  text-align: center;
}

.copyright {
  font-size: 0.9rem;
  margin-top: 15px;
}




@media (max-width: 768px) {
  .header-table, .header-table tr, .header-table td {
    display: block;
    width: 100%;
  }
  
  .nav-table, .nav-table tr, .nav-table td {
    display: block;
    width: 100%;
  }
  
  .nav-item {
    padding: 10px 0;
  }
  
  .search-bar {
    margin: 10px 0;
  }
  
  .search-bar input {
    width: 100%;
  }
  
  .search-bar input:focus {
    width: 100%;
  }
}

.header {
  background-color: var(--roxo-principal);
  padding:0;
}

.header-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-menu9 {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  left: 1600px;
}
.nav-menu a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--roxo-claro);
}
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-bar {
    width: 100%;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-around;
  }
}




.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--branco);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.2rem;
  color: var(--roxo-principal);
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-align: left;
}

.product-card ul li {
  margin: 4px 0;
}

.product-card .btn {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  background-color: var(--roxo-principal);
  color: var(--branco);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card .btn:hover {
  background-color: var(--roxo-claro);
}


@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #4CAF50; 
  margin: 10px 0;
}




















.nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.nav a.active {
  border-bottom: 2px solid #00ffcc;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

/* CARRINHO GRID */
.cart-grid {
  display: grid;
  gap: 1rem;
}

/* ITEM DO CARRINHO */
.cart-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cart-item img {
  width: 120px;
  height: auto;
  margin-right: 1rem;
  border-radius: 4px;
}

.cart-details {
  flex: 1;
}

.cart-details h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-details p {
  margin: 0.2rem 0;
  color: #555;
}

.price {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: green;
}

/* AÇÕES */
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-actions input {
  width: 60px;
  padding: 0.3rem;
  text-align: center;
}

.remove-btn {
  background: #ff4d4d;
  border: none;
  padding: 0.5rem;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.remove-btn:hover {
  background: #e60000;
}

/* TOTAL */
.cart-total {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

/* CHECKOUT */
.cart-checkout {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.checkout-btn {
  background: #0a1a3c;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.checkout-btn:hover {
  background: #00ffcc;
  color: #000;
}

/* FOOTER */
.footer {
  background: #0a1a3c;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}





.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #e0e0e0;
}

.form-group input {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #888;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

/* Opções do formulário usando Flexbox */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #e0e0e0;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #666;
}

.forgot-password {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #fff;
}

/* Botão de login */
.login-btn {
    background: linear-gradient(45deg, #4a5568, #2d3748);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #2d3748, #4a5568);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

/* Link de cadastro */
.signup-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-link p {
    color: #b0b0b0;
    font-size: 14px;
}

.signup-link a {
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    color: #fff;
}