:root {
  --app-bg: #141216;
  --app-bg-accent: #37261f;
  --app-text: #f7efdf;
  --app-surface: #201b20;
  --app-muted: #c9baa2;
  --app-border: #6d4f3b;
  --app-link: #f26d6f;
  --app-gold: #ddb04d;
  --app-copper: #a76d47;
  --app-crimson: #d9464f;
}

html[data-theme="dark"] {
  --app-bg: #0f0c10;
  --app-bg-accent: #2a1c18;
  --app-text: #fbf4e8;
  --app-surface: #171318;
  --app-muted: #b9a78c;
  --app-border: #5b4133;
  --app-link: #ff7b7c;
  --app-gold: #e5b85a;
  --app-copper: #a96f4a;
  --app-crimson: #e14b54;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  background: radial-gradient(1200px 600px at 50% -40px, rgba(199, 98, 39, 0.22), transparent 60%),
    radial-gradient(900px 500px at 80% 0%, rgba(119, 54, 35, 0.24), transparent 62%),
    var(--app-bg);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  color: var(--app-text);
  background: transparent;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  --bs-body-color: var(--app-text);
  --bs-secondary-color: var(--app-muted);
  --bs-emphasis-color: var(--app-text);
  --bs-body-bg: transparent;
  --bs-tertiary-bg: #19161a;
  --bs-border-color: var(--app-border);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, 0.48) 100%);
  pointer-events: none;
  z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Copperplate Gothic Bold", "Impact", "Arial Black", sans-serif;
  letter-spacing: 0.02em;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  z-index: 1000;
  background: #111827;
  color: #ffffff;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  top: 0;
}

a {
  color: var(--app-link);
}

a:hover {
  color: #ff6b70;
}

.navbar {
  background: linear-gradient(110deg, rgba(33, 26, 24, 0.95), rgba(16, 14, 16, 0.95) 68%) !important;
  border-color: rgba(109, 79, 59, 0.7) !important;
  backdrop-filter: blur(4px);
}

.ds-topbar {
  position: relative;
  z-index: 1050;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.ds-topbar .navbar-collapse,
.ds-topbar .navbar-nav,
.ds-topbar .nav-item {
  overflow: visible;
}

.ds-nav-container {
  max-width: 1160px;
}

.ds-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0;
}

.ds-brand-logo {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .ds-brand-logo {
    height: 50px;
  }
}

.navbar .nav-link,
.navbar .btn-link.nav-link,
.navbar .navbar-brand {
  color: #f4e9d2 !important;
}

.navbar .nav-link:hover,
.navbar .btn-link.nav-link:hover {
  color: #ffe2ab !important;
}

.ds-nav-links .nav-link {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.8rem !important;
}

.ds-nav-links .nav-link:focus-visible,
.ds-auth-link:focus-visible,
.ds-btn-primary:focus-visible,
.btn-outline-secondary:focus-visible {
  outline: 2px solid var(--app-gold);
  outline-offset: 2px;
}

.ds-right-actions {
  flex-wrap: wrap;
}

.ds-auth-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}

.ds-auth-link {
  border: 1px solid rgba(169, 111, 74, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.9rem !important;
  line-height: 1.2;
}

.ds-auth-link:hover {
  border-color: rgba(229, 184, 90, 0.85);
  transform: translateY(-1px);
}

.ds-auth-link-primary {
  background: linear-gradient(180deg, #f2cc73 0%, #cb993d 100%);
  border-color: #b5832c;
  color: #221509 !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 215, 0.6);
}

.ds-auth-link-primary:hover {
  color: #1a1008 !important;
  background: linear-gradient(180deg, #f8d683 0%, #d7a64a 100%);
}

.navbar .nav-link.ds-auth-link-primary,
.navbar .nav-link.ds-auth-link-primary:hover,
.navbar .nav-link.ds-auth-link-primary:focus-visible {
  color: #1a1008 !important;
}

.navbar .btn-outline-secondary {
  color: #f5e7d0;
  border-color: rgba(169, 111, 74, 0.65);
  border-radius: 999px;
}

.navbar .btn-outline-secondary:hover {
  color: #ffffff;
  background-color: rgba(111, 78, 56, 0.8);
  border-color: rgba(169, 111, 74, 0.9);
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .ds-auth-links {
    margin-top: 0.5rem;
    justify-content: flex-start;
  }
}

/* ── Nav dropdowns ── */
.ds-dropdown {
  z-index: 1060;
  background: linear-gradient(155deg, rgba(24, 18, 30, 0.98), rgba(14, 11, 18, 0.99));
  border: 1px solid rgba(109, 79, 59, 0.5);
  border-radius: 12px;
  padding: 0.4rem 0;
  margin-top: 0.4rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.ds-dropdown .dropdown-item {
  color: var(--app-muted);
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  transition: background 0.12s, color 0.12s;
}

.ds-dropdown .dropdown-item:hover,
.ds-dropdown .dropdown-item:focus {
  background: rgba(221, 176, 77, 0.1);
  color: var(--app-text);
}

.ds-dropdown-divider {
  border-color: rgba(109, 79, 59, 0.3);
  margin: 0.3rem 0;
}

/* ── Compact user avatar toggle ── */
.ds-user-toggle {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.6rem !important;
  border-radius: 999px;
  border: 1px solid rgba(109, 79, 59, 0.45) !important;
  transition: border-color 0.15s;
}

.ds-user-toggle:hover,
.ds-user-toggle.show {
  border-color: rgba(221, 176, 77, 0.6) !important;
}

/* Hide Bootstrap's caret arrow on the toggle */
.ds-user-toggle::after { display: none; }

.ds-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--app-gold), var(--app-copper));
  color: #1a0f00;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.ds-user-name {
  font-size: 0.8rem;
  color: var(--app-muted);
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-user-toggle:hover .ds-user-name,
.ds-user-toggle.show .ds-user-name {
  color: var(--app-text);
}

/* Logout button inside dropdown looks like an item */
.ds-dropdown form button.dropdown-item {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.ds-dropdown form button.dropdown-item:hover {
  background: rgba(217, 70, 79, 0.12);
  color: #ff9ea2;
}

.card,
.modal-content,
.table,
.form-control,
.form-select,
.alert {
  background-color: var(--app-surface);
  color: var(--app-text);
  border-color: var(--app-border);
}

.text-muted,
.form-text,
small {
  color: var(--app-muted) !important;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--app-text);
  --bs-table-border-color: var(--app-border);
  --bs-table-striped-color: var(--app-text);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.04);
  --bs-table-hover-color: var(--app-text);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.06);
}

.text-dark,
.text-body,
.link-dark {
  color: var(--app-text) !important;
}

.btn-outline-secondary {
  color: #f5e7d0;
  border-color: #705b4f;
}

.btn-outline-secondary:hover {
  color: #ffffff;
  background-color: #705b4f;
  border-color: #705b4f;
}

.btn-light {
  color: #f5e7d0;
  background-color: #3d3438;
  border-color: #705b4f;
}

.btn-light:hover {
  color: #ffffff;
  background-color: #514449;
  border-color: #8a7162;
}

.alert-info,
.alert-warning,
.alert-success,
.alert-danger {
  color: var(--app-text);
}

.alert-info {
  background-color: rgba(56, 93, 124, 0.28);
  border-color: #51708a;
}

.alert-warning {
  background-color: rgba(138, 103, 31, 0.24);
  border-color: #b08934;
}

.alert-success {
  background-color: rgba(64, 112, 76, 0.26);
  border-color: #5e9568;
}

.alert-danger {
  background-color: rgba(124, 52, 52, 0.28);
  border-color: #a65757;
}

.alert a {
  color: #ff8588;
}

.form-control::placeholder,
.form-select::placeholder {
  color: var(--app-muted);
}

.btn-primary {
  --bs-btn-bg: #d9ad4c;
  --bs-btn-border-color: #bf8f34;
  --bs-btn-hover-bg: #e4bd63;
  --bs-btn-hover-border-color: #ca9b44;
  --bs-btn-color: #24170c;
  --bs-btn-hover-color: #1d1208;
}

.btn-success {
  --bs-btn-bg: #b7843e;
  --bs-btn-border-color: #996631;
  --bs-btn-hover-bg: #c89248;
  --bs-btn-hover-border-color: #ab7737;
}

.ds-btn-primary {
  background: linear-gradient(180deg, #f0cb75 0%, #cd9c41 100%);
  border: 1px solid #b6832d;
  border-radius: 999px;
  color: #27190d;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.65), 0 6px 14px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.ds-btn-primary:hover {
  color: #1c1108;
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.7), 0 10px 18px rgba(0, 0, 0, 0.28);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.1rem var(--app-surface), 0 0 0 0.25rem rgba(240, 200, 75, 0.5);
}

.store-hero {
  margin-bottom: 3.75rem;
}

.store-hero-merch {
  margin-bottom: 2.5rem;
}

.store-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(2.8rem, 5.5vw, 4.5rem) 1.25rem;
  border: 1px solid rgba(169, 111, 74, 0.55);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(54, 37, 34, 0.82), rgba(20, 16, 20, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.1), 0 18px 32px rgba(0, 0, 0, 0.32);
}

.store-hero-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.store-hero-story,
.store-hero-spotlight {
  border: 1px solid rgba(169, 111, 74, 0.55);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(54, 37, 34, 0.82), rgba(20, 16, 20, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.1), 0 18px 32px rgba(0, 0, 0, 0.32);
}

.store-hero-story {
  padding: clamp(2rem, 4vw, 3.25rem);
}

.store-story-points {
  display: grid;
  gap: 0.85rem;
}

.store-story-point {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(229, 184, 90, 0.24);
  border-radius: 14px;
  background: rgba(22, 17, 19, 0.62);
}

.store-story-point strong {
  color: #f6d28d;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-story-point span {
  color: var(--app-muted);
}

.store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-hero-spotlight {
  padding: 1rem;
}

.store-spotlight-card {
  height: 100%;
  border: 1px solid rgba(229, 184, 90, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 22, 21, 0.94), rgba(17, 14, 18, 0.96));
  overflow: hidden;
}

.store-spotlight-media {
  min-height: 280px;
  background: rgba(15, 12, 15, 0.88);
}

.store-spotlight-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.store-spotlight-placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-muted);
}

.store-spotlight-body {
  padding: 1.15rem 1.15rem 1.25rem;
}

.store-spotlight-label,
.store-category-kicker {
  color: var(--app-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-spotlight-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-spotlight-price {
  color: #f7d08d;
  font-size: 2rem;
  font-weight: 700;
}

.store-spotlight-period,
.store-spotlight-note {
  color: var(--app-muted);
}

.store-eyebrow {
  color: var(--app-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-hero-subtitle {
  color: #f4e9d3;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.store-hero-trust {
  color: var(--app-muted);
}

.store-section-heading {
  margin-bottom: 1.25rem;
}

.store-trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.store-trust-item {
  border: 1px solid rgba(169, 111, 74, 0.5);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(27, 21, 24, 0.7);
}

.store-trust-item h2 {
  color: var(--app-gold);
  letter-spacing: 0.02em;
}

.store-trust-item p {
  color: var(--app-muted);
}

.trust-bullet-list {
  padding-left: 1rem;
}

.trust-bullet-list li {
  margin-bottom: 0.25rem;
}

.product-trust-summary {
  border: 1px solid rgba(169, 111, 74, 0.4);
  border-radius: 10px;
  padding: 0.75rem;
  background: rgba(19, 16, 20, 0.55);
}

.featured-product-section,
.store-products-section {
  margin-bottom: 4rem;
}

.subscription-focus-section {
  margin-bottom: 4rem;
}

.subscription-focus-header {
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(229, 184, 90, 0.45);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(62, 38, 29, 0.56), rgba(24, 18, 20, 0.72));
}

.subscription-centerpiece {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(169, 111, 74, 0.45);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(40, 27, 25, 0.84), rgba(17, 14, 19, 0.88));
}

.subscription-centerpiece-copy {
  color: #f2e4cf;
}

.subscription-centerpiece-metrics {
  display: grid;
  gap: 0.8rem;
}

.subscription-metric {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(229, 184, 90, 0.25);
  border-radius: 14px;
  background: rgba(18, 15, 19, 0.7);
}

.subscription-metric-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--app-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.subscription-metric strong {
  color: #f4e7c7;
  font-size: 1.15rem;
}

.subscription-status-banner {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(229, 184, 90, 0.5);
  border-radius: 12px;
  background: rgba(42, 30, 25, 0.55);
}

.subscription-grid .card.subscription-plan-card {
  border: 1px solid rgba(229, 184, 90, 0.38);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.07), 0 12px 24px rgba(0, 0, 0, 0.26);
}

.subscription-grid .card.subscription-plan-card:hover {
  border-color: rgba(229, 184, 90, 0.72);
  transform: translateY(-2px);
}

.subscription-plan-card-featured {
  border-width: 2px !important;
}

.subscription-price {
  font-size: 1.35rem;
  color: #f7d08d;
  font-weight: 700;
}

.store-category-nav-section,
.store-category-section,
.store-empty-state {
  border: 1px solid rgba(169, 111, 74, 0.5);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(31, 23, 24, 0.9), rgba(18, 15, 18, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.08), 0 16px 30px rgba(0, 0, 0, 0.24);
}

.store-category-nav-section {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.store-category-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(229, 184, 90, 0.3);
  border-radius: 999px;
  background: rgba(24, 18, 21, 0.84);
  color: #f3e4ca;
  text-decoration: none;
  font-weight: 700;
}

.store-category-chip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.8rem;
  height: 1.8rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(217, 173, 76, 0.16);
  color: #f7d08d;
}

