/**
 * COD Popup Checkout Pro - Public CSS
 */
.cod-pcp-active {
    --cod-pcp-primary: #1a73e8;
    --cod-pcp-secondary: #34a853;
    --cod-pcp-accent: #ea4335;
    --cod-pcp-bg: #ffffff;
    --cod-pcp-radius: 20px;
    --cod-pcp-shadow: 0 20px 60px rgba(0,0,0,0.3);
    --cod-pcp-overlay: rgba(0,0,0,0.6);
    --cod-pcp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --cod-pcp-overlay-blur: 5px;
}

.cod-pcp-btn-wrap {
    display: inline-flex;
    margin: 8px 0;
    width: 100%;
}

.cod-pcp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 28px;
    font-family: var(--cod-pcp-font);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--cod-pcp-primary), #1557b0);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: 1.4;
    min-height: 52px;
}

.cod-pcp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
    color: #fff;
}

.cod-pcp-btn:active {
    transform: translateY(0);
}

.cod-pcp-btn .cod-pcp-btn-text {
    flex: 1;
    text-align: center;
}

.cod-pcp-btn .cod-pcp-btn-price {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.cod-pcp-stock-out {
    color: #dc3545;
    font-weight: 600;
    padding: 10px 0;
}

/* Mobile Sticky */
@media (max-width: 768px) {
    .cod-pcp-btn {
        border-radius: 0;
        min-height: 56px;
        font-size: 18px;
    }

    .cod-pcp-btn-wrap {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99998;
        margin: 0;
        padding: 8px;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    }

    .cod-pcp-btn {
        border-radius: 12px;
    }

    body.admin-bar .cod-pcp-btn-wrap {
        bottom: 0;
    }
}

/* RTL Support */
[dir="rtl"] .cod-pcp-btn .cod-pcp-btn-price {
    margin-right: 0;
    margin-left: 0;
}
