:root {
    --wiix-compare-ink: #050a30;
    --wiix-compare-muted: #6d6a65;
    --wiix-compare-line: #e9e5df;
    --wiix-compare-gold: #b58a50;
    --wiix-compare-gold-dark: #8f6733;
    --wiix-compare-cream: #f8f5f0;
    --wiix-compare-white: #fff;
    --wiix-compare-danger: #a33b32;
    --wiix-compare-shadow: 0 18px 55px rgba(16, 13, 9, .18);
}

.wiix-compare-button {
    align-items: center;
    appearance: none;
    background: #050a30;
    border: 1px solid #050a30;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    gap: 5px;
    justify-content: center;
    letter-spacing: .01em;
    line-height: 1;
    margin: 0;
    min-height: 32px;
    padding: 6px 11px;
    text-transform: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.wiix-compare-button__icon svg {
    width: 14px;
    height: 14px;
}

.wiix-compare-button:hover,
.wiix-compare-button:focus-visible {
    background: var(--wiix-compare-cream);
    border-color: var(--wiix-compare-gold);
    color: var(--wiix-compare-gold-dark);
    outline: none;
}

.wiix-compare-button:active {
    transform: translateY(1px);
}

.wiix-compare-button.is-selected {
    background: var(--wiix-compare-ink);
    border-color: var(--wiix-compare-ink);
    color: var(--wiix-compare-white);
}

.wiix-compare-button__icon {
    display: inline-flex;
}

.wiix-compare-button--single {
    min-height: 44px;
    padding-inline: 20px;
}

.pc-img {
    position: relative;
}

.pc-img>.wiix-compare-button--loop {
    margin: 0;
    position: absolute;
    right: 7px;
    top: 7px;
    z-index: 5;
    background-color: #050a30;
    color: #fff;
}

.pc-foot .wiix-compare-button--injected {
    flex: 0 0 auto;
    height: 36px;
    margin: 0;
    min-height: 36px;
    padding: 8px 11px;
}

.pc-foot .wiix-compare-button--injected .wiix-compare-button__text {
    display: none;
}

.wiix-compare-tray[hidden],
.wiix-compare-modal[hidden],
.wiix-compare-toast[hidden] {
    display: none !important;
}

.wiix-compare-tray {
    bottom: 18px;
    left: 50%;
    max-width: min(760px, calc(100vw - 28px));
    position: fixed;
    transform: translateX(-50%);
    width: max-content;
    z-index: 99980;
}

.wiix-compare-tray__inner {
    align-items: center;
    background: rgba(22, 22, 22, .97);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, .28);
    color: var(--wiix-compare-white);
    display: flex;
    gap: 16px;
    min-height: 76px;
    padding: 11px 12px 11px 16px;
}

.wiix-compare-tray__summary {
    align-items: center;
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.wiix-compare-tray__summary strong,
.wiix-compare-tray__summary small {
    display: block;
}

.wiix-compare-tray__summary strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
}

.wiix-compare-tray__summary small {
    color: rgba(255, 255, 255, .66);
    font-size: 11px;
    margin-top: 3px;
}

