/* === TECHHUB PHASE 2 CATEGORY DS === */
/* ==========================================================================
   TechHub SA (techhub-sa.com) — Pilot Category Design System (c205449402)
   Aesthetic: Light Architectural Technical Grid + Asymmetric Bento
   Scoped strictly under body.th-cat-active / .th-* / --th-*
   ========================================================================== */

body.th-cat-active {
  --th-ink: #050F2C;
  --th-ink-2: #162347;
  --th-signal: #C8102E;
  --th-signal-soft: rgba(200, 16, 46, 0.08);
  --th-surface: #FFFFFF;
  --th-canvas: #F5F7FA;
  --th-border: #DCE3EE;
  --th-border-strong: #B8C5D9;
  --th-text: #1A2233;
  --th-muted: #52607A;
  --th-success: #0E7A4E;
  --th-success-soft: rgba(14, 122, 78, 0.09);
  --th-gold: #C97A08;
  --th-font: 'Amazon-Ember', -apple-system, BlinkMacSystemFont, sans-serif;
  --th-r-sm: 6px;
  --th-r-md: 8px;
  --th-r-lg: 10px;
}

/* Hide conflicting Salla banners in .s-before-products-list via CSS only */
body.th-cat-active .s-before-products-list > :not(.th-cat-host) {
  display: none !important;
}

/* Safe React-preserving card filter hiding (covers display:contents wrappers) */
body.th-cat-active .th-card-hidden,
body.th-cat-active .th-card-hidden[style*="display:contents"],
body.th-cat-active .th-card-hidden[style*="display: contents"] {
  display: none !important;
}

/* Full-width grid expansion when #filters-menu is absent */
body.th-cat-fullwidth #main-content .s-products-list-wrapper,
body.th-cat-fullwidth #main-content salla-products-list,
body.th-cat-fullwidth #main-content .s-products-list {
  width: 100% !important;
  max-width: 100% !important;
}

body.th-cat-fullwidth #main-content .s-category-sidebar:empty,
body.th-cat-fullwidth #main-content aside:empty {
  display: none !important;
}

body.th-cat-fullwidth #page-main-title {
  font-family: var(--th-font);
  color: var(--th-ink);
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--th-border);
  position: relative;
}

body.th-cat-fullwidth #page-main-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline-start: 0;
  width: 56px;
  height: 2px;
  background: var(--th-signal);
}

/* Dedicated Host Containers */
body.th-cat-active .th-cat-host {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
  font-family: var(--th-font);
  color: var(--th-text);
  line-height: 1.6;
  overflow-x: clip;
}

body.th-cat-active .th-cat-host *,
body.th-cat-active .th-cat-host *::before,
body.th-cat-active .th-cat-host *::after {
  box-sizing: border-box;
}

body.th-cat-active .th-cat-host a {
  text-decoration: none;
  color: inherit;
}

body.th-cat-active .th-cat-host img {
  display: block;
  max-width: 100%;
}

.th-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.th-cat-shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 0 20px;
}

.th-cat-bottom-shell {
  width: 100%;
  max-width: 100%;
  margin: 28px auto 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ==========================================================================
   1. Light Architectural Technical Grid + Asymmetric Bento Hero
   ========================================================================== */
.th-hero {
  position: relative;
  background-color: var(--th-surface);
  background-image: radial-gradient(#E3E9F2 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-lg);
  padding: 28px 26px 24px;
  overflow: hidden;
}

/* Top 3px architectural accent bar (#050F2C with #C8102E 72px start segment) */
.th-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--th-ink);
  z-index: 2;
}

.th-hero::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 72px;
  height: 3px;
  background: var(--th-signal);
  z-index: 3;
}

.th-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 1024px) {
  .th-hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
}

.th-hero-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .th-hero-info {
    grid-column: span 7 / span 7;
  }

  .th-hero-grid--no-bento .th-hero-info {
    grid-column: 1 / -1;
  }
}

.th-hero-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--th-ink);
}

.th-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--th-signal);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--th-signal-soft);
  animation: thPulse 2.2s ease-in-out infinite;
}

@keyframes thPulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.16);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(200, 16, 46, 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-pulse-dot {
    animation: none;
  }
}

.th-hero-title {
  margin: 0;
  color: var(--th-ink);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.th-hero-desc {
  margin: 0;
  color: var(--th-muted);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 64ch;
}

/* 3 KPI Boxes */
.th-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 520px) {
  .th-kpi-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-kpi-box {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.th-kpi-val {
  color: var(--th-ink);
  font-size: 0.98rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.th-kpi-label {
  color: var(--th-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

/* Hero Action Buttons */
.th-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--th-r-sm);
  font-family: var(--th-font);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  text-align: center;
}

.th-btn:focus-visible {
  outline: 2px solid var(--th-signal);
  outline-offset: 2px;
}

.th-btn--primary {
  background: var(--th-ink);
  color: #FFFFFF;
  border-color: var(--th-ink);
}

.th-btn--primary:hover {
  background: var(--th-ink-2);
  border-color: var(--th-ink-2);
}

.th-btn--outline {
  background: var(--th-surface);
  color: var(--th-ink);
  border-color: var(--th-border-strong);
}

.th-btn--outline:hover {
  border-color: var(--th-ink);
  background: var(--th-canvas);
}

.th-btn--wa {
  background: var(--th-success-soft);
  color: var(--th-success);
  border-color: rgba(14, 122, 78, 0.28);
}

.th-btn--wa:hover {
  background: var(--th-success);
  color: #FFFFFF;
  border-color: var(--th-success);
}

/* Asymmetric Bento Top-3 Showcase */
.th-hero-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

@media (min-width: 1024px) {
  .th-hero-bento {
    grid-column: span 5 / span 5;
  }
}

.th-hero-bento--single,
.th-hero-bento--two {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 480px) {
  .th-hero-bento {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-bento-card {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: border-color 0.18s ease;
}

.th-bento-card:hover {
  border-color: var(--th-ink);
}

.th-bento-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-inline-start: 3px solid var(--th-signal);
}

@media (max-width: 420px) {
  .th-bento-card--featured {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }
}

.th-bento-img-wrap {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}

.th-bento-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.th-bento-card:not(.th-bento-card--featured) .th-bento-img-wrap {
  aspect-ratio: 16 / 10;
}

.th-bento-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.th-bento-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.th-bento-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
}

.th-bento-tag--signal {
  background: var(--th-signal-soft);
  border-color: rgba(200, 16, 46, 0.22);
  color: var(--th-signal);
}

.th-bento-sku {
  font-size: 0.7rem;
  color: var(--th-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.th-bento-title {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--th-ink);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.th-bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.th-bento-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--th-ink);
  font-variant-numeric: tabular-nums;
}

.th-bento-link {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--th-signal);
  white-space: nowrap;
}

/* ==========================================================================
   2. Subcategories Strip & Segmented Control Workbench
   ========================================================================== */
.th-subcats {
  margin-top: 16px;
}

.th-subcats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .th-subcats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .th-subcat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.th-subcat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 10px 12px;
  min-width: 0;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.th-subcat-card:hover {
  border-color: var(--th-ink);
  background: var(--th-canvas);
}

.th-subcat-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-subcat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.th-subcat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.th-subcat-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--th-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.th-subcat-cta {
  font-size: 0.74rem;
  color: var(--th-muted);
}

/* Leaf Category Parent & Sibling Quick Switcher */
.th-sibling-strip {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.th-sibling-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--th-muted);
  margin-inline-end: 4px;
}

.th-sibling-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--th-ink);
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.th-sibling-pill:hover {
  border-color: var(--th-ink);
  background: var(--th-canvas);
}

.th-sibling-pill--parent {
  background: var(--th-canvas);
  border-style: dashed;
}

.th-sibling-pill.is-current {
  background: var(--th-ink);
  border-color: var(--th-ink);
  color: #FFFFFF;
}

/* Quick Filter Segmented Control Workbench */
.th-workbench {
  margin-top: 14px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-workbench-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.th-seg-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  padding: 4px;
  max-width: 100%;
}

.th-seg-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--th-muted);
  font-family: var(--th-font);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
  white-space: nowrap;
}

.th-seg-btn:hover {
  color: var(--th-ink);
  background: rgba(5, 15, 44, 0.05);
}

.th-seg-btn.is-active {
  background: var(--th-ink);
  color: #FFFFFF;
}

.th-seg-btn:focus-visible {
  outline: 2px solid var(--th-signal);
  outline-offset: 1px;
}

.th-workbench-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.th-search-wrap {
  position: relative;
  flex: 1 1 240px;
  max-width: 420px;
  min-width: 0;
}

.th-search-input {
  width: 100%;
  height: 38px;
  padding: 6px 36px 6px 12px;
  font-family: var(--th-font);
  font-size: 0.9rem;
  color: var(--th-text);
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  outline: none;
}

.th-search-input:focus {
  border-color: var(--th-ink);
  background: var(--th-surface);
}

.th-search-icon {
  position: absolute;
  inset-inline-start: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--th-muted);
  pointer-events: none;
  display: inline-flex;
}

.th-workbench-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.th-filter-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--th-ink);
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  padding: 6px 10px;
  font-variant-numeric: tabular-nums;
}