.store-category-chip:hover {
  color: #fff0c3;
  border-color: rgba(229, 184, 90, 0.72);
  transform: translateY(-1px);
}

.store-collection-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.store-collection-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store-collection-summary span {
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(229, 184, 90, 0.25);
  border-radius: 999px;
  background: rgba(20, 16, 19, 0.68);
  color: var(--app-muted);
}

.store-empty-state {
  padding: 1.35rem;
}

.store-category-section {
  padding: 1.15rem;
  margin-bottom: 1.35rem;
  scroll-margin-top: 90px;
}

.store-category-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.store-category-count {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(229, 184, 90, 0.24);
  border-radius: 999px;
  background: rgba(20, 16, 19, 0.68);
  color: #f4e7c7;
  font-weight: 700;
}

.store-card-image {
  height: 260px;
  object-fit: cover;
}

.store-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.store-card-category,
.store-card-stock {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.store-card-category {
  background: rgba(229, 184, 90, 0.14);
  color: #f7d08d;
}

.store-card-stock {
  background: rgba(217, 70, 79, 0.12);
  color: #ff9fa5;
}

.store-card-footer-meta {
  display: grid;
  gap: 0.15rem;
}

.store-card-price {
  font-size: 1.3rem;
  color: #f7d08d;
  font-weight: 700;
}

.featured-product-card {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  border: 1px solid rgba(169, 111, 74, 0.55);
  border-radius: 18px;
  padding: clamp(1rem, 2.3vw, 1.65rem);
  background: linear-gradient(160deg, rgba(36, 27, 27, 0.88), rgba(18, 15, 18, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.08), 0 16px 26px rgba(0, 0, 0, 0.28);
}

.featured-product-media {
  border: 1px solid rgba(169, 111, 74, 0.45);
  border-radius: 14px;
  background: rgba(22, 18, 20, 0.7);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-image-button {
  width: 100%;
}

.featured-product-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
}

.featured-image-placeholder {
  color: var(--app-muted);
}

.featured-product-title {
  color: var(--app-crimson);
  margin-bottom: 0.85rem;
}

.featured-product-price {
  font-size: 1.7rem;
  color: #f7d08d;
  font-weight: 700;
}

.featured-buy-form {
  margin: 0;
}

.featured-buy-form .btn,
.featured-waitlist-form .btn {
  width: 100%;
}

.store-product-grid .card {
  border: 1px solid rgba(169, 111, 74, 0.5);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.07), 0 12px 24px rgba(0, 0, 0, 0.26);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-product-grid .card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 184, 90, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.08), 0 16px 28px rgba(0, 0, 0, 0.3);
}

.product-grid-title {
  color: var(--app-crimson);
}

.product-grid-title:hover {
  color: #ff7079;
}

@media (min-width: 992px) {
  .store-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
  }

  .subscription-centerpiece {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
    align-items: start;
  }

  .subscription-centerpiece-metrics {
    grid-template-columns: 1fr;
  }

  .store-collection-intro {
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: end;
  }

  .featured-product-card {
    grid-template-columns: minmax(320px, 1fr) 1.15fr;
    align-items: center;
  }

  .store-trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .store-hero-actions {
    flex-direction: column;
  }

  .store-hero-actions .btn {
    width: 100%;
  }

  .store-spotlight-price-row,
  .store-category-header {
    align-items: start;
  }
}

.store-image-button,
.store-thumb-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.store-image-button:focus-visible,
.store-thumb-button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--app-gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.store-image-button {
  width: 100%;
  display: block;
}

.store-thumb-button {
  border-radius: 4px;
}

.store-thumb-image {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

.store-image-modal-image {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.store-image-viewer {
  position: relative;
  overflow: hidden;
}

.product-main-image-button {
  border: 1px solid var(--app-border);
  background: #171317;
  padding: 0.5rem;
  border-radius: 8px;
  width: 100%;
  cursor: zoom-in;
}

.product-main-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 6px;
}

.product-main-image-placeholder {
  min-height: 320px;
  border: 1px dashed var(--app-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-muted);
}

.product-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.5rem;
}

.product-thumb-button {
  border: 1px solid var(--app-border);
  background: #1a161a;
  padding: 2px;
  border-radius: 6px;
}

.product-thumb-button.active {
  border-color: var(--app-gold);
  box-shadow: 0 0 0 1px rgba(240, 200, 75, 0.4);
}

.product-thumb-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.product-cta-card {
  position: sticky;
  top: 1rem;
}

.product-spec-list .list-group-item {
  background: transparent;
  border-color: var(--app-border);
  color: var(--app-text);
}

@media (max-width: 991.98px) {
  .product-cta-card {
    position: static;
  }
}

.store-image-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
}

#storeImagePrev {
  left: 0.75rem;
}

#storeImageNext,
#productImageNext {
  right: 0.75rem;
}

#productImagePrev {
  left: 0.75rem;
}

@media (max-width: 575.98px) {
  .store-image-nav-button {
    top: auto;
    bottom: 0.75rem;
    transform: none;
  }

  .store-image-modal-image {
    max-height: 70vh;
  }
}

.footer {
  background: rgba(0, 0, 0, 0.18);
  color: var(--app-muted) !important;
  border-top: 0 !important;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
}

