/* =========================================================
   WARRANTY PAGE
   سلسله‌مراتب رنگ و تایپوگرافی:
   - عنوان صفحه / عنوان بخش  : --w-title   (کاملاً روشن)
   - متن اصلی و لیست‌ها       : --w-body    (روشن، خوانا)
   - برچسب‌های bold داخل لیست : --w-strong  (روشن‌تر از متن)
   - جداکننده‌ها و حاشیه‌ها    : --w-border
   - تاکید (طلایی / برند)      : --fk-gold / --fk-brand
   ========================================================= */
.warranty-page {
    --w-title: var(--fk-text-main);
    --w-strong: rgba(var(--fk-white-rgb), 0.96);
    --w-body: rgba(var(--fk-white-rgb), 0.84);
    --w-border: rgba(var(--fk-white-rgb), 0.10);
    --w-card: rgba(var(--fk-white-rgb), 0.035);
    width: 100%;
    background: var(--fk-bg);
    padding-top: 110px;
    padding-bottom: 70px;
    direction: rtl;
}

/* ---------- Header ---------- */
.warranty-header {
    padding: 32px 0 24px;
    text-align: right;
}

.warranty-page-title {
    font-weight: 800 !important;
    font-size: 2.1rem !important;
    line-height: 1.5 !important;
    color: var(--w-title) !important;
    margin-bottom: 14px !important;
}

.warranty-header-line {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0;
}

.warranty-header-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--fk-gold);
    flex-shrink: 0;
}

.warranty-header-bar {
    height: 2px;
    width: 450px;
    max-width: 100%;
    background: linear-gradient(to left, var(--fk-gold), transparent);
    opacity: 0.55;
}

.warranty-content {
    padding-top: 10px;
}

/* ---------- Highlight ---------- */
.warranty-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
    padding: 20px 22px;
    background: var(--w-card);
    border-radius: 14px;
    border: 1px solid var(--w-border);
}

.warranty-highlight-bar {
    width: 4px;
    align-self: stretch;
    min-height: 26px;
    background: var(--fk-brand);
    border-radius: 4px;
    flex-shrink: 0;
}

.warranty-highlight-text {
    color: var(--w-strong) !important;
    font-size: 1.12rem !important;
    font-weight: 500 !important;
    line-height: 2 !important;
    margin: 0 !important;
}

/* ---------- Sections ---------- */
.warranty-section {
    margin-bottom: 20px;
    padding: 28px 0 8px;
    border-top: 1px solid var(--w-border);
}

    .warranty-section:first-of-type {
        border-top: none;
    }

.warranty-section-title {
    position: relative;
    padding-right: 18px;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    line-height: 1.7 !important;
    color: var(--w-title) !important;
    margin-bottom: 18px !important;
}

    /* نوار طلایی کنار عنوان هر بخش */
    .warranty-section-title::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0.3em;
        bottom: 0.3em;
        width: 4px;
        border-radius: 4px;
        background: var(--fk-gold);
    }

/* ---------- Body text ---------- */
.warranty-text {
    color: var(--w-body) !important;
    font-size: 1.1rem !important;
    line-height: 2.05 !important;
    margin-bottom: 14px !important;
}

    .warranty-text strong {
        color: var(--w-strong);
        font-weight: 700;
    }

/* ---------- Lists ---------- */
.warranty-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

    .warranty-list li {
        position: relative;
        padding-right: 26px;
        margin-bottom: 14px;
        color: var(--w-body);
        font-size: 1.08rem;
        line-height: 2;
    }

        .warranty-list li::before {
            content: "";
            position: absolute;
            right: 0;
            top: 0.95em;
            width: 8px;
            height: 8px;
            border-radius: 2px;
            background: var(--fk-gold);
            opacity: 0.8;
        }

        .warranty-list li strong {
            color: var(--w-strong);
            font-weight: 700;
        }

/* ---------- Actions ---------- */
.warranty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--w-border);
}

.warranty-btn {
    min-width: 260px;
    height: 56px !important;
    font-weight: 600 !important;
    font-size: 1.02rem !important;
    border-radius: 12px !important;
    background: rgba(var(--fk-white-rgb), 0.10) !important;
    color: var(--w-strong) !important;
    border: 1px solid rgba(var(--fk-white-rgb), 0.25) !important;
    box-shadow: 0 6px 20px rgba(var(--fk-shadow-rgb), 0.25) !important;
    transition: all 0.25s ease !important;
}

    .warranty-btn:hover {
        background: rgba(var(--fk-white-rgb), 0.18) !important;
        border-color: var(--fk-gold) !important;
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(var(--fk-shadow-rgb), 0.35) !important;
    }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
    .warranty-page {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .warranty-header {
        text-align: center;
        padding: 24px 16px 16px;
    }

    .warranty-page-title {
        font-size: 1.7rem !important;
    }

    .warranty-header-line {
        justify-content: center;
    }

    .warranty-header-bar {
        width: 140px;
    }

    .warranty-content {
        padding: 0 16px;
    }

    .warranty-section-title {
        font-size: 1.3rem !important;
    }

    .warranty-text,
    .warranty-list li {
        font-size: 1.02rem !important;
    }

    .warranty-actions {
        flex-direction: column;
        align-items: center;
    }

    .warranty-btn {
        width: 100%;
        max-width: 320px;
    }
}