.th-reset-btn {
  appearance: none;
  background: var(--th-surface);
  color: var(--th-signal);
  border: 1px solid rgba(200, 16, 46, 0.3);
  border-radius: var(--th-r-sm);
  padding: 6px 12px;
  font-family: var(--th-font);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.th-reset-btn:hover {
  background: var(--th-signal);
  color: #FFFFFF;
  border-color: var(--th-signal);
}

.th-empty-state {
  display: none;
  margin-top: 12px;
  padding: 20px 16px;
  background: var(--th-canvas);
  border: 1px dashed var(--th-border-strong);
  border-radius: var(--th-r-md);
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.th-empty-state.is-visible {
  display: flex;
}

.th-empty-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--th-ink);
}

.th-empty-sub {
  margin: 0;
  font-size: 0.83rem;
  color: var(--th-muted);
}

/* ==========================================================================
   3. Decision Modules (01..06) & Numbered Section Headers
   ========================================================================== */
.th-section {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-lg);
  padding: 22px 22px;
  min-width: 0;
}

@media (max-width: 640px) {
  .th-hero {
    padding: 20px 14px 18px;
  }
  .th-section {
    padding: 18px 14px;
  }
}

.th-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.th-sec-num {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--th-signal);
  font-variant-numeric: tabular-nums;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--th-signal);
  flex-shrink: 0;
}

.th-sec-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.3;
}

.th-sec-rule {
  flex: 1 1 24px;
  height: 1px;
  background: var(--th-border);
}

/* 01: Why TechHub 4-Card Grid */
.th-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 960px) {
  .th-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .th-why-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-card {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 15px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.th-card-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--th-r-sm);
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.th-card-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-card-text {
  margin: 0;
  font-size: 0.83rem;
  color: var(--th-muted);
  line-height: 1.6;
}

/* 02: Recommended Sectors */
.th-sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 1024px) {
  .th-sectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .th-sectors-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-sector-card {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-top: 2px solid var(--th-ink);
  border-radius: var(--th-r-md);
  padding: 14px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.th-sector-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--th-signal);
}

/* 03: Comparison Table inside .th-table-scroll */
.th-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  background: var(--th-surface);
}

.th-compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: right;
}

.th-compare-table th,
.th-compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--th-border);
  vertical-align: top;
}

.th-compare-table thead th {
  background: var(--th-ink);
  color: #FFFFFF;
  font-weight: 700;
  white-space: nowrap;
}

.th-compare-table tbody tr:nth-child(even) {
  background: var(--th-canvas);
}

.th-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.th-table-brand {
  font-weight: 800;
  color: var(--th-ink);
}

.th-table-price {
  font-weight: 800;
  color: var(--th-signal);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* 04: 3-Step Horizontal Timeline */
.th-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 768px) {
  .th-timeline {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-step-card {
  position: relative;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.th-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--th-ink);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.th-step-arrow {
  color: var(--th-signal);
  font-weight: 800;
  font-size: 1rem;
}

/* 05: FAQ Details Accordion */
.th-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-faq-item {
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  background: var(--th-surface);
  overflow: hidden;
}

.th-faq-item[open] {
  border-color: var(--th-ink);
}

.th-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--th-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.th-faq-q::-webkit-details-marker {
  display: none;
}

.th-faq-q::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--th-signal);
  flex-shrink: 0;
}

.th-faq-item[open] .th-faq-q::after {
  content: "−";
}

.th-faq-a {
  padding: 0 16px 14px;
  font-size: 0.85rem;
  color: var(--th-muted);
  line-height: 1.7;
  border-top: 1px solid var(--th-border);
  padding-top: 11px;
}

.th-inline-link {
  color: var(--th-signal) !important;
  font-weight: 700;
  text-decoration: underline !important;
}

/* 06: Complementary Categories */
.th-rel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .th-rel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 440px) {
  .th-rel-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-rel-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.th-rel-card:hover {
  border-color: var(--th-ink);
  background: var(--th-surface);
}

.th-rel-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--th-r-sm);
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  padding: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-rel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   4. Verified Reviews (FIRST), Payment Methods & Official Trust Strip
   ========================================================================== */
.th-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.th-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--th-ink);
}

.th-stars {
  color: var(--th-gold);
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.th-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 960px) {
  .th-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .th-reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-review-card {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-review-author {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-review-city {
  font-size: 0.75rem;
  color: var(--th-muted);
}

.th-review-text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--th-text);
  line-height: 1.55;
}

.th-review-verified {
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--th-success);
}

/* Active Payment Methods Strip */
.th-pay-trust-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.th-pay-bar {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.th-pay-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-pay-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-pay-pill {
  padding: 6px 12px;
  border-radius: var(--th-r-sm);
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--th-ink);
}

/* Official Trust & Policies Bar */
.th-trust-bar {
  background: var(--th-ink);
  color: #FFFFFF;
  border-radius: var(--th-r-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--th-signal);
}

.th-trust-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.82rem;
  color: #E2E8F5;
}

.th-trust-ids strong {
  color: #FFFFFF;
}

.th-trust-cert {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  font-weight: 700;
}

.th-trust-branches {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.65;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.th-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.th-trust-link {
  padding: 6px 12px;
  border-radius: var(--th-r-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 0.15s ease;
}

.th-trust-link:hover {
  background: var(--th-signal);
  border-color: var(--th-signal);
}
/* === TECHHUB PHASE 2 PDP DS === */
/* ==========================================================================
   TechHub (techhub-sa.com) — Pilot PDP Design System (Phase 1: 1671045143)
   Scoped exclusively under body.th-pdp-active and .th-* / --th-* namespace
   ========================================================================== */

:root {
  --th-ink: #050F2C;
  --th-ink-muted: #475569;
  --th-signal: #C8102E;
  --th-signal-hover: #A60D26;
  --th-surface: #FFFFFF;
  --th-canvas: #F5F7FA;
  --th-border: #DCE3EE;
  --th-success: #0E7A4E;
  --th-success-bg: #ECFDF5;
  --th-radius-sm: 6px;
  --th-radius-md: 8px;
  --th-font: 'Amazon-Ember', -apple-system, BlinkMacSystemFont, sans-serif;
  --th-mob-bar-h: 0px;
  --th-sticky-h: 80px;
}

@media (max-width: 767px) {
  :root {
    --th-mob-bar-h: 64px;
  }
}

/* Prevent horizontal overflow without breaking position: sticky */
@media (min-width: 768px) {
  html:has(body.th-pdp-active),
  body.th-pdp-active,
  body.th-pdp-active .app-inner,
  body.th-pdp-active #main-content,
  body.th-pdp-active .container,
  body.th-pdp-active .th-gallery-parent {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
}

body.th-pdp-active {
  overflow-x: clip;
}

/* Hide native description only after workbench is verified & populated */
body.th-pdp-active.th-pdp-has-desc .product__description {
  display: none !important;
}

/* Keep native Buy Box .sticky-product-bar visible in-flow; unfix on mobile so #th-pdp-sticky owns the sticky dock cleanly */
body.th-pdp-active salla-sticky-add-to-cart,
body.th-pdp-active .sticky-add-to-cart {
  display: none !important;
}

@media (max-width: 767px) {
  body.th-pdp-active .product-form .sticky-product-bar,
  body.th-pdp-active .sticky-product-bar {
    position: static !important;
    inset: auto !important;
    bottom: auto !important;
    box-shadow: none !important;
    border-top: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: auto !important;
  }

  body.th-pdp-active.product-single.is-sticky-product-bar {
    padding-bottom: calc(140px + var(--safe-bottom, 0px)) !important;
  }
}

/* Lift floating WhatsApp widget (.wa-s-n) cleanly above smart sticky bar on all viewports */
body.th-pdp-active.th-sticky-visible .wa-s-n {
  bottom: calc(var(--th-mob-bar-h, 0px) + var(--th-sticky-h, 80px) + 18px) !important;
  transition: bottom 0.22s ease;
}

/* --------------------------------------------------------------------------
   1. Sticky Product Gallery on Desktop (>= 768px)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body.th-pdp-active .th-gallery-parent {
    overflow: visible !important;
  }

  body.th-pdp-active .product-gallery {
    position: sticky !important;
    top: 5.5rem;
    align-self: flex-start;
    z-index: 2;
  }
}

/* --------------------------------------------------------------------------
   Shared Host Reset
   -------------------------------------------------------------------------- */
.th-pdp-host,
.th-pdp-host *,
.th-pdp-host *::before,
.th-pdp-host *::after {
  box-sizing: border-box;
  font-family: var(--th-font);
}

.th-pdp-host {
  direction: rtl;
  text-align: right;
  color: var(--th-ink);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   2. Buy Box Precision: Savings Badge & #th-pdp-tools-host
   -------------------------------------------------------------------------- */
.th-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--th-signal);
  color: #FFFFFF;
  font-family: var(--th-font);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  padding: 4px 10px;
  border-radius: var(--th-radius-sm);
  margin-inline-start: 8px;
  vertical-align: middle;
  letter-spacing: 0;
}

#th-pdp-tools-host {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-top: 3px solid var(--th-ink);
  border-radius: var(--th-radius-md);
}

.th-tools-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.th-btn-wa {
  flex: 1 1 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--th-ink);
  color: #FFFFFF !important;
  border: 1px solid var(--th-ink);
  border-radius: var(--th-radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
  min-height: 42px;
}

.th-btn-wa:hover,
.th-btn-wa:focus-visible {
  background: #0B1B4A;
  border-color: #0B1B4A;
  outline: 2px solid var(--th-signal);
  outline-offset: 2px;
}

.th-btn-wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #25D366;
  flex: 0 0 8px;
}

