:root {
  --bg: #faf7f4;
  --surface: #ffffff;
  --text: #201916;
  --muted: #70625d;
  --line: #e5d9d2;
  --rose: #c98f86;
  --gold: #a76f35;
  --ink: #2b2422;
  --shadow: 0 20px 50px rgba(32, 25, 22, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
.site-header { align-items: center; background: rgba(250, 247, 244, 0.92); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; min-height: 74px; padding: 0 5vw; position: sticky; top: 0; z-index: 3; backdrop-filter: blur(12px); }
.brand { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: flex-end; }
.nav a { border-radius: 8px; color: var(--muted); font-weight: 750; padding: 0.45rem 0.7rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { background: #f2e6e1; color: var(--text); }
main { margin: 0 auto; max-width: 1160px; padding: 3rem 5vw 4rem; }
.hero { align-items: center; display: grid; gap: 3rem; grid-template-columns: 0.8fr 1.2fr; min-height: calc(100vh - 150px); }
.hero h1, .page-head h1 { font-family: Georgia, serif; font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: 0.98; margin: 0; }
.hero p, .page-head p, .intro p { color: var(--muted); font-size: 1.1rem; max-width: 620px; }
.hero img { border-radius: 8px; box-shadow: var(--shadow); display: block; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.button, button { border: 0; border-radius: 8px; cursor: pointer; display: inline-flex; font: inherit; font-weight: 800; justify-content: center; min-height: 46px; padding: 0.7rem 1rem; text-decoration: none; transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.button.primary, button:not(.secondary) { background: var(--ink); color: white; }
.button.primary:hover, button:not(.secondary):hover { background: var(--gold); transform: translateY(-1px); }
.button.secondary { background: white; border: 1px solid var(--line); color: var(--text); }
.button.secondary:hover { border-color: var(--gold); color: var(--gold); }
.intro, .page-head, .story-block, .contact-form { margin-top: 4rem; }
.intro { border-top: 1px solid var(--line); padding-top: 3rem; }
.intro h2 { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; margin: 0; max-width: 760px; }
.product-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; }
.shop-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid article, .story-block, .contact-form, .order-summary, .cart-items, .admin-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.35rem; }
.product-grid article { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.product-grid article:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.admin-panel { overflow-x: auto; }
.product-photo { aspect-ratio: 1 / 1; border-radius: 8px; display: block; margin-bottom: 1rem; object-fit: cover; width: 100%; }
.product-grid h3 { font-family: Georgia, serif; font-size: 1.45rem; margin: 0.5rem 0; }
.price { color: var(--gold); font-weight: 900; }
.cart-note { background: #f2e6e1; border-radius: 8px; display: inline-flex; font-weight: 800; margin-top: 1rem; padding: 0.7rem 1rem; }
.contact-form { display: grid; gap: 1rem; max-width: 680px; }
label { display: grid; font-weight: 800; gap: 0.35rem; }
input, textarea { border: 1px solid var(--line); border-radius: 8px; font: inherit; padding: 0.75rem; }
textarea { min-height: 150px; resize: vertical; }
.cart-layout, .checkout-layout, .contact-layout, .visual-story { align-items: start; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) 340px; margin-top: 3rem; }
.cart-line { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; padding: 0.85rem 0; }
.cart-line-main { align-items: center; display: flex; gap: 0.85rem; min-width: 0; }
.cart-thumb { aspect-ratio: 1 / 1; border-radius: 8px; flex: 0 0 64px; object-fit: cover; width: 64px; }
.cart-line:first-child { padding-top: 0; }
.cart-line:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-line strong, .cart-line span { display: block; }
.cart-line span { color: var(--muted); }
.order-summary { display: grid; gap: 1rem; }
.order-summary h2 { font-family: Georgia, serif; margin: 0; }
.order-summary dl { display: grid; gap: 0.65rem; margin: 0; }
.order-summary dl div { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 0.65rem; }
.order-summary dd { margin: 0; font-weight: 800; }
.form-note { color: var(--muted); margin: 0; }
.confirmation { background: #f2e6e1; border: 1px solid var(--line); border-radius: 8px; font-weight: 800; padding: 1rem; }
.image-stack { display: grid; gap: 1rem; }
.image-stack img { aspect-ratio: 4 / 5; border-radius: 8px; box-shadow: var(--shadow); display: block; object-fit: cover; width: 100%; }
.mini-gallery { display: grid; gap: 0.7rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-gallery img { aspect-ratio: 1 / 1; border-radius: 8px; display: block; object-fit: cover; width: 100%; }
.admin-body { background: #f4f1ec; }
.admin-header { align-items: center; background: var(--ink); color: white; display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 5vw; }
.admin-header h1 { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; margin: 0; }
.admin-kicker { color: #e5d9d2; font-weight: 900; letter-spacing: 0.08em; margin: 0 0 0.6rem; text-transform: uppercase; }
.admin-status { background: #f2e6e1; border-radius: 8px; color: var(--ink); font-weight: 900; padding: 0.55rem 0.8rem; }
.admin-shell { display: grid; gap: 1rem; max-width: 1180px; }
.admin-panel h2 { font-family: Georgia, serif; margin-top: 0; }
.metric-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric-grid article { background: #faf7f4; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.metric-grid strong { display: block; font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; }
.metric-grid span { color: var(--muted); }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 0.8rem 0.5rem; text-align: left; }
th { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; }
.admin-product { align-items: center; display: inline-flex; gap: 0.65rem; }
.admin-product img { aspect-ratio: 1 / 1; border-radius: 8px; flex: 0 0 44px; object-fit: cover; width: 44px; }
.admin-list { display: grid; gap: 0.7rem; list-style: none; margin: 0; padding: 0; }
.admin-list li { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 0.7rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding: 1.5rem 5vw; }
@media (max-width: 850px) {
  .hero, .product-grid, .shop-list, .cart-layout, .checkout-layout, .contact-layout, .visual-story, .metric-grid { grid-template-columns: 1fr; }
  .site-header { align-items: flex-start; flex-direction: column; padding-bottom: 1rem; padding-top: 1rem; position: static; }
  .hero { min-height: 0; }
  .hero h1, .page-head h1 { font-size: 2.6rem; }
  .admin-header { align-items: flex-start; flex-direction: column; }
}
