/* ===================================================================
 * Personalizador de Relojes — Button Styles (~1KB)
 * Only this file loads on the product page initially.
 * =================================================================== */

.pr-customize-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(253, 160, 133, 0.4);
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.pr-customize-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.7s ease;
    transform: skewX(-20deg);
}

.pr-customize-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 160, 133, 0.6);
}

.pr-customize-btn:hover::before {
    left: 150%;
}

.pr-customize-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(253, 160, 133, 0.4);
}

.pr-customize-btn .pr-btn-icon {
    font-size: 20px;
}

/* Loading state */
.pr-customize-btn.pr-loading {
    pointer-events: none;
    opacity: 0.7;
}

.pr-customize-btn.pr-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: pr-spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes pr-spin {
    to { transform: rotate(360deg); }
}