.th-btn-specs {
  flex: 0 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--th-surface);
  color: var(--th-ink);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
  min-height: 42px;
}

.th-btn-specs:hover,
.th-btn-specs:focus-visible {
  border-color: var(--th-signal);
  color: var(--th-signal);
  background: #FFF7F8;
  outline: none;
}

.th-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--th-border);
}

.th-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--th-ink);
  line-height: 1.35;
}

.th-trust-icon {
  color: var(--th-success);
  font-weight: 800;
  flex-shrink: 0;
}

.th-payments-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--th-ink-muted);
}

.th-payment-chip {
  display: inline-flex;
  align-items: center;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--th-ink);
}

@media (max-width: 767px) {
  .th-trust-strip {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* --------------------------------------------------------------------------
   3. Technical Spec Workbench (#th-pdp-hub-host)
   -------------------------------------------------------------------------- */
#th-pdp-hub-host {
  margin: 24px 0;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-md);
  overflow: hidden;
  position: relative;
}

#th-pdp-hub-host::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--th-signal) 0%, var(--th-signal) 24%, var(--th-ink) 24%, var(--th-ink) 100%);
}

.th-hub-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  background: var(--th-surface);
  border-bottom: 1px solid var(--th-border);
}

.th-hub-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.th-hub-kicker {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--th-signal);
  letter-spacing: 0.02em;
}

.th-hub-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.35;
}

.th-hub-sku-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--th-ink);
}

.th-workbench-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  align-items: start;
}

.th-tabs-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.th-tabs-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.th-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-inline-start: 3px solid transparent;
  border-radius: var(--th-radius-sm);
  color: var(--th-ink);
  font-size: 13.5px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
  min-width: 0;
}

.th-tab-btn:hover {
  border-color: var(--th-ink);
  background: #FFFFFF;
}

.th-tab-btn.is-active {
  background: #FFFFFF;
  border-color: var(--th-border);
  border-inline-start: 3px solid var(--th-signal);
  color: var(--th-ink);
  box-shadow: 0 2px 6px rgba(5, 15, 44, 0.06);
}

.th-tab-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  border-radius: var(--th-radius-sm);
  background: var(--th-canvas);
  color: var(--th-ink-muted);
  font-size: 11.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.th-tab-btn.is-active .th-tab-num {
  background: var(--th-signal);
  color: #FFFFFF;
}

.th-tab-label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.35;
}

.th-show-all-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--th-ink);
  color: #FFFFFF;
  border: 1px solid var(--th-ink);
  border-radius: var(--th-radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.th-show-all-btn:hover {
  background: #0B1B4A;
}

.th-show-all-btn.is-active {
  background: var(--th-signal);
  border-color: var(--th-signal);
}

.th-panels-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.th-panel {
  display: none;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-md);
  padding: 20px;
  min-width: 0;
}

.th-panel.is-active,
#th-pdp-hub-host.th-show-all .th-panel {
  display: block;
}

.th-panel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--th-canvas);
}

.th-panel-heading-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--th-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.th-panel-heading-num {
  color: var(--th-signal);
  font-size: 14px;
  font-weight: 800;
}

/* Cloned Content Architectural Normalization */
.th-cloned-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.th-cloned-card {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-md);
  padding: 18px;
  color: var(--th-ink);
  min-width: 0;
}

.th-cloned-card.th-card-highlight {
  background: var(--th-ink);
  color: #FFFFFF;
  border-color: var(--th-ink);
  border-top: 3px solid var(--th-signal);
}

.th-cloned-card.th-card-highlight h2,
.th-cloned-card.th-card-highlight h3,
.th-cloned-card.th-card-highlight h4,
.th-cloned-card.th-card-highlight p,
.th-cloned-card.th-card-highlight div,
.th-cloned-card.th-card-highlight span,
.th-cloned-card.th-card-highlight strong {
  color: #FFFFFF !important;
}

.th-cloned-card.th-card-service {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-inline-start: 4px solid var(--th-signal);
}

/* Strip clashing legacy inline colors inside regular cloned cards */
.th-cloned-card:not(.th-card-highlight) h2,
.th-cloned-card:not(.th-card-highlight) h3,
.th-cloned-card:not(.th-card-highlight) h4 {
  color: var(--th-ink) !important;
  border-bottom-color: var(--th-border) !important;
}

.th-cloned-card:not(.th-card-highlight) p,
.th-cloned-card:not(.th-card-highlight) li,
.th-cloned-card:not(.th-card-highlight) span,
.th-cloned-card:not(.th-card-highlight) strong,
.th-cloned-card:not(.th-card-highlight) div {
  color: #1A2233 !important;
}

.th-cloned-card:not(.th-card-highlight) a[href*="wa.me"] {
  background: #0E7A4E !important;
  color: #FFFFFF !important;
  border-color: #0E7A4E !important;
  padding: 8px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.th-cloned-card:not(.th-card-highlight) a[href*="wa.me"] * {
  color: #FFFFFF !important;
}

.th-cloned-card ul {
  margin: 8px 0 0 0;
  padding-inline-start: 20px;
}

.th-cloned-card li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.th-cloned-card img,
.th-cloned-card video {
  max-width: 100%;
  height: auto;
}

/* Table Scroll Wrapper */
.th-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-md);
  background: var(--th-surface);
}

.th-table-scroll table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  text-align: right;
  font-size: 13.5px;
}

.th-table-scroll thead tr {
  background: var(--th-ink) !important;
  color: #FFFFFF !important;
}

.th-table-scroll th {
  padding: 11px 14px !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.th-table-scroll td {
  padding: 10px 14px !important;
  color: var(--th-ink) !important;
  border-bottom: 1px solid var(--th-border) !important;
  line-height: 1.6;
}

.th-table-scroll tbody tr:nth-child(even) {
  background: var(--th-canvas) !important;
}

/* SKU Copy Bar inside Specs Tab */
.th-sku-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
}

.th-sku-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--th-ink);
}

.th-sku-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  padding: 3px 8px;
  color: var(--th-ink);
  direction: ltr;
}

.th-copy-sku-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--th-ink);
  color: #FFFFFF;
  border: 1px solid var(--th-ink);
  border-radius: var(--th-radius-sm);
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.th-copy-sku-btn.is-copied {
  background: var(--th-success);
  border-color: var(--th-success);
}

/* Warranty, 5 Branches, Policies & Payment Section (Tab 03) */
.th-branches-box,
.th-policies-box {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-md);
  padding: 16px;
}

.th-subbox-title {
  margin: 0 0 10px 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--th-ink);
}

.th-branches-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  padding: 6px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--th-ink);
}

.th-policies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.th-policy-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  padding: 9px 12px;
  color: var(--th-ink) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.th-policy-link:hover {
  border-color: var(--th-signal);
  color: var(--th-signal) !important;
}

@media (max-width: 767px) {
  .th-policies-grid {
    grid-template-columns: 1fr;
  }
}

/* Click-to-Load Video Facade (Tab 04 if video exists) */
.th-video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--th-ink);
  border-radius: var(--th-radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--th-border);
}

.th-video-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--th-signal);
  color: #FFFFFF;
  border: none;
  border-radius: var(--th-radius-sm);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.th-video-facade iframe,
.th-video-facade video {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Complementary Products Grid (Tab 06) */
.th-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.th-comp-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-md);
  padding: 14px;
  gap: 10px;
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.th-comp-card:hover {
  border-color: var(--th-ink);
  box-shadow: 0 4px 12px rgba(5, 15, 44, 0.06);
}

.th-comp-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  background: var(--th-canvas);
  border-radius: var(--th-radius-sm);
  overflow: hidden;
  padding: 8px;
}

.th-comp-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.th-comp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: var(--th-ink-muted);
}

.th-comp-sku {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: 4px;
  padding: 1px 6px;
  direction: ltr;
}

.th-comp-name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--th-ink);
}

.th-comp-name a {
  color: var(--th-ink) !important;
  text-decoration: none !important;
}

.th-comp-name a:hover {
  color: var(--th-signal) !important;
}

.th-comp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--th-border);
}

.th-comp-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--th-ink);
}

.th-comp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  color: var(--th-ink) !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
}

.th-comp-link:hover {
  background: var(--th-ink);
  border-color: var(--th-ink);
  color: #FFFFFF !important;
}

.th-project-quote-bar {
  margin-top: 16px;
  padding: 16px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-top: 3px solid var(--th-signal);
  border-radius: var(--th-radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.th-project-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--th-signal);
  color: #FFFFFF !important;
  border-radius: var(--th-radius-sm);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color 0.18s ease;
}

.th-project-quote-btn:hover {
  background: var(--th-signal-hover);
}

/* Mobile Layout for Spec Workbench (<= 767px) */
@media (max-width: 767px) {
  .th-hub-header {
    padding: 14px;
  }

  .th-workbench-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .th-tabs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  /* Odd number of active tabs: last tab spans full width cleanly */
  .th-tab-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .th-tab-btn {
    padding: 10px;
    font-size: 12.5px;
    gap: 7px;
  }

  .th-show-all-btn {
    width: 100%;
  }

  .th-panel {
    padding: 14px;
  }

  .th-comp-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   4. Smart Sticky Buy Bar (#th-pdp-sticky)
   -------------------------------------------------------------------------- */
#th-pdp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--th-mob-bar-h, 0px);
  z-index: 9990;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--th-ink);
  box-shadow: 0 -6px 24px rgba(5, 15, 44, 0.12);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.2s ease, bottom 0.2s ease;
}

