
:root {
  --bg: #faf5ef;
  --bg-alt: #f2e7da;
  --card: #ffffff;
  --accent: #c7773b;
  --accent-soft: #e3a46c;
  --text: #2d241b;
  --muted: #7a6a5b;
  --border: #e2d2c0;
  --radius: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left,#fff,#faf5ef 45%,#f2e7da 100%);
  color: var(--text);
}

img { max-width: 100%; display:block; }
a { color: inherit; text-decoration:none; }

.container {
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 16px;
}

.header {
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(20px);
  background:rgba(250,245,239,0.96);
  border-bottom:1px solid rgba(226,210,192,0.9);
}

.header-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

.logo {
  display:inline-flex;
  align-items:center;
  gap:8px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:13px;
  font-weight:700;
}

.logo-mark {
  width:22px;
  height:22px;
  border-radius:40%;
  background:linear-gradient(135deg,#c7773b,#e3a46c);
}

.nav {
  display:flex;
  gap:16px;
  font-size:14px;
}

.nav a {
  padding:4px 8px;
  border-radius:10px;
  color:var(--muted);
}

.nav a:hover {
  background:rgba(227,164,108,0.18);
  color:var(--text);
}

.cart-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(226,210,192,0.9);
  background:rgba(255,255,255,0.9);
  font-size:13px;
}

.cart-count {
  min-width:20px;
  height:20px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  font-size:11px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero {
  padding:28px 0 24px;
}

.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:28px;
  align-items:center;
}

.hero-text h1 {
  margin:0 0 10px;
  font-size:30px;
  line-height:1.1;
}

.hero-text p {
  font-size:15px;
  color:var(--muted);
  line-height:1.8;
}

.hero-actions {
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.hero-media {
  position:relative;
}

.hero-img {
  border-radius:24px;
  box-shadow:0 22px 50px rgba(96,72,48,0.35);
}

.hero-tag {
  position:absolute;
  left:14px;
  bottom:14px;
  max-width:230px;
  font-size:12px;
  background:rgba(45,36,27,0.92);
  color:#fef9f3;
  padding:8px 10px;
  border-radius:10px;
}

.section {
  padding:24px 0;
}

.section-alt {
  background:linear-gradient(to bottom,#f5ebdf,#faf5ef);
}

.section-head h1,
.section-head h2 {
  margin:0 0 8px;
  font-size:24px;
}

.section-head p {
  margin:0;
  font-size:14px;
  color:var(--muted);
}

.section-head.center { text-align:center; }
.section-head.center p { max-width:680px; margin:0 auto; }

.three-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.card {
  background:var(--card);
  border-radius:var(--radius);
  padding:16px 14px 14px;
  border:1px solid rgba(226,210,192,0.95);
  box-shadow:0 18px 40px rgba(90,64,40,0.18);
  font-size:14px;
}

.card h2 {
  margin-top:0;
  margin-bottom:6px;
  font-size:16px;
}

.card p {
  margin:0;
  color:var(--muted);
  line-height:1.8;
}

.lead-grid {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:24px;
  align-items:flex-start;
}

.btn {
  border:none;
  cursor:pointer;
  font-size:14px;
  padding:9px 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .1s ease, box-shadow .1s ease, background .1s ease;
}

.btn.primary {
  background:linear-gradient(135deg,var(--accent),var(--accent-soft));
  color:#fff;
  box-shadow:0 20px 44px rgba(96,72,48,0.4);
}

.btn.primary:hover {
  transform:translateY(-1px);
  box-shadow:0 26px 60px rgba(96,72,48,0.5);
}

.btn.ghost {
  background:transparent;
  border:1px solid var(--border);
  color:var(--text);
}

.btn.ghost:hover {
  background:rgba(242,231,218,0.9);
}

.btn.full { width:100%; }

.form {
  background:var(--card);
  border-radius:var(--radius);
  padding:16px 14px 14px;
  border:1px solid rgba(226,210,192,0.95);
  box-shadow:0 16px 40px rgba(90,64,40,0.18);
  display:grid;
  gap:10px;
  font-size:13px;
}

.form label {
  display:grid;
  gap:4px;
}

input,
textarea {
  font:inherit;
  border-radius:10px;
  border:1px solid var(--border);
  padding:8px 10px;
  background:#fdf8f2;
}

input:focus,
textarea:focus {
  outline:none;
  border-color:var(--accent);
  background:#fff;
}

.form-note {
  font-size:12px;
  color:var(--muted);
  margin:2px 0 0;
}

.catalog-grid {
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.product-img {
  border-radius:14px;
  margin-bottom:8px;
}

.product-meta {
  margin-top:8px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.price {
  font-weight:600;
}

.product-layout {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr);
  gap:26px;
  align-items:flex-start;
}

.product-main {
  border-radius:22px;
  box-shadow:0 24px 54px rgba(90,64,40,0.4);
}

.product-info h1 {
  margin-top:0;
  margin-bottom:10px;
  font-size:24px;
}

.product-info p {
  font-size:14px;
  color:var(--muted);
  line-height:1.9;
}

.product-buy {
  margin:14px 0 10px;
  display:flex;
  align-items:center;
  gap:10px;
}

.price-lg {
  font-size:22px;
  font-weight:600;
}

.bullets {
  padding-left:18px;
  font-size:14px;
}

.cart-page .cart-box {
  margin:14px 0 18px;
  background:var(--card);
  border-radius:var(--radius);
  padding:14px;
  border:1px solid rgba(226,210,192,0.95);
  box-shadow:0 18px 40px rgba(90,64,40,0.22);
}

.cart-empty {
  font-size:14px;
  color:var(--muted);
}

.cart-table {
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

.cart-table th,
.cart-table td {
  padding:8px 6px;
  text-align:left;
}

.cart-table th {
  border-bottom:1px solid var(--border);
}

.cart-table td {
  border-bottom:1px solid rgba(226,210,192,0.7);
}

.cart-summary {
  margin-top:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:14px;
}

.narrow {
  max-width:760px;
}

.narrow h1 {
  margin-top:0;
  margin-bottom:8px;
  font-size:24px;
}

.narrow h2 {
  margin-top:18px;
  margin-bottom:6px;
  font-size:18px;
}

.narrow p {
  font-size:14px;
  color:var(--text);
  line-height:1.9;
}

.narrow ul {
  padding-left:18px;
  font-size:14px;
}

.contact-grid {
  margin-top:16px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:24px;
  align-items:flex-start;
}

.footer {
  margin-top:32px;
  border-top:1px solid rgba(226,210,192,0.95);
  background:linear-gradient(to top,#f2e7da,#faf5ef);
  padding:18px 0 10px;
  font-size:13px;
}

.footer-grid {
  display:grid;
  grid-template-columns:1.6fr 1.2fr 1.1fr;
  gap:20px;
}

.footer h4 {
  margin-top:0;
  margin-bottom:8px;
  font-size:14px;
}

.footer p {
  margin:2px 0;
  color:var(--muted);
}

.footer-bottom {
  margin-top:10px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}

/* responsive */
@media (max-width: 900px) {
  .hero-grid,
  .three-grid,
  .lead-grid,
  .catalog-grid,
  .product-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .hero {
    padding-top:22px;
  }
}

@media (max-width: 640px) {
  .header-row {
    flex-wrap:wrap;
  }
  .nav {
    flex-wrap:wrap;
    justify-content:center;
  }
  .hero-text h1 {
    font-size:24px;
  }
}