.admin-shell {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.admin-hero-panel,
.admin-silo-panel {
  border: 1px solid rgba(169, 111, 74, 0.5);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(31, 23, 24, 0.9), rgba(18, 15, 18, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.08), 0 16px 30px rgba(0, 0, 0, 0.24);
}

.admin-hero-panel {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  align-items: start;
}

.admin-eyebrow {
  color: var(--app-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-hero-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.admin-mini-stat {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(229, 184, 90, 0.28);
  border-radius: 12px;
  background: rgba(60, 38, 28, 0.36);
}

.admin-mini-stat strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #f4e7c8;
}

.admin-mini-stat-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--app-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-silo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.admin-silo-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(169, 111, 74, 0.5);
  border-radius: 999px;
  background: rgba(29, 22, 24, 0.78);
  color: #f3e4ca;
  font-weight: 700;
  text-decoration: none;
}

.admin-silo-link:hover {
  color: #fff0c3;
  border-color: rgba(229, 184, 90, 0.78);
  transform: translateY(-1px);
}

.admin-silo-panel {
  padding: 1.1rem;
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.admin-action-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-height: 140px;
  padding: 1rem;
  border: 1px solid rgba(169, 111, 74, 0.46);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(46, 32, 31, 0.78), rgba(23, 18, 20, 0.84));
  color: var(--app-text);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-action-card:hover {
  color: var(--app-text);
  border-color: rgba(229, 184, 90, 0.78);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.admin-action-title {
  color: var(--app-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-action-value {
  font-family: "Copperplate Gothic Bold", "Impact", "Arial Black", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.admin-action-meta {
  color: var(--app-muted);
  font-size: 0.92rem;
}

.admin-actions-column {
  width: 1%;
  min-width: 11rem;
  white-space: nowrap;
}

.admin-actions-cell {
  white-space: normal;
}

.admin-table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  min-width: 10.5rem;
}

.admin-table-actions > .btn,
.admin-table-action-form > .btn {
  min-width: 4.5rem;
}

.admin-table-action-form {
  margin: 0;
}

.admin-code-table th,
.admin-code-table td {
  vertical-align: top;
}

.admin-code-summary {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.admin-code-heading {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-code-name {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.admin-code-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.admin-code-detail {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(169, 111, 74, 0.34);
  border-radius: 12px;
  background: rgba(32, 24, 27, 0.52);
}

.admin-code-detail dt {
  margin: 0 0 0.35rem;
  color: var(--app-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-code-detail dd {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  font-weight: 600;
}

.admin-code-detail .badge {
  align-self: flex-start;
}

@media (max-width: 1399.98px) {
  .admin-table-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
  }
}

@media (max-width: 575.98px) {
  .admin-code-details {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .admin-hero-panel {
    grid-template-columns: 1.2fr 0.95fr;
  }
}

@media (max-width: 767.98px) {
  .admin-silo-panel {
    padding: 0.9rem;
  }

  .admin-section-header {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════════════ */

/* Prevent horizontal scroll from full-bleed sections */
body {
  overflow-x: clip;
}

/* Full-bleed breakout from Bootstrap container */
.ds-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ── Cinematic Hero ── */
.ds-home-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 700px at 70% 40%, rgba(180, 60, 40, 0.14), transparent 65%),
    radial-gradient(ellipse 600px 500px at 20% 80%, rgba(100, 50, 20, 0.16), transparent 60%),
    radial-gradient(ellipse 400px 300px at 50% 10%, rgba(229, 184, 90, 0.08), transparent 55%),
    linear-gradient(160deg, #120b18 0%, #0a0710 45%, #130b0c 100%);
}

.ds-home-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 184, 90, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 184, 90, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%);
  pointer-events: none;
}

.ds-home-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.ds-home-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 900px) {
  .ds-home-hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .ds-home-hero {
    min-height: auto;
  }
}

.ds-home-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(225, 75, 84, 0.12);
  border: 1px solid rgba(225, 75, 84, 0.4);
  border-radius: 999px;
  color: #ff7a80;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.25rem;
}

.ds-home-hero-tag-dot {
  width: 6px;
  height: 6px;
  background: #e14b54;
  border-radius: 50%;
  flex-shrink: 0;
  animation: ds-pulse-dot 2s ease infinite;
}

@keyframes ds-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.ds-home-kicker {
  display: block;
  color: var(--app-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ds-home-h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
}

.ds-home-h1-accent {
  color: var(--app-crimson);
}

.ds-home-hero-sub {
  color: var(--app-muted);
  font-size: clamp(0.97rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}

.ds-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.ds-home-social-proof {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.ds-home-stars {
  color: var(--app-gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.ds-home-proof-text {
  font-size: 0.83rem;
  color: var(--app-muted);
}

.ds-home-proof-text strong {
  color: var(--app-text);
}

/* ── Showcase Card ── */
.ds-home-showcase {
  position: relative;
}

.ds-home-ltd-ribbon {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  z-index: 3;
  background: linear-gradient(135deg, #c0392b, #8e1e24);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(180, 30, 40, 0.4);
}

.ds-home-showcase-card {
  border: 1px solid var(--app-border);
  border-color: rgba(229, 184, 90, 0.4);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(30, 22, 35, 0.96), rgba(14, 11, 18, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 200, 0.1),
    0 28px 55px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.ds-home-showcase-img {
  position: relative;
  background: radial-gradient(ellipse at 50% 60%, rgba(100, 40, 30, 0.4), rgba(10, 8, 14, 0.95));
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 2rem;
}

.ds-home-showcase-img-filled {
  padding: 0;
  overflow: hidden;
}

.ds-home-showcase-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
}

.ds-home-showcase-img::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(225, 75, 84, 0.2), transparent 70%);
  top: 20%;
  left: 15%;
  pointer-events: none;
}

.ds-home-showcase-img::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(229, 184, 90, 0.12), transparent 70%);
  bottom: 20%;
  right: 15%;
  pointer-events: none;
}

.ds-home-showcase-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, rgba(30, 20, 10, 0.95), rgba(15, 10, 5, 0.98));
  border: 1px solid rgba(229, 184, 90, 0.5);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.ds-home-badge-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--app-gold);
  font-family: "Copperplate Gothic Bold", "Impact", sans-serif;
  line-height: 1;
}

.ds-home-badge-label {
  display: block;
  font-size: 0.63rem;
  color: var(--app-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.ds-home-mini-float {
  font-size: 8rem;
  line-height: 1;
  filter: drop-shadow(0 0 40px rgba(225, 75, 84, 0.5)) drop-shadow(0 0 80px rgba(180, 60, 40, 0.3));
  display: block;
  animation: ds-float 4s ease-in-out infinite;
}

@keyframes ds-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ds-home-mini-shadow {
  width: 80px;
  height: 14px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6), transparent);
  animation: ds-shadow-pulse 4s ease-in-out infinite;
}

@keyframes ds-shadow-pulse {
  0%, 100% { transform: scaleX(1); opacity: 0.6; }
  50% { transform: scaleX(0.7); opacity: 0.3; }
}

.ds-home-showcase-info {
  padding: 1.4rem 1.5rem;
  border-top: 1px solid rgba(91, 65, 51, 0.5);
}

.ds-home-showcase-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--app-text);
  margin-bottom: 0.35rem;
}

.ds-home-showcase-meta {
  font-size: 0.78rem;
  color: var(--app-muted);
  margin-bottom: 0.85rem;
}

.ds-home-showcase-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.ds-home-showcase-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f7d08d;
  font-family: "Copperplate Gothic Bold", "Impact", sans-serif;
}

.ds-home-showcase-stock {
  font-size: 0.78rem;
  color: #ff7a80;
  font-weight: 600;
}

.ds-home-showcase-btn {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #f0cb75 0%, #cd9c41 100%);
  border: 1px solid var(--app-gold);
  border-radius: 10px;
  color: #27190d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem;
  text-align: center;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.ds-home-showcase-btn:hover {
  color: #1c1108;
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* ── Shared Buttons ── */
.ds-home-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(180deg, #f2cc73, #cb993d);
  border: 1px solid var(--app-gold);
  border-radius: 999px;
  color: #221509;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.9rem;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.65), 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ds-home-btn-gold:hover {
  color: #1c1108;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.7), 0 14px 24px rgba(0, 0, 0, 0.33);
}

.ds-home-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(169, 111, 74, 0.6);
  border-radius: 999px;
  color: #e8d5b5;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.75rem;
  text-decoration: none;
  background: transparent;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ds-home-btn-ghost:hover {
  color: var(--app-gold);
  border-color: rgba(229, 184, 90, 0.85);
  transform: translateY(-2px);
}

/* ── Urgency Strip ── */
.ds-home-urgency {
  background: linear-gradient(90deg, rgba(140, 30, 35, 0.16), rgba(30, 15, 10, 0.38), rgba(140, 30, 35, 0.16));
  border-top: 1px solid rgba(225, 75, 84, 0.28);
  border-bottom: 1px solid rgba(225, 75, 84, 0.28);
  padding: 0.85rem 0;
  text-align: center;
}

.ds-home-urgency-text {
  font-size: 0.88rem;
  color: #ff9fa4;
  font-weight: 600;
}

.ds-home-urgency-text strong {
  color: #fff;
}

/* ── Section Header ── */
.ds-home-sh {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.ds-home-sh-eye {
  display: block;
  color: var(--app-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.ds-home-sh-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--app-text);
  margin-bottom: 0.65rem;
}

.ds-home-sh-sub {
  color: var(--app-muted);
  font-size: 0.97rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Why Our Minis ── */
.ds-home-why {
  padding: 4.5rem 0;
}

.ds-home-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.ds-home-why-item {
  border: 1px solid var(--app-border);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(24, 18, 30, 0.9), rgba(12, 10, 16, 0.95));
  padding: 1.5rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ds-home-why-item:hover {
  border-color: rgba(229, 184, 90, 0.55);
  transform: translateY(-3px);
}

.ds-home-why-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.85rem;
}

.ds-home-why-title {
  font-size: 0.92rem;
  color: var(--app-gold);
  margin-bottom: 0.4rem;
}

.ds-home-why-desc {
  font-size: 0.84rem;
  color: var(--app-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Mini Vault ── */
.ds-home-vault {
  padding: 0 0 4.5rem;
}

.ds-home-vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ds-mini-card {
  border: 1px solid var(--app-border);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(22, 16, 28, 0.95), rgba(12, 10, 16, 0.98));
  overflow: hidden;
  text-decoration: none;
  color: var(--app-text);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-mini-card:hover {
  color: var(--app-text);
  transform: translateY(-5px);
  border-color: rgba(229, 184, 90, 0.7);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

.ds-mini-card-large {
  grid-column: span 2;
  flex-direction: row;
}

@media (max-width: 599px) {
  .ds-mini-card-large {
    grid-column: span 1;
    flex-direction: column;
  }
}

.ds-mini-img {
  position: relative;
  background: radial-gradient(ellipse at 50% 70%, rgba(80, 30, 20, 0.35), rgba(10, 8, 14, 0.9));
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  border-bottom: 1px solid var(--app-border);
  overflow: hidden;
  flex-shrink: 0;
}

.ds-mini-img-large {
  height: auto;
  min-height: 200px;
  flex: 0 0 44%;
  font-size: 7rem;
  border-bottom: none;
  border-right: 1px solid var(--app-border);
}

.ds-mini-emoji {
  position: relative;
  z-index: 1;
}

.ds-mini-art {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ds-mini-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}

.ds-mini-tag-new {
  background: rgba(76, 175, 125, 0.18);
  border: 1px solid rgba(76, 175, 125, 0.5);
  color: #6ee0a8;
}

.ds-mini-tag-hot {
  background: rgba(225, 75, 84, 0.18);
  border: 1px solid rgba(225, 75, 84, 0.5);
  color: #ff8888;
}

.ds-mini-tag-ltd {
  background: rgba(229, 184, 90, 0.14);
  border: 1px solid rgba(229, 184, 90, 0.5);
  color: var(--app-gold);
}

.ds-mini-body {
  padding: 1rem 1rem 1.1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ds-mini-card-large .ds-mini-body {
  padding: 1.5rem;
}

.ds-mini-stars {
  color: var(--app-gold);
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

.ds-mini-review-count {
  color: var(--app-muted);
}

.ds-mini-name {
  font-size: 0.92rem;
  color: var(--app-text);
  margin-bottom: 0.3rem;
}

.ds-mini-card-large .ds-mini-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.ds-mini-desc {
  font-size: 0.82rem;
  color: var(--app-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 0.85rem;
}

.ds-mini-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ds-mini-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f7d08d;
  font-family: "Copperplate Gothic Bold", "Impact", sans-serif;
}

.ds-mini-card-large .ds-mini-price {
  font-size: 1.4rem;
}

.ds-mini-add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(169, 111, 74, 0.55);
  background: rgba(229, 184, 90, 0.1);
  color: var(--app-gold);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ds-mini-card:hover .ds-mini-add {
  background: linear-gradient(180deg, #f2cc73, #cb993d);
  border-color: var(--app-gold);
  color: #221509;
  transform: scale(1.1);
}

.ds-mini-shop-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--app-gold);
  letter-spacing: 0.04em;
  transition: color 0.15s ease, letter-spacing 0.15s ease;
}

.ds-mini-card:hover .ds-mini-shop-cta {
  color: var(--app-gold-light, #f5d280);
  letter-spacing: 0.08em;
}

.ds-home-vault-browse {
  text-align: center;
}

/* ── Comparison ── */
.ds-home-compare {
  padding: 0 0 4.5rem;
}

.ds-home-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}

@media (max-width: 599px) {
  .ds-home-compare-grid {
    grid-template-columns: 1fr;
  }
}

.ds-compare-col {
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
}

.ds-compare-col-theirs {
  border: 1px solid rgba(91, 65, 51, 0.5);
  background: rgba(18, 14, 20, 0.7);
  opacity: 0.72;
}

.ds-compare-col-ours {
  border: 2px solid rgba(229, 184, 90, 0.55);
  background: linear-gradient(155deg, rgba(40, 28, 15, 0.85), rgba(18, 14, 22, 0.9));
  box-shadow: 0 0 40px rgba(180, 100, 20, 0.07), 0 16px 32px rgba(0, 0, 0, 0.28);
}

.ds-compare-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--app-border);
}

.ds-compare-head-theirs {
  color: var(--app-muted);
}

.ds-compare-head-ours {
  color: var(--app-gold);
  border-color: rgba(229, 184, 90, 0.35);
}

.ds-compare-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--app-muted);
}

.ds-compare-col-ours .ds-compare-item {
  color: #ddd0bb;
}

.ds-cmp-x {
  color: var(--app-muted);
  flex-shrink: 0;
  margin-top: 1px;
}

.ds-cmp-check {
  color: #6ee0a8;
  flex-shrink: 0;
  margin-top: 1px;
}

.ds-home-subscription {
  padding: 0 0 4.75rem;
}

.ds-home-sub-shell {
  position: relative;
  border: 1px solid rgba(169, 111, 74, 0.44);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(420px 280px at 16% 18%, rgba(154, 63, 34, 0.18), transparent 68%),
    radial-gradient(320px 220px at 85% 78%, rgba(221, 176, 77, 0.1), transparent 68%),
    linear-gradient(145deg, rgba(22, 17, 24, 0.96), rgba(10, 9, 14, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.08), 0 24px 48px rgba(0, 0, 0, 0.3);
}

.ds-home-sub-shell::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(229, 184, 90, 0.12);
  border-radius: 22px;
  pointer-events: none;
}

.ds-home-sub-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.ds-home-sub-copy {
  padding: clamp(0.5rem, 2vw, 1rem);
}

.ds-home-sub-copy .ds-home-sh-title,
.ds-home-testimonials .ds-home-sh-title,
.ds-home-faq-slim .ds-home-sh-title {
  max-width: 14ch;
}

.ds-home-sub-copy .ds-home-sh-sub {
  max-width: 56rem;
}

.ds-home-sub-points {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
}

.ds-home-sub-points li {
  position: relative;
  padding-left: 1.5rem;
  color: #f0e2ca;
  font-size: 1rem;
  font-weight: 600;
}

.ds-home-sub-points li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -0.05rem;
  color: var(--app-gold);
  font-weight: 700;
}

.ds-home-sub-cta {
  min-width: min(100%, 320px);
  font-size: 0;
}

.ds-home-sub-cta::before {
  content: "Start Your Subscription ->";
  font-size: 1rem;
}

.ds-home-sub-card {
  position: relative;
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(229, 184, 90, 0.32);
  border-radius: 24px;
  background:
    linear-gradient(170deg, rgba(53, 34, 21, 0.92), rgba(15, 12, 18, 0.96)),
    rgba(20, 16, 19, 0.88);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.ds-home-sub-card,
.ds-home-testimonials {
  display: none !important;
}

.ds-home-sub-grid {
  grid-template-columns: 1fr !important;
}

.ds-home-sub-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -30% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(229, 184, 90, 0.15), transparent 68%);
  pointer-events: none;
}

.ds-sub-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(229, 184, 90, 0.14);
  border: 1px solid rgba(229, 184, 90, 0.28);
  color: var(--app-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ds-sub-card-price {
  font-family: "Copperplate Gothic Bold", "Impact", sans-serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
  color: #f7d08d;
}

.ds-sub-card-price span {
  font-size: 0.42em;
  color: var(--app-muted);
  margin-left: 0.35rem;
}

.ds-sub-card-copy {
  max-width: 28ch;
  color: #f1e5d2;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ds-sub-card-minirow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ds-sub-card-minirow span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(17, 13, 18, 0.66);
  border: 1px solid rgba(169, 111, 74, 0.38);
  color: #f0dfbf;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ds-home-testimonials {
  padding: 0 0 4.75rem;
}

.ds-home-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ds-home-quote,
.ds-home-faq-item {
  border: 1px solid rgba(169, 111, 74, 0.42);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(24, 18, 28, 0.94), rgba(11, 10, 16, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.05), 0 18px 34px rgba(0, 0, 0, 0.24);
}

.ds-home-quote {
  margin: 0;
  padding: 1.35rem;
}

.ds-home-testimonial-grid .ds-home-quote:first-child {
  border-color: rgba(229, 184, 90, 0.4);
  background:
    radial-gradient(320px 180px at 85% 18%, rgba(221, 176, 77, 0.1), transparent 70%),
    linear-gradient(160deg, rgba(43, 28, 20, 0.96), rgba(11, 10, 16, 0.98));
}

.ds-home-quote p {
  margin: 0 0 1rem;
  color: #f3e6d1;
  font-size: 1.02rem;
  line-height: 1.8;
}

.ds-home-quote footer {
  color: var(--app-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ds-home-faq-slim {
  padding: 0 0 4.75rem;
}

.ds-home-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.ds-home-faq-item {
  padding: 1.3rem;
}

.ds-home-faq-item h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
  color: #f2e6d0;
}

.ds-home-faq-item p {
  margin: 0;
  color: var(--app-muted);
  line-height: 1.7;
}

.ds-home-final-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.ds-home-final-actions .ds-home-btn-gold,
.ds-home-final-actions .ds-home-btn-ghost {
  min-width: min(100%, 260px);
}

.ds-home-final-actions .ds-home-btn-gold {
  font-size: 0 !important;
}

.ds-home-final-actions .ds-home-btn-gold::before {
  content: "Browse the Store ->";
  font-size: 1.05rem;
}

.ds-home-final-actions .ds-home-btn-ghost {
  font-size: 1.05rem;
}

@media (min-width: 900px) {
  .ds-home-sub-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
  }

  .ds-home-testimonial-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .ds-home-testimonial-grid .ds-home-quote:first-child {
    grid-row: span 2;
    padding: 1.8rem;
  }
}

@media (max-width: 767.98px) {
  .ds-home-final-actions .ds-home-btn-gold,
  .ds-home-final-actions .ds-home-btn-ghost,
  .ds-home-sub-cta {
    width: 100%;
  }
}

/* ── Subscription Callout ── */
.ds-home-sub-callout {
  margin-bottom: 4.5rem;
}

.ds-home-sub-callout-inner {
  border: 2px solid rgba(229, 184, 90, 0.45);
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(50, 32, 18, 0.78), rgba(18, 14, 22, 0.88));
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.08), 0 16px 30px rgba(0, 0, 0, 0.26);
}

.ds-home-sub-title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 0.5rem;
  color: var(--app-text);
}

.ds-home-sub-desc {
  color: var(--app-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}

.ds-home-sub-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Social Proof ── */
.ds-home-proof {
  padding: 0 0 4.5rem;
}

.ds-home-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.ds-review-card {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(20, 16, 26, 0.9), rgba(12, 10, 16, 0.95));
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}

.ds-review-card:hover {
  border-color: rgba(169, 111, 74, 0.7);
}

.ds-review-stars {
  color: var(--app-gold);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.ds-review-text {
  font-size: 0.88rem;
  color: #c8b89e;
  line-height: 1.65;
  margin-bottom: 1rem;
  font-style: italic;
}

.ds-review-text::before { content: "\201C"; }
.ds-review-text::after  { content: "\201D"; }

.ds-reviewer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ds-reviewer-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--app-copper), #6b3a22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f5ede0;
  flex-shrink: 0;
}