.wiix-compare-tray__icon {
    align-items: center;
    background: rgba(181, 138, 80, .18);
    border-radius: 50%;
    color: #dbb985;
    display: flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.wiix-compare-tray__items {
    display: flex;
    gap: 7px;
}

.wiix-compare-tray__item {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 9px;
    height: 48px;
    position: relative;
    width: 48px;
}

.wiix-compare-tray__item img {
    border-radius: inherit;
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.wiix-compare-tray__placeholder {
    animation: wiix-compare-pulse 1.2s infinite;
    background: #e8e5e0;
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 100%;
}

.wiix-compare-tray__item button {
    align-items: center;
    background: var(--wiix-compare-ink);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    min-height: 19px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: -6px;
    top: -6px;
    min-width: 19px;
    margin: 0;
}

.wiix-compare-tray__actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.wiix-compare-clear,
.wiix-compare-open {
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    min-height: 42px;
    padding: 10px 14px;
    text-transform: none;
}

.wiix-compare-clear {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .66);
}

.wiix-compare-clear:hover {
    color: #fff;
}

.wiix-compare-open {
    background: linear-gradient(135deg, #dd3333, #dd3333);
    border: 0;
    color: #fff;
    white-space: nowrap;
}

.wiix-compare-open:hover,
.wiix-compare-open:focus-visible {
    background: linear-gradient(135deg, #dd3333, #dd3333);
    box-shadow: 0 5px 18px rgba(181, 138, 80, .3);
    color: #fff;
    outline: none;
}

.wiix-compare-modal {
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: opacity .18s ease;
    z-index: 99999;
}

.wiix-compare-modal.is-open {
    opacity: 1;
}

.wiix-compare-modal__backdrop {
    background: rgba(8, 8, 8, .72);
    inset: 0;
    position: absolute;
}

.wiix-compare-modal__dialog {
    border-radius: 18px;
    box-shadow: var(--wiix-compare-shadow);
    left: 50%;
    max-height: calc(100vh - 48px);
    max-width: 1180px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform: translate(-50%, calc(-50% + 18px)) scale(.99);
    transition: opacity .18s ease, transform .18s ease;
    width: calc(100% - 48px);
}

.wiix-compare-modal.is-open .wiix-compare-modal__dialog {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.wiix-compare-modal__header {
    align-items: center;
    background: var(--wiix-compare-ink);
    color: #fff;
    display: flex;
    justify-content: space-between;
    min-height: 86px;
    padding: 18px 26px;
}

.wiix-compare-modal__eyebrow {
    color: #d1ad79;
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1;
    margin-bottom: 8px;
}

.wiix-compare-modal__header h2 {
    color: #fff;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.1;
    margin: 0;
    text-transform: none;
}

.wiix-compare-modal__close {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 42px;
}

.wiix-compare-modal__close:hover,
.wiix-compare-modal__close:focus-visible {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    outline: 2px solid #c59b62;
    outline-offset: 2px;
}

.wiix-compare-modal__body {
    max-height: calc(100vh - 134px);
    overflow: auto;
    overscroll-behavior: contain;
    background-color: #fff;
}

.wiix-compare-slider__controls {
    align-items: center;
    background: #f8f5f0;
    border-bottom: 1px solid var(--wiix-compare-line);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    min-height: 52px;
    padding: 8px 20px;
}

.wiix-compare-slider__controls[hidden] {
    display: none !important;
}

.wiix-compare-slider__hint {
    color: var(--wiix-compare-muted);
    font-size: 12px;
    margin-right: auto;
}

.wiix-compare-slider__position {
    color: var(--wiix-compare-muted);
    font-size: 12px;
    min-width: 64px;
    text-align: center;
}

.wiix-compare-slider__position strong {
    color: var(--wiix-compare-ink);
}

.wiix-compare-slider__controls button {
    align-items: center;
    background: #fff;
    border: 1px solid #dcd6cd;
    border-radius: 50%;
    color: var(--wiix-compare-ink);
    cursor: pointer;
    display: flex;
    min-height: 34px;
    justify-content: center;
    margin: 0;
    padding: 0;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
    min-width: 34px;
}

.wiix-compare-slider__controls button:hover:not(:disabled),
.wiix-compare-slider__controls button:focus-visible {
    background: var(--wiix-compare-ink);
    border-color: var(--wiix-compare-ink);
    color: #fff;
    outline: none;
}

.wiix-compare-slider__controls button:disabled {
    cursor: default;
    opacity: .32;
}

.wiix-compare-table-wrap {
    isolation: isolate;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

.wiix-compare-table {
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    isolation: isolate;
    margin: 0;
    table-layout: fixed;
    width: 100%;
}

.wiix-compare-table th,
.wiix-compare-table td {
    border: 0;
    border-bottom: 1px solid var(--wiix-compare-line);
    border-right: 1px solid var(--wiix-compare-line);
    color: var(--wiix-compare-ink);
    padding: 17px 20px;
    text-align: left;
    text-transform: none;
}

.wiix-compare-table [data-wiix-column]:not(.is-slide-hidden) {
    animation: wiix-compare-slide-in .22s ease both;
}

.wiix-compare-table .is-slide-hidden {
    display: none !important;
}

.wiix-compare-table tr> :last-child {
    border-right: 0;
}

.wiix-compare-table tbody th,
.wiix-compare-corner {
    background: #faf9f7;
    border-right: 1px solid #ded9d1;
    box-shadow: 7px 0 12px -12px rgba(0, 0, 0, .48);
    font-size: 16px;
    font-weight: 700;
    left: 0;
    max-width: 178px;
    min-width: 178px;
    position: sticky;
    text-align: center !important;
    vertical-align: middle;
    white-space: nowrap;
    width: 178px;
}

.wiix-compare-table tbody th {
    z-index: 8;
}

.wiix-compare-corner {
    z-index: 9;
}

.wiix-compare-table [data-wiix-column] {
    position: relative;
    z-index: 1;
}

.wiix-compare-table tbody td {
    font-size: 14px;
    line-height: 1.5;
    min-width: 190px;
    vertical-align: middle;
}

.wiix-compare-product {
    background: #fff;
    min-width: 190px;
    padding: 20px !important;
    position: relative;
    vertical-align: top;
}

.wiix-compare-product>a {
    color: var(--wiix-compare-ink);
    display: block;
    text-decoration: none;
}

.wiix-compare-product__image {
    align-items: center;
    background: #fff;
    border-radius: 10px;
    display: flex;
    height: 150px;
    justify-content: center;
    margin-bottom: 13px;
    overflow: hidden;
}

.wiix-product__media .wiix-product__favorite {
    display: none;
}

.wiix-compare-product__image img {
    height: 100%;
    object-fit: contain;
    transition: transform .25s ease;
    width: 100%;
}

.wiix-compare-product a:hover img {
    transform: scale(1.035);
}

.wiix-compare-product__name {
    display: -webkit-box;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 39px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wiix-compare-product__remove {
    align-items: center;
    background: #fff;
    border: 1px solid var(--wiix-compare-line);
    border-radius: 50%;
    color: #777;
    cursor: pointer;
    display: flex;
    min-height: 28px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    min-width: 28px;
    z-index: 1;
}

.wiix-compare-product__remove:hover {
    border-color: #d9a39e;
    color: var(--wiix-compare-danger);
}

.wiix-compare-price,
.wiix-compare-price .amount {
    color: var(--wiix-compare-danger) !important;
    font-weight: 700;
}

.wiix-compare-price del,
.wiix-compare-price del .amount {
    color: #8c8984 !important;
    font-size: 12px;
    font-weight: 400;
}

.wiix-compare-loading,
.wiix-compare-error {
    align-items: center;
    color: var(--wiix-compare-muted);
    display: flex;
    font-size: 14px;
    gap: 12px;
    justify-content: center;
    min-height: 280px;
    padding: 35px;
    text-align: center;
}

.wiix-compare-loading span {
    animation: wiix-compare-spin .7s linear infinite;
    border: 2px solid #ddd8d0;
    border-radius: 50%;
    border-top-color: var(--wiix-compare-gold);
    height: 23px;
    width: 23px;
}

.wiix-compare-toast {
    background: var(--wiix-compare-ink);
    border-left: 3px solid var(--wiix-compare-gold);
    border-radius: 8px;
    bottom: 108px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
    color: #fff;
    font-size: 13px;
    left: 50%;
    max-width: calc(100vw - 32px);
    opacity: 0;
    padding: 12px 16px;
    position: fixed;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
    z-index: 100000;
}

.wiix-compare-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.wiix-compare-toast.is-error,
.wiix-compare-toast.is-warning {
    border-left-color: #d06d62;
}

html.wiix-compare-lock,
html.wiix-compare-lock body {
    overflow: hidden !important;
}

@keyframes wiix-compare-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes wiix-compare-pulse {
    50% {
        opacity: .55;
    }
}

@keyframes wiix-compare-slide-in {
    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 767px) {
    .wiix-compare-tray {
        bottom: 10px;
        max-width: calc(100vw - 20px);
        width: calc(100vw - 20px);
    }

    .wiix-compare-tray__inner {
        border-radius: 13px;
        gap: 9px;
        min-height: 66px;
        padding: 9px 10px;
    }

    .wiix-compare-tray__summary {
        gap: 0;
    }

    .wiix-compare-tray__summary>span:last-child,
    .wiix-compare-clear {
        display: none;
    }

    .wiix-compare-tray__icon {
        height: 36px;
        width: 36px;
    }

    .wiix-compare-tray__item {
        height: 40px;
        width: 40px;
    }

    .wiix-compare-tray__actions {
        margin-left: auto;
    }

    .wiix-compare-open {
        min-height: 40px;
        padding: 9px 12px;
    }

    .wiix-compare-modal__dialog {
        border-radius: 14px 14px 0 0;
        bottom: 0;
        left: 0;
        max-height: calc(100vh - 18px);
        top: auto;
        transform: translateY(25px);
        width: 100%;
    }

    .wiix-compare-modal.is-open .wiix-compare-modal__dialog {
        transform: translateY(0);
    }

    .wiix-compare-modal__header {
        min-height: 74px;
        padding: 14px 16px;
    }

    .wiix-compare-modal__body {
        max-height: calc(100vh - 92px);
    }

    .wiix-compare-slider__controls {
        min-height: 48px;
        padding: 7px 12px;
    }

    .wiix-compare-slider__hint {
        max-width: 145px;
    }

    .wiix-compare-table th,
    .wiix-compare-table td {
        padding: 14px 13px;
    }

    .wiix-compare-table tbody th,
    .wiix-compare-corner {
        max-width: 112px;
        min-width: 112px;
        white-space: normal;
        width: 112px;
    }

    .wiix-compare-product,
    .wiix-compare-table tbody td {
        min-width: 0;
    }

    .wiix-compare-product__image {
        height: 115px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .wiix-compare-button,
    .wiix-compare-modal,
    .wiix-compare-modal__dialog,
    .wiix-compare-toast,
    .wiix-compare-product__image img {
        transition: none;
    }
}