/* Buy Choice Modal */
.buy-choice-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-choice-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.buy-choice-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: buyModalSlideIn 0.2s ease-out;
}

@keyframes buyModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.buy-choice-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.buy-choice-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.buy-choice-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.buy-choice-close:hover {
    background: #f5f5f5;
    color: #333;
}

.buy-choice-body {
    padding: 20px;
}

/* Product Info */
.buy-choice-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 20px;
}

.buy-choice-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.buy-choice-product-info {
    flex: 1;
    min-width: 0;
}

.buy-choice-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buy-choice-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #7ED321;
    margin: 0;
}

/* Buttons */
.buy-choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.buy-choice-btn {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.buy-choice-btn-primary {
    background: #7ED321;
    color: #fff;
}

.buy-choice-btn-primary:hover {
    background: #6FC010;
}

.buy-choice-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #e5e5e5;
}

.buy-choice-btn-secondary:hover {
    background: #eee;
    border-color: #ddd;
}

.buy-choice-btn-sub {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 480px) {
    .buy-choice-content {
        width: 95%;
        max-width: none;
        margin: 0 10px;
    }

    .buy-choice-product {
        padding: 10px;
    }

    .buy-choice-product-image {
        width: 50px;
        height: 50px;
    }
}
