/* ==========================================================================
   ProAUTOIMPORT L.L.C. — Global Design System (Light Mode & Dark Mode)
   Inspired by Shopify / Linear / Van Stuivenberg Automotive Monochrome +
   Electric Royal Blue (#2563EB / #0066FF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root,
html[data-theme="light"] {
  --pai-bg: #F8FAFC;
  --pai-bg-elevated: #FFFFFF;
  --pai-bg-subtle: #F1F5F9;
  --pai-bg-muted: #E2E8F0;
  --pai-surface-glass: rgba(255, 255, 255, 0.88);
  --pai-text: #0F172A;
  --pai-text-secondary: #334155;
  --pai-text-muted: #64748B;
  --pai-text-faint: #94A3B8;
  --pai-border: #E2E8F0;
  --pai-border-strong: #CBD5E1;
  --pai-accent: #2563EB;
  --pai-accent-bright: #0066FF;
  --pai-accent-hover: #1D4ED8;
  --pai-accent-soft: #EFF6FF;
  --pai-accent-border: #BFDBFE;
  --pai-emerald: #10B981;
  --pai-emerald-dark: #059669;
  --pai-emerald-soft: #ECFDF5;
  --pai-danger: #EF4444;
  --pai-danger-soft: #FEF2F2;
  --pai-warning: #1D4ED8;
  --pai-warning-soft: #EFF6FF;
  --pai-violet: #7C3AED;
  --pai-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --pai-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --pai-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --pai-shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.10);
  --pai-radius-sm: 6px;
  --pai-radius-md: 10px;
  --pai-radius-lg: 14px;
  --pai-radius-xl: 18px;

  /* Blueprint tokens (Light Mode) */
  --pai-bp-panel-fill: #F8FAFC;
  --pai-bp-panel-stroke: #94A3B8;
  --pai-bp-panel-hover: #EFF6FF;
  --pai-bp-canvas-bg: #FFFFFF;
  --pai-bp-grid-stroke: #F1F5F9;
  --pai-bp-axis-stroke: #CBD5E1;
  --pai-bp-silhouette-fill: #F1F5F9;
  --pai-bp-silhouette-stroke: #CBD5E1;
  --pai-bp-glass-fill: #E2E8F0;
  --pai-bp-glass-stroke: #94A3B8;
  --pai-bp-code-color: #64748B;
}

html[data-theme="dark"],
html.pai-dark,
body.pai-dark {
  --pai-bg: #0B0C0F;
  --pai-bg-elevated: #14161B;
  --pai-bg-subtle: #1C1F26;
  --pai-bg-muted: #262A33;
  --pai-surface-glass: rgba(11, 12, 15, 0.92);
  --pai-text: #FFFFFF;
  --pai-text-secondary: #D4D7DE;
  --pai-text-muted: #9AA0AE;
  --pai-text-faint: #6B7280;
  --pai-border: #232730;
  --pai-border-subtle: #1D2028;
  --pai-border-strong: #323744;
  --pai-accent: #2563EB;
  --pai-accent-bright: #3B82F6;
  --pai-accent-hover: #60A5FA;
  --pai-accent-soft: rgba(37, 99, 235, 0.16);
  --pai-accent-border: rgba(59, 130, 246, 0.42);
  --pai-emerald: #10B981;
  --pai-emerald-dark: #34D399;
  --pai-emerald-soft: rgba(16, 185, 129, 0.14);
  --pai-danger: #EF4444;
  --pai-danger-soft: rgba(239, 68, 68, 0.15);
  --pai-warning: #3B82F6;
  --pai-warning-soft: rgba(37, 99, 235, 0.16);
  --pai-violet: #8B5CF6;
  --pai-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.48);
  --pai-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.52);
  --pai-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.62);
  --pai-shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.72);

  /* Blueprint tokens (Obsidian Dark Mode) */
  --pai-bp-panel-fill: #1C1F26;
  --pai-bp-panel-stroke: #3F4554;
  --pai-bp-panel-hover: rgba(37, 99, 235, 0.24);
  --pai-bp-canvas-bg: #101217;
  --pai-bp-grid-stroke: rgba(63, 69, 84, 0.35);
  --pai-bp-axis-stroke: #262A33;
  --pai-bp-silhouette-fill: #0B0C0F;
  --pai-bp-silhouette-stroke: #262A33;
  --pai-bp-glass-fill: #0B0C0F;
  --pai-bp-glass-stroke: #3F4554;
  --pai-bp-code-color: #9AA0AE;
}

/* Base Body & Typography */
html, body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-variant-numeric: tabular-nums;
  background-color: var(--pai-bg);
  color: var(--pai-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="light"],
html[data-theme="light"] body {
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
body.dark-mode,
body.pai-dark {
  background-color: #0B0C0F !important;
  color: #F8FAFC !important;
}

/* Vector SVG Alignment */
.pai-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pai-text-emerald { color: var(--pai-emerald) !important; }
.pai-text-blue { color: var(--pai-accent) !important; }
.pai-text-danger { color: var(--pai-danger) !important; }
.pai-text-warning { color: var(--pai-warning) !important; }

/* Theme Toggle Button */
.pai-theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--pai-border);
  background: var(--pai-bg-elevated);
  color: var(--pai-text);
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
}
.pai-theme-toggle-btn:hover {
  border-color: var(--pai-accent);
  color: var(--pai-accent);
}
html[data-theme="dark"] .pai-theme-icon-moon,
html.pai-dark .pai-theme-icon-moon {
  display: none;
}
html:not([data-theme="dark"]):not(.pai-dark) .pai-theme-icon-sun {
  display: none;
}

/* ==========================================================================
   GLOBAL OVERRIDES: Unified Executive Header (Light Mode Crisp White & Dark Mode Obsidian)
   + Car Detail Page Dark Mode & Light Mode Surface Overrides
   ========================================================================== */

:root,
html[data-theme="light"] {
  --pro-header-bg: rgba(255, 255, 255, 0.96);
  --pro-header-border: #E2E8F0;
  --pro-header-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  --pro-nav-text: #334155;
  --pro-nav-hover: #0F172A;
  --pro-nav-active: #2563EB;
  --pro-toggle-bg: #F8FAFC;
  --pro-toggle-border: #E2E8F0;
  --pro-toggle-text: #0F172A;
}

html[data-theme="dark"],
html.pai-dark,
body.pai-dark {
  --pro-header-bg: rgba(11, 12, 15, 0.94);
  --pro-header-border: #1F232C;
  --pro-header-shadow: 0 2px 12px rgba(0, 0, 0, 0.50);
  --pro-nav-text: #D4D7DE;
  --pro-nav-hover: #FFFFFF;
  --pro-nav-active: #3B82F6;
  --pro-toggle-bg: #1C1F26;
  --pro-toggle-border: #232730;
  --pro-toggle-text: #FFFFFF;
}

header.pckGlobalHeader,
.pckGlobalHeader.proautoHeader,
header.paiTopHeader,
header.pai-topbar {
  background: var(--pro-header-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--pro-header-border) !important;
  box-shadow: var(--pro-header-shadow) !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.pckHeaderContainer {
  max-width: 1340px !important;
  margin: 0 auto !important;
  padding: 10px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

.pckBrandLogo,
.pckBrandLogo.proautoBrandWrap,
.paiBrandLink,
.pai-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.pckBrandLogo img,
.pckLogoImg,
.paiBrandLogoImg,
.pai-brand-logo {
  height: 54px !important;
  width: 54px !important;
  max-height: 54px !important;
  max-width: 54px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

.pckNavMenu {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.pckNavLink,
.pai-nav-link {
  color: var(--pro-nav-text) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  position: relative !important;
  transition: color 0.16s ease, background 0.16s ease !important;
}

.pckNavLink:hover,
.pai-nav-link:hover {
  color: var(--pro-nav-hover) !important;
  background: rgba(37, 99, 235, 0.06) !important;
}

.pckNavLink.active,
.pai-nav-link.active {
  color: var(--pro-nav-active) !important;
  font-weight: 700 !important;
}

.pckNavLink.active::after {
  content: "" !important;
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 2px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: var(--pro-nav-active) !important;
}

.proThemeToggleBtn,
.paiThemeToggleBtn,
.pai-theme-toggle-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  border: 1px solid var(--pro-toggle-border) !important;
  background: var(--pro-toggle-bg) !important;
  color: var(--pro-toggle-text) !important;
  cursor: pointer !important;
  transition: all 0.16s ease !important;
  padding: 0 !important;
}

.proThemeToggleBtn:hover,
.paiThemeToggleBtn:hover,
.pai-theme-toggle-btn:hover {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}

.pckHeaderContactPill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 9px 16px !important;
  border-radius: 10px !important;
  background: #2563EB !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.16s ease !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.22) !important;
}

.pckHeaderContactPill:hover {
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

html[data-theme="light"] .pckMobileMenuBtn {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .pckMobileMenuBtn .hamburgerLine {
  background: #0F172A !important;
}
html[data-theme="dark"] .pckMobileMenuBtn {
  background: #1C1F26 !important;
  border: 1px solid #232730 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .pckMobileMenuBtn .hamburgerLine {
  background: #F8FAFC !important;
}

.btnPckDetailedFilterOrange,
.pckSearchHeaderInner .btnPckDetailedFilterOrange,
.pckQuickFiltersWrap .btnPckQuickFilterPill.active {
  background: #2563EB !important;
  border-color: #1D4ED8 !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.32) !important;
  color: #FFFFFF !important;
}

.btnPckDetailedFilterOrange span[style*="background"] {
  background: #FFFFFF !important;
  color: #2563EB !important;
}

/* ==========================================================================
   CAR.PHP & GLOBAL LAYOUT LIGHT/DARK MODE CANVAS OVERRIDES (Beats extra.css)
   ========================================================================== */

html[data-theme="light"] body,
html[data-theme="light"] .carDetailPageLayout,
html[data-theme="light"] .carPageMain,
html[data-theme="light"] .carDetailWrapper,
html[data-theme="light"] .carDetailContainer {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .carDetailPageLayout,
html[data-theme="dark"] .carPageMain,
html[data-theme="dark"] .carDetailWrapper,
html[data-theme="dark"] .carDetailContainer {
  background: #0B0C0F !important;
  background-color: #0B0C0F !important;
  color: #F8FAFC !important;
}

html[data-theme="dark"] .carDetailPageLayout .leftCarContent,
html[data-theme="dark"] .carDetailPageLayout .rightStickyPriceSidebar,
body.dark-mode .carDetailPageLayout .leftCarContent,
body.dark-mode .carDetailPageLayout .rightStickyPriceSidebar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.carDetailPageLayout .leftCarContent > .koreaSpecGrid,
html[data-theme="dark"] .carDetailPageLayout .leftCarContent > .koreaSpecGrid,
html[data-theme="light"] .carDetailPageLayout .leftCarContent > .koreaSpecGrid,
body.dark-mode .carDetailPageLayout .leftCarContent > .koreaSpecGrid {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html[data-theme="dark"] .carGalleryContainer,
html[data-theme="dark"] .carTopStatusBar,
html[data-theme="dark"] .specGridCell,
html[data-theme="dark"] .koreaOptionsCard,
html[data-theme="dark"] .chassisBlueprintCard,
html[data-theme="dark"] .priceSidebarBox,
html[data-theme="dark"] .btnSidebarReport,
html[data-theme="dark"] .paiFooter,
html[data-theme="dark"] .carDetailPageLayout .leftCarContent > div:not(.koreaSpecGrid),
html[data-theme="dark"] .carDetailPageLayout .rightCarSidebar > div,
html[data-theme="dark"] .carDetailPageLayout .rightStickyPriceSidebar > div,
body.dark-mode .carGalleryContainer,
body.dark-mode .carTopStatusBar,
body.dark-mode .specGridCell,
body.dark-mode .koreaOptionsCard,
body.dark-mode .chassisBlueprintCard,
body.dark-mode .priceSidebarBox,
body.dark-mode .btnSidebarReport,
body.dark-mode .paiFooter,
body.dark-mode .carDetailPageLayout .leftCarContent > div:not(.koreaSpecGrid),
body.dark-mode .carDetailPageLayout .rightCarSidebar > div,
body.dark-mode .carDetailPageLayout .rightStickyPriceSidebar > div {
  background: #14161B !important;
  background-color: #14161B !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
  color: #F8FAFC !important;
}

html[data-theme="dark"] .paiSpecIconBox,
html[data-theme="dark"] .optIconTile:not(.active),
html[data-theme="dark"] .paiOnPageOptionCats > div,
html[data-theme="dark"] .verifiedPartsTableWrap,
html[data-theme="dark"] .verifiedPartItem,
html[data-theme="dark"] .paiCustomerImportCard,
html[data-theme="dark"] .sidebarTrustList,
body.dark-mode .paiSpecIconBox,
body.dark-mode .optIconTile:not(.active),
body.dark-mode .paiOnPageOptionCats > div,
body.dark-mode .verifiedPartsTableWrap,
body.dark-mode .verifiedPartItem,
body.dark-mode .paiCustomerImportCard,
body.dark-mode .sidebarTrustList {
  border-color: rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="light"] .carGalleryContainer,
html[data-theme="light"] .carTopStatusBar,
html[data-theme="light"] .specGridCell,
html[data-theme="light"] .koreaOptionsCard,
html[data-theme="light"] .chassisBlueprintCard,
html[data-theme="light"] .priceSidebarBox,
html[data-theme="light"] .btnSidebarReport,
html[data-theme="light"] .paiFooter {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}

/* ==========================================================================
   INTERACTIVE CAD DUAL-VIEW VECTOR BLUEPRINT (pai_render_blueprint_svg)
   ========================================================================== */

.pai-blueprint-wrap {
  position: relative;
  background: var(--pai-bg-elevated);
  border: 1px solid var(--pai-border);
  border-radius: var(--pai-radius-lg);
  padding: 24px;
  box-shadow: var(--pai-shadow-sm);
  margin: 20px 0;
  overflow: hidden;
}

.pai-blueprint-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--pai-border);
}

.pai-blueprint-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pai-accent);
  background: var(--pai-accent-soft);
  border: 1px solid var(--pai-accent-border);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.pai-blueprint-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--pai-text);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.pai-blueprint-kpis {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pai-bp-kpi {
  display: flex;
  flex-direction: column;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--pai-border);
  background: var(--pai-bg-subtle);
  min-width: 150px;
}
.pai-bp-kpi-ok {
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--pai-emerald-soft);
}
.pai-bp-kpi-info {
  border-color: var(--pai-accent-border);
  background: var(--pai-accent-soft);
}
.pai-bp-kpi-warn {
  border-color: rgba(239, 68, 68, 0.35);
  background: var(--pai-danger-soft);
}
.pai-bp-kpi-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pai-text-muted);
}
.pai-bp-kpi-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--pai-text);
  margin-top: 2px;
}

.pai-bp-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pai-accent);
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.pai-bp-report-btn:hover {
  background: var(--pai-accent-hover);
  transform: translateY(-1px);
}

/* Clean Notice Banner */
.pai-bp-clean-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pai-emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--pai-text);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.pai-bp-clean-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #10B981;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pai-bp-clean-banner strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--pai-emerald-dark);
}
.pai-bp-clean-banner span {
  display: block;
  font-size: 12.5px;
  color: var(--pai-text-secondary);
  margin-top: 2px;
}

/* Dual Blueprint Grid */
.pai-blueprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 820px) {
  .pai-blueprint-grid {
    grid-template-columns: 1fr;
  }
}

.pai-bp-card {
  background: var(--pai-bg);
  border: 1px solid var(--pai-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.pai-bp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--pai-border);
}

.pai-bp-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pai-bp-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--pai-accent);
  background: var(--pai-accent-soft);
  border: 1px solid var(--pai-accent-border);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pai-bp-card-title h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--pai-text);
  margin: 0;
}
.pai-bp-card-title small {
  display: block;
  font-size: 11.5px;
  color: var(--pai-text-muted);
  margin-top: 2px;
}

.pai-bp-card-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pai-bp-card-badge.clean {
  background: var(--pai-emerald-soft);
  color: var(--pai-emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.pai-bp-card-badge.flagged {
  background: var(--pai-accent-soft);
  color: var(--pai-accent);
  border: 1px solid var(--pai-accent-border);
}

/* SVG Blueprint Canvas */
.pai-bp-canvas {
  background: var(--pai-bp-canvas-bg);
  border: 1px solid var(--pai-border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pai-bp-svg {
  width: 100%;
  max-width: 265px;
  height: auto;
  display: block;
  margin: 0 auto;
  user-select: none;
}

.pai-bp-grid-bg {
  stroke: var(--pai-border);
  stroke-width: 1;
}
.pai-bp-grid-line {
  stroke: var(--pai-bp-grid-stroke);
}
.pai-bp-axis-line {
  stroke: var(--pai-bp-axis-stroke);
  stroke-width: 1;
}
.pai-bp-dir-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  font-weight: 700;
  fill: var(--pai-text-faint);
  letter-spacing: 0.08em;
}
.pai-bp-wheel {
  fill: var(--pai-bg-muted);
  stroke: var(--pai-bp-panel-stroke);
  stroke-width: 1.2;
}
.pai-bp-silhouette {
  fill: var(--pai-bp-silhouette-fill);
  stroke: var(--pai-bp-silhouette-stroke);
  stroke-width: 1.5;
}
.pai-bp-ghost-outline {
  fill: none;
  stroke: var(--pai-bp-axis-stroke);
  stroke-width: 1.3;
}
.pai-bp-glass {
  fill: var(--pai-bp-glass-fill);
  stroke: var(--pai-bp-glass-stroke);
  stroke-width: 1.25;
}
.pai-bp-mirror {
  fill: var(--pai-bp-panel-fill);
  stroke: var(--pai-bp-panel-stroke);
  stroke-width: 1.3;
}
.pai-bp-crease {
  fill: none;
  stroke: var(--pai-bp-panel-stroke);
  stroke-width: 0.85;
  stroke-dasharray: 2 2;
  opacity: 0.65;
  pointer-events: none;
}
.pai-bp-strut-tower {
  fill: none;
  stroke: var(--pai-bp-panel-stroke);
  stroke-width: 1.1;
  pointer-events: none;
}
.pai-bp-code-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.2px;
  font-weight: 700;
  fill: var(--pai-bp-code-color);
  pointer-events: none;
}

/* Interactive Vector Panel Zones */
.pai-bp-zone {
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.pai-bp-zone > path,
.pai-bp-zone > rect {
  fill: var(--pai-bp-panel-fill);
  stroke: var(--pai-bp-panel-stroke);
  stroke-width: 1.45;
  stroke-linejoin: round;
  transition: fill 0.18s ease, stroke 0.18s ease, stroke-width 0.18s ease;
}
.pai-bp-zone-clean:hover > path,
.pai-bp-zone-clean:hover > rect {
  fill: var(--pai-bp-panel-hover);
  stroke: var(--pai-accent);
  stroke-width: 1.85;
}

/* Highlighted Active Panel Zones */
.pai-bp-zone-active > path,
.pai-bp-zone-active > rect {
  fill: var(--pai-zone-fill-light, rgba(37, 99, 235, 0.22));
  stroke: var(--pai-zone-stroke, #2563EB);
  stroke-width: 2.1;
}
html[data-theme="dark"] .pai-bp-zone-active > path,
html[data-theme="dark"] .pai-bp-zone-active > rect,
html.pai-dark .pai-bp-zone-active > path,
html.pai-dark .pai-bp-zone-active > rect {
  fill: var(--pai-zone-fill-dark, rgba(37, 99, 235, 0.35));
}
.pai-bp-zone-active .pai-bp-code-lbl {
  fill: var(--pai-text);
  font-weight: 800;
  opacity: 0.35;
}
.pai-bp-zone-active:hover > path,
.pai-bp-zone-active:hover > rect,
.pai-bp-zone-focus > path,
.pai-bp-zone-focus > rect {
  stroke-width: 2.8 !important;
  filter: drop-shadow(0 0 6px var(--pai-zone-stroke, #2563EB));
}

.pai-bp-pin {
  cursor: pointer;
}

/* Floating Tooltip */
.pai-bp-tooltip {
  position: absolute;
  z-index: 50;
  background: #14161B;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  max-width: 260px;
  line-height: 1.35;
}
.pai-bp-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Legend Bar */
.pai-bp-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  background: var(--pai-bg);
  border: 1px solid var(--pai-border);
  border-radius: 10px;
}
.pai-bp-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pai-bp-legend-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.pai-bp-legend-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pai-text);
  line-height: 1.2;
}
.pai-bp-legend-text small {
  display: block;
  font-size: 11px;
  color: var(--pai-text-muted);
}

/* Verified Panels Summary Table */
.pai-bp-summary-box {
  margin-top: 18px;
  background: var(--pai-bg);
  border: 1px solid var(--pai-border);
  border-radius: 12px;
  overflow: hidden;
}
.pai-bp-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  background: var(--pai-bg-subtle);
  border-bottom: 1px solid var(--pai-border);
}
.pai-bp-summary-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pai-text);
}
.pai-bp-summary-title h4 {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}
.pai-bp-summary-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--pai-accent);
  background: var(--pai-accent-soft);
  border: 1px solid var(--pai-accent-border);
  padding: 4px 10px;
  border-radius: 999px;
}

