@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #EDE6DA;
  --accent: #6B1E23;
  --text: #2B2B2B;
  --text-muted: #5a5652;
  --border: #D6CBB8;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 48px; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 48px; border-bottom: 1px solid var(--border); background: var(--bg);
}
.logo { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; letter-spacing: 1px; }
.nav-links { display: flex; gap: 34px; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-links a.active { color: var(--text); }
.nav-links a:not(.active) { color: var(--text-muted); }
.header-icons { display: flex; align-items: center; gap: 22px; }
.cart-badge {
  position: relative;
}
.cart-count {
  position: absolute; top: -9px; right: -11px; background: var(--accent); color: white;
  font-size: 10px; width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Buttons */
.btn {
  cursor: pointer; border: none; padding: 14px 24px; font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase; background: var(--accent); color: white;
  display: inline-block; text-align: center;
}
.btn:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--accent); color: var(--accent); }

/* Forms */
input, select, textarea {
  padding: 13px 14px; border: 1px solid var(--border); background: white; font-size: 13px;
  font-family: inherit; width: 100%;
}
label { font-size: 13px; font-weight: 600; margin-bottom: 8px; display: block; }
.form-group { margin-bottom: 16px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.product-card { cursor: pointer; }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ddd3c2; border-radius: 4px; }
.product-card .name { font-size: 13px; margin-top: 12px; }
.product-card .price { font-size: 14px; margin-top: 4px; }
.product-card .old-price { text-decoration: line-through; color: var(--text-muted); margin-left: 8px; font-size: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 48px; text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 80px; }

/* Misc */
.section-title { font-size: 32px; margin-bottom: 30px; }
.muted { color: var(--text-muted); }
.error-box { background: #fdecea; border: 1px solid #f5c2c0; color: #b3261e; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; }
.success-box { background: #eaf6ea; border: 1px solid #b7e0b7; color: #256029; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .container, .site-header { padding: 16px 20px; }
}
