:root {
  --stb-bg: #0b0b0b;
  --stb-bg-card: #121212;
  --stb-border: #2a2a2a;
  --stb-border-hover: #a3e635;
  --stb-accent: #a3e635;
  --stb-accent-hover: #a2e63563;
  --stb-text: #ffffff;
  --stb-text-hover: #ffffff9a;
  --stb-muted: #a0a0a0;
  --stb-radius: 10px;
}

* { box-sizing: border-box; }

body.stb {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--stb-bg);
  color: var(--stb-text);
  line-height: 1.5;
}

a { color: var(--stb-accent); text-decoration: none; }
a:hover { color: var(--stb-accent-hover); }

.stb-container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.stb-container-fluid { max-width: 1200px; }

.stb-navbar {
  background: rgba(11, 11, 11, 0.95);
  border-bottom: 1px solid var(--stb-border);
  z-index: 100;
}

.stb-navbar .navbar-brand { padding: 0; }
.stb-logo img { height: 40px; }

.stb-navbar .nav-link {
  color: var(--stb-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.75rem;
}

.stb-navbar .nav-link:hover,
.stb-navbar .nav-link:focus,
.stb-navbar .nav-link.active {
  color: var(--stb-text);
}

.stb-navbar .navbar-toggler {
  border-color: var(--stb-border);
  padding: 0.35rem 0.55rem;
}

.stb-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(163, 230, 53, 0.25);
}

.stb-navbar .navbar-toggler-icon {
  filter: invert(1);
}

.stb-nav-icon {
  color: var(--stb-muted);
  font-size: 1.1rem;
  line-height: 1;
}

.stb-nav-icon:hover { color: var(--stb-text); }

.stb-badge-nav {
  position: absolute;
  top: -0.35rem;
  right: -0.5rem;
}

.stb-btn-nav {
  padding: 0.4rem 0.8rem !important;
  white-space: nowrap;
}

.stb-badge {
  background: var(--stb-accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 50%;
  min-width: 1.2rem;
  text-align: center;
}

.stb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--stb-radius);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.stb-btn-primary {
  background: var(--stb-accent);
  color: #000;
}

.stb-btn-primary:hover { background: var(--stb-accent-hover); }

.stb-btn-outline {
  background: transparent;
  color: var(--stb-accent);
  border: 1px solid var(--stb-accent);
}

.stb-btn-outline:hover {
  background: transparent;
  color: var(--stb-accent-hover);
  border: 1px solid var(--stb-accent-hover);
}

.stb-btn-ghost {
  background: transparent;
  color: var(--stb-text);
  border: 1px solid var(--stb-border);
}
.stb-btn-ghost:hover {
  background: transparent;
  color: var(--stb-text-hover);
  border: 1px solid var(--stb-border-hover);
}

.stb-card {
  background: var(--stb-bg-card);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  overflow: hidden;
}

.stb-price { color: var(--stb-accent); font-weight: 700; font-size: 1.1rem; }

.stb-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.stb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}

.stb-hero-content { position: relative; z-index: 1; max-width: 600px; padding: 3rem 0; }

.stb-tag {
  color: var(--stb-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stb-grid { display: grid; gap: 1.5rem; }
.stb-grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.stb-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.stb-product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stb-product-card .body { padding: 1rem; }
.stb-product-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.stb-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.stb-tag-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: #1e1e1e;
  border-radius: 4px;
  color: var(--stb-muted);
}

.stb-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .stb-shop-layout { grid-template-columns: 1fr; }
}

.stb-sidebar {
  background: var(--stb-bg-card);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  padding: 1.25rem;
}

.stb-sidebar label {
  display: block;
  font-size: 0.75rem;
  color: var(--stb-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.stb-sidebar input, .stb-sidebar select,
.stb-sidebar .form-control, .stb-sidebar .form-select {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid var(--stb-border);
  color: var(--stb-text);
  padding: 0.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  #stbShopFilters.collapse:not(.show) {
    display: block;
    height: auto !important;
    visibility: visible;
  }
}

.stb-footer {
  background: #080808;
  border-top: 1px solid var(--stb-border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.stb-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
}

.stb-footer h4 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stb-muted);
  margin-bottom: 1rem;
}

.stb-footer ul { list-style: none; padding: 0; margin: 0; }
.stb-footer li { margin-bottom: 0.5rem; }
.stb-footer a { color: var(--stb-muted); font-size: 0.9rem; }

