:root {
  --bg: #f8f6f1;
  --white: #ffffff;
  --green: #0f4a24;
  --gold: #d9a928;
  --charcoal: #313131;
  --muted: #6c6c6c;
  --border: #e7e2d7;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: var(--bg); color: var(--charcoal); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; background: rgba(248,246,241,.95); border-bottom: 1px solid var(--border); z-index: 20; backdrop-filter: blur(12px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 28px; }
.brand strong { color: var(--green); }
.brand em { color: var(--gold); font-style: normal; }
.brand-badge { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 16px; color: #fff; font-weight: 700; background: linear-gradient(135deg, #91bf2b, var(--gold)); }
.nav-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.section { padding: 56px 0; }
.hero { padding: 56px 0 24px; }
.hero-grid, .split-grid, .checkout-grid, .product-page { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero h1, h1 { font-size: clamp(2rem, 4vw, 3.6rem); margin: 12px 0; }
h2 { font-size: 2rem; margin: 0; }
.hero-card { border: 1px solid var(--border); background: var(--white); padding: 16px; border-radius: 32px; box-shadow: 0 35px 80px rgba(49,49,49,.10); }
.hero-card img, .product-image img { border-radius: 24px; width: 100%; object-fit: cover; height: 100%; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; }
.cta-row, .cart-actions, .product-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn { border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.btn-green { background: var(--green); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-outline { border: 1px solid #d4c39f; background: #fff; color: var(--charcoal); }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.inline-head { flex-direction: row; align-items: center; justify-content: space-between; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 28px; overflow: hidden; box-shadow: 0 10px 30px rgba(49,49,49,.06); }
.product-card img { height: 260px; width: 100%; object-fit: cover; }
.product-body { padding: 20px; }
.product-meta { justify-content: space-between; margin-top: 12px; }
.info-card { border-radius: 28px; padding: 24px; color: #fff; }
.info-card.green { background: linear-gradient(140deg, var(--green), #91bf2b); }
.info-card.gold { background: linear-gradient(140deg, #f5f0db, #f0d486); color: var(--charcoal); }
.filters, .admin-form, .checkout-form, .login-card form { display: grid; gap: 14px; }
input, select, textarea { width: 100%; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--border); background: #fff; font: inherit; }
textarea { min-height: 120px; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: 24px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); }
.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.stat-card { background: #eef6ee; border-radius: 24px; padding: 24px; }
.stat-card.gold { background: #fbf3dd; }
.stat-card.dark { background: #ececec; }
.stat-card strong { display: block; font-size: 2rem; }
.alert { margin: 18px 0 0; padding: 14px 18px; border-radius: 16px; }
.alert.success { background: #e9f7e9; color: var(--green); }
.alert.error { background: #fde9e9; color: #8a1d1d; }
.site-footer { background: #222; color: #fff; padding: 42px 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.price-lg { color: var(--gold); font-size: 1.7rem; font-weight: 700; }
.center-box, .login-page { display: grid; place-items: center; min-height: 70vh; }
.login-card { width: min(460px, calc(100% - 32px)); background: linear-gradient(180deg, #313131, #0f4a24); color: #fff; padding: 32px; border-radius: 28px; }
.summary-box { background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 24px; }
.summary-box p { display: flex; justify-content: space-between; gap: 20px; }
.muted { color: #e8e8e8; }
@media (max-width: 900px) {
  .hero-grid, .split-grid, .checkout-grid, .product-page, .footer-grid { grid-template-columns: 1fr; }
  .product-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .nav-wrap, .inline-head { flex-direction: column; align-items: flex-start; }
  .product-grid, .stats-grid { grid-template-columns: 1fr; }
}


.checkout-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff8e7;
  border: 1px solid var(--border);
}


.price-link { color: inherit; text-decoration: none; font-weight: 700; }
.price-link:hover { text-decoration: underline; }
.price-sale { color: #0f8a43; font-weight: 800; }
.price-regular { color: #8a8a8a; text-decoration: line-through; margin-left: 6px; font-weight: 600; }
.price-lg .price-sale { font-size: 1.6rem; }
.price-lg .price-regular { font-size: 1.1rem; }

@media (max-width: 900px) {
  .hero-grid, .split-grid, .checkout-grid, .product-page { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr; }
  .brand { font-size: 22px; }
}
