.modal-produto-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}
.modal-produto-container {
    position: relative;
    background: transparent;
    border-radius: 12px;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow: hidden;
    animation: modalProdutoSlideIn 0.3s ease;
}
@keyframes modalProdutoSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.modal-produto-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    line-height: 1;
}
.modal-produto-close:hover {
    background: #fff;
    color: #dc3545;
    transform: scale(1.1);
}
.modal-produto-body {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-produto-loading {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    width: 100%;
}
.modal-produto-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4A9EBA;
    border-radius: 50%;
    animation: spinProduto 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spinProduto {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.modal-produto-loading p {
    color: #666;
    font-size: 14px;
    margin: 0;
}
#iframeProduto {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}
@media (max-width: 480px) {
    .modal-produto-container {
        max-width: 100%;
    }
    #iframeProduto {
        height: 420px;
    }
}