body.th-pdp-active.th-sticky-visible #th-pdp-sticky {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.th-sticky-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.th-sticky-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.th-sticky-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--th-radius-sm);
  border: 1px solid var(--th-border);
  object-fit: contain;
  background: var(--th-canvas);
  flex-shrink: 0;
}

.th-sticky-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.th-sticky-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--th-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.th-sticky-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.th-sticky-price {
  font-weight: 800;
  color: var(--th-signal);
}

.th-sticky-sku {
  font-size: 11.5px;
  color: var(--th-ink-muted);
  direction: ltr;
}

.th-sticky-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.th-sticky-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  background: var(--th-canvas);
  color: var(--th-ink) !important;
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.th-sticky-wa:hover {
  border-color: var(--th-ink);
}

.th-sticky-atc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--th-signal);
  color: #FFFFFF;
  border: 1px solid var(--th-signal);
  border-radius: var(--th-radius-sm);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease;
}

.th-sticky-atc:hover:not(:disabled) {
  background: var(--th-signal-hover);
  border-color: var(--th-signal-hover);
}

.th-sticky-atc:disabled {
  background: #94A3B8;
  border-color: #94A3B8;
  cursor: not-allowed;
}

.th-sticky-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--th-mob-bar-h, 0px) + 78px);
  transform: translateX(-50%);
  z-index: 9995;
  background: var(--th-ink);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--th-radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(5, 15, 44, 0.25);
}

@media (max-width: 767px) {
  .th-sticky-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .th-sticky-thumb {
    display: none;
  }

  .th-sticky-sku {
    display: none;
  }

  .th-sticky-wa {
    display: none;
  }

  .th-sticky-title {
    font-size: 12.5px;
  }

  .th-sticky-atc {
    padding: 9px 14px;
    font-size: 12.5px;
  }
}
/* === TECHHUB PAGES DS === */
/* ==========================================================================
   TechHub SA (techhub-sa.com) — Editorial Flagship Design System (V2)
   Aesthetic: Deep Architectural Navy Hero + 3-Tier Slate/White Editorial Cards
   Palette: #050F2C (Ink), #C8102E (Signal), #F1F5F9 (Slate Ground), #FFFFFF
   Scoped strictly under body.th-page-active / .th-pg-* / --th-*
   ========================================================================== */

body.th-page-active {
  --th-ink: #050F2C;
  --th-ink-2: #0B1B45;
  --th-ink-3: #162B61;
  --th-signal: #C8102E;
  --th-signal-soft: rgba(200, 16, 46, 0.09);
  --th-surface: #FFFFFF;
  --th-canvas: #F8FAFC;
  --th-ground: #F1F5F9;
  --th-border: #DDE5F0;
  --th-border-strong: #B8C7DE;
  --th-text: #1A2233;
  --th-muted: #52607A;
  --th-success: #0E7A4E;
  --th-success-soft: rgba(14, 122, 78, 0.10);
  --th-font: 'Amazon-Ember', -apple-system, BlinkMacSystemFont, sans-serif;
  --th-shadow-card: 0 1px 2px rgba(5, 15, 44, 0.04), 0 10px 28px -12px rgba(5, 15, 44, 0.09);
  --th-shadow-hover: 0 6px 18px -6px rgba(5, 15, 44, 0.13), 0 1px 3px rgba(5, 15, 44, 0.05);
  --th-r-sm: 8px;
  --th-r-md: 12px;
  --th-r-lg: 14px;
  overflow-x: clip;
}

body.th-page-active #main-content,
body.th-page-active .app-inner {
  background: var(--th-ground) !important;
}

@media (min-width: 1024px) {
  html:has(body.th-page-active),
  body.th-page-active,
  body.th-page-active .app-inner,
  body.th-page-active #main-content,
  body.th-page-active .container,
  body.th-page-active .flex.justify-center,
  body.th-page-active .content--single-page {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }
}

/* Flatten outer Salla single-page card shell cleanly */
body.th-page-active .content--single-page {
  width: 100% !important;
  max-width: 1240px !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
  margin-top: 14px !important;
  margin-bottom: 28px !important;
}

/* Reading Pages: hide raw .content-entry via CSS ONLY (React DOM preserved) */
body.th-page-active.th-page-mounted .content--single-page > :not(.th-pg-host) {
  display: none !important;
}

/* Interactive Form Pages (RFQ page-960129775): preserve live form intact */
body.th-page-active.th-page-interactive .content--single-page {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

body.th-page-active.th-page-interactive .content--single-page > h1,
body.th-page-active.th-page-interactive .content-entry section > h1 {
  display: none !important;
}

body.th-page-active.th-page-interactive #th-page-top-host {
  order: -1;
}

body.th-page-active.th-page-interactive .content-entry {
  order: 1;
}

body.th-page-active.th-page-interactive #th-page-bottom-host {
  order: 2;
}

body.th-page-active.th-page-interactive .content-entry section {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px 26px !important;
  background: var(--th-surface) !important;
  border: 1px solid var(--th-border) !important;
  border-top: 4px solid var(--th-ink) !important;
  border-radius: var(--th-r-lg) !important;
  box-shadow: var(--th-shadow-card) !important;
  font-family: var(--th-font) !important;
  direction: rtl !important;
  text-align: right !important;
  position: relative;
}

body.th-page-active.th-page-interactive .content-entry section > p:first-of-type {
  color: var(--th-muted) !important;
  font-size: 0.96rem !important;
  line-height: 1.8 !important;
  margin-bottom: 14px !important;
}

body.th-page-active.th-page-interactive .content-entry section > div:first-of-type {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 20px 0 !important;
}

body.th-page-active.th-page-interactive .content-entry section > div:first-of-type a {
  border-radius: var(--th-r-sm) !important;
  font-family: var(--th-font) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease !important;
}

body.th-page-active.th-page-interactive .content-entry section > div:first-of-type a:hover {
  transform: translateY(-1px);
}

body.th-page-active.th-page-interactive #rfqForm {
  background: var(--th-canvas) !important;
  border: 1px solid var(--th-border) !important;
  border-radius: var(--th-r-md) !important;
  padding: 24px !important;
  font-family: var(--th-font) !important;
}

body.th-page-active.th-page-interactive #rfqForm label {
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  color: var(--th-ink) !important;
  margin-bottom: 6px !important;
}

body.th-page-active.th-page-interactive #rfqForm input,
body.th-page-active.th-page-interactive #rfqForm select {
  min-height: 46px !important;
  background: var(--th-surface) !important;
}

body.th-page-active.th-page-interactive #rfqForm input,
body.th-page-active.th-page-interactive #rfqForm select,
body.th-page-active.th-page-interactive #rfqForm textarea {
  font-family: var(--th-font) !important;
  font-size: 0.92rem !important;
  border: 1px solid var(--th-border-strong) !important;
  border-radius: var(--th-r-sm) !important;
  background: var(--th-surface) !important;
  color: var(--th-text) !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease !important;
}

body.th-page-active.th-page-interactive #rfqForm input:focus,
body.th-page-active.th-page-interactive #rfqForm select:focus,
body.th-page-active.th-page-interactive #rfqForm textarea:focus {
  outline: none !important;
  border-color: var(--th-signal) !important;
  box-shadow: 0 0 0 3px var(--th-signal-soft) !important;
}

body.th-page-active.th-page-interactive #rfqForm button[type="submit"] {
  background: var(--th-signal) !important;
  color: #FFFFFF !important;
  border-radius: var(--th-r-sm) !important;
  padding: 12px 24px !important;
  font-family: var(--th-font) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 16px -6px rgba(200, 16, 46, 0.5) !important;
  transition: background-color 0.16s ease, transform 0.16s ease !important;
}

body.th-page-active.th-page-interactive #rfqForm button[type="submit"]:hover {
  background: #A60D26 !important;
  transform: translateY(-1px);
}

body.th-page-active.th-page-interactive .th-pg-rfq-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--th-success-soft);
  color: var(--th-success) !important;
  border: 1px solid rgba(14, 122, 78, 0.35);
  border-radius: var(--th-r-sm);
  font-family: var(--th-font);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

body.th-page-active.th-page-interactive .th-pg-rfq-wa:hover {
  background: var(--th-success);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  body.th-page-active.th-page-interactive .content-entry section {
    padding: 18px 14px !important;
  }

  body.th-page-active.th-page-interactive #rfqForm {
    padding: 14px !important;
  }

  body.th-page-active.th-page-interactive #rfqForm > div:first-child {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Reading Progress Bar */
#th-page-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9980;
  pointer-events: none;
  background: rgba(5, 15, 44, 0.08);
}

.th-pg-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--th-signal) 0%, #E11D48 100%);
  transition: width 0.08s linear;
}

/* Scoped Host Containers & Entrance Animation */
@keyframes thPgFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.th-page-active .th-pg-host {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
  font-family: var(--th-font);
  color: var(--th-text);
  line-height: 1.7;
  overflow-x: clip;
  animation: thPgFadeUp 0.28s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  body.th-page-active .th-pg-host,
  body.th-page-active .th-pg-card,
  body.th-page-active .th-pg-hi-box,
  body.th-page-active .th-pg-dot {
    animation: none !important;
    transition: none !important;
  }
}

body.th-page-active .th-pg-host *,
body.th-page-active .th-pg-host *::before,
body.th-page-active .th-pg-host *::after {
  box-sizing: border-box;
}

body.th-page-active .th-pg-host a {
  text-decoration: none;
}

