.king-addons-quick-view {
    display: inline-flex;
    justify-content: flex-start;
}

.king-addons-quick-view__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background-color: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.king-addons-quick-view__trigger:hover {
    background-color: #0b1220;
    border-color: #0b1220;
}

.king-addons-quick-view__spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: none;
    animation: king-addons-spin 0.8s linear infinite;
}

.king-addons-quick-view__trigger.is-loading .king-addons-quick-view__spinner {
    display: inline-block;
}

.king-addons-quick-view__modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.king-addons-quick-view__modal.is-open {
    display: flex;
}

.king-addons-quick-view__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.king-addons-quick-view__content {
    position: relative;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.king-addons-quick-view__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
    color: #111827;
}

.king-addons-quick-view__body {
    padding: 24px;
    overflow: auto;
}

.king-addons-quick-view__loader {
    width: 24px;
    height: 24px;
    border: 3px solid #e5e7eb;
    border-top-color: #111827;
    border-radius: 50%;
    margin: 24px auto;
    animation: king-addons-spin 0.9s linear infinite;
    display: none;
}

.king-addons-quick-view__loader.is-active {
    display: block;
}

.king-addons-qv {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: flex-start;
}

.king-addons-qv__media {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.king-addons-qv__media img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.king-addons-qv__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 8px;
}

.king-addons-qv__thumb-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.king-addons-qv__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.king-addons-qv__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.king-addons-qv__price {
    font-size: 18px;
    font-weight: 600;
    color: #16a34a;
}

.king-addons-qv__excerpt {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.king-addons-qv__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.king-addons-qv__notice {
    margin: 0;
    color: #dc2626;
    font-size: 14px;
}

.king-addons-quick-view__content--sticky .king-addons-qv__cta {
    position: sticky;
    bottom: 0;
    padding: 12px 0;
    background: #ffffff;
}

@media (max-width: 767px) {
    .king-addons-qv {
        grid-template-columns: 1fr;
    }
}

@keyframes king-addons-spin {
    to {
        transform: rotate(360deg);
    }
}






