/* JB Granite Tombstones — Built to honour. Made to last. */

@font-face {
  font-family: "JB Algerian";
  src: url("/Assets/fonts/Algerian-Regular.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Algerian";
  src: url("/Assets/fonts/Algerian-Regular.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Algerian Regular";
  src: url("/Assets/fonts/Algerian-Regular.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

.sketch-font-arial,
.sketch-font-arial .sketch-block-label,
.sketch-font-arial span {
  font-family: Arial, Helvetica, sans-serif !important;
}

.sketch-font-algerian,
.sketch-font-algerian .sketch-block-label,
.sketch-font-algerian span {
  font-family: "JB Algerian", "Algerian Regular", Algerian, "Times New Roman", serif !important;
  /* Algerian glyph set is capitals — keep letterforms on this face */
  text-transform: uppercase;
}

:root {
  --bg: #0c0c0e;
  --stone: #16161a;
  --stone-deep: #0e0e12;
  --stone-edge: #2c2c34;
  --blue: #2f62e8;
  --blue-bright: #4d7fff;
  --blue-deep: #1a3fb8;
  --gold: #d4a017;
  --gold-bright: #f0c45a;
  --gold-deep: #b8860b;
  --amber: #e8a020;
  --fg: #f4f2ec;
  --muted: #a8a49a;
  --header-h: 5rem;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 68rem;
  --blend: screen;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

html.no-js .reveal {
  opacity: 1;
  transform: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg);
  background: #0c0c0e;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

body.is-loading {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

/* —— Background —— */
.bg-main {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #0c0c0e;
}

.bg-main-video {
  position: absolute;
  inset: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  object-fit: cover;
  opacity: 0.5;
  filter: blur(10px);
  transform: scale(1.06);
}

.bg-main-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 50% 35%, rgba(12, 12, 14, 0.2), rgba(12, 12, 14, 0.55)),
    linear-gradient(180deg, rgba(12, 12, 14, 0.35) 0%, rgba(12, 12, 14, 0.55) 55%, rgba(12, 12, 14, 0.88) 100%);
}

.site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere-grain {
  display: none;
}

.atmosphere-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: glow-drift 14s var(--ease) infinite alternate;
}

.atmosphere-glow--blue {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -8%;
  left: -10%;
  background: radial-gradient(circle, rgba(47, 98, 232, 0.22), transparent 70%);
}

.atmosphere-glow--gold {
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  right: -8%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.16), transparent 70%);
  animation-delay: -4s;
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, 18px) scale(1.08); }
}

/* —— Loader —— */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(47, 98, 232, 0.16), transparent 62%),
    radial-gradient(ellipse 40% 35% at 70% 70%, rgba(212, 160, 23, 0.1), transparent 60%),
    #121214;
  opacity: 0;
  animation: loader-fade-in 0.55s var(--ease) forwards;
  transition: opacity 0.65s var(--ease), visibility 0.65s var(--ease);
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

.loader-mark {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  width: min(68vw, 200px);
  opacity: 0;
  animation: loader-fade-in 0.7s var(--ease) 0.15s forwards;
}

.page-loader.is-done .loader-mark {
  animation: loader-fade-out 0.55s var(--ease) forwards;
}

.loader-letters {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.3rem;
  height: 56px;
  width: min(40vw, 112px);
}

.loader-letter {
  width: 38%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: var(--blend);
  transform-origin: center bottom;
  will-change: transform;
}

.loader-letter--j {
  animation: letter-jump-j 1.35s cubic-bezier(0.33, 1, 0.68, 1) infinite;
}

.loader-letter--b {
  animation: letter-jump-b 1.35s cubic-bezier(0.33, 1, 0.68, 1) infinite;
}

.page-loader.is-done .loader-letter--j,
.page-loader.is-done .loader-letter--b {
  animation-play-state: paused;
}

@keyframes loader-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes loader-fade-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

/* Subtle professional bounce — J then B */
@keyframes letter-jump-j {
  0%, 10% {
    transform: translateY(0) scale(1, 1);
  }
  18% {
    transform: translateY(0) scale(1.03, 0.96);
  }
  36% {
    transform: translateY(-14px) scale(0.98, 1.03);
  }
  48% {
    transform: translateY(0) scale(1.04, 0.95);
  }
  56%, 100% {
    transform: translateY(0) scale(1, 1);
  }
}

@keyframes letter-jump-b {
  0%, 52% {
    transform: translateY(0) scale(1, 1);
  }
  60% {
    transform: translateY(0) scale(1.03, 0.96);
  }
  78% {
    transform: translateY(-14px) scale(0.98, 1.03);
  }
  90% {
    transform: translateY(0) scale(1.04, 0.95);
  }
  100% {
    transform: translateY(0) scale(1, 1);
  }
}

.loader-meter {
  width: 100%;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.loader-track {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(77, 127, 255, 0.15);
}

.loader-fill {
  height: 100%;
  width: 1%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright), var(--gold-bright), var(--gold));
  box-shadow: 0 0 16px rgba(77, 127, 255, 0.45), 0 0 18px rgba(240, 196, 90, 0.35);
  transition: width 0.05s linear;
}