body.th-page-active .th-pg-host svg {
  display: block;
  flex-shrink: 0;
}

.th-pg-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding-bottom: 18px;
}

@media (max-width: 767px) {
  .th-pg-shell {
    gap: 16px;
    padding-bottom: 80px;
  }
}

/* ==========================================================================
   1. Flagship Asymmetric Dark Navy Hero & Glassmorphic 2x2 Bento
   ========================================================================== */
.th-pg-hero {
  position: relative;
  background-color: var(--th-ink);
  background-image:
    radial-gradient(circle at 14% 22%, rgba(200, 16, 46, 0.24) 0%, transparent 52%),
    radial-gradient(circle at 86% 85%, rgba(30, 64, 175, 0.22) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #050F2C 0%, #0B1B45 62%, #112456 100%);
  background-size: auto, auto, 32px 32px, 32px 32px, auto;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--th-r-lg);
  box-shadow: 0 18px 40px -18px rgba(5, 15, 44, 0.45);
  padding: 24px 16px 20px;
  overflow: hidden;
  color: #FFFFFF;
}

.th-pg-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 2;
}

.th-pg-hero::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 112px;
  height: 4px;
  background: var(--th-signal);
  z-index: 3;
}

@media (min-width: 1024px) {
  .th-pg-hero {
    padding: 36px 34px 32px;
  }
}

.th-pg-hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

@media (min-width: 1024px) {
  .th-pg-hero-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 28px;
  }
}

.th-pg-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.th-pg-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.th-pg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #F1F5F9;
  backdrop-filter: blur(8px);
}

.th-pg-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(200, 16, 46, 0.22);
  border: 1px solid rgba(200, 16, 46, 0.45);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFE4E8;
}

@keyframes thPgPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 77, 106, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(255, 77, 106, 0.08); }
}

.th-pg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF4D6A;
  animation: thPgPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.th-pg-title {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.th-pg-lead {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #E2E8F5;
  font-size: 0.98rem;
  line-height: 1.85;
  max-width: 66ch;
}

.th-pg-lead p {
  margin: 0;
}

.th-pg-lead strong {
  color: #FFFFFF;
  font-weight: 800;
}

.th-pg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.th-pg-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--th-r-sm);
  font-family: var(--th-font);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.th-pg-hero-btn:hover {
  transform: translateY(-1px);
}

.th-pg-hero-btn--primary {
  background: #FFFFFF;
  color: var(--th-ink) !important;
}

.th-pg-hero-btn--primary:hover {
  background: #F1F5F9;
}

.th-pg-hero-btn--wa {
  background: rgba(14, 122, 78, 0.24);
  border-color: rgba(52, 211, 153, 0.4);
  color: #ECFDF5 !important;
}

.th-pg-hero-btn--wa:hover {
  background: var(--th-success);
  border-color: var(--th-success);
}

.th-pg-hero-btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #E2E8F5 !important;
}

.th-pg-hero-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF !important;
}

/* 2x2 Glassmorphic Metrics Bento */
.th-pg-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.th-pg-hi-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--th-r-md);
  padding: 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.th-pg-hi-box:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
}

.th-pg-hi-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(200, 16, 46, 0.24);
  border: 1px solid rgba(255, 130, 150, 0.28);
  color: #FF94A6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.th-pg-hi-val {
  color: #FFFFFF;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
}

.th-pg-hi-lbl {
  color: #CBD5E1;
  font-size: 0.75rem;
  line-height: 1.45;
}

/* ==========================================================================
   2. Page-Specific Signature Visual Bands
   ========================================================================== */
/* Shipping 4-Step Fulfillment Journey Timeline */
.th-pg-timeline {
  position: relative;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-lg);
  box-shadow: var(--th-shadow-card);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 860px) {
  .th-pg-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 22px 24px;
  }

  .th-pg-timeline::before {
    content: "";
    position: absolute;
    top: 41px;
    inset-inline-start: 10%;
    inset-inline-end: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--th-border) 0%, var(--th-signal) 50%, var(--th-ink) 100%);
    opacity: 0.35;
    z-index: 1;
  }
}

.th-pg-step {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 13px 14px;
}

@media (min-width: 860px) {
  .th-pg-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
    border-color: transparent;
    padding: 0 6px;
  }
}

.th-pg-step-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--th-ink);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--th-surface);
}

.th-pg-step.is-accent .th-pg-step-badge {
  background: var(--th-signal);
}

.th-pg-step.is-done .th-pg-step-badge {
  background: var(--th-success);
}

.th-pg-step-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--th-signal);
  letter-spacing: 0.04em;
}

.th-pg-step-title {
  margin: 2px 0;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-pg-step-sub {
  font-size: 0.77rem;
  color: var(--th-muted);
  line-height: 1.5;
}

/* Returns 3-Window Strip & Warranty 2-Track Strip */
.th-pg-strip-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 780px) {
  .th-pg-strip-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.th-pg-strip-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 780px) {
  .th-pg-strip-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.th-pg-kpi-tile {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-top: 3px solid var(--th-ink);
  border-radius: var(--th-r-md);
  box-shadow: var(--th-shadow-card);
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.th-pg-kpi-tile.is-signal {
  border-top-color: var(--th-signal);
}

.th-pg-kpi-tile.is-success {
  border-top-color: var(--th-success);
}

.th-pg-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-pg-kpi-tile.is-signal .th-pg-kpi-icon {
  background: var(--th-signal-soft);
  border-color: rgba(200, 16, 46, 0.22);
  color: var(--th-signal);
}

.th-pg-kpi-tile.is-success .th-pg-kpi-icon {
  background: var(--th-success-soft);
  border-color: rgba(14, 122, 78, 0.22);
  color: var(--th-success);
}

.th-pg-kpi-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.3;
}

.th-pg-kpi-lbl {
  font-size: 0.78rem;
  color: var(--th-muted);
  margin-top: 2px;
}

/* ==========================================================================
   3. Two-Column Editorial Workbench, Bento-2 Mode & Sticky Rail
   ========================================================================== */
.th-pg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

@media (min-width: 1024px) {
  .th-pg-layout {
    grid-template-columns: 276px minmax(0, 1fr);
    gap: 24px;
  }
}

.th-pg-rail {
  display: none;
}

@media (min-width: 1024px) {
  .th-pg-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 5.5rem;
    min-width: 0;
  }
}

.th-pg-toc-box {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-top: 3px solid var(--th-ink);
  border-radius: var(--th-r-md);
  box-shadow: var(--th-shadow-card);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.th-pg-toc-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.th-pg-toc-head {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-pg-toc-pct {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--th-signal);
  background: var(--th-signal-soft);
  padding: 2px 8px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.th-pg-toc-bar {
  width: 100%;
  height: 4px;
  background: var(--th-border);
  border-radius: 999px;
  overflow: hidden;
}

.th-pg-toc-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--th-signal);
  transition: width 0.12s linear;
}

.th-pg-toc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.th-pg-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--th-r-sm);
  border: 1px solid transparent;
  border-inline-start: 3px solid transparent;
  background: transparent;
  text-align: right;
  font-family: var(--th-font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--th-muted) !important;
  line-height: 1.45;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
  cursor: pointer;
}

.th-pg-toc-link:hover {
  background: var(--th-canvas);
  color: var(--th-ink) !important;
}

.th-pg-toc-link.is-active {
  background: var(--th-canvas);
  color: var(--th-ink) !important;
  border-color: var(--th-border);
  border-inline-start-color: var(--th-signal);
  font-weight: 800;
}

.th-pg-toc-num {
  color: var(--th-signal);
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  padding-top: 2px;
}

/* Dark Navy Sidebar Concierge Card */
.th-pg-rail-cta {
  background: linear-gradient(145deg, #050F2C 0%, #0D1F4F 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 3px solid var(--th-signal);
  border-radius: var(--th-r-md);
  box-shadow: var(--th-shadow-card);
  padding: 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #FFFFFF;
}

.th-pg-rail-cta-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
}

.th-pg-rail-cta-sub {
  font-size: 0.77rem;
  color: #CBD5E1;
  line-height: 1.55;
}

.th-pg-rail-cta .th-pg-btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
}

.th-pg-rail-cta .th-pg-btn--outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Mobile Collapsible TOC (< 1024px) */
.th-pg-toc-mobile {
  display: block;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-inline-start: 4px solid var(--th-signal);
  border-radius: var(--th-r-md);
  box-shadow: var(--th-shadow-card);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .th-pg-toc-mobile {
    display: none;
  }
}

.th-pg-toc-mobile > summary {
  list-style: none;
  cursor: pointer;
  padding: 13px 15px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--th-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.th-pg-toc-mobile > summary::-webkit-details-marker {
  display: none;
}

.th-pg-toc-mobile > summary::after {
  content: "▾";
  color: var(--th-signal);
  font-weight: 800;
}

.th-pg-toc-mobile[open] > summary::after {
  content: "▴";
}

.th-pg-toc-mobile .th-pg-toc-list {
  padding: 8px 10px 12px;
  border-top: 1px solid var(--th-border);
}

/* Main Cards Stack & Balanced Bento-2 Mode (Shipping) */
.th-pg-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.th-pg-bento-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 860px) {
  .th-pg-bento-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   4. Elevated Architectural Cards, Icon Medallions, Chips & Sub-grids
   ========================================================================== */
.th-pg-card {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-lg);
  box-shadow: var(--th-shadow-card);
  padding: 22px 24px;
  scroll-margin-top: 5.5rem;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.th-pg-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--th-shadow-hover);
  border-color: var(--th-border-strong);
}

