:root {
  --bg: #09100e;
  --bg-deep: #050807;
  --bg-soft: #101816;
  --panel: rgba(16, 22, 20, 0.82);
  --panel-solid: #111816;
  --panel-strong: rgba(10, 15, 13, 0.96);
  --surface: rgba(255, 248, 235, 0.04);
  --surface-strong: rgba(255, 248, 235, 0.08);
  --line: rgba(232, 222, 203, 0.12);
  --line-strong: rgba(232, 222, 203, 0.22);
  --text: #f7f1e5;
  --text-soft: #d2cbbd;
  --text-muted: #9f998d;
  --sand: #efe3ca;
  --orange: #dd8b43;
  --orange-deep: #b4622d;
  --green: #6f9660;
  --blue: #5d7a9d;
  --rose: #a16e84;
  --gold: #b89a5a;
  --danger: #df8f8f;
  --success: #8fcb85;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 38px rgba(0, 0, 0, 0.2);
  --radius-2xl: 2rem;
  --radius-xl: 1.55rem;
  --radius-lg: 1.1rem;
  --radius-md: 0.95rem;
  --radius-sm: 0.75rem;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Sora", sans-serif;
  --max: min(1480px, calc(100vw - 2.4rem));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(60rem 36rem at 0% 0%, rgba(221, 139, 67, 0.16), transparent 56%),
    radial-gradient(48rem 28rem at 100% 10%, rgba(111, 150, 96, 0.14), transparent 54%),
    radial-gradient(42rem 24rem at 50% 100%, rgba(93, 122, 157, 0.12), transparent 58%),
    linear-gradient(180deg, #040706 0%, #07100e 28%, #091412 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.52), transparent 78%);
}

body::after {
  background: linear-gradient(180deg, rgba(5, 8, 7, 0) 0%, rgba(5, 8, 7, 0.36) 100%);
}

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

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

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

button {
  cursor: pointer;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.6;
}

.ambient-1 {
  width: 26rem;
  height: 26rem;
  top: 7rem;
  left: -7rem;
  background: rgba(221, 139, 67, 0.22);
}

.ambient-2 {
  width: 28rem;
  height: 28rem;
  right: -9rem;
  top: 18rem;
  background: rgba(111, 150, 96, 0.2);
}

.ambient-3 {
  width: 34rem;
  height: 34rem;
  left: 26%;
  bottom: -14rem;
  background: rgba(93, 122, 157, 0.16);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--orange);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.button-primary {
  color: #1a100a;
  background: linear-gradient(135deg, #f1b26e 0%, var(--orange) 55%, var(--orange-deep) 100%);
  box-shadow: 0 16px 34px rgba(221, 139, 67, 0.26);
}

.button-primary:hover {
  box-shadow: 0 20px 38px rgba(221, 139, 67, 0.34);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 248, 235, 0.04);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  border-color: rgba(221, 139, 67, 0.3);
  background: rgba(255, 248, 235, 0.07);
}

.button-small {
  min-height: 2.65rem;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}

.site-header,
.hero-copy,
.hero-visual,
.toolbar-shell,
.catalog-section,
.security-shell,
.product-modal-card,
.age-gate-card,
.editor-hero,
.editor-sidebar,
.editor-workspace,
.setup-card,
.login-card,
.login-info-card,
.preview-card,
.workspace-note-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 25, 23, 0.94), rgba(10, 14, 13, 0.98)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%);
  box-shadow: var(--shadow);
}

.hero-copy::before,
.hero-visual::before,
.toolbar-shell::before,
.catalog-section::before,
.security-shell::before,
.editor-hero::before,
.editor-sidebar::before,
.editor-workspace::before,
.setup-card::before,
.login-card::before,
.login-info-card::before,
.preview-card::before,
.workspace-note-card::before,
.product-modal-card::before,
.age-gate-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.07), transparent 34%);
  pointer-events: none;
}

.site-header {
  width: var(--max);
  margin: 1rem auto 0;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0.75rem;
  z-index: 30;
  border-radius: 1.5rem;
  background: rgba(8, 12, 11, 0.7);
  backdrop-filter: blur(18px);
}

.editor-header {
  border-radius: 1.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f4c17c 0%, var(--orange) 52%, #7b421b 100%);
  color: #160f09;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.main-nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: background 160ms ease, color 160ms ease;
}

.main-nav a:hover {
  background: rgba(255, 248, 235, 0.06);
  color: var(--text);
}

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

.hero-shell,
.toolbar-shell,
.section-rail-shell,
.catalog-shell,
.security-shell,
.site-footer,
.editor-main {
  width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 1rem;
  padding: 2rem 0 1.2rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.toolbar-shell,
.catalog-section,
.security-shell,
.editor-hero,
.setup-card,
.login-card,
.login-info-card,
.preview-card,
.workspace-note-card,
.editor-sidebar,
.editor-workspace,
.product-modal-card,
.age-gate-card {
  border-radius: var(--radius-2xl);
}

.hero-copy {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(221, 139, 67, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(18, 25, 23, 0.95), rgba(9, 13, 12, 0.98));
}

.hero-copy h1,
.toolbar-copy h2,
.security-copy h2,
.editor-hero h1,
.setup-card h2,
.login-card h2,
.workspace-header h2,
.cluster-head h3,
.login-info-card h3,
.workspace-note-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 5.9vw, 5.8rem);
}

