/*
 Theme Name:   LadyRep Astra Child
 Theme URI:    https://ladyrep.com
 Description:  LadyRep.com - Astra Child Theme with ABC Payment Integration
 Author:       MiniMax Agent
 Author URI:   https://minimax.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         woocommerce, ecommerce, luxury, responsive
*/

/* ============ 基础样式覆盖 ============ */

/* 加载动画 */
.abc-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    flex-direction: column;
}

.abc-loading-overlay.active {
    display: flex !important;
}

.abc-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: abc-spin 1s linear infinite;
}

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

.abc-loading-text {
    color: #fff;
    font-size: 18px;
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.abc-loading-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 直接购买按钮 */
.abc-direct-buy-btn {
    background: linear-gradient(135deg, #6772e5 0%, #5469d4 100%);
    color: #fff !important;
    border: none !important;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 10px;
    display: inline-block !important;
    text-align: center;
    text-decoration: none;
}

.abc-direct-buy-btn:hover {
    background: linear-gradient(135deg, #5469d4 0%, #4558c4 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(103, 114, 229, 0.4);
}

.abc-direct-buy-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 支付成功提示 */
.abc-payment-notice {
    padding: 15px;
    background: #f0f8ff;
    border: 1px solid #6772e5;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
}

.abc-payment-notice strong {
    color: #6772e5;
}

/* 订单状态显示 */
.abc-order-status {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.abc-order-status.pending {
    background: #fff3cd;
    border: 1px solid #ffc107;
}

.abc-order-status.completed {
    background: #d4edda;
    border: 1px solid #28a745;
}

.abc-order-status.failed {
    background: #f8d7da;
    border: 1px solid #dc3545;
}