.ds-reviewer-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--app-text);
}

.ds-reviewer-meta {
  font-size: 0.72rem;
  color: var(--app-muted);
}

/* ── Final CTA ── */
.ds-home-final-cta {
  padding: 0 0 4.5rem;
}

.ds-home-final-inner {
  position: relative;
  border: 1px solid rgba(169, 111, 74, 0.45);
  border-radius: 22px;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: linear-gradient(160deg, rgba(50, 28, 20, 0.82), rgba(18, 12, 24, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 232, 200, 0.09), 0 24px 50px rgba(0, 0, 0, 0.34);
}

.ds-home-final-inner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(180, 60, 30, 0.13), transparent 70%);
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.ds-home-final-inner::after {
  content: "🐉";
  position: absolute;
  font-size: 18rem;
  opacity: 0.025;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}

.ds-home-final-h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  color: #fff;
  margin-bottom: 0.85rem;
}

.ds-home-final-sub {
  position: relative;
  z-index: 1;
  color: var(--app-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.ds-home-hero-actions {
  position: relative;
  z-index: 1;
}

.ds-home-final-guarantee {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--app-muted);
  margin-bottom: 0;
}

/* ======================================================
   STORE MOCKUP-1 ENHANCEMENTS
   ====================================================== */

/* Announcement bar */
.ds-announce-bar {
  background: linear-gradient(90deg, var(--app-bg-accent), rgba(167,109,71,.25), var(--app-bg-accent));
  border-bottom: 1px solid rgba(221,176,77,.2);
  padding: .45rem 1rem;
  text-align: center;
  font-size: .82rem;
  color: var(--app-muted);
  letter-spacing: .02em;
}
.ds-announce-bar strong { color: var(--app-gold); }

/* Trust strip — icon + text layout */
.store-trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.store-trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.store-trust-text h2 { margin-bottom: .1rem; }
.store-trust-text p  { margin-bottom: 0; }
@media (min-width: 768px) {
  .store-trust-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .store-trust-item {
    border-radius: 0;
    border-right: none;
  }
  .store-trust-item:first-child { border-radius: 12px 0 0 12px; }
  .store-trust-item:last-child  { border-right: 1px solid rgba(169,111,74,.5); border-radius: 0 12px 12px 0; }
}

/* Hero stat strip */
.store-hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: .75rem;
  border-top: 1px solid rgba(169,111,74,.25);
  margin-top: .25rem;
}
.store-hero-stat-val {
  font-family: "Copperplate Gothic Bold","Impact","Arial Black",sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--app-gold);
  display: block;
  line-height: 1.2;
}
.store-hero-stat-lbl {
  font-size: .72rem;
  color: var(--app-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Product card hover lift */
.store-product-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.store-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.45) !important;
  border-color: rgba(221,176,77,.35) !important;
}

/* Image wrap with overlay */
.store-card-image-wrap {
  position: relative;
  overflow: hidden;
}
.store-card-image-wrap .store-card-image {
  display: block;
  transition: transform .4s ease;
  width: 100%;
}
.store-product-card:hover .store-card-image-wrap .store-card-image {
  transform: scale(1.04);
}

/* Stock indicator — on image */
.store-stock-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 5px;
  backdrop-filter: blur(6px);
  z-index: 2;
  pointer-events: none;
}
.store-stock-indicator.in-stock   { background: rgba(76,175,125,.85);  color: #001a0a; }
.store-stock-indicator.low-stock  { background: rgba(230,162,48,.9);   color: #1a1000; }
.store-stock-indicator.out-of-stock { background: rgba(50,35,35,.85); color: var(--app-muted); border: 1px solid rgba(169,111,74,.3); }
.store-stock-indicator.new-arrival  { background: rgba(221,176,77,.92); color: #1a0f00; }

/* Category badge on card image */
.store-card-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(14,11,15,.75);
  backdrop-filter: blur(8px);
  font-size: .68rem;
  color: var(--app-copper);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 4px;
  border: 1px solid rgba(167,109,71,.3);
  z-index: 2;
  pointer-events: none;
}

/* Quick-view overlay */
.store-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,11,15,.82) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .22s ease;
  display: flex;
  align-items: flex-end;
  padding: .75rem;
  z-index: 3;
}
.store-card-image-wrap:hover .store-card-overlay { opacity: 1; }
.store-card-overlay a {
  display: block;
  width: 100%;
  padding: .45rem;
  border-radius: 6px;
  background: rgba(221,176,77,.88);
  color: #1a0f00;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}

/* Scale badge */
.store-scale-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(167,109,71,.14);
  border: 1px solid rgba(167,109,71,.3);
  color: var(--app-copper);
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .18rem .55rem;
  border-radius: 4px;
  margin-bottom: .4rem;
}

/* Category chip tabs */
.store-category-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.store-category-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(169,111,74,.5);
  border-radius: 999px;
  background: rgba(27,21,24,.7);
  color: var(--app-muted);
  font-size: .8rem;
  text-decoration: none;
  transition: all .18s;
  font-weight: 600;
}
.store-category-chip:hover, .store-category-chip:focus {
  color: var(--app-gold);
  border-color: rgba(221,176,77,.55);
  background: rgba(221,176,77,.07);
}
.store-category-chip strong {
  font-size: .72rem;
  background: rgba(221,176,77,.15);
  border-radius: 10px;
  padding: .1rem .45rem;
  color: var(--app-gold);
}

/* Responsive hero two-column */
@media (min-width: 992px) {
  .store-hero-grid {
    grid-template-columns: 1fr 420px;
  }
}

/* ======================================================
   ADMIN MOCKUP-2 ENHANCEMENTS
   ====================================================== */

