/**
 * Fourthwall WooCommerce Integration - Frontend Styles
 * لا تؤثر على شكل صفحة المنتج الأصلية — فقط قسم Fourthwall المضاف
 */

/* ── قسم Fourthwall في صفحة المنتج ─────────────────── */
.fw-woo-checkout-section {
    margin-top: 24px;
    padding-top: 20px;
}

.fw-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    color: #888;
    font-size: 13px;
    gap: 10px;
}

.fw-divider::before,
.fw-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid #ddd;
}

/* ── Select المتغيرات ───────────────────────────────── */
.fw-select {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    margin-bottom: 14px;
    box-sizing: border-box;
    cursor: pointer;
    appearance: auto;
}

.fw-select:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* ── زر Fourthwall ──────────────────────────────────── */
.fw-checkout-btn {
    display: block !important;
    width: 100%;
    padding: 13px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background-color: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: background-color 0.2s ease, opacity 0.2s ease !important;
    letter-spacing: 0.3px;
}

.fw-checkout-btn:hover:not(:disabled) {
    background-color: #333 !important;
}

.fw-checkout-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* ── نص توضيحي تحت الزر ─────────────────────────────── */
.fw-note {
    margin: 10px 0 0;
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* ── إشعارات ────────────────────────────────────────── */
.fw-woo-notice {
    margin-bottom: 16px !important;
    padding: 12px 16px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
}
