.clh-compare-choice[hidden],.clh-compare-controls [hidden],.clh-compare-dialog [hidden]{display:none!important}
.clh-compare-choice{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;cursor:pointer;color:inherit}
.clh-compare-choice input,.clh-compare-options input{appearance:auto;width:20px;height:20px;accent-color:#a58549;flex-shrink:0}
.clh-compare-choice:has(input:disabled){opacity:.5;cursor:default}
.clh-compare-controls{flex:none;padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid #bba98455;background:rgb(var(--color-background,255 255 255));color:inherit}
.clh-compare-controls p{font-size:13px;line-height:1.5;margin:0 0 10px}
.clh-compare-actions{display:flex;gap:10px;flex-wrap:wrap}
.clh-compare-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border:1px solid #c0a46a;border-radius:99px;background:#d5bf87;color:#382c23;font:inherit;font-size:14px;line-height:1.4;text-align:center;text-decoration:none;cursor:pointer}
.clh-compare-secondary{background:transparent;color:inherit}
.clh-compare-button:disabled{opacity:.45;cursor:default}
.clh-compare-button:focus-visible,.clh-compare-dialog button:focus-visible,.clh-compare-scroll:focus-visible{outline:2px solid #a58549;outline-offset:3px}
.clh-compare-drawer-panel>div.flex.flex-col.h-full{height:auto;flex:1;min-height:0}
.clh-compare-drawer-panel>.clh-compare-controls{order:-1;border-top:0;border-bottom:1px solid #bba98455;padding-bottom:16px}
main-cart cart-items>.clh-compare-controls{margin-block:20px;padding:18px;border:1px solid #bba98455;border-radius:20px}
.clh-compare-dialog{box-sizing:border-box;width:min(1100px,calc(100vw - 24px));max-width:none;height:auto;max-height:calc(100dvh - 24px);padding:24px;border:1px solid #d2c2a5;border-radius:28px;background:#fcfaf6;color:#49362e;box-shadow:0 16px 70px #0005;overflow:hidden;font-family:Arial,"Microsoft JhengHei",sans-serif}
.clh-compare-dialog[open]{display:flex;flex-direction:column;gap:16px}
.clh-compare-dialog::backdrop{background:#0008}
.clh-compare-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}
.clh-compare-header h2{margin:0;font-family:inherit;font-size:24px;line-height:1.4;font-weight:600}
.clh-compare-header button{background:transparent;color:inherit;border:1px solid #c9b894;border-radius:99px;min-height:44px;padding:8px 14px;font-family:inherit;font-size:14px;line-height:1.4;cursor:pointer}
.clh-compare-header button span{font-size:23px;margin-left:8px;vertical-align:middle}
.clh-compare-options{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;font-size:14px;flex-shrink:0}
.clh-compare-options label{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.clh-compare-options p{font-size:12px;margin:0;opacity:.75}
.clh-compare-status:empty{display:none}
.clh-compare-status{font-size:15px;margin:8px 0}
.clh-compare-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid #ded5c5;border-radius:18px}
.clh-compare-table{--compare-col:clamp(128px,calc((100vw - 124px)/2),300px);table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:calc(68px + var(--compare-col)*var(--compare-count));font-size:14px;line-height:1.6}
.clh-compare-table th,.clh-compare-table td{padding:14px 16px;border-bottom:1px solid #ded5c5;border-right:1px solid #ded5c5;vertical-align:top;text-align:left;overflow-wrap:anywhere;font-weight:400}
.clh-compare-table tr>:first-child{width:100px;position:sticky;left:0;z-index:1;background:#f0e9dc;font-weight:600}
.clh-compare-table tr>:last-child{border-right:0}
.clh-compare-table tr:last-child>*{border-bottom:0}
.clh-compare-table thead th{background:#f7f3eb;text-align:center}
.clh-compare-table img{display:block;width:100%;height:180px;object-fit:contain;margin:0 auto 14px}
.clh-compare-product-title{font-size:15px;line-height:1.6;margin:0;text-align:left;font-weight:600}
.clh-compare-product-actions{display:flex;flex-direction:column;gap:10px}
.clh-compare-note{flex-shrink:0;font-size:12px;line-height:1.6;opacity:.75;margin:0}
@media(max-width:749px){.clh-compare-dialog{padding:16px;border-radius:22px;max-height:calc(100dvh - 16px)}.clh-compare-header{gap:8px}.clh-compare-header h2{font-size:20px}.clh-compare-header button{font-size:12px;padding:8px 10px}.clh-compare-table tr>:first-child{width:68px}.clh-compare-table th,.clh-compare-table td{padding:12px 8px}.clh-compare-table img{height:125px}.clh-compare-product-title{font-size:13px}.clh-compare-controls{padding-inline:20px}.clh-compare-actions>*{flex:1}.clh-compare-table .clh-compare-button{padding:10px 8px;font-size:13px}}

