/**
 * Viewix Factory - Product Configurator Styles
 * Interactive product selection matrix, option pills & configuration card.
 */

.vx-configurator-section {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.vx-configurator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 3.5rem;
  align-items: start;
}

/* Keep the product gallery on the same horizontal shell as the site header. */
.vx-configurator-section > .vx-container {
  width: 100%;
  max-width: var(--vx-container-width);
  margin-inline: auto;
  padding-inline: var(--vx-container-gutter);
  box-sizing: border-box;
}
.vx-configurator-grid { width: 100%; }

.vx-product-description { scroll-margin-top: 110px; }

.vx-product-details-tabs { margin-top: 3rem; }
.vx-product-tabs { display:flex; justify-content:center; gap:14px; margin:0 0 1.5rem; border-bottom:1px solid #dce7f5; padding-bottom:12px; }
.vx-product-tab { appearance:none; border:1px solid #dce3ed; border-radius:10px; background:#fff; color:#252b33; padding:12px 22px; font:inherit; font-weight:600; cursor:pointer; transition:background .2s ease, border-color .2s ease, color .2s ease; }
.vx-product-tab:hover { border-color:#005FFF; color:#005FFF; }
.vx-product-tab.is-active, .vx-product-tab[aria-selected="true"] { background:#EBF4FF; border-color:#8bbcff; color:#005FFF; }
.vx-product-tab:focus-visible { outline:2px solid #005FFF; outline-offset:3px; }
.vx-product-tab-panel-wrap[hidden] { display:none !important; }
.vx-product-tab-panel { min-width:0; }
.vx-product-spec-table-wrap { overflow-x:auto; border:1px solid #dce3ed; border-radius:10px; background:#fff; }
.vx-product-spec-table { width:100%; border-collapse:collapse; min-width:560px; }
.vx-product-spec-table th, .vx-product-spec-table td { padding:14px 16px; border-bottom:1px solid #e7edf5; text-align:left; vertical-align:top; }
.vx-product-spec-table tr:last-child th, .vx-product-spec-table tr:last-child td { border-bottom:0; }
.vx-product-spec-table th { width:34%; color:#263242; font-weight:600; background:#f7fbff; }
.vx-product-spec-table td { color:#4b5563; }
.vx-product-info-card { padding:0; background:#fff; }
.vx-product-info-card h2 { margin:0 0 12px; font-size:1.35rem; }
.vx-product-info-card p { margin:0; color:#596575; line-height:1.7; }
.vx-product-info-description { margin-top:24px; padding-top:20px; border-top:1px solid #e7edf5; }
.vx-product-info-description h3 { margin:0 0 12px; font-size:1.1rem; color:#263242; }
.vx-product-info-description .vx-product-description { color:#596575; line-height:1.7; }
/* Keep the article and TOC as siblings, outside the old nested article frame. */
.vx-product-info-description .vx-product-description {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.vx-product-info-description .vx-product-description h2, .vx-product-info-description .vx-product-description h3, .vx-product-info-description .vx-product-description h4 { color:#263242; }
.vx-product-info-card dl { display:flex; gap:12px; margin:20px 0 0; padding-top:16px; border-top:1px solid #e7edf5; }
.vx-product-info-card dt { color:#263242; font-weight:600; }
.vx-product-info-card dd { margin:0; color:#596575; }
@media (max-width: 600px) {
  .vx-product-tabs { justify-content:flex-start; overflow-x:auto; padding:0 2px 12px; }
  .vx-product-tab { flex:0 0 auto; white-space:nowrap; padding:10px 16px; }
  .vx-product-spec-table { min-width:480px; }
}
/* Product Description 2-Column Layout & Sticky TOC */
.vx-description-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  width: 100%;
}

.vx-description-main {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(20px, 2vw, 32px);
  border: 1px solid #dfe5ed;
  border-radius: 12px;
  background: var(--vx-color-surface, #f6f8fa);
}

.vx-description-sidebar {
  flex: 0 0 clamp(320px, 26vw, 360px);
  width: clamp(320px, 26vw, 360px);
  box-sizing: border-box;
  position: -webkit-sticky;
  position: sticky;
  top: var(--vx-toc-top, 96px);
  max-height: calc(100vh - var(--vx-toc-top, 96px) - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-bottom: 16px;
}

/* Desktop TOC Card */
.vx-product-toc {
  margin: 0;
  padding: 20px;
  border: 1px solid #dce7f5;
  border-radius: 12px;
  background: #f7fbff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.vx-toc-title {
  display: block;
  margin: 0 0 14px;
  color: #1e293b;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.vx-product-description .vx-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vx-product-description .vx-toc-item {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  text-align: left;
}

.vx-product-description .vx-toc-link {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: normal;
  color: #64748b;
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  word-break: normal;
  overflow-wrap: break-word;
}

.vx-product-description .vx-toc-link:hover {
  color: #005fff;
  background: #eef5ff;
  text-decoration: none;
}

.vx-product-description .vx-toc-link.is-active {
  color: #005fff;
  font-weight: 600;
  background: #ebf4ff;
  border-left-color: #005fff;
}

/* Visual indentation without double numbers */
.vx-toc-level-2,
.vx-toc-h2 {
  padding-left: 0;
}

.vx-product-description .vx-toc-level-3,
.vx-product-description .vx-toc-h3 {
  padding-left: 14px;
}

.vx-product-description .vx-toc-level-3 .vx-toc-link,
.vx-product-description .vx-toc-h3 .vx-toc-link {
  font-size: 0.875rem;
}

.vx-product-description .vx-toc-level-4,
.vx-product-description .vx-toc-h4 {
  padding-left: 24px;
}

.vx-product-description .vx-toc-level-4 .vx-toc-link,
.vx-product-description .vx-toc-h4 .vx-toc-link {
  font-size: 0.875rem;
}

/* Mobile Collapsible TOC */
.vx-description-mobile-toc {
  margin-bottom: 24px;
}

.vx-toc-details {
  border: 1px solid #dce7f5;
  border-radius: 10px;
  background: #f7fbff;
  overflow: hidden;
}

.vx-toc-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.vx-toc-summary::-webkit-details-marker {
  display: none;
}

.vx-toc-summary::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}

.vx-toc-details[open] .vx-toc-summary::after {
  transform: rotate(225deg);
}

.vx-product-description .vx-toc-details .vx-toc-list {
  padding: 8px 16px 16px;
  border-top: 1px solid #dce7f5;
}

/* Description Content Typography & Headings */
.vx-description-content {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.vx-description-content > *:first-child {
  margin-top: 0;
}

.vx-description-content p {
  margin: 0 0 1.25rem;
}

.vx-description-content h2,
.vx-description-content h3,
.vx-description-content h4 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: calc(var(--vx-toc-top, 96px) + 20px);
}

.vx-description-content h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.vx-description-content h3 {
  font-size: 1.25rem;
}

.vx-description-content h4 {
  font-size: 1.05rem;
}

/* Readable article typography without changing the navigation or TOC scale. */
.vx-product-info-description .vx-description-content {
  font-size: 1.0625rem;
}
.vx-product-info-description .vx-description-content h2,
.vx-product-info-description .vx-description-content h3,
.vx-product-info-description .vx-description-content h4 {
  color: #164475;
  background: #eaf2fc;
  border: 0;
  border-left: 3px solid #9bbfea;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.45;
  text-align: left;
}
.vx-product-info-description .vx-description-content h2 {
  font-size: 1.5rem;
}
.vx-product-info-description .vx-description-content h3,
.vx-product-info-description .vx-description-content h4 {
  font-size: 1.25rem;
}
.vx-product-info-description .vx-description-content > :first-child {
  margin-top: 0;
}

.vx-description-content ul,
.vx-description-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.vx-description-content li {
  margin-bottom: 0.5rem;
}

/* Content Images & Captions - Scoped specifically to product description */
.vx-description-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.vx-description-content .size-full,
.vx-description-content .size-large {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  display: block;
}

/* WP Caption container */
.vx-description-content .wp-caption {
  max-width: 100%;
  margin: 1.5rem auto;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-sizing: border-box;
  text-align: center;
  clear: both;
}

.vx-description-content .wp-caption img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  display: block;
}

.vx-description-content .wp-caption .wp-caption-text,
.vx-description-content figcaption {
  margin: 8px 0 0;
  padding: 0 4px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

/* WordPress alignment classes */
.vx-description-content .aligncenter,
.vx-description-content .wp-caption.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.vx-description-content .alignleft,
.vx-description-content .wp-caption.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
  max-width: 50%;
}

.vx-description-content .alignright,
.vx-description-content .wp-caption.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
  max-width: 50%;
}

.vx-description-content .alignnone,
.vx-description-content .wp-caption.alignnone {
  margin: 1.25rem 0;
}

/* Clearfix for floated elements */
.vx-description-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
  .vx-description-layout {
    flex-direction: column;
    gap: 0;
  }
  .vx-description-sidebar {
    display: none !important;
  }
  .vx-description-mobile-toc {
    display: block;
  }
}

@media (min-width: 1200px) {
  .vx-description-mobile-toc {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .vx-description-content .alignleft,
  .vx-description-content .alignright,
  .vx-description-content .wp-caption.alignleft,
  .vx-description-content .wp-caption.alignright {
    float: none;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.vx-description-collapsed .vx-description-content {
  max-height: 300px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 75%, transparent);
}
.vx-description-toggle {
  display: block;
  margin: 20px auto 0;
  padding: 12px 28px;
  border: 1px solid #005FFF;
  border-radius: 8px;
  color: #005FFF;
  background: #EBF4FF;
  font: inherit;
  cursor: pointer;
}
.vx-description-toggle[hidden] { display: none; }
.vx-description-toggle:focus-visible { outline: 2px solid #005FFF; outline-offset: 3px; }

/* Product Visual Showcase (Left Column) */
.vx-product-showcase {
  position: relative;
  background: transparent;
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vx-main-preview-wrap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--vx-color-border);
  border-radius: var(--vx-radius-xl);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--vx-color-surface);
}

.vx-product-showcase .vx-main-preview-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  background: transparent;
}

.vx-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #b8d4f8;
  border-radius: 50%;
  background: #f5f9ff;
  color: #78a5dc;
  font: 28px/0 Arial, sans-serif;
  cursor: pointer;
}
.vx-gallery-arrow-prev { left: 12px; }
.vx-gallery-arrow-next { right: 12px; }
.vx-gallery-arrow:hover { background: #ebf4ff; border-color: #8bbcff; color: #005FFF; }
.vx-gallery-arrow:focus-visible { outline: 2px solid #005FFF; outline-offset: 3px; }

.vx-gallery-arrow > span { display: block; line-height: 1; transform: translateY(-1px); }

.vx-angle-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  justify-content: center;
}

/* Keep the gallery thumbnails beside the main image, within its height. */
.vx-configurator-section .vx-product-showcase {
  position: relative;
  width: 100%;
  padding-left: 80px;
  box-sizing: border-box;
}
.vx-configurator-section .vx-main-preview-wrap { margin-bottom: 0; }
.vx-configurator-section .vx-angle-thumbnails {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 68px;
  padding: 2px;
  box-sizing: border-box;
  margin: 0;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}
.vx-configurator-section .vx-angle-thumb-btn { flex-shrink: 0; }
@media (max-width: 480px) {
  .vx-configurator-section .vx-product-showcase { padding-left: 62px; }
  .vx-configurator-section .vx-angle-thumbnails { width: 54px; gap: 8px; }
  .vx-configurator-section .vx-angle-thumb-btn { width: 50px; height: 50px; }
}

.vx-angle-thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--vx-radius-md);
  border: 2px solid var(--vx-color-border);
  background: #ffffff;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--vx-transition);
}

.vx-product-showcase .vx-angle-thumb-btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.vx-product-video { width: 100%; margin-top: 2rem; }
.vx-product-video h2 { font-size: 1.125rem; margin: 0 0 1rem; }
.vx-product-video video { display: block; width: 100%; height: auto; max-height: 480px; background: #000; object-fit: contain; }

.vx-angle-thumb-btn:hover, .vx-angle-thumb-btn.active {
  border-color: var(--vx-color-primary);
  box-shadow: 0 0 0 2px rgba(0, 74, 198, 0.2);
}

/* Configurator Form & Controls (Right Column) */
.vx-configurator-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vx-config-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vx-config-label {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vx-color-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vx-config-label-val {
  font-weight: 600;
  color: var(--vx-color-primary);
  text-transform: none;
}

/* Option Pill Selector */
.vx-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.vx-pill-btn {
  padding: 0.65rem 1.125rem;
  border-radius: var(--vx-radius-md);
  border: 1px solid var(--vx-color-border);
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vx-color-text-main);
  cursor: pointer;
  transition: var(--vx-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.vx-pill-btn:hover {
  border-color: var(--vx-color-primary);
  background: var(--vx-color-tint);
}

.vx-pill-btn.active {
  background: var(--vx-color-primary);
  border-color: var(--vx-color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 74, 198, 0.25);
}

.vx-pill-btn:disabled, .vx-pill-btn.disabled {
  opacity: 0.38;
  cursor: not-allowed;
  background: var(--vx-color-surface);
  border-color: var(--vx-color-border);
  color: var(--vx-color-text-muted);
  text-decoration: line-through;
}

.vx-request-quote-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: auto;
}

/* Dropdown / Spec Pill */
.vx-spec-card-option {
  border: 1px solid var(--vx-color-border);
  border-radius: var(--vx-radius-md);
  padding: 0.85rem 1.25rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--vx-color-dark);
}

/* Summary Card "YOUR CONFIGURATION" */
.vx-config-summary-card {
  background: var(--vx-color-surface);
  border: 1px solid var(--vx-color-border);
  border-radius: var(--vx-radius-lg);
  padding: 1.75rem;
  margin-top: 1rem;
}

.vx-config-summary-title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vx-color-dark);
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--vx-color-border);
}

.vx-summary-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.vx-summary-spec-item {
  font-size: 0.875rem;
}

.vx-summary-spec-label {
  color: var(--vx-color-text-muted);
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  font-weight: 700;
}

.vx-summary-spec-value {
  font-weight: 700;
  color: var(--vx-color-dark);
}

/* Model Code Banner */
.vx-model-code-box {
  background: var(--vx-color-tint);
  border: 1px dashed var(--vx-color-primary);
  border-radius: var(--vx-radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vx-model-code-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--vx-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vx-model-code-val {
  font-family: var(--vx-font-mono, monospace);
  font-size: 1rem;
  font-weight: 800;
  color: var(--vx-color-primary);
}

/* Configurator Action Buttons */
.vx-config-actions {
  display: flex;
  gap: 1rem;
}

.vx-config-actions .vx-btn {
  flex: 1;
  min-width: 0;
  white-space: normal;
}

/* Responsive Configurator */
@media (max-width: 1024px) {
  .vx-configurator-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .vx-product-showcase {
    position: static;
  }
  .vx-main-preview-wrap {
    height: auto;
  }
}

@media (max-width: 480px) {
  .vx-summary-specs-list {
    grid-template-columns: 1fr;
  }
  .vx-config-actions {
    flex-direction: column;
  }
  .vx-main-preview-wrap {
    height: auto;
  }
}
/* Related product photography uses the full frame without nested padding. */
[data-viewix-related] .vx-product-card-img-wrap {
  padding: 0;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}

[data-viewix-related] .vx-product-card-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* Product detail layout: light controls and SKU beside the product heading. */
.vx-configurator-section .vx-config-heading { margin-bottom: 1.5rem; }
.vx-configurator-section .vx-config-heading h1 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.25; }
.vx-configurator-section .vx-config-sku { margin: 0; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.vx-configurator-section .vx-config-sku .vx-model-code-val { font: inherit; color: inherit; }
.vx-configurator-section .vx-configurator-panel { gap: 1.25rem; }
.vx-configurator-section .vx-config-group { margin-bottom: 0; }
.vx-configurator-section .vx-config-label { text-transform: none; font-weight: 600; letter-spacing: .035em; margin-bottom: 0; }
.vx-configurator-section .vx-pill-btn { background: #fff; color: #666; font-weight: 400; box-shadow: none; }
.vx-configurator-section .vx-pill-btn.active,
.vx-configurator-section .vx-pill-btn[aria-checked="true"] { background: #EBF4FF; color: #171b1f; border-color: #005FFF; font-weight: 400; box-shadow: none; }
.vx-configurator-section .vx-pill-btn:hover { background: #f7faff; box-shadow: none; }
.vx-configurator-section .vx-pill-btn:focus-visible { outline: 2px solid #005FFF; outline-offset: 3px; }
.vx-configurator-section .vx-config-summary-card { background: transparent; border: 0; border-radius: 0; padding: 0; margin-top: 0; box-shadow: none; }
.vx-configurator-section .vx-config-actions { margin-top: 0; }
/* Expand hardware choices in flow so following controls move down. */
.vx-configurator-section .vx-hardware-native { display: none; }
.vx-hardware-dropdown { border: 1px solid var(--vx-color-border); border-radius: 8px; background: #fff; overflow: hidden; }
.vx-hardware-dropdown summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; font-size: .8125rem; line-height: 1.5; }
.vx-hardware-dropdown summary::-webkit-details-marker { display: none; }
.vx-hardware-dropdown summary::after { content: ''; width: 8px; height: 8px; flex-shrink: 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.vx-hardware-dropdown[open] summary::after { transform: rotate(225deg); }
.vx-hardware-dropdown[open] { border-color: #005FFF; }
.vx-hardware-choices { border-top: 1px solid var(--vx-color-border); }
.vx-hardware-choice { display: block; width: 100%; text-align: left; padding: 12px 16px; background: #fff; color: #171b1f; border: 0; font: inherit; font-size: .8125rem; line-height: 1.5; cursor: pointer; }
.vx-hardware-choice[aria-pressed="true"], .vx-hardware-choice:hover { background: #EBF4FF; }
.vx-hardware-choice:focus-visible, .vx-hardware-dropdown summary:focus-visible { outline: 2px solid #005FFF; outline-offset: -3px; }
/* Product configuration action colors. */
.vx-configurator-section .vx-config-actions .vx-btn-primary,
.vx-configurator-section .vx-config-actions .vx-btn-primary:hover {
  background: #005FFF;
  border-color: #005FFF;
  color: #fff;
}
.vx-configurator-section .vx-config-actions .vx-btn-secondary,
.vx-configurator-section .vx-config-actions .vx-btn-secondary:hover {
  background: #EBF4FF;
  border-color: #005FFF;
  color: #005FFF;
}
.vx-quote-dialog { width: min(1280px, calc(100vw - 48px)); height: min(1000px, calc(100dvh - 40px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 14px; color: #171b1f; background: #fff; overflow: hidden; }
.vx-quote-dialog[open] { display: flex; flex-direction: column; }
.vx-quote-dialog::backdrop { background: rgb(15 25 45 / 55%); }
.vx-quote-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid #dce3ed; }
.vx-quote-dialog-header h2 { font-size: 20px; margin: 0; }
.vx-quote-dialog-close { background: #EBF4FF; border: 0; border-radius: 6px; color: #005FFF; width: 40px; height: 40px; font-size: 28px; cursor: pointer; flex-shrink: 0; }
.vx-quote-dialog-frame { flex: 1; width: 100%; min-height: 0; border: 0; }
.vx-quote-dialog-status { margin: 20px; }
@media(max-width:600px) { .vx-quote-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); } .vx-quote-dialog-header { padding: 12px; } .vx-quote-dialog-header h2 { font-size: 17px; } }

/* Four balanced feature cards; keep copy and icon sizing consistent. */
.vx-product-highlights-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:24px; align-items:stretch; }
.vx-product-highlights-grid > .vx-card { min-width:0; }
.vx-product-highlights-grid > .vx-card svg { display:block; flex-shrink:0; }
.vx-product-highlights-grid > .vx-card p { text-align:left; line-height:1.65 !important; }
@media(max-width:1024px) { .vx-product-highlights-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media(max-width:600px) { .vx-product-highlights-grid { grid-template-columns:minmax(0,1fr) !important; } }
