/* Smart Compare stays scoped to this route; saved comparison HTML is rendered unchanged. */
.product-compare-detail {
  --sc-navy: #0a2463;
  --sc-ink: #162239;
  --sc-muted: #526078;
  --sc-ground: #f3f5f8;
  --sc-white: #fff;
  --sc-green: #157347;
  --sc-green-hover: #105c39;
  --sc-red: #c42b32;
  --sc-line: #dce2ea;
  --sc-hover: #edf1f6;
  color: var(--sc-ink);
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 0 56px;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
.smartcompare-container #content.product-compare-content {
  width: 100%;
  min-width: 0;
  padding: 0;
  float: none;
}
.product-compare-detail *,
.product-compare-detail *::before,
.product-compare-detail *::after { box-sizing: border-box; }
.product-compare-detail ::selection { background: var(--sc-navy); color: var(--sc-white); }
.product-compare-detail a { color: var(--sc-navy); text-decoration: none; }
.product-compare-detail a:focus-visible,
.product-compare-detail button:focus-visible,
.product-compare-detail input:focus-visible,
.product-compare-detail [tabindex]:focus-visible {
  outline: 3px solid var(--sc-navy);
  outline-offset: 4px;
}
.product-compare-detail .smartcompare-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 30px;
  padding: 0;
  height: auto;
  position: static;
  background: none;
  border: 0;
  box-shadow:none;
  backface-visibility: visible;
}
.product-compare-detail .smartcompare-intro > div { min-width: 0; flex: 1; }
.product-compare-detail h1 {
  color: var(--sc-navy);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.product-compare-detail .smartcompare-reset {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 44px;
  padding: 10px 0 10px 12px;
  font-size: 14px;
  font-weight: 600;
}
.product-compare-detail .smartcompare-reset:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-compare-detail .compare-products-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 42px;
}
.product-compare-detail .compare-product-card {
  display: grid;
  grid-template-columns: minmax(150px, 42%) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 22px 18px;
  min-width: 0;
  padding: 24px;
  border-radius: 14px;
  background: var(--sc-ground);
}
.product-compare-detail .compare-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 220px;
  background: var(--sc-white);
  border-radius: 8px;
  overflow: hidden;
}
.product-compare-detail .compare-product-image img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 220px;
  object-fit: contain;
  transition: transform 220ms cubic-bezier(.16, 1, .3, 1);
}
.product-compare-detail .compare-product-image:hover img { transform: scale(1.035); }
.product-compare-detail .compare-product-info { display: flex; flex-direction: column; min-width: 0; padding: 10px 0 4px; }
.product-compare-detail h2.compare-product-model {
  color: var(--sc-navy);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 10px;
  padding: 0;
  overflow-wrap: anywhere;
}
.product-compare-detail .compare-product-model a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-compare-detail .compare-product-name { color: var(--sc-muted); font-size: 15px; line-height: 1.65; margin: 0 0 20px; overflow-wrap: anywhere; }
.product-compare-detail .compare-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--sc-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}
.product-compare-detail .compare-product-price .price-special { color: var(--sc-red); }
.product-compare-detail .compare-product-price .price-old { color: var(--sc-muted); font-size: 14px; font-weight: 400; text-decoration: line-through; }
.product-compare-detail .compare-product-price .price-on-request { font-size: 20px; line-height: 1.5; }
.product-compare-detail .compare-product-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-compare-detail .compare-product-enquiry,
.product-compare-detail .smartcompare-staff-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  background: var(--sc-green);
  color: var(--sc-white);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: background-color 180ms ease-out;
}
.product-compare-detail .compare-product-enquiry:hover,
.product-compare-detail .smartcompare-staff-enquiry:hover { background: var(--sc-green-hover); color: var(--sc-white); }
.product-compare-detail .compare-product-enquiry .fa,
.product-compare-detail .smartcompare-staff-enquiry .fa { font-size: 21px; }
.product-compare-detail .compare-product-detail-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.product-compare-detail .compare-product-detail-link svg { transition: transform 180ms ease-out; }
.product-compare-detail .compare-product-detail-link:hover svg { transform: translateX(4px); }
.product-compare-detail .compare-section { min-width: 0; }
.product-compare-detail .smartcompare-results-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.product-compare-detail .smartcompare-results-heading h2 { font-size: 26px; color: var(--sc-navy); line-height: 1.3; font-weight: 700; margin: 0; padding: 0; }
.product-compare-detail .smartcompare-results-heading p { color: var(--sc-muted); font-size: 14px; margin: 0; overflow-wrap: anywhere; }
.product-compare-detail .smartcompare-results-heading p span { padding: 0 8px; }
#smartcompare-comparison-data { min-width: 0; overflow-x: auto; overflow-wrap: anywhere; }
#smartcompare-comparison-data h2,
#smartcompare-comparison-data h3,
#smartcompare-comparison-data h4 { font-size: 20px; line-height: 1.5; font-weight: 700; color: var(--sc-ink); padding: 0; margin: 30px 0 14px; border: 0; }
#smartcompare-comparison-data > :first-child { margin-top: 0; }
#smartcompare-comparison-data p { font-size: 16px; line-height: 1.8; margin: 0 0 18px; }
#smartcompare-comparison-data ul,
#smartcompare-comparison-data ol { margin: 0 0 28px; padding: 20px 28px 20px 44px; background: var(--sc-ground); border-radius: 12px; list-style-position: outside; }
#smartcompare-comparison-data ul { list-style-type: disc; }
#smartcompare-comparison-data ol { list-style-type: decimal; }
#smartcompare-comparison-data li { margin: 0 0 10px; padding: 0 0 0 2px; font-size: 16px; line-height: 1.8; color: var(--sc-ink); }
#smartcompare-comparison-data li:last-child { margin-bottom: 0; }
#smartcompare-comparison-data li::marker { color: var(--sc-navy); }
#smartcompare-comparison-data li ul,
#smartcompare-comparison-data li ol { margin: 10px 0; padding: 0 0 0 22px; }
#smartcompare-comparison-data a { text-decoration: underline; text-underline-offset: 3px; }
#smartcompare-comparison-data img { max-width: 100%; height: auto; }
#smartcompare-comparison-data table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 26px 0;
  background: var(--sc-white);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
