/* Hızlı bakış paneli — yükleme / hata / içerik yardımcıları */

.ws-is-hidden {
    display: none !important;
}

.modal-quickview-block .ws-qv-status {
    padding: 1.5rem 0;
}

.modal-quickview-block .ws-qv-status--loading {
    min-height: 120px;
    display: flex;
    align-items: center;
}

.modal-quickview-block .ws-qv-status--loading.ws-is-hidden,
.modal-quickview-block .ws-qv-status--error.ws-is-hidden {
    display: none !important;
}

.modal-quickview-block .ws-ec-wishlist-btn:not(.ws-is-hidden) {
    display: flex;
}

.modal-quickview-block .ws-qv-attr-btn.is-disabled,
.modal-quickview-block .ws-qv-attr-btn:disabled {
    opacity: 0.35;
    pointer-events: none;
}

.modal-quickview-block .ws-qv-attr-btn.active {
    border-color: var(--black, #1f1f1f);
}

.modal-quickview-block .ws-qv-labels .ec-product-label {
    display: inline-block;
}

.modal-quickview-block .add-cart-btn:disabled,
.modal-quickview-block [data-qv-add-cart]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-quickview-block .list-img .bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-quickview-block .ws-swatch-dot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
}

.modal-quickview-block .ws-qv-attr-btn.color-item.has-swatch-image {
    width: 48px;
    height: 48px;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.modal-quickview-block .ws-qv-attr-btn.color-item.has-swatch-image.active {
    overflow: visible;
    border-width: 2px;
    border-color: var(--ws-pro-secondary, #d2ef9a);
}

.modal-quickview-block .ws-qv-attr-btn.color-item.has-swatch-image .ws-swatch-img,
.modal-quickview-block .ws-swatch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.modal-quickview-block .ws-qv-attr-btn.color-item.active::after {
    content: "";
    position: absolute;
    top: -6px;
    right: -6px;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 9999px;
    background-color: var(--ws-pro-secondary, #d2ef9a);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2L6.4 11l6.1-6.5' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.875rem 0.875rem;
    box-shadow: 0 0 0 1px #fff;
    pointer-events: none;
    z-index: 2;
}

.modal-quickview-block .ws-qv-attr-btn.color-item {
    position: relative;
}

body.ws-modal-quickview-open {
    overflow: hidden;
}
