:root {
  --black: #171717;
  --gold: #d6a441;
  --white: #ffffff;
  --background: #f7f7f7;
  --text: #292929;
  --muted: #777777;
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

button, a {
  font: inherit;
}

button {
  cursor: pointer;
}

.header {
  min-height: 72px;
  padding: 14px 7%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  color: var(--white);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 2px;
  text-decoration: none;
}

.logo span {
  color: var(--gold);
}

.cart-button {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: bold;
}

.hero {
  padding: 85px 7%;
  min-height: 370px;
  background: linear-gradient(125deg, #171717, #38332b);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 65px);
  max-width: 650px;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: #dddddd;
  margin-bottom: 25px;
}

.hero-button {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 30px;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-weight: bold;
}

.categories,
.products-section,
.cart-section {
  padding: 45px 7%;
}

.categories h2,
.products-section h2,
.cart-section h2 {
  font-size: 25px;
  margin-bottom: 12px;
}

.category-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.category-list button {
  padding: 10px 19px;
  border: 1px solid #dddddd;
  background: var(--white);
  border-radius: 30px;
  color: var(--text);
}

.category-list button:hover,
.category-list button.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.products-section > p {
  color: var(--muted);
  margin-bottom: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #eeeeee;
}

.product-info {
  padding: 16px;
}

.product-category {
  color: var(--gold);
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 16px;
  margin: 7px 0;
}

.product-price {
  font-size: 19px;
  font-weight: bold;
  margin: 8px 0 13px;
}

.add-button,
#checkoutButton {
  width: 100%;
  border: none;
  background: var(--black);
  color: var(--white);
  padding: 12px;
  border-radius: 9px;
  font-weight: bold;
}

.add-button:hover,
#checkoutButton:hover {
  background: #3c3528;
}

.cart-section {
  background: #ffffff;
  margin: 20px 7%;
  padding: 30px;
  border-radius: var(--radius);
}

.cart-section p {
  margin-top: 15px;
}

#cartItems {
  margin-top: 15px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eeeeee;
}

.cart-item button {
  border: none;
  background: none;
  color: #b23a3a;
}

#checkoutButton {
  margin-top: 20px;
}

.notice {
  font-size: 12px;
  color: var(--muted);
}

footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 35px 15px;
}

footer p {
  color: #cccccc;
  font-size: 13px;
  margin-top: 8px;
}

@media (max-width: 800px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .hero {
    padding: 65px 7%;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-section {
    padding: 20px;
  }
}
