.compare-header svg{display:block;width:24px;height:24px;margin:auto}.compare-toggle{position:absolute;right:58px;top:18px;width:34px;height:34px;display:grid;place-items:center;padding:6px;border:1px solid #e4e8e5;border-radius:50%;background:#fff;color:#8a9690;z-index:2}.compare-toggle svg,.compare-in-product svg{width:20px;height:20px}.compare-toggle.is-compared{background:#e9f6f8;color:#22a8c1;border-color:#22a8c1}.compare-in-product{display:flex;align-items:center;justify-content:center;gap:8px;background:#f1f7f8;color:#269eb3;border:1px solid #dfeaed;border-radius:4px;padding:10px 14px}.compare-in-product.is-compared{background:#e3f4f7}.comparison-dialog{box-sizing:border-box;width:min(1380px,calc(100vw - 36px));max-width:none;max-height:90dvh;padding:26px;border:0;border-radius:14px;color:#28352f;overscroll-behavior:contain}.comparison-dialog::backdrop{background:#152b3666}.comparison-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.comparison-heading h2{font-size:26px;font-weight:400;margin:0}.comparison-heading>button{font-size:30px;background:none;padding:0 6px;color:#7a8580}.comparison-tools{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:24px 0 12px;font-size:14px}.comparison-tools label{display:flex;gap:8px;align-items:center}.comparison-tools button{background:none;color:#27a5bd;padding:6px}.comparison-notice{font-size:14px;color:#88948d}.comparison-scroll{max-height:65dvh;overflow:auto;overscroll-behavior:contain}.comparison-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%;font-size:14px}.comparison-table th,.comparison-table td{box-sizing:border-box;width:240px;min-width:240px;max-width:240px;border-bottom:1px solid #e5e9e6;border-right:1px solid #edf0ee;padding:15px;text-align:left;vertical-align:top;overflow-wrap:anywhere}.comparison-table th:first-child{position:sticky;left:0;width:170px;min-width:170px;max-width:170px;background:#fff;z-index:1;font-weight:400;color:#859088}.comparison-table thead th{background:#fff;position:relative;font-weight:400}.comparison-table thead th:first-child{position:sticky;left:0}.comparison-product-link{display:flex;flex-direction:column;gap:12px;color:inherit;text-decoration:none;line-height:1.45}.comparison-product-link img{width:100%;height:145px;object-fit:contain;background:#fff}.comparison-product-link small{color:#25a5bb}.comparison-remove{position:absolute;right:6px;top:0;background:#fff;padding:2px 7px;font-size:24px;color:#9ba59f;z-index:2}.comparison-buy{margin-top:14px;background:#2bb3cd;color:#fff;border-radius:4px;padding:9px 16px}.comparison-different td{background:#f0f9fa}.comparison-table tbody td{line-height:1.5}.comparison-dialog button:focus-visible,.compare-toggle:focus-visible{outline:2px solid #2bb3cd;outline-offset:2px}@media(max-width:650px){.compare-toggle{right:46px;top:12px;width:30px;height:30px}.compare-header span{font-size:10px}.comparison-dialog{width:calc(100vw - 16px);padding:16px;max-height:94dvh}.comparison-heading h2{font-size:20px}.comparison-table th,.comparison-table td{width:190px;min-width:190px;max-width:190px;padding:12px}.comparison-table th:first-child{width:110px;min-width:110px;max-width:110px;font-size:12px}.comparison-tools{gap:10px;font-size:12px;margin-top:16px}.comparison-scroll{max-height:68dvh}}@media(max-width:650px){header:has(.compare-header){grid-template-columns:minmax(0,1fr) 32px 48px 52px 36px;column-gap:7px}header>#customerAccount{grid-column:2;grid-row:1}header>.compare-header{grid-column:3;grid-row:1}header>#favorites{grid-column:4;grid-row:1}header>.header-action:last-child{grid-column:5;grid-row:1}header>.compare-header>svg{width:18px;height:32px}.compare-header span{font-size:9px}}
/* Match existing favorites/cart/profile icon boxes and label baselines. */
.compare-toggle{top:10px;right:56px;width:35px;height:35px;padding:0;color:var(--shop-accent,#2bb3cd)}
.compare-toggle svg{width:22px;height:22px;stroke-width:1.6}
header>.header-action>svg,header>#customerAccount>svg{display:block;width:24px;height:36px;margin:0 auto;flex-shrink:0}
@media(max-width:650px){.compare-toggle{top:10px;right:56px;width:35px;height:35px}.compare-toggle svg{width:20px;height:20px}header>.header-action>svg,header>#customerAccount>svg{width:18px;height:32px}.compare-header span{font-size:10px}}

/* Equal mobile actions below the full-width purchase button. */
@media(max-width:650px){
 .product-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .product-page-actions>.dark{grid-column:1/-1;min-width:0;width:100%}
 .product-page-actions>.product-page-favorite,.product-page-actions>.compare-in-product{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;width:100%;height:48px;padding:8px 6px;font-size:14px;line-height:1.3;white-space:nowrap}
 .product-page-actions>.compare-in-product svg{width:18px;height:18px;flex:0 0 18px}
}

/* Matching circular controls and optical icon centers on catalogue cards. */
.product .favorite,.product .compare-toggle{box-sizing:border-box;display:flex;align-items:center;justify-content:center;top:10px;width:36px;height:36px;margin:0;padding:0;border:1px solid #e4e8e5;border-radius:50%;background:#fff;color:var(--shop-accent,#31b5cf);line-height:1}
.product .favorite{right:12px;font-size:0}
.product .compare-toggle{right:56px}
.product .compare-toggle svg{display:block;width:20px;height:20px;margin:0;stroke-width:1.6}
.product .favorite::before{width:20px;height:20px;transform:translateY(-1px)}
.product .favorite.chosen,.product .compare-toggle.is-compared{background:var(--shop-tint,#eaf6f8);border-color:var(--shop-accent,#31b5cf);color:#217b8d}

/* Compact mobile card circles, retaining 20px symbols. */
@media(max-width:650px){.product .favorite,.product .compare-toggle{width:30px;height:30px}.product .compare-toggle{right:50px}}

/* Approved desktop card circle size; preserve the existing 20px symbols. */
@media(min-width:651px){.product .favorite,.product .compare-toggle{width:32px;height:32px}.product .compare-toggle{right:52px}}

/* Center the mobile heart box exactly; avoid the earlier optical upward offset. */
@media(max-width:650px){.product .favorite::before{position:absolute;left:50%;top:50%;width:20px;height:20px;transform:translate(-50%,-50%)}}
