.king-addons-single-product {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    --king-addons-single-product-view-cart-gap: 10px;
}

.king-addons-single-product__media img {
    display: block;
    width: 260px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.king-addons-single-product__media {
    position: relative;
}

.king-addons-single-product__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
}

.king-addons-single-product__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
}

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

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

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

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

.king-addons-single-product__cta {
    display: flex;
    align-items: center;
}

.king-addons-single-product__button.is-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.king-addons-single-product__button {
    position: relative;
}

.king-addons-single-product__button.loading .king-addons-single-product__button-label,
.king-addons-single-product__button.added .king-addons-single-product__button-label {
    visibility: hidden;
}

.king-addons-single-product__button.loading::after,
.king-addons-single-product__button.added::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
}

.king-addons-single-product__button.loading::after {
    width: var(--king-addons-atc-indicator-size, 14px);
    height: var(--king-addons-atc-indicator-size, 14px);
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    animation: king-addons-single-product-spin 0.75s linear infinite;
}

.king-addons-single-product__button.added::after {
    height: var(--king-addons-atc-indicator-size, 14px);
    width: calc(var(--king-addons-atc-indicator-size, 14px) * 0.57);
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -55%) rotate(45deg);
}

.king-addons-single-product__cta .king-addons-single-product__button + .added_to_cart {
    margin-left: var(--king-addons-single-product-view-cart-gap);
}

@keyframes king-addons-single-product-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.king-addons-single-product__cta .button,
.king-addons-single-product__cta .button.alt,
.king-addons-single-product__cta .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background-color: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.king-addons-single-product__cta .button:hover,
.king-addons-single-product__cta .button.alt:hover,
.king-addons-single-product__cta .single_add_to_cart_button:hover {
    background-color: #0b1220;
    border-color: #0b1220;
    color: #ffffff;
}

.king-addons-single-product__rating .star-rating {
    margin: 0;
}

/* Hover animations */
.king-addons-single-product.is-anim-hover-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.king-addons-single-product.is-anim-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.king-addons-single-product.is-anim-hover-zoom .king-addons-single-product__media img {
    transition: transform 0.35s ease;
}

.king-addons-single-product.is-anim-hover-zoom:hover .king-addons-single-product__media img {
    transform: scale(1.06);
}

.king-addons-single-product.is-anim-hover-tilt {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.king-addons-single-product.is-anim-hover-tilt:hover {
    transform: translateY(-6px) rotate3d(1, 1, 0, 3deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.king-addons-single-product.is-anim-hover-float {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.king-addons-single-product.is-anim-hover-float:hover {
    transform: translate3d(0, -10px, 0);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.king-addons-single-product.is-anim-hover-scale-fade {
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.king-addons-single-product.is-anim-hover-scale-fade:hover {
    transform: translateY(-6px) scale(1.02);
    opacity: 0.96;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.king-addons-single-product__stock {
    position: relative;
    margin-top: 8px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
    min-height: 8px;
}

.king-addons-single-product__stock-fill {
    display: block;
    height: 8px;
    background: #16a34a;
}

.king-addons-single-product__stock-text {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: #111827;
}

.king-addons-single-product__stock.is-out {
    padding: 6px 0;
    background: transparent;
    color: #dc2626;
}

@media (max-width: 767px) {
    .king-addons-single-product {
        flex-direction: column;
        align-items: flex-start;
    }

    .king-addons-single-product__media img {
        width: 100%;
    }
}