/* Tab bar — replaces jump-link pills */
.admin-tab-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(16,13,20,.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(169,111,74,.4);
  border-radius: 12px;
  padding: .3rem;
  margin-bottom: .25rem;
}
.admin-tab-bar::-webkit-scrollbar { display: none; }
.admin-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .9rem;
  border-radius: 8px;
  color: var(--app-muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .03em;
  transition: all .15s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.admin-tab:hover { color: var(--app-text); background: rgba(255,255,255,.04); }
.admin-tab.active { color: var(--app-gold); background: rgba(221,176,77,.1); border-color: rgba(221,176,77,.25); }
.admin-tab-icon { font-size: .95rem; }
.admin-tab-badge {
  background: var(--app-crimson);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  border-radius: 8px;
  padding: .1rem .38rem;
  min-width: 16px;
  text-align: center;
}
.admin-tab-badge.amber { background: #c47a1a; }

/* Alert chips row */
.admin-alert-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.admin-alert-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter .18s;
  border: 1px solid transparent;
  color: var(--app-text);
}
.admin-alert-chip:hover { filter: brightness(1.12); color: var(--app-text); }
.admin-alert-chip.red   { background: rgba(225,75,84,.14);   border-color: rgba(225,75,84,.3);   color: #f08080; }
.admin-alert-chip.amber { background: rgba(230,162,48,.14);  border-color: rgba(230,162,48,.3);  color: var(--app-gold); }
.admin-alert-chip.blue  { background: rgba(91,156,246,.12);  border-color: rgba(91,156,246,.3);  color: #7ab4f8; }
.admin-alert-chip.green { background: rgba(76,175,125,.12);  border-color: rgba(76,175,125,.3);  color: #6bc49a; }
.admin-alert-chip-count { font-size: 1rem; font-weight: 700; line-height: 1; }

/* Action card icons */
.admin-action-icon { font-size: 1.6rem; margin-bottom: .35rem; }

/* Inventory bars in catalog table */
.admin-inv-cell { min-width: 90px; }
.admin-inv-qty           { font-size: .85rem; font-weight: 700; }
.admin-inv-qty.low       { color: #e14b54; }
.admin-inv-qty.warn      { color: var(--app-gold); }
.admin-inv-qty.ok        { color: #6bc49a; }
.admin-inv-bar           { height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; margin-top: 4px; overflow: hidden; }
.admin-inv-fill          { height: 100%; border-radius: 3px; transition: width .3s; }
.admin-inv-fill.low      { background: #e14b54; }
.admin-inv-fill.warn     { background: var(--app-gold); }
.admin-inv-fill.ok       { background: #4caf7d; }

/* Status badges in tables */
.admin-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .22rem .6rem;
  border-radius: 4px;
}
.admin-status-badge.active   { background: rgba(76,175,125,.15); color: #6bc49a; border: 1px solid rgba(76,175,125,.25); }
.admin-status-badge.inactive { background: rgba(255,255,255,.06); color: var(--app-muted); border: 1px solid rgba(255,255,255,.1); }
.admin-status-badge.sub      { background: rgba(91,156,246,.12); color: #7ab4f8; border: 1px solid rgba(91,156,246,.22); }

/* Section icon prefix */
.admin-section-icon { font-size: 1.1rem; margin-right: .4rem; vertical-align: -.1em; }

/* ======================================================
   STORE DEEP OVERRIDES — match mockup-store-1 visual
   ====================================================== */

/* ── Hero: tighter, more dramatic ── */
.store-hero-story { padding: clamp(1.5rem, 3vw, 2.5rem); }
.store-hero-story h1 {
  font-family: "Copperplate Gothic Bold","Impact","Arial Black",sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: .03em;
  color: var(--app-text);
}
/* Hide the verbose story points on desktop — they break visual focus */
@media (min-width: 992px) {
  .store-story-points { display: none; }
  .store-hero-subtitle { display: none; }
}

/* ── Subscription section: value-prop + plan card layout ── */
.subscription-focus-section { margin-bottom: 3rem; }
.subscription-focus-header { padding: .85rem 1.1rem; }
.subscription-focus-header h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}
@media (min-width: 992px) {
  .subscription-centerpiece {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .subscription-centerpiece-metrics {
    grid-template-columns: 1fr;
  }
}
.subscription-centerpiece-copy h3 { color: var(--app-gold); }
/* Value prop list — icon + text rows */
.sub-value-prop-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1rem;
}
.sub-value-prop {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(229,184,90,.2);
  border-radius: 10px;
  background: rgba(18,15,19,.6);
}
.sub-value-prop-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: rgba(221,176,77,.12);
  border: 1px solid rgba(221,176,77,.2);
  display: grid; place-items: center; font-size: 1rem;
}
.sub-value-prop-text strong { display: block; font-size: .88rem; color: var(--app-text); margin-bottom: .1rem; }
.sub-value-prop-text span   { font-size: .78rem; color: var(--app-muted); }

/* ── Product cards: more impactful ── */
.store-card-image {
  height: 280px !important;
  object-fit: cover;
  object-position: top center;
  width: 100%;
  display: block;
}
.store-product-card.card {
  border: 1px solid rgba(169,111,74,.45) !important;
  border-radius: 14px !important;
  background: linear-gradient(160deg, rgba(31,23,24,.9), rgba(18,15,18,.94)) !important;
  overflow: hidden;
}
.store-product-card.card .card-body { padding: .9rem 1rem .5rem; }
.store-product-card.card .card-footer { padding: .5rem 1rem .9rem; }

/* Bigger price on product cards */
.store-card-price { font-size: 1.45rem !important; }

/* Product card title */
.product-grid-title {
  color: var(--app-text) !important;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
}
.product-grid-title:hover { color: var(--app-gold) !important; }

/* Reviews section card */
.card .h4 { font-size: 1.2rem; }

/* Subscription plan cards — more visual weight */
.subscription-plan-card.card {
  border-radius: 16px !important;
  overflow: hidden;
}
.subscription-plan-card.card .card-body { padding: 1.2rem; }
.subscription-price { font-size: 1.6rem !important; }

/* Collection section — tighter heading */
.store-category-section { padding: 1.1rem 1.1rem .9rem; }
.store-category-header h3 { font-size: 1.2rem; }

/* Search bar polish */
#storeSearchInput {
  background: rgba(20,17,22,.8) !important;
  border-color: rgba(169,111,74,.4) !important;
  color: var(--app-text) !important;
  border-radius: 10px !important;
}

/* ── Admin sidebar overrides: ensure visibility ── */
.adm-shell { background: var(--app-bg) !important; }

/* Admin action grid tighter in new layout */
.admin-action-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
}
.admin-action-card {
  min-height: 120px;
  padding: .85rem;
}
.admin-action-value {
  font-size: 1rem;
}

/* KPI row for revenue section */
.admin-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 767px) {
  .admin-kpi-row { grid-template-columns: 1fr 1fr; }
}

/* Admin silo panels in the new layout have less padding needed */
.admin-silo-panel { padding: 1rem; margin-bottom: 0; }
.admin-shell { gap: 1rem; }

/* ═══════════════════════════════════════════════
   LANDING A — Subscribe-First home page
   ═══════════════════════════════════════════════ */

/* Trust strip */
.ds-home-trust-strip {
  background: rgba(20, 15, 22, 0.85);
  border-top: 1px solid rgba(109, 79, 59, 0.35);
  border-bottom: 1px solid rgba(109, 79, 59, 0.35);
  padding: 0.85rem 0;
}

.ds-home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  align-items: center;
  justify-content: center;
}

.ds-home-trust-item {
  font-size: 0.82rem;
  color: var(--app-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* How It Works */
.ds-home-how {
  padding: 4.5rem 0;
}

.ds-home-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 767px) {
  .ds-home-how-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.ds-home-how-step {
  position: relative;
  background: linear-gradient(155deg, rgba(28, 20, 32, 0.92), rgba(14, 11, 18, 0.96));
  border: 1px solid rgba(109, 79, 59, 0.5);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.ds-home-how-step:hover {
  border-color: rgba(221, 176, 77, 0.5);
  transform: translateY(-3px);
}

.ds-home-how-num {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  background: var(--app-gold);
  color: #1a1008;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-home-how-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.85rem;
}

.ds-home-how-title {
  font-size: 1rem;
  color: var(--app-gold);
  margin-bottom: 0.5rem;
}

.ds-home-how-desc {
  font-size: 0.85rem;
  color: var(--app-muted);
  line-height: 1.65;
  margin: 0;
}

/* Hero subscription card */
.ds-home-sub-hero-card {
  background: linear-gradient(155deg, rgba(40, 27, 18, 0.96), rgba(16, 11, 20, 0.98));
  border: 1px solid rgba(221, 176, 77, 0.5);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(221, 176, 77, 0.08);
}

.ds-home-sub-hero-body {
  padding: 1.75rem 1.75rem 1.5rem;
}

.ds-home-sub-hero-plan {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--app-gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.ds-home-sub-hero-desc {
  font-size: 0.88rem;
  color: var(--app-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.ds-home-sub-hero-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ds-home-sub-hero-perks li {
  font-size: 0.83rem;
  color: var(--app-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.ds-home-sub-hero-perks li::before {
  content: "✓";
  color: var(--app-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.ds-home-sub-hero-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.ds-home-sub-hero-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--app-text);
  letter-spacing: -0.01em;
}

.ds-home-sub-hero-period {
  font-size: 0.9rem;
  color: var(--app-muted);
}

.ds-home-sub-hero-annual {
  font-size: 0.8rem;
  color: #7ec88a;
  margin-bottom: 1.25rem;
}

.ds-home-sub-hero-cta {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, #f0cb75, #cd9c41);
  border: 1px solid #b6832d;
  color: #27190d;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  margin-bottom: 0.65rem;
}

.ds-home-sub-hero-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #27190d;
}

.ds-home-sub-hero-fine {
  font-size: 0.72rem;
  color: rgba(201, 186, 162, 0.55);
  text-align: center;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   STORE B — The Collection Room layout
   ═══════════════════════════════════════════════ */

/* Compact store header */
.store-b-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid rgba(109, 79, 59, 0.3);
  margin-bottom: 1.5rem;
}

.store-b-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.store-b-header-copy {
  flex: 1 1 auto;
}

.store-b-header-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--app-text);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.store-b-header-sub {
  font-size: 0.85rem;
  color: var(--app-muted);
  margin: 0;
  max-width: 520px;
}

.store-b-header-stats {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
  align-items: flex-end;
}

.store-b-stat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--app-gold);
  letter-spacing: 0.02em;
  line-height: 1;
}

.store-b-stat-lbl {
  display: block;
  font-size: 0.7rem;
  color: var(--app-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

@media (max-width: 599px) {
  .store-b-header-stats {
    display: none;
  }
}

/* Selling Fast scroll */
.store-b-fast-section {
  overflow: hidden;
}

.store-b-fast-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.store-b-fast-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--app-crimson);
  letter-spacing: 0.03em;
  margin: 0;
}

.store-b-fast-scroll {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(109, 79, 59, 0.4) transparent;
}

.store-b-fast-scroll::-webkit-scrollbar { height: 4px; }
.store-b-fast-scroll::-webkit-scrollbar-track { background: transparent; }
.store-b-fast-scroll::-webkit-scrollbar-thumb { background: rgba(109, 79, 59, 0.4); border-radius: 2px; }

.store-b-fast-chip {
  flex: 0 0 auto;
  width: 200px;
  background: linear-gradient(155deg, rgba(32, 22, 18, 0.95), rgba(14, 10, 16, 0.98));
  border: 1px solid rgba(167, 109, 71, 0.45);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}

.store-b-fast-chip:hover {
  border-color: rgba(221, 176, 77, 0.6);
  transform: translateY(-2px);
}

.store-b-fast-chip-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.store-b-fast-chip-placeholder {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: rgba(40, 25, 20, 0.6);
}

.store-b-fast-chip-info {
  padding: 0.65rem 0.75rem 0.25rem;
  flex: 1;
}

.store-b-fast-chip-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--app-text);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-b-fast-chip-stock {
  font-size: 0.73rem;
  color: var(--app-crimson);
  margin-bottom: 0.2rem;
}

.store-b-fast-chip-price {
  font-size: 0.85rem;
  color: var(--app-gold);
  font-weight: 700;
  margin: 0;
}

.store-b-fast-chip-link {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--app-gold);
  padding: 0.45rem 0.75rem;
  border-top: 1px solid rgba(109, 79, 59, 0.3);
  text-decoration: none;
  transition: background 0.15s;
}

.store-b-fast-chip-link:hover {
  background: rgba(221, 176, 77, 0.08);
  color: var(--app-gold);
}

/* Main two-column layout */
.store-b-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .store-b-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar */
.store-b-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .store-b-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 599px) {
  .store-b-sidebar {
    grid-template-columns: 1fr;
  }
}

.store-b-content {
  min-width: 0;
}

/* Sidebar — subscription panel */
.store-b-sub-panel {
  background: linear-gradient(155deg, rgba(38, 24, 14, 0.97), rgba(16, 11, 20, 0.98));
  border: 1px solid rgba(221, 176, 77, 0.4);
  border-radius: 18px;
  overflow: hidden;
}

.store-b-sub-panel-header {
  background: linear-gradient(135deg, rgba(50, 30, 12, 0.85), rgba(28, 18, 10, 0.9));
  border-bottom: 1px solid rgba(221, 176, 77, 0.25);
  padding: 1rem 1.25rem 0.85rem;
}

.store-b-sub-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--app-copper);
  margin-bottom: 0.2rem;
}

.store-b-sub-panel-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--app-gold);
  letter-spacing: 0.03em;
  margin: 0;
}

.store-b-sub-panel-body {
  padding: 1.1rem 1.25rem 1.25rem;
}

/* Active subscriber state */
.store-b-sub-active {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.store-b-sub-active-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--app-muted);
  margin: 0;
}

.store-b-sub-active-plan {
  font-size: 1rem;
  font-weight: 700;
  color: var(--app-gold);
  margin: 0;
}

.store-b-sub-active-status {
  font-size: 0.8rem;
  color: var(--app-muted);
  margin: 0;
}

.store-b-sub-active-link {
  font-size: 0.82rem;
  color: var(--app-gold);
  text-decoration: none;
  margin-top: 0.4rem;
}

.store-b-sub-active-link:hover {
  text-decoration: underline;
}

/* Plan list */
.store-b-plan-item {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(109, 79, 59, 0.3);
  margin-bottom: 0.45rem;
  transition: border-color 0.15s;
}

.store-b-plan-item:last-of-type {
  margin-bottom: 0.85rem;
}

.store-b-plan-item-featured {
  border-color: rgba(221, 176, 77, 0.5);
  background: rgba(221, 176, 77, 0.04);
}

.store-b-plan-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.store-b-plan-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--app-text);
}

.store-b-plan-item-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--app-gold);
  white-space: nowrap;
}

.store-b-plan-item-period {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--app-muted);
}

.store-b-plan-item-annual {
  font-size: 0.72rem;
  color: #7ec88a;
  margin: 0.2rem 0 0;
}

/* Perks list */
.store-b-sub-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.store-b-sub-perks li {
  font-size: 0.78rem;
  color: var(--app-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.store-b-sub-perks li::before {
  content: "✓";
  color: var(--app-gold);
  font-size: 0.72rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.store-b-sub-cta-btn {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, #f0cb75, #cd9c41);
  border: 1px solid #b6832d;
  color: #27190d;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s;
  margin-bottom: 0.55rem;
}

.store-b-sub-cta-btn:hover {
  opacity: 0.88;
  color: #27190d;
}

.store-b-sub-fine {
  font-size: 0.68rem;
  color: rgba(201, 186, 162, 0.5);
  text-align: center;
  margin: 0;
}

/* Sidebar — category nav */
.store-b-cat-nav {
  background: rgba(22, 17, 26, 0.85);
  border: 1px solid rgba(109, 79, 59, 0.35);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.store-b-cat-nav-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--app-copper);
  margin-bottom: 0.65rem;
}

.store-b-cat-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.store-b-cat-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--app-muted);
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}

