:root {
  --bg: #070b14;
  --card: rgba(16, 24, 42, 0.78);
  --line: rgba(232, 213, 163, 0.28);
  --gold: #e8d5a3;
  --gold2: #f6edd6;
  --ink: #f4f0e6;
  --muted: #b7c0d4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(232, 213, 163, 0.16), transparent 55%),
    radial-gradient(900px 400px at -10% 20%, rgba(80, 120, 180, 0.18), transparent 50%),
    var(--bg);
  font-family: Manrope, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.snow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 30% 70%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 70% 40%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 80%, rgba(255,255,255,.4) 50%, transparent 51%);
  animation: drift 18s linear infinite;
  opacity: .55;
  z-index: 0;
}
@keyframes drift { from { transform: translateY(-20px); } to { transform: translateY(40px); } }
.wrap { position: relative; z-index: 1; width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
header.top {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid rgba(232, 213, 163, 0.16);
}
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.brand b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; letter-spacing: .12em; font-weight: 600; }
.brand small { display: block; color: var(--muted); letter-spacing: .18em; font-size: 10px; text-transform: uppercase; }
nav.menu { display: flex; gap: 16px; margin-left: 12px; flex-wrap: wrap; }
nav.menu a { color: var(--muted); font-size: 14px; }
nav.menu a:hover { color: var(--gold2); }
.grow { flex: 1; }
.stars {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold2);
  background: rgba(232, 213, 163, 0.08);
}
.btn {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--gold2);
  border-radius: 999px; padding: 12px 18px; cursor: pointer; font: inherit;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(232, 213, 163, 0.1); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.primary {
  background: linear-gradient(180deg, #f3e6c4, #c6a56a);
  color: #1a140c; border-color: transparent; font-weight: 700;
  box-shadow: 0 8px 24px rgba(198, 165, 106, .25);
}
.btn.danger { border-color: rgba(224, 122, 122, .5); color: #ffd0d0; }
.btn.small { padding: 8px 12px; font-size: 13px; }
.hero {
  margin: 22px 0 18px; position: relative; border-radius: 28px; overflow: hidden;
  min-height: 420px; box-shadow: var(--shadow); border: 1px solid rgba(232,213,163,.2);
}
.hero img.cover { width: 100%; height: 520px; object-fit: cover; }
.hero .copy {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 42px; background: linear-gradient(180deg, rgba(7,11,20,.05), rgba(7,11,20,.78));
}
.kicker { letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-size: 12px; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; margin: 0 0 8px; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: .95; }
h2 { font-size: 36px; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid rgba(232,213,163,.16); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow);
}
.card .ph {
  height: 210px;
  background: linear-gradient(160deg, rgba(232,213,163,.18), transparent 40%), #121a2e center/cover no-repeat;
}
.card .body { padding: 16px 16px 18px; }
.price { color: var(--gold2); font-size: 20px; }
.price s { color: var(--muted); font-size: 14px; margin-right: 8px; }
.tag {
  display: inline-block; border: 1px solid var(--line); color: var(--gold); border-radius: 999px;
  padding: 3px 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.banners { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; margin: 8px 0 26px; }
.banners a { position: relative; border-radius: 22px; overflow: hidden; min-height: 180px; border: 1px solid rgba(232,213,163,.16); }
.banners img { width: 100%; height: 220px; object-fit: cover; }
.banners span { position: absolute; left: 16px; bottom: 14px; right: 16px; text-shadow: 0 8px 24px #000; }
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin: 28px 0 40px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.sizes button[aria-pressed="true"] { background: var(--gold); color: #1a140c; }
.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a140c; color: var(--gold2); border: 1px solid var(--line); padding: 12px 16px;
  border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s ease; z-index: 30;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(232,213,163,.12); vertical-align: top; }
input, select, textarea {
  width: 100%; background: #0c1220; color: var(--ink); border: 1px solid rgba(232,213,163,.25);
  border-radius: 12px; padding: 10px 12px; font: inherit;
}
label { display: block; margin: 10px 0; color: var(--muted); font-size: 13px; }
.admin { display: grid; grid-template-columns: 220px 1fr; gap: 22px; margin: 22px 0 40px; }
.side a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--muted); }
.side a.on, .side a:hover { background: rgba(232,213,163,.1); color: var(--gold2); }
.note { border-left: 2px solid var(--gold); padding: 8px 12px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
footer { color: var(--muted); padding: 28px 0 40px; font-size: 13px; }
.burger { display: none; }
@media (max-width: 900px) {
  .grid, .product, .banners, .admin, .row2 { grid-template-columns: 1fr; }
  .hero img.cover { height: 360px; }
  nav.menu { display: none; }
  nav.menu.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: #0c1220; padding: 12px 18px 18px; }
  .burger { display: inline-flex; }
  .top .wrap { flex-wrap: wrap; }
}
