.oto-storefront .catalog-compare-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
    position: sticky;
    top: 0;
    z-index: 2;
}
.oto-storefront .catalog-compare-bar p { margin: 0; font-size: .875rem; }
.oto-storefront .catalog-compare-bar button:disabled { opacity: .55; cursor: default; }
.oto-storefront .catalog-compare-choice {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin-top: 4px;
    font-size: .85rem;
    cursor: pointer;
}
.oto-storefront .catalog-compare-choice input { accent-color: var(--blue); }
.oto-storefront .catalog-compare-bar[hidden],
.oto-storefront .catalog-compare-choice[hidden] { display: none; }

.oto-storefront .catalog-compare-dialog {
    padding: 14px;
    color: var(--ink);
    background: white;
    width: min(760px, calc(100% - 20px));
    max-width: none;
    max-height: calc(100dvh - 20px);
    border: 1px solid var(--line);
    border-radius: 12px;
}
.oto-storefront .catalog-compare-dialog::backdrop { background: #101b2ca8; }
.oto-storefront .catalog-compare-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.oto-storefront .catalog-compare-head h2 { margin: 0; font-size: 1.1rem; }
.oto-storefront .catalog-compare-head button {
    width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 8px;
    color: var(--ink); background: var(--soft); font-size: 1.4rem;
}
.oto-storefront .catalog-compare-scroll { overflow: auto; }
.oto-storefront .catalog-compare-dialog table { width: 100%; border-collapse: collapse; font-size: .86rem; text-align: left; }
.oto-storefront .catalog-compare-dialog :is(th, td) {
    padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 95px;
}
.oto-storefront .catalog-compare-dialog :is(th, td):first-child { min-width: 74px; background: var(--soft); }
.oto-storefront .catalog-compare-dialog tbody tr:last-child td { font-weight: 650; }
