/* Theme-consistent Button Styles */

/* Purchase buttons - match site theme */
.purchase-btn,
.product-buy-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    overflow: hidden !important;
}

.purchase-btn::before,
.product-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.purchase-btn:hover,
.product-buy-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.purchase-btn:hover::before,
.product-buy-btn:hover::before {
    left: 100%;
}

.purchase-btn:active,
.product-buy-btn:active {
    transform: translateY(-1px) !important;
}

/* Featured product buttons */
.featured-pay-link.purchase-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.featured-pay-link.purchase-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Button icons */
.purchase-btn .btn-icon,
.purchase-btn .cart-icon,
.product-buy-btn .btn-icon,
.product-buy-btn .cart-icon {
    stroke: currentColor !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

.purchase-btn span,
.product-buy-btn span {
    position: relative !important;
    z-index: 1 !important;
}

/* Showcase product buttons - larger style */
.showcase-product-card .purchase-btn,
.showcase-product-card .product-buy-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
    margin-top: 16px !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .purchase-btn,
    .product-buy-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    
    .featured-pay-link.purchase-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    
    .showcase-product-card .purchase-btn,
    .showcase-product-card .product-buy-btn {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

/* Focus states for accessibility */
.purchase-btn:focus,
.product-buy-btn:focus {
    outline: 2px solid rgba(0, 0, 0, 0.5) !important;
    outline-offset: 2px !important;
}

/* Disabled state */
.purchase-btn:disabled,
.product-buy-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.purchase-btn:disabled:hover,
.product-buy-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: none !important;
    box-shadow: none !important;
}