.pai-bp-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.pai-bp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.pai-bp-table th {
  padding: 11px 16px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pai-text-muted);
  border-bottom: 1px solid var(--pai-border);
  background: var(--pai-bg-elevated);
}
.pai-bp-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--pai-border);
  color: var(--pai-text);
  vertical-align: middle;
}
.pai-bp-table tr:last-child td {
  border-bottom: none;
}
.pai-bp-table tr:hover td {
  background: var(--pai-bg-subtle);
}
.pai-bp-td-code code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  background: var(--pai-bg-subtle);
  border: 1px solid var(--pai-border);
  padding: 3px 7px;
  border-radius: 5px;
  color: var(--pai-text-secondary);
}
.pai-bp-cat-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.pai-bp-cat-pill.outer {
  background: var(--pai-accent-soft);
  color: var(--pai-accent);
}
.pai-bp-cat-pill.inner {
  background: var(--pai-warning-soft);
  color: var(--pai-warning);
}
.pai-bp-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pai-text);
}
.pai-bp-status-letter {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pai-bp-clean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  padding: 16px 18px;
}
.pai-bp-clean-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--pai-bg-elevated);
  border: 1px solid var(--pai-border);
  border-radius: 8px;
}
.pai-bp-clean-item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pai-text);
}
.pai-bp-clean-item span {
  display: block;
  font-size: 11.5px;
  color: var(--pai-text-muted);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .pai-blueprint-wrap {
    padding: 16px;
  }
  .pai-blueprint-kpis {
    width: 100%;
  }
  .pai-bp-kpi {
    flex: 1 1 calc(50% - 8px);
    min-width: 130px;
  }
  .pai-bp-report-btn {
    width: 100%;
    justify-content: center;
  }
}


/* === AUTHORITATIVE NAVBAR, MOBILE MENU & CAR PAGE DARK MODE OVERRIDES (v5) === */
.pwaStatusBarBg, #pwaAppControls, .pwaAppControls {
  display: none !important;
}

html[data-theme="light"] header.pckGlobalHeader,
html[data-theme="light"] .pckGlobalHeader.proautoHeader,
html[data-theme="light"] header.paiTopHeader,
html[data-theme="light"] header.pai-topbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="dark"] header.pckGlobalHeader,
html[data-theme="dark"] .pckGlobalHeader.proautoHeader,
html[data-theme="dark"] header.paiTopHeader,
html[data-theme="dark"] header.pai-topbar {
  background: rgba(11, 12, 15, 0.96) !important;
  border-bottom: 1px solid #1E222B !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
}

