.try-on-btn {
    margin-top: 15px;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}


/* Optional: Hover effect */
#try-on-btn:hover {
    opacity: 0.9;
}

.tryon-lock { overflow: hidden; }

#tryon-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tryon-content {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}

#tryon-canvas {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    touch-action: none;
    user-select: none;
}

.tryon-controls {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.tryon-controls button {
    flex: 1;
    padding: 10px;
    border: 1px solid #000;
    background: #fff;
    cursor: pointer;
}

#tryon-intro {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-box {
    text-align: center;
    padding: 20px;
}

.intro-box p {
    margin: 8px 0;
}

.intro-enter {
    animation: fadeIn .6s ease forwards;
}

.intro-exit {
    animation: fadeOut .6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateY(-20px); }
}
