#virtual-tryon-btn {
    margin-top: 20px;
    width:100%;
    gap:8px;
}

.vto-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* allow wrapping on small screens */
}

.vto-actions button {
    padding: 6px 12px !important;
    font-size: 14px !important;
    border: 1px solid #333;
    border-radius: 4px !important;
    background: #fff;
    cursor: pointer;
    transition: 0.2s !important;
    flex: 1 1 45%; /* flexible width, at least 45% */
    min-width: 70px; /* avoid too small buttons */
    
}

.vto-actions button:hover {
    background: #333;
    color: #fff;
}


.vto-popup {
    max-height:500px;
    overflow-x:hidden;
    overflow-y:auto;
}


#vto-result img {
    max-width: 350px;       /* thumbnail width */
    height: auto;       /* keep aspect ratio */
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    margin-top: 10px;
}

.vto-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2px solid #333;
    padding: 20px;
    max-width: 90%;
    width: 400px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#vto-user-image {
	width: 100% !important; 
    margin: 10px 5px;
}

#vto-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: xx-large;
}