.pckHeaderContainer {
  max-width: 1360px !important;
  margin: 0 auto !important;
  padding: 10px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.pckNavMenu {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

.pckNavMenu .pckNavLink,
header.pckGlobalHeader .pckNavLink {
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 8px 11px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  position: relative !important;
}

html[data-theme="light"] .pckNavMenu .pckNavLink,
html[data-theme="light"] header.pckGlobalHeader .pckNavLink {
  color: #334155 !important;
}
html[data-theme="light"] .pckNavMenu .pckNavLink:hover,
html[data-theme="light"] header.pckGlobalHeader .pckNavLink:hover {
  color: #0F172A !important;
  background: #F1F5F9 !important;
}
html[data-theme="light"] .pckNavMenu .pckNavLink.active,
html[data-theme="light"] header.pckGlobalHeader .pckNavLink.active {
  color: #2563EB !important;
  font-weight: 700 !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

html[data-theme="dark"] .pckNavMenu .pckNavLink,
html[data-theme="dark"] header.pckGlobalHeader .pckNavLink {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] .pckNavMenu .pckNavLink:hover,
html[data-theme="dark"] header.pckGlobalHeader .pckNavLink:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
html[data-theme="dark"] .pckNavMenu .pckNavLink.active,
html[data-theme="dark"] header.pckGlobalHeader .pckNavLink.active {
  color: #60A5FA !important;
  font-weight: 700 !important;
  background: rgba(37, 99, 235, 0.16) !important;
}

.pckNavMenu .pckNavLink.active::after,
header.pckGlobalHeader .pckNavLink.active::after {
  content: "" !important;
  position: absolute !important;
  left: 10px !important;
  right: 10px !important;
  bottom: 2px !important;
  width: auto !important;
  height: 2px !important;
  background: #2563EB !important;
  border-radius: 2px !important;
}

/* Mobile Menu Button & Breakpoint */
.pckMobileMenuBtn {
  display: none !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 4px !important;
  cursor: pointer !important;
  padding: 8px !important;
}
@media (max-width: 960px) {
  .pckNavMenu {
    display: none !important;
  }
  .pckMobileMenuBtn {
    display: inline-flex !important;
  }
}

/* Mobile Drawer Light & Dark Mode */
.mobileNavDrawerOverlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 2147483647 !important;
  justify-content: flex-end !important;
}
.mobileNavDrawerOverlay.active {
  display: flex !important;
}
html[data-theme="light"] .mobileNavDrawerContent {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border-left: 1px solid #E2E8F0 !important;
}
html[data-theme="dark"] .mobileNavDrawerContent {
  background: #14161B !important;
  color: #F8FAFC !important;
  border-left: 1px solid #1E222B !important;
}
html[data-theme="light"] .mobileNavLink {
  color: #1E293B !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}
html[data-theme="light"] .mobileNavLink:hover,
html[data-theme="light"] .mobileNavLink.active {
  color: #2563EB !important;
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
}
html[data-theme="dark"] .mobileNavLink {
  color: #E2E8F0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid #1E222B !important;
}
html[data-theme="dark"] .mobileNavLink:hover,
html[data-theme="dark"] .mobileNavLink.active {
  color: #60A5FA !important;
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Fix White Trust Items & Match Sidebar Icon Boxes in Dark & Light Mode on car.php */
html[data-theme="dark"] .trustItem,
body.dark-mode .trustItem {
  background: #14161B !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #F8FAFC !important;
}
html[data-theme="dark"] .trustItem:hover,
body.dark-mode .trustItem:hover {
  background: #1E222B !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
html[data-theme="dark"] .trustTitle,
body.dark-mode .trustTitle {
  color: #F8FAFC !important;
}
html[data-theme="dark"] .trustSub,
body.dark-mode .trustSub {
  color: #94A3B8 !important;
}
html[data-theme="light"] .trustItem {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}

html[data-theme="dark"] .reportBtnIconBox,
html[data-theme="dark"] .trustBadgeIconBox,
body.dark-mode .reportBtnIconBox,
body.dark-mode .trustBadgeIconBox {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 10px !important;
  background: #0B0C0F !important;
  border: 1px solid rgba(59, 130, 246, 0.22) !important;
  color: #3B82F6 !important;
}

html[data-theme="light"] .reportBtnIconBox,
html[data-theme="light"] .trustBadgeIconBox {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 10px !important;
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #2563EB !important;
}

/* VIVID RED CLEAR ALL BUTTONS (Pastro të gjitha) */
.btnActiveFilterClearAll,
.btnClearAllFilters,
.btnDrawerReset,
html[data-theme="light"] .btnActiveFilterClearAll,
html[data-theme="dark"] .btnActiveFilterClearAll,
html[data-theme="light"] .btnClearAllFilters,
html[data-theme="dark"] .btnClearAllFilters,
html[data-theme="light"] .btnDrawerReset,
html[data-theme="dark"] .btnDrawerReset {
  background: #EF4444 !important;
  color: #FFFFFF !important;
  border: 1px solid #DC2626 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25) !important;
  text-decoration: none !important;
  transition: all 0.16s ease !important;
}

.btnActiveFilterClearAll:hover,
.btnClearAllFilters:hover,
.btnDrawerReset:hover,
html[data-theme="light"] .btnActiveFilterClearAll:hover,
html[data-theme="dark"] .btnActiveFilterClearAll:hover,
html[data-theme="light"] .btnClearAllFilters:hover,
html[data-theme="dark"] .btnClearAllFilters:hover,
html[data-theme="light"] .btnDrawerReset:hover,
html[data-theme="dark"] .btnDrawerReset:hover {
  background: #DC2626 !important;
  border-color: #B91C1C !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35) !important;
}

.btnActiveFilterClearAll svg,
.btnClearAllFilters svg,
.btnDrawerReset svg,
.btnActiveFilterClearAll span,
.btnClearAllFilters span,
.btnDrawerReset span {
  color: #FFFFFF !important;
}



/* ==========================================================================
   10-CARD SPEC GRID (5 SYMMETRICAL PAIRS) & SINGLE-LINE STATUS PILLS FIX
   ========================================================================== */
.koreaSpecGrid,
.carDetailPageLayout .leftCarContent > .koreaSpecGrid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.koreaSpecCardVin,
.specGridCell.koreaSpecCardVin {
  grid-column: auto !important;
}
@media (max-width: 680px) {
  .koreaSpecGrid,
  .carDetailPageLayout .leftCarContent > .koreaSpecGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .koreaSpecCardVin,
  .specGridCell.koreaSpecCardVin {
    grid-column: auto !important;
  }
}
.specGridCell,
.koreaSpecCard {
  padding: 10px 12px !important;
  gap: 10px !important;
  align-items: center !important;
  min-width: 0 !important;
  overflow: visible !important;
}
.paiSpecIconBox,
.specIconBox {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
}
@media (max-width: 640px) {
  .paiSpecIconBox,
  .specIconBox {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }
}
.specGridCell .cellText,
.specTextWrap {
  min-width: 0 !important;
  flex: 1 !important;
  overflow: visible !important;
}
.specGridCell .cellText small,
.specLabel {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
.specGridCell .cellText strong,
.specValue {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.pckCardMicroBadges,
.pckCardBadgesRow {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  overflow: hidden !important;
  margin: 8px 0 10px !important;
  min-height: 22px !important;
}
.pckCardMicroBadges .microBadge,
.microBadge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3.5px !important;
  height: 22px !important;
  padding: 0 6.5px !important;
  border-radius: 6px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.pckCardMicroBadges .microBadge svg,
.microBadge svg {
  width: 11px !important;
  height: 11px !important;
  flex-shrink: 0 !important;
}

/* Remove 1px white horizontal line under Transport Ro-Ro strip */
.pckCardImgWrap,
.pckCardMedia,
.pckCardThumb,
.pckCardBottomStrip,
.proCardBottomStrip {
  border-bottom: none !important;
}

/* Dark Mode Pagination Container & Buttons */
html[data-theme="dark"] .swissPagination,
body.dark-mode .swissPagination {
  background: #14161B !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}
html[data-theme="dark"] .swissPagination .pageDots,
body.dark-mode .swissPagination .pageDots {
  color: #94A3B8 !important;
}
html[data-theme="dark"] .swissPagination .pageBtn,
body.dark-mode .swissPagination .pageBtn {
  background: #1E222B !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #E2E8F0 !important;
}
html[data-theme="dark"] .swissPagination .pageBtn:hover,
body.dark-mode .swissPagination .pageBtn:hover {
  background: #232730 !important;
  border-color: #323744 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .swissPagination .pageBtn.active,
body.dark-mode .swissPagination .pageBtn.active {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}
.paiHistoryPillsRow {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}
.paiHistoryPillsRow::-webkit-scrollbar {
  display: none !important;
}
.paiHistoryPillsRow .paiStatusPill {
  height: 25px !important;
  padding: 0 9px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   OPTION CATEGORY ICONS, SUB-ICONS VERTICAL ALIGNMENT, DARK-BLUE PALETTE,
   COLLAPSIBLE SECTION BUTTONS & ELECTRIC ROYAL BLUE MODAL TICKS
   ========================================================================== */
.paiOptCatHeaderIconBox {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.paiOptCatHeaderIconBox svg {
  width: 18px !important;
  height: 18px !important;
}

.paiOptSubIconBox {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  border-radius: 7px !important;
  margin-left: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.paiOptSubIconBox svg {
  width: 14px !important;
  height: 14px !important;
}

.paiOptCategorySubGrid,
.optTagsGrid {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
.paiOptSubRow {
  padding: 5px 0 !important;
  margin-left: 0 !important;
}
.optTagsGrid .optTag {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
}

/* Dark Mode Exact Dark-Blue Palette (media_1795993931709_8cb78796.png) */
html[data-theme="dark"] .paiOptCatHeaderIconBox,
html[data-theme="dark"] .paiOptSubIconBox,
html[data-theme="dark"] .optIconTile.active,
html[data-theme="dark"] .optIconTile.active .optIconLarge,
body.dark-mode .paiOptCatHeaderIconBox,
body.dark-mode .paiOptSubIconBox,
body.dark-mode .optIconTile.active,
body.dark-mode .optIconTile.active .optIconLarge {
  background: #0B0C0F !important;
  border: 1px solid rgba(59, 130, 246, 0.24) !important;
  color: #3B82F6 !important;
}

/* Light Mode Exact Royal-Blue Palette */
html[data-theme="light"] .paiOptCatHeaderIconBox,
html[data-theme="light"] .paiOptSubIconBox,
html[data-theme="light"] .optIconTile.active,
html[data-theme="light"] .optIconTile.active .optIconLarge {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #2563EB !important;
}

/* Electric Royal Blue Checkmarks in Options Modal */
.paiOptionTickBlue,
.optTag .paiOptionTickBlue {
  color: #2563EB !important;
}
html[data-theme="dark"] .paiOptionTickBlue,
html[data-theme="dark"] .optTag .paiOptionTickBlue,
body.dark-mode .paiOptionTickBlue,
body.dark-mode .optTag .paiOptionTickBlue {
  color: #3B82F6 !important;
}
html[data-theme="light"] .paiOptionTickBlue,
html[data-theme="light"] .optTag .paiOptionTickBlue {
  color: #2563EB !important;
}

/* Collapsible Section Toggle Button (Opsionet & Kontrolli i Karrocerisë) */
.paiSectionCollapseBtn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 32px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  background: var(--pai-bg) !important;
  border: 1px solid var(--pai-border) !important;
  color: var(--pai-text-2) !important;
}
.paiSectionCollapseBtn:hover {
  border-color: var(--pai-blue-border) !important;
  color: var(--pai-blue) !important;
}
html[data-theme="dark"] .paiSectionCollapseBtn,
body.dark-mode .paiSectionCollapseBtn {
  background: #0B0C0F !important;
  border: 1px solid rgba(59, 130, 246, 0.24) !important;
  color: #93C5FD !important;
}
html[data-theme="dark"] .paiSectionCollapseBtn:hover,
body.dark-mode .paiSectionCollapseBtn:hover {
  border-color: #3B82F6 !important;
  color: #FFFFFF !important;
}

/* === OBSIDIAN / STAKE DARK MODE POLISH (v36) === */
html[data-theme="dark"],
html.pai-dark,
body.dark-mode,
body.pai-dark {
  --pai-border: #232730 !important;
  --pai-border-subtle: #1E222B !important;
  --pai-border-strong: #323744 !important;
  --pro-border: #232730 !important;
  --pro-bg-surface: #14161B !important;
  --pro-bg-elevated: #1C1F26 !important;
}

/* 1. Outer Section Cards & Vehicle Cards in Dark Mode */
html[data-theme="dark"] .carSectionCard,
html[data-theme="dark"] .panelCard,
html[data-theme="dark"] .rightStickySidebar,
html[data-theme="dark"] .pckPriceActionCard,
html[data-theme="dark"] .pckInventoryCard,
html[data-theme="dark"] .proVehicleCard,
html[data-theme="dark"] .pckListingCard,
html[data-theme="dark"] .proautoCard,
html[data-theme="dark"] .carGalleryContainer,
html[data-theme="dark"] .carTopStatusBar,
html[data-theme="dark"] .koreaOptionsCard,
html[data-theme="dark"] .chassisBlueprintCard,
html[data-theme="dark"] .priceSidebarBox,
html[data-theme="dark"] .guaranteeCard,
html[data-theme="dark"] .guaranteePerkCard,
html[data-theme="dark"] .pai-bp-card,
html[data-theme="dark"] .pai-blueprint-wrap,
html[data-theme="dark"] .pai-opt-cat-card,
html[data-theme="dark"] .paiOnPageOptionCats > div,
html[data-theme="dark"] .optCatSection,
html[data-theme="dark"] .pai-hero-card,
html[data-theme="dark"] .pai-kpi-card,
html[data-theme="dark"] .pai-section,
html[data-theme="dark"] .pai-blueprint-card,
html[data-theme="dark"] .calcFormCard,
html[data-theme="dark"] .calcInfoBlock,
html[data-theme="dark"] .stepFlowCard,
html[data-theme="dark"] .faqItemCard,
html[data-theme="dark"] .contactCardTile,
html[data-theme="dark"] .filterModalDialog,
html[data-theme="dark"] .emptyResultsCard,
html[data-theme="dark"] .carDetailPageLayout .leftCarContent > div:not(.koreaSpecGrid),
html[data-theme="dark"] .carDetailPageLayout .rightCarSidebar > div,
html[data-theme="dark"] .carDetailPageLayout .rightStickyPriceSidebar > div,
body.dark-mode .carSectionCard,
body.dark-mode .panelCard,
body.dark-mode .rightStickySidebar,
body.dark-mode .pckPriceActionCard,
body.dark-mode .pckInventoryCard,
body.dark-mode .proVehicleCard,
body.dark-mode .pckListingCard,
body.dark-mode .proautoCard,
body.dark-mode .carGalleryContainer,
body.dark-mode .carTopStatusBar,
body.dark-mode .koreaOptionsCard,
body.dark-mode .chassisBlueprintCard,
body.dark-mode .priceSidebarBox,
body.dark-mode .guaranteeCard,
body.dark-mode .guaranteePerkCard,
body.dark-mode .pai-bp-card,
body.dark-mode .pai-blueprint-wrap,
body.dark-mode .pai-opt-cat-card,
body.dark-mode .paiOnPageOptionCats > div,
body.dark-mode .optCatSection,
body.dark-mode .pai-hero-card,
body.dark-mode .pai-kpi-card,
body.dark-mode .pai-section,
body.dark-mode .pai-blueprint-card,
body.dark-mode .calcFormCard,
body.dark-mode .calcInfoBlock,
body.dark-mode .stepFlowCard,
body.dark-mode .faqItemCard,
body.dark-mode .contactCardTile,
body.dark-mode .filterModalDialog,
body.dark-mode .emptyResultsCard,
body.dark-mode .carDetailPageLayout .leftCarContent > div:not(.koreaSpecGrid),
body.dark-mode .carDetailPageLayout .rightCarSidebar > div,
body.dark-mode .carDetailPageLayout .rightStickyPriceSidebar > div,
body.pai-dark .carSectionCard,
body.pai-dark .panelCard,
body.pai-dark .rightStickySidebar,
body.pai-dark .pckPriceActionCard,
body.pai-dark .pckInventoryCard,
body.pai-dark .proVehicleCard,
body.pai-dark .pckListingCard,
body.pai-dark .proautoCard,
body.pai-dark .carGalleryContainer,
body.pai-dark .carTopStatusBar,
body.pai-dark .koreaOptionsCard,
body.pai-dark .chassisBlueprintCard,
body.pai-dark .priceSidebarBox,
body.pai-dark .guaranteeCard,
body.pai-dark .guaranteePerkCard,
body.pai-dark .pai-bp-card,
body.pai-dark .pai-blueprint-wrap,
body.pai-dark .pai-opt-cat-card,
body.pai-dark .paiOnPageOptionCats > div {
  background: #14161B !important;
  background-color: #14161B !important;
  border: 1px solid #232730 !important;
  border-color: #232730 !important;
}

/* Preserve clean electric blue hover on vehicle listing cards */
html[data-theme="dark"] .pckListingCard:hover,
html[data-theme="dark"] .pckInventoryCard:hover,
html[data-theme="dark"] .proVehicleCard:hover,
body.dark-mode .pckListingCard:hover,
body.dark-mode .pckInventoryCard:hover,
body.dark-mode .proVehicleCard:hover {
  border-color: #2563EB !important;
}

/* 2. Inner Boxes / Spec Cells / Sidebar Action Cards in Dark Mode */
html[data-theme="dark"] .specGridCell,
html[data-theme="dark"] .koreaSpecCard,
html[data-theme="dark"] .reportBtnCard,
html[data-theme="dark"] .btnSidebarReport,
html[data-theme="dark"] .trustBadgeCard,
html[data-theme="dark"] .trustItem,
html[data-theme="dark"] .highlightOptionBox,
html[data-theme="dark"] .pai-opt-highlight-card,
html[data-theme="dark"] .optIconTile:not(.active),
html[data-theme="dark"] .paiCustomerImportCard,
html[data-theme="dark"] .verifiedPartsTableWrap,
html[data-theme="dark"] .verifiedPartItem,
html[data-theme="dark"] .cadDiagramCol,
html[data-theme="dark"] .pai-bp-canvas,
html[data-theme="dark"] .pai-bp-legend,
html[data-theme="dark"] .pai-bp-summary-box,
html[data-theme="dark"] .pai-bp-clean-item,
html[data-theme="dark"] .pai-faq-item,
body.dark-mode .specGridCell,
body.dark-mode .koreaSpecCard,
body.dark-mode .reportBtnCard,
body.dark-mode .btnSidebarReport,
body.dark-mode .trustBadgeCard,
body.dark-mode .trustItem,
body.dark-mode .highlightOptionBox,
body.dark-mode .pai-opt-highlight-card,
body.dark-mode .optIconTile:not(.active),
body.dark-mode .paiCustomerImportCard,
body.dark-mode .verifiedPartsTableWrap,
body.dark-mode .verifiedPartItem,
body.dark-mode .cadDiagramCol,
body.dark-mode .pai-bp-canvas,
body.dark-mode .pai-bp-legend,
body.dark-mode .pai-bp-summary-box,
body.dark-mode .pai-bp-clean-item,
body.dark-mode .pai-faq-item,
body.pai-dark .specGridCell,
body.pai-dark .koreaSpecCard,
body.pai-dark .reportBtnCard,
body.pai-dark .btnSidebarReport,
body.pai-dark .trustBadgeCard,
body.pai-dark .trustItem,
body.pai-dark .highlightOptionBox,
body.pai-dark .pai-opt-highlight-card,
body.pai-dark .optIconTile:not(.active),
body.pai-dark .paiCustomerImportCard,
body.pai-dark .verifiedPartsTableWrap,
body.pai-dark .verifiedPartItem {
  background: #1C1F26 !important;
  background-color: #1C1F26 !important;
  border: 1px solid #232730 !important;
  border-color: #232730 !important;
}

/* Keep trustItem in sidebar sleek without extra bulky box padding unless hovered */
html[data-theme="dark"] .sidebarTrustList .trustItem,
body.dark-mode .sidebarTrustList .trustItem {
  padding: 10px 12px !important;
  border-radius: 12px !important;
  background: #1C1F26 !important;
  border: 1px solid #232730 !important;
}

html[data-theme="dark"] .btnSidebarReport:hover,
html[data-theme="dark"] .reportBtnCard:hover,
html[data-theme="dark"] .specGridCell:hover,
html[data-theme="dark"] .koreaSpecCard:hover,
html[data-theme="dark"] .trustItem:hover,
body.dark-mode .btnSidebarReport:hover,
body.dark-mode .reportBtnCard:hover,
body.dark-mode .specGridCell:hover,
body.dark-mode .koreaSpecCard:hover,
body.dark-mode .trustItem:hover {
  background: #232730 !important;
  border-color: rgba(59, 130, 246, 0.42) !important;
}

/* 3. Icon Boxes Inside Cards in Dark Mode */
html[data-theme="dark"] .specIconBox,
html[data-theme="dark"] .paiSpecIconBox,
html[data-theme="dark"] .reportBtnIconBox,
html[data-theme="dark"] .trustBadgeIconBox,
html[data-theme="dark"] .pai-opt-cat-icon,
html[data-theme="dark"] .pai-opt-sub-icon,
html[data-theme="dark"] .perkIconWrap,
body.dark-mode .specIconBox,
body.dark-mode .paiSpecIconBox,
body.dark-mode .reportBtnIconBox,
body.dark-mode .trustBadgeIconBox,
body.dark-mode .pai-opt-cat-icon,
body.dark-mode .pai-opt-sub-icon,
body.dark-mode .perkIconWrap,
body.pai-dark .specIconBox,
body.pai-dark .paiSpecIconBox,
body.pai-dark .reportBtnIconBox,
body.pai-dark .trustBadgeIconBox,
body.pai-dark .pai-opt-cat-icon,
body.pai-dark .pai-opt-sub-icon {
  background: #1C1F26 !important;
  background-color: #1C1F26 !important;
  border: 1px solid rgba(59, 130, 246, 0.24) !important;
  border-color: rgba(59, 130, 246, 0.24) !important;
  color: #3B82F6 !important;
}

/* 4. Horizontal Divider Lines Inside Cards in Dark Mode */
html[data-theme="dark"] .pckCardPriceRow,
html[data-theme="dark"] .sidebarTrustList,
html[data-theme="dark"] .divider,
html[data-theme="dark"] hr,
html[data-theme="dark"] .pai-bp-header,
html[data-theme="dark"] .pai-blueprint-header,
html[data-theme="dark"] .pai-bp-card-head,
html[data-theme="dark"] .pai-bp-summary-head,
html[data-theme="dark"] .pai-section-header,
html[data-theme="dark"] .pai-blueprint-head,
html[data-theme="dark"] .cadColHeader,
html[data-theme="dark"] .legendBar,
html[data-theme="dark"] .verifiedPartsAccordionBody,
html[data-theme="dark"] .guaranteeCardHeader,
html[data-theme="dark"] .guaranteeTable th,
html[data-theme="dark"] .guaranteeTable td,
html[data-theme="dark"] .pai-table th,
html[data-theme="dark"] .pai-table td,
html[data-theme="dark"] .pai-mech-cat,
html[data-theme="dark"] .pai-mech-cat-head,
html[data-theme="dark"] .pai-mech-row,
html[data-theme="dark"] .homeSectionDivider,
body.dark-mode .pckCardPriceRow,
body.dark-mode .sidebarTrustList,
body.dark-mode .divider,
body.dark-mode hr,
body.dark-mode .pai-bp-header,
body.dark-mode .pai-blueprint-header,
body.dark-mode .pai-bp-card-head,
body.dark-mode .pai-bp-summary-head,
body.dark-mode .pai-section-header,
body.dark-mode .pai-blueprint-head,
body.dark-mode .cadColHeader,
body.dark-mode .legendBar,
body.dark-mode .verifiedPartsAccordionBody,
body.dark-mode .guaranteeCardHeader,
body.dark-mode .guaranteeTable th,
body.dark-mode .guaranteeTable td,
body.dark-mode .pai-table th,
body.dark-mode .pai-table td,
body.dark-mode .pai-mech-cat,
body.dark-mode .pai-mech-cat-head,
body.dark-mode .pai-mech-row,
body.dark-mode .homeSectionDivider,
body.pai-dark .pckCardPriceRow,
body.pai-dark .sidebarTrustList,
body.pai-dark .divider,
body.pai-dark hr,
body.pai-dark .pai-bp-header,
body.pai-dark .pai-blueprint-header,
body.pai-dark .pai-bp-card-head {
  border-color: #232730 !important;
  border-top-color: #232730 !important;
  border-bottom-color: #232730 !important;
}

/* 5. Quick-Filter Pills (Me Zbritje, Pa Aksident) & Sort Dropdown (Më të fundit) Deep Obsidian Black */
html[data-theme="dark"] .btnPckQuickFilterPill,
html[data-theme="dark"] .pckQuickFiltersWrap .btnPckQuickFilterPill:not(.active),
html[data-theme="dark"] .pckSortSelect,
html[data-theme="dark"] select.pckSortSelect,
html[data-theme="dark"] .pckBudgetTabBtn:not(.active),
html[data-theme="dark"] .btnActiveFilterChip,
body.dark-mode .btnPckQuickFilterPill,
body.dark-mode .pckQuickFiltersWrap .btnPckQuickFilterPill:not(.active),
body.dark-mode .pckSortSelect,
body.dark-mode select.pckSortSelect,
body.dark-mode .pckBudgetTabBtn:not(.active),
body.dark-mode .btnActiveFilterChip,
body.pai-dark .btnPckQuickFilterPill,
body.pai-dark .pckSortSelect {
  background: #1C1F26 !important;
  background-color: #1C1F26 !important;
  border: 1px solid #232730 !important;
  border-color: #232730 !important;
  color: #D4D7DE !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .btnPckQuickFilterPill:hover:not(.active),
html[data-theme="dark"] .pckSortSelect:hover,
html[data-theme="dark"] .pckBudgetTabBtn:hover:not(.active),
body.dark-mode .btnPckQuickFilterPill:hover:not(.active),
body.dark-mode .pckSortSelect:hover,
body.dark-mode .pckBudgetTabBtn:hover:not(.active) {
  background: #232730 !important;
  background-color: #232730 !important;
  border-color: #323744 !important;
  color: #FFFFFF !important;
}

html[data-theme="dark"] .btnPckQuickFilterPill.active,
html[data-theme="dark"] .pckQuickFiltersWrap .btnPckQuickFilterPill.active,
html[data-theme="dark"] .pckBudgetTabBtn.active,
body.dark-mode .btnPckQuickFilterPill.active,
body.dark-mode .pckQuickFiltersWrap .btnPckQuickFilterPill.active,
body.dark-mode .pckBudgetTabBtn.active {
  background: #2563EB !important;
  background-color: #2563EB !important;
  border: 1px solid #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}

/* Search Box & Custom Dropdowns in Dark Mode to match Obsidian palette */
html[data-theme="dark"] .pckSearchBox,
body.dark-mode .pckSearchBox {
  background: #14161B !important;
  border: 1px solid #232730 !important;
}
html[data-theme="dark"] .pckConsoleGrid .pckFieldWrap,
body.dark-mode .pckConsoleGrid .pckFieldWrap {
  background: #1C1F26 !important;
  border: 1px solid #232730 !important;
}
html[data-theme="dark"] .pckPillBtn,
body.dark-mode .pckPillBtn {
  background: #14161B !important;
  border: 1px solid #232730 !important;
}
html[data-theme="dark"] .swissPagination,
body.dark-mode .swissPagination {
  background: #14161B !important;
  border: 1px solid #232730 !important;
}
html[data-theme="dark"] .swissPagination .pageBtn:not(.active),
body.dark-mode .swissPagination .pageBtn:not(.active) {
  background: #1C1F26 !important;
  border: 1px solid #232730 !important;
}

/* === AUTHORITATIVE LIGHT MODE & DARK MODE SPLIT-STATE PREVENTION (v10) === */
html[data-theme="light"],
html[data-theme="light"] body {
  --pai-bg: #F8FAFC !important;
  --pai-surface: #FFFFFF !important;
  --pai-surface-2: #F1F5F9 !important;
  --pai-bg-elevated: #FFFFFF !important;
  --pai-bg-subtle: #F1F5F9 !important;
  --pai-text: #0F172A !important;
  --pai-text-2: #475569 !important;
  --pai-text-3: #64748B !important;
  --pai-text-secondary: #334155 !important;
  --pai-text-muted: #64748B !important;
  --pai-border: #E2E8F0 !important;
  --pai-border-subtle: #E2E8F0 !important;
  --pai-border-strong: #CBD5E1 !important;
  --pai-blue-soft: #EFF6FF !important;
  --pai-blue-border: #BFDBFE !important;
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  color: #0F172A !important;
}

/* Light Mode Outer Section Cards on car.php & index.php */
html[data-theme="light"] .carSectionCard,
html[data-theme="light"] .panelCard,
html[data-theme="light"] .rightStickySidebar,
html[data-theme="light"] .pckPriceActionCard,
html[data-theme="light"] .priceSidebarBox,
html[data-theme="light"] .carGalleryContainer,
html[data-theme="light"] .carTopStatusBar,
html[data-theme="light"] .koreaOptionsCard,
html[data-theme="light"] .chassisBlueprintCard,
html[data-theme="light"] .pckInventoryCard,
html[data-theme="light"] .proVehicleCard,
html[data-theme="light"] .pckListingCard,
html[data-theme="light"] .proautoCard,
html[data-theme="light"] .guaranteeCard,
html[data-theme="light"] .guaranteePerkCard {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}

/* Light Mode Spec Cells & Korea Spec Cards */
html[data-theme="light"] .specGridCell,
html[data-theme="light"] .koreaSpecCard {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .specGridCell .cellText strong,
html[data-theme="light"] .specGridCell strong,
html[data-theme="light"] .koreaSpecCard strong,
html[data-theme="light"] .specValue {
  color: #0F172A !important;
}
html[data-theme="light"] .specGridCell .cellText small,
html[data-theme="light"] .specGridCell small,
html[data-theme="light"] .koreaSpecCard small,
html[data-theme="light"] .specLabel {
  color: #64748B !important;
}
html[data-theme="light"] .specIconBox,
html[data-theme="light"] .paiSpecIconBox,
html[data-theme="light"] .reportBtnIconBox,
html[data-theme="light"] .trustBadgeIconBox,
html[data-theme="light"] .pai-opt-cat-icon,
html[data-theme="light"] .pai-opt-sub-icon {
  background: #EFF6FF !important;
  background-color: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  border-color: #BFDBFE !important;
  color: #2563EB !important;
}

/* Light Mode Sidebar Report Buttons & Trust Badges */
html[data-theme="light"] .reportBtnCard,
html[data-theme="light"] .btnSidebarReport,
html[data-theme="light"] .trustBadgeCard,
html[data-theme="light"] .trustItem {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-color: #E2E8F0 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .sidebarTrustList .trustItem {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
}
html[data-theme="light"] .reportBtnText strong,
html[data-theme="light"] .btnSidebarReport strong,
html[data-theme="light"] .trustTitle {
  color: #0F172A !important;
}
html[data-theme="light"] .reportBtnText small,
html[data-theme="light"] .btnSidebarReport small,
html[data-theme="light"] .trustSub {
  color: #64748B !important;
}

/* Light Mode Price Sidebar & Copy Link Card */
html[data-theme="light"] .pckPriceActionCard .priceAmount,
html[data-theme="light"] .priceSidebarBox .priceAmount,
html[data-theme="light"] .carMainTitle,
html[data-theme="light"] .optionsCardHeading h3,
html[data-theme="light"] .blueprintHeader h2 {
  color: #0F172A !important;
}
html[data-theme="light"] .pckPriceActionCard .priceSubNote,
html[data-theme="light"] .priceSidebarBox .priceSubNote {
  color: #475569 !important;
}
html[data-theme="light"] .paiCustomerImportCard,
html[data-theme="light"] .copyLinkShareCard {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .paiImportCardTitle {
  color: #0F172A !important;
}
html[data-theme="light"] .paiImportCardDesc {
  color: #475569 !important;
}

/* Light Mode Options & Blueprint Inner Cards */
html[data-theme="light"] .optIconTile:not(.active),
html[data-theme="light"] .highlightOptionBox:not(.active),
html[data-theme="light"] .pai-opt-highlight-card:not(.active) {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #64748B !important;
}
html[data-theme="light"] .optIconTile.active,
html[data-theme="light"] .highlightOptionBox.active,
html[data-theme="light"] .pai-opt-highlight-card.active {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #2563EB !important;
}
html[data-theme="light"] .optNameText {
  color: #0F172A !important;
}
html[data-theme="light"] .pai-opt-cat-card,
html[data-theme="light"] .paiOnPageOptionCats > div,
html[data-theme="light"] .pai-bp-card,
html[data-theme="light"] .verifiedPartsTableWrap {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .verifiedPartItem {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  color: #0F172A !important;
}
html[data-theme="light"] .verifiedPartName {
  color: #0F172A !important;
}

/* Dark Mode Explicit Text Color Guards on car.php */
html[data-theme="dark"] .specGridCell .cellText strong,
html[data-theme="dark"] .specGridCell strong,
html[data-theme="dark"] .koreaSpecCard strong,
html[data-theme="dark"] .specValue,
html[data-theme="dark"] .reportBtnText strong,
html[data-theme="dark"] .btnSidebarReport strong,
html[data-theme="dark"] .trustTitle,
html[data-theme="dark"] .priceSidebarBox .priceAmount,
html[data-theme="dark"] .carMainTitle,
html[data-theme="dark"] .optionsCardHeading h3,
html[data-theme="dark"] .blueprintHeader h2,
html[data-theme="dark"] .paiImportCardTitle,
html[data-theme="dark"] .optNameText,
html[data-theme="dark"] .verifiedPartName {
  color: #F8FAFC !important;
}
html[data-theme="dark"] .specGridCell .cellText small,
html[data-theme="dark"] .specGridCell small,
html[data-theme="dark"] .koreaSpecCard small,
html[data-theme="dark"] .specLabel,
html[data-theme="dark"] .reportBtnText small,
html[data-theme="dark"] .btnSidebarReport small,
html[data-theme="dark"] .trustSub,
html[data-theme="dark"] .priceSidebarBox .priceSubNote,
html[data-theme="dark"] .paiImportCardDesc {
  color: #94A3B8 !important;
}

/* Compact single-line microBadges without cropping */
.pckCardMicroBadges, .pckCardBadgesRow {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
  overflow: visible !important;
}
.pckCardMicroBadges .microBadge {
  height: 21px !important;
  padding: 0 5.5px !important;
  font-size: 10.5px !important;
  gap: 3px !important;
  flex-shrink: 1 !important;
}
html[data-theme="dark"] .microBadge.gray,
body.dark-mode .microBadge.gray {
  background: #1C1F26 !important;
  color: #D4D7DE !important;
  border: 1px solid #232730 !important;
}

/* Strict horizontal row alignment across all cards in a row (1-line vs 2-line titles) */
.pckCardBody {
  display: flex !important;
  flex-direction: column !important;
}
.pckCardTitleLink {
  display: block !important;
  min-height: 42px !important;
  margin-bottom: 4px !important;
}
.pckCardCarTitle {
  min-height: 42px !important;
  max-height: 42px !important;
  line-height: 21px !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.pckCardSpecsLine {
  min-height: 20px !important;
  line-height: 20px !important;
  margin: 0 0 8px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.pckCardMicroBadges, .pckCardBadgesRow {
  min-height: 22px !important;
  height: 22px !important;
  margin: 0 0 10px 0 !important;
}
.pckCardPriceRow {
  margin-top: auto !important;
}

/* === PROAUTOIMPORT DARK MODE DROPDOWN OPTIONS, BRAND LOGOS & MODAL SCROLLBARS === */
html[data-theme="dark"] .pckCustomDropdownMenu,
html[data-theme="dark"] .drawerField .pckCustomDropdownMenu,
html[data-theme="dark"] #modalBrandDropdownMenu,
body.dark-mode .pckCustomDropdownMenu,
body.dark-mode .drawerField .pckCustomDropdownMenu,
body.dark-mode #modalBrandDropdownMenu,
body.pai-dark .pckCustomDropdownMenu,
body.pai-dark .drawerField .pckCustomDropdownMenu,
body.pai-dark #modalBrandDropdownMenu {
  background: #161920 !important;
  background-color: #161920 !important;
  border-color: #2B303C !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.78) !important;
}
html[data-theme="dark"] .pckDropdownSearchWrap,
html[data-theme="dark"] .drawerField .pckDropdownSearchWrap,
html[data-theme="dark"] #modalBrandDropdownMenu .pckDropdownSearchWrap,
body.dark-mode .pckDropdownSearchWrap,
body.dark-mode .drawerField .pckDropdownSearchWrap,
body.dark-mode #modalBrandDropdownMenu .pckDropdownSearchWrap {
  background: #14161B !important;
  background-color: #14161B !important;
  border-bottom-color: #232730 !important;
}
html[data-theme="dark"] .pckDropdownSearchWrap input,
html[data-theme="dark"] #modalBrandSearchInput,
body.dark-mode .pckDropdownSearchWrap input,
body.dark-mode #modalBrandSearchInput {
  background: #1C1F26 !important;
  background-color: #1C1F26 !important;
  border-color: #2B303C !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .pckDropdownOptionsList,
html[data-theme="dark"] .drawerField .pckDropdownOptionsList,
html[data-theme="dark"] #modalBrandOptionsList,
body.dark-mode .pckDropdownOptionsList,
body.dark-mode .drawerField .pckDropdownOptionsList,
body.dark-mode #modalBrandOptionsList,
body.pai-dark .pckDropdownOptionsList,
body.pai-dark .drawerField .pckDropdownOptionsList,
body.pai-dark #modalBrandOptionsList {
  background: #161920 !important;
  background-color: #161920 !important;
  scrollbar-color: #323744 #0B0C0F !important;
}
html[data-theme="dark"] .pckDropdownOption,
html[data-theme="dark"] .drawerField .pckDropdownOption,
html[data-theme="dark"] #modalBrandOptionsList .pckDropdownOption,
body.dark-mode .pckDropdownOption,
body.dark-mode .drawerField .pckDropdownOption,
body.dark-mode #modalBrandOptionsList .pckDropdownOption,
body.pai-dark .pckDropdownOption,
body.pai-dark .drawerField .pckDropdownOption,
body.pai-dark #modalBrandOptionsList .pckDropdownOption {
  background: transparent !important;
  background-color: transparent !important;
  color: #E2E8F0 !important;
}
html[data-theme="dark"] .pckDropdownOption .optionTitle,
html[data-theme="dark"] .drawerField .pckDropdownOption .optionTitle,
body.dark-mode .pckDropdownOption .optionTitle,
body.dark-mode .drawerField .pckDropdownOption .optionTitle {
  color: #F8FAFC !important;
}
html[data-theme="dark"] .pckDropdownOption .optionCount,
html[data-theme="dark"] .drawerField .pckDropdownOption .optionCount,
body.dark-mode .pckDropdownOption .optionCount,
body.dark-mode .drawerField .pckDropdownOption .optionCount {
  color: #94A3B8 !important;
}
html[data-theme="dark"] .pckDropdownOption:hover,
html[data-theme="dark"] .drawerField .pckDropdownOption:hover,
html[data-theme="dark"] #modalBrandOptionsList .pckDropdownOption:hover,
body.dark-mode .pckDropdownOption:hover,
body.dark-mode .drawerField .pckDropdownOption:hover,
body.dark-mode #modalBrandOptionsList .pckDropdownOption:hover {
  background: #232730 !important;
  background-color: #232730 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .pckDropdownOption.active,
html[data-theme="dark"] .drawerField .pckDropdownOption.active,
html[data-theme="dark"] #modalBrandOptionsList .pckDropdownOption.active,
body.dark-mode .pckDropdownOption.active,
body.dark-mode .drawerField .pckDropdownOption.active,
body.dark-mode #modalBrandOptionsList .pckDropdownOption.active {
  background: rgba(37, 99, 235, 0.24) !important;
  background-color: rgba(37, 99, 235, 0.24) !important;
  color: #60A5FA !important;
}
html[data-theme="dark"] .pckDropdownOption.active .optionTitle,
html[data-theme="dark"] .drawerField .pckDropdownOption.active .optionTitle,
body.dark-mode .pckDropdownOption.active .optionTitle,
body.dark-mode .drawerField .pckDropdownOption.active .optionTitle {
  color: #FFFFFF !important;
}
/* Make monochrome black SVG brand logos crisp silver-white on Dark Mode backgrounds */
html[data-theme="dark"] .pckBrandOptionLogo,
body.dark-mode .pckBrandOptionLogo,
body.pai-dark .pckBrandOptionLogo {
  filter: brightness(0) invert(1) opacity(0.93) !important;
}
/* Dark scrollbars inside modal & dropdown lists */
html[data-theme="dark"] .filterModalDialog,
body.dark-mode .filterModalDialog {
  scrollbar-width: thin;
  scrollbar-color: #1E222B #0B0C0F;
}
html[data-theme="dark"] .filterModalDialog::-webkit-scrollbar,
html[data-theme="dark"] .pckDropdownOptionsList::-webkit-scrollbar,
body.dark-mode .filterModalDialog::-webkit-scrollbar,
body.dark-mode .pckDropdownOptionsList::-webkit-scrollbar {
  width: 6px;
}
html[data-theme="dark"] .filterModalDialog::-webkit-scrollbar-track,
html[data-theme="dark"] .pckDropdownOptionsList::-webkit-scrollbar-track,
body.dark-mode .filterModalDialog::-webkit-scrollbar-track,
body.dark-mode .pckDropdownOptionsList::-webkit-scrollbar-track {
  background: #0B0C0F !important;
}
html[data-theme="dark"] .filterModalDialog::-webkit-scrollbar-thumb,
html[data-theme="dark"] .pckDropdownOptionsList::-webkit-scrollbar-thumb,
body.dark-mode .filterModalDialog::-webkit-scrollbar-thumb,
body.dark-mode .pckDropdownOptionsList::-webkit-scrollbar-thumb {
  background: #1E222B !important;
  border-radius: 6px;
}

/* === MOBILE CARD TITLE FONT SIZE BOOST === */
@media (max-width: 768px) {
  .pckCardTitleLink {
    min-height: 0 !important;
    margin-bottom: 6px !important;
  }
  .pckCardCarTitle,
  h3.pckCardCarTitle {
    font-size: 18.5px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    min-height: 0 !important;
    max-height: 48px !important;
    margin: 0 !important;
  }
  .pckCardSpecsLine {
    font-size: 13.5px !important;
  }
}

/* === MOBILE HERO DROPDOWN & PAGE OVERFLOW LOCK === */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
@media (max-width: 768px) {
  .pckHeroWrap, .pckMainContainer, .pckConsoleCard, .pckConsoleGrid {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Left-column hero dropdowns open inward to the right */
  #brandDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap:nth-child(odd) .pckCustomDropdownMenu {
    left: 0 !important;
    right: auto !important;
    width: min(265px, calc(100vw - 36px)) !important;
    min-width: min(240px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
  }
  /* Right-column hero dropdowns (e.g. Modeli) anchor to right:0 and open inward to the left! */
  #heroModelDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap:nth-child(2) .pckCustomDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap:nth-child(even) .pckCustomDropdownMenu {
    right: 0 !important;
    left: auto !important;
    width: min(265px, calc(100vw - 36px)) !important;
    min-width: min(240px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
  }
  /* Full-width row (3rd child Versioni/Paketa if spanning 2 cols) stays 100% width */
  #heroVariantDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap[style*="1 / -1"] .pckCustomDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap.fullRow .pckCustomDropdownMenu {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* === TRUE GEOMETRIC 50% CENTER FOR PC TOP NAVBAR MENU & UNIFIED SINGLE TOOLBAR ROW === */
@media (min-width: 992px) {
  .pckHeaderInner,
  .pai-topbar-inner,
  .topBarInner {
    position: relative !important;
  }
  .pckNavMenu,
  .pai-nav-links,
  header nav.pckNavMenu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    width: max-content !important;
    z-index: 2;
  }
}
.pckSearchHeaderInner {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.pckQuickFiltersWrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
.pckToolbarRightGroup {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
}
@media (max-width: 768px) {
  .pckToolbarRightGroup {
    width: 100% !important;
    justify-content: space-between !important;
    margin-top: 4px !important;
  }
}



/* === MOBILE INVENTORY TOOLBAR CLEAN 2-ROW LAYOUT (2026-11-30) === */
@media (max-width: 768px) {
  .pckSearchHeaderBanner {
    padding: 12px 14px 8px !important;
  }
  .pckSearchHeaderInner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 0 !important;
  }
  .pckSearchHeaderInner > .pckQuickFiltersWrap {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .pckSearchHeaderInner > .pckQuickFiltersWrap .btnPckQuickFilterPill {
    width: 100% !important;
    justify-content: center !important;
    height: 38px !important;
    font-size: 13px !important;
    padding: 0 12px !important;
    margin: 0 !important;
  }
  .pckSearchHeaderInner > .pckQuickFiltersWrap .btnPckDetailedFilterOrange {
    order: 3 !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    justify-content: center !important;
    height: 40px !important;
    font-size: 13.5px !important;
    padding: 0 16px !important;
    margin: 0 !important;
  }
  .pckSearchHeaderInner > .pckAppliedFiltersWrap {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 2px 0 4px !important;
    margin: 0 !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup {
    order: 3 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    padding: 4px 0 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsCountText {
    width: auto !important;
    flex: 0 1 auto !important;
    font-size: 13.5px !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsSortWrap {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup .pckSortSelect {
    width: auto !important;
    min-width: 136px !important;
    max-width: 170px !important;
    height: 36px !important;
    padding: 0 28px 0 12px !important;
    font-size: 13px !important;
    margin: 0 !important;
  }
}


/* === UNIFIED PC & MOBILE TOOLBAR, LIGHT-BLUE CHIPS & MOBILE FIXES (2026-11-30 v7) === */

/* 1. Remove blue glow/underline under Kërkim i detajuar */
.btnPckDetailedFilterOrange,
.pckSearchHeaderInner .btnPckDetailedFilterOrange,
.btnPckDetailedFilterOrange:hover,
.btnPckDetailedFilterOrange:focus {
  box-shadow: none !important;
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

/* 2. Light-blue tint for active filter chips (BMW, 5 Series, Nga 30,000 KM, Naftë) */
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1E40AF !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip:hover,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip:hover {
  background: #DBEAFE !important;
  border-color: #93C5FD !important;
  color: #1D4ED8 !important;
}
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary {
  background: #DBEAFE !important;
  border: 1.5px solid #60A5FA !important;
  color: #1E3A8A !important;
  font-weight: 800 !important;
}
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon {
  color: #3B82F6 !important;
  background: rgba(59, 130, 246, 0.12) !important;
}

html[data-theme="dark"] .pckAppliedFiltersWrap .btnActiveFilterChip,
body.dark-mode .pckAppliedFiltersWrap .btnActiveFilterChip,
body.pai-dark .pckAppliedFiltersWrap .btnActiveFilterChip {
  background: rgba(37, 99, 235, 0.16) !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  color: #93C5FD !important;
  font-weight: 700 !important;
}
html[data-theme="dark"] .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary,
body.dark-mode .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary,
body.pai-dark .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary {
  background: rgba(37, 99, 235, 0.26) !important;
  border: 1.5px solid rgba(96, 165, 250, 0.55) !important;
  color: #DBEAFE !important;
  font-weight: 800 !important;
}

/* 3. Solid opaque dark background on E VERIFIKUAR badge so dealer watermarks never bleed through */
.proBadgeVerified,
.pckCardTopBadges .proBadgeVerified {
  background: #0B0C0F !important;
  background-color: #0B0C0F !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid #1E222B !important;
  color: #F8FAFC !important;
  opacity: 1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45) !important;
}

/* 4. Desktop (>= 769px) Inventory Toolbar Layout:
   Row 1: [Me Zbritje] [Pa Aksident] on Left  ---  Duke shfaqur X vetura [Më të fundit ▾] [Kërkim i detajuar] on Right
   Row 2: Active Filter Chips ([BMW x] [5 Series x] ... [Pastro të gjitha]) on their own row underneath! */
@media (min-width: 769px) {
  .pckSearchHeaderInner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }
  .pckSearchHeaderInner > .pckQuickFiltersWrap {
    order: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-right: auto !important;
    width: auto !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup {
    order: 2 !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
  }
  .pckSearchHeaderInner > .btnPckDetailedFilterOrange {
    order: 3 !important;
    margin-left: 2px !important;
    height: 38px !important;
    padding: 0 16px !important;
    font-size: 13.5px !important;
    width: auto !important;
  }
  .pckSearchHeaderInner > .pckAppliedFiltersWrap {
    order: 4 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    padding-top: 4px !important;
    margin: 0 !important;
  }
}

/* 5. Mobile (<= 768px) Inventory Toolbar & Compact Single-Line WhatsApp Button */
@media (max-width: 768px) {
  /* Compact single-line WhatsApp Direkt pill in mobile navbar */
  .pckHeaderRight {
    gap: 6px !important;
  }
  .pckHeaderContactPill {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }
  .pckHeaderContactPill .pckPillWaDot {
    width: 6px !important;
    height: 6px !important;
    flex-shrink: 0 !important;
  }
  .proThemeToggleBtn,
  .pckMobileMenuBtn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  /* Tight mobile toolbar container */
  .pckSearchHeaderBanner {
    padding: 10px 12px 6px !important;
  }
  .pckSearchHeaderInner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Row 1: [Me Zbritje] [Pa Aksident] 50% / 50% */
  .pckSearchHeaderInner > .pckQuickFiltersWrap {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }
  .pckSearchHeaderInner > .pckQuickFiltersWrap .btnPckQuickFilterPill {
    width: 100% !important;
    justify-content: center !important;
    height: 36px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Row 2: [Kërkim i detajuar] full width directly under Row 1 */
  .pckSearchHeaderInner > .btnPckDetailedFilterOrange {
    order: 2 !important;
    width: 100% !important;
    justify-content: center !important;
    height: 38px !important;
    font-size: 13.5px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Row 3: Active Filter Chips (BMW, 5 Series, etc.) RIGHT BELOW Kërkim i detajuar, 2 per line! */
  .pckSearchHeaderInner > .pckAppliedFiltersWrap {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .pckSearchHeaderInner > .pckAppliedFiltersWrap .btnActiveFilterChip {
    width: 100% !important;
    min-width: 0 !important;
    height: 35px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .pckSearchHeaderInner > .pckAppliedFiltersWrap .btnActiveFilterChip span:not(.chipRemoveIcon) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  /* When there is an odd number of filter chips (1, 3, 5...), the primary brand chip (BMW) spans full-width on top right under Kërkim i detajuar! */
  .pckSearchHeaderInner > .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary:first-child:nth-last-child(even) {
    grid-column: 1 / -1 !important;
  }
  /* Pastro të gjitha always spans full width across both columns at the bottom of the chips */
  .pckSearchHeaderInner > .pckAppliedFiltersWrap .btnActiveFilterClearAll {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    height: 36px !important;
    justify-content: center !important;
    font-size: 13px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Row 4: Duke shfaqur X vetura (left) + [Më të fundit ▾] (right, fitting cleanly inside viewport!) */
  .pckSearchHeaderInner > .pckToolbarRightGroup {
    order: 4 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    padding: 2px 0 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsCountText {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 13px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsSortWrap {
    width: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup .pckSortSelect {
    width: auto !important;
    min-width: 0 !important;
    max-width: 148px !important;
    height: 34px !important;
    padding: 0 24px 0 10px !important;
    font-size: 12.5px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}


/* === PC TOOLBAR UNIFORM 40PX BOX HEIGHT & ALIGNMENT (2026-11-30 v8) === */
@media (min-width: 769px) {
  .pckSearchHeaderInner > .pckQuickFiltersWrap .btnPckQuickFilterPill,
  .pckSearchHeaderInner > .pckToolbarRightGroup .pckSortSelect,
  .pckSearchHeaderInner > .btnPckDetailedFilterOrange,
  .pckSearchHeaderInner > .pckAppliedFiltersWrap .btnActiveFilterChip,
  .pckSearchHeaderInner > .pckAppliedFiltersWrap .btnActiveFilterClearAll {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    font-size: 13.5px !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .pckSearchHeaderInner > .pckQuickFiltersWrap .btnPckQuickFilterPill,
  .pckSearchHeaderInner > .btnPckDetailedFilterOrange {
    padding: 0 16px !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup .pckSortSelect {
    padding: 0 32px 0 14px !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup,
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsSortWrap,
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsSortWrap form {
    display: inline-flex !important;
    align-items: center !important;
    height: 40px !important;
    margin: 0 !important;
  }
}


/* === BRAND LOGO VISIBILITY IN FILTER CHIPS & UNIFORM LIGHT-BLUE CHIPS (2026-11-30 v9) === */
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip,
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1E40AF !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip:hover,
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary:hover,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip:hover,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary:hover {
  background: #DBEAFE !important;
  border-color: #93C5FD !important;
  color: #1D4ED8 !important;
}

/* Make brand logos (Audi, BMW, Mercedes, Hyundai, Kia, etc.) dark & crisp in Light Mode! */
html[data-theme="light"] .btnActiveFilterChip .chipBrandLogo,
html[data-theme="light"] .pckBrandOptionLogo,
body:not(.dark-mode):not(.pai-dark) .btnActiveFilterChip .chipBrandLogo,
body:not(.dark-mode):not(.pai-dark) .pckBrandOptionLogo {
  filter: none !important;
  opacity: 0.92 !important;
}

/* Keep brand logos crisp silver-white in Dark Mode */
html[data-theme="dark"] .btnActiveFilterChip .chipBrandLogo,
html[data-theme="dark"] .pckBrandOptionLogo,
body.dark-mode .btnActiveFilterChip .chipBrandLogo,
body.dark-mode .pckBrandOptionLogo,
body.pai-dark .btnActiveFilterChip .chipBrandLogo,
body.pai-dark .pckBrandOptionLogo {
  filter: brightness(0) invert(1) opacity(0.93) !important;
}

/* Uniform Dark Mode active filter chips */
html[data-theme="dark"] .pckAppliedFiltersWrap .btnActiveFilterChip,
html[data-theme="dark"] .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary,
body.dark-mode .pckAppliedFiltersWrap .btnActiveFilterChip,
body.dark-mode .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary,
body.pai-dark .pckAppliedFiltersWrap .btnActiveFilterChip,
body.pai-dark .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary {
  background: rgba(37, 99, 235, 0.16) !important;
  border: 1px solid rgba(59, 130, 246, 0.38) !important;
  color: #93C5FD !important;
  font-weight: 700 !important;
}

/* Clean X remove icon without extra square background box */
.pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon,
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon,
html[data-theme="dark"] .pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon {
  background: transparent !important;
  color: currentColor !important;
  opacity: 0.72 !important;
  width: 16px !important;
  height: 16px !important;
}
.pckAppliedFiltersWrap .btnActiveFilterChip:hover .chipRemoveIcon {
  opacity: 1 !important;
  color: #EF4444 !important;
  background: transparent !important;
}


/* === MOBILE HERO SEARCH EVEN 50/50 COLUMNS & FULL-CARD-WIDTH DROPDOWN POPUPS (2026-11-30 v10) === */
@media (max-width: 768px) {
  .pckConsoleGrid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .pckConsoleGrid > .pckFieldWrap,
  .pckConsoleGrid > .pckFieldWrap > .pckCustomDropdownWrap {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .pckConsoleGrid .pckCustomSelectTrigger {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  .pckConsoleGrid .pckCustomSelectTrigger .triggerText,
  .pckConsoleGrid .pckCustomSelectTrigger #brandTriggerText,
  .pckConsoleGrid .pckCustomSelectTrigger #heroModelTriggerText,
  .pckConsoleGrid .pckCustomSelectTrigger #heroVariantTriggerText {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 13px !important;
  }
  .pckConsoleGrid .pckCustomSelectTrigger .triggerContent {
    min-width: 0 !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  /* Left-column hero dropdowns (1st, 3rd, 5th, 7th field) span full 2-column grid width from left: 0 */
  #brandDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap:nth-child(odd) .pckCustomDropdownMenu {
    left: 0 !important;
    right: auto !important;
    width: calc(200% + 10px) !important;
    min-width: calc(200% + 10px) !important;
    max-width: calc(200% + 10px) !important;
    box-sizing: border-box !important;
  }

  /* Right-column hero dropdowns (2nd, 4th, 6th, 8th field, e.g. Modeli) span full 2-column grid width from right: 0 */
  #heroModelDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap:nth-child(2) .pckCustomDropdownMenu,
  .pckConsoleGrid > .pckFieldWrap:nth-child(even) .pckCustomDropdownMenu {
    right: 0 !important;
    left: auto !important;
    width: calc(200% + 10px) !important;
    min-width: calc(200% + 10px) !important;
    max-width: calc(200% + 10px) !important;
    box-sizing: border-box !important;
  }
}


/* === TRUE 50% GEOMETRIC CENTER FOR PC TOP NAVBAR (.pckHeaderContainer) (2026-11-30 v11) === */
@media (min-width: 961px) {
  .pckGlobalHeader .pckHeaderContainer,
  header.pckGlobalHeader .pckHeaderContainer,
  .pckHeaderContainer,
  .pckHeaderInner,
  .pai-topbar-inner,
  .topBarInner {
    position: relative !important;
  }
  .pckGlobalHeader .pckNavMenu,
  header.pckGlobalHeader nav.pckNavMenu,
  .pckNavMenu,
  .pai-nav-links {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    width: max-content !important;
    z-index: 5 !important;
  }
}
.paiImportRefTag {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}


/* === V12 UNIFORM LIGHT-BLUE CHIPS & CRISP BRAND LOGOS === */
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip,
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1E40AF !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip:hover,
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary:hover,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip:hover,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip.chipBrandPrimary:hover {
  background: #DBEAFE !important;
  border-color: #93C5FD !important;
  color: #1D4ED8 !important;
}
html[data-theme="light"] .btnActiveFilterChip .chipBrandLogo,
html[data-theme="light"] .pckBrandOptionLogo,
body:not(.dark-mode):not(.pai-dark) .btnActiveFilterChip .chipBrandLogo,
body:not(.dark-mode):not(.pai-dark) .pckBrandOptionLogo {
  filter: none !important;
  opacity: 0.92 !important;
}
.pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon,
html[data-theme="light"] .pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon,
html[data-theme="dark"] .pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon,
body:not(.dark-mode):not(.pai-dark) .pckAppliedFiltersWrap .btnActiveFilterChip .chipRemoveIcon {
  background: transparent !important;
  color: currentColor !important;
  opacity: 0.72 !important;
  width: 16px !important;
  height: 16px !important;
}


/* === CLIENT FEEDBACK POLISH (2026-12-01 v13) === */

/* 1. Expand Hero Section height & prevent Prodhuesi/Modeli dropdown clipping */
.pckHeroWrapper,
html[data-theme="light"] .pckHeroWrapper,
html[data-theme="dark"] .pckHeroWrapper {
  overflow: visible !important;
  z-index: 25 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
@media (min-width: 769px) {
  .pckHeroWrapper,
  html[data-theme="light"] .pckHeroWrapper,
  html[data-theme="dark"] .pckHeroWrapper {
    min-height: 620px !important;
    padding: 80px 20px 88px !important;
  }
}
@media (max-width: 768px) {
  .pckHeroWrapper,
  html[data-theme="light"] .pckHeroWrapper,
  html[data-theme="dark"] .pckHeroWrapper {
    min-height: 490px !important;
    padding: 46px 14px 56px !important;
  }
}
.pckHeroInner {
  overflow: visible !important;
}
.pckMainContentSection,
.pckSearchMainSection {
  position: relative;
  z-index: 5;
}

/* 2. PC Toolbar:
   Left:  [Me Zbritje] [Pa Aksident] [Pastro të gjitha (X)]
   Right: Duke shfaqur X vetura  [Kërkim i detajuar]  [Më të fundit ▾]
   Row 2: Active filter chips only ([BMW x] [5 Series x] ...) */
@media (min-width: 769px) {
  .btnClearAllDesktop {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    height: 40px !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    font-size: 13.5px !important;
    margin: 0 !important;
  }
  .pckAppliedFiltersWrap .btnActiveFilterClearAll {
    display: none !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup {
    display: contents !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsCountText {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 40px !important;
  }
  .pckSearchHeaderInner > .btnPckDetailedFilterOrange {
    order: 3 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .pckSearchHeaderInner > .pckToolbarRightGroup > .pckListingsSortWrap {
    order: 4 !important;
    margin-left: 0 !important;
  }
  .pckSearchHeaderInner > .pckAppliedFiltersWrap {
    order: 5 !important;
  }
}
@media (max-width: 768px) {
  .btnClearAllDesktop {
    display: none !important;
  }
}

/* 3. Crisp Bright White Footer Text ("tekstet e bardha") */
footer.pckGlobalFooter,
.pckGlobalFooter,
.pckGlobalFooter p,
.pckGlobalFooter .footerDesc,
.pckGlobalFooter .footerBrandDesc,
.pckGlobalFooter .footerLinksCol a,
.pckGlobalFooter .footerMarketInfo,
.pckGlobalFooter .footerMarketInfo div,
.pckGlobalFooter .footerMarketInfo span,
.pckGlobalFooter .footerBottomBar,
.pckGlobalFooter .footerBottomBar span {
  color: #F1F5F9 !important;
  opacity: 1 !important;
}
.pckGlobalFooter .footerHeading,
.pckGlobalFooter h4 {
  color: #FFFFFF !important;
}
.pckGlobalFooter .footerLinksCol a:hover {
  color: #60A5FA !important;
}

/* 4. Dark Mode Kontakti WhatsApp message card */
html[data-theme="dark"] .contactFormCard,
html[data-theme="dark"] .contactRightCard,
html[data-theme="dark"] .contactMessageCard,
body.dark-mode .contactFormCard,
body.dark-mode .contactRightCard {
  background: #14161B !important;
  border-color: #232730 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .contactFormCard h3,
html[data-theme="dark"] .contactRightCard h3,
html[data-theme="dark"] .infoPageWrapper h3,
body.dark-mode .infoPageWrapper h3 {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .contactFormCard p,
html[data-theme="dark"] .contactRightCard p,
html[data-theme="dark"] .infoPageWrapper p,
body.dark-mode .infoPageWrapper p {
  color: #CBD5E1 !important;
}


/* === V14 HIDE DUPLICATE DESKTOP PASTRO & CLEAN COUNT GAP (2026-12-01) === */
.pckListingsCountText {
  gap: 5px !important;
}
@media (min-width: 769px) {
  .pckSearchHeaderInner > .pckAppliedFiltersWrap > .btnActiveFilterClearAll,
  .pckSearchHeaderInner > .pckAppliedFiltersWrap .btnActiveFilterClearAll {
    display: none !important;
  }
  .pckSearchHeaderInner > .pckAppliedFiltersWrap:not(:has(.btnActiveFilterChip)) {
    display: none !important;
  }
}

/* === V15 CAR DETAIL & INSPECTION UI POLISH (2026-12-01) === */

/* Fix 2: Single-line VIN (17 chars fit cleanly on 1 line on mobile & desktop) & single-line Albanian Color */
.specGridCell .cellText strong.paiVinValue,
.specValue.paiVinValue {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 12.5px !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  flex-wrap: nowrap !important;
}
@media (max-width: 768px) {
  .specGridCell .cellText strong.paiVinValue,
  .specValue.paiVinValue {
    font-size: 11.5px !important;
    letter-spacing: -0.025em !important;
  }
  .koreaSpecCardVin,
  .specGridCell.koreaSpecCardVin {
    padding: 10px 8px !important;
    gap: 7px !important;
  }
}
@media (max-width: 440px) {
  .specGridCell .cellText strong.paiVinValue,
  .specValue.paiVinValue {
    font-size: clamp(9.5px, 2.65vw, 11.5px) !important;
    letter-spacing: -0.03em !important;
  }
  .koreaSpecCardVin .paiSpecIconBox,
  .koreaSpecCardVin .specIconBox {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
  }
  .koreaSpecCardVin .paiSpecIconBox svg,
  .koreaSpecCardVin .specIconBox svg {
    width: 13px !important;
    height: 13px !important;
  }
}

.specGridCell .cellText strong.paiColorSpecValue,
.specValue.paiColorSpecValue {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  white-space: nowrap !important;
}
.specGridCell .cellText strong.paiColorSpecValue .paiColorDot,
.specValue.paiColorSpecValue .paiColorDot {
  flex-shrink: 0 !important;
}

/* Fix 3: Prevent mobile clipping of "1 Panel me Shënim" / "100% e Pastër" badge in inspection diagram cards */
@media (max-width: 768px) {
  .pai-bp-card {
    padding: 14px 12px !important;
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .pai-bp-card-head {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }
  .pai-bp-card-title {
    min-width: 0 !important;
    flex: 1 1 100% !important;
    align-items: flex-start !important;
  }
  .pai-bp-card-title > div {
    min-width: 0 !important;
    flex: 1 !important;
  }
  .pai-bp-card-title h4,
  .pai-bp-card-title small {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .pai-bp-card-badge {
    max-width: 100% !important;
    white-space: nowrap !important;
    align-self: flex-start !important;
    margin-left: 38px !important;
    box-sizing: border-box !important;
  }
}

/* Fix 4: Left-align inspection legend rows (N, R, K, G, P) in a razor-straight vertical column on mobile */
@media (max-width: 768px) {
  .pai-bp-legend,
  .pai-legend-bar,
  .legendBar {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 14px 16px !important;
  }
  .pai-bp-legend-item,
  .pai-legend-item,
  .legendItem {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    text-align: left !important;
  }
  .pai-bp-legend-dot,
  .pai-legend-dot,
  .legendDot {
    flex-shrink: 0 !important;
  }
  .pai-bp-legend-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
}

/* Fix 5: Standard Site Navigation Menu + Mobile Hamburger & Slide-Out Drawer for inspektimi.php & raporti.php */
.pckMobileMenuBtn .hamburgerLine {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  border-radius: 2px !important;
}
.mobileNavDrawerContent {
  width: 86% !important;
  max-width: 340px !important;
  min-width: 270px !important;
  height: 100dvh !important;
  box-sizing: border-box !important;
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.35) !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  overflow-y: auto !important;
}
.mobileNavHeader {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 14px !important;
}
html[data-theme="light"] .mobileNavHeader {
  border-bottom: 1px solid #E2E8F0 !important;
}
html[data-theme="dark"] .mobileNavHeader {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
.mobileNavClose {
  border: none !important;
  font-size: 22px !important;
  line-height: 1 !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html[data-theme="light"] .mobileNavClose {
  background: #F1F5F9 !important;
  color: #0F172A !important;
}
html[data-theme="dark"] .mobileNavClose {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
}
.mobileNavLinks {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}
.mobileNavLink {
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Report pages (inspektimi.php & raporti.php) topbar responsive polish */
.pai-topbar-inner {
  max-width: 1360px !important;
}
@media (min-width: 961px) and (max-width: 1300px) {
  .pai-topbar .pai-nav-links {
    gap: 2px !important;
  }
  .pai-topbar .pai-nav-link {
    font-size: 13px !important;
    padding: 7px 8px !important;
  }
  .pai-topbar #copyReportLinkBtn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
  }
  .pai-topbar #copyReportLinkText {
    display: none !important;
  }
}
@media (max-width: 960px) {
  .pai-topbar .pai-nav-links,
  .pai-topbar nav.pckNavMenu {
    display: none !important;
  }
  .pai-topbar .pckMobileMenuBtn {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }
  .pai-topbar #copyReportLinkBtn {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
  }
  .pai-topbar #copyReportLinkText {
    display: none !important;
  }
  .pai-topbar .pai-actions-bar {
    gap: 6px !important;
  }
}
@media (max-width: 480px) {
  .pai-topbar-inner {
    padding: 8px 10px !important;
    gap: 6px !important;
  }
  .pai-topbar .pai-brand img {
    width: 38px !important;
    height: 38px !important;
  }
  .pai-topbar .pai-btn-primary {
    padding: 7px 9px !important;
    font-size: 11.5px !important;
  }
}


/* === HERO PLATE & SEARCH-BAR PERFECT FRAMING (2026-12-01 v15) === */
@media (min-width: 769px) {
  .pckHeroWrapper,
  html[data-theme="light"] .pckHeroWrapper,
  html[data-theme="dark"] .pckHeroWrapper {
    min-height: 600px !important;
    padding: 48px 20px 132px !important;
    justify-content: flex-start !important;
  }
  html[data-theme="light"] .pckHeroWrapper {
    background-position: center 36% !important;
  }
  html[data-theme="dark"] .pckHeroWrapper {
    background-position: center 40% !important;
  }
}


/* === V16 DARK MODE MODAL CHECKBOX PILLS CONTRAST FIX (2026-12-01) === */
html[data-theme="dark"] .modalCheckPill.modalCheckDiscount,
body.dark-mode .modalCheckPill.modalCheckDiscount,
body.pai-dark .modalCheckPill.modalCheckDiscount {
  background: rgba(37, 99, 235, 0.16) !important;
  border: 1px solid rgba(59, 130, 246, 0.42) !important;
  color: #DBEAFE !important;
}
html[data-theme="dark"] .modalCheckPill.modalCheckNew,
body.dark-mode .modalCheckPill.modalCheckNew,
body.pai-dark .modalCheckPill.modalCheckNew {
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(52, 211, 153, 0.38) !important;
  color: #D1FAE5 !important;
}
html[data-theme="light"] .modalCheckPill.modalCheckDiscount,
body.light-mode .modalCheckPill.modalCheckDiscount {
  background: #EFF6FF !important;
  border: 1px solid #BFDBFE !important;
  color: #1D4ED8 !important;
}
html[data-theme="light"] .modalCheckPill.modalCheckNew,
body.light-mode .modalCheckPill.modalCheckNew {
  background: #F0FDF4 !important;
  border: 1px solid #BBF7D0 !important;
  color: #15803D !important;
}


/* === V18 COMPACT HERO REEL CARD (2026-12-01) === */
.paiHeroReelWrap {
  width: 100% !important;
  max-width: 540px !important;
  margin: 14px auto 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.34) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  aspect-ratio: 1200 / 512 !important;
  background: #1D4ED8 !important;
}
.paiHeroReelVideo {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}
@media (max-width: 768px) {
  .paiHeroReelWrap {
    max-width: 100% !important;
    margin: 10px auto 0 !important;
    border-radius: 12px !important;
  }
}


/* === V19 ULTRA-WIDE CINEMA HERO REEL & HEADLINE BELOW (2026-12-01) === */
.pckHeroBannerBox.proHeroExecutiveHeader {
  max-width: 1080px !important;
  width: 100% !important;
  margin: 0 auto 18px !important;
}
.paiHeroReelWrap {
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto 16px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  aspect-ratio: 1600 / 380 !important;
  background: #0F172A !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.30) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
}
@media (max-width: 768px) {
  .paiHeroReelWrap {
    max-width: 100% !important;
    aspect-ratio: 1600 / 540 !important;
    margin: 0 auto 12px !important;
    border-radius: 12px !important;
  }
}

/* === V20 HERO REEL SEAMLESS BLEND & RESPONSIVE DESKTOP/MOBILE (2026-12-01) === */
.paiHeroReelWrap {
  position: relative !important;
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto 16px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: none !important;
  background: #0B0C0F !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34) !important;
  -webkit-mask-image: linear-gradient(to bottom, #000000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000000 94%, transparent 100%);
}
.paiHeroReelWrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.28);
}
html[data-theme="dark"] .paiHeroReelWrap,
body.dark-mode .paiHeroReelWrap,
body.pai-dark .paiHeroReelWrap {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55) !important;
}
.paiHeroReelVideo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
@media (min-width: 769px) {
  .paiHeroReelWrap {
    aspect-ratio: 1600 / 380 !important;
  }
  .paiHeroReelDesktop {
    display: block !important;
  }
  .paiHeroReelMobile {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .paiHeroReelWrap {
    aspect-ratio: 900 / 480 !important;
    border-radius: 14px !important;
    margin: 0 auto 14px !important;
  }
  .paiHeroReelDesktop {
    display: none !important;
  }
  .paiHeroReelMobile {
    display: block !important;
  }
}


/* === V21 CRISP HERO REEL EDGES (NO BLURRY MASK) === */
.paiHeroReelWrap {
  mask-image: none !important;
  -webkit-mask-image: none !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.36) !important;
}
html[data-theme="dark"] .paiHeroReelWrap {
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.55) !important;
}


/* === V22 60FPS THEME-MATCHED KINETIC CINEMA SHOWCASE === */
.pckHeroBannerBox.proHeroExecutiveHeader {
  max-width: 1120px !important;
  width: 100% !important;
  margin: 0 auto 20px !important;
}

.paiCinemaReel {
  position: relative !important;
  width: 100% !important;
  max-width: 1120px !important;
  height: 300px !important;
  margin: 0 auto 18px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 22px 54px -18px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(15, 23, 42, 0.05) !important;
  text-align: left !important;
  isolation: isolate;
}

html[data-theme="dark"] .paiCinemaReel,
body.dark-mode .paiCinemaReel,
html.dark-theme .paiCinemaReel {
  background: #0B0C0F !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 26px 64px -16px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(59, 130, 246, 0.08) !important;
}

.paiCinemaStage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.paiCinemaSlide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s linear;
  will-change: opacity;
}

.paiCinemaSlide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.paiCinemaImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 58%;
  display: block;
  transform: scale(1.00) translate3d(0, 0, 0);
  will-change: transform;
}

.paiCinemaSlide.is-active .paiCinemaImg {
  animation: paiKenBurns 5.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes paiKenBurns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  100% { transform: scale(1.065) translate3d(-1.4%, -0.4%, 0); }
}

/* Instant Light / Dark photo switching */
.paiCinemaImgDark { display: none !important; }
.paiCinemaImgLight { display: block !important; }

html[data-theme="dark"] .paiCinemaImgLight,
body.dark-mode .paiCinemaImgLight,
html.dark-theme .paiCinemaImgLight { display: none !important; }

html[data-theme="dark"] .paiCinemaImgDark,
body.dark-mode .paiCinemaImgDark,
html.dark-theme .paiCinemaImgDark { display: block !important; }

/* Whisper-clean directional feather (LEFT ONLY on Desktop; NO dark top bar!) */
.paiCinemaVeil {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.78) 28%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0.00) 64%
  );
}

html[data-theme="dark"] .paiCinemaVeil,
body.dark-mode .paiCinemaVeil,
html.dark-theme .paiCinemaVeil {
  background: linear-gradient(90deg,
    rgba(11, 12, 15, 0.92) 0%,
    rgba(11, 12, 15, 0.70) 28%,
    rgba(11, 12, 15, 0.16) 48%,
    rgba(11, 12, 15, 0.00) 64%
  );
}

/* Kinetic Broadcast Typography Stage */
.paiCinemaCaptionWrap {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 46px 46px;
  max-width: 560px;
  pointer-events: none;
}

.paiCinemaCaption {
  position: absolute;
  left: 46px;
  right: 24px;
  top: 50%;
  transform: translateY(-54%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.paiCinemaCaption.is-active {
  opacity: 1;
}

/* 1. Glassmorphic Eyebrow Pill with Pulsing Live Dot */
.paiCinemaBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1D4ED8;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.24);
  margin-bottom: 14px;
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
}

html[data-theme="dark"] .paiCinemaBadge,
body.dark-mode .paiCinemaBadge,
html.dark-theme .paiCinemaBadge {
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.20);
  border: 1px solid rgba(96, 165, 250, 0.34);
}

.paiCinemaCaption.is-active .paiCinemaBadge {
  animation: paiSlideInLeft 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.06s forwards;
}

.paiCinemaDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563EB;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.65);
  animation: paiPulseDot 2s infinite;
}

html[data-theme="dark"] .paiCinemaDot,
body.dark-mode .paiCinemaDot,
html.dark-theme .paiCinemaDot {
  background: #60A5FA;
  box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.75);
}

.paiCinemaNum {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

.paiCinemaSep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

@keyframes paiPulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.65); }
  70%  { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes paiSlideInLeft {
  0%   { opacity: 0; transform: translate3d(-18px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* 2. Masked Kinetic Headline + Metallic Light-Flash Sweep */
.paiCinemaTitleMask {
  overflow: hidden;
  padding: 2px 0 4px;
}

.paiCinemaTitle {
  position: relative;
  display: inline-block;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(24px, 2.5vw, 35px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #0F172A;
  transform: translate3d(0, 115%, 0) skewY(2deg);
  opacity: 0;
  background-image: linear-gradient(110deg, #14161B 0%, #14161B 40%, #2563EB 50%, #14161B 60%, #14161B 100%);
  background-size: 240% 100%;
  background-position: 110% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .paiCinemaTitle,
body.dark-mode .paiCinemaTitle,
html.dark-theme .paiCinemaTitle {
  color: #FFFFFF;
  background-image: linear-gradient(110deg, #FFFFFF 0%, #FFFFFF 38%, #60A5FA 48%, #FFFFFF 54%, #E2E8F0 100%);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.paiCinemaCaption.is-active .paiCinemaTitle {
  animation:
    paiMaskRise 0.68s cubic-bezier(0.16, 1, 0.3, 1) 0.14s forwards,
    paiTextFlash 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.52s forwards;
}

@keyframes paiMaskRise {
  0%   { opacity: 0; transform: translate3d(0, 115%, 0) skewY(2deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) skewY(0deg); }
}

@keyframes paiTextFlash {
  0%   { background-position: 115% 0; }
  100% { background-position: -35% 0; }
}

/* 3. Expanding Electric-Blue Accent Beam */
.paiCinemaBeam {
  width: 52px;
  height: 3px;
  border-radius: 99px;
  margin: 11px 0 11px;
  background: linear-gradient(90deg, #2563EB 0%, #60A5FA 100%);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
}

.paiCinemaCaption.is-active .paiCinemaBeam {
  animation: paiBeamDraw 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

@keyframes paiBeamDraw {
  0%   { opacity: 0; transform: scaleX(0); }
  100% { opacity: 1; transform: scaleX(1); }
}

/* 4. Crisp Staggered Subtitle */
.paiCinemaSub {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #475569;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

html[data-theme="dark"] .paiCinemaSub,
body.dark-mode .paiCinemaSub,
html.dark-theme .paiCinemaSub {
  color: #CBD5E1;
}

.paiCinemaCaption.is-active .paiCinemaSub {
  animation: paiSubRise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.36s forwards;
}

@keyframes paiSubRise {
  0%   { opacity: 0; transform: translate3d(0, 12px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Minimal Interactive Indicator Pills (Bottom-Left on Desktop) */
.paiCinemaNav {
  position: absolute;
  left: 46px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
  z-index: 6;
}

.paiCinemaPill {
  width: 8px;
  height: 5px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

html[data-theme="dark"] .paiCinemaPill,
body.dark-mode .paiCinemaPill,
html.dark-theme .paiCinemaPill {
  background: rgba(255, 255, 255, 0.24);
}

.paiCinemaPill.is-active {
  width: 26px;
  background: #2563EB;
}

html[data-theme="dark"] .paiCinemaPill.is-active,
body.dark-mode .paiCinemaPill.is-active,
html.dark-theme .paiCinemaPill.is-active {
  background: #3B82F6;
}

/* === MOBILE IN-IMAGE KINETIC SHOWCASE (TEXT INSIDE PHOTO, ZERO TOP SHADOW, COMPACT ABOVE-THE-FOLD) === */
@media (max-width: 768px) {
  .paiCinemaReel {
    height: 224px !important;
    border-radius: 18px !important;
    margin: 0 auto 12px !important;
    display: block !important;
  }

  .paiCinemaStage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Push car slightly upper-right so bottom-left typography sits on clean floor/wall space */
  .paiCinemaImg {
    object-position: 76% 38% !important;
  }

  /* Soft bottom-left corner feather matching the theme — ZERO harsh top shadow bar! */
  .paiCinemaVeil {
    background:
      linear-gradient(0deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.72) 34%,
        rgba(255, 255, 255, 0.14) 58%,
        rgba(255, 255, 255, 0.00) 76%
      ),
      linear-gradient(90deg,
        rgba(255, 255, 255, 0.65) 0%,
        rgba(255, 255, 255, 0.18) 45%,
        rgba(255, 255, 255, 0.00) 75%
      ) !important;
  }

  html[data-theme="dark"] .paiCinemaVeil,
  body.dark-mode .paiCinemaVeil,
  html.dark-theme .paiCinemaVeil {
    background:
      linear-gradient(0deg,
        rgba(11, 12, 15, 0.94) 0%,
        rgba(11, 12, 15, 0.72) 34%,
        rgba(11, 12, 15, 0.14) 58%,
        rgba(11, 12, 15, 0.00) 76%
      ),
      linear-gradient(90deg,
        rgba(11, 12, 15, 0.62) 0%,
        rgba(11, 12, 15, 0.16) 45%,
        rgba(11, 12, 15, 0.00) 75%
      ) !important;
  }

  .paiCinemaCaptionWrap {
    position: relative !important;
    height: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .paiCinemaCaption {
    left: 16px !important;
    right: 16px !important;
    top: auto !important;
    bottom: 26px !important;
    transform: none !important;
  }

  .paiCinemaBadge {
    font-size: 9.5px !important;
    padding: 4px 10px !important;
    margin-bottom: 6px !important;
  }

  .paiCinemaTitle {
    font-size: 18px !important;
    line-height: 1.12 !important;
  }

  .paiCinemaBeam {
    width: 34px !important;
    height: 2.5px !important;
    margin: 5px 0 5px !important;
  }

  .paiCinemaSub {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .paiCinemaNav {
    left: 16px !important;
    bottom: 10px !important;
  }

  .paiCinemaPill {
    height: 4px !important;
  }
}
/* === V26 HERO VARIANT SWITCHER (V1 vs V2) + LUXURY COMMERCIAL MOTION BANNER === */
.pckHeroBannerBox.proHeroExecutiveHeader {
  max-width: 1120px !important;
  width: 100% !important;
  margin: 0 auto 18px !important;
}

.paiHeroSwitcherWrap {
  position: relative !important;
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto !important;
}

.paiHeroSwitcherWrap[data-active-hero="v1"] { max-width: 1120px !important; }
.paiHeroSwitcherWrap[data-active-hero="v2"] { max-width: 1080px !important; }
.paiHeroSwitcherWrap[data-active-hero="v2"] #paiCinemaReel { display: none !important; }
.paiHeroSwitcherWrap[data-active-hero="v1"] #paiMotionPromo { display: none !important; }

.paiHeroVariantToggle {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 30 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
  pointer-events: auto !important;
}

html[data-theme="dark"] .paiHeroVariantToggle,
body.dark-mode .paiHeroVariantToggle,
html.dark-theme .paiHeroVariantToggle {
  background: rgba(14, 16, 20, 0.82) !important;
  border: 1px solid rgba(96, 165, 250, 0.25) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.44) !important;
}

.paiVariantBtn {
  border: none !important;
  background: transparent !important;
  color: #475569 !important;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  line-height: 1 !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

html[data-theme="dark"] .paiVariantBtn,
body.dark-mode .paiVariantBtn,
html.dark-theme .paiVariantBtn { color: #94A3B8 !important; }
.paiVariantBtn:hover { color: #0F172A !important; }
html[data-theme="dark"] .paiVariantBtn:hover,
body.dark-mode .paiVariantBtn:hover,
html.dark-theme .paiVariantBtn:hover { color: #FFFFFF !important; }

.paiVariantBtn.is-active {
  background: #2563EB !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

/* V2 Calm Frosted Architectural Glass Stage */
.paiMotionPromo {
  position: relative !important;
  width: 100% !important;
  max-width: 1080px !important;
  height: 220px !important;
  margin: 0 auto 16px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  text-align: left !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    0 20px 50px -16px rgba(15, 23, 42, 0.16),
    0 4px 16px rgba(37, 99, 235, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98) !important;
  color: #0F172A;
  transform: translateZ(0);
}

html[data-theme="dark"] .paiMotionPromo,
body.dark-mode .paiMotionPromo,
html.dark-theme .paiMotionPromo,
html.pai-dark .paiMotionPromo {
  background: rgba(11, 12, 15, 0.96) !important;
  border: 1px solid rgba(59, 130, 246, 0.26) !important;
  box-shadow:
    0 24px 60px -14px rgba(0, 0, 0, 0.68),
    0 0 24px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  color: #F8FAFC;
}

.paiMotionGlowEdge {
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  z-index: 6 !important;
  pointer-events: none !important;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

html[data-theme="dark"] .paiMotionGlowEdge,
body.dark-mode .paiMotionGlowEdge,
html.dark-theme .paiMotionGlowEdge {
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.14);
}

/* Subtle Realistic Theme-Matched Photo Backdrops (Zero Humans) */
.paiBeatBg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.paiBeatBgImg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 54% !important;
  opacity: 0.20 !important;
  filter: saturate(0.92) contrast(1.04);
}

.paiBeatBgDark { display: none !important; }
.paiBeatBgLight { display: block !important; }

html[data-theme="dark"] .paiBeatBgLight,
body.dark-mode .paiBeatBgLight,
html.dark-theme .paiBeatBgLight { display: none !important; }

html[data-theme="dark"] .paiBeatBgDark,
body.dark-mode .paiBeatBgDark,
html.dark-theme .paiBeatBgDark {
  display: block !important;
  opacity: 0.22 !important;
  filter: saturate(1.02) contrast(1.06);
}

.paiBeatBgVeil {
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.84) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.56) 52%, rgba(255, 255, 255, 0.72) 100%) !important;
}

html[data-theme="dark"] .paiBeatBgVeil,
body.dark-mode .paiBeatBgVeil,
html.dark-theme .paiBeatBgVeil {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(11, 12, 15, 0.54) 0%, rgba(11, 12, 15, 0.86) 100%),
    linear-gradient(90deg, rgba(11, 12, 15, 0.82) 0%, rgba(11, 12, 15, 0.54) 52%, rgba(11, 12, 15, 0.72) 100%) !important;
}

/* Diagonal High-Speed Light-Wipe Flash */
.paiMotionWipe {
  position: absolute !important;
  top: -25% !important;
  bottom: -25% !important;
  left: -58% !important;
  width: 46% !important;
  z-index: 8 !important;
  pointer-events: none !important;
  opacity: 0;
  transform: skewX(-24deg) translate3d(0, 0, 0);
  background: linear-gradient(90deg,
    rgba(37, 99, 235, 0) 0%,
    rgba(37, 99, 235, 0.24) 26%,
    rgba(96, 165, 250, 0.62) 50%,
    rgba(255, 255, 255, 0.88) 58%,
    rgba(56, 189, 248, 0.30) 76%,
    rgba(56, 189, 248, 0) 100%
  );
  will-change: transform, opacity;
}

.paiMotionWipe.is-flashing {
  animation: paiLightWipeSweep 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes paiLightWipeSweep {
  0%   { opacity: 0; transform: skewX(-24deg) translate3d(0, 0, 0); }
  18%  { opacity: 1; }
  80%  { opacity: 0.92; }
  100% { opacity: 0; transform: skewX(-24deg) translate3d(385%, 0, 0); }
}

.paiMotionStage {
  position: relative !important;
  z-index: 4 !important;
  width: 100% !important;
  height: 100% !important;
}

.paiBeat {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

.paiBeat.is-active { opacity: 1; visibility: visible; z-index: 3; }

.paiBeat.is-leaving {
  opacity: 0;
  visibility: visible;
  z-index: 2;
  transform: translate3d(-26px, 0, 0) scale(0.97);
  transition: opacity 0.22s ease-out, transform 0.24s cubic-bezier(0.4, 0, 1, 1);
}

.paiBeat4.is-exiting .paiPillarCard {
  transform: translate3d(26px, 0, 0) scale(0.96);
  opacity: 0;
  transition: transform 0.22s ease-in, opacity 0.20s ease-in;
}

/* ===================================================== */
/* BEAT 1: BRAND SLAM + REAL STUDIO S-CLASS CUTOUT       */
/* ===================================================== */
.paiBeat1 {
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 46px !important;
  gap: 20px !important;
}

.paiBeat1Copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.paiWordmarkWrap { overflow: hidden; padding: 2px 0; }

.paiWordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(28px, 3.7vw, 48px) !important;
  font-weight: 900 !important;
  line-height: 1.04 !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: scale(1.15) translate3d(-24px, 0, 0);
}

.paiBeat1.is-active .paiWordmark {
  animation: paiWordmarkSlam 0.52s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
}

@keyframes paiWordmarkSlam {
  0%   { opacity: 0; letter-spacing: 0.24em; transform: scale(1.16) translate3d(-24px, 0, 0); }
  100% { opacity: 1; letter-spacing: -0.025em; transform: scale(1) translate3d(0, 0, 0); }
}

.paiWmBase {
  background-image: linear-gradient(110deg, #14161B 0%, #14161B 38%, #2563EB 50%, #14161B 62%, #14161B 100%);
  background-size: 260% 100%;
  background-position: 115% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .paiWmBase,
body.dark-mode .paiWmBase,
html.dark-theme .paiWmBase {
  background-image: linear-gradient(110deg, #FFFFFF 0%, #F8FAFC 38%, #93C5FD 50%, #FFFFFF 62%, #E2E8F0 100%);
}

.paiWmAccent {
  background-image: linear-gradient(115deg, #1D4ED8 0%, #2563EB 42%, #38BDF8 55%, #2563EB 72%, #1D4ED8 100%);
  background-size: 240% 100%;
  background-position: 115% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .paiWmAccent,
body.dark-mode .paiWmAccent,
html.dark-theme .paiWmAccent {
  background-image: linear-gradient(115deg, #3B82F6 0%, #60A5FA 42%, #FFFFFF 52%, #38BDF8 65%, #3B82F6 100%);
}

.paiBeat1.is-active .paiWmBase,
.paiBeat1.is-active .paiWmAccent {
  animation: paiMetallicFlash 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.36s forwards;
}

@keyframes paiMetallicFlash {
  0%   { background-position: 115% 0; }
  100% { background-position: -35% 0; }
}

.paiLaserRule {
  width: 86px;
  height: 3px;
  border-radius: 99px;
  margin: 10px 0 11px;
  background: linear-gradient(90deg, #2563EB 0%, #38BDF8 100%);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
}

.paiBeat1.is-active .paiLaserRule {
  animation: paiRuleExpand 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.16s forwards;
}

@keyframes paiRuleExpand {
  0%   { opacity: 0; transform: scaleX(0); }
  100% { opacity: 1; transform: scaleX(1); }
}

.paiSubSlam {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(11px, 1.2vw, 14px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1E222B;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

html[data-theme="dark"] .paiSubSlam,
body.dark-mode .paiSubSlam,
html.dark-theme .paiSubSlam {
  color: #F1F5F9;
  text-shadow: 0 2px 12px rgba(11, 12, 15, 0.75);
}

.paiBeat1.is-active .paiSubSlam {
  animation: paiSubLock 0.46s cubic-bezier(0.16, 1, 0.3, 1) 0.24s forwards;
}

@keyframes paiSubLock {
  0%   { opacity: 0; letter-spacing: 0.22em; transform: translate3d(0, 12px, 0); }
  100% { opacity: 1; letter-spacing: 0.14em; transform: translate3d(0, 0, 0); }
}

/* Real Studio Mercedes S-Class Cutout */
.paiBeat1Car {
  position: relative;
  z-index: 2;
  width: 396px;
  max-width: 41%;
  height: 196px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 8px;
}

.paiSclassCutout {
  width: 100%;
  height: auto;
  max-height: 188px;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: translate3d(42px, 0, 0) scale(0.96);
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18));
  will-change: transform, opacity;
}

html[data-theme="dark"] .paiSclassCutout,
body.dark-mode .paiSclassCutout,
html.dark-theme .paiSclassCutout {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65));
}

.paiBeat1.is-active .paiSclassCutout {
  animation: paiCarGlideIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
}

@keyframes paiCarGlideIn {
  0%   { opacity: 0; transform: translate3d(42px, 0, 0) scale(0.96); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* ===================================================== */
/* BEAT 2: LIVE ODOMETER STATS + REAL BRAND LOGOS        */
/* ===================================================== */
.paiBeat2 {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 42px !important;
  gap: 15px !important;
  text-align: center !important;
}

.paiOdoTopRow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 100%;
}

.paiOdoMeter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #0F172A;
}

html[data-theme="dark"] .paiOdoMeter,
body.dark-mode .paiOdoMeter,
html.dark-theme .paiOdoMeter { color: #F8FAFC; }

.paiOdoGaugeSvg { width: 62px; height: 40px; flex-shrink: 0; }
.paiOdoArcFill { stroke-dasharray: 100; stroke-dashoffset: 100; }
.paiOdoNeedle { transform-origin: 32px 36px; transform: rotate(-88deg); }

.paiBeat2.is-active .paiOdoArcFill { animation: paiGaugeFill 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards; }
.paiBeat2.is-active .paiOdoNeedle { animation: paiNeedleSweep 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards; }

@keyframes paiGaugeFill {
  0%   { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 12; }
}
@keyframes paiNeedleSweep {
  0%   { transform: rotate(-88deg); }
  100% { transform: rotate(22deg); }
}

.paiOdoNumber {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  font-size: clamp(34px, 4.3vw, 56px) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em;
  color: #0F172A;
  white-space: nowrap;
}

html[data-theme="dark"] .paiOdoNumber,
body.dark-mode .paiOdoNumber,
html.dark-theme .paiOdoNumber {
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(59, 130, 246, 0.30);
}

.paiOdoPlus { color: #2563EB; margin-left: 2px; }
html[data-theme="dark"] .paiOdoPlus,
body.dark-mode .paiOdoPlus,
html.dark-theme .paiOdoPlus { color: #38BDF8; }

.paiOdoDivider {
  width: 2px;
  height: 44px;
  border-radius: 99px;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.45), transparent);
  flex-shrink: 0;
}

.paiOdoMeta { text-align: left; }

.paiOdoTitle {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(16px, 1.9vw, 24px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0F172A;
  opacity: 0;
  transform: translate3d(18px, 0, 0);
}

html[data-theme="dark"] .paiOdoTitle,
body.dark-mode .paiOdoTitle,
html.dark-theme .paiOdoTitle { color: #F8FAFC; }

.paiBeat2.is-active .paiOdoTitle { animation: paiSlideSnapX 0.48s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards; }

@keyframes paiSlideSnapX {
  0%   { opacity: 0; transform: translate3d(18px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.paiOdoRule {
  width: 58px;
  height: 3px;
  border-radius: 99px;
  margin-top: 7px;
  background: linear-gradient(90deg, #2563EB, #38BDF8);
  transform-origin: left center;
  transform: scaleX(0);
}

.paiBeat2.is-active .paiOdoRule { animation: paiRuleExpand 0.42s cubic-bezier(0.16, 1, 0.3, 1) 0.24s forwards; }

.paiBrandTicker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 99, 235, 0.20);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  max-width: 100%;
}

html[data-theme="dark"] .paiBrandTicker,
body.dark-mode .paiBrandTicker,
html.dark-theme .paiBrandTicker {
  background: rgba(20, 22, 27, 0.90);
  border: 1px solid rgba(59, 130, 246, 0.30);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
}

.paiTickerBrand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(11px, 1.2vw, 13.5px) !important;
  font-weight: 800 !important;
  letter-spacing: 0.11em;
  color: #0F172A;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.92);
}

html[data-theme="dark"] .paiTickerBrand,
body.dark-mode .paiTickerBrand,
html.dark-theme .paiTickerBrand { color: #F1F5F9; }

.paiTickerLogo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  opacity: 0.90;
}

html[data-theme="dark"] .paiTickerLogo,
body.dark-mode .paiTickerLogo,
html.dark-theme .paiTickerLogo {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(96, 165, 250, 0.28));
  opacity: 0.95;
}

.paiTickerSep {
  font-size: 13px;
  font-weight: 800;
  color: #2563EB;
  opacity: 0;
  transform: scale(0.7);
}

html[data-theme="dark"] .paiTickerSep,
body.dark-mode .paiTickerSep,
html.dark-theme .paiTickerSep { color: #38BDF8; }

.paiBeat2.is-active .paiTickerBrand {
  animation: paiPopIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) calc(0.24s + var(--i) * 0.08s) forwards;
}
.paiBeat2.is-active .paiTickerSep {
  animation: paiPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) calc(0.28s + var(--i) * 0.08s) forwards;
}

@keyframes paiPopIn {
  0%   { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.92); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

/* ===================================================== */
/* BEAT 3: REAL GEOGRAPHIC EURASIA -> KOREA MAP          */
/* ===================================================== */
.paiBeat3 {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 12px 24px 6px !important;
  gap: 2px !important;
}

.paiRouteHeader {
  position: relative;
  z-index: 4;
  text-align: center;
}

.paiRouteTitle {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(14px, 1.75vw, 20px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #0F172A;
  opacity: 0;
  transform: scale(1.06);
}

html[data-theme="dark"] .paiRouteTitle,
body.dark-mode .paiRouteTitle,
html.dark-theme .paiRouteTitle {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(11, 12, 15, 0.8);
}

.paiBeat3.is-active .paiRouteTitle {
  animation: paiTitleZoomLock 0.44s cubic-bezier(0.16, 1, 0.3, 1) 0.04s forwards;
}

@keyframes paiTitleZoomLock {
  0%   { opacity: 0; letter-spacing: 0.16em; transform: scale(1.06); }
  100% { opacity: 1; letter-spacing: 0.09em; transform: scale(1); }
}

.paiGeoMapWrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 920px;
  flex: 1;
  min-height: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paiGeoMapSvg {
  width: 100%;
  height: 100%;
  max-height: 176px;
  display: block;
  overflow: visible;
}

.paiLandFillTop  { stop-color: #2563EB; stop-opacity: 0.13; }
.paiLandFillMid  { stop-color: #3B82F6; stop-opacity: 0.08; }
.paiLandFillBot  { stop-color: #3B82F6; stop-opacity: 0.01; }
.paiLandStrokeTop{ stop-color: #1E40AF; stop-opacity: 0.38; }
.paiLandStrokeMid{ stop-color: #2563EB; stop-opacity: 0.24; }
.paiLandStrokeBot{ stop-color: #2563EB; stop-opacity: 0.03; }
.paiInlandSea    { fill: rgba(241, 245, 249, 0.85); }
.paiSeaTrackBase { stroke: rgba(37, 99, 235, 0.24); }
.paiGeoInlandHop { stroke: #1D4ED8; }

html[data-theme="dark"] .paiLandFillTop  { stop-color: #3B82F6; stop-opacity: 0.24; }
html[data-theme="dark"] .paiLandFillMid  { stop-color: #3B82F6; stop-opacity: 0.14; }
html[data-theme="dark"] .paiLandFillBot  { stop-color: #3B82F6; stop-opacity: 0.02; }
html[data-theme="dark"] .paiLandStrokeTop{ stop-color: #60A5FA; stop-opacity: 0.56; }
html[data-theme="dark"] .paiLandStrokeMid{ stop-color: #60A5FA; stop-opacity: 0.34; }
html[data-theme="dark"] .paiLandStrokeBot{ stop-color: #60A5FA; stop-opacity: 0.04; }
html[data-theme="dark"] .paiInlandSea    { fill: rgba(11, 12, 15, 0.78); }
html[data-theme="dark"] .paiSeaTrackBase { stroke: rgba(56, 189, 248, 0.30); }
html[data-theme="dark"] .paiGeoInlandHop { stroke: #FFFFFF; }

.paiMapPin { opacity: 0; }
.paiBeat3.is-active .paiPinBusan     { animation: paiFadeOn 0.25s ease 0.06s forwards; }
.paiBeat3.is-active .paiPinDurres    { animation: paiFadeOn 0.25s ease 0.92s forwards; }
.paiBeat3.is-active .paiPinPrishtina { animation: paiFadeOn 0.25s ease 1.06s forwards; }

.paiGeoInlandHop { opacity: 0; }
.paiBeat3.is-active .paiGeoInlandHop { animation: paiFadeOn 0.28s ease 0.98s forwards; }

.paiPinPulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: paiRadarRipple 1.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes paiFadeOn { to { opacity: 1; } }
@keyframes paiRadarRipple {
  0%   { transform: scale(0.45); opacity: 0.95; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Crisp Non-Overlapping Desktop Map Callout Tags */
.paiGeoLabelsDesktop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.paiGeoTag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.26);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
  opacity: 0;
  transform: translate3d(0, 6px, 0);
}

html[data-theme="dark"] .paiGeoTag,
body.dark-mode .paiGeoTag,
html.dark-theme .paiGeoTag {
  background: rgba(11, 12, 15, 0.90);
  border: 1px solid rgba(96, 165, 250, 0.36);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.48);
}

.paiTagText {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  color: #0F172A;
  white-space: nowrap;
}

html[data-theme="dark"] .paiTagText,
body.dark-mode .paiTagText,
html.dark-theme .paiTagText { color: #F8FAFC; }

.paiTagDot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.paiDotBlue    { background: #2563EB; box-shadow: 0 0 8px rgba(37, 99, 235, 0.75); }
.paiDotCyan    { background: #0EA5E9; box-shadow: 0 0 8px rgba(14, 165, 233, 0.8); }
.paiDotPrimary { background: #2563EB; box-shadow: 0 0 9px rgba(59, 130, 246, 0.9); }

/* Exact Geo Placements on 960x196 Desktop Frame:
   Prishtina pin=(21.8%, 27.3%) -> tag just above-left (14%, 5%)
   Durres pin=(20.8%, 29.4%) -> tag below-left over West Med (18%, 45%)
   Busan pin=(88.9%, 38.6%) -> tag below-left over East China Sea (77%, 54%) */
.paiTagPrishtina { left: 12.5%; top: 5%; }
.paiTagDurres    { left: 10.5%; top: 47%; }
.paiTagBusan     { right: 11.5%; top: 53%; }

.paiBeat3.is-active .paiTagBusan     { animation: paiPopIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards; }
.paiBeat3.is-active .paiTagDurres    { animation: paiPopIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) 0.92s forwards; }
.paiBeat3.is-active .paiTagPrishtina { animation: paiPopIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) 1.06s forwards; }

.paiGeoLegendMobile { display: none; }

/* ===================================================== */
/* BEAT 4: 3-PILLAR FLASH FINALE                         */
/* ===================================================== */
.paiBeat4 {
  align-items: center !important;
  justify-content: center !important;
  padding: 0 42px !important;
}

.paiPillarGrid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.paiPillarCard {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 126px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow: 0 10px 28px -10px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.93);
}

html[data-theme="dark"] .paiPillarCard,
body.dark-mode .paiPillarCard,
html.dark-theme .paiPillarCard {
  background: rgba(14, 16, 20, 0.80);
  border: 1px solid rgba(59, 130, 246, 0.32);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.paiPillarCard::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-24deg) translate3d(0, 0, 0);
  pointer-events: none;
  opacity: 0;
}

html[data-theme="dark"] .paiPillarCard::after,
body.dark-mode .paiPillarCard::after,
html.dark-theme .paiPillarCard::after {
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.32), transparent);
}

.paiBeat4.is-active .paiPillarCard {
  animation: paiPillarSnap 0.46s cubic-bezier(0.16, 1, 0.3, 1) var(--d) forwards;
}
.paiBeat4.is-active .paiPillarCard::after {
  animation: paiCardGlint 0.65s ease-out calc(var(--d) + 0.20s) forwards;
}

@keyframes paiPillarSnap {
  0%   { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.92); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes paiCardGlint {
  0%   { opacity: 0; transform: skewX(-24deg) translate3d(0, 0, 0); }
  25%  { opacity: 1; }
  100% { opacity: 0; transform: skewX(-24deg) translate3d(380%, 0, 0); }
}

.paiPillarIcon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0F172A;
}

html[data-theme="dark"] .paiPillarIcon,
body.dark-mode .paiPillarIcon,
html.dark-theme .paiPillarIcon {
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.38);
  color: #E2E8F0;
}

.paiPillarIcon svg { width: 24px; height: 24px; }
.paiIconStroke { stroke-dasharray: 100; stroke-dashoffset: 100; }
.paiIconCheck { stroke-dasharray: 40; stroke-dashoffset: 40; }

.paiBeat4.is-active .paiIconStroke { animation: paiDraw100 0.50s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d) + 0.08s) forwards; }
.paiBeat4.is-active .paiIconCheck { animation: paiDraw40 0.36s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d) + 0.24s) forwards; }

@keyframes paiDraw100 { to { stroke-dashoffset: 0; } }
@keyframes paiDraw40  { to { stroke-dashoffset: 0; } }

.paiPillarText { min-width: 0; }

.paiPillarTitle {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(15px, 1.7vw, 20px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  color: #0F172A;
  white-space: nowrap;
}

html[data-theme="dark"] .paiPillarTitle,
body.dark-mode .paiPillarTitle,
html.dark-theme .paiPillarTitle { color: #FFFFFF; }

.paiPillarSub {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569;
  margin-top: 4px;
}

html[data-theme="dark"] .paiPillarSub,
body.dark-mode .paiPillarSub,
html.dark-theme .paiPillarSub { color: #94A3B8; }

/* ===================================================== */
/* MOBILE RESPONSIVE FRAMING (<= 768px)                  */
/* ===================================================== */
@media (max-width: 768px) {
  .pckHeroBannerBox.proHeroExecutiveHeader {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto 14px !important;
  }

  .paiHeroSwitcherWrap,
  .paiHeroSwitcherWrap[data-active-hero="v1"],
  .paiHeroSwitcherWrap[data-active-hero="v2"] { max-width: 100% !important; }

  .paiHeroVariantToggle { top: 7px !important; right: 8px !important; padding: 2px !important; }
  .paiVariantBtn { font-size: 9px !important; padding: 4px 7px !important; }

  .paiMotionPromo {
    width: 100% !important;
    max-width: 100% !important;
    height: 176px !important;
    border-radius: 16px !important;
    margin: 0 auto 12px !important;
  }

  /* Beat 1 Mobile */
  .paiBeat1 {
    flex-direction: column-reverse !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 12px 12px 8px !important;
    gap: 2px !important;
  }
  .paiBeat1Car {
    width: 185px !important;
    max-width: 64% !important;
    height: 82px !important;
    justify-content: center !important;
    padding-top: 0 !important;
  }
  .paiSclassCutout { max-height: 82px; width: auto; max-width: 100%; }
  .paiWordmark { font-size: clamp(21px, 6.0vw, 30px) !important; }
  .paiLaserRule { width: 52px; height: 2.5px; margin: 4px auto 4px; transform-origin: center center; }
  .paiSubSlam { font-size: clamp(8.8px, 2.45vw, 11px) !important; letter-spacing: 0.08em !important; white-space: nowrap; }

  /* Beat 2 Mobile */
  .paiBeat2 { padding: 12px 10px 8px !important; gap: 10px !important; }
  .paiOdoTopRow { flex-direction: column; gap: 3px; }
  .paiOdoMeter { gap: 8px; }
  .paiOdoGaugeSvg { width: 40px; height: 26px; }
  .paiOdoNumber { font-size: clamp(28px, 7.8vw, 38px) !important; }
  .paiOdoDivider, .paiOdoRule { display: none; }
  .paiOdoMeta { text-align: center; }
  .paiOdoTitle { font-size: clamp(10.5px, 3.1vw, 13.5px) !important; letter-spacing: 0.06em; }
  .paiBrandTicker {
    padding: 5px 10px;
    gap: clamp(4px, 1.5vw, 9px);
  }
  .paiTickerBrand {
    gap: 4px;
    font-size: clamp(7.8px, 2.05vw, 10.5px) !important;
    letter-spacing: 0.02em !important;
  }
  .paiTickerLogo { width: 13px; height: 13px; }
  .paiTickerSep { font-size: 9px; }

  /* Beat 3 Mobile: Full Geo Map + Crisp Bottom Route Legend */
  .paiBeat3 {
    padding: 12px 10px 8px !important;
    justify-content: space-between !important;
    gap: 2px !important;
  }
  .paiRouteTitle {
    font-size: clamp(11.5px, 3.3vw, 15px) !important;
    letter-spacing: 0.05em !important;
    padding-right: 46px;
  }
  .paiGeoMapWrap { max-width: 100%; }
  .paiGeoMapSvg { max-height: 106px; }
  .paiGeoLabelsDesktop { display: none !important; }
  .paiGeoLegendMobile {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(37, 99, 235, 0.22);
    opacity: 0;
  }
  html[data-theme="dark"] .paiGeoLegendMobile,
  body.dark-mode .paiGeoLegendMobile,
  html.dark-theme .paiGeoLegendMobile {
    background: rgba(14, 16, 20, 0.82);
    border: 1px solid rgba(96, 165, 250, 0.30);
  }
  .paiBeat3.is-active .paiGeoLegendMobile {
    animation: paiFadeOn 0.35s ease 0.18s forwards;
  }
  .paiMobStop {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    font-size: clamp(7.8px, 2.05vw, 10px);
    font-weight: 800;
    color: #0F172A;
    white-space: nowrap;
  }
  html[data-theme="dark"] .paiMobStop,
  body.dark-mode .paiMobStop,
  html.dark-theme .paiMobStop { color: #F8FAFC; }
  .paiMobStop .paiTagDot { width: 5px; height: 5px; }
  .paiMobArrow { font-size: 8.5px; color: #2563EB; font-weight: 800; }
  html[data-theme="dark"] .paiMobArrow,
  body.dark-mode .paiMobArrow,
  html.dark-theme .paiMobArrow { color: #38BDF8; }

  /* Beat 4 Mobile */
  .paiBeat4 { padding: 26px 10px 6px !important; }
  .paiPillarGrid { gap: 6px; }
  .paiPillarCard {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 106px;
    padding: 8px 4px;
    gap: 5px;
    border-radius: 12px;
  }
  .paiPillarIcon { width: 28px; height: 28px; border-radius: 8px; }
  .paiPillarIcon svg { width: 17px; height: 17px; }
  .paiPillarTitle { font-size: clamp(9.5px, 2.65vw, 12.5px) !important; letter-spacing: -0.02em; }
  .paiPillarSub { font-size: clamp(8.8px, 2.3vw, 10.5px) !important; margin-top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .paiMotionWipe, .paiPillarCard::after { display: none !important; }
  .paiPinPulse { animation: none !important; }
}


/* === V27 HERO V3 ULTRA-LIGHT VIDEO SHOWCASE === */
#paiHeroSwitcherWrap[data-active-hero="v3"] {
  max-width: 820px !important;
}
#paiHeroSwitcherWrap[data-active-hero="v3"] #paiCinemaReel,
#paiHeroSwitcherWrap[data-active-hero="v3"] #paiMotionPromo {
  display: none !important;
}
#paiHeroSwitcherWrap:not([data-active-hero="v3"]) #paiVideoV3 {
  display: none !important;
}

.paiVideoV3 {
  position: relative !important;
  width: 100% !important;
  max-width: 820px !important;
  aspect-ratio: 1280 / 546 !important;
  margin: 0 auto 16px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 22px 54px -18px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="dark"] .paiVideoV3,
body.dark-mode .paiVideoV3,
html.dark-theme .paiVideoV3 {
  background: #0B0C0F !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 26px 64px -16px rgba(0, 0, 0, 0.65) !important;
}

.paiV3Vid {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.paiV3VidDark { display: none !important; }
.paiV3VidLight { display: block !important; }

html[data-theme="dark"] .paiV3VidLight,
body.dark-mode .paiV3VidLight,
html.dark-theme .paiV3VidLight { display: none !important; }

html[data-theme="dark"] .paiV3VidDark,
body.dark-mode .paiV3VidDark,
html.dark-theme .paiV3VidDark { display: block !important; }

@media (max-width: 768px) {
  #paiHeroSwitcherWrap[data-active-hero="v3"],
  .paiVideoV3 {
    max-width: 100% !important;
    border-radius: 16px !important;
    margin: 0 auto 12px !important;
  }
}


/* === V28 HERO V4 MOBILE-OPTIMIZED VIDEO SHOWCASE === */
#paiHeroSwitcherWrap[data-active-hero="v4"] {
  max-width: 633px !important;
}
#paiHeroSwitcherWrap[data-active-hero="v4"] #paiCinemaReel,
#paiHeroSwitcherWrap[data-active-hero="v4"] #paiMotionPromo,
#paiHeroSwitcherWrap[data-active-hero="v4"] #paiVideoV3 {
  display: none !important;
}
#paiHeroSwitcherWrap:not([data-active-hero="v4"]) #paiVideoV4 {
  display: none !important;
}

.paiVideoV4 {
  position: relative !important;
  width: 100% !important;
  max-width: 633px !important;
  aspect-ratio: 960 / 516 !important;
  margin: 0 auto 16px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 22px 54px -18px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="dark"] .paiVideoV4,
body.dark-mode .paiVideoV4,
html.dark-theme .paiVideoV4 {
  background: #0B0C0F !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 26px 64px -16px rgba(0, 0, 0, 0.65) !important;
}

.paiV4Vid {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.paiV4VidDark { display: none !important; }
.paiV4VidLight { display: block !important; }

html[data-theme="dark"] .paiV4VidLight,
body.dark-mode .paiV4VidLight,
html.dark-theme .paiV4VidLight { display: none !important; }

html[data-theme="dark"] .paiV4VidDark,
body.dark-mode .paiV4VidDark,
html.dark-theme .paiV4VidDark { display: block !important; }

@media (max-width: 768px) {
  #paiHeroSwitcherWrap[data-active-hero="v4"],
  .paiVideoV4 {
    max-width: 100% !important;
    border-radius: 16px !important;
    margin: 0 auto 12px !important;
  }
}


/* === V29 HERO V5 ULTRAWIDE DESKTOP VIDEO SHOWCASE === */
#paiHeroSwitcherWrap[data-active-hero="v5"] {
  max-width: 1080px !important;
}
#paiHeroSwitcherWrap[data-active-hero="v5"] #paiCinemaReel,
#paiHeroSwitcherWrap[data-active-hero="v5"] #paiMotionPromo,
#paiHeroSwitcherWrap[data-active-hero="v5"] #paiVideoV3,
#paiHeroSwitcherWrap[data-active-hero="v5"] #paiVideoV4 {
  display: none !important;
}
#paiHeroSwitcherWrap:not([data-active-hero="v5"]) #paiVideoV5 {
  display: none !important;
}

.paiVideoV5 {
  position: relative !important;
  width: 100% !important;
  max-width: 1080px !important;
  aspect-ratio: 1350 / 276 !important;
  margin: 0 auto 16px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 22px 54px -18px rgba(15, 23, 42, 0.14), 0 4px 14px rgba(15, 23, 42, 0.05) !important;
}

html[data-theme="dark"] .paiVideoV5,
body.dark-mode .paiVideoV5,
html.dark-theme .paiVideoV5 {
  background: #0B0C0F !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 26px 64px -16px rgba(0, 0, 0, 0.65) !important;
}

.paiV5Vid {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.paiV5VidDark { display: none !important; }
.paiV5VidLight { display: block !important; }

html[data-theme="dark"] .paiV5VidLight,
body.dark-mode .paiV5VidLight,
html.dark-theme .paiV5VidLight { display: none !important; }

html[data-theme="dark"] .paiV5VidDark,
body.dark-mode .paiV5VidDark,
html.dark-theme .paiV5VidDark { display: block !important; }

@media (max-width: 768px) {
  #paiHeroSwitcherWrap[data-active-hero="v5"],
  .paiVideoV5 {
    max-width: 100% !important;
    border-radius: 14px !important;
    margin: 0 auto 12px !important;
  }
}


/* === V30 MOBILE UNIFORM NAVBAR BUTTONS (36px) === */
@media (max-width: 768px) {
  .pckHeaderRight {
    gap: 8px !important;
    align-items: center !important;
  }
  .proThemeToggleBtn,
  .pckMobileMenuBtn {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .pckHeaderContactPill {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }
}


/* === V31 TIGHTER CAR DETAIL SECTION GAPS === */
.carGalleryCard,
.carGalleryWrap,
.carPhotoGalleryBox {
  margin-bottom: 14px !important;
}
.carTopStatusBar.carSectionCard {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}
.koreaSpecGrid {
  margin-top: 0 !important;
}
.carDetailLeft,
.carLeftCol {
  gap: 14px !important;
}
@media (max-width: 768px) {
  .carGalleryCard,
  .carGalleryWrap,
  .carPhotoGalleryBox,
  .carTopStatusBar.carSectionCard {
    margin-bottom: 12px !important;
  }
  .carDetailLeft,
  .carLeftCol {
    gap: 12px !important;
  }
}


/* === V32 PRODUCTION HERO LOCK (V5 DESKTOP + V3 MOBILE, HIDE DEV TOGGLE) === */
.paiHeroVariantToggle {
  display: none !important;
}
@media (max-width: 768px) {
  #paiHeroSwitcherWrap[data-active-hero="v5"] #paiVideoV5 {
    display: none !important;
  }
}


/* === V33 NAVBAR & MOBILE DRAWER PROAUTOIMPORT WORDMARK === */
.paiNavBrandText,
.paiDrawerBrandText {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  color: #0F172A !important;
  margin-left: 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}
.paiNavBrandText > span,
.paiDrawerBrandText > span {
  color: #2563EB !important;
}
html[data-theme="dark"] .paiNavBrandText,
body.dark-mode .paiNavBrandText,
html[data-theme="dark"] .paiDrawerBrandText,
body.dark-mode .paiDrawerBrandText {
  color: #F8FAFC !important;
}
html[data-theme="dark"] .paiNavBrandText > span,
body.dark-mode .paiNavBrandText > span,
html[data-theme="dark"] .paiDrawerBrandText > span,
body.dark-mode .paiDrawerBrandText > span {
  color: #60A5FA !important;
}
@media (max-width: 768px) {
  /* Keep mobile top bar uncluttered while showing crisp wordmark inside the mobile slide-out menu drawer */
  .paiNavBrandText {
    display: none !important;
  }
  .paiDrawerBrandText {
    font-size: 17px !important;
    margin-left: 10px !important;
  }
}


/* V34: Clean wide Motori / Versioni / Paketa dropdown */
#modalVariantDropdownMenu,
#heroVariantDropdownMenu {
  min-width: 340px !important;
  width: max-content !important;
  max-width: min(460px, 88vw) !important;
}
#modalVariantDropdownMenu .pckDropdownOption,
#heroVariantDropdownMenu .pckDropdownOption {
  align-items: flex-start !important;
  gap: 8px !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}
#modalVariantDropdownMenu .optionTitle,
#heroVariantDropdownMenu .optionTitle {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.32 !important;
  word-break: break-word !important;
  flex: 1 1 auto !important;
}
#modalVariantDropdownMenu .optionCount,
#heroVariantDropdownMenu .optionCount {
  flex-shrink: 0 !important;
  margin-left: auto !important;
  padding-left: 8px !important;
  opacity: 0.72 !important;
  font-variant-numeric: tabular-nums !important;
}
@media (max-width: 640px) {
  #modalVariantDropdownMenu,
  #heroVariantDropdownMenu {
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* V35: Obsidian / Stake-Polished Dark Mode */
html[data-theme="dark"],
html[data-theme="dark"] body {
  background-color: #0B0C0F !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] header.pckGlobalHeader,
html[data-theme="dark"] .pckGlobalHeader.proautoHeader,
html[data-theme="dark"] header.paiTopHeader {
  background: rgba(11, 12, 15, 0.94) !important;
  border-bottom: 1px solid #1F232C !important;
}
html[data-theme="dark"] .heroSearchBox,
html[data-theme="dark"] .proautoSearchCard,
html[data-theme="dark"] .pckSearchCard,
html[data-theme="dark"] .pckFilterDrawer,
html[data-theme="dark"] .pckModalCard,
html[data-theme="dark"] .pckMobileDrawer {
  background: #14161B !important;
  border: 1px solid #252933 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72) !important;
}
html[data-theme="dark"] .carCard,
html[data-theme="dark"] .pckCarCard,
html[data-theme="dark"] .proautoCard,
html[data-theme="dark"] .carGalleryContainer,
html[data-theme="dark"] .carTopStatusBar,
html[data-theme="dark"] .specGridCell,
html[data-theme="dark"] .koreaOptionsCard,
html[data-theme="dark"] .chassisBlueprintCard,
html[data-theme="dark"] .priceSidebarBox {
  background: #14161B !important;
  border: 1px solid #232730 !important;
}
html[data-theme="dark"] .carCard:hover,
html[data-theme="dark"] .pckCarCard:hover {
  border-color: #363C4A !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65) !important;
}
html[data-theme="dark"] .pckCustomSelectTrigger,
html[data-theme="dark"] .pckDropdownSearchWrap input,
html[data-theme="dark"] .drawerField input[type="text"],
html[data-theme="dark"] .drawerField input[type="number"],
html[data-theme="dark"] .drawerField select,
html[data-theme="dark"] .pckSortSelect {
  background: #1C1F26 !important;
  border-color: #2B303C !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .pckCustomSelectTrigger:hover,
html[data-theme="dark"] .drawerField input:focus {
  border-color: #424A5C !important;
}
html[data-theme="dark"] .pckCustomDropdownMenu {
  background: #161920 !important;
  border: 1px solid #2B303C !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.78) !important;
}
html[data-theme="dark"] .pckDropdownOption:hover {
  background: #21252F !important;
}
html[data-theme="dark"] .pckDropdownOption.active {
  background: rgba(37, 99, 235, 0.18) !important;
  color: #93C5FD !important;
}
html[data-theme="dark"] .paiFooter,
html[data-theme="dark"] footer.paiFooter {
  background: #08090C !important;
  border-top: 1px solid #1E222B !important;
}
html[data-theme="dark"] .carThumbPlaceholder,
html[data-theme="dark"] .cardPhotoWrap,
html[data-theme="dark"] .carPhotoWrap {
  background: #16181E !important;
}
html[data-theme="dark"] .pckQuickFilterChip,
html[data-theme="dark"] .heroQuickPill {
  background: #181B22 !important;
  border-color: #282D38 !important;
  color: #E4E6EC !important;
}
html[data-theme="dark"] .pckQuickFilterChip:hover,
html[data-theme="dark"] .heroQuickPill:hover {
  background: #222630 !important;
  border-color: #3C4354 !important;
}


/* V36: Complete Obsidian Dark Mode Enforcement & Mobile Advanced Search Modal Fix */
html[data-theme="dark"] .filterModalBackdrop,
body.dark-mode .filterModalBackdrop,
body.pai-dark .filterModalBackdrop {
  background: rgba(0, 0, 0, 0.74) !important;
}
html[data-theme="dark"] .filterModalDialog,
body.dark-mode .filterModalDialog,
body.pai-dark .filterModalDialog {
  background: #14161B !important;
  border: 1px solid #232730 !important;
  color: #FFFFFF !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.80) !important;
  scrollbar-color: #323744 #0B0C0F !important;
}
html[data-theme="dark"] .filterModalHeader,
body.dark-mode .filterModalHeader {
  border-bottom-color: #232730 !important;
}
html[data-theme="dark"] .filterModalHeader h3,
html[data-theme="dark"] .drawerField label,
html[data-theme="dark"] #modalBrandTriggerText,
body.dark-mode .filterModalHeader h3,
body.dark-mode .drawerField label {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .btnCloseFilterModal,
body.dark-mode .btnCloseFilterModal {
  color: #9AA0AE !important;
}
html[data-theme="dark"] .btnCloseFilterModal:hover,
body.dark-mode .btnCloseFilterModal:hover {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .drawerActionsRow,
body.dark-mode .drawerActionsRow {
  border-top-color: #232730 !important;
}
html[data-theme="dark"] .drawerField input[type="text"],
html[data-theme="dark"] .drawerField input[type="number"],
html[data-theme="dark"] .drawerField select,
html[data-theme="dark"] .drawerField .pckCustomSelectTrigger,
body.dark-mode .drawerField input[type="text"],
body.dark-mode .drawerField .pckCustomSelectTrigger {
  background: #1C1F26 !important;
  border: 1px solid #2B303C !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .drawerField input::placeholder {
  color: #9AA0AE !important;
}
html[data-theme="dark"] .pckListingCard,
body.dark-mode .pckListingCard,
body.pai-dark .pckListingCard {
  background: #14161B !important;
  border: 1px solid #232730 !important;
}
html[data-theme="dark"] .pckListingCard:hover,
body.dark-mode .pckListingCard:hover {
  border-color: #323744 !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65) !important;
}
html[data-theme="dark"] .pckCardPriceRow,
body.dark-mode .pckCardPriceRow {
  border-top-color: #232730 !important;
}
html[data-theme="dark"] .btnPckQuickFilterPill:not(.active),
html[data-theme="dark"] .pckSortSelect,
html[data-theme="dark"] .pckBudgetTabBtn:not(.active),
body.dark-mode .btnPckQuickFilterPill:not(.active),
body.dark-mode .pckSortSelect,
body.dark-mode .pckBudgetTabBtn:not(.active) {
  background: #1C1F26 !important;
  background-color: #1C1F26 !important;
  border: 1px solid #232730 !important;
  color: #D4D7DE !important;
}
html[data-theme="dark"] .btnPckQuickFilterPill:not(.active):hover,
html[data-theme="dark"] .pckSortSelect:hover,
html[data-theme="dark"] .pckBudgetTabBtn:not(.active):hover {
  background: #232730 !important;
  background-color: #232730 !important;
  border-color: #323744 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .stepFlowCard,
html[data-theme="dark"] .faqItemCard,
html[data-theme="dark"] .contactCardTile,
html[data-theme="dark"] .contactMessageCard,
html[data-theme="dark"] .emptyResultsCard,
body.dark-mode .stepFlowCard,
body.dark-mode .faqItemCard,
body.dark-mode .contactCardTile,
body.dark-mode .contactMessageCard,
body.dark-mode .emptyResultsCard {
  background: #14161B !important;
  border: 1px solid #232730 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .contactMessageCard h3,
html[data-theme="dark"] .contactCardTile h4,
html[data-theme="dark"] .stepFlowCard h3,
html[data-theme="dark"] .faqItemCard h3 {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .contactMessageCard p,
html[data-theme="dark"] .contactCardTile div,
html[data-theme="dark"] .stepFlowCard p,
html[data-theme="dark"] .faqItemCard p {
  color: #D4D7DE !important;
}

/* Mobile Advanced Search Modal (390x844 & smaller) — smooth scroll & zero bottom clipping */
.filterModalBackdrop {
  box-sizing: border-box !important;
  padding: 12px !important;
  align-items: center !important;
  justify-content: center !important;
}
.filterModalDialog {
  max-height: calc(100dvh - 24px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  .filterModalBackdrop {
    padding: 12px !important;
    align-items: flex-start !important;
  }
  .filterModalDialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
    margin: 0 !important;
    padding: 18px 16px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 14px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .filterModalDialog .drawerActionsRow {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding-top: 16px !important;
    padding-bottom: 6px !important;
  }
  .filterModalDialog .drawerActionsRow .btnDrawerReset,
  .filterModalDialog .drawerActionsRow .btnDrawerSubmit {
    flex: 1 1 140px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}


/* V37: Visual QA Baseline Polish — Dark Mode Only + Mobile Modal Overflow Fix */
html[data-theme="dark"] .contactMessageCard h3,
html[data-theme="dark"] .contactMessageCard > h3,
body.dark-mode .contactMessageCard h3 {
  color: #FFFFFF !important;
}
html[data-theme="dark"] .contactIconCircle,
html[data-theme="dark"] .contactCardTile .contactIconCircle,
html[data-theme="dark"] .contactIconCircle.iconCircleWa,
html[data-theme="dark"] .contactIconCircle.iconCircleFb,
html[data-theme="dark"] .contactIconCircle.iconCircleInsta,
html[data-theme="dark"] .contactIconCircle.iconCircleLoc,
body.dark-mode .contactIconCircle {
  background: #1C1F26 !important;
  background-color: #1C1F26 !important;
  border: 1px solid #2B303C !important;
}
html[data-theme="dark"] .pckGlobalFooter .footerBottomBar,
html[data-theme="dark"] .pckGlobalFooter .footerBottomBar span,
html[data-theme="dark"] .pckGlobalFooter .footerBottomBar p,
html[data-theme="dark"] .footerBottomBar,
html[data-theme="dark"] .footerBottomBar span,
body.dark-mode .footerBottomBar,
body.dark-mode .footerBottomBar span {
  color: #9AA0AE !important;
  opacity: 1 !important;
}
html[data-theme="dark"] .filterModalHeader,
body.dark-mode .filterModalHeader {
  border-bottom: 1px solid #232730 !important;
}
html[data-theme="dark"] .drawerActionsRow,
html[data-theme="dark"] .filterModalDialog .drawerActionsRow,
body.dark-mode .drawerActionsRow {
  border-top: 1px solid #232730 !important;
}
.pckCustomSelectTrigger .triggerText {
  padding-right: 10px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
.pckCustomSelectTrigger .triggerContent {
  min-width: 0 !important;
  padding-right: 10px !important;
  flex: 1 1 auto !important;
}
.pckCustomSelectTrigger .triggerArrow {
  flex-shrink: 0 !important;
}
@media (max-width: 640px) {
  .filterModalBackdrop {
    padding: 10px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .filterModalDialog {
    width: calc(100vw - 20px) !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    max-height: calc(100dvh - 24px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .filterModalDialog .drawerFieldGrid {
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .filterModalDialog .drawerField {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .filterModalDialog .pckCustomSelectTrigger,
  .filterModalDialog .drawerField input[type="text"],
  .filterModalDialog .drawerField input[type="number"],
  .filterModalDialog .drawerField select {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}


/* V37: Footer copyright contrast & mobile sort select centering */
html[data-theme="dark"] .footerBottomBar,
html[data-theme="dark"] .footerBottomBar span,
html[data-theme="dark"] .footerBottomBar p,
html[data-theme="dark"] .paiFooter .footerBottomBar {
  color: #B8BECB !important;
  opacity: 1 !important;
}
@media (max-width: 640px) {
  .pckSortSelect {
    line-height: 1.2 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    vertical-align: middle !important;
  }
}