@media (max-width: 640px) {
  .th-pg-card {
    padding: 17px 15px;
  }
}

.th-pg-card--positive {
  border-inline-start: 4px solid var(--th-success);
}

.th-pg-card--alert {
  border-inline-start: 4px solid var(--th-signal);
}

/* Vision Dark Accent Split (About Us) */
.th-pg-mv-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 820px) {
  .th-pg-mv-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.th-pg-card--mission {
  border-top: 4px solid var(--th-signal);
}

.th-pg-card--vision {
  background: linear-gradient(145deg, #050F2C 0%, #0D1F4F 100%);
  border-color: rgba(255, 255, 255, 0.12);
  border-top: 4px solid #38BDF8;
  color: #FFFFFF;
}

.th-pg-card--vision:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.th-pg-card--vision .th-pg-card-icon {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7DD3FC;
}

.th-pg-card--vision .th-pg-card-num {
  color: #7DD3FC;
  border-bottom-color: #7DD3FC;
}

.th-pg-card--vision .th-pg-card-title {
  color: #FFFFFF;
}

.th-pg-card--vision .th-pg-card-rule {
  background: rgba(255, 255, 255, 0.16);
}

.th-pg-card--vision .th-pg-card-body {
  color: #CBD5E1;
}

.th-pg-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.th-pg-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-pg-card--positive .th-pg-card-icon {
  background: var(--th-success-soft);
  border-color: rgba(14, 122, 78, 0.26);
  color: var(--th-success);
}

.th-pg-card--alert .th-pg-card-icon {
  background: var(--th-signal-soft);
  border-color: rgba(200, 16, 46, 0.26);
  color: var(--th-signal);
}

.th-pg-card-num {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--th-signal);
  font-variant-numeric: tabular-nums;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--th-signal);
  flex-shrink: 0;
}

.th-pg-card-title {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.35;
}

.th-pg-card-rule {
  flex: 1 1 16px;
  height: 1px;
  background: var(--th-border);
}

.th-pg-card-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--th-text);
  font-size: 0.94rem;
  line-height: 1.84;
}

.th-pg-card-body p {
  margin: 0;
}

.th-pg-card-body ul,
.th-pg-card-body ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-pg-card-body li {
  position: relative;
  padding-inline-start: 20px;
}

.th-pg-card-body li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--th-signal);
}

.th-pg-card--positive .th-pg-card-body li::before {
  background: var(--th-success);
}

.th-pg-card-body li.ql-indent-1 {
  padding-inline-start: 36px;
  color: var(--th-muted);
  font-size: 0.9rem;
}

.th-pg-card-body li.ql-indent-1::before {
  inset-inline-start: 18px;
  width: 6px;
  height: 6px;
  background: var(--th-border-strong);
}

/* Sub-Item Chip Row (replaces nested ql-indent-1 text bullets with scannable pills) */
.th-pg-chip-li {
  padding-inline-start: 0 !important;
  margin-top: 2px;
}

.th-pg-chip-li::before {
  display: none !important;
}

.th-pg-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-inline-start: 18px;
}

.th-pg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--th-ink);
}

.th-pg-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--th-signal);
  flex-shrink: 0;
}

.th-pg-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--th-ink) !important;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-sm);
  padding: 6px 12px;
  margin-inline-end: 6px;
  margin-top: 4px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.th-pg-card-body a:hover {
  border-color: var(--th-ink);
  background: var(--th-surface);
}

body.th-page-active .th-pg-card-body a + a {
  margin-inline-start: 10px;
}

.th-pg-card-body a[href*="wa.me"] {
  background: var(--th-success-soft);
  border-color: rgba(14, 122, 78, 0.35);
  color: var(--th-success) !important;
}

.th-pg-card-body a[href*="wa.me"]:hover {
  background: var(--th-success);
  color: #FFFFFF !important;
}

/* Nested h3 Sub-cards grid (Warranty Sec 05 Accounting Software) */
.th-pg-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 767px) {
  .th-pg-subgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-pg-subcard {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.th-pg-subcard--positive {
  border-inline-start: 3px solid var(--th-success);
}

.th-pg-subcard--alert {
  border-inline-start: 3px solid var(--th-signal);
}

.th-pg-subcard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--th-border);
}

.th-pg-subcard-num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--th-ink);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-pg-subcard--positive .th-pg-subcard-num {
  background: var(--th-success);
}

.th-pg-subcard--alert .th-pg-subcard-num {
  background: var(--th-signal);
}

.th-pg-subcard-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--th-ink);
}

/* B2B Capability Feature Tiles (About Us Sec 01) */
.th-pg-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 767px) {
  .th-pg-cap-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-pg-cap-tile {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 12px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-pg-cap-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  color: var(--th-signal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 3-Column Values Grid with Watermarks (About Us) */
.th-pg-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 767px) {
  .th-pg-values-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-pg-value-card {
  position: relative;
  overflow: hidden;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-top: 3px solid var(--th-ink);
  border-radius: var(--th-r-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-pg-value-num {
  position: absolute;
  top: 8px;
  inset-inline-end: 12px;
  font-size: 1.9rem;
  font-weight: 800;
  color: rgba(5, 15, 44, 0.06);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
}

.th-pg-value-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  color: var(--th-signal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.th-pg-value-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-pg-value-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--th-muted);
  line-height: 1.7;
}

/* Official Entity Identity Box (About Us) */
.th-pg-entity-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-pg-entity-badge-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  background: var(--th-success-soft);
  border: 1px solid rgba(14, 122, 78, 0.25);
  border-radius: var(--th-r-sm);
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--th-success);
}

.th-pg-entity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 640px) {
  .th-pg-entity-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-pg-entity-item {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-inline-start: 3px solid var(--th-ink);
  border-radius: var(--th-r-sm);
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--th-ink);
}

/* Contact Page 3 Flagship Cards & 5-Branch Saudi Grid */
.th-pg-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 860px) {
  .th-pg-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-pg-contact-card {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-top: 4px solid var(--th-ink);
  border-radius: var(--th-r-lg);
  box-shadow: var(--th-shadow-card);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.th-pg-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--th-shadow-hover);
}

.th-pg-contact-card--wa {
  border-top-color: var(--th-success);
}

.th-pg-contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.th-pg-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.th-pg-contact-card--wa .th-pg-contact-icon {
  background: var(--th-success-soft);
  border-color: rgba(14, 122, 78, 0.25);
  color: var(--th-success);
}

.th-pg-contact-kicker {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--th-signal);
}

.th-pg-contact-title {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-pg-contact-val {
  margin: 0;
  font-size: 0.89rem;
  color: var(--th-muted);
  line-height: 1.75;
}

.th-pg-contact-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.th-pg-branches-card {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-lg);
  box-shadow: var(--th-shadow-card);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.th-pg-branches-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 960px) {
  .th-pg-branches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .th-pg-branches-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-pg-branch-item {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.th-pg-branch-pin {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--th-signal-soft);
  color: var(--th-signal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-pg-branch-city {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-pg-branch-dist {
  font-size: 0.75rem;
  color: var(--th-muted);
}

.th-pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--th-r-sm);
  font-family: var(--th-font);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.th-pg-btn:hover {
  transform: translateY(-1px);
}

.th-pg-btn--primary {
  background: var(--th-ink);
  color: #FFFFFF !important;
}

.th-pg-btn--wa {
  background: var(--th-success);
  color: #FFFFFF !important;
}

.th-pg-btn--outline {
  background: var(--th-canvas);
  color: var(--th-ink) !important;
  border-color: var(--th-border-strong);
}

/* ==========================================================================
   5. Cross-Page Policy Directory & Official Trust Footer Strip
   ========================================================================== */
.th-pg-dir-card {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-lg);
  box-shadow: var(--th-shadow-card);
  padding: 20px 22px;
}

.th-pg-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .th-pg-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.th-pg-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: var(--th-r-md);
  color: var(--th-ink) !important;
  font-size: 0.83rem;
  font-weight: 800;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.th-pg-nav-link:hover {
  border-color: var(--th-ink);
  background: var(--th-surface);
  transform: translateY(-1px);
}

.th-pg-nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-pg-nav-link.is-current {
  background: var(--th-ink);
  border-color: var(--th-ink);
  color: #FFFFFF !important;
}

.th-pg-nav-link.is-current .th-pg-nav-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.th-pg-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.th-pg-nav-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.78;
}

.th-pg-trust {
  background: linear-gradient(135deg, #050F2C 0%, #0B1B45 100%);
  color: #FFFFFF;
  border-top: 4px solid var(--th-signal);
  border-radius: var(--th-r-lg);
  box-shadow: var(--th-shadow-card);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.th-pg-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.83rem;
  color: #E2E8F5;
}

.th-pg-trust-row a {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  font-weight: 800;
}

.th-pg-trust-branches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.79rem;
  color: #CBD5E1;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.th-pg-city-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Print Stylesheet */
@media print {
  #th-page-progress,
  .th-pg-rail,
  .th-pg-toc-mobile,
  .th-pg-hero-actions,
  .th-pg-dir-card {
    display: none !important;
  }

  .th-pg-hero {
    background: #FFFFFF !important;
    color: #050F2C !important;
    border: 1px solid #94A3B8 !important;
    box-shadow: none !important;
  }

  .th-pg-title,
  .th-pg-lead,
  .th-pg-hi-val,
  .th-pg-hi-lbl {
    color: #050F2C !important;
  }

  .th-pg-card {
    box-shadow: none !important;
    break-inside: avoid;
  }
}
/* === TECHHUB HOME DS === */
/* ==========================================================================
   TechHub SA (techhub-sa.com) — Flagship Homepage Design System
   Aesthetic: Deep Architectural Navy Hero + 3-Tier Slate/White Showcase
   Scoped strictly under body.th-home-active / .th-hm-*
   ========================================================================== */

body.th-home-active {
  --th-ink: #050F2C;
  --th-ink-2: #0B1B45;
  --th-ink-3: #162B61;
  --th-signal: #C8102E;
  --th-signal-soft: rgba(200, 16, 46, 0.10);
  --th-surface: #FFFFFF;
  --th-canvas: #F8FAFC;
  --th-ground: #F1F5F9;
  --th-border: #DDE5F0;
  --th-border-strong: #B8C7DE;
  --th-text: #1A2233;
  --th-muted: #52607A;
  --th-success: #0E7A4E;
  --th-success-soft: rgba(14, 122, 78, 0.10);
  --th-font: 'Amazon-Ember', -apple-system, BlinkMacSystemFont, sans-serif;
  --th-shadow-card: 0 1px 2px rgba(5, 15, 44, 0.04), 0 12px 30px -14px rgba(5, 15, 44, 0.09);
  --th-shadow-hover: 0 10px 26px -10px rgba(5, 15, 44, 0.16), 0 2px 6px rgba(5, 15, 44, 0.05);
  overflow-x: clip;
}

body.th-home-active #main-content,
body.th-home-active .app-inner {
  background: var(--th-ground) !important;
  overflow-x: clip !important;
}

body.th-home-active main#main-content,
body.th-home-active #main-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding-bottom: 18px !important;
}

/* React-Safe Placement Without Reordering Salla DOM Children */
body.th-home-active #th-home-top-host {
  order: -10;
}

