:root {
  --brown: #6b3e26;
  --light: #f7f3ef;
  --accent: #c49a6c;
  --dark: #2b1a12;
}

* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
}

header {
  background: var(--brown);
  color: white;
  padding: 1.8rem 1rem;
  position: relative;
}

header h1 {
  margin: 0;
  text-align: center;
  font-size: 2.4rem;
}

.cart-icon {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

.cart-count {
  background: var(--accent);
  border-radius: 50%;
  padding: 2px 7px;
  font-size: 0.8rem;
}

.cart-dropdown {
  display: none;
  position: absolute;
  right: 20px;
  top: 60px;
  width: 300px;
  background: white;
  color: black;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  padding: 1rem;
  z-index: 1000;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.cart-total {
  font-weight: bold;
  margin-top: 10px;
}

main {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.intro {
  text-align: center;
  margin-bottom: 3rem;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.product {
  background: white;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.product h3 {
  color: var(--brown);
}

.price {
  font-weight: bold;
  margin: 1rem 0;
}

button {
  background: var(--accent);
  border: none;
  padding: 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: var(--brown);
  color: white;
}

footer {
  background: #eee;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}