:root {
  --bg: #fbf7f4;
  --paper: #4a3540;
  --gold: #b76e79;
  --ink: #3a2a32;
  --muted: #8a6f78;
  --line: #ead9de;
  --white: #fffdfb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 255, 255, 0.9), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(232, 210, 216, 0.45), transparent 45%),
    var(--bg);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  overflow-x: hidden;
}
.shop-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-dove,
.hero-rings {
  position: absolute;
  display: block;
  height: auto;
}
.hero-dove {
  width: 168px;
  opacity: 0.92;
  animation: doveFloat 8s ease-in-out infinite;
}
.hero-dove.d1 { top: 72px; left: 18px; }
.hero-dove.d2 {
  top: 88px;
  right: 16px;
  animation-name: doveFloatFlip;
  animation-delay: -3s;
}
.hero-rings {
  width: 150px;
  bottom: 7%;
  right: 8%;
  opacity: 0.9;
  animation: ringsFloat 9s ease-in-out infinite;
}
@keyframes doveFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -12px); }
}
@keyframes doveFloatFlip {
  0%, 100% { transform: scaleX(-1) translate(0, 0); }
  50% { transform: scaleX(-1) translate(-8px, -12px); }
}
@keyframes ringsFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-6px, 8px); }
}
.shop-head, .shop-foot, main { position: relative; z-index: 1; }
.shop-head, .shop-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  flex-wrap: wrap;
}
.shop-head nav { display: flex; gap: 0.85rem; font-size: 0.8rem; flex-wrap: wrap; }
.shop-head nav a { text-decoration: none; color: var(--muted); }
.shop-head nav a.is-on { color: var(--gold); font-weight: 600; }
.why-grid a.card { text-decoration: none; color: inherit; }
.brand {
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
a { color: var(--ink); }
main { max-width: 64rem; margin: 0 auto; padding: 1rem 1.5rem 4rem; }
.hero h1, .block h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0.3rem 0 1rem;
  color: var(--ink);
}
.eyebrow { letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-size: 0.7rem; }
.lead, .muted { color: var(--muted); max-width: 38rem; line-height: 1.55; }
.hero-actions, .grid { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  border: 0;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.block { margin-top: 3.8rem; }
.why-grid, .templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.card {
  border: 1px solid var(--line);
  padding: 1.3rem;
  border-radius: 1.1rem;
  background: var(--white);
}
.card.accent { border-color: #e2b4bc; box-shadow: 0 10px 30px rgba(183, 110, 121, 0.1); }
.swatch {
  height: 72px;
  border-radius: 0.6rem;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
}
.swatch-classic { background: linear-gradient(135deg, #f4ebef, #c9a0a8); }
.swatch-air { background: linear-gradient(135deg, #f7f6f3, #fff 55%, #1c1c1c 56%, #1c1c1c 57%, #f7f6f3 58%); }
.swatch-noir { background: linear-gradient(135deg, #0c0b0a, #c4a574); }
.swatch-linen { background: linear-gradient(135deg, #f3eadc, #6b7c5a); }
.swatch-ink { background: linear-gradient(135deg, #f6f0e4 0 55%, #1c2430 55% 72%, #7a1f2b 72%); }
.swatch-bloom { background: radial-gradient(circle at 30% 30%, #e86a9a, #4a2048 55%, #f0c27b); }
.swatch-satin { background: linear-gradient(160deg, #f7efe4, #e8dcc8 40%, #c4a36a); }
.swatch-candle { background: linear-gradient(160deg, #1a120c, #6a4a28 55%, #e0c48a); }
.swatch-sage { background: linear-gradient(160deg, #e8ece4, #9aab88 50%, #5a6b4a); }
.swatch-crest { background: linear-gradient(160deg, #0a0a0a, #3a2e18 50%, #d4b56a); }
.swatch-blush { background: linear-gradient(160deg, #fff6f7, #f0d0d6 45%, #c9a06a); }
.tag { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--gold); }
.price { font-family: "Cormorant Garamond", serif; font-size: 2rem; margin: 0.4rem 0; }
.buy-form { display: grid; gap: 0.8rem; max-width: 28rem; margin-top: 1rem; }
.buy-form label { display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--muted); }
.buy-form input, .buy-form select, .buy-form textarea {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  font-family: inherit;
}
.form-msg { min-height: 1.2rem; }
.contacts { margin-top: 1.2rem; color: var(--muted); font-size: 0.9rem; }
.shop-foot {
  color: var(--muted);
  font-size: 0.8rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.shop-foot a { color: inherit; }

.admin-shot {
  margin-top: 1.2rem;
  background: #1e2433;
  color: #e8eef8;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(58, 42, 50, 0.18);
  font-size: 0.82rem;
}
.shot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: #151a26;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.shot-pills { display: flex; gap: 6px; }
.shot-pills i { width: 8px; height: 8px; border-radius: 50%; background: #4b5568; display: block; }
.shot-pills i:first-child { background: #34d399; }
.shot-tabs { padding: 0.6rem 1rem; color: #94a3b8; border-bottom: 1px solid #334155; }
.shot-stats { display: flex; flex-wrap: wrap; gap: 0.8rem; padding: 0.9rem 1rem; }
.shot-stats b { font-weight: 600; color: #f8fafc; }
.shot-table { width: 100%; border-collapse: collapse; }
.shot-table th, .shot-table td { padding: 0.55rem 1rem; text-align: left; border-top: 1px solid #334155; }
.shot-table .yes { color: #6ee7b7; }
.shot-table .no { color: #fda4af; }

.custom {
  padding: 2rem 1.5rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #fff, #f8eef1);
  border: 1px solid var(--line);
}
.custom .btn { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-dove, .hero-rings { animation: none; }
  .hero-dove.d2 { transform: scaleX(-1); }
}