.loader-percent {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  background: linear-gradient(135deg, #9bb6ff, var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Tombstone top bar —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.header-arch {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(420px, 70vw);
  height: 14px;
  transform: translateX(-50%);
  border: 1.5px solid rgba(240, 196, 90, 0.45);
  border-top: 0;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(22, 22, 26, 0.96), rgba(14, 14, 18, 0.92));
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(212, 160, 23, 0.28);
  box-shadow:
    0 1px 0 rgba(47, 98, 232, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.site-header.is-scrolled .header-arch {
  opacity: 1;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  mix-blend-mode: var(--blend);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.brand-word {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-word-main {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #9bb6ff, var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-word-sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: none;
  gap: 0.35rem;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-bright), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover {
  color: var(--fg);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
  margin-left: 0.35rem;
  padding: 0.65rem 1.15rem;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #12100a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--amber));
  box-shadow: 0 0 24px rgba(212, 160, 23, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(240, 196, 90, 0.4);
}

.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(240, 196, 90, 0.28);
  background: rgba(22, 22, 26, 0.55);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--gold-bright));
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1.25rem 1.35rem;
  background: rgba(14, 14, 18, 0.97);
  border-bottom: 1px solid rgba(212, 160, 23, 0.25);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 0.9rem 0.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:hover {
  color: var(--gold-bright);
}

.mobile-cta {
  margin-top: 0.55rem;
  border-bottom: 0 !important;
  text-align: center;
  padding: 0.9rem !important;
  color: #12100a !important;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

@media (min-width: 860px) {
  .brand-word,
  .site-nav,
  .header-cta {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav,
  .mobile-nav.is-open {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-sticky {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 0.35rem) 0.75rem 1.5rem;
}

.logo-stage {
  --fade: 0;
  width: min(96vw, 720px);
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  text-align: center;
  opacity: calc(1 - var(--fade) * 0.85);
  transform: translateY(calc(var(--fade) * -2rem)) scale(calc(1 - var(--fade) * 0.04));
  transition: opacity 0.15s linear;
}

.logo-full {
  width: min(94vw, 640px);
  mix-blend-mode: var(--blend);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
  opacity: 0;
  transform: scale(0.88) translateY(18px);
}

body.is-ready .logo-full {
  animation: logo-pop 1s var(--ease) 0.15s forwards;
}

@keyframes logo-pop {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(18px);
  }
  60% {
    opacity: 1;
    transform: scale(1.04) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.scroll-wonders {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  opacity: 0;
  color: var(--gold-bright);
}

body.is-ready .scroll-wonders {
  animation: wonders-in 0.9s var(--ease) 0.75s forwards;
}

@keyframes wonders-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.scroll-wonders-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffe08a, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scroll-wonders-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 40px;
  animation: arrow-bob 1.7s var(--ease) infinite;
}

.scroll-wonders-arrow svg {
  width: 22px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(240, 196, 90, 0.45));
}

@keyframes arrow-bob {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: #12100a;
  background: linear-gradient(135deg, #ffe08a 0%, var(--gold-bright) 28%, var(--gold) 62%, var(--amber) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 224, 138, 0.25) inset,
    0 8px 28px rgba(212, 160, 23, 0.35);
}

.btn-gold:hover {
  box-shadow:
    0 0 0 1px rgba(255, 224, 138, 0.4) inset,
    0 12px 36px rgba(240, 196, 90, 0.45);
}

.btn-ghost {
  color: var(--fg);
  background: rgba(18, 18, 22, 0.45);
  border-color: rgba(77, 127, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--blue-bright);
  background: rgba(47, 98, 232, 0.14);
  box-shadow: 0 0 24px rgba(47, 98, 232, 0.2);
}

/* —— Right phase rail —— */
.phase-rail {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem 0.55rem;
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.82), rgba(14, 14, 18, 0.9));
  border: 1px solid rgba(212, 160, 23, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.phase-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.phase-dot-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(240, 196, 90, 0.55);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.phase-dot.is-active .phase-dot-mark,
.phase-dot:hover .phase-dot-mark {
  background: linear-gradient(135deg, var(--gold-bright), var(--blue-bright));
  box-shadow: 0 0 12px rgba(240, 196, 90, 0.45);
  transform: scale(1.2);
}

.phase-dot-label {
  position: absolute;
  right: calc(100% + 0.75rem);
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  background: rgba(14, 14, 18, 0.92);
  border: 1px solid rgba(212, 160, 23, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.phase-dot:hover .phase-dot-label,
.phase-dot.is-active .phase-dot-label {
  opacity: 1;
  transform: none;
}

@media (min-width: 980px) {
  .phase-rail {
    display: flex;
  }

  body[data-page="home"] main {
    padding-right: 3.5rem;
  }
}

/* —— Fly to top —— */
.fly-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.25rem;
  z-index: 95;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  width: 52px;
  padding: 0.65rem 0.35rem 0.55rem;
  border: 1px solid rgba(240, 196, 90, 0.4);
  background: linear-gradient(180deg, rgba(28, 28, 34, 0.94), rgba(14, 14, 18, 0.96));
  color: var(--gold-bright);
  cursor: pointer;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(212, 160, 23, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, box-shadow 0.3s;
}

.fly-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.fly-top:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(240, 196, 90, 0.35);
}

.fly-top svg {
  width: 18px;
  height: 26px;
  animation: fly-bob 1.6s var(--ease) infinite;
}

.fly-top span {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffe08a, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes fly-bob {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .fly-top svg {
    animation: none;
  }
}

/* —— Stone tablet sections —— */
.section {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1rem 1.5rem;
}

.section-stone {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.75rem 1.35rem 2.5rem;
  background:
    linear-gradient(165deg, rgba(28, 28, 34, 0.72), rgba(14, 14, 18, 0.82));
  border: 1px solid rgba(212, 160, 23, 0.22);
  box-shadow:
    0 0 0 1px rgba(47, 98, 232, 0.08) inset,
    0 24px 60px rgba(0, 0, 0, 0.35);
  clip-path: polygon(
    0 18px,
    18px 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

.section-stone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: min(180px, 42%);
  height: 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(240, 196, 90, 0.4);
  border-top: 0;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  pointer-events: none;
}

.section-stone--tall {
  padding-bottom: 3rem;
}

.section-stone--wide {
  max-width: min(72rem, calc(100% - 2rem));
}

.section-inner {
  max-width: 38rem;
  margin: 0 auto;
}

/* —— About —— */
.about {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.about-layout {
  max-width: min(64rem, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .about-layout {
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 3rem;
  }
}

.quality-seal {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.quality-seal-svg {
  width: min(52vw, 190px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
}

.quality-seal-caption {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.about-copy .section-copy {
  margin-bottom: 1.15rem;
}

.about-lead {
  font-size: 1.12rem;
  color: #cfcabf;
}

/* —— Gate phase (craft + memorials) —— */
.craft-phase {
  padding: 3rem 1rem 4rem;
  overflow: hidden;
}

.gate-pair {
  max-width: min(72rem, calc(100% - 1rem));
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .gate-pair {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.gate-panel {
  max-width: none;
  margin: 0;
  height: 100%;
}

.gate-panel--left,
.gate-panel--right {
  opacity: 0;
  transition:
    transform 1s var(--ease),
    opacity 0.9s var(--ease);
}

.gate-panel--left {
  transform: translateX(-18vw);
}

.gate-panel--right {
  transform: translateX(18vw);
}

.gate-pair.is-open .gate-panel--left,
.gate-pair.is-open .gate-panel--right {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  .gate-panel--left,
  .gate-panel--right {
    transform: translateY(40px);
  }
}

/* —— Location —— */
.location-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .location-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
    align-items: center;
  }
}

.location-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.location-meta li {
  display: grid;
  gap: 0.15rem;
  padding-left: 0.9rem;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--blue-bright), var(--gold)) 1;
  color: var(--fg);
  font-size: 0.98rem;
}

.location-meta span {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.map-frame {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(212, 160, 23, 0.28);
  background: rgba(10, 10, 14, 0.75);
  overflow: hidden;
  clip-path: polygon(
    0 14px,
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.map-embed {
  display: block;
  width: 100%;
  height: min(42vh, 360px);
  border: 0;
}

.map-note {
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 12, 14, 0.85);
}

/* —— Contacts —— */
.contact-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .contact-cards {
    grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  }
}

.location-directions {
  margin-top: 1.25rem;
  width: fit-content;
}

.enquire-direct {
  display: grid;
  gap: 1rem;
}

.enquire-direct .contact-cards {
  gap: 1rem;
}

.owner-contact-form .opt-title {
  margin: 1.5rem 0 0.35rem;
}

.owner-contact-form .opt-title:first-child {
  margin-top: 0;
}

.owner-contact-tools {
  margin: 0 0 1rem;
}

.owner-map-preview {
  margin-bottom: 0.5rem;
}

.hours-edit-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.4rem;
}

.hours-edit-row {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem 0.95rem;
  background: rgba(10, 10, 14, 0.45);
  border: 1px solid rgba(240, 196, 90, 0.14);
}

@media (min-width: 720px) {
  .hours-edit-row {
    grid-template-columns: 10rem auto 1fr;
    align-items: center;
  }
}

.hours-edit-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.hours-edit-times {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.hours-edit-times input[type="time"] {
  width: auto;
  min-width: 8.5rem;
  padding: 0.55rem 0.7rem;
  color: var(--fg);
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid rgba(240, 196, 90, 0.2);
  color-scheme: dark;
}

.hours-edit-times span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hours-closed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.hours-edit-row.is-locked {
  opacity: 0.72;
}

.hours-edit-fixed {
  margin: 0;
  color: var(--fg);
  font-weight: 500;
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1rem;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(240, 196, 90, 0.18);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

a.contact-card:hover {
  border-color: rgba(77, 127, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.contact-card-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.contact-card-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg);
}

.contact-card-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.section-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.section-copy {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 36rem;
}

.text-gold {
  background: linear-gradient(135deg, #ffe08a, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-blue {
  background: linear-gradient(135deg, #9bb6ff, var(--blue-bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.craft-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.craft-points li {
  padding: 1rem 0 1rem 1.15rem;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--blue-bright), var(--gold)) 1;
  background: linear-gradient(90deg, rgba(47, 98, 232, 0.06), transparent 70%);
}

.craft-point-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.craft-point-text {
  display: block;
  color: var(--muted);
  font-weight: 300;
  font-size: 0.98rem;
}

.memorial-stage {
  margin-top: 0.5rem;
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(47, 98, 232, 0.2);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}

.memorial-mark {
  width: min(40vw, 140px);
  mix-blend-mode: var(--blend);
  animation: stone-glow 5s ease-in-out infinite;
}

@keyframes stone-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(47, 98, 232, 0.25)); }
  50% { filter: drop-shadow(0 0 18px rgba(212, 160, 23, 0.35)); }
}

.memorial-caption {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-inner {
  max-width: 34rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.field-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(240, 196, 90, 0.2);
  border-radius: 0;
  background: rgba(10, 10, 14, 0.7);
  backdrop-filter: blur(8px);
  outline: none;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(77, 127, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 98, 232, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  clip-path: none;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

.form-note {
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.95rem;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.25rem 2.5rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(212, 160, 23, 0.18);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}

.footer-logo {
  width: 110px;
  height: auto;
  mix-blend-mode: var(--blend);
}

.footer-slogan {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: 0.08em;
}

.footer-bar {
  margin: 0 0.55rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-copy {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Inner pages —— */
.page {
  padding-top: calc(var(--header-h) + 1.25rem);
}

.page-head {
  max-width: min(64rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 1rem;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumb a:hover {
  color: var(--gold-bright);
}

.crumb span[aria-hidden] {
  color: rgba(255, 255, 255, 0.25);
}

.page-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.panel-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section--flush {
  max-width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.site-nav a.is-current {
  color: var(--gold-bright);
}

.site-nav a.is-current::after {
  transform: scaleX(1);
}

.mobile-nav a.is-current {
  color: var(--gold-bright);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  margin-top: 0.35rem;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

/* —— Route cards —— */
.route-cards {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 760px) {
  .route-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.route-card {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.4rem 1.2rem;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(240, 196, 90, 0.18);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

a.route-card:hover {
  border-color: rgba(77, 127, 255, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.route-step {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--blue-bright);
}

.route-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.route-text {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.route-go {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffe08a, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Filters, chips, sorting —— */
.shop-bar,
.desk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.5rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid rgba(212, 160, 23, 0.22);
  cursor: pointer;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.chip:hover {
  color: var(--fg);
  border-color: rgba(77, 127, 255, 0.45);
}

.chip.is-active {
  color: #12100a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
}

.shop-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-left: auto;
}

.shop-search input {
  min-width: 9rem;
  width: min(14rem, 46vw);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  background: rgba(10, 10, 14, 0.8);
  border: 1px solid rgba(240, 196, 90, 0.22);
  outline: none;
}

.shop-search input:focus {
  border-color: rgba(77, 127, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 98, 232, 0.18);
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

select {
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  background: rgba(10, 10, 14, 0.8);
  border: 1px solid rgba(240, 196, 90, 0.22);
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s;
}

select:focus {
  border-color: rgba(77, 127, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 98, 232, 0.18);
}

.field select {
  width: 100%;
}

/* Owner product edit — readable category + tag controls */
.owner-body .field select,
.owner-body select[data-product-category] {
  background: #f0c45a;
  color: #10100c;
  border-color: rgba(212, 160, 23, 0.85);
  font-weight: 600;
}

.owner-body .field select option,
.owner-body select[data-product-category] option {
  background: #f0c45a;
  color: #10100c;
}

.owner-body .extra {
  background: #f0c45a;
  border-color: rgba(160, 120, 20, 0.55);
  color: #10100c;
}

.owner-body .extra:hover {
  border-color: rgba(80, 60, 10, 0.65);
  background: #f4d06a;
}

.owner-body .extra.is-active {
  background: #ffe08a;
  border-color: #10100c;
  box-shadow: inset 0 0 0 1px rgba(16, 16, 12, 0.2);
}

.owner-body .extra .opt-name {
  color: #10100c;
}

/* —— Shop —— */
.product-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

body[data-page="shop"] .section--flush {
  max-width: min(96rem, calc(100% - 1rem));
}

@media (min-width: 680px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.product-grid .product-body {
  gap: 0.35rem;
  padding: 0.65rem 0.55rem 0.8rem;
}

.product-grid .product-name {
  font-size: 0.92rem;
}

.product-grid .product-tagline,
.product-grid .product-hint,
.product-grid .product-switch-note {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-grid .product-hint,
.product-grid .product-code-line {
  display: none;
}

.product-grid .product-actions .btn {
  width: 100%;
  padding: 0.55rem 0.4rem;
  font-size: 0.58rem;
}

@media (max-width: 1099px) {
  .product-grid .product-cat {
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .product-grid .product-name {
    font-size: 0.72rem;
  }

  .product-grid .product-tagline,
  .product-grid .product-switch-note,
  .product-grid .product-meta dt {
    display: none;
  }

  .product-grid .product-meta dd {
    font-size: 0.78rem;
  }
}

.product-card,
.gallery-item {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.72), rgba(14, 14, 18, 0.86));
  border: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  clip-path: polygon(
    0 14px,
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.product-card:hover,
.gallery-item:hover {
  border-color: rgba(77, 127, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4);
}

.product-card.is-special {
  border-color: rgba(240, 196, 90, 0.9);
  animation: special-side-glow 2.1s ease-in-out infinite;
}

.product-card.is-special:hover {
  border-color: rgba(240, 196, 90, 1);
}

.product-special-note {
  margin: 0.35rem 0 0;
  color: var(--gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

@keyframes special-side-glow {
  0%,
  100% {
    box-shadow:
      inset 14px 0 22px rgba(240, 196, 90, 0.28),
      inset -14px 0 22px rgba(240, 196, 90, 0.28),
      0 18px 44px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow:
      inset 22px 0 32px rgba(240, 196, 90, 0.62),
      inset -22px 0 32px rgba(240, 196, 90, 0.62),
      0 0 26px rgba(212, 160, 23, 0.45);
  }
}

.product-stage,
.gallery-stage {
  padding: 0.75rem 0.75rem 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(47, 98, 232, 0.1), transparent 70%);
}

.product-stage:has(.product-png-wrap) {
  padding: 0;
  background: none;
}

.stone-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
}

.product-body,
.gallery-body {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem 1.4rem;
  flex: 1;
}

.product-cat,
.gallery-meta {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.product-name,
.gallery-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

.product-tagline,
.gallery-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 300;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 0.35rem 0 0;
}

.product-meta dt {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-meta dd {
  margin: 0.15rem 0 0;
  font-size: 1rem;
  font-weight: 500;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-actions .btn {
  padding: 0.7rem 1.05rem;
  font-size: 0.7rem;
}

.product-addons {
  margin: 0.85rem 0 0;
  padding: 0;
  border: 0;
}

.product-addons legend {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(240, 196, 90, 0.22);
  background: rgba(10, 10, 14, 0.4);
}

/* —— Enquiries —— */
.enquire-layout {
  display: grid;
  gap: 1.5rem;
  max-width: min(72rem, calc(100% - 1rem));
  margin: 0 auto;
}

@media (min-width: 940px) {
  .enquire-layout {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }
}

.enquire-layout .section-stone,
.editor-layout .section-stone {
  max-width: none;
  margin: 0;
}

.enquire-side {
  display: grid;
  gap: 1.25rem;
}

.side-stone {
  padding: 1.85rem 1.35rem;
}

.contact-cards--stack {
  grid-template-columns: 1fr !important;
}

.step-list {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.step-list li {
  position: relative;
  counter-increment: step;
  padding-left: 2.5rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 300;
}

.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}

.step-list span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.design-attach {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  background: rgba(47, 98, 232, 0.08);
  border: 1px solid rgba(77, 127, 255, 0.3);
}

.design-attach p {
  margin: 0;
  color: var(--fg);
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge-gold {
  color: #12100a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: transparent;
}

.badge-blue {
  color: #eaf0ff;
  background: rgba(47, 98, 232, 0.28);
  border-color: rgba(77, 127, 255, 0.45);
}

.link-btn {
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(77, 127, 255, 0.4);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.link-btn:hover {
  color: var(--gold-bright);
  border-color: rgba(240, 196, 90, 0.6);
}

.link-btn--danger {
  color: #e08a7d;
  border-color: rgba(224, 138, 125, 0.4);
}

.link-btn--danger:hover {
  color: #f0a396;
  border-color: rgba(240, 163, 150, 0.7);
}

.form-result {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: 1.5rem 1.35rem;
  background: rgba(212, 160, 23, 0.07);
  border: 1px solid rgba(240, 196, 90, 0.3);
}

.form-result h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.form-result p {
  margin: 0;
  color: var(--muted);
  font-weight: 300;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.form-error {
  margin: 0;
  color: #e08a7d;
  font-size: 0.92rem;
}

/* —— Designer —— */
.editor-layout {
  display: grid;
  gap: 1.5rem;
  max-width: min(76rem, calc(100% - 1rem));
  margin: 0 auto;
}

@media (min-width: 1000px) {
  .editor-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }

  .editor-stage-wrap {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.editor-stage {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem 1.35rem 1.75rem;
}

.stage-frame {
  background:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(47, 98, 232, 0.12), transparent 70%),
    rgba(8, 8, 11, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem;
}

.stage-caption {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-block {
  display: grid;
  gap: 0.5rem;
  padding: 1rem 1.15rem;
  background: rgba(10, 10, 14, 0.6);
  border: 1px solid rgba(240, 196, 90, 0.22);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.price-row span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-row strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-note {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.stage-actions .btn {
  padding: 0.75rem 1.1rem;
  font-size: 0.7rem;
}

.saved-note {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  padding: 1rem 1.15rem;
  background: rgba(47, 98, 232, 0.08);
  border: 1px solid rgba(77, 127, 255, 0.28);
}

.saved-note p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
}

.saved-note strong {
  color: var(--gold-bright);
}

.editor-panel {
  display: grid;
  gap: 1.1rem;
}

.opt-group {
  padding: 1.5rem 1.3rem;
}

.opt-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

.opt-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}

.swatch-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}

.opt {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  text-align: left;
  background: rgba(10, 10, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.opt:hover {
  border-color: rgba(77, 127, 255, 0.45);
  transform: translateY(-1px);
}

.opt.is-active {
  border-color: rgba(240, 196, 90, 0.7);
  background: rgba(212, 160, 23, 0.1);
  box-shadow: 0 0 0 1px rgba(240, 196, 90, 0.25) inset;
}

.opt-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.opt-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
}

.swatch-chip {
  display: block;
  width: 100%;
  height: 26px;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.toggle-row input {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.toggle-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.toggle-row em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
}

.extra-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.extra-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
}

.extra {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.15rem 0.7rem;
  padding: 0.75rem 0.85rem;
  background: rgba(10, 10, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.extra:hover {
  border-color: rgba(77, 127, 255, 0.4);
}

.extra.is-active {
  border-color: rgba(240, 196, 90, 0.6);
  background: rgba(212, 160, 23, 0.08);
}

.extra input {
  grid-row: span 2;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* Product Add-on Custom Pricing Table */
.product-addon-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.product-addon-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(14, 14, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.2s ease;
}

.product-addon-card.is-active {
  border-color: rgba(212, 160, 23, 0.5);
  background: rgba(212, 160, 23, 0.08);
}

.product-addon-check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--fg);
}

.product-addon-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.product-addon-price-field {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-addon-currency {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.product-addon-input {
  width: 7.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.88rem;
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--fg);
}

.product-addon-input:focus {
  border-color: var(--gold-bright);
  outline: none;
}

.product-addon-input:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.05);
}

.opt-hint {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--muted);
}

.summary-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.summary-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-list dt {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-size: 0.92rem;
}

/* —— Gallery —— */
.rating-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
}

.stars {
  margin: 0;
  color: var(--gold-bright);
  letter-spacing: 0.16em;
  font-size: 0.95rem;
}

.stars--lg {
  font-size: 1.35rem;
}

.rating-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.rating-count {
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.gallery-sketch {
  position: relative;
}

.sketch-tag {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(10, 10, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-review {
  margin: 0.6rem 0 0;
  padding: 0.9rem 1rem;
  background: rgba(10, 10, 14, 0.5);
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--blue-bright), var(--gold)) 1;
}

.gallery-review p {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--fg);
}

.gallery-review cite {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-body .btn {
  justify-self: start;
  margin-top: 0.75rem;
  padding: 0.7rem 1.05rem;
  font-size: 0.68rem;
}

.review-wall {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .review-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .review-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  margin: 0;
  padding: 1.2rem 1.15rem;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(240, 196, 90, 0.16);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.review-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--fg);
}

.review-card figcaption {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* —— Owner desk —— */
.owner-login {
  min-height: 68vh;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(30rem, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.35rem;
}

.login-card .contact-form {
  width: 100%;
  margin-top: 0.75rem;
  justify-items: center;
}

.login-card .field {
  width: 100%;
  text-align: left;
}

.login-card .contact-form .btn {
  justify-self: center;
}

.login-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: var(--blend);
  margin-bottom: 0.5rem;
}

.header-cta--btn {
  border: 0;
  cursor: pointer;
}

.stat-row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0.85rem;
}

@media (min-width: 600px) {
  .stat-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.7), rgba(14, 14, 18, 0.85));
  border: 1px solid rgba(212, 160, 23, 0.2);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  min-width: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, #9bb6ff, var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desk-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.desk-list {
  display: grid;
  gap: 1.1rem;
}

.record {
  display: grid;
  gap: 1rem;
  padding: 1.4rem 1.35rem;
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.72), rgba(14, 14, 18, 0.86));
  border: 1px solid rgba(212, 160, 23, 0.2);
  clip-path: polygon(
    0 14px,
    14px 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% calc(100% - 14px),
    calc(100% - 14px) 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}

.record-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.record-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.record-sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.record-grid {
  display: grid;
  gap: 0.75rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin: 0;
}

.record-grid dt {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.record-grid dd {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  word-break: break-word;
}

.record-message {
  margin: 0;
  padding: 0.9rem 1rem;
  background: rgba(10, 10, 14, 0.55);
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--blue-bright), var(--gold)) 1;
  font-weight: 300;
  color: var(--fg);
}

.record-design {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 720px) {
  .record-design {
    grid-template-columns: minmax(0, 220px) 1fr;
  }
}

.record-sketch {
  background: rgba(8, 8, 11, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.35rem;
}

.record-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.record-actions .btn {
  padding: 0.6rem 0.95rem;
  font-size: 0.66rem;
}

/* —— Utilities —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Header actions & basket button —— */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.basket-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  color: var(--fg);
  background: rgba(10, 10, 14, 0.5);
  border: 1px solid rgba(240, 196, 90, 0.28);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.basket-btn:hover {
  color: var(--gold-bright);
  border-color: rgba(240, 196, 90, 0.6);
  background: rgba(240, 196, 90, 0.08);
}

.basket-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.count-badge {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.15rem;
  padding: 0 0.28rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  line-height: 1.15rem;
  text-align: center;
  color: #10100c;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold));
  border-radius: 999px;
}

.chip .count-badge,
.filter-bar .count-badge {
  position: static;
  margin-left: 0.35rem;
}

/* —— Basket drawer —— */
.basket-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 4, 6, 0);
  backdrop-filter: blur(0);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

.basket-overlay.is-open {
  background: rgba(4, 4, 6, 0.72);
  backdrop-filter: blur(6px);
}

.basket-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(30rem, 100%);
  height: 100%;
  padding: 1.5rem 1.25rem 2rem;
  overflow-y: auto;
  background: linear-gradient(170deg, rgba(26, 26, 32, 0.98), rgba(10, 10, 14, 0.99));
  border-left: 1px solid rgba(240, 196, 90, 0.22);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.basket-drawer.is-open {
  transform: translateX(0);
}

.basket-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.basket-head .panel-title {
  margin: 0.2rem 0 0;
}

.basket-close {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.basket-close:hover {
  color: var(--gold-bright);
  border-color: rgba(240, 196, 90, 0.5);
}

.basket-panel {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.basket-lines {
  display: grid;
  gap: 1rem;
}

.basket-empty {
  display: grid;
  justify-items: start;
  gap: 0.9rem;
  padding: 1.25rem;
  background: rgba(10, 10, 14, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.basket-line {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.9rem;
  padding: 0.9rem;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(240, 196, 90, 0.16);
}

.basket-line-sketch {
  background: rgba(6, 6, 9, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.basket-line-sketch .product-png-wrap {
  min-height: 8rem;
  aspect-ratio: 3 / 4;
}

.basket-line-sketch svg,
.basket-line-sketch .sketch-svg {
  display: block;
  width: 100%;
  height: auto;
}

.basket-line-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
}

.basket-line-meta {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.basket-line-price {
  margin: 0.35rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-bright);
}

.basket-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.qty-control button {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--fg);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.qty-control button:hover {
  color: var(--gold-bright);
}

.qty-control span {
  min-width: 1.2rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.basket-foot {
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* —— Shop additions —— */
.product-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-png-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-height: 18rem;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: rgba(10, 10, 14, 0.92);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-png-wrap .product-photo,
.product-photo--png {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  transform: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-photo--png.is-ready {
  opacity: 1;
}

.product-png-wrap::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  border-radius: 40% 40% 12% 12%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(212, 160, 23, 0.16) 40%,
    rgba(255, 255, 255, 0.04) 60%
  );
  background-size: 200% 100%;
  animation: stone-shimmer 1.4s ease-in-out infinite;
  pointer-events: none;
}

.product-png-wrap:has(.product-photo--png.is-ready)::before {
  opacity: 0;
  animation: none;
}

@keyframes stone-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

body[data-page="product"] .product-page-head {
  max-width: min(92rem, calc(100% - 1.5rem));
  padding: 0.35rem 0 0.15rem;
}

body[data-page="product"] .product-page-head .crumb {
  margin-bottom: 0;
}

body[data-page="product"] .section--flush {
  max-width: min(92rem, calc(100% - 1.5rem));
}

.product-detail {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.product-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(212, 160, 23, 0.28);
  background: rgba(10, 10, 14, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.product-hero .product-png-wrap,
.product-hero .stone-svg {
  width: 100%;
  min-height: 18rem;
  height: min(68vh, 36rem);
  aspect-ratio: auto;
}

.product-detail-copy {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  min-width: 0;
  padding: 1.15rem 1rem 1.3rem;
  border: 1px solid rgba(212, 160, 23, 0.22);
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.78), rgba(14, 14, 18, 0.9));
}

.product-detail-copy .page-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  overflow-wrap: anywhere;
}

.product-detail-copy .section-kicker {
  margin: 0;
}

.product-detail-copy .product-description {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.product-detail-copy .product-hint,
.product-detail-copy .product-switch-note,
.product-detail-copy .product-code-line,
.product-detail-copy .product-cat {
  overflow-wrap: anywhere;
}

@media (min-width: 960px) {
  .product-detail {
    grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.9fr);
    gap: 1.25rem;
    min-height: min(78vh, 46rem);
  }

  .product-hero,
  .product-hero .product-png-wrap,
  .product-hero .stone-svg {
    height: 100%;
    min-height: min(78vh, 46rem);
  }

  .product-detail-copy {
    padding: 2.25rem 2rem;
    min-height: min(78vh, 46rem);
  }

  .product-detail-copy .product-description {
    font-size: 1.16rem;
    line-height: 1.75;
  }
}

@media (max-width: 959px) {
  body[data-page="product"] .page {
    padding-top: calc(var(--header-h) + 0.35rem);
  }

  .product-hero .product-png-wrap,
  .product-hero .stone-svg {
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: 62vh;
    min-height: 14rem;
  }

  .product-detail-copy .product-actions .btn {
    width: 100%;
  }

  .product-detail-copy .link-btn {
    display: block;
    width: fit-content;
    max-width: 100%;
  }
}

.product-detail.is-special .product-hero {
  box-shadow:
    inset 18px 0 28px rgba(240, 196, 90, 0.38),
    inset -18px 0 28px rgba(240, 196, 90, 0.38);
}

.product-detail-copy .product-actions {
  margin-top: 0.4rem;
}

.product-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #10100c;
  background: linear-gradient(150deg, var(--gold-bright), var(--gold));
}

.product-stage {
  position: relative;
  display: block;
}

.product-open {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(8, 8, 11, 0), rgba(8, 8, 11, 0.92));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-stage:hover .product-open,
.product-stage:focus-visible .product-open {
  opacity: 1;
}

.product-hint {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.product-card.is-soldout .product-stage {
  filter: grayscale(0.5) brightness(0.8);
}

.empty--stone {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 2.75rem 1.5rem;
  text-align: center;
  background: rgba(14, 14, 18, 0.6);
  border: 1px solid rgba(240, 196, 90, 0.16);
}

.empty--stone h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

/* —— Editor additions —— */
.editor-mode {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  max-width: 42rem;
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(10, 10, 14, 0.55);
  border-left: 2px solid rgba(240, 196, 90, 0.5);
}

.editor-mode p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
}

/* —— Shop lock —— */
.shop-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(4, 4, 6, 0.9);
  backdrop-filter: blur(8px);
}

.shop-lock-card {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  max-width: 28rem;
  text-align: center;
}

.shop-lock-logo {
  object-fit: contain;
  mix-blend-mode: var(--blend);
}

/* —— Owner desk —— */
.owner-body .bg-main {
  opacity: 0.5;
}

.owner-body .section--flush {
  max-width: min(84rem, calc(100% - 2rem));
}

.owner-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.65rem 1.15rem;
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.88), rgba(16, 16, 20, 0.96));
  border: 1px solid rgba(212, 160, 23, 0.28);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.65rem;
}

.owner-topbar-info {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
}

.owner-topbar-info .section-kicker {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.owner-topbar-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  letter-spacing: 0.03em;
  color: var(--fg);
  line-height: 1.2;
}

.owner-topbar-sub {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.owner-topbar-info .save-status {
  margin: 0;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
}

.owner-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.owner-topbar-actions .btn {
  padding: 0.38rem 0.75rem;
  font-size: 0.8rem;
}

.btn-save-shop {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.25);
  transition: all 0.2s ease;
}

.btn-save-shop svg {
  width: 15px;
  height: 15px;
}

.btn-save-shop:hover:not(:disabled) {
  box-shadow: 0 0 24px rgba(212, 160, 23, 0.45);
  transform: translateY(-1px);
}

.btn-save-shop:disabled {
  opacity: 0.65;
  box-shadow: none;
  cursor: default;
}

.owner-stats-section {
  margin-bottom: 0.75rem;
}

.owner-desk-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .owner-desk-layout {
    grid-template-columns: 240px 1fr;
  }
}

.owner-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem;
  background: linear-gradient(165deg, rgba(26, 26, 32, 0.85), rgba(14, 14, 18, 0.95));
  border: 1px solid rgba(212, 160, 23, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  z-index: 2;
}

.owner-nav-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

@media (max-width: 899px) {
  .owner-nav-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .owner-sidebar {
    position: static;
  }
}

.owner-nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.owner-nav-btn:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.owner-nav-btn.is-active {
  color: var(--gold-bright);
  background: linear-gradient(90deg, rgba(212, 160, 23, 0.16), rgba(47, 98, 232, 0.06));
  border-color: rgba(212, 160, 23, 0.4);
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.12);
}

.owner-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.owner-nav-label {
  flex: 1;
}

.owner-nav-btn .count-badge {
  margin-left: auto;
}

.count-badge--blue {
  background: var(--blue-bright);
  color: #fff;
}

.owner-sidebar-status {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.owner-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.status-dot.is-locked {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.owner-signout-link {
  font-size: 0.8rem;
  padding: 0;
  text-align: left;
}

.owner-main-content {
  min-width: 0;
}

.stock-subnav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}

.shop-status-card {
  padding: 1.35rem 1.5rem;
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.75), rgba(14, 14, 18, 0.85));
  border: 1px solid rgba(212, 160, 23, 0.22);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.shop-status-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--fg);
}

.shop-status-copy p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.desk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.save-status {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--gold-bright);
}

.desk-nav {
  margin-bottom: 1.5rem;
}

.desk-notify {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(212, 160, 23, 0.45);
  background:
    linear-gradient(120deg, rgba(212, 160, 23, 0.16), rgba(20, 28, 48, 0.55)),
    rgba(18, 18, 24, 0.9);
}

.desk-notify-title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.desk-notify-text {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--text);
}

.filters-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .filters-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.special-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.special-fields .sort-field {
  flex: 1 1 8rem;
}

.specials-list.is-stack,
.desk-list.is-stack {
  display: grid;
  gap: 0.85rem;
}

.specials-list.is-grid,
.desk-list.is-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.desk-list.is-grid .stock-row {
  grid-template-columns: 1fr;
  align-items: start;
}

.desk-list.is-grid .stock-media .product-png-wrap {
  min-height: 12rem;
}

a.special-pick {
  color: inherit;
  text-decoration: none;
}

a.special-pick:hover {
  border-color: rgba(240, 196, 90, 0.75);
}

.special-pick-go {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.stock-row.is-special {
  border-color: rgba(240, 196, 90, 0.92);
  background:
    linear-gradient(165deg, rgba(120, 86, 16, 0.55), rgba(36, 26, 8, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 120, 0.45),
    0 0 22px rgba(240, 196, 90, 0.28);
}

.order-card.is-incoming {
  border-color: rgba(212, 160, 23, 0.35);
  box-shadow: inset 0 0 0 1px rgba(212, 160, 23, 0.12);
}

.desk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.desk-search {
  flex: 1 1 16rem;
}

.desk-hint {
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.stock-row {
  display: grid;
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem;
  background: linear-gradient(165deg, rgba(28, 28, 34, 0.72), rgba(14, 14, 18, 0.86));
  border: 1px solid rgba(212, 160, 23, 0.18);
}

@media (min-width: 780px) {
  .stock-row {
    grid-template-columns: 7.5rem 1fr auto;
  }
}

.stock-row.is-inactive {
  opacity: 0.55;
}

.stock-media {
  position: relative;
  overflow: hidden;
  background: rgba(6, 6, 9, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stock-media svg,
.stock-media img {
  display: block;
  width: 100%;
  height: auto;
}

.stock-media .product-png-wrap {
  min-height: 6.5rem;
  aspect-ratio: 3 / 4;
}

.stock-media .product-png-wrap .product-photo,
.stock-media .product-photo--png {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
}

.stock-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.stock-body p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.stock-status {
  color: var(--gold-bright) !important;
}

.stock-design {
  font-size: 0.75rem !important;
}

.stock-controls {
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.stock-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.order-card {
  padding: 0;
  overflow: hidden;
}

.order-summary {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  padding: 1.3rem 1.35rem;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.order-preview {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--fg);
}

.order-detail {
  display: grid;
  gap: 1rem;
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.order-detail h4 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-line {
  display: grid;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: rgba(8, 8, 11, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 720px) {
  .order-line {
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem);
  }
}

.order-line-sketch svg {
  display: block;
  width: 100%;
  height: auto;
}

.order-line-body h5 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.order-line-price {
  margin: 0.2rem 0 0.35rem;
  font-size: 0.8rem;
  color: var(--gold-bright);
}

.order-line-addons {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.filter-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.filter-row input {
  flex: 1 1 12rem;
  padding: 0.6rem 0.75rem;
  color: var(--fg);
  background: rgba(8, 8, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.inline-form input {
  flex: 1 1 14rem;
  padding: 0.7rem 0.85rem;
  color: var(--fg);
  background: rgba(8, 8, 11, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.addon-form input[type="number"],
.addon-row input[type="number"] {
  flex: 0 1 8rem;
}

.file-btn {
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--gold-bright);
}

.image-preview {
  display: block;
  width: min(18rem, 100%);
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-slots {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  margin-top: 0.6rem;
}

.gallery-slot {
  display: grid;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(8, 8, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-slot img {
  display: block;
  width: 100%;
  height: 5.5rem;
  object-fit: cover;
}

.gallery-slot-empty {
  display: grid;
  place-items: center;
  height: 5.5rem;
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.gallery-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* —— Owner product edit —— */
.edit-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .edit-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  }

  .edit-actions {
    grid-column: 1 / -1;
  }
}

.edit-main,
.edit-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.edit-side {
  position: sticky;
  top: 6rem;
}

.edit-preview {
  background: rgba(6, 6, 9, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.edit-preview svg {
  display: block;
  width: 100%;
  height: auto;
}

.edit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* —— Toast & busy overlay —— */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.75rem;
  z-index: 300;
  transform: translateX(-50%);
  max-width: min(26rem, calc(100% - 2rem));
  padding: 0.85rem 1.2rem;
  font-size: 0.85rem;
  color: var(--fg);
  background: rgba(14, 14, 18, 0.96);
  border: 1px solid rgba(240, 196, 90, 0.35);
}

.owner-loading {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  background: rgba(4, 4, 6, 0.6);
  backdrop-filter: blur(3px);
}

.owner-loading-card {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding: 1.5rem 2rem;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid rgba(240, 196, 90, 0.3);
}

.owner-loading-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.owner-is-busy {
  cursor: progress;
}

/* —— Gold cursor & tap sparks —— */
.cursor-layer {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
}

html.has-cursor-fx,
html.has-cursor-fx * {
  cursor: none;
}

html.has-cursor-fx input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html.has-cursor-fx textarea {
  cursor: text;
}

.cursor-dot,
.cursor-ring {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.cursor-core {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff6d8, var(--gold-bright) 42%, var(--gold) 78%);
  box-shadow:
    0 0 6px rgba(240, 196, 90, 0.9),
    0 0 16px rgba(240, 196, 90, 0.55),
    0 0 30px rgba(212, 160, 23, 0.28);
  transform: translate(-50%, -50%) scale(1);
  transition:
    transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.18s ease;
}

.cursor-ring span {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(240, 196, 90, 0.32);
  transform: translate(-50%, -50%) scale(1);
  transition:
    transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.24s ease,
    opacity 0.24s ease;
}

html.cursor-hover .cursor-ring span {
  border-color: rgba(240, 196, 90, 0.75);
  transform: translate(-50%, -50%) scale(1.45);
}

html.cursor-hover .cursor-core {
  transform: translate(-50%, -50%) scale(0.7);
}

html.cursor-pressed .cursor-core {
  transform: translate(-50%, -50%) scale(1.85);
  box-shadow:
    0 0 12px rgba(255, 244, 214, 1),
    0 0 28px rgba(240, 196, 90, 0.9),
    0 0 54px rgba(212, 160, 23, 0.5);
}

html.cursor-pressed .cursor-ring span {
  border-color: rgba(255, 224, 138, 0.9);
  transform: translate(-50%, -50%) scale(0.6);
}

html.cursor-away .cursor-dot,
html.cursor-away .cursor-ring {
  opacity: 0;
}

.cursor-spark {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--size, 5px);
  height: var(--size, 5px);
  background: linear-gradient(150deg, #fff4d6, var(--gold-bright) 55%, var(--gold));
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  filter: drop-shadow(0 0 4px rgba(240, 196, 90, 0.75));
  animation: cursor-spark var(--life, 700ms) cubic-bezier(0.16, 0.8, 0.3, 1) forwards;
}

.cursor-spark.is-bright {
  filter: drop-shadow(0 0 6px rgba(255, 240, 200, 0.95));
}

@keyframes cursor-spark {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(calc(var(--dx) * 0.28), calc(var(--dy) * 0.28)) scale(1) rotate(calc(var(--rot) * 0.3));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.15) rotate(var(--rot));
  }
}

.tap-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(240, 196, 90, 0.85);
  box-shadow: 0 0 18px rgba(240, 196, 90, 0.45);
  animation: tap-ripple 620ms cubic-bezier(0.16, 0.8, 0.3, 1) forwards;
}

@keyframes tap-ripple {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.25);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .atmosphere-glow,
  .memorial-mark,
  .scroll-wonders-arrow,
  .loader-letter--j,
  .loader-letter--b {
    animation: none !important;
  }

  .gate-panel--left,
  .gate-panel--right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .bg-main-video {
    display: none;
  }

  .logo-full,
  .scroll-wonders {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Sketch studio —— */
.edit-layout--listing,
.edit-layout--full {
  max-width: none;
}

@media (min-width: 960px) {
  .edit-layout--listing,
  .edit-layout--full {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  }
}

.product-code {
  position: absolute;
  top: auto;
  bottom: 0.65rem;
  left: 0.65rem;
  z-index: 3;
  padding: 0.2rem 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(8, 8, 12, 0.78);
  border: 1px solid rgba(212, 160, 23, 0.35);
}

.product-code-line {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.sketch-studio {
  margin-top: 1.5rem;
}

.sketch-studio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sketch-workbench {
  display: grid;
  gap: 1rem;
}

@media (min-width: 1100px) {
  .sketch-workbench {
    grid-template-columns: 11.5rem minmax(0, 1fr) minmax(16rem, 18rem);
    align-items: start;
  }
}

.sketch-toolbar {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  position: sticky;
  top: 5.5rem;
}

@media (max-width: 1099px) {
  .sketch-toolbar,
  .sketch-inspector,
  .fill-side {
    position: static;
    top: auto;
  }

  .sketch-toolbar {
    grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr));
  }

  .fill-workbench,
  .fill-quest-layout {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .fill-viewport {
    min-height: 16rem;
    max-height: 68vh;
  }
}

.sketch-tool {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(212, 160, 23, 0.22);
  background: rgba(8, 8, 12, 0.55);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.sketch-tool span[aria-hidden="true"] {
  width: 1.25rem;
  text-align: center;
  color: var(--gold-bright);
  opacity: 0.9;
}

.sketch-tool:hover,
.sketch-tool.is-active {
  border-color: rgba(212, 160, 23, 0.55);
  background: rgba(212, 160, 23, 0.12);
  color: #fff;
}

.sketch-tool-rule {
  border: 0;
  border-top: 1px solid rgba(212, 160, 23, 0.18);
  margin: 0.45rem 0;
}

.sketch-upload-btn,
.sketch-notes-field {
  margin-top: 0.25rem;
}

.sketch-canvas-wrap {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.sketch-canvas {
  min-height: 28rem;
  padding: 1rem;
  border: 1px solid rgba(212, 160, 23, 0.35);
  background:
    radial-gradient(circle at 18% 12%, rgba(212, 160, 23, 0.16), transparent 42%),
    radial-gradient(circle at 82% 88%, rgba(212, 160, 23, 0.08), transparent 40%),
    linear-gradient(165deg, #0a0a0d 0%, #121218 55%, #08080b 100%);
  overflow: auto;
}

.sketch-canvas[data-tool="select"] {
  cursor: pointer;
}

.sketch-canvas[data-tool="text"],
.sketch-canvas[data-tool="comment"] {
  cursor: crosshair;
}

.sketch-canvas[data-tool="move"] {
  cursor: grab;
}

.sketch-canvas[data-tool="resize"] {
  cursor: nwse-resize;
}

.sketch-canvas-stage,
.sketch-stage-inner {
  position: relative;
  width: min(100%, 40rem);
  margin: 0 auto;
}

.sketch-base-svg,
.sketch-canvas .sketch-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  user-select: none;
}

.sketch-svg {
  display: block;
  width: 100%;
  height: auto;
}

.sketch-overlay {
  position: absolute;
  inset: 0;
}

.sketch-block-node {
  position: absolute;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 1.5px dashed rgba(212, 160, 23, 0.75);
  background: rgba(10, 10, 14, 0.28);
  padding: 0;
  overflow: hidden;
  touch-action: none;
  cursor: inherit;
}

.sketch-note-node {
  border-style: dotted;
  border-color: rgba(240, 196, 90, 0.85);
  background: rgba(240, 196, 90, 0.08);
}

.sketch-block-node.is-selected {
  border-style: solid;
  border-color: #d4a017;
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.35);
  background: rgba(212, 160, 23, 0.12);
  z-index: 2;
}

.sketch-note-node.is-selected {
  border-color: #f0c45a;
  background: rgba(240, 196, 90, 0.16);
}

.sketch-library-bar { margin: 0.6rem 0; }
.sketch-library-list { display: grid; gap: 0.55rem; }
.sketch-library-card {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem;
  border: 1px solid rgba(244, 242, 236, 0.16);
  background: rgba(0, 0, 0, 0.28);
}
.sketch-library-card button { text-align: left; }
.sketch-library-preview {
  width: 3.2rem;
  height: 3.2rem;
  background: #1a1a16;
  display: grid;
  place-items: center;
}
.sketch-library-preview svg { width: 80%; height: 80%; }
.sketch-library-edit { display: grid; gap: 0.35rem; }
.sketch-mark-node {
  position: absolute;
  pointer-events: auto;
  cursor: grab;
}
.sketch-mark-node svg { width: 100%; height: 100%; display: block; pointer-events: none; }
.sketch-mark-svg { width: 100%; height: 100%; }
.fill-stage .sketch-mark-node { pointer-events: none; }
.sketch-mark-node.is-selected { outline: 1px dashed rgba(244, 242, 236, 0.7); }
.sketch-block-label {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: inherit;
  line-height: 1.05;
  white-space: pre;
  overflow: hidden;
  text-overflow: clip;
  pointer-events: none;
  color: inherit;
  padding: 0.05em 0.15em;
  word-break: normal;
  overflow-wrap: normal;
}

.sketch-resize-handle {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  background: #d4a017;
  border: 1px solid #0a0a0d;
  opacity: 0;
  z-index: 4;
}

.sketch-resize-handle--e {
  right: -0.35rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: ew-resize;
}

.sketch-resize-handle--w {
  left: -0.35rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: ew-resize;
}

.sketch-resize-handle--n {
  top: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}

.sketch-resize-handle--s {
  bottom: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}

.sketch-canvas[data-tool="resize"] .sketch-block-node.is-selected .sketch-resize-handle,
.sketch-canvas[data-tool="resize"] .sketch-mark-node.is-selected .sketch-resize-handle {
  opacity: 1;
}

.sketch-inspector {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  position: sticky;
  top: 5.5rem;
}

.sketch-empty {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

/* Customer sketch fill */
.fill-workbench {
  display: grid;
  gap: 1.25rem;
  padding: 0 1.25rem 2.5rem;
}

@media (min-width: 980px) {
  .fill-workbench {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 20rem);
    align-items: start;
  }
}

.fill-canvas-panel {
  display: grid;
  gap: 0.75rem;
}

.fill-zoom-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fill-viewport {
  overflow: auto;
  min-height: 24rem;
  max-height: min(72vh, 40rem);
  border: 1px solid rgba(212, 160, 23, 0.35);
  background:
    radial-gradient(circle at 20% 15%, rgba(212, 160, 23, 0.14), transparent 45%),
    linear-gradient(165deg, #0a0a0d 0%, #121218 55%, #08080b 100%);
  padding: 1rem;
}

.fill-canvas {
  transform-origin: top left;
  transition: transform 0.15s ease;
  width: min(100%, 36rem);
  margin: 0 auto;
}

.fill-stage {
  position: relative;
}

.fill-stage--photo .product-png-wrap {
  min-height: 22rem;
  aspect-ratio: 3 / 4;
}

.fill-stage .sketch-base-svg {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.fill-block,
.fill-note {
  position: absolute;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 1.5px solid rgba(212, 160, 23, 0.7);
  background: rgba(10, 10, 14, 0.35);
  padding: 0;
  color: inherit;
  font: inherit;
  overflow: hidden;
}

.fill-block {
  cursor: pointer;
}

.fill-note {
  border-style: dotted;
  border-color: rgba(240, 196, 90, 0.75);
  background: rgba(240, 196, 90, 0.08);
  pointer-events: none;
}

.fill-block span,
.fill-note span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: inherit;
  line-height: 1.05;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: hidden;
  color: inherit;
  padding: 0.05em 0.15em;
  word-break: break-word;
}

.fill-block.is-selected {
  border-color: #f0d078;
  background: rgba(212, 160, 23, 0.18);
  box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.25);
}

.fill-side {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  position: sticky;
  top: 5.5rem;
}

.fill-quest-layout {
  display: grid;
  gap: 1.25rem;
  padding: 0 1.25rem 2.5rem;
}

@media (min-width: 980px) {
  .fill-quest-layout {
    grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
    align-items: start;
  }

  .fill-quest-panel {
    max-height: calc(100dvh - 7rem);
    overflow: auto;
  }
}

.fill-quest-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  position: static;
  top: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  max-height: none;
  overflow: visible;
  clip-path: none;
}

.fill-answer-list {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 1rem;
}

.fill-answer-card {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(212, 160, 23, 0.28);
  background: rgba(10, 10, 14, 0.45);
  cursor: pointer;
}

.fill-answer-card > div {
  min-width: 0;
  flex: 1;
}

.fill-answer-card strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.fill-answer-card p {
  margin: 0.2rem 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.fill-answer-card .link-btn {
  flex-shrink: 0;
}

@media (max-width: 979px) {
  .fill-quest-layout {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .fill-quest-panel .desk-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .fill-quest-panel .desk-tools .btn {
    flex: 1 1 8rem;
  }
}

.fill-addons {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fill-addons .opt-title {
  margin: 0 0 0.35rem;
}

/* —— Home shop advert star + modal —— */
.shop-promo-star {
  position: fixed;
  top: calc(var(--header-h) + 0.85rem);
  left: 1rem;
  z-index: 40;
  transition: opacity 0.35s ease;
}

.shop-promo-star.is-away {
  opacity: 0;
  pointer-events: none;
}

.shop-promo-star {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem 0.65rem;
  border: 1px solid rgba(212, 160, 23, 0.55);
  background:
    radial-gradient(circle at 50% 35%, rgba(240, 196, 90, 0.35), transparent 55%),
    rgba(10, 10, 14, 0.72);
  color: var(--gold-bright);
  font: inherit;
  cursor: pointer;
  overflow: visible;
  animation: shop-promo-pulse 2.4s ease-in-out infinite;
  backdrop-filter: blur(6px);
}

.shop-promo-star-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  line-height: 1;
  animation: shop-promo-bounce 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(240, 196, 90, 0.85));
}

.shop-promo-star-icon svg {
  display: block;
  width: 2.1rem;
  height: 2.1rem;
}

.shop-promo-star-label {
  max-width: 7.4rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #f4f2ec;
}

.shop-promo-glitter {
  position: absolute;
  inset: -1.5rem -0.5rem -2.5rem;
  pointer-events: none;
  overflow: hidden;
}

.shop-promo-speck {
  position: absolute;
  left: 50%;
  top: 0.4rem;
  width: var(--size, 4px);
  height: var(--size, 4px);
  margin-left: calc(var(--x, 0px) - 2px);
  border-radius: 50%;
  background: #f0c45a;
  box-shadow: 0 0 6px rgba(240, 196, 90, 0.9);
  animation: shop-promo-fall var(--dur, 3s) linear var(--delay, 0s) infinite;
  opacity: 0;
}

@keyframes shop-promo-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.35);
  }
  50% {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 0 26px 4px rgba(212, 160, 23, 0.35);
  }
}

@keyframes shop-promo-bounce {
  0%,
  100% {
    transform: rotate(-8deg) scale(1) translateY(0);
  }
  25% {
    transform: rotate(10deg) scale(1.14) translateY(-3px);
  }
  50% {
    transform: rotate(-6deg) scale(1.05) translateY(1px);
  }
  75% {
    transform: rotate(8deg) scale(1.12) translateY(-2px);
  }
}

@keyframes shop-promo-fall {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(110px) scale(0.2);
  }
}

.shop-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.shop-promo-modal[hidden] {
  display: none !important;
}

.shop-promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.78);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.shop-promo-frame {
  position: relative;
  width: min(100%, 26rem);
  border: 2px solid rgba(212, 160, 23, 0.85);
  background: #0a0a0d;
  box-shadow:
    0 0 0 1px rgba(240, 196, 90, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.55);
  transform: scale(0.92) translateY(12px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.35s ease;
  overflow: hidden;
}

.shop-promo-modal.is-open .shop-promo-backdrop {
  opacity: 1;
}

.shop-promo-modal.is-open .shop-promo-frame {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.shop-promo-modal.is-closing .shop-promo-backdrop {
  opacity: 0;
}

.shop-promo-modal.is-closing .shop-promo-frame {
  transform: scale(0.9) translateY(18px);
  opacity: 0;
}

.shop-promo-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(212, 160, 23, 0.55);
  background: rgba(10, 10, 14, 0.85);
  color: #f4f2ec;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.shop-promo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: min(78vh, 40rem);
  object-fit: contain;
  background: #000;
}

html.shop-promo-active {
  overflow: hidden;
}

@media (max-width: 640px) {
  .shop-promo-star {
    top: calc(var(--header-h) + 0.5rem);
    left: 0.65rem;
    padding: 0.45rem 0.55rem;
  }

  .shop-promo-star-label {
    font-size: 0.65rem;
  }
}

/* Home specials fill the hero on the right. The page scrolls past them. */
.home-promo {
  position: absolute;
  z-index: 3;
  top: var(--header-h);
  right: 0.35rem;
  bottom: 0.4rem;
  width: 10.6rem;
}

.home-promo[hidden] {
  display: none !important;
}

.home-promo-viewport {
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 2%, #000 98%, transparent);
}

.home-promo-track {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  justify-content: space-evenly;
}

.home-promo.is-single .home-promo-track {
  height: auto;
  justify-content: flex-start;
}

.home-promo:hover .home-promo-track {
  animation-play-state: paused !important;
}

.home-promo-stone {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.16rem;
  flex: 1 1 0;
  min-height: 0;
  max-height: 12rem;
  padding: 0.3rem 0.28rem 0.4rem;
  border: 1px solid rgba(240, 196, 90, 0.55);
  background:
    linear-gradient(180deg, rgba(48, 36, 10, 0.55), rgba(10, 10, 14, 0.2));
  color: #f4f2ec;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.home-promo.is-single .home-promo-stone {
  flex: 0 0 auto;
  height: auto;
  max-height: none;
}

.home-promo-stone.is-in {
  animation: home-promo-in 0.7s ease;
}

.home-promo-name {
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #f4f2ec;
}

.home-promo:not(.is-single) .home-promo-flash {
  width: 3.5rem;
  height: 3.7rem;
}

.home-promo:not(.is-single) .home-promo-name,
.home-promo:not(.is-single) .home-promo-price,
.home-promo:not(.is-single) .home-promo-tag {
  font-size: 0.62rem;
}

.home-promo-flash {
  display: grid;
  place-items: center;
  width: 6.4rem;
  height: 6.6rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 236, 170, 0.98), rgba(212, 160, 23, 0.72) 42%, rgba(70, 46, 8, 0.35) 78%);
  box-shadow:
    0 0 0 1px rgba(255, 220, 120, 0.7),
    0 0 18px rgba(240, 196, 90, 0.55);
  animation: home-promo-flash 1.5s ease-in-out infinite;
}

.home-promo-flash img {
  width: 78%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.4));
}

.home-promo-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.home-promo-price {
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff8e4;
}

@keyframes home-promo-flash {
  0%,
  100% {
    filter: brightness(1);
    box-shadow:
      0 0 0 1px rgba(255, 220, 120, 0.55),
      0 0 10px rgba(240, 196, 90, 0.35);
  }
  50% {
    filter: brightness(1.28);
    box-shadow:
      0 0 0 1px rgba(255, 236, 180, 0.95),
      0 0 26px rgba(255, 214, 110, 0.85);
  }
}

@keyframes home-promo-cross {
  from {
    transform: translateY(calc(100dvh - var(--header-h) - 13rem));
  }
  to {
    transform: translateY(calc(-100% - 1rem));
  }
}

@keyframes home-promo-glide {
  from {
    transform: translateY(1.6rem);
  }
  to {
    transform: translateY(-1.6rem);
  }
}

@keyframes home-promo-slide {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(calc(-100% - 1.25rem));
  }
}

@keyframes home-promo-in {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 721px) {
  body[data-page="home"]:has(.home-promo:not([hidden])) .logo-full {
    width: min(94vw, 640px, calc(100vw - 32rem));
  }
}

@media (max-width: 720px) {
  body[data-page="home"]:has(.home-promo:not([hidden])) .hero {
    display: flex;
    flex-direction: column;
  }

  body[data-page="home"] .home-promo {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin: 0;
    padding: calc(var(--header-h) + 6.6rem) 0 0.15rem;
  }

  body[data-page="home"]:has(.home-promo:not([hidden])) .hero-sticky {
    min-height: 0;
    flex: 1 1 auto;
    padding-top: 0.35rem;
    place-items: start center;
  }

  body[data-page="home"] .home-promo-viewport {
    height: auto;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  }

  body[data-page="home"] .home-promo-track {
    flex-direction: row;
    align-items: stretch;
    width: max-content;
    height: auto;
    justify-content: flex-start;
    gap: 0.45rem;
  }

  body[data-page="home"] .home-promo-stone,
  body[data-page="home"] .home-promo.is-single .home-promo-stone {
    width: calc((100vw - 1.1rem) / 3);
    height: auto;
    flex: 0 0 auto;
    max-height: none;
  }

  body[data-page="home"] .home-promo-flash {
    width: 4.2rem;
    height: 4.4rem;
  }
}

/* Home promotions callout (top right) */
.home-specials-callout {
  position: fixed;
  top: calc(var(--header-h) + 0.85rem);
  right: 1rem;
  z-index: 40;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  max-width: 7.5rem;
  padding: 0.65rem 0.75rem 0.75rem;
  border: 1px solid rgba(212, 160, 23, 0.65);
  background:
    radial-gradient(circle at 50% 30%, rgba(240, 196, 90, 0.38), transparent 58%),
    rgba(10, 10, 14, 0.78);
  text-decoration: none;
  color: var(--gold-bright);
  animation: home-specials-zoom 2.2s ease-in-out infinite;
  backdrop-filter: blur(6px);
}

.home-specials-callout[hidden] {
  display: none !important;
}

.home-specials-mark {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(240, 196, 90, 0.7);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #f0c45a;
  filter: drop-shadow(0 0 10px rgba(240, 196, 90, 0.75));
}

.home-specials-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  color: #f0c45a;
}

.home-specials-glitter {
  position: absolute;
  inset: -0.4rem;
  pointer-events: none;
  border: 1px solid rgba(240, 196, 90, 0.25);
  opacity: 0.7;
  animation: home-specials-ring 2.2s ease-in-out infinite;
}

@keyframes home-specials-zoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes home-specials-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

@media (max-width: 640px) {
  .home-specials-callout {
    top: calc(var(--header-h) + 0.5rem);
    right: 0.65rem;
    max-width: 6.4rem;
    padding: 0.5rem 0.55rem 0.6rem;
  }

  .home-specials-label {
    font-size: 0.58rem;
  }
}

/* Gallery shop video card */
.gallery-video-card {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 1.25rem;
}

.gallery-video-play {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem;
  border: 1px solid rgba(212, 160, 23, 0.4);
  background:
    linear-gradient(120deg, rgba(212, 160, 23, 0.12), transparent 45%),
    rgba(10, 10, 14, 0.72);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gallery-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 11rem;
  background: #000;
  border: 1px solid rgba(212, 160, 23, 0.45);
}

.gallery-video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gallery-video-play-btn {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 11rem;
  max-width: calc(11rem);
  height: 11rem;
  max-height: calc(100% - 1.7rem);
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease;
}

.gallery-video-play:hover .gallery-video-play-btn svg {
  transform: scale(1.08);
}

.gallery-video-play-btn svg {
  transition: transform 0.2s ease;
}

.gallery-video-copy {
  display: grid;
  gap: 0.35rem;
}

.gallery-video-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
}

.gallery-video-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .gallery-video-play {
    grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
  }

  .gallery-video-play-btn {
    width: 7.5rem;
  }
}

.stock-media {
  position: relative;
}

/* —— Full memorial edit layout —— */
.edit-layout--full {
  max-width: none;
}

@media (min-width: 960px) {
  .edit-layout--full {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  }
}

.memorial-image-preview {
  position: relative;
  min-height: 18rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.memorial-image-preview.has-shop-bg,
.memorial-image-preview.has-item-png {
  aspect-ratio: 4 / 3;
}

.memorial-image-preview .image-preview {
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: cover;
  display: block;
}

.memorial-image-preview .image-preview.product-photo--png {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  transform: none;
  object-fit: contain;
  object-position: center;
}

.memorial-media-fields {
  display: grid;
  gap: 1.1rem;
}

/* —— Sketch comments —— */
.sketch-comments {
  display: grid;
  gap: 0.75rem;
}

.sketch-comment-card {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(212, 160, 23, 0.22);
  background: rgba(10, 10, 14, 0.5);
}

.sketch-comment-card textarea {
  width: 100%;
}

/* —— Animated review stars —— */
.star-picker {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.star-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(212, 160, 23, 0.28);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.25s ease, filter 0.25s ease;
}

.star-btn.is-active,
.star-btn.is-glow {
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(212, 160, 23, 0.55), 0 0 22px rgba(212, 160, 23, 0.35);
}

.star-btn.is-pop {
  animation: star-pop 0.45s ease;
}

.star-btn:hover {
  transform: translateY(-2px) scale(1.08);
}

@keyframes star-pop {
  0% { transform: scale(1); filter: brightness(1); }
  35% { transform: scale(1.35); filter: brightness(1.35); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* —— Gallery vista: blessing hero, mosaic, open motion —— */
.page--gallery {
  padding-bottom: 4.5rem;
}

.gallery-vista {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.gallery-hero {
  max-width: 36rem;
  margin: 0 auto 1.35rem;
}

.gallery-hero-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(47, 98, 232, 0.16), transparent 68%),
    #07070a;
  border: 1px solid rgba(212, 160, 23, 0.5);
  box-shadow:
    0 0 18px rgba(212, 160, 23, 0.32),
    0 0 42px rgba(47, 98, 232, 0.16),
    0 18px 40px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}

.gallery-hero.is-open .gallery-hero-stage:hover {
  border-color: rgba(240, 196, 90, 0.85);
  box-shadow:
    0 0 26px rgba(240, 196, 90, 0.58),
    0 0 64px rgba(77, 127, 255, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.4);
}

.gallery-hero-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.gallery-hero-shot img {
  width: 100%;
  height: auto;
  max-height: min(38vh, 22rem);
  object-fit: contain;
  display: block;
  background: #07070a;
}

.gallery-hero-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24, 24, 30, 0.96), rgba(10, 10, 14, 0.98));
  transition: transform 1.15s var(--ease);
}

.gallery-hero-door--left {
  left: 0;
  border-right: 1px solid rgba(212, 160, 23, 0.55);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(0);
}

.gallery-hero-door--right {
  right: 0;
  border-left: 1px solid rgba(212, 160, 23, 0.55);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(0);
}

.gallery-hero-door--left::after,
.gallery-hero-door--right::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-bright), var(--blue-bright), transparent);
  opacity: 0.7;
}

.gallery-hero-door--left::after {
  right: 10px;
}

.gallery-hero-door--right::after {
  left: 10px;
}

.gallery-hero.is-open .gallery-hero-door--left {
  transform: translateX(-104%);
}

.gallery-hero.is-open .gallery-hero-door--right {
  transform: translateX(104%);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 50rem;
  margin: 0 auto;
}

.gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  appearance: none;
  padding: 0;
  border: 1px solid rgba(212, 160, 23, 0.42);
  background: #0a0a0e;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  min-height: 10.5rem;
  box-shadow:
    0 0 16px rgba(212, 160, 23, 0.3),
    0 0 34px rgba(47, 98, 232, 0.14),
    0 14px 32px rgba(0, 0, 0, 0.32);
  clip-path: inset(46% 46% 46% 46%);
  opacity: 0;
  transform: scale(0.96);
  transition:
    clip-path 0.95s var(--ease),
    opacity 0.7s var(--ease),
    transform 0.95s var(--ease),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  transition-delay: var(--d, 0s);
}

.gallery-tile:focus-visible,
.gallery-hero-shot:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.gallery-tile.is-open {
  clip-path: inset(0);
  opacity: 1;
  transform: none;
}

.gallery-tile img,
.gallery-tile-media,
.gallery-tile-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-tile-media {
  position: absolute;
  inset: 0;
}

.gallery-tile-media video {
  pointer-events: none;
  filter: saturate(0.92) brightness(0.82);
}

.gallery-tile--wide {
  min-height: 12.5rem;
}

.gallery-tile--video {
  cursor: pointer;
  min-height: 14.5rem;
}

.gallery-tile--long {
  min-height: 9.5rem;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, rgba(8, 8, 12, 0.78) 100%);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.gallery-tile:hover {
  border-color: rgba(240, 196, 90, 0.85);
  box-shadow:
    0 0 26px rgba(240, 196, 90, 0.58),
    0 0 56px rgba(77, 127, 255, 0.26),
    0 16px 36px rgba(0, 0, 0, 0.38);
}

.gallery-tile:hover::after {
  opacity: 0.42;
}

.gallery-tile:hover img {
  transform: scale(1.05);
}

.gallery-zoom {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(240, 196, 90, 0.55);
  background: rgba(10, 10, 14, 0.72);
  color: var(--gold-bright);
  opacity: 0;
  transform: scale(0.82);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-hero.is-open .gallery-hero-stage:hover .gallery-zoom,
.gallery-tile.is-open:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 16px rgba(240, 196, 90, 0.55);
}

.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}

.gallery-tile-label {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.gallery-video-play-btn--mosaic {
  position: absolute;
  left: 50%;
  top: 46%;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.gallery-tile--video:hover .gallery-video-play-btn--mosaic svg {
  transform: scale(1.08);
}

@media (min-width: 760px) {
  .gallery-mosaic {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 5rem;
    gap: 0.8rem;
  }

  .gallery-tile {
    min-height: 0;
  }

  .gallery-tile--wide {
    grid-column: span 8;
    grid-row: span 3;
  }

  .gallery-tile--video {
    grid-column: span 4;
    grid-row: span 3;
    min-height: 0;
  }

  .gallery-tile--mid {
    grid-column: span 5;
    grid-row: span 2;
  }

  .gallery-tile--mid-wide {
    grid-column: span 7;
    grid-row: span 2;
  }

  .gallery-tile--long {
    grid-column: span 12;
    grid-row: span 2;
  }
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.86);
  backdrop-filter: blur(10px);
}

.gallery-lightbox-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(96vw, 68rem);
  max-height: 92vh;
}

.gallery-lightbox-frame img {
  max-width: 96vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(212, 160, 23, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  background: #07070a;
}

.gallery-lightbox-frame figcaption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.gallery-lightbox-close {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(212, 160, 23, 0.45);
  background: rgba(10, 10, 14, 0.9);
  color: var(--gold-bright);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-close:hover {
  border-color: var(--blue-bright);
}

html.gallery-lightbox-active {
  overflow: hidden;
}

/* Bottom shooting stars — gallery only */
.gallery-stars {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7.25rem;
  z-index: 3;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 38%, #000);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 38%, #000);
}

/* Home blessing, just before contacts */
.blessing-band {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.home-blessing {
  max-width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  background:
    linear-gradient(165deg, rgba(28, 28, 34, 0.72), rgba(14, 14, 18, 0.86));
  border: 1px solid rgba(212, 160, 23, 0.32);
  box-shadow:
    0 0 0 1px rgba(47, 98, 232, 0.08) inset,
    0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  clip-path: polygon(
    0 18px,
    18px 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

.home-blessing img {
  width: 100%;
  height: auto;
  display: block;
  background: #07070a;
}

.home-blessing figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem 1rem;
}

.home-blessing .section-kicker {
  margin: 0;
}

.home-blessing-link {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(212, 160, 23, 0.4);
}

.home-blessing-link:hover {
  color: var(--blue-bright);
  border-color: rgba(77, 127, 255, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-hero-door,
  .gallery-tile {
    transition: none;
  }

  .gallery-hero .gallery-hero-door--left,
  .gallery-hero .gallery-hero-door--right {
    transform: translateX(-104%);
  }

  .gallery-hero .gallery-hero-door--right {
    transform: translateX(104%);
  }

  .gallery-tile {
    clip-path: inset(0);
    opacity: 1;
    transform: none;
  }

  .gallery-stars {
    display: none;
  }
}

/* ==========================================================================
   Default Switch (Mandatory Choice System: e.g. Concrete or Slab)
   ========================================================================== */

/* Owner Desk Default Switch Manager */
.default-switch-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.default-switch-form input,
.default-switch-item input,
.default-switch-name-input,
.default-switch-options-input {
  color: #10100c;
  background: #fff;
  caret-color: #10100c;
}

.default-switch-options-input {
  flex: 2 1 18rem;
}

.default-switch-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.default-switch-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: rgba(14, 14, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.default-switch-item-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.default-switch-item-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
}

.default-switch-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 3px;
}

.default-switch-options-preview {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.default-switch-options-preview strong {
  color: var(--fg);
}

.default-switch-edit-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.default-switch-edit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.default-switch-edit-row input {
  padding: 0.55rem 0.75rem;
  color: var(--fg);
  background: rgba(8, 8, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.default-switch-edit-row input:first-child {
  flex: 1 1 12rem;
}

.default-switch-edit-row input:last-of-type {
  flex: 2 1 18rem;
}

.default-switch-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

/* Product Editor - Default Switch Section */
.product-switch-select {
  width: 100%;
  max-width: 28rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  color: var(--fg);
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.product-switch-select:focus {
  border-color: var(--gold-bright);
  outline: none;
}

.product-switch-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
  margin-bottom: 0.5rem;
}

.product-switch-option-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  background: rgba(14, 14, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.product-switch-option-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--fg);
}

.default-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 3px;
}

.product-switch-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.product-switch-note {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--gold-bright);
}

.switch-note-icon {
  margin-right: 0.25rem;
  color: var(--gold);
}

/* Buying / Sketch Fill Flow - Choice Cards */
.switch-step-intro {
  margin-bottom: 1.25rem;
}

.switch-step-intro h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.switch-step-intro p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.switch-choices-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 1rem 0 1.5rem;
}

.switch-choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: rgba(12, 12, 18, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.switch-choice-card:hover {
  background: rgba(22, 22, 32, 0.85);
  border-color: rgba(212, 160, 23, 0.45);
  transform: translateY(-1px);
}

.switch-choice-card.is-selected {
  background: rgba(212, 160, 23, 0.1);
  border-color: var(--gold-bright);
  box-shadow: 0 0 16px rgba(212, 160, 23, 0.18);
}

.switch-choice-radio {
  margin-top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--gold-bright);
  cursor: pointer;
  flex-shrink: 0;
}

.switch-choice-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-grow: 1;
}

.switch-choice-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
}

.switch-choice-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.switch-choice-price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.switch-choice-included {
  font-size: 0.85rem;
  font-weight: 500;
  color: #a1a1aa;
}

/* Review Step Switch & Add-on Summary */
.fill-switch-summary {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fill-addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.fill-addon-item:last-child {
  border-bottom: none;
}

[data-fill-price],
[data-fill-live-price] {
  color: #ffe7a3;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  text-shadow: 0 0 16px rgba(240, 196, 90, 0.45);
}

.order-line-body {
  color: #f7f4ee;
  font-size: 1.02rem;
  line-height: 1.5;
}

.order-line-body h5 {
  font-size: 1.2rem;
}

.order-line-price {
  color: #ffe7a3;
  font-size: 1rem;
  font-weight: 700;
}

.order-line .summary-list div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 11rem) minmax(0, 1fr);
  justify-content: start;
  align-items: start;
  gap: 0.35rem 0.85rem;
}

.order-line .summary-list dt {
  color: #f0d48a;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  white-space: normal;
}

.order-line .summary-list dd {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
}

.order-detail .record-grid dt {
  color: #f0d48a;
}

.order-detail .record-grid dd {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
}

.order-line-sketch {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.order-line-sketch img,
.order-line-sketch svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.product-png-wrap .stone-watermark,
.fill-stage > .stone-watermark,
.stone-watermark-host .stone-watermark {
  position: absolute;
  left: 8%;
  top: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  opacity: 0.35;
  pointer-events: none;
  z-index: 2;
}

.stone-watermark-host {
  position: relative;
  display: block;
}

.fill-stage > .sketch-overlay {
  z-index: 3;
}

.watermark-title {
  margin-top: 1.6rem;
}

.watermark-preview img {
  display: block;
  max-width: 10rem;
  max-height: 10rem;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
}