.store-b-cat-nav-link:hover {
  background: rgba(221, 176, 77, 0.08);
  color: var(--app-text);
}

.store-b-cat-nav-count {
  font-size: 0.72rem;
  color: rgba(201, 186, 162, 0.45);
}

/* Content area — search bar */
.store-b-search-row {
  position: relative;
}

.store-b-search-input {
  width: 100%;
}

/* Story campaign portal */
.story-hero,
.story-admin-head,
.story-page-head {
  margin: 2rem 0 1.5rem;
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 1.25rem;
  align-items: stretch;
  min-height: 360px;
}

.story-hero-copy,
.story-feature-card,
.story-panel,
.story-card,
.story-locked,
.story-empty,
.story-thread-row {
  background: linear-gradient(145deg, rgba(20, 16, 22, .96), rgba(44, 30, 25, .86));
  border: 1px solid rgba(221, 176, 77, .26);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.story-hero-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-hero h1,
.story-page-head h1,
.story-admin-head h1,
.story-reader-head h1 {
  color: #f7efdf;
  font-size: clamp(2.2rem, 6vw, 4.9rem);
  line-height: .92;
  margin-bottom: 1rem;
}

.story-kicker {
  color: var(--app-gold);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .76rem;
  margin-bottom: .4rem;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}

.story-feature-card,
.story-card,
.story-panel,
.story-locked,
.story-empty {
  border-radius: 8px;
  padding: 1.25rem;
}

.story-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-pill,
.story-status,
.story-tag-row span {
  border: 1px solid rgba(221, 176, 77, .38);
  color: #f1d18a;
  background: rgba(221, 176, 77, .09);
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .78rem;
  width: fit-content;
}

.story-section {
  margin: 2rem 0;
}

.story-section-head,
.story-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
}

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

.story-card-grid-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.story-card h2,
.story-card h3,
.story-panel h2,
.story-thread h3 {
  color: #f7efdf;
  margin-bottom: .2rem;
}

.story-card-date,
.story-meta,
.story-comment-meta,
.story-thread-row span {
  color: var(--app-muted);
  font-size: .86rem;
}

.story-meta,
.story-tag-row,
.story-reactions,
.story-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}

.story-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, .35fr) minmax(160px, .35fr) auto;
  gap: .7rem;
  margin: 1.3rem 0;
}

.story-reader {
  max-width: 980px;
  margin: 2rem auto;
}

.story-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(221, 176, 77, .28);
  margin-bottom: 1rem;
}

.story-reader-head {
  text-align: center;
  margin-bottom: 1.4rem;
}

.story-reader-head .story-meta,
.story-reader-head .story-tag-row,
.story-reactions {
  justify-content: center;
}

.story-prose {
  background: rgba(247, 239, 223, .96);
  color: #221a18;
  border-radius: 8px;
  padding: clamp(1.2rem, 4vw, 3rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.85;
}

.story-prose p {
  margin-bottom: 1.25rem;
}

.story-reactions {
  margin: 1rem 0 2rem;
}

.story-reactions form,
.story-comment-actions form,
.story-actions form {
  margin: 0;
}

.story-reactions button,
.story-comment-actions button {
  min-width: 58px;
  border: 1px solid rgba(221, 176, 77, .35);
  background: rgba(20, 16, 22, .92);
  color: #f7efdf;
  border-radius: 999px;
  padding: .35rem .65rem;
}

.story-community-grid,
.story-moderation-grid,
.story-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 1rem;
  align-items: start;
}

.story-editor {
  grid-template-columns: minmax(520px, 1fr) minmax(300px, 420px);
  gap: 1.25rem;
}

.story-form {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.story-comment-list,
.story-thread-list,
.story-feedback-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.story-comment,
.story-thread,
.story-mod-item,
.story-feedback-list article {
  border: 1px solid rgba(221, 176, 77, .18);
  background: rgba(0, 0, 0, .18);
  border-radius: 8px;
  padding: .9rem;
}

.story-comment-reply {
  margin-left: 1.5rem;
  margin-top: .7rem;
  background: rgba(255, 255, 255, .035);
}

.story-comment-meta,
.story-thread header,
.story-thread-row {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
}

.story-reply-form,
.story-thread-form {
  display: flex;
  gap: .5rem;
  margin-top: .7rem;
}

.story-thread-form {
  flex-direction: column;
  margin-bottom: 1rem;
}

.story-thread-post {
  border-top: 1px solid rgba(221, 176, 77, .16);
  padding-top: .7rem;
  margin-top: .7rem;
}

.story-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .8rem;
  margin: 1rem 0;
}

.story-stat-grid article {
  background: #18141e;
  border: 1px solid rgba(221, 176, 77, .24);
  border-radius: 8px;
  padding: 1rem;
}

.story-stat-grid span {
  display: block;
  color: var(--app-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.story-stat-grid strong {
  color: #f7efdf;
  font-size: 1.8rem;
}

.story-editor-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.story-title-input {
  font-size: 1.55rem;
  font-weight: 700;
  min-height: 56px;
}

.story-body-editor {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  min-height: clamp(420px, 55vh, 720px);
  resize: vertical;
}

.story-editor-side {
  position: sticky;
  top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.story-admin-head h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.story-editor-savebar {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
  padding-top: .8rem;
  background: linear-gradient(180deg, transparent, #110e18 30%);
  z-index: 1;
}

.story-editor-savebar .story-actions {
  justify-content: flex-end;
}

.story-editor-savebar .btn {
  min-width: 132px;
}

.story-editor-note {
  color: var(--app-muted);
  font-size: .9rem;
  border-top: 1px solid rgba(221, 176, 77, .18);
  margin-top: 1rem;
  padding-top: 1rem;
}

.story-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .4rem;
}

.story-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(221, 176, 77, .18);
}

.story-validation:empty,
.validation-summary-valid {
  display: none;
}

@media (max-width: 900px) {
  .story-hero,
  .story-community-grid,
  .story-moderation-grid,
  .story-editor,
  .story-card-grid,
  .story-card-grid-wide,
  .story-filter-bar,
  .story-stat-grid {
    grid-template-columns: 1fr;
  }

  .story-section-head,
  .story-admin-head,
  .story-comment-meta,
  .story-thread header,
  .story-thread-row,
  .story-editor-savebar {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-reply-form {
    flex-direction: column;
  }

  .story-editor-side {
    position: static;
  }
}

/* ═══════════════════════════════════════════════
   STORY EDITOR — redesigned (se-*)
   ═══════════════════════════════════════════════ */

/* Break out of adm-content padding */
.se-bleed {
  margin: -1.4rem -1.6rem;
}
.se-alert {
  margin: .75rem 1rem 0;
}

/* Form wrapper */
.se-form {
  display: flex;
  flex-direction: column;
}

/* ── Editor bar ── */
.se-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(14, 11, 18, .97);
  border-bottom: 1px solid rgba(109, 79, 59, .35);
  backdrop-filter: blur(10px);
  gap: .75rem;
}

.se-bar-left {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.se-bar-right {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

.se-back {
  font-size: .78rem;
  color: var(--app-muted);
  text-decoration: none;
  white-space: nowrap;
  opacity: .7;
  transition: opacity .15s;
}
.se-back:hover { opacity: 1; color: var(--app-text); }

.se-bar-div {
  width: 1px; height: 18px;
  background: rgba(109, 79, 59, .4);
  flex-shrink: 0;
}

.se-bar-title {
  font-size: .85rem;
  color: var(--app-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Status chips */
.se-chip {
  display: inline-flex;
  align-items: center;
  padding: .18rem .6rem;
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  flex-shrink: 0;
}
.se-chip-draft     { background: rgba(109,79,59,.18); color: var(--app-copper); border: 1px solid rgba(109,79,59,.4); }
.se-chip-scheduled { background: rgba(90,90,200,.18); color: #9595f0;           border: 1px solid rgba(90,90,200,.4); }
.se-chip-published { background: rgba(95,201,138,.14); color: #5fc98a;          border: 1px solid rgba(95,201,138,.35); }

/* Autosave indicator */
.se-autosave-status {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  color: rgba(201,186,162,.45);
  white-space: nowrap;
}
.se-autosave-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5fc98a;
  opacity: .4;
  animation: se-pulse 2.5s ease infinite;
}
@keyframes se-pulse {
  0%,100% { opacity: .3; }
  50%      { opacity: 1; }
}
.se-autosave-dot-active { animation: none; opacity: 1; background: var(--app-gold); }

/* Bar buttons */
.se-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .8rem;
  border-radius: 8px;
  border: 1px solid rgba(109,79,59,.45);
  background: transparent;
  color: var(--app-muted);
  font-size: .78rem;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.se-btn-ghost:hover { border-color: rgba(221,176,77,.6); color: var(--app-text); }

.se-btn-gold {
  padding: .35rem .9rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #f0cb75, #cd9c41);
  border: 1px solid #b6832d;
  color: #1e1005;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}
.se-btn-gold:hover { opacity: .88; }

/* ── Two-column shell ── */
.se-shell {
  display: grid;
  grid-template-columns: 285px 1fr;
  align-items: start;
  min-height: calc(100vh - 52px - 54px);
}

/* ── Sidebar ── */
.se-sidebar {
  position: sticky;
  top: 54px;
  height: calc(100vh - 52px - 54px);
  overflow-y: auto;
  background: rgba(18, 14, 22, .97);
  border-right: 1px solid rgba(109, 79, 59, .3);
  padding: 1.25rem 1.1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(109, 79, 59, .3) transparent;
}
.se-sidebar::-webkit-scrollbar       { width: 4px; }
.se-sidebar::-webkit-scrollbar-track { background: transparent; }
.se-sidebar::-webkit-scrollbar-thumb { background: rgba(109,79,59,.3); border-radius: 2px; }

.se-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.se-audio-preview {
  width: 100%;
  display: block;
  min-height: 38px;
}

.se-checkline {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--app-muted);
  font-size: .78rem;
}

.se-checkline input {
  accent-color: var(--app-gold);
}

.se-sidebar-label {
  font-size: .63rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--app-copper);
  display: block;
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(109,79,59,.2);
}

/* Fields */
.se-field {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.se-field-label {
  font-size: .72rem;
  color: var(--app-muted);
}
.se-field-hint {
  font-size: .67rem;
  color: rgba(201,186,162,.45);
}
.se-field-hint strong {
  color: rgba(221,176,77,.7);
}

.se-input {
  background: rgba(22, 17, 28, .9);
  border: 1px solid rgba(109, 79, 59, .4);
  color: var(--app-text);
  border-radius: 8px;
  padding: .45rem .65rem;
  font-size: .82rem;
  font-family: var(--font-body);
  width: 100%;
  outline: none;
  transition: border-color .15s;
}
.se-input:focus { border-color: rgba(221,176,77,.65); }
.se-input::placeholder { color: rgba(201,186,162,.3); }

/* Cover preview */
.se-cover-preview {
  width: 100%;
  height: 120px;
  border: 1px dashed rgba(109,79,59,.45);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(18,14,22,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
}
.se-cover-preview:hover { border-color: rgba(221,176,77,.4); }

.se-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.se-cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  color: rgba(201,186,162,.3);
  font-size: .75rem;
}
.se-cover-icon { font-size: 2rem; opacity: .4; }

/* Tag chip area */
.se-tag-input-area {
  background: rgba(22,17,28,.9);
  border: 1px solid rgba(109,79,59,.4);
  border-radius: 8px;
  padding: .4rem .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  align-items: center;
  min-height: 38px;
  cursor: text;
  transition: border-color .15s;
}
.se-tag-input-area:focus-within { border-color: rgba(221,176,77,.65); }

.se-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  background: rgba(109,79,59,.22);
  border: 1px solid rgba(109,79,59,.45);
  color: var(--app-muted);
  border-radius: 999px;
  font-size: .68rem;
  padding: .12rem .5rem;
}
.se-tag-x {
  color: rgba(201,186,162,.4);
  cursor: pointer;
  font-size: .72rem;
  line-height: 1;
  transition: color .1s;
}
.se-tag-x:hover { color: var(--app-crimson); }

.se-tag-bare-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--app-text);
  font-size: .78rem;
  min-width: 80px;
  flex: 1;
  font-family: var(--font-body);
}
.se-tag-bare-input::placeholder { color: rgba(201,186,162,.28); font-size: .72rem; }

/* Featured toggle */
.se-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .65rem;
  background: rgba(22,17,28,.8);
  border: 1px solid rgba(109,79,59,.3);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s;
}
.se-toggle-row:hover { border-color: rgba(221,176,77,.4); }
.se-toggle-label { font-size: .8rem; color: var(--app-muted); }

.se-toggle-track {
  width: 36px; height: 20px;
  border-radius: 999px;
  background: rgba(109,79,59,.2);
  border: 1px solid rgba(109,79,59,.4);
  position: relative;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.se-toggle-track.se-toggle-on {
  background: rgba(221,176,77,.65);
  border-color: rgba(221,176,77,.8);
}
.se-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.se-toggle-track.se-toggle-on .se-toggle-thumb { transform: translateX(16px); }

/* Publication actions */
.se-pub-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.se-btn-pub-primary {
  width: 100%;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #f0cb75, #cd9c41);
  border: 1px solid #b6832d;
  color: #1e1005;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .15s;
  text-align: center;
}
.se-btn-pub-primary:hover { opacity: .88; }

.se-btn-pub-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .5rem 1rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(109,79,59,.4);
  color: var(--app-muted);
  font-size: .8rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
  text-align: center;
  text-decoration: none;
}
.se-btn-pub-secondary:hover { border-color: rgba(221,176,77,.5); color: var(--app-text); }

.se-schedule-row {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: .65rem .7rem;
  background: rgba(22,17,28,.6);
  border: 1px solid rgba(109,79,59,.25);
  border-radius: 8px;
}

.se-danger-zone {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid rgba(109,79,59,.2);
}
.se-btn-archive {
  width: 100%;
  padding: .42rem;
  border-radius: 8px;
  border: 1px solid rgba(217,70,79,.3);
  background: transparent;
  color: rgba(217,70,79,.65);
  font-size: .75rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.se-btn-archive:hover { border-color: rgba(217,70,79,.6); color: var(--app-crimson); }

/* ── Writing area ── */
.se-main {
  padding: 2.5rem 3.5rem 6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.se-eyebrow {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--app-copper);
  margin-bottom: .5rem;
}

.se-title-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(109,79,59,.2);
  outline: none;
  font-family: "Copperplate Gothic Bold", "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--app-text);
  letter-spacing: .02em;
  line-height: 1.15;
  resize: none;
  overflow: hidden;
  padding-bottom: .5rem;
  transition: border-color .2s;
}
.se-title-input:focus { border-color: rgba(221,176,77,.45); }
.se-title-input::placeholder { color: rgba(201,186,162,.2); }

.se-title-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.se-arc-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(109,79,59,.15);
  border: 1px solid rgba(109,79,59,.3);
  border-radius: 999px;
  color: var(--app-copper);
  font-size: .7rem;
  padding: .18rem .65rem;
}
.se-char-count { font-size: .7rem; color: rgba(201,186,162,.4); }

.se-summary-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(109,79,59,.18);
  outline: none;
  color: var(--app-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  resize: none;
  overflow: hidden;
  padding-bottom: .6rem;
  margin-bottom: .75rem;
  font-family: var(--font-body);
  transition: border-color .2s;
}
.se-summary-input:focus { border-color: rgba(221,176,77,.35); }
.se-summary-input::placeholder { color: rgba(201,186,162,.2); }

/* Toolbar */
.se-toolbar {
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .35rem .5rem;
  background: rgba(18,14,22,.9);
  border: 1px solid rgba(109,79,59,.3);
  border-radius: 8px;
  flex-wrap: wrap;
}
.se-toolbar-btn {
  padding: .28rem .5rem;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--app-muted);
  font-size: .82rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .15s, color .15s;
}
.se-toolbar-btn:hover { background: rgba(221,176,77,.1); color: var(--app-gold); }
.se-toolbar-div { width: 1px; height: 16px; background: rgba(109,79,59,.3); margin: 0 .15rem; }
.se-toolbar-hint {
  margin-left: auto;
  font-size: .7rem;
  color: rgba(201,186,162,.35);
}

/* Word count bar */
.se-wc-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.se-wc-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: rgba(221,176,77,.1);
  border: 1px solid rgba(221,176,77,.2);
  font-size: .68rem;
  color: var(--app-gold);
}
.se-wc-rt { font-size: .72rem; color: rgba(201,186,162,.4); }

