.aw-compare-card{display:flex;flex-direction:column;min-width:0}.aw-compare-card>.card{flex:1}.aw-compare-card>button{margin-top:8px}.aw-compare-bar{position:sticky;bottom:0;z-index:30;background:#e8f2ec;padding:12px 20px;border-top:1px solid #9cbdaa;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.aw-compare-dialog{width:min(1100px,94vw);max-height:90vh;box-sizing:border-box;border:1px solid #a5c2b0;border-radius:16px;padding:24px;color:#153e31}.aw-compare-dialog::backdrop{background:#082c24b3}.aw-compare-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.aw-compare-dialog button,.aw-compare-bar button,.aw-compare-card>button,.nav>button{background:#006a50;color:white;border:0;border-radius:8px;padding:10px 14px;cursor:pointer;font:inherit}.aw-compare-dialog button:focus-visible,.aw-compare-bar button:focus-visible,.aw-compare-card button:focus-visible{outline:3px solid #b3d86f;outline-offset:2px}.aw-compare-dialog input{display:block;width:100%;box-sizing:border-box;padding:12px;margin:8px 0;border:1px solid #9cbdaa;border-radius:8px;font:inherit}.aw-compare-search{display:flex;flex-direction:column;gap:5px;max-height:220px;overflow:auto;margin-bottom:16px}.aw-compare-search button{text-align:left}.aw-compare-scroll{overflow:auto;margin:20px 0}.aw-compare-dialog table{border-collapse:collapse;width:100%;min-width:540px}.aw-compare-dialog td,.aw-compare-dialog th{padding:14px;border:1px solid #d5e3da;text-align:left;vertical-align:top;min-width:160px;overflow-wrap:anywhere}.aw-compare-dialog th{background:#f0f6f2}.aw-compare-dialog th img{height:90px;width:100px;object-fit:contain;display:block;margin-bottom:10px}.aw-compare-dialog th a{display:block;margin-bottom:10px}.aw-compare-store{display:block;margin-bottom:14px}.aw-compare-help{font-size:13px}.aw-compare-dialog caption{text-align:left;font-weight:bold;padding:10px 0}@media(max-width:600px){.aw-compare-dialog{padding:14px}.aw-compare-head h2{font-size:22px}.aw-compare-bar{padding:8px 12px}}
.aw-compare-dialog{font-family:inherit}.aw-compare-dialog th:first-child{min-width:110px}.aw-compare-dialog th:not(:first-child),.aw-compare-dialog td{min-width:185px}
.aw-spec-tabs button{padding:12px 18px;background:#e8f2ec;border:1px solid #9cbdaa;cursor:pointer;font:inherit}.aw-spec-tabs button[aria-selected="true"]{background:#006a50;color:#fff}.aw-spec-tabs button:focus-visible{outline:3px solid #91b753}.product-details [hidden]{display:none}

/* Phase 2B: preserve the existing layout, improve table navigation and targets. */
.aw-compare-dialog{width:min(1260px,96vw);max-width:96vw;padding:20px}.aw-compare-dialog [hidden]{display:none!important}.aw-compare-dialog table{border-collapse:separate;border-spacing:0;min-width:0;table-layout:fixed;width:max-content}.aw-compare-dialog td,.aw-compare-dialog th{box-sizing:border-box;min-width:0!important;width:220px;max-width:220px;white-space:normal}.aw-compare-dialog th:first-child{position:sticky;left:0;z-index:2;width:145px;max-width:145px;background:#edf5f0;box-shadow:2px 0 3px #173e3420}.aw-compare-dialog thead th{background:#f0f6f2}.aw-compare-dialog thead th:first-child{z-index:3}.aw-compare-scroll{max-width:100%;overscroll-behavior-x:contain;scrollbar-gutter:stable}.aw-compare-dialog .aw-compare-store{background:#006a50;color:white;padding:12px;border-radius:7px;text-decoration:none;min-height:44px;box-sizing:border-box}.aw-compare-actions,.aw-compare-controls{display:flex;gap:8px;flex-wrap:wrap}.aw-compare-dialog button{min-height:44px}.aw-compare-controls button[aria-pressed="false"]{background:#e8f2ec;color:#173e34;border:1px solid #8ea999}.aw-compare-controls button[aria-pressed="true"]{outline:2px solid #173e34;outline-offset:1px}.aw-compare-dialog button:disabled{opacity:.55;cursor:default}.aw-compare-dialog label{display:block}.aw-compare-replacing{padding:12px;background:#fff4cf}.aw-compare-price{font-weight:700;margin:8px 0}.aw-compare-count{font-weight:600}.aw-compare-search:empty{display:none}.aw-compare-dialog .aw-compare-help{line-height:1.5}.aw-compare-scroll:focus-visible{outline:3px solid #b55d00;outline-offset:2px}
@media(max-width:600px){.aw-compare-dialog{padding:12px}.aw-compare-head{gap:8px}.aw-compare-head h2{font-size:20px}.aw-compare-dialog td,.aw-compare-dialog th{width:175px;max-width:175px;padding:10px}.aw-compare-dialog th:first-child{width:125px;max-width:125px;font-size:13px;hyphens:auto}.aw-compare-dialog th img{max-width:100%;height:85px;object-fit:contain}.aw-compare-actions button{width:100%;padding:8px}.aw-compare-bar button{white-space:normal;text-align:left}.aw-compare-controls{gap:6px}}
