:root {
  --ink: #1a1612;
  --paper: #f7f1e8;
  --warm: #e8d9c4;
  --amber: #c47a2c;
  --amber-deep: #8f4f12;
  --glow: #ffe6b8;
  --muted: #6b5e52;
  --line: rgba(26, 22, 18, 0.12);
  --ok: #2f6b4f;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--glow), transparent 60%),
    linear-gradient(180deg, #fff8ee 0%, var(--paper) 40%, #efe4d4 100%);
  min-height: 100vh;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--amber-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 241, 232, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand span { color: var(--amber-deep); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}

.badge {
  background: var(--amber);
  color: #fff;
  min-width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
}

.hero {
  padding: 4.5rem 0 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    min-height: 72vh;
    padding-top: 5rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36ch;
}

.hero-visual {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 320px;
  background:
    linear-gradient(160deg, #2a2118 0%, #4a3420 45%, #1a1410 100%);
  box-shadow: 0 30px 60px rgba(40, 25, 10, 0.28);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 220, 150, 0.55), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(196, 122, 44, 0.25), transparent 45%);
  pointer-events: none;
}

.lamp-svg {
  position: absolute;
  inset: 12% 20% 8%;
  z-index: 1;
}

.demo-banner {
  background: #2a2118;
  color: #f7e8d0;
  font-size: 0.9rem;
  padding: 0.55rem 0;
  text-align: center;
}

.demo-banner strong { color: #ffd089; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.4rem;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 1.8rem;
  max-width: 50ch;
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: rgba(255, 252, 247, 0.9);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(40, 25, 10, 0.12);
}

.product-card .thumb {
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(160deg, #3a2c20, #1c1510);
  position: relative;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.product-card .body { padding: 1rem 1.1rem 1.2rem; }
.product-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}
.product-card .price {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 650;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover { background: var(--amber-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.product-page {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
}
@media (min-width: 860px) {
  .product-page { grid-template-columns: 1fr 1fr; align-items: start; }
}

.product-gallery {
  border-radius: 1.2rem;
  overflow: hidden;
  background: #1c1510;
  min-height: 360px;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.product-info h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.meta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.chip {
  background: var(--warm);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.panel {
  background: rgba(255, 252, 247, 0.95);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
  margin: 2rem 0 4rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th, .cart-table td {
  text-align: left;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cart-table th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }

.totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.checkout-form {
  display: grid;
  gap: 0.8rem;
  max-width: 420px;
}
.checkout-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.checkout-form input {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.thanks {
  text-align: center;
  padding: 4rem 0 5rem;
}
.thanks h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.8rem;
}
.thanks .ok {
  color: var(--ok);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 520px;
  margin-inline: auto;
  background: #1a1612;
  color: #f7f1e8;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: none;
}
.cookie.show { display: block; }
.cookie p { margin: 0 0 0.9rem; font-size: 0.92rem; color: #d9cfc2; }
.cookie .btn-row .btn-primary { background: #fff; color: #1a1612; }
.cookie .btn-ghost { border-color: rgba(255,255,255,0.25); color: #fff; }

.note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.empty {
  padding: 2rem 0;
  color: var(--muted);
}
