/* Trang bảo hành (page-guarantee.php) */
.gec-warranty {
    --wr-primary: #1B5D6E;
    --wr-secondary: #B69A67;
    --wr-text: #6D6E71;
    --wr-text-bold: #1D292D;
    --wr-bg: #F5F4F1;
    --wr-border: #E3E1DC;
    --wr-gold-bg: #FBF8F1;
    --wr-gold-border: #EADFC8;
    --wr-danger: #C8372D;
    padding: 56px 0 88px;
    color: var(--wr-text-bold);
}

.gec-warranty__inner {
    max-width: 860px;
    margin: 0 auto;
}

.gec-warranty .gec-warranty__lead {
    margin: 0 0 40px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    color: var(--wr-text);
}

.gec-warranty__title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wr-text-bold);
}

.gec-warranty h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--wr-text-bold);
}

.gec-warranty p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--wr-text);
}

/* ---------- Thẻ nổi bật ---------- */
.wr-highlight {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--wr-gold-border);
    border-left: 4px solid var(--wr-secondary);
    border-radius: 16px;
    background: var(--wr-gold-bg);
}

.wr-highlight__badge {
    display: flex;
    flex: 0 0 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--wr-primary);
    color: #FFFFFF;
    line-height: 1;
}

.wr-highlight__badge strong {
    font-size: 24px;
    font-weight: 700;
}

.wr-highlight__badge small {
    margin-top: 2px;
    font-size: 11px;
    opacity: .9;
}

.wr-highlight__badge svg {
    width: 30px;
    height: 30px;
}

.wr-highlight__body h3 {
    margin-bottom: 6px;
}

.wr-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.wr-checks li {
    position: relative;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--wr-text-bold);
}

.wr-checks li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%231B5D6E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Ví dụ ---------- */
.wr-examples {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #D5E4E8;
    border-radius: 16px;
    background: #F3F8F9;
}

.wr-examples h3 {
    margin-bottom: 14px;
    font-size: 17px;
    color: var(--wr-primary);
}

.wr-examples ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wr-examples li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #D5E4E8;
    font-size: 15px;
    line-height: 1.5;
}

.wr-examples li span {
    color: var(--wr-text-bold);
}

.wr-examples li strong {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--wr-primary);
}

.wr-examples__note {
    margin-top: 14px !important;
    font-size: 13px !important;
    font-style: italic;
}

/* ---------- Quy trình ---------- */
.gec-warranty__title+.wr-steps,
.wr-highlight+.gec-warranty__title,
.wr-examples+.gec-warranty__title {
    margin-top: 48px;
}

.wr-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: wr-step;
}

.wr-steps li {
    position: relative;
    padding: 0 0 28px 64px;
    counter-increment: wr-step;
}

.wr-steps li::before {
    content: counter(wr-step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wr-primary);
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
}

/* đường nối giữa các bước */
.wr-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 48px;
    bottom: 4px;
    left: 21px;
    width: 2px;
    background: var(--wr-border);
}

.wr-steps h3 {
    padding-top: 9px;
    margin-bottom: 4px;
}

/* ---------- Không bảo hành ---------- */
.wr-exclusions {
    margin-top: 20px;
    padding: 24px;
    border: 1px solid var(--wr-gold-border);
    border-radius: 16px;
    background: var(--wr-gold-bg);
}

.wr-exclusions h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: var(--wr-text-bold);
}

.wr-exclusions ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wr-exclusions li {
    position: relative;
    padding-left: 26px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--wr-text-bold);
}

.wr-exclusions li::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18' fill='none' stroke='%23C8372D' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Nội dung thêm (trình soạn thảo) ---------- */
.wr-content {
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--wr-text);
}

.wr-content>*:last-child {
    margin-bottom: 0;
}

/* ---------- Kêu gọi liên hệ ---------- */
.wr-cta {
    margin-top: 48px;
    padding: 40px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1B5D6E 0%, #134754 100%);
    text-align: center;
    box-shadow: 0 16px 36px rgba(27, 93, 110, .22);
}

.wr-cta h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
}

.gec-warranty .wr-cta p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .85);
}

.wr-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.wr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 28px;
    border: 1.5px solid #FFFFFF;
    border-radius: 12px;
    background: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    color: var(--wr-primary);
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.wr-btn svg {
    width: 18px;
    height: 18px;
}

.wr-btn:hover,
.wr-btn:focus-visible {
    border-color: var(--wr-secondary);
    background: var(--wr-secondary);
    color: #FFFFFF;
    text-decoration: none;
}

.wr-btn:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.wr-btn--outline {
    background: transparent;
    color: #FFFFFF;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .gec-warranty {
        padding: 40px 0 64px;
    }

    .gec-warranty .gec-warranty__lead {
        margin-bottom: 28px;
        font-size: 16px;
    }

    .gec-warranty__title {
        font-size: 21px;
    }

    .wr-highlight {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }

    .wr-examples,
    .wr-exclusions {
        padding: 20px;
    }

    .wr-examples ul {
        grid-template-columns: 1fr;
    }

    .wr-exclusions h2 {
        font-size: 19px;
    }

    .wr-cta {
        padding: 32px 20px;
    }

    .wr-cta h2 {
        font-size: 22px;
    }

    .wr-btn {
        width: 100%;
    }
}