.stb-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--stb-border);
  border-bottom: 1px solid var(--stb-border);
  margin: 2rem 0;
}

.stb-flash {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin: 1rem 0;
}
.stb-flash.success { background: rgba(163, 230, 53, 0.15); color: var(--stb-accent); }
.stb-flash.error { background: rgba(255, 80, 80, 0.15); color: #ff6b6b; }
.stb-flash.info { background: rgba(255,255,255,0.08); color: var(--stb-muted); }

.stb-admin { display: flex; min-height: 100vh; }
.stb-admin-sidebar {
  width: 220px;
  background: #080808;
  border-right: 1px solid var(--stb-border);
  padding: 1.5rem 1rem;
}
.stb-admin-sidebar a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--stb-muted);
  margin-bottom: 0.25rem;
  border-radius: 6px;
}
.stb-admin-sidebar a:hover { background: #1a1a1a; color: var(--stb-text); }
.stb-admin-main { flex: 1; padding: 2rem; }

.stb-table { width: 100%; border-collapse: collapse; }
.stb-table th, .stb-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--stb-border);
  text-align: left;
}
.stb-table th { color: var(--stb-muted); font-size: 0.75rem; text-transform: uppercase; }

.stb-form-group { margin-bottom: 1rem; }
.stb-form-group label { display: block; margin-bottom: 0.35rem; color: var(--stb-muted); font-size: 0.85rem; }
.stb-form-group input, .stb-form-group textarea, .stb-form-group select,
.stb-form-group .form-control {
  width: 100%;
  max-width: 100%;
  background: #1a1a1a;
  border: 1px solid var(--stb-border);
  color: var(--stb-text);
  padding: 0.6rem;
  border-radius: 6px;
}

.stb-tabs { display: flex; gap: 2rem; border-bottom: 1px solid var(--stb-border); margin: 2rem 0 1rem; }
.stb-tabs a { padding-bottom: 0.75rem; color: var(--stb-muted); }
.stb-tabs a.active { color: var(--stb-text); border-bottom: 2px solid var(--stb-accent); }

.stb-product-detail { color: var(--stb-muted); line-height: 1.7; }
.stb-product-detail p { margin-bottom: 1rem; }
.stb-product-detail h1, .stb-product-detail h2, .stb-product-detail h3 {
  color: var(--stb-text);
  margin: 1.25rem 0 0.75rem;
}
.stb-product-detail ul, .stb-product-detail ol { margin: 0 0 1rem 1.25rem; padding: 0; }
.stb-product-detail li { margin-bottom: 0.35rem; }
.stb-product-detail a { color: var(--stb-accent); text-decoration: underline; }
.stb-product-detail blockquote {
  border-left: 3px solid var(--stb-border);
  margin: 1rem 0;
  padding-left: 1rem;
  color: var(--stb-muted);
}
/* Quill 2 stores both list types as <ol>; data-list selects bullet vs numbered */
.stb-product-detail ol li[data-list="bullet"],
.stb-blog-body ol li[data-list="bullet"] { list-style-type: disc; }
.stb-product-detail ol li[data-list="ordered"],
.stb-blog-body ol li[data-list="ordered"] { list-style-type: decimal; }
.stb-product-detail table,
.stb-blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
}
.stb-product-detail th,
.stb-product-detail td,
.stb-blog-body th,
.stb-blog-body td {
  border: 1px solid var(--stb-border);
  padding: 0.5rem 0.75rem;
  vertical-align: top;
}
.stb-product-detail th,
.stb-blog-body th {
  background: #161616;
  color: var(--stb-text);
  font-weight: 600;
}
.stb-product-detail .ql-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 8px;
}
.stb-product-detail .ql-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stb-pagination { display: flex; gap: 0.5rem; justify-content: center; margin: 2rem 0; }
.stb-pagination a, .stb-pagination span {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--stb-border);
  border-radius: 6px;
  color: var(--stb-muted);
}
.stb-pagination .active { border-color: var(--stb-accent); color: var(--stb-accent); }

.stb-category-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 900px) and (min-width: 481px) {
  .stb-category-tiles { grid-template-columns: repeat(2, 1fr); }
}

.stb-category-tile {
  padding: 2rem 1rem;
  text-align: center;
  background: var(--stb-bg-card);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
}
.stb-category-tile:hover { border-color: var(--stb-accent); }