.hero-body,
.toolbar-copy p,
.security-footnote p,
.editor-hero p,
.setup-card p,
.login-card p,
.login-info-card li,
.workspace-note-card li,
.cluster-head p {
  color: var(--text-soft);
}

.hero-body {
  max-width: 38ch;
  font-size: 1rem;
}

.hero-actions,
.hero-meta-row,
.editor-form-footer,
.modal-actions,
.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-meta-row {
  margin-top: 1.35rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 235, 0.04);
  color: var(--text-soft);
  font-size: 0.84rem;
}

.hero-note-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-note-card {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 235, 0.1);
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.06), rgba(255, 248, 235, 0.02));
}

.hero-note-card span,
.hero-note-card strong {
  display: block;
}

.hero-note-card span {
  margin-bottom: 0.35rem;
  color: var(--orange);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note-card strong {
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-stat {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: linear-gradient(180deg, rgba(255, 248, 235, 0.06), rgba(255, 248, 235, 0.02));
}

.hero-stat strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.55rem;
}

.hero-stat span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hero-visual {
  padding: 0.95rem;
  min-height: 36rem;
  background:
    radial-gradient(circle at top left, rgba(111, 150, 96, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(16, 22, 20, 0.95), rgba(9, 13, 12, 0.98));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(10.5rem, 1fr);
  gap: 0.8rem;
  min-height: 100%;
}

.hero-feature-card {
  position: relative;
  overflow: hidden;
  min-height: 11rem;
  border-radius: calc(var(--radius-2xl) - 0.45rem);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: linear-gradient(180deg, rgba(18, 23, 22, 0.92), rgba(8, 11, 10, 0.99));
  box-shadow: var(--shadow-soft);
}

.hero-feature-card:nth-child(1) {
  grid-column: 1 / -1;
  min-height: 20rem;
}

.hero-feature-card:nth-child(2) {
  min-height: 11rem;
}

.hero-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.hero-feature-card:hover img {
  transform: scale(1.04);
}

.hero-feature-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.05rem 1.1rem;
  background: linear-gradient(180deg, rgba(6, 8, 7, 0) 0%, rgba(6, 8, 7, 0.9) 100%);
}

.hero-feature-overlay p,
.hero-feature-overlay strong {
  margin: 0;
}

.hero-feature-overlay p {
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-feature-overlay strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.08rem;
}

.toolbar-shell {
  margin-top: 0.65rem;
  padding: 1.2rem 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(20rem, 1.22fr);
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(221, 139, 67, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 21, 19, 0.96), rgba(8, 12, 11, 0.98));
}

.toolbar-copy h2,
.security-copy h2,
.editor-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.toolbar-caption {
  max-width: 48ch;
  margin-top: 0.75rem;
}

.toolbar-panel {
  display: grid;
  gap: 0.95rem;
  align-content: center;
}

.editor-bar {
  width: var(--max);
  margin: 1rem auto 0;
  padding: 1.2rem 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(221, 139, 67, 0.2);
  background:
    radial-gradient(circle at top right, rgba(221, 139, 67, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(16, 22, 20, 0.96), rgba(8, 11, 10, 0.98));
  box-shadow: var(--shadow);
}

.editor-bar-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 0.94;
}

.editor-bar-copy p:last-child {
  margin: 0.5rem 0 0;
  max-width: 56ch;
  color: var(--text-soft);
}

.editor-bar-actions {
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.search-field,
.field {
  display: grid;
  gap: 0.45rem;
}

.search-field span,
.field span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.search-field input,
.field input,
.field select,
.field textarea,
.sidebar-search {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 248, 235, 0.05);
  color: var(--text);
  padding: 0.95rem 1rem;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.search-field input::placeholder,
.field input::placeholder,
.field textarea::placeholder,
.sidebar-search::placeholder {
  color: rgba(210, 203, 189, 0.55);
}

.search-field input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus,
.sidebar-search:focus {
  outline: none;
  border-color: rgba(221, 139, 67, 0.56);
  box-shadow: 0 0 0 4px rgba(221, 139, 67, 0.12);
  background: rgba(255, 248, 235, 0.08);
}

.field textarea {
  resize: vertical;
  min-height: 7.2rem;
}

.status-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.status-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(255, 248, 235, 0.04);
  color: var(--text-soft);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.status-filter:hover,
.status-filter.is-active {
  color: var(--sand);
  border-color: rgba(221, 139, 67, 0.44);
  background: rgba(221, 139, 67, 0.14);
}

.section-rail-shell {
  margin-top: 1rem;
}

.section-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: thin;
}

.section-pill {
  --section-accent: var(--orange);
  flex: 0 0 auto;
  min-width: 14rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 248, 235, 0.05), rgba(255, 248, 235, 0.02)),
    radial-gradient(circle at top right, color-mix(in srgb, var(--section-accent) 28%, transparent), transparent 44%);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.section-pill:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--section-accent) 42%, rgba(255, 248, 235, 0.12));
}

