[data-pony-compare-toggle][hidden],[data-pony-compare-choice][hidden],[data-pony-compare-tray][hidden]{display:none!important}
.pony-compare-switch{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding-inline:8px;border:0;background:none;color:#202322;cursor:pointer;direction:rtl;font-size:14px}
.facets__form .pony-compare-switch{margin-inline-start:auto;align-self:center;flex:none}
.pony-compare-switch__track{position:relative;width:34px;height:20px;flex:none;border-radius:14px;background:#d2d5d2;border:1px solid #6d7471}
.pony-compare-switch__track::after{content:"";position:absolute;inset-block-start:2px;inset-inline-start:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:inset-inline-start .15s ease}
.pony-compare-switch[aria-checked="true"] .pony-compare-switch__track{background:#277d79;border-color:#277d79}
.pony-compare-switch[aria-checked="true"] .pony-compare-switch__track::after{inset-inline-start:16px}
.pony-compare-mobile-toggle{display:none}
#main-collection-product-grid .product-item:has(>.pony-compare-choice){position:relative}
.pony-compare-choice{position:absolute;inset-block-start:8px;left:8px;z-index:12;display:flex;align-items:center;gap:6px;min-height:34px;padding:3px 8px;background:#fff;color:#202322;border:1px solid #d5dddd;border-radius:5px;cursor:pointer;font-size:12px;white-space:nowrap}
.pony-compare-choice input{width:16px;height:16px;margin:0;accent-color:#277d79;cursor:pointer}
.pony-compare-choice:has(input:checked){border-color:#277d79;background:#eff8f7}
.pony-compare-tray{position:fixed;z-index:55;inset:auto 0 0;padding:10px max(18px,4vw) calc(10px + env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:center;gap:12px;direction:rtl;background:#fff;color:#202322;box-shadow:0 -3px 18px #0002}
.pony-compare-tray__selection,.pony-compare-tray__items,.pony-compare-tray__actions{display:flex;align-items:center;gap:10px}
.pony-compare-tray__count{font-size:14px;white-space:nowrap}
.pony-compare-tile{display:grid;place-items:center;position:relative;width:56px;height:56px;border-radius:6px;background:#f1f1f1}
.pony-compare-tile img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.pony-compare-tile__name{font-size:10px;text-align:center;overflow-wrap:anywhere}
.pony-compare-tile--empty{border:1px dashed #9aa4a1;background:#fafafa}
.pony-compare-remove,.pony-compare-close{display:grid;place-items:center;border:1px solid #d5dddd;background:#fff;color:#202322;cursor:pointer;border-radius:6px;font-size:22px;line-height:1}
.pony-compare-remove{width:26px;height:26px;position:absolute;left:-5px;top:-5px}
.pony-compare-action,.pony-compare-product-link{background:#235f5c;color:#fff;border:1px solid #235f5c;padding:8px 12px;border-radius:5px;cursor:pointer;font-size:14px;font-weight:650;text-decoration:none;white-space:nowrap;display:inline-block}
.pony-compare-action:disabled{background:#e5e9e7;color:#555f5b;border-color:#e5e9e7;cursor:not-allowed}
.pony-compare-clear{border:0;background:none;color:#202322;padding:6px 0;text-decoration:underline;cursor:pointer;white-space:nowrap;font-size:13px}
.pony-compare-dialog{border:0;border-radius:12px;margin:auto;width:min(94vw,960px);max-height:90dvh;padding:18px 22px 22px;background:#fff;color:#202322;direction:rtl;overflow:auto;box-shadow:0 10px 70px #0004}
.pony-compare-dialog:not([open]){display:none}
.pony-compare-dialog::backdrop{background:#0008}
.pony-compare-dialog__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pony-compare-dialog__head h2{font-size:24px;margin:0}
.pony-compare-close{width:38px;height:38px;flex:none}
.pony-compare-dialog__intro,.pony-compare-dialog__hint{margin:8px 0 12px;color:#4d5a57;font-size:13px}
.pony-compare-dialog__hint{display:none}
.pony-compare-dialog__scroll{overflow-x:auto;overscroll-behavior-inline:contain;max-width:100%}
.pony-compare-table{width:100%;min-width:470px;table-layout:fixed;border-collapse:separate;border-spacing:0;margin:0;font-size:14px;line-height:1.5;text-align:right}
.pony-compare-table th,.pony-compare-table td{padding:12px;border:0;border-block-end:1px solid #dce2df;border-inline-end:1px solid #dce2df;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.pony-compare-table th:first-child{width:108px;position:sticky;inset-inline-start:0;background:#f5f8f7;z-index:1}
.pony-compare-table thead th:not(:first-child){min-width:140px}
.pony-compare-table:has(thead th:nth-child(4)){min-width:620px}
.pony-compare-table__product{position:relative;text-align:center}
.pony-compare-table__product .pony-compare-remove{left:6px;top:6px}
.pony-compare-table__product img{display:block;width:min(100%,155px);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 5px;background:#f1f1f1;border-radius:5px}
.pony-compare-product-name{display:block;margin:4px 0 8px}
.pony-compare-table ul{margin:0;padding-inline-start:16px;list-style:disc}
.pony-compare-table [data-pony-compare-price] del{color:#58605d;margin-inline-end:6px}
[data-pony-compare-panel] :focus-visible,.pony-compare-switch:focus-visible,.pony-compare-choice:focus-within{outline:2px solid #277d79;outline-offset:2px}
body:has(.pony-compare-dialog[open]){overflow:hidden}
@media(max-width:1023px){.pony-compare-mobile-toggle{display:flex;justify-content:flex-end;padding-block:4px}}
@media(max-width:650px){.pony-compare-tray{padding-inline:10px;gap:6px}.pony-compare-tray__selection,.pony-compare-tray__items,.pony-compare-tray__actions{gap:6px}.pony-compare-tile{width:33px;height:37px}.pony-compare-tray__count{font-size:11px}.pony-compare-action{padding:7px;font-size:12px}.pony-compare-clear{font-size:11px}.pony-compare-dialog{padding:12px}.pony-compare-dialog__hint{display:block}.pony-compare-table th:first-child{width:72px}.pony-compare-choice{padding:3px 6px}}
@media(prefers-reduced-motion:reduce){.pony-compare-switch__track::after{transition:none}}

body:has(#PBarNextFrameWrapper) .pony-compare-tray{bottom:72px}