.stb-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2.5rem 0 1rem;
  gap: 0.75rem;
}
.stb-section-title h2 { margin: 0; font-size: 1.5rem; }

.stb-hero-title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin: 0.5rem 0 1rem;
}

.stb-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 991.98px) {
  .stb-product-layout { grid-template-columns: 1fr; }
}

.stb-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stb-form-control,
.stb-form-group .form-control,
.stb-sidebar .form-control {
  background: #1a1a1a;
  border: 1px solid var(--stb-border);
  color: var(--stb-text);
}

.stb-form-control:focus,
.stb-form-group .form-control:focus,
.stb-sidebar .form-control:focus {
  background: #1a1a1a;
  border-color: var(--stb-accent);
  color: var(--stb-text);
  box-shadow: 0 0 0 0.2rem rgba(163, 230, 53, 0.2);
}

.stb-page-narrow {
  padding: 2rem 0;
}

@media (min-width: 576px) {
  .stb-page-narrow { padding: 3rem 0; }
}

.stb-tabs {
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

@media (max-width: 480px) {
  .stb-category-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .stb-hero { min-height: 320px; }
  .stb-hero-content { padding: 2rem 0; }
}

/* ── Audio player ───────────────────────────────────────────────── */
.stb-audio-wrap {
  width: 100%;
  border-radius: var(--stb-radius);
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 0.5rem 0.75rem;
}

.stb-audio {
  width: 100%;
  height: 36px;
  display: block;
  accent-color: var(--stb-accent);
  background: transparent;
  outline: none;
}

/* compact variant inside product cards */
.stb-audio-wrap.stb-audio--compact {
  padding: 0.35rem 0.6rem;
}

.stb-audio-wrap.stb-audio-wrap--disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}

.stb-audio-blocked {
  color: #a0a0a0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.stb-account-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .stb-account-nav {
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--stb-bg-card);
    border: 1px solid var(--stb-border);
    border-radius: var(--stb-radius);
  }
}