.section-pill span,
.section-pill strong,
.section-pill small {
  display: block;
}

.section-pill span {
  color: color-mix(in srgb, var(--section-accent) 55%, white 45%);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-pill strong {
  margin-top: 0.3rem;
  font-size: 1.05rem;
}

.section-pill small {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.catalog-shell {
  display: grid;
  gap: 1rem;
  padding: 0.9rem 0 3rem;
}

.catalog-section {
  --section-accent: var(--orange);
  padding: 1.3rem;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--section-accent) 14%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(15, 20, 18, 0.96), rgba(8, 11, 10, 0.99));
}

.catalog-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.1rem;
}

.catalog-section-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.catalog-section-copy p:last-child {
  margin: 0.55rem 0 0;
  max-width: 62ch;
  color: var(--text-soft);
}

.catalog-section-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.section-meta-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  background: rgba(255, 248, 235, 0.05);
  border: 1px solid rgba(255, 248, 235, 0.08);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  gap: 0.95rem;
}

.product-card {
  --section-accent: var(--orange);
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 1.08fr) minmax(0, 0.92fr);
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border-radius: calc(var(--radius-2xl) - 0.35rem);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background:
    linear-gradient(145deg, rgba(19, 25, 23, 0.96), rgba(9, 12, 11, 0.99)),
    linear-gradient(135deg, color-mix(in srgb, var(--section-accent) 18%, transparent), transparent 55%);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.2rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--section-accent) 84%, white 16%), transparent 92%);
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--section-accent) 38%, rgba(255, 248, 235, 0.12));
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.product-card.is-editable {
  cursor: pointer;
}

.page-home.is-editor-mode .product-card.is-editable {
  border-color: color-mix(in srgb, var(--section-accent) 28%, rgba(255, 248, 235, 0.12));
}

.page-home.is-editor-mode .product-card.is-editable:hover {
  border-color: color-mix(in srgb, var(--section-accent) 55%, rgba(255, 248, 235, 0.18));
}

.product-card.is-editing {
  border-color: color-mix(in srgb, var(--section-accent) 60%, rgba(255, 248, 235, 0.22));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--section-accent) 60%, transparent), 0 26px 48px rgba(0, 0, 0, 0.24);
}

.product-card.is-unpublished {
  background:
    linear-gradient(180deg, rgba(18, 20, 23, 0.96), rgba(9, 11, 13, 0.99)),
    linear-gradient(135deg, rgba(93, 122, 157, 0.14), transparent 55%);
}

.product-card.is-hidden {
  display: none;
}

.product-card-media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--section-accent) 28%, transparent), rgba(255, 248, 235, 0.02)),
    linear-gradient(180deg, rgba(19, 25, 23, 0.8), rgba(9, 12, 11, 0.9));
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.product-card:hover .product-card-media img,
.preview-mini-card:hover .product-card-media img {
  transform: scale(1.03);
}

.product-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 7, 0.02) 0%, rgba(6, 8, 7, 0.08) 48%, rgba(6, 8, 7, 0.52) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.product-status-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 235, 0.1);
  background: rgba(6, 8, 7, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-status-badge[data-status="in-stock"] {
  color: var(--success);
}

.product-status-badge[data-status="out-of-stock"] {
  color: #f1c0c0;
}

.product-status-badge[data-status="limited"] {
  color: #f4d19c;
}

.product-card-edit-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 235, 0.12);
  background: rgba(6, 8, 7, 0.78);
  color: var(--sand);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-body {
  display: grid;
  gap: 0.7rem;
  align-content: center;
  padding: 1.3rem 1.25rem;
}

.product-card-topline,
.product-card-footer,
.editor-list-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.product-brand {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-source-hint {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.product-card-heading {
  display: grid;
  gap: 0.25rem;
}

.product-name {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 0.98;
}

.product-subtitle {
  margin: 0;
  color: color-mix(in srgb, var(--section-accent, var(--orange)) 30%, var(--sand) 70%);
  font-size: 0.9rem;
}

.product-summary {
  margin: 0;
  color: var(--text-soft);
  max-width: 34ch;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row,
.price-tier-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-chip,
.price-tier,
.editor-list-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.05);
  padding: 0.42rem 0.65rem;
  font-size: 0.74rem;
}

.tag-chip {
  color: var(--text-soft);
}

.product-card-pricing {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.03);
}