#smartcompare-comparison-data thead { background: var(--sc-navy); }
#smartcompare-comparison-data th,
#smartcompare-comparison-data td { width: auto; padding: 16px 20px; font-size: 16px; line-height: 1.65; text-align: center; vertical-align: middle; overflow-wrap: anywhere; border: 0; border-bottom: 1px solid var(--sc-line); color: var(--sc-ink); }
#smartcompare-comparison-data th:first-child,
#smartcompare-comparison-data td:first-child { width: 26%; text-align: left; font-weight: 600; }
#smartcompare-comparison-data thead th,
#smartcompare-comparison-data thead td { background: var(--sc-navy); color: var(--sc-white); font-weight: 700; border-color: var(--sc-navy); }
#smartcompare-comparison-data tbody tr:nth-child(even) { background: var(--sc-ground); }
#smartcompare-comparison-data tbody tr:hover { background: var(--sc-hover); }
#smartcompare-comparison-data tbody td[colspan],
#smartcompare-comparison-data tbody th[colspan] { text-align: center; }
#smartcompare-comparison-data .smartcompare-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: var(--sc-muted) var(--sc-ground); scrollbar-width: thin; }
#smartcompare-comparison-data .smartcompare-table-scroll table { margin: 0; }
#smartcompare-comparison-data .smartcompare-table-block { margin: 26px 0 32px; }
#smartcompare-comparison-data .smartcompare-scroll-hint { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 10px; color: var(--sc-muted); font-size: 13px; line-height: 1.5; }
#smartcompare-comparison-data .smartcompare-scroll-hint[hidden] { display: none; }
.product-compare-detail .smartcompare-contact { display: flex; justify-content: center; margin-top: 28px; }
.product-compare-detail .comparison-disclaimer { color: var(--sc-muted); background: var(--sc-ground); margin: 26px 0 0; padding: 16px 20px; font-size: 14px; line-height: 1.8; border-radius: 8px; }
.product-compare-detail .smartcompare-empty { padding: 28px; background: var(--sc-ground); border-radius: 12px; }
.product-compare-detail .smartcompare-regenerate { margin-top: 40px; padding: 24px; background: var(--sc-ground); border-radius: 12px; }
.product-compare-detail .smartcompare-regenerate-form { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px; }
.product-compare-detail .smartcompare-regenerate-field { flex: 1 1 320px; }
.product-compare-detail .smartcompare-regenerate-field label { display: block; color: var(--sc-ink); margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.product-compare-detail .smartcompare-regenerate-field input { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--sc-line); border-radius: 7px; color: var(--sc-ink); background: var(--sc-white); font-size: 16px; caret-color: var(--sc-navy); }
.product-compare-detail .smartcompare-regenerate-field input::placeholder { color: var(--sc-muted); opacity: 1; }
.product-compare-detail .smartcompare-regenerate-button { min-height: 46px; padding: 10px 20px; border: 0; border-radius: 7px; background: var(--sc-navy); color: var(--sc-white); font-size: 15px; font-weight: 700; cursor: pointer; }
.product-compare-detail .smartcompare-regenerate-button:disabled { opacity: .6; cursor: wait; }
.product-compare-detail .smartcompare-regenerate-status { flex-basis: 100%; color: var(--sc-muted); font-size: 14px; }
.product-compare-detail .smartcompare-regenerate-status:empty { display: none; }
.product-compare-detail .smartcompare-regenerate-status.success { color: var(--sc-green); }
.product-compare-detail .smartcompare-regenerate-status.error { color: var(--sc-red); }
@media (max-width: 1000px) {
  .smartcompare-container #content.product-compare-content { padding: 0 20px; }
  .product-compare-detail .compare-product-card { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .product-compare-detail .compare-product-info { padding: 0; }
  .product-compare-detail .compare-product-name { min-height: 50px; }
  .product-compare-detail .compare-product-image { min-height: 200px; }
  .product-compare-detail .compare-product-image img { height: 200px; }
}
@media (max-width: 600px) {
  .smartcompare-container #content.product-compare-content { padding: 0 16px; }
  .product-compare-detail { padding: 20px 0 36px; }
  .product-compare-detail .smartcompare-intro { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  .product-compare-detail h1 { font-size: 26px; line-height: 1.35; margin-bottom: 8px; }
  .product-compare-detail .smartcompare-reset { padding: 8px 0; min-height: 44px; }
  .product-compare-detail .compare-products-row { gap: 10px; margin-bottom: 32px; }
  .product-compare-detail .compare-product-card { padding: 12px; gap: 14px; grid-template-rows: auto 1fr auto; border-radius: 12px; }
  .product-compare-detail .compare-product-image { min-height: 142px; }
  .product-compare-detail .compare-product-image img { height: 142px; }
  .product-compare-detail h2.compare-product-model { font-size: 18px; margin-bottom: 8px; }
  .product-compare-detail .compare-product-name { font-size: 14px; line-height: 1.6; min-height: 0; margin-bottom: 16px; }
  .product-compare-detail .compare-product-price { font-size: 23px; gap: 4px 6px; }
  .product-compare-detail .compare-product-price .price-old { font-size: 13px; }
  .product-compare-detail .compare-product-price .price-on-request { font-size: 17px; }
  .product-compare-detail .compare-product-actions { flex-direction: column; align-items: stretch; gap: 5px; }
  .product-compare-detail .compare-product-enquiry { min-height: 44px; font-size: 14px; padding: 10px 6px; gap: 5px; }
  .product-compare-detail .compare-product-enquiry .fa { font-size: 18px; }
  .product-compare-detail .compare-product-detail-link { font-size: 14px; min-height: 44px; gap: 4px; }
  .product-compare-detail .smartcompare-staff-enquiry { width: 100%; }
  .product-compare-detail .smartcompare-results-heading { display: block; margin-bottom: 24px; }
  .product-compare-detail .smartcompare-results-heading h2 { font-size: 24px; margin-bottom: 6px; }
  .product-compare-detail .smartcompare-results-heading p { font-size: 13px; }
  #smartcompare-comparison-data h2,
  #smartcompare-comparison-data h3,
  #smartcompare-comparison-data h4 { font-size: 19px; }
  #smartcompare-comparison-data ul,
  #smartcompare-comparison-data ol { padding: 18px 18px 18px 34px; }
  #smartcompare-comparison-data li { font-size: 15px; }
  #smartcompare-comparison-data th,
  #smartcompare-comparison-data td { padding: 13px 14px; font-size: 15px; }
  .product-compare-detail .comparison-disclaimer { padding: 14px 16px; font-size: 13px; }
  .product-compare-detail .smartcompare-regenerate { padding: 18px; }
  .product-compare-detail .smartcompare-regenerate-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .product-compare-detail .compare-product-image img,
  .product-compare-detail .compare-product-enquiry,
  .product-compare-detail .smartcompare-staff-enquiry,
  .product-compare-detail .compare-product-detail-link svg { transition: none; transform: none; }
}
