/* Goods comparison: scrolling stays inside the table, never the document. */
#product-compare{padding-bottom:48px;min-width:0}
#product-compare #content{min-width:0}
.gs-compare-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:16px 0 24px}
.gs-compare-heading h1{font-size:clamp(25px,3vw,36px);font-weight:760;letter-spacing:-.035em;margin:0 0 10px}
.gs-compare-heading p{margin:0;color:#526b82;font-size:14px;line-height:1.6}
.gs-compare-catalog{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font-weight:650;font-size:13px;min-height:44px}
.gs-compare-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid #dbe7f1;border-radius:14px;padding:14px 18px;font-size:13px}
.gs-compare-switch{display:inline-flex;align-items:center;gap:10px;min-height:36px;cursor:pointer;font-weight:650}
.gs-compare-switch input{width:20px;height:20px;accent-color:#0968de;cursor:pointer}
.gs-compare-hint{display:flex;gap:10px;align-items:center;font-size:12px;color:#4b6780;margin:14px 0;line-height:1.6}
.gs-compare-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain;border:1px solid #dbe7f1;border-radius:16px;background:#fff;scrollbar-color:#a2bbd0 #edf3f8;scrollbar-width:auto}
.gs-compare-scroll:focus-visible{outline:3px solid #1387f2;outline-offset:3px}
#product-compare .gs-compare-table{border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:100%;width:max-content;margin:0;font-size:13px;line-height:1.6;color:#18334d}
.gs-compare-table th,.gs-compare-table td{width:244px;min-width:244px;max-width:244px;padding:16px 18px;vertical-align:top;overflow-wrap:anywhere;background:#fff;border:0;border-right:1px solid #e4edf4;border-bottom:1px solid #e4edf4;text-align:left;font-weight:400}
.gs-compare-table tr>:last-child{border-right:0}
.gs-compare-table tr>:first-child{position:sticky;left:0;z-index:2;width:180px;min-width:180px;max-width:180px;background:#f5f9fc;font-weight:650;color:#3b566e}
.gs-compare-table thead th{position:relative}
.gs-compare-table thead .gs-compare-corner{vertical-align:bottom;z-index:3}
.gs-compare-product{padding-top:40px!important}
.gs-compare-remove{position:absolute;top:10px;right:10px}
.gs-compare-remove button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;color:#566f84;background:#fff;border:1px solid #dbe5ed;border-radius:10px}
.gs-compare-remove button:hover{background:#fff0f0;border-color:#eabbbb;color:#a73333}
.gs-compare-remove button:focus-visible,.gs-compare-switch input:focus-visible{outline:3px solid #1387f2;outline-offset:2px}
.gs-compare-photo{display:flex;justify-content:center;align-items:center;height:165px;margin:0 0 16px;background:#fff}
.gs-compare-photo img{width:100%;height:100%;object-fit:contain}
.gs-compare-name{display:block;min-height:84px;font-weight:680;color:#122f4c;font-size:13px;line-height:1.6;margin-bottom:14px}
.gs-compare-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;min-height:30px}
.gs-compare-price strong{font-size:21px;letter-spacing:-.035em;color:#082246;font-weight:750}
.gs-compare-price s{color:#667c90;font-size:12px}
.gs-compare-stock{display:block;font-size:12px;color:#765d4e;margin:8px 0 14px}
.gs-compare-stock--yes{color:#007353}
.gs-compare-buy .btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:10px;font-size:13px}
.gs-compare-table .gs-compare-group-title th{position:static;background:#eaf2f9;color:#173f65;font-weight:750;padding:13px 18px}
.gs-compare-table .gs-compare-different td{background:#f0f7ff}
.gs-compare-description{font-size:12px;color:#4a6277}
.gs-compare-table [hidden]{display:none!important}
.gs-compare-legend{font-size:12px;color:#526b82;margin:16px 0 0;line-height:1.7}
.gs-compare-empty{text-align:center;background:#fff;border:1px solid #dbe7f1;border-radius:18px;padding:48px 24px;margin:20px 0}
.gs-compare-empty>i{font-size:38px;color:#2979bd}
.gs-compare-empty h2{font-size:22px;margin:20px 0 12px}
.gs-compare-empty p{color:#536b80;margin-bottom:24px}
@media(max-width:767px){
 .gs-compare-heading{display:block;margin:12px 0 16px}
 .gs-compare-heading p{font-size:13px}
 .gs-compare-catalog{margin-top:8px;font-size:12px}
 .gs-compare-toolbar{padding:10px 12px;gap:6px;font-size:12px}
 .gs-compare-hint{font-size:11px}
 .gs-compare-table th,.gs-compare-table td{width:206px;min-width:206px;max-width:206px;padding:12px;font-size:12px}
 .gs-compare-table tr>:first-child{width:108px;min-width:108px;max-width:108px;font-size:11px}
 .gs-compare-photo{height:140px;margin-bottom:12px}
 .gs-compare-name{min-height:92px;font-size:12px}
 .gs-compare-price strong{font-size:19px}
 .gs-compare-scroll{border-radius:12px}
 #product-compare{padding-bottom:30px}
}
