:root {
  --honey-gold: #f2a900;
  --honey-dark: #b8720a;
  --honey-amber: #d98c15;
  --comb-brown: #4a2c11;
  --cream: #fff8ec;
  --cream-dark: #f3e6c8;
  --text: #3a2a14;
  --text-light: #6b5738;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(74, 44, 17, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--honey-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--honey-gold);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
}

.nav-links a:hover { color: var(--honey-dark); }

.cart-link {
  position: relative;
  background: var(--honey-gold);
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-count {
  background: var(--comb-brown);
  color: #fff;
  font-size: 0.75rem;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, #ffe9b8 0%, var(--cream) 60%);
  padding: 70px 0 60px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-copy { flex: 1 1 380px; }

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--comb-brown);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 360px;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  background: var(--honey-gold);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { background: var(--honey-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--honey-dark);
  border: 2px solid var(--honey-gold);
}

.btn-outline:hover { background: var(--honey-gold); color: #fff; }

.btn-secondary {
  background: var(--comb-brown);
}
.btn-secondary:hover { background: #2f1c0a; }

/* Section headings */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 2rem;
  color: var(--comb-brown);
  margin: 0 0 8px;
  text-align: center;
}

.section .subtitle {
  text-align: center;
  color: var(--text-light);
  margin: 0 0 40px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card .thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.product-card .body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--comb-brown);
}

.product-card .size {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: -6px 0 0;
}

.product-card p.desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}

.product-card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.product-card .price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--honey-dark);
}

.add-to-cart {
  background: var(--honey-gold);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.add-to-cart:hover { background: var(--honey-dark); }

.add-to-cart:disabled {
  background: var(--cream-dark);
  color: var(--text-light);
  cursor: not-allowed;
}

/* About */
.about-section {
  background: var(--cream-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

/* Cart page */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table th, .cart-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--cream-dark);
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-info img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.qty-input {
  width: 60px;
  padding: 6px;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
}

.remove-btn {
  background: none;
  border: none;
  color: #b23b3b;
  cursor: pointer;
  font-weight: 600;
}

.cart-summary {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.cart-summary-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 280px;
}

.cart-summary-box .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-light);
}

.cart-summary-box .row.total {
  font-weight: 700;
  color: var(--comb-brown);
  font-size: 1.2rem;
  border-top: 1px solid var(--cream-dark);
  padding-top: 10px;
  margin-top: 10px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

/* Footer */
footer.site-footer {
  background: var(--comb-brown);
  color: #f3e6c8;
  padding: 40px 0;
  margin-top: 40px;
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

footer.site-footer a { text-decoration: none; color: #f3e6c8; }
footer.site-footer a:hover { color: var(--honey-gold); }

.status-banner {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}

.status-banner.success {
  background: #e4f6e4;
  color: #256b25;
}

.status-banner.error {
  background: #fbe4e4;
  color: #8a2c2c;
}
