/* ==========================================================================
   CCM Ecom Global — Commercial Website Theme Storefront (ccmecomglobal.com)
   ========================================================================== */

:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-dark: #0f172a;
  --bg-darker: #090d16;
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #dbeafe;
  --emerald: #059669;
  --emerald-soft: #d1fae5;
  --danger: #dc2626;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px -8px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 5px;
  color: #0f172a;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow-container {
  max-width: 820px;
}

.prose-container {
  max-width: 920px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Utility Bar */
.UtilityBar {
  background: var(--bg-darker);
  color: #cbd5e1;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-left code {
  background: rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.utility-pill {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.05em;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-right a {
  color: #e2e8f0;
  font-weight: 500;
}

.utility-right a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.utility-right .sep {
  opacity: 0.3;
}

/* Site Header */
.SiteHeader {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.brand-logo:hover {
  color: var(--text-main);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  background: #f1f5f9;
}

.nav-count {
  font-size: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

.btn-header-demo:hover {
  background: #e2e8f0;
}

.btn-cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark);
  color: #ffffff;
  border: none;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

.btn-cart-toggle:hover {
  background: #1e293b;
}

.cart-count-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.btn-dark-outline {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

.btn-dark-outline:hover {
  background: #1e293b;
  color: #ffffff;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.HeroSection {
  padding: 56px 0 48px;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08), transparent 45%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 18px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  font-weight: 850;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 26px;
  max-width: 600px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.metric-item strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.metric-item span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.hero-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}

.hero-floating-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px 4px;
}

.hero-floating-bar strong {
  display: block;
  font-size: 14.5px;
}

.hero-floating-bar span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Browser Theme Mockup Component */
.theme-mockup {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  user-select: none;
}

.tm-browser-bar {
  background: #0f172a;
  color: #cbd5e1;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}

.tm-dots {
  display: flex;
  gap: 5px;
}

.tm-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
}

.tm-dots span:nth-child(1) { background: #ef4444; }
.tm-dots span:nth-child(2) { background: #f59e0b; }
.tm-dots span:nth-child(3) { background: #10b981; }

.tm-url {
  background: rgba(255, 255, 255, 0.09);
  padding: 2px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm-lh-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 10px;
  white-space: nowrap;
}

.tm-canvas {
  padding: 14px;
  background: linear-gradient(160deg, #ffffff 0%, var(--thm-soft, #f1f5f9) 100%);
}

.theme-mockup-lg .tm-canvas {
  padding: 20px;
}

.tm-mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 10.5px;
  font-weight: 700;
}

.tm-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--thm-accent);
  display: inline-block;
  margin-right: 4px;
}

.tm-mini-links {
  display: flex;
  gap: 10px;
  color: #475569;
  font-weight: 500;
}

.tm-mini-cart {
  background: var(--thm-dark);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9.5px;
}

.tm-body-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  align-items: center;
}

.tm-kicker {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--thm-accent);
  letter-spacing: 0.04em;
}

.tm-headline {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 3px 0 4px;
  line-height: 1.2;
}

.theme-mockup-lg .tm-headline {
  font-size: 19px;
}

.tm-subline {
  font-size: 10px;
  color: #475569;
  margin-bottom: 8px;
}

.tm-swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.tm-swatches i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.tm-size-pill {
  font-size: 9px;
  padding: 1px 5px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  background: #fff;
  font-weight: 700;
}

.tm-size-pill.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.tm-cta-row {
  display: flex;
  gap: 6px;
}

.tm-btn-primary {
  background: var(--thm-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 4px;
}

.tm-btn-ghost {
  background: #fff;
  color: #0f172a;
  border: 1px solid #0f172a;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 4px;
}

.tm-cards-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tm-mini-card {
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.tm-card-img {
  height: 62px;
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.theme-mockup-lg .tm-card-img {
  height: 82px;
}

.tm-sale-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #dc2626;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
}

.tm-card-shape {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--thm-accent);
  opacity: 0.75;
}

.tm-card-shape.circle {
  border-radius: 50%;
}

.tm-line-title {
  height: 6px;
  width: 85%;
  background: #cbd5e1;
  border-radius: 3px;
  margin-bottom: 4px;
}

.tm-line-title.short {
  width: 65%;
}

.tm-line-price {
  font-size: 9.5px;
  font-weight: 700;
  color: #0f172a;
}

.tm-line-price s {
  color: #94a3b8;
  font-weight: 400;
}

/* Platform Bar */
.PlatformBar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.platform-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.plat-chip {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 13px;
}

.plat-chip:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

/* Catalog Section & Theme Cards */
.CatalogSection {
  padding: 56px 0;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-header-row h2 {
  font-size: 30px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.section-header-row p {
  margin: 0;
  color: var(--text-secondary);
}

.catalog-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box input,
.sort-select {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
}

.search-box input {
  min-width: 280px;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cat-tab {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-tab:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
}

.cat-tab.active {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.theme-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.theme-card-media {
  position: relative;
  padding: 12px 12px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.theme-card-link {
  display: block;
}

.theme-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.theme-card-quick-actions {
  display: flex;
  gap: 8px;
  padding: 10px 0;
}

.btn-preview-trigger,
.btn-specs-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-preview-trigger {
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.btn-preview-trigger:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-specs-link {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-specs-link:hover {
  background: #f1f5f9;
  color: var(--text-main);
}

.theme-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.theme-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.theme-cat-pill {
  font-size: 11.5px;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  padding: 3px 9px;
  border-radius: 6px;
}

.theme-rating {
  font-size: 13px;
  font-weight: 700;
  color: #d97706;
}

.theme-rating em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

.theme-title {
  font-size: 19px;
  margin: 0 0 6px;
  line-height: 1.25;
}

.theme-title a {
  color: var(--text-main);
}

.theme-title a:hover {
  color: var(--primary);
}

.theme-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 12px;
  flex: 1;
}

.theme-perf-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  background: #ecfdf5;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.theme-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.theme-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 22px;
  font-weight: 850;
  color: var(--text-main);
}

.price-compare {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-license-note {
  display: block;
  width: 100%;
  font-size: 11px;
  color: var(--text-muted);
}

.btn-add-cart {
  background: var(--bg-dark);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-add-cart:hover {
  background: var(--primary);
}

/* Architecture Section */
.ArchitectureSection {
  padding: 64px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-center-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-center-head h2 {
  font-size: 32px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section-center-head p {
  margin: 0;
  color: var(--text-secondary);
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.arch-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.arch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.arch-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.arch-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Studio All-Access Bundle Banner */
.BundleBannerSection {
  padding: 64px 0;
}

.bundle-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.bundle-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.bundle-copy h2 {
  font-size: 34px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.bundle-copy p {
  color: #cbd5e1;
  font-size: 16px;
  margin: 0 0 18px;
}

.bundle-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.bundle-perks li {
  margin-bottom: 8px;
  color: #e2e8f0;
  font-weight: 500;
}

.bundle-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bundle-price-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.bp-header {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.bp-amount {
  font-size: 46px;
  font-weight: 900;
  margin: 6px 0;
  line-height: 1;
}

.bp-currency {
  font-size: 24px;
  vertical-align: super;
}

.bp-term {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.bp-save {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.bundle-price-card hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 14px 0;
}

.bp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
  font-size: 13.5px;
}

.bp-list li {
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-light);
}

/* Reviews & FAQ */
.ReviewsSection {
  padding: 56px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.review-stars {
  color: #f59e0b;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-stars span {
  font-size: 11.5px;
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 99px;
}

.review-card h4 {
  margin: 0 0 10px;
  font-size: 16.5px;
}

.review-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 16px;
}

.review-author {
  font-size: 13px;
  color: var(--text-muted);
}

.FaqSection {
  padding: 56px 0;
}

.faq-container {
  max-width: 860px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 14.5px;
}

/* PDP Layout */
.BreadcrumbBar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.BreadcrumbBar span {
  margin: 0 6px;
}

.PdpSection {
  padding: 36px 0 56px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.pdp-main-preview {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.pdp-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 28px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.pdp-perf-chip {
  font-size: 13px;
  font-weight: 700;
  color: #059669;
}

.pdp-spec-tabs {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.pdp-spec-tabs h3 {
  margin-top: 0;
  font-size: 20px;
}

.pdp-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.pdp-highlights-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 500;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-light);
}

.spec-table th {
  width: 34%;
  color: var(--text-secondary);
  background: #f8fafc;
  font-weight: 700;
}

.pdp-buy-col {
  position: sticky;
  top: 94px;
}

.pdp-buy-box {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.pdp-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.pdp-rating {
  font-size: 12.5px;
  font-weight: 700;
  color: #d97706;
}

.pdp-title {
  font-size: 26px;
  margin: 0 0 6px;
  line-height: 1.2;
}

.pdp-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 16px;
}

.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.pdp-price-current {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
}

.pdp-price-compare {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp-save-pill {
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
}

.pdp-license-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.license-option {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  display: block;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.license-option input {
  display: none;
}

.license-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}

.lic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.lic-price {
  font-weight: 800;
  font-size: 16px;
}

.license-option p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.pdp-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pdp-trust-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.trust-title {
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pdp-guarantees {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.pdp-guarantees li {
  margin-bottom: 4px;
}

.RelatedSection {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
}

/* Page Hero, Pricing, Checkout, Content Pages */
.PageHero {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
  text-align: center;
}

.PageHero.compact {
  padding: 32px 0;
}

.PageHero h1 {
  font-size: 34px;
  margin: 4px 0 10px;
  letter-spacing: -0.02em;
}

.PageHero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-secondary);
}

.PricingSection,
.CheckoutSection,
.LookupSection,
.ContentSection {
  padding: 48px 0 64px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
}

.pc-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.pricing-card h3 {
  font-size: 24px;
  margin: 6px 0 10px;
}

.pc-price span {
  font-size: 36px;
  font-weight: 900;
}

.pc-price small {
  color: var(--text-muted);
  font-size: 14px;
}

.pc-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  flex: 1;
}

.pc-features li {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}

/* Checkout & Forms */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.card-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card-panel h3 {
  margin-top: 0;
  font-size: 20px;
}

.form-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: -6px;
  margin-bottom: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
}

.form-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 22px 0;
}

.payment-method-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.pm-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.pm-option.selected {
  border-color: var(--primary);
  background: #eff6ff;
}

.pm-option strong {
  display: block;
  font-size: 14px;
}

.pm-option span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 13.5px;
}

.co-items-list {
  margin-bottom: 16px;
}

.co-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.co-item-title {
  font-weight: 700;
  font-size: 14.5px;
}

.co-item-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.co-item-remove {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.co-quick-add {
  background: #f8fafc;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.co-quick-add label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.co-quick-row {
  display: flex;
  gap: 8px;
}

.co-quick-row select {
  flex: 1;
  padding: 7px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
}

.co-promo-box {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.co-promo-box input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  font-size: 13.5px;
}

.promo-msg {
  font-size: 12.5px;
  margin-bottom: 12px;
  font-weight: 600;
}

.text-green {
  color: #059669;
}

.co-totals {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.co-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
}

.co-row.total {
  font-size: 18px;
  border-top: 1px solid var(--border-strong);
  margin-top: 6px;
  padding-top: 12px;
}

.co-guarantee-box {
  margin-top: 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
}

.co-guarantee-box p {
  margin: 4px 0 0;
}

.receipt-panel {
  border: 2px solid #059669;
}

.lookup-result-box {
  margin-top: 20px;
}

.prose-card h2 {
  font-size: 22px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.prose-card h2:first-child {
  margin-top: 0;
}

/* Footer */
.SiteFooter {
  background: var(--bg-darker);
  color: #cbd5e1;
  padding-top: 48px;
}

.footer-newsletter {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-inner h3 {
  color: #ffffff;
  margin: 0 0 6px;
  font-size: 20px;
}

.newsletter-inner p {
  margin: 0;
  font-size: 14px;
  color: #94a3b8;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  min-width: 290px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
  background: #0f172a;
  color: #ffffff;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding: 44px 24px;
}

.footer-brand-head strong {
  color: #ffffff;
  font-size: 19px;
}

.footer-about-text {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 10px 0 16px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.footer-contact-list li {
  margin-bottom: 8px;
}

.footer-contact-list a {
  color: #93c5fd;
}

.footer-contact-list.dark-text {
  color: var(--text-main);
}

.footer-contact-list.dark-text a {
  color: var(--primary);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 9px;
  font-size: 13.5px;
}

.footer-col ul a {
  color: #cbd5e1;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.payment-badges-box {
  margin-top: 18px;
}

.payment-label {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-pills span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.pdp-trust-box .payment-pills span {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  color: #94a3b8;
}

/* Slide-out Cart Drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 120;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  z-index: 130;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 36px rgba(15, 23, 42, 0.2);
}

.cart-drawer-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  margin: 0;
  font-size: 18px;
}

.cart-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-icon-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.cart-drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border-light);
  background: #f8fafc;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  margin-bottom: 6px;
}

.cart-tax-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

/* Interactive Live Demo Modal */
.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.82);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.demo-modal {
  width: 100%;
  max-width: 1360px;
  height: 90vh;
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #334155;
}

.demo-modal-toolbar {
  background: #090d16;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid #1e293b;
}

.demo-toolbar-left,
.demo-toolbar-right,
.demo-viewport-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
}

.demo-select {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  padding: 7px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
}

.demo-compat-tag {
  font-size: 12px;
  color: #94a3b8;
}

.vp-btn {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.vp-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.demo-stage-wrap {
  flex: 1;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 20px;
  background: #0f172a;
}

.demo-viewport-frame {
  background: #ffffff;
  border-radius: 10px;
  overflow-y: auto;
  transition: width 0.25s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.demo-viewport-frame.vp-desktop { width: 100%; max-width: 1240px; }
.demo-viewport-frame.vp-tablet { width: 768px; }
.demo-viewport-frame.vp-mobile { width: 390px; }

[hidden] {
  display: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid,
  .pdp-grid,
  .checkout-grid,
  .bundle-banner-card {
    grid-template-columns: 1fr;
  }
  .theme-grid,
  .pricing-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .theme-grid,
  .pricing-grid,
  .reviews-grid,
  .arch-grid,
  .footer-grid,
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .search-box input {
    min-width: 100%;
  }
}

@media print {
  .UtilityBar,
  .SiteHeader,
  .SiteFooter,
  .PageHero,
  .checkout-summary-col,
  #checkout-form {
    display: none !important;
  }
  body {
    background: #ffffff;
  }
  .card-panel {
    border: none;
    box-shadow: none;
  }
}