/* Body textarea */
.se-body-textarea {
  width: 100%;
  background: rgba(14,11,18,.6);
  border: 1px solid rgba(109,79,59,.2);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  color: var(--app-text);
  font-size: 1.05rem;
  line-height: 1.9;
  resize: vertical;
  min-height: 500px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
}
.se-body-textarea:focus { border-color: rgba(221,176,77,.4); }
.se-body-textarea::placeholder { color: rgba(201,186,162,.15); }

.se-md-hint {
  font-size: .7rem;
  color: rgba(201,186,162,.35);
  margin-top: .25rem;
}

/* Responsive */
@media (max-width: 900px) {
  .se-shell { grid-template-columns: 1fr; }
  .se-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid rgba(109,79,59,.25); }
  .se-main { padding: 1.5rem 1.25rem 4rem; }
  .se-bar-title { display: none; }
}

/* ═══════════════════════════════════════════════
   STORY READER — redesigned (rdr-*)
   ═══════════════════════════════════════════════ */

/* Reading progress (fixed, full-width, above everything) */
.rdr-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(109,79,59,.15);
  z-index: 9999;
  pointer-events: none;
}
.rdr-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--app-copper), var(--app-gold));
  transition: width .15s linear;
}

/* ── Cinematic hero ── */
.rdr-hero {
  position: relative;
  min-height: clamp(280px, 34vh, 390px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 0;
}

.rdr-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.rdr-hero-bg-default {
  background:
    radial-gradient(ellipse 120% 100% at 70% 30%, rgba(80,25,15,.7), transparent 65%),
    radial-gradient(ellipse 80% 80% at 20% 80%, rgba(40,15,30,.6), transparent 60%),
    linear-gradient(160deg, #0d0818 0%, #08050f 100%);
}

.rdr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,8,15,.18) 0%,
    rgba(10,8,15,.52) 48%,
    rgba(10,8,15,.94) 100%
  );
}

.rdr-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 2.25rem;
  padding-bottom: 2rem;
  max-width: 820px;
}

.rdr-hero-arc {
  display: inline-block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--app-copper);
  background: rgba(167,109,71,.12);
  border: 1px solid rgba(167,109,71,.3);
  padding: .2rem .65rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}

.rdr-hero-h1 {
  font-family: "Copperplate Gothic Bold", "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  color: var(--app-text);
  letter-spacing: .02em;
  line-height: 1.08;
  margin-bottom: .85rem;
}

.rdr-hero-summary {
  font-size: 1rem;
  color: var(--app-muted);
  max-width: 54ch;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.rdr-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  font-size: .78rem;
  color: rgba(201,186,162,.55);
}
.rdr-meta-sep { opacity: .4; }
.rdr-hero-tag {
  background: rgba(109,79,59,.2);
  border: 1px solid rgba(109,79,59,.35);
  color: var(--app-copper);
  border-radius: 999px;
  font-size: .67rem;
  padding: .18rem .6rem;
}

