.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 320px;
    position: relative;
}

.custom-popup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.variation {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.variation label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.variation-select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cantidad {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cantidad label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.cantidad input {
    width: 100%;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.custom-add-to-cart {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-add-to-cart:hover {
    background-color: #fff;
    color: #000;
    border: 2px #000 solid;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}