body.th-home-active #th-home-bottom-host {
  order: 10;
}

/* Fallback Guard Against Any Residual Banner/Quick-Links Strip */
body.th-home-active .s-block--fixed-banner,
body.th-home-active .s-block--main-links,
body.th-home-active .s-block--store-features,
body.th-home-active .s-block--bundle-store-info {
  display: none !important;
}

@keyframes thHmFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.th-home-active .th-hm-host {
  display: block;
  width: 100%;
  max-width: 100%;
  direction: rtl;
  text-align: right;
  font-family: var(--th-font);
  color: var(--th-text);
  line-height: 1.65;
  overflow-x: clip;
  animation: thHmFade 0.28s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  body.th-home-active .th-hm-host,
  body.th-home-active .th-hm-hcard,
  body.th-home-active .th-hm-bcard,
  body.th-home-active .th-hm-fcard,
  body.th-home-active .th-hm-dot {
    animation: none !important;
    transition: none !important;
  }
}

body.th-home-active .th-hm-host *,
body.th-home-active .th-hm-host *::before,
body.th-home-active .th-hm-host *::after {
  box-sizing: border-box;
}

body.th-home-active .th-hm-host a {
  text-decoration: none;
}

body.th-home-active .th-hm-host svg {
  display: block;
  flex-shrink: 0;
}

.th-hm-wrap {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px;
}

@media (max-width: 767px) {
  .th-hm-wrap {
    padding: 0 10px;
  }
}

.th-hm-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 0 12px;
}

@media (max-width: 767px) {
  .th-hm-stack {
    gap: 18px;
    padding: 14px 0 8px;
  }
}

/* Shared Section Headings */
.th-hm-sechead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.th-hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--th-signal);
  margin-bottom: 4px;
}

.th-hm-sechead h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.28;
}

.th-hm-secsub {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--th-muted);
}

.th-hm-linkpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  color: var(--th-ink) !important;
  font-size: 0.82rem;
  font-weight: 800;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.th-hm-linkpill:hover {
  border-color: var(--th-ink);
  transform: translateY(-1px);
}

/* ==========================================================================
   1. Flagship Asymmetric 12-Col Dark Navy Hero
   ========================================================================== */
.th-hm-hero {
  position: relative;
  background-color: var(--th-ink);
  background-image:
    radial-gradient(circle at 18% 28%, rgba(200, 16, 46, 0.24) 0%, transparent 52%),
    radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.14) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #040C24 0%, #0A183E 58%, #112456 100%);
  background-size: auto, auto, 32px 32px, 32px 32px, auto;
  color: #FFFFFF;
  padding: 24px 0 46px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.th-hm-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.14);
}

.th-hm-hero::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 140px;
  height: 4px;
  background: var(--th-signal);
}

@media (min-width: 1024px) {
  .th-hm-hero {
    padding: 36px 0 56px;
  }
}

.th-hm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

@media (min-width: 1024px) {
  .th-hm-hero-grid {
    grid-template-columns: minmax(0, 6.7fr) minmax(0, 5.3fr);
    gap: 32px;
  }
}

.th-hm-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.th-hm-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #F1F5F9;
  backdrop-filter: blur(8px);
}

@keyframes thHmPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 77, 106, 0.38); }
  50% { box-shadow: 0 0 0 6px rgba(255, 77, 106, 0.08); }
}

.th-hm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF4D6A;
  animation: thHmPulse 2.2s ease-in-out infinite;
}

.th-hm-hero-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.24;
  color: #FFFFFF;
  letter-spacing: -0.015em;
}

.th-hm-hero-accent {
  color: #FF758F;
}

.th-hm-hero-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.82;
  color: #D8E1F0;
  max-width: 60ch;
}

.th-hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.th-hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 9px;
  font-family: var(--th-font);
  font-size: 0.87rem;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.th-hm-btn:hover {
  transform: translateY(-1px);
}

.th-hm-btn--light {
  background: #FFFFFF;
  color: var(--th-ink) !important;
}

.th-hm-btn--light:hover {
  background: #F1F5F9;
}

.th-hm-btn--signal {
  background: var(--th-signal);
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px -8px rgba(200, 16, 46, 0.7);
}

.th-hm-btn--signal:hover {
  background: #A90D26;
}

.th-hm-btn--wa {
  background: rgba(14, 122, 78, 0.24);
  border-color: rgba(52, 211, 153, 0.42);
  color: #ECFDF5 !important;
}

.th-hm-btn--wa:hover {
  background: var(--th-success);
  border-color: var(--th-success);
}

.th-hm-btn--dark {
  background: var(--th-ink);
  color: #FFFFFF !important;
}

.th-hm-btn--outline {
  background: var(--th-surface);
  border-color: var(--th-border-strong);
  color: var(--th-ink) !important;
}

.th-hm-hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.th-hm-hkpi {
  display: flex;
  flex-direction: column;
}

.th-hm-hkpi strong {
  font-size: 1.08rem;
  font-weight: 800;
  color: #FFFFFF;
}

.th-hm-hkpi span {
  font-size: 0.75rem;
  color: #CBD5E1;
}

/* Hero Diverse 4-Sector Showcase Bento Panel */
.th-hm-hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 15px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.th-hm-ptabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.th-hm-ptab {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F5;
  font-family: var(--th-font);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.th-hm-ptab.is-active {
  background: #FFFFFF;
  color: var(--th-ink);
  border-color: #FFFFFF;
  font-weight: 800;
}

.th-hm-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.th-hm-hcard {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--th-ink) !important;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.th-hm-hcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.4);
}

.th-hm-hcard-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  max-height: 118px;
  background: #F8FAFC;
  border: 1px solid #EEF2F7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}

.th-hm-hcard-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.th-hm-hcard-tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--th-signal);
  background: var(--th-signal-soft);
  padding: 2px 7px;
  border-radius: 999px;
}

.th-hm-hcard-name {
  margin: 0;
  font-size: 0.79rem;
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.25em;
}

.th-hm-hcard-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid #EEF2F7;
}

.th-hm-hcard-price {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-hm-hcard-go {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--th-signal);
}

@media (max-width: 1023px) and (min-width: 680px) {
  .th-hm-hero-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
  }

  .th-hm-hcard {
    padding: 9px;
    gap: 6px;
  }

  .th-hm-hcard-img {
    aspect-ratio: auto;
    height: 92px;
    max-height: 92px;
    padding: 5px;
  }
}