.price-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.price-highlight span {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-highlight strong {
  font-size: 1.35rem;
  color: var(--sand);
}

.price-tier {
  color: var(--sand);
}

.price-tier strong {
  font-size: 0.84rem;
}

.product-card-footer {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.product-card-cta {
  display: inline-flex;
  margin-top: 0.25rem;
  color: color-mix(in srgb, var(--section-accent, var(--orange)) 55%, white 45%);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-empty {
  display: grid;
  place-items: center;
  min-height: 15rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(255, 248, 235, 0.12);
  background: rgba(255, 248, 235, 0.03);
  text-align: center;
}

.placeholder-empty h3,
.placeholder-empty p,
.site-footer p,
.site-footer strong,
.modal-copy h2,
.modal-copy h3 {
  margin: 0;
}

.placeholder-empty p {
  margin-top: 0.45rem;
  color: var(--text-soft);
}

.filter-empty {
  margin-top: 1rem;
}

.security-shell {
  margin-bottom: 3rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(93, 122, 157, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(17, 22, 21, 0.96), rgba(8, 11, 10, 0.98));
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.security-point {
  padding: 1.1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.04);
}

.security-point strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  color: var(--sand);
}

.security-point p,
.security-footnote p,
.setup-list {
  color: var(--text-soft);
}

.security-footnote {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 0 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--text-muted);
}

.site-footer strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 5, 0.74);
  backdrop-filter: blur(10px);
}

.product-modal-card {
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  margin: 1rem auto;
  padding: 1.3rem;
  background:
    radial-gradient(circle at top right, rgba(221, 139, 67, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(17, 22, 21, 0.98), rgba(8, 11, 10, 0.99));
}

.modal-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.04);
  color: var(--text);
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.1rem;
}

.modal-media {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 248, 235, 0.08);
  min-height: 22rem;
  background: rgba(255, 248, 235, 0.03);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-copy {
  display: grid;
  gap: 0.85rem;
  align-content: center;
}

.modal-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.94;
}

.modal-copy h3 {
  color: var(--sand);
  font-size: 1rem;
}

.modal-copy p,
.modal-copy li {
  color: var(--text-soft);
}

.modal-copy ul {
  padding-left: 1rem;
  margin: 0.2rem 0 0;
}

.editor-drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.editor-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 5, 5, 0.72);
  backdrop-filter: blur(10px);
}

.editor-drawer {
  position: relative;
  width: min(86rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.35rem;
  border: 1px solid rgba(255, 248, 235, 0.1);
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(circle at top right, rgba(221, 139, 67, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(16, 22, 20, 0.98), rgba(8, 11, 10, 0.99));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

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

.editor-drawer-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 0.94;
}

.editor-drawer-copy {
  margin: 0.45rem 0 0;
  color: var(--text-soft);
}

.editor-drawer-form {
  display: grid;
  gap: 1rem;
}

.editor-drawer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr);
  gap: 1.15rem;
  align-items: start;
}

.editor-drawer-fields {
  display: grid;
  gap: 1rem;
}

.drawer-side {
  display: grid;
  gap: 1rem;
  align-content: start;
  position: sticky;
  top: 0;
}

.drawer-image-frame {
  margin-top: 1rem;
  overflow: hidden;
  min-height: 12rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.03);
}

.drawer-image-frame img {
  width: 100%;
  min-height: 12rem;
  height: 100%;
  object-fit: cover;
}

.drawer-price-builder {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

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

.drawer-price-builder-head p {
  margin: 0.35rem 0 0;
  color: var(--text-soft);
}

.drawer-price-rows {
  display: grid;
  gap: 0.85rem;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr) auto;
  gap: 0.8rem;
  align-items: end;
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.035);
}

.price-row-remove {
  align-self: end;
}

.editor-drawer-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 11, 10, 0), rgba(8, 11, 10, 0.98) 24%);
}

.editor-drawer-meta {
  display: grid;
  gap: 0.35rem;
}

.editor-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.debug-card {
  min-height: 16rem;
}

.debug-build {
  margin: 0.25rem 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.debug-log {
  margin: 0;
  padding: 0.9rem;
  min-height: 11rem;
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.03);
  color: var(--text-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.modal-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.2rem, 1fr));
  gap: 0.75rem;
}

.modal-price-card {
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.05);
}

.modal-price-card span,
.modal-price-card strong {
  display: block;
}

.modal-price-card span {
  color: var(--text-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modal-price-card strong {
  margin-top: 0.25rem;
  font-size: 1.18rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(4, 6, 6, 0.7);
  backdrop-filter: blur(10px);
}

.age-gate.is-visible {
  display: flex;
}

.age-gate-card {
  width: min(38rem, 100%);
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(221, 139, 67, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(18, 25, 22, 0.98), rgba(10, 13, 12, 0.99));
}

.age-gate-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.3rem);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
}

.age-gate-actions {
  justify-content: center;
  margin-top: 1.35rem;
}

.age-gate-note {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.editor-main {
  padding: 2.2rem 0 3rem;
}

.editor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(19rem, 0.82fr);
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at top left, rgba(111, 150, 96, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(16, 22, 20, 0.96), rgba(8, 11, 10, 0.98));
}

.editor-hero-card,
.login-info-card,
.workspace-note-card {
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.04);
}

.editor-hero-card strong,
.login-info-card h3,
.workspace-note-card h3 {
  display: block;
  margin-bottom: 0.45rem;
}

