/**
 * WooCommerce PDP skin — keep static product.html classes, hide WC chrome.
 */

.pdp-page .pdp-wc-variations-native[hidden],
.pdp-page .pdp-buy .variations,
.pdp-page .pdp-buy table.variations,
.pdp-page .pdp-buy .reset_variations {
  display: none !important;
}

.pdp-page .pdp-cart-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.pdp-page .pdp-cart-form > .quantity {
  display: none;
}

.pdp-page .woocommerce-product-attributes,
.pdp-page table.woocommerce-product-attributes,
.pdp-page .spec-table {
  width: 100%;
  border-collapse: collapse;
}

.pdp-page .woocommerce-product-attributes th,
.pdp-page .woocommerce-product-attributes td,
.pdp-page .spec-table th,
.pdp-page .spec-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
  vertical-align: top;
}

.pdp-page .woocommerce-product-attributes th,
.pdp-page .spec-table th {
  width: 38%;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}

.pdp-page .pdp-copy > p:last-child {
  margin-bottom: 0;
}

.pdp-page .pdp-cta-inquiry {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pdp-page .pdp-actions.is-quote [data-pdp-add-to-cart] {
  display: none !important;
}

.pdp-page .pdp-bundle [data-bundle-add].is-loading,
.pdp-page [data-pdp-add-to-cart].is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.pdp-page .pdp-bundle-name {
  text-decoration: none;
  color: inherit;
}

.pdp-page a.pdp-bundle-name:hover {
  color: var(--brand, #0b3a6e);
  text-decoration: underline;
}

.pdp-page a.pdp-bundle-thumb {
  text-decoration: none;
  color: inherit;
}

.pdp-page .reviews-section.woocommerce-Reviews,
.pdp-page .reviews-section > .woocommerce-Reviews {
  margin: 0;
}

/* Guest review login modal (static class names; no woo-reviews.css) */
.review-login-modal[hidden] {
  display: none !important;
}

.review-login-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.review-login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.review-login-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.5rem 1.35rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.review-login-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.review-login-modal-dialog h3 {
  margin: 0 1.5rem 0.65rem 0;
  font-size: 1.15rem;
}

.review-login-modal-dialog p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.5;
}

html.review-login-open,
html.review-login-open body {
  overflow: hidden;
}

.review-composer-login {
  padding: 0.5rem 0 0.25rem;
}

.review-composer-login p {
  margin: 0 0 0.85rem;
  color: #475569;
}

/* Review composer — PDP polish + verified-purchase lock */
.pdp-page .review-composer {
  margin: 0 0 1.35rem;
  padding: 0;
  border: 1px solid var(--line, #e6e8ec);
  border-radius: var(--radius, 2px);
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%),
    #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.pdp-page .review-composer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0;
  padding: 1.05rem 1.15rem 0.95rem;
  border-bottom: 1px solid var(--line, #e6e8ec);
  background: rgba(255, 255, 255, 0.72);
}

.pdp-page .review-composer-kicker {
  margin: 0 0 0.2rem;
  font-family: var(--font-ui, "Manrope", sans-serif);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted, #5c6670);
}

.pdp-page .review-composer-head h3 {
  margin: 0;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text, #151515);
}

.pdp-page .review-composer-close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-top: -0.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius, 2px);
  background: transparent;
  color: var(--text-muted, #5c6670);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease, ease), border-color 0.2s var(--ease, ease), color 0.2s var(--ease, ease);
}

.pdp-page .review-composer-close:hover {
  background: var(--surface, #f5f6f8);
  border-color: var(--line, #e6e8ec);
  color: var(--text, #151515);
}

.pdp-page .review-composer-form {
  padding: 1.1rem 1.15rem 1.2rem;
}

.pdp-page .review-composer-locked {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem 0.9rem;
  align-items: start;
  margin: 0;
  padding: 1.15rem 1.15rem 1.25rem;
}

.pdp-page .review-composer-locked-icon {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid var(--line-strong, #d5dae0);
  border-radius: var(--radius, 2px);
  background: #fff;
  color: var(--brand, #0b3a6e);
}

.pdp-page .review-composer-locked-copy {
  min-width: 0;
}

.pdp-page .review-composer-locked-copy strong {
  display: block;
  margin: 0 0 0.3rem;
  font-family: var(--font-ui, "Manrope", sans-serif);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text, #151515);
}

.pdp-page .review-composer-locked-copy p,
.pdp-page .review-composer-locked .woocommerce-verification-required {
  margin: 0;
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted, #5c6670);
}

.pdp-page .review-composer-locked-cta {
  grid-column: 2;
  justify-self: start;
  --btn-bg: #fff;
  --btn-fg: var(--brand, #0b3a6e);
  min-width: 8.5rem;
  border-color: var(--brand, #0b3a6e);
  border-radius: var(--radius, 2px);
  box-shadow: none;
}

.pdp-page .review-composer-locked-cta:hover {
  background: var(--accent-soft, rgba(11, 58, 110, 0.08));
  color: var(--brand, #0b3a6e);
  border-color: var(--brand, #0b3a6e);
}

.pdp-page .review-composer-locked-cta.btn-brand {
  --btn-bg: var(--brand, #0b3a6e);
  --btn-fg: #fff;
  background: var(--brand, #0b3a6e);
  color: #fff;
  border-color: var(--brand, #0b3a6e);
}

.pdp-page .review-composer-locked-cta.btn-brand:hover {
  background: var(--brand-hover, #145a9e);
  border-color: var(--brand-hover, #145a9e);
  color: #fff;
}

@media (max-width: 640px) {
  .pdp-page .review-composer-locked {
    grid-template-columns: 1fr;
  }

  .pdp-page .review-composer-locked-cta {
    grid-column: 1;
    width: 100%;
  }
}

.reviews-pagination {
  margin-top: 1.25rem;
}

/* PDP payment icons — no frame (override styles.min.css) */
.pdp-page .pdp-pay-panel img,
.pdp-page .footer-pay-panel.pdp-pay-panel img {
  height: 26px;
  width: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Synced product description blocks (source-editor / motor data tables)
 * Imported HTML often ships tiny inline font-size (tbody 7px), Arial, fixed heights. */
.pdp-page .pdp-details-lead {
  font-family: var(--font-body, "Source Sans 3", sans-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text, #151515);
  letter-spacing: 0.005em;
}

.pdp-page .pdp-details-lead.source-editor-block,
.pdp-page .pdp-details-lead .source-editor-block {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.pdp-page .pdp-details-lead .source-editor-block + .source-editor-block {
  margin-top: 2rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--line, #e6e8ec);
}

.pdp-page .pdp-details-lead .source-editor-block table,
.pdp-page .pdp-details-lead .source-editor-block tbody,
.pdp-page .pdp-details-lead .source-editor-block tr,
.pdp-page .pdp-details-lead .source-editor-block td,
.pdp-page .pdp-details-lead .source-editor-block th,
.pdp-page .pdp-details-lead .source-editor-block p,
.pdp-page .pdp-details-lead .source-editor-block li,
.pdp-page .pdp-details-lead .source-editor-block a,
.pdp-page .pdp-details-lead .source-editor-block span,
.pdp-page .pdp-details-lead .source-editor-block strong,
.pdp-page .pdp-details-lead .source-editor-block div,
.pdp-page .pdp-details-lead .editor_table_wrap,
.pdp-page .pdp-details-lead .editor_table_wrap *:not(h1):not(h2):not(h3):not(h4) {
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit;
}

/* Kill scraped fixed box heights that crush vertical rhythm */
.pdp-page .pdp-details-lead .source-editor-block *:not(img):not(svg):not(video) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.pdp-page .pdp-details-lead .source-editor-block p {
  margin: 0 0 1.2rem;
  line-height: 1.8 !important;
}

.pdp-page .pdp-details-lead .source-editor-block p:last-child {
  margin-bottom: 0;
}

.pdp-page .pdp-details-lead .source-editor-block p strong {
  font-weight: 700;
  color: var(--text, #151515);
}

.pdp-page .pdp-details-lead .source-editor-block h1,
.pdp-page .pdp-details-lead .source-editor-block h1 span,
.pdp-page .pdp-details-lead .source-editor-block h2,
.pdp-page .pdp-details-lead .source-editor-block h2 span,
.pdp-page .pdp-details-lead .source-editor-block h3,
.pdp-page .pdp-details-lead .source-editor-block h3 span,
.pdp-page .pdp-details-lead .source-editor-block h4,
.pdp-page .pdp-details-lead .source-editor-block h4 span {
  margin: 1.85rem 0 0.85rem;
  font-family: var(--font-display, "Syne", sans-serif) !important;
  font-size: 1.28rem !important;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35 !important;
  color: var(--text, #0f172a);
}

.pdp-page .pdp-details-lead .source-editor-block h3,
.pdp-page .pdp-details-lead .source-editor-block h3 span {
  font-size: 1.12rem !important;
}

.pdp-page .pdp-details-lead .source-editor-block h4,
.pdp-page .pdp-details-lead .source-editor-block h4 span {
  font-size: 1.02rem !important;
}

.pdp-page .pdp-details-lead .source-editor-block h2:first-child,
.pdp-page .pdp-details-lead .source-editor-block h2:first-child span,
.pdp-page .pdp-details-lead .source-editor-block h3:first-child,
.pdp-page .pdp-details-lead .source-editor-block h3:first-child span,
.pdp-page .pdp-details-lead .source-editor-block table:first-child h2,
.pdp-page .pdp-details-lead .source-editor-block table:first-child h2 span {
  margin-top: 0;
}

.pdp-page .pdp-details-lead .source-editor-block ul,
.pdp-page .pdp-details-lead .source-editor-block ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.pdp-page .pdp-details-lead .source-editor-block li {
  margin: 0.45rem 0;
  line-height: 1.75 !important;
  padding-left: 0.15rem;
}

.pdp-page .pdp-details-lead .source-editor-block li + li {
  margin-top: 0.55rem;
}

.pdp-page .pdp-details-lead .source-editor-block img {
  max-width: 100%;
  height: auto !important;
  margin: 1rem 0 1.35rem;
  display: block;
}

.pdp-page .pdp-details-lead .source-editor-block a {
  color: var(--brand, #0b3a6e);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.pdp-page .pdp-details-lead .source-editor-block a:hover {
  color: var(--brand-hover, #145a9e);
}

.pdp-page .pdp-details-lead .editor_table_wrap {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.15rem 0 1.5rem;
}

.pdp-page .pdp-details-lead .source-editor-block,
.pdp-page .pdp-details-body,
.pdp-page .pdp-info,
.pdp-page .pdp-copy,
.pdp-page .pdp-folds,
.pdp-page .pdp-fold,
.pdp-page .pdp-fold-body {
  min-width: 0;
  max-width: 100%;
}

.pdp-page .pdp-details-lead .editor_table_wrap > table {
  width: 100% !important;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  height: auto !important;
  border-collapse: collapse;
  border: 1px solid var(--line-strong, #d5dae0) !important;
  border-style: solid !important;
}

.pdp-page .pdp-details-lead .editor_table_wrap > table tr,
.pdp-page .pdp-details-lead .editor_table_wrap > table td,
.pdp-page .pdp-details-lead .editor_table_wrap > table th {
  height: auto !important;
}

.pdp-page .pdp-details-lead .editor_table_wrap td,
.pdp-page .pdp-details-lead .editor_table_wrap th {
  padding: 0.7rem 0.85rem !important;
  border: 1px solid var(--line-strong, #d5dae0) !important;
  border-color: var(--line-strong, #d5dae0) !important;
  border-style: solid !important;
  vertical-align: middle;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.55 !important;
}

@media (max-width: 699px) {
  .pdp-page .pdp-details-lead .editor_table_wrap > table {
    width: max(100%, 36rem) !important;
    max-width: none;
  }
}

.pdp-page .motor-data-table-container {
  margin: 1.15rem 0 1.35rem;
}

.pdp-page .motor-data-table-container .editor_table_wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line, rgba(15, 23, 42, 0.12));
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.pdp-page .motor-data-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.5;
}

.pdp-page .motor-data-table thead th {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--brand, #0b3a6e);
  color: #fff;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.pdp-page .motor-data-table tbody td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line, rgba(15, 23, 42, 0.1));
  vertical-align: top;
  text-align: left;
}

.pdp-page .motor-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.pdp-page .motor-data-table tbody td:nth-child(odd) {
  color: var(--text-muted, #64748b);
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pdp-page .motor-data-table tbody td:nth-child(even) {
  color: var(--text, #0f172a);
  font-weight: 600;
}

.pdp-page .motor-data-table .accessories-row td:first-child {
  background: #f8fafc;
}

.pdp-page .motor-data-table .accessories-row td[colspan] {
  font-weight: 500;
  color: var(--text, #0f172a);
}

@media (max-width: 699px) {
  .pdp-page .motor-data-table {
    min-width: 0;
  }

  .pdp-page .motor-data-table thead th {
    padding: 0.65rem 0.75rem;
  }

  .pdp-page .motor-data-table tbody tr:not(.accessories-row) {
    display: grid;
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  }

  .pdp-page .motor-data-table tbody tr:not(.accessories-row) td {
    border-bottom: 0;
    padding: 0.55rem 0.7rem;
  }

  .pdp-page .motor-data-table tbody tr:not(.accessories-row) td:nth-child(odd) {
    background: #f8fafc;
  }

  .pdp-page .motor-data-table tbody tr:not(.accessories-row) td:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line, rgba(15, 23, 42, 0.08));
  }

  .pdp-page .motor-data-table tbody tr.accessories-row {
    display: block;
  }

  .pdp-page .motor-data-table tbody tr.accessories-row td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .pdp-page .motor-data-table tbody tr.accessories-row td[colspan] {
    border-top: 1px solid var(--line, rgba(15, 23, 42, 0.08));
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .pdp-page .motor-data-table-container .editor_table_wrap {
    overflow-x: auto;
  }

  .pdp-page .motor-data-table {
    min-width: 32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-page .motor-data-table-container .editor_table_wrap {
    scroll-behavior: auto;
  }
}
/* Verified source-option attachment swatches: retain readable text fallback. */
.pdp-variant-groups .variant-row button.has-option-image {
  min-width: 4.5rem;
  max-width: 9rem;
  justify-items: center;
  text-align: center;
  padding: .45rem .6rem;
}
.pdp-variant-groups .variant-option-image {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.pdp-variant-groups .variant-option-image[hidden] {
  display: none;
}
.pdp-variant-groups .variant-row button:focus-visible {
  outline: 2px solid var(--brand, #0b3a6e);
  outline-offset: 2px;
}
