:root {
  --night: #0b0d10;
  --night-2: #14171c;
  --bone: #f3eee4;
  --bone-2: #e7e0d2;
  --card: #fffaf2;
  --ink: #14161a;
  --ink-soft: #5c584f;
  --gold: #c9a25a;
  --gold-2: #e2c588;
  --line: #d8d0c2;
  --ok: #2f6b4c;
  --warn: #9a5b1f;
  --bad: #9b2d2d;
  --blue: var(--gold);
  --cyan: var(--gold);
  --copper: #c9a25a;
  --pine: #c9a25a;
  --paper: var(--bone);
  --paper-2: var(--bone-2);
  --shadow: 0 24px 50px rgba(11, 13, 16, 0.1);
  --max: 1160px;
  --sans: Figtree, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 110% -10%, rgba(201, 162, 90, 0.12), transparent 50%),
    var(--bone);
  font-family: var(--sans);
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.topbar {
  background: var(--night);
  color: var(--gold-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}
.topbar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar-call {
  color: var(--gold-2) !important;
  letter-spacing: 0.08em;
}
.topbar-call:hover { color: #fff !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 228, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.nav-links a:hover, .nav-links a.active, .nav-drop.active > a { color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > a::after { content: "▾"; font-size: 0.7rem; color: var(--gold); }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px 0;
  background: #fffaf2;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 30;
}
.nav-drop-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--bone-2); }
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-cta { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  cursor: pointer;
  background: var(--night);
  color: var(--bone);
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-copper, .btn-pine { background: var(--gold); color: #1a1408; }
.btn-small { padding: 0.45rem 0.85rem; font-size: 0.84rem; }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--gold);
  color: #1a1408;
  font-size: 0.7rem;
  margin-left: 4px;
}

.hero-band {
  background:
    radial-gradient(700px 380px at 85% 20%, rgba(201, 162, 90, 0.16), transparent 55%),
    var(--night);
  color: #f6f1e7;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 88px 0 72px;
  align-items: center;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: 2.35rem; line-height: 1.15; margin: 10px 0 16px; }