/* ── Sticky reactions strip ── */
.rdr-sticky-reactions {
  position: sticky;
  top: 74px; /* below site navbar */
  z-index: 80;
  background: rgba(12,9,18,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(109,79,59,.25);
  padding: .5rem 0;
  margin-bottom: 0;
}

.rdr-sticky-inner {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.rdr-react-form { margin: 0; }

.rdr-react-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: rgba(24,20,30,.9);
  border: 1px solid rgba(109,79,59,.35);
  color: var(--app-muted);
  font-size: .82rem;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
.rdr-react-btn:hover {
  border-color: rgba(221,176,77,.55);
  background: rgba(221,176,77,.07);
  transform: scale(1.05);
}

.rdr-react-count { font-size: .75rem; font-weight: 700; }

.rdr-react-views {
  margin-left: auto;
  font-size: .72rem;
  color: rgba(201,186,162,.4);
}

/* ── Access locked ── */
.rdr-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
}
.rdr-locked-inner {
  text-align: center;
  max-width: 440px;
  background: linear-gradient(155deg, rgba(24,18,30,.95), rgba(14,11,18,.98));
  border: 1px solid rgba(221,176,77,.3);
  border-radius: 20px;
  padding: 2.5rem 2rem;
}
.rdr-locked-icon { font-size: 2.5rem; display: block; margin-bottom: .85rem; }
.rdr-locked-h { font-family: "Copperplate Gothic Bold","Impact","Arial Black",sans-serif; font-size: 1.35rem; color: var(--app-text); margin-bottom: .6rem; }
.rdr-locked-p { color: var(--app-muted); font-size: .9rem; line-height: 1.65; margin-bottom: 1.5rem; }
.rdr-locked-btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg,#f0cb75,#cd9c41);
  border: 1px solid #b6832d;
  color: #1e1005;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: opacity .15s;
}
.rdr-locked-btn:hover { opacity: .88; color: #1e1005; }

/* ── Two-column reading layout ── */
.rdr-shell {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 2.5rem;
  padding-top: 1.75rem;
  padding-bottom: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .rdr-hero {
    min-height: auto;
  }

  .rdr-hero-content {
    padding-top: 1.75rem;
    padding-bottom: 1.65rem;
  }

  .rdr-shell { grid-template-columns: 1fr; }
  .rdr-aside { display: contents; }
  .rdr-feedback-card { order: -1; }
}

.rdr-main { min-width: 0; }

.rdr-aside {
  position: sticky;
  top: calc(74px + .75rem + 46px); /* navbar + padding + reactions bar */
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Prose ── */
.rdr-prose {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #e8dbc8;
  margin-bottom: 2rem;
}

.rdr-audio-card {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(221, 176, 77, .24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(32,27,38,.94), rgba(18,14,22,.96));
  box-shadow: 0 16px 32px rgba(0,0,0,.22);
}

.rdr-audio-kicker {
  display: block;
  color: var(--app-gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.rdr-audio-card h2 {
  margin: .15rem 0 .75rem;
  font-size: 1.15rem;
}

.rdr-audio-card audio {
  width: 100%;
  display: block;
}

.rdr-prose p { margin-bottom: 1.55em; }

/* Drop cap on the first paragraph */
.rdr-prose-first::first-letter {
  font-family: "Copperplate Gothic Bold", "Impact", "Arial Black", sans-serif;
  font-size: 4rem;
  line-height: .82;
  float: left;
  margin: .06em .16em 0 0;
  color: var(--app-gold);
}

/* ── Archive navigation ── */
.rdr-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(109,79,59,.25);
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.rdr-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  color: var(--app-muted);
  font-size: .83rem;
  padding: .45rem .8rem;
  border-radius: 8px;
  border: 1px solid rgba(109,79,59,.3);
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.rdr-nav-btn:hover { border-color: rgba(221,176,77,.5); color: var(--app-text); }
.rdr-nav-info { font-size: .72rem; color: rgba(201,186,162,.4); text-align: center; }

/* ── Comments ── */
.rdr-comments { margin-bottom: 2.5rem; }

.rdr-comments-h {
  font-family: "Copperplate Gothic Bold", "Impact", "Arial Black", sans-serif;
  font-size: 1.1rem;
  color: var(--app-text);
  letter-spacing: .03em;
  margin-bottom: 1.5rem;
}

/* Compose area */
.rdr-compose {
  display: flex;
  gap: .85rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.rdr-compose-body { flex: 1; }

.rdr-compose-form { display: flex; flex-direction: column; gap: .4rem; }

.rdr-compose-ta {
  width: 100%;
  background: rgba(22,17,28,.9);
  border: 1px solid rgba(109,79,59,.35);
  color: var(--app-text);
  border-radius: 12px;
  padding: .7rem 1rem;
  font-size: .88rem;
  resize: vertical;
  min-height: 72px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
}
.rdr-compose-ta:focus { border-color: rgba(221,176,77,.55); }
.rdr-compose-ta::placeholder { color: rgba(201,186,162,.3); }

.rdr-compose-actions { display: flex; justify-content: flex-end; }

.rdr-comment-post-btn {
  padding: .42rem .9rem;
  border-radius: 8px;
  background: linear-gradient(180deg,#f0cb75,#cd9c41);
  border: 1px solid #b6832d;
  color: #1e1005;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

/* Avatars */
.rdr-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700;
  color: var(--app-text);
  flex-shrink: 0;
}
.rdr-avatar-sm { width: 32px; height: 32px; font-size: .73rem; }

.av-0 { background: linear-gradient(135deg, #5a2a60, #3a1540); }
.av-1 { background: linear-gradient(135deg, #2a5a40, #143025); }
.av-2 { background: linear-gradient(135deg, #3a3a80, #1e1e50); }
.av-3 { background: linear-gradient(135deg, #7a3020, #4a1a10); }
.av-4 { background: linear-gradient(135deg, #5a4a10, #3a2a05); }

/* Comment thread */
.rdr-comment-thread { display: flex; flex-direction: column; }

.rdr-comment {
  display: flex;
  gap: .85rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(109,79,59,.18);
}
.rdr-comment:first-child { border-top: none; }

.rdr-reply {
  border-top: none;
  padding: .75rem 0;
}

.rdr-comment-body { flex: 1; min-width: 0; }

.rdr-comment-header {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin-bottom: .25rem;
  flex-wrap: wrap;
}
.rdr-comment-user { font-size: .82rem; font-weight: 700; color: var(--app-text); }
.rdr-comment-time { font-size: .7rem; color: rgba(201,186,162,.4); }

.rdr-comment-text {
  font-size: .88rem;
  color: var(--app-muted);
  line-height: 1.65;
  margin-bottom: .5rem;
  word-wrap: break-word;
}

.rdr-comment-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.rdr-react-sm {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  font-size: .74rem;
  color: rgba(201,186,162,.5);
  padding: .14rem .4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.rdr-react-sm:hover {
  background: rgba(221,176,77,.08);
  border-color: rgba(221,176,77,.3);
  color: var(--app-gold);
}

.rdr-reply-toggle {
  font-size: .72rem;
  color: rgba(201,186,162,.45);
  background: none;
  border: none;
  cursor: pointer;
  padding: .14rem .35rem;
  transition: color .15s;
}
.rdr-reply-toggle:hover { color: var(--app-gold); }

.rdr-reply-wrap { margin-top: .65rem; }

.rdr-reply-form {
  display: flex;
  gap: .45rem;
  align-items: center;
}
.rdr-reply-input {
  flex: 1;
  background: rgba(22,17,28,.85);
  border: 1px solid rgba(109,79,59,.3);
  color: var(--app-text);
  border-radius: 8px;
  padding: .4rem .7rem;
  font-size: .82rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
}
.rdr-reply-input:focus { border-color: rgba(221,176,77,.5); }
.rdr-reply-input::placeholder { color: rgba(201,186,162,.3); }

.rdr-reply-post-btn {
  padding: .38rem .75rem;
  border-radius: 7px;
  background: rgba(221,176,77,.12);
  border: 1px solid rgba(221,176,77,.3);
  color: var(--app-gold);
  font-size: .77rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.rdr-reply-post-btn:hover { background: rgba(221,176,77,.2); }

.rdr-comment-replies {
  margin-left: calc(32px + .85rem);
  margin-top: .5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(109,79,59,.25);
}

/* ── Threads (full, below comments) ── */
.rdr-threads-full {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(109,79,59,.2);
}
.rdr-threads-full-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.rdr-threads-count { font-size: .78rem; color: rgba(201,186,162,.4); }

.rdr-thread-new-form {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.75rem;
  padding: 1rem;
  background: rgba(20,16,26,.7);
  border: 1px solid rgba(109,79,59,.25);
  border-radius: 12px;
}
.rdr-thread-title-input {
  background: rgba(22,17,28,.9);
  border: 1px solid rgba(109,79,59,.3);
  color: var(--app-text);
  border-radius: 8px;
  padding: .45rem .7rem;
  font-size: .88rem;
  font-family: var(--font-body);
  outline: none;
  width: 100%;
  transition: border-color .15s;
}
.rdr-thread-title-input:focus { border-color: rgba(221,176,77,.55); }
.rdr-thread-title-input::placeholder { color: rgba(201,186,162,.3); }

.rdr-thread-ta {
  width: 100%;
  background: rgba(22,17,28,.9);
  border: 1px solid rgba(109,79,59,.3);
  color: var(--app-text);
  border-radius: 8px;
  padding: .5rem .7rem;
  font-size: .85rem;
  resize: vertical;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
}
.rdr-thread-ta:focus { border-color: rgba(221,176,77,.55); }
.rdr-thread-ta::placeholder { color: rgba(201,186,162,.3); }

.rdr-thread {
  background: rgba(20,16,26,.7);
  border: 1px solid rgba(109,79,59,.25);
  border-radius: 14px;
  padding: 1.1rem;
  margin-bottom: 1rem;
}
.rdr-thread-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.rdr-thread-title {
  font-size: .95rem;
  color: var(--app-text);
  font-weight: 700;
  margin: 0;
}
.rdr-thread-pin { font-size: .8rem; }
.rdr-thread-status {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .18rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.rdr-thread-open   { background: rgba(95,201,138,.1); color: #5fc98a; border: 1px solid rgba(95,201,138,.3); }
.rdr-thread-locked { background: rgba(109,79,59,.15); color: var(--app-copper); border: 1px solid rgba(109,79,59,.35); }

.rdr-thread-posts { display: flex; flex-direction: column; gap: 0; }
.rdr-thread-post {
  padding: .65rem 0;
  border-top: 1px solid rgba(109,79,59,.15);
}
.rdr-thread-post:first-child { border-top: none; }
.rdr-thread-post-meta {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin-bottom: .2rem;
  font-size: .78rem;
}
.rdr-thread-post-meta strong { color: var(--app-text); }
.rdr-thread-post-meta span { color: rgba(201,186,162,.4); font-size: .7rem; }
.rdr-thread-post p { font-size: .86rem; color: var(--app-muted); margin: 0; line-height: 1.6; }

/* ── Sidebar: feedback card ── */
.rdr-feedback-card {
  background: linear-gradient(155deg, rgba(38,24,14,.97), rgba(16,12,20,.98));
  border: 1px solid rgba(221,176,77,.35);
  border-radius: 18px;
  overflow: hidden;
}
.rdr-feedback-header {
  padding: .85rem 1.1rem .7rem;
  border-bottom: 1px solid rgba(109,79,59,.25);
  background: rgba(48,30,10,.4);
}
.rdr-feedback-eyebrow {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--app-copper);
  margin-bottom: .18rem;
}
.rdr-feedback-title {
  font-size: .9rem;
  color: var(--app-text);
  font-weight: 700;
  margin: 0;
}
.rdr-feedback-body { padding: 1rem 1.1rem 1.1rem; }

.rdr-feedback-form { display: flex; flex-direction: column; gap: .55rem; }

/* Step indicator */
.rdr-feedback-steps {
  display: flex;
  gap: .3rem;
  margin-bottom: .65rem;
}
.rdr-step {
  flex: 1;
  height: 3px;
  border-radius: 99px;
  background: rgba(109,79,59,.25);
  transition: background .3s;
}
.rdr-step-done   { background: var(--app-gold); }
.rdr-step-active { background: var(--app-copper); }

/* Stars */
.rdr-stars {
  display: flex;
  gap: .25rem;
  margin-bottom: .5rem;
}
.rdr-star {
  font-size: 1.5rem;
  cursor: pointer;
  opacity: .25;
  transition: opacity .15s, transform .1s;
  user-select: none;
}
.rdr-star-lit   { opacity: 1; color: var(--app-gold); }
.rdr-star-hover { opacity: .75; }
.rdr-star:hover { transform: scale(1.15); }

.rdr-feedback-select {
  width: 100%;
  background: rgba(22,17,28,.9);
  border: 1px solid rgba(109,79,59,.35);
  color: var(--app-text);
  border-radius: 8px;
  padding: .42rem .65rem;
  font-size: .8rem;
  font-family: var(--font-body);
  outline: none;
}

.rdr-feedback-ta {
  width: 100%;
  background: rgba(22,17,28,.9);
  border: 1px solid rgba(109,79,59,.3);
  color: var(--app-text);
  border-radius: 8px;
  padding: .42rem .65rem;
  font-size: .8rem;
  resize: vertical;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .15s;
}
.rdr-feedback-ta:focus { border-color: rgba(221,176,77,.55); }
.rdr-feedback-ta::placeholder { color: rgba(201,186,162,.28); font-size: .75rem; }

.rdr-feedback-submit {
  width: 100%;
  padding: .55rem;
  border-radius: 8px;
  background: linear-gradient(180deg,#f0cb75,#cd9c41);
  border: 1px solid #b6832d;
  color: #1e1005;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: .2rem;
}

/* ── Sidebar: threads widget ── */
.rdr-threads-card {
  background: rgba(20,16,26,.85);
  border: 1px solid rgba(109,79,59,.3);
  border-radius: 14px;
  overflow: hidden;
}
.rdr-threads-card-head {
  padding: .8rem 1rem .65rem;
  border-bottom: 1px solid rgba(109,79,59,.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rdr-threads-card-title { font-size: .85rem; color: var(--app-text); font-weight: 700; }
.rdr-threads-new {
  font-size: .72rem;
  color: var(--app-gold);
  text-decoration: none;
  background: rgba(221,176,77,.1);
  border: 1px solid rgba(221,176,77,.22);
  padding: .15rem .5rem;
  border-radius: 999px;
}
.rdr-threads-new:hover { background: rgba(221,176,77,.18); }

.rdr-thread-item {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid rgba(109,79,59,.18);
  text-decoration: none;
  transition: background .15s;
  cursor: pointer;
}
.rdr-thread-item:last-child { border-bottom: none; }
.rdr-thread-item:hover { background: rgba(221,176,77,.05); }

.rdr-thread-item-title {
  font-size: .82rem;
  color: var(--app-text);
  display: block;
  line-height: 1.4;
}
.rdr-thread-pin-sm { color: var(--app-gold); }

.rdr-thread-item-meta {
  font-size: .7rem;
  color: rgba(201,186,162,.4);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.rdr-thread-locked-badge {
  background: rgba(109,79,59,.15);
  color: var(--app-copper);
  border-radius: 999px;
  font-size: .63rem;
  padding: .08rem .4rem;
}

/* ── Cart ── */
.ds-cart-link {
  display: inline-flex;
  align-items: center;
  color: #f4e9d2;
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  transition: color 0.15s;
}
.ds-cart-link:hover { color: #ddb04d; }

.ds-cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d9464f;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  flex-wrap: wrap;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cart-item-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2230;
  font-size: 1.5rem;
}

.cart-item-info {
  flex: 1 1 120px;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty-val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.cart-item-line-total {
  min-width: 60px;
  text-align: right;
  font-weight: 600;
  color: var(--app-gold);
}

/* ── Mobile gap fixes (< 768px) ── */
@media (max-width: 767.98px) {
  /* Trust strip: 2-column grid instead of single stacked column */
  .store-trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  /* Restore individual item borders that the ≥768px rule removed */
  .store-trust-item {
    border-radius: 10px;
    border: 1px solid rgba(169, 111, 74, 0.5);
  }

  /* Tighten section margins so gaps between sections aren't so large */
  .subscription-focus-section,
  .store-products-section,
  .featured-product-section {
    margin-bottom: 1.75rem !important;
  }

  /* Compress the subscription centerpiece: hide the metrics column
     (those stats duplicate what's already in the plan cards below) */
  .subscription-centerpiece-metrics {
    display: none;
  }

  /* Reduce subscription section header padding */
  .subscription-focus-header {
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
  }

  /* Reduce product card image height */
  .store-card-image {
    height: 200px !important;
  }

  /* Shrink the store layout gap between sidebar and content */
  .store-b-layout {
    gap: 1rem;
  }

  /* On phones (< 600px) the sidebar is 1-col; reduce sub-panel size */
  .store-b-sub-panel-header {
    padding: 0.75rem 1rem 0.6rem;
  }
}
