.jds-bubble-wrapper {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
}

.jds-bubble-wrapper.position-top-left {
    top: 20px;
    left: 20px;
}

.jds-bubble-wrapper.position-top-right {
    top: 20px;
    right: 20px;
}

.jds-bubble-wrapper.position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.jds-bubble-wrapper.position-bottom-right {
    bottom: 20px;
    right: 20px;
}

.jds-bubble-item {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 350px;
    max-width: 90vw;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jds-bubble-item.active {
    display: flex;
    gap: 15px;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jds-bubble-image-wrap {
    flex-shrink: 0;
}

.jds-bubble-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
}

.jds-bubble-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.jds-bubble-label {
    position: absolute;
    top: 0;
    left: 0;
    background: #ff6b6b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jds-bubble-title {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jds-bubble-price {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
    margin: 5px 0;
}

.jds-bubble-stock {
    font-size: 13px;
    color: #666666;
    margin: 0;
}

.jds-bubble-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jds-bubble-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

@media (max-width: 768px) {
    .jds-bubble-wrapper {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
    }

    .jds-bubble-item {
        width: calc(100vw - 20px);
        padding: 15px;
    }

    .jds-bubble-image {
        width: 60px;
        height: 60px;
    }

    .jds-bubble-title {
        font-size: 14px;
    }

    .jds-bubble-price {
        font-size: 16px;
    }

    .jds-bubble-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.jds-bubble-item.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}