@media (max-width: 679px) {
  .th-hm-hero-panel {
    padding: 10px;
    gap: 9px;
    border-radius: 13px;
  }

  .th-hm-ptab {
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  .th-hm-hero-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .th-hm-hcard {
    padding: 8px;
    gap: 5px;
    border-radius: 10px;
  }

  .th-hm-hcard-img {
    aspect-ratio: auto;
    height: 76px;
    max-height: 76px;
    padding: 5px;
    border-radius: 7px;
  }

  .th-hm-hcard-tag {
    font-size: 0.63rem;
    padding: 2px 6px;
  }

  .th-hm-hcard-name {
    font-size: 0.73rem;
    line-height: 1.35;
    min-height: 2.1em;
  }

  .th-hm-hcard-price {
    font-size: 0.78rem;
  }

  .th-hm-hcard-go {
    font-size: 0.67rem;
  }
}

/* Integrated 4-Tile Trust Bar Below Hero */
.th-hm-trust-wrap {
  position: relative;
  z-index: 6;
  margin-top: -26px;
}

.th-hm-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 960px) {
  .th-hm-trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .th-hm-trust-bar {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-hm-titem {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  box-shadow: var(--th-shadow-card);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.th-hm-ticon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-signal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-hm-tval {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.3;
}

.th-hm-tlbl {
  font-size: 0.73rem;
  color: var(--th-muted);
}

/* ==========================================================================
   2. Asymmetric Bento Categories Portal
   ========================================================================== */
.th-hm-bento-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 860px) {
  .th-hm-bento-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.th-hm-bfcard {
  position: relative;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-top: 4px solid var(--th-ink);
  border-radius: 16px;
  box-shadow: var(--th-shadow-card);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.th-hm-bfcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--th-shadow-hover);
  border-color: var(--th-border-strong);
}

.th-hm-bfcard.is-signal {
  border-top-color: var(--th-signal);
}

.th-hm-bfinfo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.th-hm-bfpill {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.th-hm-bftitle {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-hm-bfmeta {
  font-size: 0.81rem;
  color: var(--th-muted);
}

.th-hm-bfchips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.th-hm-subchip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink) !important;
  font-size: 0.74rem;
  font-weight: 700;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.th-hm-subchip:hover {
  background: var(--th-ink);
  border-color: var(--th-ink);
  color: #FFFFFF !important;
}

.th-hm-bfstage {
  width: 126px;
  height: 126px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--th-border);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 520px) {
  .th-hm-bfcard {
    padding: 16px 14px;
  }

  .th-hm-bfstage {
    width: 86px;
    height: 86px;
  }
}

.th-hm-bfstage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.th-hm-bfcard:hover .th-hm-bfstage img {
  transform: scale(1.04);
}

.th-hm-bento-sub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 960px) {
  .th-hm-bento-sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .th-hm-bento-sub {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-hm-bcard {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 14px;
  box-shadow: var(--th-shadow-card);
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--th-ink) !important;
  min-width: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.th-hm-bcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--th-shadow-hover);
  border-color: var(--th-ink);
}

.th-hm-bthumb {
  width: 74px;
  height: 74px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 1px solid var(--th-border);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.th-hm-bthumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.th-hm-bname {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.35;
}

.th-hm-bmeta {
  font-size: 0.76rem;
  color: var(--th-muted);
  margin-top: 3px;
}

.th-hm-barrow {
  margin-inline-start: auto;
  color: var(--th-signal);
  font-weight: 800;
  font-size: 0.9rem;
}

/* ==========================================================================
   3. Interactive 5-Sector Smart Solution Finder
   ========================================================================== */
.th-hm-finder {
  position: relative;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 16px;
  box-shadow: var(--th-shadow-card);
  padding: 24px;
  overflow: hidden;
}

.th-hm-finder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--th-ink);
}

.th-hm-finder::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 96px;
  height: 4px;
  background: var(--th-signal);
}

@media (max-width: 640px) {
  .th-hm-finder {
    padding: 18px 14px;
  }
}

.th-hm-ftabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.th-hm-ftab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  font-family: var(--th-font);
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.th-hm-ftab.is-active {
  background: var(--th-ink);
  border-color: var(--th-ink);
  color: #FFFFFF;
}

.th-hm-fgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1023px) {
  .th-hm-fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .th-hm-fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .th-hm-fcard {
    padding: 9px;
    gap: 6px;
  }

  .th-hm-fimg {
    aspect-ratio: auto;
    height: 92px;
    padding: 6px;
  }

  .th-hm-fname {
    font-size: 0.76rem;
    min-height: 2.2em;
  }

  .th-hm-fprice {
    font-size: 0.82rem;
  }
}

.th-hm-fcard {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: 13px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--th-ink) !important;
  min-width: 0;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.th-hm-fcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--th-shadow-hover);
  border-color: var(--th-ink);
  background: #FFFFFF;
}

.th-hm-frole {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  color: var(--th-signal);
  font-size: 0.7rem;
  font-weight: 800;
}

.th-hm-fimg {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border: 1px solid #EEF2F7;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.th-hm-fimg img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.th-hm-fname {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--th-ink);
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.th-hm-ffoot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--th-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.th-hm-fprice {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--th-ink);
}

.th-hm-fcta {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--th-signal);
}

.th-hm-fbar {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.th-hm-fpitch {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--th-ink);
}

.th-hm-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Native Showcase Bridge Heading */
.th-hm-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 0;
}

/* ==========================================================================
   4. Curated Native Salla Product Showcases (Zero Edge Cropping + Polish)
   ========================================================================== */
body.th-home-active #main-content > .s-block:not(.s-block--fixed-banner):not(.s-block--main-links):not(.s-block--store-features):not(.s-block--bundle-store-info) {
  width: calc(100% - 36px) !important;
  max-width: 1224px !important;
  margin: 10px auto !important;
  padding: 22px 22px 18px !important;
  background: var(--th-surface) !important;
  border: 1px solid var(--th-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--th-shadow-card) !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  body.th-home-active #main-content > .s-block:not(.s-block--fixed-banner):not(.s-block--main-links):not(.s-block--store-features):not(.s-block--bundle-store-info) {
    width: calc(100% - 20px) !important;
    margin: 8px auto !important;
    padding: 16px 14px !important;
  }
}

body.th-home-active .s-block .container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.th-home-active .s-block .s-slider-block__title,
body.th-home-active .s-block .s-block__title,
body.th-home-active .s-block h2 {
  font-family: var(--th-font) !important;
  color: var(--th-ink) !important;
  font-weight: 800 !important;
}

body.th-home-active .s-block .s-product-card-entry {
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  overflow: hidden !important;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease !important;
}

body.th-home-active .s-block .s-product-card-entry:hover {
  transform: translateY(-2px);
  border-color: var(--th-border-strong) !important;
  box-shadow: 0 8px 20px -10px rgba(5, 15, 44, 0.14) !important;
}

/* Fix 3:4 Native Portrait Distortion to Clean 1:1 Hardware Display */
body.th-home-active .s-block .s-product-card-image {
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  background: #FFFFFF !important;
  border-bottom: 1px solid #EEF2F7 !important;
  padding: 10px !important;
}

body.th-home-active .s-block .s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #FFFFFF !important;
}

body.th-home-active .s-block--slider-products-with-header {
  min-height: 0 !important;
}

/* ==========================================================================
   5. Authorized Brands, Dark Navy B2B 5-Branch Hub, Reviews & Trust Bar
   ========================================================================== */
.th-hm-brands {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 820px) {
  .th-hm-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.th-hm-brand {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  box-shadow: var(--th-shadow-card);
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--th-ink) !important;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.th-hm-brand:hover {
  transform: translateY(-2px);
  border-color: var(--th-ink);
}

.th-hm-btitle {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--th-ink);
  direction: ltr;
  text-align: right;
}

.th-hm-bsub {
  font-size: 0.74rem;
  color: var(--th-muted);
}

/* Dark Navy B2B Projects & 5-Branch Hub */
.th-hm-b2b {
  background: linear-gradient(135deg, #050F2C 0%, #0D1F4F 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--th-signal);
  border-radius: 18px;
  box-shadow: 0 20px 44px -20px rgba(5, 15, 44, 0.55);
  padding: 28px 26px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 640px) {
  .th-hm-b2b {
    padding: 20px 15px;
  }
}

.th-hm-b2b-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.th-hm-b2b-top h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: #FFFFFF;
}

.th-hm-b2b-top p {
  margin: 0;
  font-size: 0.92rem;
  color: #CBD5E1;
  max-width: 64ch;
}

.th-hm-b2b-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 820px) {
  .th-hm-b2b-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-hm-bstep {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.th-hm-bstep span {
  font-size: 0.74rem;
  font-weight: 800;
  color: #FF8FA3;
}

.th-hm-bstep strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
}

.th-hm-bstep p {
  margin: 0;
  font-size: 0.81rem;
  color: #CBD5E1;
  line-height: 1.65;
}

.th-hm-branches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 960px) {
  .th-hm-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .th-hm-branches {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-hm-branch {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.th-hm-branch strong {
  font-size: 0.85rem;
  color: #FFFFFF;
}

.th-hm-branch span {
  font-size: 0.74rem;
  color: #CBD5E1;
}

/* Proof & Reviews Split */
.th-hm-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 960px) {
  .th-hm-proof {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.th-hm-box {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 16px;
  box-shadow: var(--th-shadow-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-hm-whygrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 520px) {
  .th-hm-whygrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.th-hm-why {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.th-hm-why strong {
  font-size: 0.86rem;
  color: var(--th-ink);
}

.th-hm-why span {
  font-size: 0.77rem;
  color: var(--th-muted);
  line-height: 1.55;
}

.th-hm-rev {
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  border-inline-start: 3px solid var(--th-ink);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.th-hm-rev p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--th-text);
  line-height: 1.65;
}

.th-hm-rev span {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--th-muted);
}

/* Official Corporate Trust & Payment Bar */
.th-hm-cred {
  background: var(--th-surface);
  border: 1px solid var(--th-border);
  border-radius: 16px;
  box-shadow: var(--th-shadow-card);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.th-hm-cred-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  font-size: 0.82rem;
  color: var(--th-muted);
}

.th-hm-cred-row strong,
.th-hm-cred-row a {
  color: var(--th-ink) !important;
  font-weight: 800;
}

.th-hm-paypills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--th-border);
}

.th-hm-pay {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--th-canvas);
  border: 1px solid var(--th-border);
  color: var(--th-ink);
  font-size: 0.75rem;
  font-weight: 800;
}