.pv-compare-toggle, .pv-compare-tray button, .pv-compare-scroll button {
min-height: 40px;
border: 1px solid var(--pv-border);
border-radius: 8px;
padding: 7px 12px;
background: #fff;
color: #222;
font: inherit;
cursor: pointer;
}
.pv-compare-choice[hidden], .pv-compare-inline, .pv-compare-tray[hidden],
.pv-compare-dialog [hidden] { display: none !important; }
.pv-compare-toggle { margin-top: 8px; font-size: .82rem; }
.pv-compare-toggle[aria-pressed="true"] { background: var(--pv-soft); border-color: #937612; }
.pv-compare-tray {
position: fixed;
bottom: max(12px, env(safe-area-inset-bottom));
left: var(--pv-gutter);
z-index: 84;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
max-width: calc(100vw - 2 * var(--pv-gutter));
padding: 8px;
border: 1px solid var(--pv-border);
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 20px #0002;
font-size: .82rem;
}
.pv-compare-tray [data-pv-compare-open]:not(:disabled) { background: var(--pv-buy); font-weight: 600; }
.pv-compare-tray button:disabled { cursor: default; opacity: .55; }
.pv-buy-visible .pv-compare-tray { bottom: calc(68px + env(safe-area-inset-bottom)); }
.pv-compare-dialog { width: min(920px, calc(100% - 28px)); }
.pv-compare-dialog [data-pv-compare-message]:not(:empty) { padding: 15px; }
.pv-product-facts { clear: both; margin: 24px 0; }
.pv-product-facts table, .pv-compare-scroll table { width: 100%; border-collapse: collapse; margin: 0; }
.pv-compare-scroll { overflow-x: auto; }
.pv-compare-scroll table { min-width: 550px; }
.pv-compare-scroll button { display: block; margin-top: 6px; font-size: .8rem; }
.pv-product-facts :is(th, td), .pv-compare-scroll :is(th, td) {
border-top: 1px solid var(--pv-border);
padding: 10px 14px;
text-align: left;
vertical-align: top;
overflow-wrap: anywhere;
}
.pv-product-facts th, .pv-compare-scroll th { font-weight: 600; }
.pv-compare-thumb { display: block; width: 54px; height: 54px; object-fit: contain; margin-block-end: 7px; }
.pv-compare-differences { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.pv-compare-differences input { width: 18px; height: 18px; accent-color: #403113; }
.pv-compare-help { margin: 14px 0 0; }
.pv-compare-help a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 3px; }
.pv-compare-choice button:focus-visible, .pv-compare-dialog :focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (max-width: 700px) {
.pv-compare-tray { position: static; max-width: 100%; margin: 10px 0; box-shadow: none; }
.pv-compare-choice { display: grid; }
.pv-compare-choice button, .pv-compare-tray button { min-height: 44px; }
.pv-compare-inline:not([hidden]) { display: block !important; padding: 4px; background: transparent; border: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.pv-compare-scroll table { width: max-content; min-width: 100%; table-layout: fixed; }
.pv-compare-scroll th, .pv-compare-scroll td { box-sizing: border-box; width: clamp(7.7rem, 29vw, 11rem); max-width: 11rem; padding: 8px; }
.pv-compare-scroll tr > :first-child { position: sticky; left: 0; z-index: 1; width: 5rem; max-width: 5rem; background: #faf8f3; }
.pv-compare-scroll table[data-product-count="2"] { width: 100%; }
.pv-compare-scroll table[data-product-count="2"] :is(th, td):not(:first-child) { width: auto; }
.pv-compare-scroll table[data-product-count="2"] tr > :first-child { width: 24%; }
}