.stb-account-nav a {
  color: var(--stb-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--stb-radius);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stb-account-nav a:hover {
  color: var(--stb-text);
  background: rgba(163, 230, 53, 0.08);
}

.stb-account-nav a.active {
  color: var(--stb-accent);
  border-left: 3px solid var(--stb-accent);
  padding-left: calc(0.75rem - 3px);
}

@media (max-width: 767.98px) {
  .stb-account-nav a.active {
    border-left: none;
    border-bottom: 2px solid var(--stb-accent);
    padding-left: 0.75rem;
  }
}

.stb-dropdown-menu {
  background: var(--stb-bg-card);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
}

.stb-dropdown-menu .dropdown-item {
  color: var(--stb-muted);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.stb-dropdown-menu .dropdown-item:hover,
.stb-dropdown-menu .dropdown-item:focus {
  background: rgba(163, 230, 53, 0.1);
  color: var(--stb-text);
}

.stb-dropdown-menu .dropdown-item.active {
  background: rgba(163, 230, 53, 0.15);
  color: var(--stb-accent);
}

.stb-btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.modal-content.stb-card {
  background: var(--stb-bg-card);
  color: var(--stb-text);
}

/* ── Content pages (About, policies, legal) ─────────────────────── */
.stb-prose {
  max-width: 720px;
  color: var(--stb-text-muted, #a0a0a0);
  line-height: 1.7;
}

.stb-prose-wide {
  max-width: 840px;
}

.stb-prose h1,
.stb-prose h2,
.stb-prose h3 {
  color: var(--stb-text);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.stb-prose h1 { font-size: 2rem; margin-top: 0; }
.stb-prose h2 { font-size: 1.35rem; }
.stb-prose h3 { font-size: 1.1rem; }

.stb-prose p { margin-bottom: 1rem; }

.stb-prose ul,
.stb-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.stb-prose li { margin-bottom: 0.35rem; }

.stb-prose li::marker {
  color: var(--stb-accent);
}

.stb-prose hr {
  border: none;
  border-top: 1px solid var(--stb-border);
  margin: 2rem 0;
}

.stb-prose a {
  color: var(--stb-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stb-prose a:hover {
  color: #b4f444;
}

.stb-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .stb-pillar-grid { grid-template-columns: repeat(3, 1fr); }
}

.stb-pillar-card {
  background: var(--stb-bg-card);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  padding: 1.5rem;
  height: 100%;
}

.stb-pillar-card .stb-pillar-icon {
  font-size: 1.75rem;
  color: var(--stb-accent);
  margin-bottom: 0.75rem;
}

.stb-pillar-card h3 {
  color: var(--stb-text);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.stb-quote-card {
  border-left: 3px solid var(--stb-accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

.stb-quote-card cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--stb-text-muted, #a0a0a0);
}

.stb-policy-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 768px) {
  .stb-policy-section { grid-template-columns: repeat(2, 1fr); }
}

.stb-policy-card{
  padding: 15px;
}

.stb-policy-card h3 {
  color: var(--stb-text);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.stb-contact-wrap {
  position: relative;
}

.stb-contact-hero {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.stb-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.75) 100%);
}

.stb-contact-hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
}

.stb-contact-form-panel {
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .stb-contact-form-panel { padding: 2rem; }
}

.stb-form-required {
  color: var(--stb-accent);
}

.stb-form-check-label {
  font-size: 0.9rem;
  color: var(--stb-text-muted, #a0a0a0);
}

/* Theme checkboxes: now-design-system uses FontAwesome 4 glyphs that are not loaded (FA 7 CDN). */
.stb .form-check:not(.form-switch) .form-check-input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid var(--stb-border);
  border-radius: 0.25rem;
  background-color: var(--stb-bg);
  background-image: none;
}

.stb .form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked {
  background-color: var(--stb-accent);
  border-color: var(--stb-accent);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230b0b0b' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 10l3 3 7-7'/%3e%3c/svg%3e");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.stb .form-check:not(.form-switch) .form-check-input[type="checkbox"]:after {
  content: none;
  display: none;
}

.stb-cta-block {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

.stb-cta-block h2 {
  color: var(--stb-text);
  margin-bottom: 0.75rem;
}

.stb-highlight-block {
  background: var(--stb-bg-card);
  border: 1px solid var(--stb-border);
  border-radius: var(--stb-radius);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.stb-highlight-block p:last-child {
  margin-bottom: 0;
}

.after-quill {
    margin-top: 6rem !important;
}

@media (min-width: 768px) {
    .after-quill-2 {
        margin-top: 6rem !important;
    }
}

/* Tom Select — admin taxonomy pickers */
.stb-form-group .ts-wrapper,
.stb-form-group .ts-control {
  background: #1a1a1a !important;
  border: 1px solid var(--stb-border);
  border-radius: 6px;
  color: var(--stb-text);
}

.stb-form-group .ts-control input {
  color: var(--stb-text);
}

.stb-form-group .focus .ts-control,
.stb-form-group .ts-wrapper.focus .ts-control {
  border-color: var(--stb-accent);
  box-shadow: 0 0 0 0.2rem rgba(163, 230, 53, 0.2);
}

.stb-form-group .ts-dropdown {
  background: var(--stb-bg-card);
  border: 1px solid var(--stb-border);
  border-radius: 6px;
  color: var(--stb-text);
}

.stb-form-group .ts-dropdown .option,
.stb-form-group .ts-dropdown .optgroup-header,
.stb-form-group .ts-dropdown .no-results {
  color: var(--stb-text);
}

.stb-form-group .ts-dropdown .option.active,
.stb-form-group .ts-dropdown .option:hover,
.stb-form-group .ts-dropdown .create:hover {
  background: rgba(163, 230, 53, 0.12);
  color: var(--stb-accent);
}

.stb-form-group .ts-dropdown .create {
  color: var(--stb-muted);
}

.stb-form-group .item {
  background: rgba(163, 230, 53, 0.15);
  border: 1px solid rgba(163, 230, 53, 0.35);
  color: var(--stb-accent);
  border-radius: 4px;
}

.stb-form-group .remove {
  border-left-color: rgba(163, 230, 53, 0.35);
  color: var(--stb-accent);
}

.stb-form-group .remove:hover {
  background: rgba(163, 230, 53, 0.2);
}

.stb-form-group.single .ts-control::after {
  border-color: var(--stb-muted) transparent transparent;
}

.stb-form-group.plugin-remove_button .item .remove {
  margin-left: 0.35rem;
}

.ts-dropdown .active, .ts-dropdown .active.create{
  color: #a8a8a8 !important;
}
