/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-family: 'Open Sans', sans-serif;
    background-color: #FFF9EE;
    color: #2E7D32;
    scroll-behavior: smooth;
  }
  
  body {
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Variáveis de cor */
  :root {
    --green: #2E7D32;
    --amber: #F9A825;
    --beige: #FFF9EE;
    --text-color: #2E7D32;
    --text-light: #555;
  }
  
  /* Header */
  .header {
    background: var(--beige);
    border-bottom: 2px solid var(--green);
    padding: 1rem 0;
  }
  
  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--green);
  }
  
  .nav-list {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    font-weight: 600;
  }
  
  .nav-list a {
    color: var(--green);
    text-decoration: none;
    position: relative;
  }
  
  .nav-list a:hover,
  .nav-list a:focus {
    color: var(--amber);
  }
  

  /* Header icons */
  .header-icons {
    display: flex;
    gap: 1rem;
    font-size: 1.4rem;
  }
  
  .icon {
    color: var(--green);
    text-decoration: none;
    cursor: pointer;
  }
  
  .icon:hover,
  .icon:focus {
    color: var(--amber);
  }
  
  /* Hero */
  .hero {
    background: var(--beige);
    padding: 2rem 0;
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--green);
  }
  
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .btn-primary {
    background: var(--green);
    color: var(--beige);
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Poppins', sans-serif;
  }
  
  .btn-primary:hover,
  .btn-primary:focus {
    background: var(--amber);
    color: var(--green);
  }
  
  /* Images hero */
  .hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    object-fit: cover;
  }
  
 
  
  /* Products grid */
  .products-grid {
    display: grid;
    gap: 1.5rem;
  }
  
  /* Responsividade da grade de produtos: */
  /* 1 col < 550px */
  /* 2 cols entre 550px e 1100px */
  /* 4 cols > 1100px */
  
  @media (max-width: 549px) {
    .products-grid {
      grid-template-columns: 1fr;
    }
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
    .hero-image {
      order: -1;
    }
  }
  
  @media (min-width: 550px) and (max-width: 1100px) {
    .products-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .hero-content {
      flex-direction: row;
      text-align: left;
    }
  }
  
  @media (min-width: 1101px) {
    .products-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /* Product card */
  .product-card {
    background: var(--beige);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    padding: 1rem;
    text-align: center;
  }
  
  .product-card img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 0.8rem;
  }
  
  .product-card h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.3rem;
    color: var(--green);
  }
  
  .product-card p {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--amber);
  }
  
  .btn-secondary {
    background: var(--amber);
    color: var(--green);
    border: none;
    padding: 0.5rem 1.3rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    font-family: 'Poppins', sans-serif;
  }
  
  .btn-secondary:hover,
  .btn-secondary:focus {
    background: var(--green);
    color: var(--beige);
  }

  /* Newsletter */
  .newsletter {
    background: var(--green);
    color: var(--beige);
    padding: 2rem 0;
    text-align: center;
    border-radius: 12px;
    margin-top: 3rem;
  }
  
  .newsletter h2 {
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
  }
  
  .newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .newsletter-form input[type="email"] {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    min-width: 250px;
  }
  
  .newsletter-form button {
    padding: 0.8rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    border: none;
    background: var(--amber);
    color: var(--green);
    transition: background 0.3s ease;
  }
  
  .newsletter-form button:hover,
  .newsletter-form button:focus {
    background: var(--beige);
    color: var(--green);
  }
  
  /* Footer */
  .footer {
    background: var(--green);
    color: var(--beige);
    text-align: center;
    padding: 1.2rem 0;
    margin-top: auto;
    font-size: 0.9rem;
  }
  
  /* About page specific */
  .about-main {
    margin: 2rem 0;
  }
  
  .about-hero {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  
  .about-text {
    flex: 1;
    font-size: 1.1rem;
    color: var(--text-light);
  }
  
  .mission-vision-values ul {
    margin-top: 1rem;
    list-style: disc inside;
    color: var(--text-light);
    font-size: 1.1rem;
  }
  
  .timeline ul {
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
    color: var(--text-light);
    border-left: 3px solid var(--amber);
  }
  
  .timeline ul li {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
  }
  
  .timeline ul li::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 7px;
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
  }
  
  /* Search page */
  .search-main {
    margin: 2rem 0;
  }
  
  .search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .search-form input[type="search"] {
    flex: 1;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--green);
    border-radius: 6px;
  }
  
  .search-form button {
    background: var(--green);
    color: var(--beige);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .search-form button:hover,
  .search-form button:focus {
    background: var(--amber);
    color: var(--green);
  }
  
  /* Catalog */
  .catalog-main {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .filters {
    flex: 0 0 220px;
    background: var(--beige);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  }
  
  .filters h2 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: var(--green);
  }
  
  .filters label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    cursor: pointer;
  }
  
  .products-grid {
    flex: 1;
    display: grid;
    gap: 1.5rem;
  }
  
  /* Product page */
  .product-main {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .product-gallery {
    flex: 1;
  }
  
  .product-main-image {
    width: 100%;
    border-radius: 12px;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  .product-thumbnails {
    display: flex;
    gap: 0.6rem;
  }
  
  .product-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
  }
  
  .product-thumbnails img:hover,
  .product-thumbnails img:focus {
    border-color: var(--amber);
  }
  
  .product-info {
    flex: 1;
    font-size: 1.1rem;
    color: var(--text-light);
  }
  
  .product-info h1 {
    font-family: 'Poppins', sans-serif;
    color: var(--green);
    margin-bottom: 1rem;
  }
  
  .price {
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .product-info label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--green);
  }
  
  .product-info input[type="number"] {
    width: 80px;
    padding: 0.4rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid var(--green);
  }
  
  .product-info details {
    margin-top: 1rem;
    border-top: 1px solid var(--green);
    padding-top: 1rem;
    cursor: pointer;
  }
  
  .product-info details summary {
    font-weight: 600;
    color: var(--green);
    cursor: pointer;
  }
  
  /* Contact page */
  .contact-main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .contact-form {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-form .form-group {
    display: flex;
    flex-direction: column;
  }
  
  .contact-form label {
    font-weight: 600;
    color: var(--green);
    margin-bottom: 0.3rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--green);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
  }
  
  .contact-form textarea {
    grid-column: span 2;
    min-height: 100px;
  }
  
  .contact-form button {
    grid-column: span 2;
    background: var(--green);
    color: var(--beige);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover,
  .contact-form button:focus {
    background: var(--amber);
    color: var(--green);
  }
  
  /* Register page */
  .register-main {
    max-width: 400px;
    margin: 3rem auto;
    padding: 0 1rem;
  }
  
  .register-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .register-form h1 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: var(--green);
    margin-bottom: 1rem;
  }
  
  .register-form label {
    font-weight: 600;
    color: var(--green);
  }
  
  .register-form input[type="text"],
  .register-form input[type="email"],
  .register-form input[type="password"] {
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--green);
    font-family: inherit;
    font-size: 1rem;
  }
  
  .register-form .terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    font-weight: 600;
  }
  
  .register-form button {
    background: var(--green);
    color: var(--beige);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .register-form button:hover,
  .register-form button:focus {
    background: var(--amber);
    color: var(--green);
  }
  
  /* Orders page */
  .orders-main {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
  }
  
  .orders-list {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .order-item {
    display: flex;
    gap: 1rem;
    background: var(--beige);
    border-radius: 12px;
    padding: 1rem;
    align-items: center;
  }
  
  .order-item img {
    width: 120px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
  }
  
  .order-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.order-details h3 {
font-family: 'Poppins', sans-serif;
color: var(--green);
}

.order-details input[type="number"] {
width: 80px;
padding: 0.3rem;
border-radius: 6px;
border: 1px solid var(--green);
}

.btn-remove {
background: #ccc;
color: #000;
border: none;
padding: 0.4rem 1rem;
border-radius: 6px;
cursor: pointer;
}

.order-summary {
flex: 1;
background: var(--beige);
border-radius: 12px;
padding: 1.5rem;
font-size: 1.1rem;
box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}

.order-summary h2 {
font-family: 'Poppins', sans-serif;
margin-bottom: 1rem;
color: var(--green);
}

.order-summary button {
margin-top: 1rem;
width: 100%;
background: var(--green);
color: var(--beige);
padding: 0.8rem;
border: none;
border-radius: 6px;
cursor: pointer;
font-family: 'Poppins', sans-serif;
font-weight: 600;
transition: background 0.3s ease;
}

.order-summary button:hover,
.order-summary button:focus {
background: var(--amber);
color: var(--green);
}

@media (max-width: 768px) {
.orders-main {
flex-direction: column;
}

.contact-form {
grid-template-columns: 1fr;
}
}