.compare-main{min-height:calc(100vh - 130px);background:#f6f8fb}.compare-page .page-head{padding:42px 0 22px}.compare-page .page-head h1{font-size:32px}.compare-page .page-head p{font-size:13px}.compare-shell{padding-bottom:64px}.compare-tabs{display:inline-flex;gap:5px;padding:5px;border:1px solid #dfe4eb;border-radius:14px;background:#fff;margin-bottom:18px;box-shadow:0 5px 18px rgba(35,47,69,.04)}.compare-tab{min-width:130px;height:39px;border:0;border-radius:10px;background:transparent;color:#6e7988;font-size:12px;font-weight:800;cursor:pointer}.compare-tab.active{color:#fff;background:linear-gradient(135deg,#6069f2,#7559f4);box-shadow:0 6px 15px rgba(99,94,235,.2)}
.compare-search-grid,.compare-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.compare-search-grid{position:relative;z-index:5;margin-bottom:14px}.product-picker{position:relative}.product-picker label{display:flex;align-items:baseline;gap:8px;margin:0 0 7px 4px}.product-picker label span{color:#6564e6;font-size:10px;font-weight:900}.product-picker label strong{font-size:12px}.compare-search-box{height:50px;display:grid;grid-template-columns:45px 1fr auto;align-items:center;border:1px solid #d7dde6;border-radius:13px;background:#fff;box-shadow:0 6px 20px rgba(37,49,72,.05);overflow:hidden}.compare-search-box:focus-within{border-color:#7777ef;box-shadow:0 0 0 3px rgba(105,101,237,.12)}.compare-search-box svg{width:19px;height:19px;margin:auto;fill:none;stroke:#65707f;stroke-width:2;stroke-linecap:round}.compare-search-box input{height:100%;border:0;outline:0;background:transparent;color:#202a38;font-size:13px}.compare-search-box>button{height:32px;margin-right:8px;padding:0 11px;border:0;border-radius:8px;background:#f0f2f6;color:#778291;font-size:9px;font-weight:800;cursor:pointer}.compare-search-results{position:absolute;top:78px;left:0;right:0;max-height:390px;overflow:auto;border:1px solid #dbe1e9;border-radius:12px;background:#fff;padding:6px;box-shadow:0 18px 45px rgba(28,39,59,.18)}.compare-search-results button{width:100%;display:flex;flex-direction:column;gap:3px;border:0;border-radius:8px;background:#fff;padding:10px 11px;text-align:left;cursor:pointer}.compare-search-results button:hover,.compare-search-results button:focus{background:#f2f2ff;outline:0}.compare-search-results button span{color:#8a95a3;font-size:9px}.compare-search-results button strong{color:#1d2735;font-size:12px}.compare-search-results button small{color:#6f7a89;font-size:9px}.compare-no-result{padding:24px;text-align:center;color:#7c8795;font-size:11px}
.compare-product-grid{margin-bottom:14px}.compare-product-card{min-height:260px;display:grid;grid-template-columns:minmax(190px,38%) minmax(0,1fr);gap:18px;border:1px solid #e0e5ec;border-radius:17px;background:#fff;padding:16px;box-shadow:0 8px 25px rgba(37,49,72,.055)}.compare-product-card.is-empty{grid-template-columns:1fr;place-items:center;text-align:center}.compare-product-visual{min-height:210px;display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid #edf0f4;border-radius:12px;background:linear-gradient(145deg,#fbfcfe,#f3f5f8)}.compare-product-photo{width:100%;height:100%;max-height:230px;object-fit:contain;padding:12px;position:relative;z-index:1}.compare-product-fallback{position:absolute;inset:0;display:grid;place-items:center}.compare-product-visual.has-photo .compare-product-fallback{display:none}.compare-product-fallback img{max-width:66%;max-height:65px;opacity:.8}.compare-product-fallback span{font-size:20px;font-weight:900;color:#737d89}.compare-product-info{display:flex;min-width:0;flex-direction:column;justify-content:center}.compare-product-info>span{font-size:10px;color:#8993a1}.compare-product-info h2{font-size:19px;line-height:1.35;margin:7px 0 4px;letter-spacing:-.03em}.compare-product-info>small{font-size:10px;color:#8a95a3}.compare-product-price{margin-top:auto;padding-top:18px}.compare-product-price em{display:block;color:#636be7;font-size:10px;font-style:normal;font-weight:700}.compare-product-price strong{display:block;color:#ef4141;font-size:22px;margin-top:3px}.compare-product-empty{min-height:130px;display:grid;place-items:center;color:#a0a8b3}.compare-empty-copy b{display:block;font-size:14px;margin-bottom:5px}.compare-empty-copy span{color:#84909e;font-size:11px}
.compare-table-wrap{overflow:auto;border:1px solid #dfe4eb;border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(37,49,72,.045)}.compare-table{width:100%;border-collapse:collapse;table-layout:fixed}.compare-table th,.compare-table td{padding:14px 16px;border-bottom:1px solid #e8ecf1;text-align:left;font-size:12px;line-height:1.45;word-break:break-word}.compare-table thead th{position:sticky;top:0;background:#f4f6f9;color:#384352;font-size:11px;z-index:1}.compare-table thead th:first-child,.compare-table tbody th{width:23%}.compare-table tbody th{color:#778291;background:#fafbfc;font-weight:600}.compare-table td{color:#293442}.compare-table tr:last-child th,.compare-table tr:last-child td{border-bottom:0}.compare-missing{color:#b1b8c1}.compare-table-empty{min-height:200px;display:grid;place-content:center;justify-items:center;gap:6px;color:#7d8897}.compare-table-empty strong{color:#404b59;font-size:14px}.compare-table-empty span{font-size:11px}
.compare-product-fallback img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain;padding:12px;opacity:1!important}

.compare-tabs{width:fit-content;max-width:100%;flex-wrap:wrap}.compare-tab{white-space:nowrap}#accessoryCompareControls{margin:0 0 24px}#accessoryCompareControls select{display:block;margin:8px 0;padding:10px 14px;border:1px solid #dce2eb;border-radius:10px;background:white;font:inherit;max-width:100%}#accessoryCompareControls p{font-size:13px;color:#657386}.compare-table td{overflow-wrap:anywhere}

/* Keep both products and the three comparison columns visible at narrow widths. */
.compare-shell,.compare-search-grid,.compare-product-grid,.product-picker,.compare-product-card{min-width:0;max-width:100%}
.compare-tab{min-height:44px;height:auto;padding:10px 16px;font-size:14px}
.compare-search-box{grid-template-columns:38px minmax(0,1fr) auto;min-width:0;min-height:52px}
.compare-search-box input{width:100%;min-width:0;font-size:16px;text-overflow:ellipsis}
.compare-search-box>button{min-width:52px;min-height:44px;height:auto;margin-right:4px;padding:8px;font-size:12px}
.product-picker label{flex-wrap:wrap;gap:4px 8px}
.product-picker label span{font-size:12px}
.product-picker label strong{font-size:14px}
.compare-search-results{top:calc(100% + 8px);z-index:10;max-height:min(390px,50dvh);overscroll-behavior:contain}
.compare-search-results button{min-height:52px;overflow-wrap:anywhere}
.compare-search-results button strong{font-size:14px}
.compare-search-results button span,.compare-search-results button small{font-size:12px}
.compare-product-info,.compare-empty-copy,.compare-product-empty{overflow-wrap:anywhere}
.compare-product-info>span,.compare-product-info>small,.compare-product-price em{font-size:12px}
.compare-product-price strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.compare-table-wrap{min-width:0;max-width:100%;overscroll-behavior-x:contain}
.compare-table-wrap:focus-visible{outline:3px solid #7777ef;outline-offset:3px}
.compare-table th,.compare-table td{overflow-wrap:anywhere;word-break:normal;font-size:13px;vertical-align:top}
.compare-table thead th{font-size:13px}
.compare-table td a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;text-decoration:underline;text-underline-offset:3px}
.compare-tab:focus-visible,.compare-search-box>button:focus-visible,.compare-search-results button:focus-visible{outline:3px solid #7777ef;outline-offset:-3px}
#accessoryCompareControls select{min-height:44px;width:min(100%,360px);font-size:16px}
#accessoryCompareControls label,.compare-page .page-head p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}

@media(max-width:1000px){
  .compare-product-card{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px;min-height:0}
  .compare-product-visual{min-height:0;height:190px}
  .compare-product-photo{height:100%;max-height:100%}
  .compare-product-info{justify-content:flex-start}
  .compare-product-info h2{font-size:18px}
  .compare-product-price{padding-top:14px}
  .compare-product-grid{align-items:stretch}
  .compare-table th,.compare-table td{padding:12px}
}
@media(max-width:599px){
  .compare-page .page-head{padding:26px 0 18px}
  .compare-page .page-head h1{font-size:27px}
  .compare-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:3px;padding:4px}
  .compare-tab{min-width:0;padding:10px 3px;font-size:13px}
  .compare-search-grid{grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:18px}
  .compare-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .compare-product-card{padding:9px;gap:10px;border-radius:12px;align-content:start}
  .compare-product-visual{height:clamp(105px,29vw,165px);border-radius:8px}
  .compare-product-photo,.compare-product-fallback img{padding:6px}
  .compare-product-info h2{font-size:14px;line-height:1.45;letter-spacing:-.02em}
  .compare-product-info>span,.compare-product-info>small,.compare-product-price em{font-size:11px}
  .compare-product-price{padding-top:12px}
  .compare-product-price strong{font-size:clamp(15px,4vw,19px);letter-spacing:-.04em}
  .compare-product-empty{min-height:105px;font-size:12px}
  .compare-empty-copy b{font-size:13px}
  .compare-empty-copy span{font-size:12px}
  .compare-table{min-width:0}
  .compare-table thead th:first-child,.compare-table tbody th{width:26%}
  .compare-table th,.compare-table td,.compare-table thead th{padding:10px 7px;font-size:12px;line-height:1.6}
  .compare-table thead th{font-weight:800}
  .compare-table-empty{padding:20px;text-align:center}
  .compare-table-empty span{font-size:12px;overflow-wrap:anywhere}
}
