/* =========================================================
   WCONNECT HELP CENTER
========================================================= */

.wc-help-page {
    background: #fff;
    color: var(--wc-text);
}

/* Hero */
.wc-help-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 85px;
    background: var(--wc-bg);
    border-bottom: 1px solid var(--wc-border);
}

.wc-help-hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.wc-help-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--wc-primary);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.wc-help-hero h1 {
    margin: 0 0 18px;
    color: var(--wc-text);
    font-family: var(--wc-font-heading);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -1.8px;
}

.wc-help-hero h1 span,
.wc-help-tutorial-content h2 span {
    color: var(--wc-primary);
}

.wc-help-hero-content > p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: var(--wc-muted);
    font-size: 17px;
    line-height: 1.8;
}

/* Search */
.wc-help-search {
    display: flex;
    align-items: center;
    max-width: 700px;
    min-height: 64px;
    margin: 0 auto;
    padding: 8px 9px 8px 20px;
    background: #fff;
    border: 1px solid var(--wc-border);
    border-radius: 12px;
    box-shadow: var(--wc-shadow);
}

.wc-help-search > i {
    flex: 0 0 auto;
    color: var(--wc-muted);
    font-size: 20px;
}

.wc-help-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    color: var(--wc-text);
    background: transparent;
    border: 0;
    outline: 0;
    font-family: var(--wc-font-body);
    font-size: 15px;
}

.wc-help-search input::placeholder {
    color: var(--wc-light-text);
}

.wc-help-search button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    color: #fff;
    background: var(--wc-primary);
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.wc-help-search button:hover {
    background: var(--wc-primary-dark);
}

.wc-help-hero-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: var(--wc-muted);
    font-size: 13px;
}

.wc-help-hero-note i {
    color: var(--wc-primary);
    font-size: 16px;
}

/* Section heading */
.wc-help-section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.wc-help-section-heading h2 {
    margin: 0 0 12px;
    color: var(--wc-text);
    font-family: var(--wc-font-heading);
    font-size: clamp(27px, 3.5vw, 36px);
    font-weight: 700;
    line-height: 1.3;
}

.wc-help-section-heading p {
    margin: 0;
    color: var(--wc-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Quick access */
.wc-help-quick {
    padding: 85px 0;
}

.wc-help-quick-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 235px;
    padding: 26px;
    color: var(--wc-text);
    background: #fff;
    border: 1px solid var(--wc-border);
    border-radius: 13px;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease,
                box-shadow .25s ease;
}

.wc-help-quick-card:hover {
    color: var(--wc-text);
    border-color: var(--wc-primary);
    box-shadow: var(--wc-shadow);
    transform: translateY(-4px);
}

.wc-help-quick-icon,
.wc-help-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--wc-primary);
    background: var(--wc-primary-light);
    border-radius: 11px;
    font-size: 22px;
}

.wc-help-quick-card h3 {
    margin: 0 0 9px;
    font-family: var(--wc-font-heading);
    font-size: 17px;
    font-weight: 700;
}

.wc-help-quick-card p {
    margin: 0 0 18px;
    color: var(--wc-muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.wc-help-card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--wc-primary);
    font-size: 13px;
    font-weight: 700;
}

/* Categories */
.wc-help-categories {
    padding: 85px 0;
    background: var(--wc-bg);
}

.wc-help-category-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--wc-border);
    border-radius: 13px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.wc-help-category-card:hover {
    box-shadow: var(--wc-shadow);
    transform: translateY(-3px);
}

.wc-help-category-icon {
    margin-bottom: 19px;
}

.wc-help-category-card h3 {
    margin: 0 0 12px;
    color: var(--wc-text);
    font-family: var(--wc-font-heading);
    font-size: 18px;
    font-weight: 700;
}

.wc-help-category-description {
    min-height: 76px;
    margin: 0 0 18px;
    color: var(--wc-muted);
    font-size: 13.5px;
    line-height: 1.75;
}

.wc-help-topic-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.wc-help-topic-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--wc-muted);
    font-size: 13px;
    line-height: 1.5;
}

.wc-help-topic-list li i {
    flex: 0 0 auto;
    color: var(--wc-primary);
}

.wc-help-category-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    padding-top: 17px;
    color: var(--wc-primary);
    border-top: 1px solid var(--wc-border);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.wc-help-category-link:hover {
    color: var(--wc-primary-dark);
}

/* Tutorials */
.wc-help-tutorial {
    padding: 85px 0;
}

.wc-help-tutorial-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 50px;
    padding: 55px;
    background: var(--wc-bg);
    border: 1px solid var(--wc-border);
    border-radius: 18px;
}

.wc-help-tutorial-content h2 {
    margin: 0 0 18px;
    color: var(--wc-text);
    font-family: var(--wc-font-heading);
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 750;
    line-height: 1.3;
}

.wc-help-tutorial-content p {
    max-width: 570px;
    margin: 0 0 26px;
    color: var(--wc-muted);
    font-size: 15px;
    line-height: 1.85;
}

.wc-help-tutorial-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 260px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--wc-border);
    border-radius: 14px;
}

.wc-help-tutorial-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    color: var(--wc-primary);
    background: var(--wc-primary-light);
    border-radius: 20px;
    font-size: 34px;
}

.wc-help-tutorial-stat {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.wc-help-tutorial-stat strong {
    color: var(--wc-text);
    font-size: 15px;
}

.wc-help-tutorial-stat span {
    color: var(--wc-muted);
    font-size: 13px;
}

/* Support CTA */
.wc-help-support {
    padding: 0 0 75px;
}

.wc-help-support-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 42px 45px;
    background: #10261a;
    border-radius: 16px;
}

.wc-help-support-inner .wc-help-eyebrow {
    color: #9ad49b;
}

.wc-help-support-inner h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--wc-font-heading);
    font-size: 30px;
    font-weight: 700;
}

.wc-help-support-inner p {
    max-width: 600px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 14px;
    line-height: 1.8;
}

.wc-help-support-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 12px;
}

.wc-help-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.wc-help-whatsapp:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}

/* Documentation note */
.wc-help-documentation-note {
    padding: 0 0 35px;
}

.wc-help-documentation-note p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 17px 20px;
    color: var(--wc-muted);
    background: var(--wc-bg);
    border: 1px solid var(--wc-border);
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.7;
}

.wc-help-documentation-note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--wc-primary);
}

/* Responsive */
@media (max-width: 991.98px) {

    .wc-help-tutorial-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px;
    }

    .wc-help-support-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .wc-help-support-actions {
        width: 100%;
        max-width: 300px;
    }

}

@media (max-width: 575.98px) {

    .wc-help-hero {
        padding: 65px 0;
    }

    .wc-help-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .wc-help-hero-content > p {
        font-size: 15px;
    }

    .wc-help-search {
        flex-wrap: wrap;
        padding: 10px;
    }

    .wc-help-search input {
        width: calc(100% - 35px);
        flex: 1 1 calc(100% - 35px);
    }

    .wc-help-search button {
        width: 100%;
        margin-top: 8px;
    }

    .wc-help-quick,
    .wc-help-categories,
    .wc-help-tutorial {
        padding: 60px 0;
    }

    .wc-help-category-card {
        padding: 23px;
    }

    .wc-help-category-description {
        min-height: 0;
    }

    .wc-help-tutorial-inner {
        padding: 26px 21px;
    }

    .wc-help-support-inner {
        padding: 30px 23px;
    }

    .wc-help-support-inner h2 {
        font-size: 26px;
    }

    .wc-help-support-actions {
        max-width: 100%;
    }

}