h2 { font-size: 1.7rem; margin: 0 0 10px; }
h3 { font-size: 1.3rem; margin: 0 0 8px; }
.hero h1, .page-intro h1, main h1 { font-size: 2.35rem; line-height: 1.15; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 38rem; }
.page-wide .lead { max-width: none; }
.about-copy { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.block-center { text-align: center; }
.block-right { text-align: right; }
.block-center .lead, .block-center .intro-copy,
.block-right .lead, .block-right .intro-copy { margin-left: auto; margin-right: auto; }
.block-right .lead, .block-right .intro-copy { margin-left: auto; margin-right: 0; }
/* Billeder, video og Facebook-kort følger også Midt / Højre */
.block-center .fb-card,
.block-center .pic-wrap,
.block-center .yt-wrap,
.block-center .media-wide,
.block-center .media-frame,
.block-center .about-photo {
  margin-left: auto;
  margin-right: auto;
}
.block-right .fb-card,
.block-right .pic-wrap,
.block-right .yt-wrap,
.block-right .media-wide,
.block-right .media-frame,
.block-right .about-photo {
  margin-left: auto;
  margin-right: 0;
}
.block-center .pic-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.block-right .pic-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.block-center .fb-sec {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.block-right .fb-sec {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.page-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 24px;
  align-items: start;
  padding: 12px 0 28px;
}
.page-flow-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  align-items: start;
  padding: 12px 0 28px;
}
.flow-col {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.flow-col .block-slot,
.flow-col .slot-half,
.flow-col .slot-half.slot-place-left,
.flow-col .slot-half.slot-place-right {
  grid-column: auto;
  width: 100%;
}
.block-slot { min-width: 0; }
.slot-full { grid-column: 1 / -1; }
.slot-half { grid-column: span 3; }
.slot-third { grid-column: span 2; }
.slot-half.slot-place-center { grid-column: 2 / span 3; }
.slot-half.slot-place-right { grid-column: 4 / span 3; }
.slot-third.slot-place-center { grid-column: 3 / span 2; }
.slot-third.slot-place-right { grid-column: 5 / span 2; }
.layout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 720px) {
  .layout-row { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.slot-offset-sm { margin-top: 36px; }
.slot-offset-md { margin-top: 72px; }
.slot-offset-lg { margin-top: 120px; }
.page-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.block-card { margin: 8px 0; padding: 0; overflow: hidden; }
.block-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
.block-grip {
  padding: 12px 4px 12px 12px;
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 700;
  color: #5c584f;
  cursor: grab;
  user-select: none;
}
.block-grip:hover { color: var(--gold-2, #c9a25a); }
.block-grip:active { cursor: grabbing; }
.block-card.dragging { opacity: 0.45; }
.drop-line {
  height: 3px;
  margin: 6px 0;
  border-radius: 2px;
  background: var(--gold-2, #c9a25a);
}
#block-list.drag-on { outline: 2px dashed #6b6558; outline-offset: 6px; border-radius: 4px; }
.block-drag-new { cursor: grab; }
.block-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 12px 14px 12px 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.block-name { min-width: 0; }
.block-name strong { display: block; font-size: 0.98rem; }
.block-name .muted {
  display: block;
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.block-tools {
  display: none;
  padding: 0 14px 12px;
}
.block-card.open .block-tools { display: flex; }
.block-card .block-body { display: none; padding: 0 14px 16px; border-top: 1px solid var(--line); }
.block-card.open .block-body { display: grid; padding-top: 14px; }
.block-extra {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  background: var(--bone-2, #e7dfd1);
}
.block-extra > summary {
  cursor: pointer;
  padding: 10px 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: #14161a;
}
.block-extra[open] { padding-bottom: 12px; }
.add-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.about-copy p { max-width: none; font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); margin: 0 0 1rem; }
.fb-box { margin: 8px 0 0; max-width: 500px; }
.fb-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  height: 88px;
  box-sizing: border-box;
  padding: 14px 16px;
  background: #121417;
  color: #f3eee4;
  text-decoration: none;
  border: 1px solid #2a2e33;
  border-radius: 4px;
  transition: border-color .15s ease, background .15s ease;
}
.fb-card:hover {
  background: #1a1e22;
  border-color: #3a4048;
  color: #fff;
}
.fb-mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font: 700 1.25rem/36px Arial, sans-serif;
  text-align: center;
}
.fb-card-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.fb-card-copy strong {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}
.fb-card-copy span {
  font-size: .88rem;
  opacity: .78;
}
.fb-sec { margin: 0 0 8px; }
.ref-rail-sec { margin: 0 0 8px; }
.ref-rail .offer-slide {
  flex: 0 0 calc((100% - 16px) / 2);
}
.ref-slide {
  display: block;
  min-height: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.ref-pic {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}
.ref-pic img,
.ref-pic .ref-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  display: block;
  border-radius: 0;
}
.ref-pic-empty::before {
  content: "Vælg billede";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.45);
  font-size: .95rem;
}
.ref-on {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: #fff;
  display: grid;
  gap: 4px;
}
.ref-on h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}
.ref-on p {
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.4;
  font-size: .95rem;
}
@media (max-width: 899px) {
  .ref-rail .offer-slide { flex-basis: 100%; }
}
.hero .lead { color: #cfc6b6; }
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 0;
  color: #e7dfd1;
  font-size: 0.92rem;
}
.checks span::before { content: "—"; color: var(--gold); margin-right: 8px; }
.hero-aside {
  display: grid;
  place-items: center;
  padding: 8px 0;
  border: none;
  background: transparent;
}
.hero-lock {
  width: min(100%, 220px);
  margin: 0 auto 6px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero-lock.hero-lock-sm {
  width: min(100%, 140px);
}
.hero-lock svg,
.hero-lock img { width: 100%; height: auto; display: block; }
.hero-lock .media-frame { aspect-ratio: 1; margin: 0; background: #070809; }
.hero-lock .lock-dial {
  transform-origin: 200px 200px;
  animation: lock-dial 64s linear infinite;
}
.hero-lock .lock-halo {
  transform-origin: 200px 200px;
  animation: lock-halo 5.5s ease-in-out infinite;
}
.hero-lock .lock-key {
  transform-origin: 200px 240px;
  animation: lock-key 3.8s ease-in-out infinite;
}
@keyframes lock-dial {
  to { transform: rotate(360deg); }
}
@keyframes lock-halo {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 0.55; }
}
@keyframes lock-key {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-lock .lock-dial,
  .hero-lock .lock-halo,
  .hero-lock .lock-key { animation: none; }
}

.section { padding: 64px 0; }
.intro-block { width: 100%; max-width: none; padding-bottom: 24px; }
.intro-block h2 { margin-bottom: 22px; max-width: none; }
.intro-copy { width: 100%; max-width: none; }
.intro-copy p {
  width: 100%;
  max-width: none;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 1.15rem;
}
.text-lines {
  white-space: pre-line;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}
.grid-3, .grid-2, .grid-4 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.offer-rail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.offer-rail:not(.offer-rail-on) { grid-template-columns: 1fr; }
.offer-nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.offer-nav[hidden] { display: none; }
.offer-viewport {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 6px;
}
.offer-viewport::-webkit-scrollbar { display: none; }
.offer-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card, .product, .tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
}
.media-frame, .media-empty {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  background: #ddd5c6;
  margin: 0 0 14px;
  display: block;
}
.media-empty { min-height: 140px; }
.media-wide {
  width: 100%;
  max-height: 360px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 0 22px;
  display: block;
  background: var(--bone-2);
}
.page-intro .media-wide,
.about-photo {
  background: transparent;
  object-fit: contain;
  aspect-ratio: auto;
  max-height: 420px;
  height: auto;
}
.pic-wrap {
  position: relative;
  width: 100%;
  margin: 0 0 22px;
  border-radius: 4px;
  overflow: hidden;
}
.pic-wrap .media-wide,
.pic-wrap .about-photo,
.pic-wrap .media-frame,
.pic-wrap .media-sm { margin: 0; }
.pic-wrap.img-bg-light { background: var(--bone-2); }
.pic-wrap.img-bg-dark { background: #070809; }
.pic-wrap.img-bg-none,
.pic-wrap.img-bg-auto { background: transparent; }
.pic-wrap.img-bg-light .about-photo,
.pic-wrap.img-bg-dark .about-photo { padding: 12px 16px; }
.deal-mark {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  max-width: calc(100% - 24px);
  padding: 0.38rem 0.7rem;
  background: var(--gold);
  color: #1a1408;
  font-family: var(--sans, "Figtree", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.pic-wrap.has-link .pic-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.pic-wrap.has-link .pic-link:hover img {
  opacity: 0.92;
}
.pic-wrap.has-link .pic-link img {
  transition: opacity 0.15s ease;
}
.pic-wrap.pic-sized {
  width: var(--pic-w, 280px);
  height: var(--pic-h, 280px);
  max-width: 100%;
  margin-bottom: 16px;
  overflow: hidden;
}
.pic-wrap.pic-sized .pic-link,
.pic-wrap.pic-sized img,
.pic-wrap.pic-sized .media-wide,
.pic-wrap.pic-sized .media-frame,
.pic-wrap.pic-sized .about-photo,
.pic-wrap.pic-sized .media-sm {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  margin: 0;
}
.block-center .pic-wrap.pic-sized {
  margin-left: auto;
  margin-right: auto;
}
.yt-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0 22px;
}
.yt-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.hero-aside .yt-wrap { margin: 0; }
.page-intro #page-photo,
.page-intro .about-photo {
  background: transparent;
}
textarea {
  line-height: 1.65;
  white-space: pre-wrap;
}
p + p { margin-top: 0.85em; }
.media-sm {
  width: 72px;
  height: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 0 14px;
  display: block;
  background: #161820;
}
.home-card-pic { margin: 0 0 8px; }
.home-card-pic:empty { display: none; }
.thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  background: #ddd5c6;
  vertical-align: middle;
}
.home-calc-sec { padding-top: 12px; }
.calc-inline .calc-wiz { max-width: none; margin: 0; }
.calc-inline .calc-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.calc-inline .calc-choices { grid-template-columns: repeat(4, 1fr); }
.calc-inline .calc-choice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 18px;
  min-height: 140px;
}
.calc-inline .calc-deals { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) {
  .calc-inline .calc-choices { grid-template-columns: 1fr 1fr; }
}
.calc-box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 24px;
  margin: 28px 0 8px;
}
.calc-box h2 { margin-bottom: 8px; }
.calc-wiz {
  max-width: 720px;
  margin: 8px auto 36px;
}
.calc-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 32px 32px 36px;
}
.calc-card h2, .calc-card h3 { margin: 0 0 10px; }
.calc-time {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 18px 0 22px;
}
.calc-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}
.calc-progress {
  height: 4px;
  background: var(--bone-2);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.calc-progress span {
  display: block;
  height: 100%;
  background: var(--gold);
}
.calc-count {
  color: var(--ink-soft);
  font-size: 0.82rem;
  margin: 0 0 16px;
}
.calc-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 8px;
}
.calc-choices-2 { margin-top: 8px; }
.calc-choice {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 16px 16px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
}
.calc-choice svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 6px;
}
.calc-choice span { color: var(--ink-soft); font-size: 0.86rem; }
.calc-choice.on {
  border-color: var(--night);
  background: var(--night);
  color: var(--bone);
}
.calc-choice.on svg, .calc-choice.on span { color: var(--gold-2); }
.calc-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.calc-stepper > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-stepper button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}
.calc-stepper button:disabled { opacity: 0.35; cursor: default; }
.calc-next { margin-top: 24px; }
.calc-price {
  font-family: var(--serif);
  font-size: 2.4rem;
  margin: 4px 0 8px;
}
.calc-price-sm { font-size: 1.7rem; }
.calc-deals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 10px;
}
.calc-deal {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.35);
}
.calc-deal-wide { grid-column: 1 / -1; }
.price-was {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 6px;
  font-size: 0.75em;
}
.calc-save { color: var(--ok); font-weight: 600; }
.calc-lines {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}
.calc-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.calc-cta {
  display: grid;
  gap: 10px;
  margin: 8px 0 12px;
}
.calc-offer { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.calc-help { margin-top: 22px; }
.calc-help a { color: var(--ink); font-weight: 700; }
@media (max-width: 800px) {
  .calc-card { padding: 22px 18px 26px; }
  .calc-choices { grid-template-columns: 1fr; }
  .calc-price { font-size: 2rem; }
  .calc-deals { grid-template-columns: 1fr; }
}
.product { display: flex; flex-direction: column; min-height: 280px; }
.product h3 { margin: 8px 0; }
.muted { color: var(--ink-soft); }
.price { font-family: var(--serif); font-size: 1.7rem; margin-top: auto; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}
.chip.on { background: var(--night); color: var(--bone); border-color: var(--night); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cart-svc { margin-top: 8px; font-size: 0.86rem; color: var(--ink-soft); }
.cart-svc select { width: min(100%, 320px); }
th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }

.site-footer {
  background: var(--night);
  color: #b9b2a6;
  padding: 48px 0 56px;
}
.site-footer a, .site-footer strong { color: #f3eee4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }

.form { display: grid; gap: 12px; }
.contact-choices {
  border: 0;
  margin: 0 0 4px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.contact-choices legend {
  padding: 0;
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 1rem;
}
.contact-choices .req { color: var(--copper, #b87333); }
.contact-choice {
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
}
.contact-choice input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 3px;
  flex: 0 0 auto;
}
label { display: grid; gap: 6px; font-size: 0.92rem; }
input, select, textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 0.72rem 0.8rem;
}
.notice {
  padding: 14px 16px;
  border-radius: 4px;
  background: #efe6d3;
  border: 1px solid var(--line);
}

.status {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.76rem;
  background: var(--bone-2);
}
.status.ok { background: #d9efe4; color: var(--ok); }
.status.warn { background: #f3e2c4; color: var(--warn); }
.status.bad { background: #f3d4d4; color: var(--bad); }
.status.info { background: #efe6d3; color: #6a5424; }

.phone-shell {
  width: min(420px, 100%);
  margin: 0 auto;
  background: var(--night);
  border-radius: 36px;
  padding: 14px 12px 18px;
  box-shadow: var(--shadow);
}
.phone-bar { color: #d8c9a6; display: flex; justify-content: space-between; font-size: 0.78rem; padding: 4px 14px 10px; }
.phone-screen {
  background: #f6f1e7;
  min-height: 640px;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-top { padding: 18px 16px 10px; display: flex; justify-content: space-between; align-items: center; }
.app-body { padding: 8px 14px 16px; flex: 1; overflow: auto; }
.app-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 10px;
  background: #e8e0d1;
}
.app-tabs button {
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 8px 4px;
  font-size: 0.7rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.app-tabs button.on { background: var(--card); color: var(--ink); }
.list-item {
  background: var(--card);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}
.row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.hidden { display: none !important; }
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--night);
  color: var(--bone);
  padding: 12px 16px;
  border-radius: 4px;
  z-index: 80;
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.split.split-stack {
  grid-template-columns: 1fr;
  gap: 16px;
}
.split.split-stack .split-copy { max-width: 40rem; }
.block-center .split.split-stack .split-copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.block-center .split.split-stack .pic-wrap {
  margin-left: auto;
  margin-right: auto;
}
.pic-with-cap { display: grid; gap: 12px; }
.pic-with-cap .pic-caption .kicker { margin: 0; }
.pic-with-cap .pic-caption h2 { margin: 4px 0 0; }
.block-center .pic-with-cap .pic-caption { text-align: center; }
.page-intro { padding: 48px 0 10px; }
.band-light { background: var(--bone-2); }

.admin-body { background: var(--night); color: #ece7dc; min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side {
  padding: 28px 20px;
  border-right: 1px solid #262a31;
  background: #0f1115;
}
.admin-side h1 { font-size: 2rem; margin: 0 0 6px; color: #f6f1e7; }
.admin-side p { color: #c4bbae; margin: 0 0 28px; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav button {
  text-align: left;
  border: 0;
  background: transparent;
  color: #e4ddd0;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.admin-nav button.on, .admin-nav button:hover { background: #1b1f26; color: var(--gold-2); }
.admin-side { overflow: auto; }
.admin-drop.open .admin-subnav { display: grid; }
.admin-subnav {
  display: none;
  gap: 2px;
  padding: 4px 0 8px 10px;
}
.admin-sub {
  text-align: left;
  border: 0;
  background: transparent;
  color: #cfc6b6;
  padding: 7px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}
.admin-sub.on, .admin-sub:hover { background: #1b1f26; color: var(--gold-2); }
.admin-sub.is-off { opacity: 0.55; }
.admin-sub-new { color: var(--gold-2); }
.admin-sub-child { padding-left: 22px; font-size: 0.86rem; }
.admin-main { padding: 32px 36px 60px; color: #f3eee4; font-size: 1.05rem; line-height: 1.55; }
.admin-main.is-studio {
  padding: 0;
  overflow: hidden;
  max-height: 100vh;
}
.page-studio {
  display: grid;
  grid-template-columns: minmax(420px, 560px) 1fr;
  height: 100vh;
}
.page-edit {
  overflow: auto;
  min-height: 0;
  min-width: 0;
  padding: 24px 20px 56px;
}
.page-edit > h2,
.page-edit > h3 { color: #fffaf2; }
.page-edit > p,
.page-edit > .muted { color: #d8d0c2; }
.page-preview-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #111318;
  border-left: 1px solid #262a31;
}
.page-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #e4ddd0;
  font-size: 0.86rem;
}
.page-preview-bar a { color: var(--gold-2); }
.page-preview {
  flex: 1;
  width: 100%;
  border: 0;
  background: var(--bone);
}
.admin-main > h2,
.admin-main > h3 { color: #fffaf2; }
.admin-main > p,
.admin-main > .muted { color: #d8d0c2; }
.admin-main .card,
.admin-main .list-item {
  color: #14161a;
  background: #fffaf2;
}
.admin-main .card h2,
.admin-main .card h3,
.admin-main .list-item h3 { color: #14161a; }
.admin-main .card .muted,
.admin-main .list-item .muted,
.admin-main .card p,
.admin-main .list-item p { color: #3f3c36; }
.admin-main label { color: #14161a; font-weight: 600; font-size: 0.98rem; }
.admin-main input,
.admin-main select,
.admin-main textarea {
  color: #14161a;
  background: #fff;
  border: 1px solid #b9b1a3;
  font-size: 1.05rem;
  line-height: 1.45;
  padding: 0.85rem 0.9rem;
  color-scheme: light;
  width: 100%;
  min-width: 0;
}
.admin-main .btn {
  background: #fffaf2;
  color: #14161a;
  border-color: #c4bbae;
}
.admin-main .btn-ghost {
  background: #fffaf2;
  color: #14161a;
  border-color: #c4bbae;
}
.admin-main .btn-copper,
.admin-main .btn-pine {
  background: var(--gold);
  color: #1a1408;
  border-color: var(--gold);
}
.admin-main .card .btn,
.admin-main .card .btn-ghost {
  background: #fff;
  color: #14161a;
  border-color: #b9b1a3;
}
.admin-main .card .btn-copper {
  background: var(--gold);
  color: #1a1408;
  border-color: var(--gold);
}
.admin-side .btn-ghost {
  color: #f3eee4;
  border-color: #4a4f58;
  background: transparent;
}
.add-blocks .btn {
  background: #fffaf2;
  color: #14161a;
  border-color: #d8d0c2;
}
.admin-main input:focus,
.admin-main select:focus,
.admin-main textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.admin-main table { color: #14161a; }
.admin-main th { color: #5c584f; }
.admin-main code { color: #3f3c36; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.cust-list { display: grid; gap: 8px; }
.cust-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; text-align: left; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(0,0,0,.08); background: #fff; cursor: pointer; color: inherit;
}
.cust-row:hover, .cust-row.on { border-color: rgba(201,162,90,.55); background: #fbf8f2; }
.stat {
  background: var(--night-2);
  border: 1px solid #262a31;
  padding: 18px;
  color: #d8d0c2;
}
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-2); }
.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.admin-login .card {
  width: min(420px, 100%);
  background: #14171c;
  border-color: #2a2f38;
  color: #f3eee4;
}
.admin-login .muted { color: #d8d0c2; }
.admin-login input { background: #0b0d10; color: #fff; border-color: #2a2f38; }
.shop-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}
.shop-save {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.prod-card { margin-bottom: 10px; padding: 0; overflow: hidden; }
.prod-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
}
.prod-feat {
  white-space: nowrap;
  font-size: 0.82rem;
}
.prod-head {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.prod-head strong { display: block; }
.prod-head .thumb { width: 56px; height: 56px; }
.prod-ph { display: block; background: var(--bone-2); }
.prod-chev {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.prod-body { display: none; padding: 0 16px 16px; border-top: 1px solid var(--line); }
.prod-card.open .prod-body { display: block; padding-top: 16px; }
.prod-top {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}
.prod-fields { display: grid; gap: 10px; }
.prod-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cat-admin { margin: 0 0 16px; padding: 16px; }
.cat-admin form { align-items: end; margin-top: 10px; }
.chip-x {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0 0 6px;
}
.prod-svc {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 6px 0 14px;
}
.chk {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.chk input { width: auto; margin: 0; }
.offer-pick {
  display: grid;
  gap: 4px;
  max-height: 280px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid #b9b1a3;
  background: #fff;
  color: #14161a;
}
.offer-pick-cat {
  margin: 10px 0 2px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6558;
}
.offer-pick-cat:first-child { margin-top: 0; }
.admin-main input[type="checkbox"], .admin-main input[type="radio"] { width: auto; }
.prod-card .kicker { margin: 12px 0 4px; }
.prod-fp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.parts { margin: 22px 0 8px; }
.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.part-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bone, #f3eee4);
}
.part-card img,
.part-ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}
.part-card strong { font-size: 0.95rem; }
.part-fp {
  color: var(--gold-2, #c9a25a);
  font-weight: 700;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero, .grid-3, .grid-4, .grid-2, .split, .footer-grid, .admin-shell, .admin-stats, .prod-top, .prod-svc, .prod-fp, .prod-price, .about-copy, .page-studio, .layout-row, .page-flow, .page-flow-pair { grid-template-columns: 1fr; }
  .slot-full, .slot-half, .slot-third,
  .slot-half.slot-place-left, .slot-half.slot-place-center, .slot-half.slot-place-right,
  .slot-third.slot-place-left, .slot-third.slot-place-center, .slot-third.slot-place-right { grid-column: 1 / -1; }
  .admin-main.is-studio { max-height: none; overflow: visible; }
  .page-studio { height: auto; }
  .page-preview { min-height: 70vh; }
  .offer-slide { flex-basis: 100%; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; padding: 6px 0 0 12px; }
  .nav { flex-wrap: wrap; padding: 10px 0; }
  .nav-links { width: 100%; }
}