.setup-shell,
.login-shell {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.setup-card,
.login-card {
  padding: 1.5rem;
}

.setup-card {
  max-width: 42rem;
}

.login-layout {
  width: min(58rem, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
  gap: 1rem;
}

.setup-list {
  margin: 0.9rem 0 0;
  padding-left: 1.15rem;
}

.setup-list li + li {
  margin-top: 0.45rem;
}

.editor-app {
  display: grid;
  grid-template-columns: 19rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.editor-sidebar,
.editor-workspace {
  padding: 1rem;
}

.editor-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 48rem;
  position: sticky;
  top: 6rem;
}

.editor-sidebar-top {
  display: grid;
  gap: 0.8rem;
}

.editor-list {
  overflow: auto;
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.editor-list-item {
  padding: 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.04);
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.editor-list-item:hover {
  transform: translateY(-1px);
  border-color: rgba(221, 139, 67, 0.3);
}

.editor-list-item.is-active {
  border-color: rgba(221, 139, 67, 0.42);
  background: rgba(221, 139, 67, 0.12);
}

.editor-list-item strong,
.editor-list-item span,
.editor-list-item small {
  display: block;
}

.editor-list-item span,
.editor-list-item small {
  color: var(--text-muted);
}

.editor-list-item small {
  margin-top: 0.15rem;
  font-size: 0.78rem;
}

.editor-list-status {
  flex-shrink: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-list-status[data-status="in-stock"] {
  color: var(--success);
}

.editor-list-status[data-status="out-of-stock"] {
  color: #f1c0c0;
}

.editor-list-status[data-status="limited"] {
  color: #f4d19c;
}

.editor-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  grid-template-areas:
    "header header"
    "form aside";
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(221, 139, 67, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(16, 22, 20, 0.96), rgba(8, 11, 10, 0.98));
}

.workspace-header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.save-indicator,
.form-note {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.editor-form {
  grid-area: form;
  display: grid;
  gap: 1rem;
}

.form-cluster {
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 248, 235, 0.08);
  background: rgba(255, 248, 235, 0.035);
}

.cluster-head {
  margin-bottom: 1rem;
}

.cluster-head h3 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.cluster-head p:last-child {
  margin-top: 0.45rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 248, 235, 0.05);
}

.checkbox-field input {
  width: 1rem;
  height: 1rem;
}

.editor-form-footer {
  margin-top: 0.2rem;
}

.workspace-side {
  grid-area: aside;
  display: grid;
  gap: 1rem;
  align-content: start;
  position: sticky;
  top: 6rem;
}

.preview-card,
.workspace-note-card {
  padding: 1rem;
}

#editor-preview {
  margin-top: 0.8rem;
}

.preview-mini-card {
  overflow: hidden;
  cursor: default;
}

.preview-mini-card:hover {
  transform: none;
}

.preview-mini-card .product-card-media {
  min-height: 12rem;
}

.preview-mini-card .product-card-body {
  padding: 1rem;
}

@media (max-width: 1280px) {
  .hero-shell,
  .toolbar-shell,
  .editor-bar,
  .editor-hero,
  .security-grid,
  .modal-grid,
  .login-layout {
    grid-template-columns: 1fr;
  }

  .editor-drawer-layout {
    grid-template-columns: 1fr;
  }

  .drawer-side {
    position: static;
  }

  .editor-workspace {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "aside"
      "form";
  }

  .workspace-side,
  .editor-sidebar {
    position: static;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .hero-feature-card:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 18rem;
  }
}

@media (max-width: 1040px) {
  .editor-app,
  .catalog-section-head,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .catalog-section-meta {
    justify-content: flex-start;
  }

  .editor-sidebar {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 1.35rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .hero-shell {
    padding-top: 1.7rem;
  }

  .hero-note-grid,
  .hero-stats,
  .security-grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card-media {
    min-height: 16rem;
  }

  .editor-bar-actions {
    justify-items: start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --max: min(1480px, calc(100vw - 1rem));
  }

  .site-header {
    top: 0.5rem;
    padding: 0.9rem;
  }

  .hero-copy,
  .hero-visual,
  .toolbar-shell,
  .catalog-section,
  .security-shell,
  .editor-hero,
  .setup-card,
  .login-card,
  .login-info-card,
  .editor-sidebar,
  .editor-workspace,
  .preview-card,
  .workspace-note-card,
  .product-modal-card,
  .age-gate-card {
    padding: 1rem;
  }

  .hero-grid,
  .hero-note-grid,
  .hero-stats,
  .product-grid,
  .security-grid,
  .form-grid,
  .modal-price-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-meta-row,
  .catalog-section-meta,
  .editor-bar-actions,
  .drawer-price-builder-head,
  .workspace-header,
  .editor-form-footer,
  .editor-drawer-footer,
  .editor-drawer-actions,
  .age-gate-actions,
  .product-card-topline,
  .product-card-footer,
  .editor-list-item-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .editor-drawer {
    width: 100%;
    max-height: 100%;
    padding: 1rem;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card-media {
    min-height: 14rem;
  }

  .header-actions,
  .site-header .button,
  .hero-actions .button,
  .editor-form-footer .button {
    width: 100%;
  }

  .main-nav a {
    width: calc(33.333% - 0.3rem);
    text-align: center;
  }
}

/* Editorial public redesign */

.page-home {
  --bg: #0a0c0a;
  --bg-deep: #060705;
  --bg-soft: #141713;
  --panel: rgba(18, 20, 17, 0.8);
  --panel-solid: #121410;
  --panel-strong: rgba(12, 14, 12, 0.92);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #edf0e8;
  --text-soft: #c7d0c3;
  --text-muted: #92a08f;
  --sand: #f4f2eb;
  --orange: #4ade80;
  --orange-deep: #1f7a44;
  --green: #4ade80;
  --blue: #7090b6;
  --rose: #8f7180;
  --gold: #d4af37;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;
  --max: min(1260px, calc(100vw - 3rem));
  background:
    radial-gradient(44rem 28rem at 10% 0%, rgba(212, 175, 55, 0.12), transparent 56%),
    radial-gradient(38rem 24rem at 100% 12%, rgba(74, 222, 128, 0.09), transparent 55%),
    linear-gradient(180deg, #090b09 0%, #0a0d0a 45%, #0c110d 100%);
}

.page-home main {
  padding-top: 7.75rem;
}

.page-home::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 7rem 7rem;
  opacity: 0.55;
}

.page-home::after {
  background: linear-gradient(180deg, rgba(4, 5, 4, 0) 0%, rgba(4, 5, 4, 0.25) 100%);
}

.page-home .ambient {
  opacity: 0.34;
}

.page-home .eyebrow {
  color: var(--gold);
  letter-spacing: 0.32em;
  font-size: 0.7rem;
  font-weight: 600;
}

.page-home .button {
  min-height: 3rem;
  padding: 0.82rem 1.3rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .button-primary {
  color: var(--bg);
  background: linear-gradient(135deg, #f0d47d 0%, #d4af37 50%, #8f6b17 100%);
  box-shadow: 0 18px 34px rgba(212, 175, 55, 0.18);
}

.page-home .button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--sand);
}

.page-home .site-header {
  width: min(1380px, calc(100vw - 2rem));
  margin: 0.9rem auto 0;
  padding: 0.95rem 1.2rem;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 10, 0.64);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.page-home.is-scrolled .site-header {
  background: rgba(10, 12, 10, 0.84);
}

.page-home .brand {
  gap: 0.95rem;
}

.page-home .brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold);
  box-shadow: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.page-home .brand strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .brand small {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-home .main-nav {
  flex: 1;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .main-nav::-webkit-scrollbar {
  display: none;
}

.page-home .collection-tab {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  padding: 0.55rem 0.85rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.page-home .collection-tab::after {
  content: "";
  position: absolute;
  inset: auto 0.85rem 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.page-home .collection-tab:hover,
.page-home .collection-tab.is-active {
  color: var(--sand);
  background: transparent;
}

.page-home .collection-tab:hover::after,
.page-home .collection-tab.is-active::after {
  transform: scaleX(1);
}

.page-home .collection-tab.is-dormant {
  opacity: 0.68;
}

.page-home .header-actions {
  gap: 0.6rem;
}

.page-home .header-actions .button {
  min-height: 2.65rem;
  padding-inline: 1rem;
}

.page-home .hero-shell {
  width: calc(100vw - 2rem);
  min-height: min(58rem, calc(100vh - 1rem));
  margin: 0.8rem auto 0;
  padding: 8.5rem 0 4rem;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(10, 12, 10, 0.2) 0%, rgba(10, 12, 10, 0.52) 40%, rgba(10, 12, 10, 0.96) 100%),
    radial-gradient(circle at 16% 18%, rgba(212, 175, 55, 0.14), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(74, 222, 128, 0.12), transparent 28%),
    var(--hero-image, linear-gradient(135deg, #161915, #090b09));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.page-home .hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 45%);
  pointer-events: none;
}

.page-home .hero-copy {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
  padding: 0;
  gap: 1.15rem;
  justify-content: flex-end;
  background: none;
  z-index: 2;
}

.page-home .hero-copy h1 {
  max-width: 8.6ch;
  font-size: clamp(4.6rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.page-home .hero-body {
  max-width: 36rem;
  font-size: 1.06rem;
  line-height: 1.9;
}

.page-home .hero-actions {
  margin-top: 0.4rem;
}

.page-home .hero-grid {
  position: absolute;
  right: clamp(1.2rem, 4vw, 3rem);
  bottom: clamp(1.2rem, 4vw, 3rem);
  width: min(34rem, calc(100% - 2.5rem));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  z-index: 2;
}

.page-home .hero-feature-card {
  min-height: 13rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 16, 14, 0.56);
  backdrop-filter: blur(5px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.page-home .hero-feature-card.is-lead {
  grid-column: span 2;
  min-height: 16rem;
}

.page-home .hero-feature-card.is-placeholder {
  display: grid;
  place-items: end start;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(15, 18, 15, 0.92));
}

.page-home .hero-feature-overlay {
  padding: 1rem 1.1rem;
}

.page-home .hero-feature-overlay p {
  color: rgba(244, 242, 235, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
}

.page-home .hero-feature-overlay strong {
  font-size: 1.08rem;
  line-height: 1.05;
}

.page-home .catalog-intro,
.page-home .catalog-shell,
.page-home .site-footer,
.page-home .editor-bar {
  width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.page-home .catalog-intro {
  padding: 6rem 0 3.5rem;
  text-align: center;
}

.page-home .catalog-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 400;
  line-height: 0.94;
}

.page-home .catalog-intro p:last-child {
  max-width: 44rem;
  margin: 1rem auto 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.page-home .editor-bar {
  margin-top: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 16, 14, 0.76);
}

.page-home .catalog-shell {
  padding: 0 0 5rem;
  gap: 3rem;
}

.page-home .collection-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .collection-overview-card {
  position: relative;
  min-height: 12rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--section-accent) 18%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(17, 20, 17, 0.96), rgba(10, 12, 10, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-home .collection-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.24);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.page-home .collection-overview-index {
  color: rgba(244, 242, 235, 0.22);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.85;
}

.page-home .collection-overview-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 0.92;
}

.page-home .section-page-header {
  margin-bottom: 2rem;
}

.page-home .section-page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
}

.page-home .collection-overview-copy,
.page-home .collection-overview-empty {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.page-home .collection-overview-meta,
.page-home .collection-overview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-home .collection-overview-meta span,
.page-home .collection-overview-list span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--sand);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .collection-overview-cta {
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-home.page-collection .hero-shell {
  width: var(--max);
  min-height: auto;
  padding: 8.5rem 0 3rem;
  display: block;
}

.page-home.page-collection .hero-copy,
.page-home.page-collection .hero-grid {
  width: min(var(--max), calc(100% - 3rem));
}

.page-home.page-collection .hero-copy h1 {
  max-width: none;
  font-size: clamp(4rem, 7vw, 6.8rem);
}

.page-home.page-collection .hero-grid {
  display: none;
  position: static;
  right: auto;
  bottom: auto;
  margin: 2.25rem auto 0;
}

.page-home.page-collection .catalog-intro {
  padding: 4.5rem 0 2.5rem;
  text-align: left;
}

.page-home.page-collection .catalog-intro p:last-child {
  margin-left: 0;
}

.page-home.page-collection .catalog-shell {
  padding-top: 0;
}

.page-home .catalog-section {
  padding: 0;
  overflow: visible;
  background: none;
}

.page-home .catalog-section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.75rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.page-home .catalog-section-number {
  color: rgba(244, 242, 235, 0.2);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.85;
}

.page-home .catalog-section-copy h2 {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.page-home .catalog-section-copy p:last-child {
  max-width: 40rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.page-home .feature-stack {
  display: grid;
  gap: 2rem;
}

.page-home .feature-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .feature-card::before {
  display: none;
}

.page-home .feature-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.page-home .feature-card.is-text-only {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--section-accent) 16%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(17, 20, 17, 0.96), rgba(10, 12, 10, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.page-home .feature-card.is-text-only:hover {
  border-color: rgba(212, 175, 55, 0.16);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.page-home .feature-card.is-text-only .feature-copy {
  padding: 0;
}

.page-home .feature-card.is-reversed .feature-media {
  order: 2;
}

.page-home .feature-card.is-reversed .feature-copy {
  order: 1;
}

.page-home .feature-media {
  position: relative;
  min-height: clamp(22rem, 46vw, 38rem);
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--section-accent) 18%, rgba(255, 255, 255, 0.04)), rgba(9, 12, 10, 0.95)),
    rgba(10, 12, 10, 0.92);
}

.page-home .feature-media img {
  transition: transform 900ms ease, filter 320ms ease;
}

.page-home .feature-card:hover .feature-media img {
  transform: scale(1.04);
  filter: brightness(1.03);
}

.page-home .feature-badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 12, 10, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sand);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .product-card-shade {
  background:
    linear-gradient(180deg, rgba(6, 8, 7, 0.04) 0%, rgba(6, 8, 7, 0.1) 45%, rgba(6, 8, 7, 0.48) 100%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 30%);
}

.page-home .product-card-edit-badge {
  top: 1.1rem;
  right: 1.1rem;
}

.page-home .feature-copy {
  padding: 0.4rem 0;
  gap: 0.75rem;
  align-content: center;
}

.page-home .feature-index {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
}

.page-home .product-brand {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
}

.page-home .product-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.page-home .product-subtitle {
  color: rgba(244, 242, 235, 0.72);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
}

.page-home .product-summary {
  display: block;
  max-width: 35rem;
  overflow: visible;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.95;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.page-home .feature-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.4rem;
  padding-top: 1rem;
  margin-top: 0.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .feature-fact span,
.page-home .modal-notes h3 {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-home .feature-fact strong {
  color: var(--sand);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.7;
}

.page-home .feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.page-home .feature-tag {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .product-card-cta {
  margin-top: 0.2rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-home .preview-mini-card .product-brand {
  font-size: 0.66rem;
}

.page-home .preview-mini-card .product-name {
  font-size: 1.6rem;
  line-height: 0.98;
}

.page-home .preview-mini-card .product-subtitle {
  font-size: 1rem;
}

.page-home .preview-mini-card .product-summary {
  max-width: none;
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-home .preview-mini-card .product-card-cta {
  font-size: 0.66rem;
}

.page-home .chapter-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.page-home .chapter-placeholder-art {
  min-height: 24rem;
  padding: 2rem;
  display: grid;
  align-content: end;
  border-radius: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--section-accent) 36%, transparent), transparent 36%),
    linear-gradient(140deg, rgba(18, 21, 18, 0.98), rgba(10, 12, 10, 0.98));
}

.page-home .chapter-placeholder-art span {
  display: block;
  color: rgba(244, 242, 235, 0.28);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.86;
}

.page-home .chapter-placeholder-art strong {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 0.92;
}

.page-home .chapter-placeholder-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.94;
}

.page-home .chapter-placeholder-copy p:last-child {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.9;
}

.page-home .placeholder-empty.filter-empty {
  margin-top: 2rem;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.page-home .site-footer {
  padding: 0 0 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  color: var(--text-muted);
}

.page-home .product-modal-card {
  width: min(1180px, calc(100vw - 2rem));
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(18, 21, 18, 0.98), rgba(10, 12, 10, 0.99));
}

.page-home .modal-close {
  border-color: rgba(255, 255, 255, 0.1);
}

.page-home .modal-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 2rem;
  align-items: center;
}

.page-home .modal-media {
  min-height: 32rem;
  border-radius: 0.35rem;
}

.page-home .modal-media.is-empty {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--section-accent) 18%, transparent), transparent 32%),
    linear-gradient(180deg, rgba(17, 20, 17, 0.98), rgba(10, 12, 10, 0.98));
}

.page-home .modal-media-copy {
  padding: 2rem;
  text-align: center;
}

.page-home .modal-media-copy p {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.page-home .modal-media-copy strong {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 0.95;
}

.page-home .modal-copy {
  gap: 1.1rem;
}

.page-home .modal-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.92;
}

.page-home .modal-copy p,
.page-home .modal-copy li {
  color: var(--text-soft);
  line-height: 1.9;
}

.page-home .modal-notes ul {
  margin: 0;
  padding-left: 1rem;
}

.page-home .age-gate-card {
  width: min(42rem, 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(18, 21, 18, 0.98), rgba(10, 12, 10, 0.98));
}

.page-home .age-gate-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
}

.page-home .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-home .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .page-home .hero-shell {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .page-home main {
    padding-top: 7.25rem;
  }

  .page-home .collection-overview-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hero-grid {
    position: static;
    width: min(var(--max), calc(100% - 3rem));
    margin: 2rem auto 0;
  }

  .page-home .feature-card,
  .page-home .chapter-placeholder,
  .page-home .modal-grid {
    grid-template-columns: 1fr;
  }

  .page-home .feature-card.is-reversed .feature-media,
  .page-home .feature-card.is-reversed .feature-copy {
    order: initial;
  }
}

@media (max-width: 860px) {
  .page-home {
    --max: min(1260px, calc(100vw - 1.6rem));
  }

  .page-home .site-header {
    width: calc(100vw - 1rem);
    padding: 0.9rem 1rem;
    gap: 0.85rem;
    border-radius: 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-home .brand {
    width: 100%;
    justify-content: center;
  }

  .page-home .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .page-home .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-home .hero-copy h1,
  .page-home .product-name,
  .page-home .modal-copy h2,
  .page-home .chapter-placeholder-copy h3,
  .page-home .section-page-title {
    font-size: clamp(2.8rem, 10vw, 4.6rem);
  }

  .page-home .catalog-section-head,
  .page-home .feature-facts,
  .page-home .site-footer {
    grid-template-columns: 1fr;
  }

  .page-home .site-footer {
    display: grid;
  }
}

@media (max-width: 640px) {
  .page-home {
    --max: min(1260px, calc(100vw - 1rem));
  }

  .page-home main {
    padding-top: 7rem;
  }

  .page-home .hero-shell {
    width: calc(100vw - 1rem);
    margin-top: 0.5rem;
    padding: 6.8rem 0 2rem;
    border-radius: 1.2rem;
  }

  .page-home .hero-copy,
  .page-home .hero-grid,
  .page-home .catalog-intro,
  .page-home .editor-bar,
  .page-home .catalog-shell,
  .page-home .site-footer {
    width: var(--max);
  }

  .page-home.page-collection .hero-copy,
  .page-home.page-collection .hero-grid {
    width: var(--max);
  }

  .page-home .hero-actions,
  .page-home .header-actions {
    width: 100%;
  }

  .page-home .hero-actions .button,
  .page-home .header-actions .button {
    width: 100%;
  }

  .page-home .hero-grid,
  .page-home .feature-facts {
    grid-template-columns: 1fr;
  }

  .page-home .hero-feature-card.is-lead {
    grid-column: auto;
  }

  .page-home .catalog-intro {
    padding: 4.5rem 0 2.5rem;
  }

  .page-home .feature-stack {
    gap: 3rem;
  }

  .page-home .feature-media,
  .page-home .chapter-placeholder-art,
  .page-home .modal-media {
    min-height: 18rem;
  }

  .page-home .product-card-cta {
    margin-top: 0.5rem;
  }
}
