/* Wishlist / Compare vitrin stilleri */

.ws-wishlist-empty,
.ws-compare-empty {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.wishlist-block .choose-layout .item.active {
    border-color: #1f1f1f;
    background: #fff;
}

.wishlist-block .choose-layout .item.active span {
    background-color: #1f1f1f;
}

/* Ürün kartı: wishlist/compare yardım metni ikonun SOLUNDA */
.product-item .list-action-right .ws-ec-wishlist-btn,
.product-item .list-action-right .ws-ec-compare-btn {
    position: relative;
}

.product-item .list-action-right .ws-ec-wishlist-btn .tag-action,
.product-item .list-action-right .ws-ec-compare-btn .tag-action {
    right: calc(100% + 10px);
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-10px, -50%);
    white-space: nowrap;
}

.product-item .list-action-right .ws-ec-wishlist-btn .tag-action::before,
.product-item .list-action-right .ws-ec-compare-btn .tag-action::before {
    right: -3px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
}

.product-item .list-action-right .ws-ec-wishlist-btn:hover .tag-action,
.product-item .list-action-right .ws-ec-compare-btn:hover .tag-action {
    transform: translate(0, -50%);
    opacity: 1;
    z-index: 2;
}

.ws-compare-table {
    border-collapse: collapse;
    min-width: 640px;
}

.ws-compare-table th,
.ws-compare-table td {
    border: 1px solid var(--line, #e4e4e4);
    padding: 16px;
    vertical-align: top;
    text-align: left;
}

.ws-compare-label {
    width: 160px;
    font-weight: 600;
    background: var(--surface, #f5f5f5);
    white-space: nowrap;
}

.ws-compare-product {
    position: relative;
    min-width: 180px;
    max-width: 240px;
}

.ws-compare-thumb {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.ws-compare-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ws-compare-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--line, #e4e4e4);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ws-ec-wishlist-btn.active i,
.ws-ec-wishlist-btn.is-active i {
    color: #ef4444;
}

.ws-ec-compare-btn.active .compare-icon,
.ws-ec-compare-btn.is-active .compare-icon {
    display: none;
}

.ws-ec-compare-btn .checked-icon {
    display: none;
}

.ws-ec-compare-btn.active .checked-icon,
.ws-ec-compare-btn.is-active .checked-icon {
    display: inline-block;
    color: #16a34a;
}

.ws-ec-wishlist-btn,
.ws-ec-compare-btn {
    cursor: pointer;
}
