/* Help Center page */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --hc-navy: #173158;
    --hc-pink: #E83161;
    --hc-pink-soft: #ED5A81;
    --hc-muted: #5D6F8A;
    --hc-light: #F7F8F9;
    --hc-border: #EDEFF2;
    --hc-line: #E5E7EB;
}

/* ---------- Banner: outer bounds 1630x400 from Figma ---------- */
/* Banner sits flush, breadcrumb directly under it, then 134px to "Need Assistance" */
.hc-breadcrumb-section {
    padding-top: 0px;
    padding-bottom: 0;
}

.hc-banner-section .hero-split-wrap {
    max-width: 1630px;
}


/* Force 400px height — overrides:
   - styles.css @media(min-width:992px) .hero-split-wrap { height: 600px }
   - styles.css .hero-split-right { min-height: 470px }
   - Bootstrap .h-100 !important on inner divs */
.hc-banner-section .hero-split-wrap {
    height: 400px !important;
}

.hc-banner-section .hero-split-left,
.hc-banner-section .hero-split-right {
    height: 400px !important;
    min-height: 0 !important;
}

@media (min-width: 1200px) {
    .hc-banner-section .hero-split-wrap {
        max-width: 1640px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        --bs-gutter-x: 0 !important;
        gap: 10px !important;
    }

    .hc-banner-section .col-lg-8 {
        width: 1230px !important;
        flex: 0 0 1230px !important;
        max-width: 1230px !important;
    }

    .hc-banner-section .col-lg-4 {
        width: 400px !important;
        flex: 0 0 400px !important;
        max-width: 400px !important;
    }

    .hc-banner-section .hero-side-image {
        width: 400px !important;
        height: 400px !important;
        object-fit: cover !important;
    }
}

.hc-banner-section .hc-banner-left {
    overflow: hidden;
    padding: 55px 75px;
}

/* Title @ 48 bold */
.hc-banner-section .hero-split-left h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 20px;
}

/* Description box: 676x120 */
.hc-banner-section .hc-banner-desc-box {
    width: 676px;
    max-width: 100%;
    height: 120px;
    margin-bottom: 40px;
}

.hc-banner-section .hero-split-left .hero-desc,
.hc-banner-section .hero-split-left .hero-sub-desc {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 0;
}

.hc-banner-section .hero-split-left .hero-sub-desc {
    margin-bottom: 0;
}

.hc-banner-section .hc-banner-left .hero-text {
    position: relative;
    z-index: 2;
}

/* Decorative pluses inside the gradient card */
.hc-banner-section .hc-banner-left .hc-banner-shape {
    position: absolute;
    right: -1px;
    bottom: -2px;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
}

.hc-banner-section .hc-banner-left .hc-banner-shape svg {
    display: block;
    height: auto;
    max-height: 100%;
}

/* CTA button — 260x60 */
.hc-banner-section .hc-banner-btn {
    width: 260px;
    height: 60px;
    font-size: 16px;
}

.hc-banner-section .hc-banner-btn svg {
    position: absolute;
    left: 24px;
}

/* ---------- Breadcrumb ---------- */
.hc-breadcrumb p {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 14px;
    color: #173158;
}

.hc-breadcrumb a {
    color: #173158;
    text-decoration: none;
}

.hc-breadcrumb .separator {
    color: #173158;
    margin: 0 8px;
}

.hc-breadcrumb .current {
    color: #E83161;
    font-weight: 500;
}

/* ---------- Section ---------- */
.hc-section {
    font-family: 'Poppins', 'Inter', sans-serif;
    background: #fff;
    padding: 80px 0 80px;
}

/* 512 + 40 (gap) + 1088 = 1640 (kp-container).
   Container is centered on a 1920 design canvas → 140px from each screen edge. */
.hc-wrap {
    display: grid;
    grid-template-columns: 512px 1088px;
    gap: 40px;
    align-items: start;
}

/* ---------- Sidebar: 512x540 ---------- */
.hc-sidebar {
    width: 512px;
    height: 540px;
    background: #F7F8F9;
    padding: 70px;
    position: sticky;
    top: 90px;
}

.hc-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hc-cat-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--hc-navy);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hc-cat-list .cat-arrow {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: var(--hc-pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hc-cat-list li.is-active a {
    color: #173158;
    font-weight: 600;
}

/* ---------- Promo box: 1088x400 ---------- */
.hc-promo {
    position: relative;
    width: 1088px;
    max-width: 100%;
    height: 400px;
    background: #E73161;
    color: #fff;
    padding: 64px 72px;
    margin-bottom: 60px;
    overflow: hidden;
}

.hc-promo-arrow {
    position: absolute;
    top: 53px;
    right: 59px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.hc-promo-arrow svg {
    width: 56px;
    height: 56px;
    display: block;
}

.hc-promo-title {
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 14px;
}

.hc-promo-desc {
    color: #fff;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 30px;
    max-width: 820px;
}

.hc-promo-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    margin: 0;
    max-width: 820px;
}

/* ---------- Block ---------- */
.hc-block {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.hc-block-title {
    color: #173158;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 22px;
}

/* ---------- Accordion ---------- */
.hc-accordion {
    background: transparent;
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 0;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: var(--hc-navy);
    --bs-accordion-btn-focus-box-shadow: none;
}

.hc-accordion .accordion-item {
    background: transparent;
    border: 0;
    /* border-bottom: 1px solid var(--hc-line); */
}

/* .hc-accordion .accordion-item:first-of-type {
    border-top: 1px solid var(--hc-line);
} */

.hc-accordion .accordion-button {
    background: #F7F8F9;
    color: #173158;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    /* padding: 18px 32px 18px 0; */
    box-shadow: none;
    position: relative;
}

.hc-accordion .accordion-button:not(.collapsed) {
    color: #173158;
    background: transparent;
    box-shadow: none;
}

.hc-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* Replace bootstrap chevron with our pink + / - */
.hc-accordion .accordion-button::after {
    background-image: none;
    width: 14px;
    height: 14px;
    transform: none;
    transition: none;
    content: '+';
    color: var(--hc-pink);
    font-size: 22px;
    font-weight: 400;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.hc-accordion .accordion-button:not(.collapsed)::after {
    content: '−';
    transform: none;
}

.hc-accordion .accordion-body {
    padding: 0 22px 18px;
    color: #173158;
    font-size: 16px;
    line-height: 1.7;
}

/* Card-style variant: each item is a 1088x60 (closed) / 1088x170 (open) light gray card with 16px gap */
.hc-accordion-cards .accordion-item {
    background: var(--hc-light);
    border: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.hc-accordion-cards .accordion-item:first-of-type {
    border-top: 0;
}

.hc-accordion-cards .accordion-item:last-child {
    margin-bottom: 0;
}

.hc-accordion-cards .accordion-header {
    height: 60px;
}

.hc-accordion-cards .accordion-button {
    height: 60px;
    padding: 0 24px;
    background: var(--hc-light);
}

.hc-accordion-cards .accordion-button:not(.collapsed) {
    background: #F7F8F9;
}

.hc-accordion-cards .accordion-collapse {
    background: #F7F8F9;
}

.hc-accordion-cards .accordion-body {
    padding: 0 24px 18px;
    min-height: 110px;
}

.hc-accordion .accordion-body p {
    margin: 0 0 12px;
}

.hc-accordion .accordion-body p:last-child {
    margin-bottom: 0;
}

.hc-accordion .accordion-body strong {
    color: var(--hc-navy);
    font-weight: 600;
}

.hc-accordion .accordion-body ul,
.hc-accordion .accordion-body ol {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.hc-accordion .accordion-body ul li,
.hc-accordion .accordion-body ol li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

.hc-accordion .accordion-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hc-pink);
}

/* ---------- Tablet ---------- */
@media (max-width: 1199.98px) {
    .hc-wrap {
        grid-template-columns: 240px 1fr;
        gap: 32px;
    }

    .hc-promo {
        padding: 28px 30px;
    }

    .hc-promo-arrow {
        right: 16px;
        top: -28px;
    }

    .hc-promo-title {
        font-size: 26px;
    }

    .hc-block-title {
        font-size: 24px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 711.98px) {
    .hc-section {
        padding: 16px 0 50px;
    }

    .hc-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hc-sidebar {
        position: static;
        padding: 18px 16px;
    }

    .hc-cat-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 14px;
    }

    .hc-promo {
        padding: 24px 22px;
        margin-bottom: 32px;
    }

    .hc-promo-arrow {
        width: 40px;
        height: 40px;
        right: 16px;
        top: -20px;
    }

    .hc-promo-arrow svg {
        width: 40px;
        height: 40px;
    }

    .hc-promo-title {
        font-size: 22px;
    }

    .hc-promo-desc {
        font-size: 14px;
    }

    .hc-block {
        margin-bottom: 32px;
    }

    .hc-block-title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .hc-accordion .accordion-button {
        font-size: 14px;
        padding: 16px 28px 16px 0;
    }
}

/* ---------- Mobile Redesign Custom Accordion ---------- */
.hc-mobile-accordion .accordion-button::after {
    display: none !important;
}

.hc-mobile-accordion .accordion-button:not(.collapsed) .acc-icon-plus {
    display: none !important;
}

.hc-mobile-accordion .accordion-button:not(.collapsed) .acc-icon-minus {
    display: block !important;
}

.hc-mobile-accordion .accordion-button.collapsed .acc-icon-plus {
    display: block !important;
}

.hc-mobile-accordion .accordion-button.collapsed .acc-icon-minus {
    display: none !important;
}

.hc-mobile-accordion .accordion-button {
    box-shadow: none !important;
}

.kp-mobile-hc-content .accordion-body p,
.kp-mobile-hc-content .accordion-body li {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #152C50 !important;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.kp-mobile-hc-content .accordion-body strong {
    font-weight: 600 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   Laptop Screen Overrides (992px to 1639.98px)
   Mirrors the same range used by /categories, /brands, /products,
   /offers, /about-us and /contact-us so the help-center banner,
   sidebar+content grid and promo card fit the laptop viewport without
   being clipped by the global 1640px .kp-container width. PC (≥1640px)
   and mobile (<768px) layouts are not touched.
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 992px) and (max-width: 1639.98px) {

    /* Containers: make fluid for the laptop range. */
    .kp-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    /* Banner — override the in-file @media (min-width: 1200px) rule that
       forces .hc-banner-section .col-lg-8 to 1230px and .col-lg-4 to 400px.
       My rule has the same specificity + !important and comes later in
       source order, so it wins inside the 1200–1639.98 overlap. */
    .hc-banner-section .hero-split-wrap {
        max-width: 100% !important;
        height: 380px !important;
        gap: 10px !important;
        --bs-gutter-x: 0 !important;
    }

    .hc-banner-section .col-lg-8 {
        width: auto !important;
        flex: 1 1 0% !important;
        max-width: none !important;
    }

    .hc-banner-section .col-lg-4 {
        width: 350px !important;
        flex: 0 0 350px !important;
        max-width: 350px !important;
    }

    .hc-banner-section .hero-split-left,
    .hc-banner-section .hero-split-right {
        height: 380px !important;
        min-height: 0 !important;
    }

    .hc-banner-section .hc-banner-left {
        padding: 40px 40px !important;
    }

    .hc-banner-section .hero-split-left h1 {
        font-size: 38px !important;
        line-height: 1.12 !important;
        margin-bottom: 16px !important;
    }

    .hc-banner-section .hc-banner-desc-box {
        width: 100% !important;
        max-width: 500px !important;
        height: auto !important;
        margin-bottom: 1rem !important;
    }

    .hc-banner-section .hero-split-left .hero-desc,
    .hc-banner-section .hero-split-left .hero-sub-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .hc-banner-section .hc-banner-btn {
        width: 220px !important;
        height: 52px !important;
        font-size: 15px !important;
    }

    .hc-banner-section .hero-side-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .hc-banner-section .hc-banner-shape svg {
        max-width: 320px !important;
        max-height: 320px !important;
    }
}

/* Sidebar + content grid + promo + block headings — the existing
   @media (max-width: 1199.98px) rule already collapses .hc-wrap to
   `240px 1fr`, but at 1200–1639.98 the default `512px 1088px` grid
   (= 1640px wide) still forces overflow. Extend the same collapse
   behaviour into the laptop PC sub-range. */
@media (min-width: 1200px) and (max-width: 1639.98px) {
    .hc-wrap {
        grid-template-columns: 280px 1fr !important;
        gap: 32px !important;
    }

    .hc-sidebar {
        width: 100% !important;
        height: auto !important;
        padding: 36px 32px !important;
    }

    .hc-cat-list li a {
        font-size: 15px !important;
    }

    .hc-promo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 320px !important;
        padding: 44px 48px !important;
    }

    .hc-promo-arrow {
        top: 24px !important;
        right: 24px !important;
    }

    .hc-promo-title {
        font-size: 36px !important;
    }

    .hc-promo-desc {
        font-size: 22px !important;
        line-height: 1.35 !important;
        max-width: 100% !important;
    }

    .hc-promo-sub {
        font-size: 15px !important;
        max-width: 100% !important;
    }

    .hc-block-title {
        font-size: 32px !important;
    }

    .hc-accordion .accordion-button {
        font-size: 18px !important;
    }
}

/* ───────── Shift Breakpoint for Help Center Page (apply mobile until 712px, then tablet) ───────── */
@media (min-width: 712px) and (max-width: 767.98px) {

    /* Hide Mobile Layout */
    .d-md-none {
        display: none !important;
    }

    /* Show Tablet/Desktop Layout */
    .d-none.d-md-block {
        display: block !important;
    }

    .d-none.d-md-flex {
        display: flex !important;
    }

    .d-none.d-md-inline {
        display: inline !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Tablet Screen Overrides (712px to 991.98px)
   The global .kp-container is 1640px with no responsive fallback in
   this range, so the help-center banner was being clipped on tablet
   widths. The existing `(max-width: 1199.98px)` rule already collapses
   .hc-wrap to a `240px 1fr` grid and trims a few section sizes, but
   no container override and no banner image-col visibility exists for
   tablet.

   Mobile <712 keeps the existing `(max-width: 711.98px)` rules, and
   laptop 992–1639.98 keeps its own block. PC ≥1640 is not touched.
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 712px) and (max-width: 991.98px) {

    /* Containers: make fluid for the tablet range. */
    .kp-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    /* Banner — the image col (`col-12 col-lg-4 d-none d-lg-block`) is
       hidden below lg in markup. Force it visible at tablet and shrink
       both columns into a fluid flex split. */
    .hc-banner-section .hero-split-wrap {
        max-width: 100% !important;
        height: 320px !important;
        gap: 10px !important;
        --bs-gutter-x: 0 !important;
    }

    .hc-banner-section .hero-split-wrap>.col-lg-8,
    .hc-banner-section .hero-split-wrap>.col-lg-4 {
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
    }

    /* Override the markup `d-none d-lg-block` so the image col becomes
       visible inside the tablet range. */
    .hc-banner-section .hero-split-wrap>.col-lg-4 {
        display: block !important;
    }

    .hc-banner-section .hero-split-left,
    .hc-banner-section .hero-split-right {
        height: 320px !important;
        min-height: 0 !important;
    }

    .hc-banner-section .hc-banner-left {
        padding: 28px 28px !important;
    }

    .hc-banner-section .hero-split-left h1 {
        font-size: 28px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
    }

    .hc-banner-section .hc-banner-desc-box {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-bottom: 0.75rem !important;
    }

    .hc-banner-section .hero-split-left .hero-desc,
    .hc-banner-section .hero-split-left .hero-sub-desc {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    .hc-banner-section .hc-banner-btn {
        width: 200px !important;
        height: 44px !important;
        font-size: 13px !important;
    }

    /* Decorative pluses SVG inside the gradient card — clamp so it
       doesn't dominate the narrower tablet card. */
    .hc-banner-section .hc-banner-left .hc-banner-shape svg {
        max-width: 220px !important;
        max-height: 220px !important;
        opacity: 0.45 !important;
        display: none !important;
    }

    /* Right image col content */
    .hc-banner-section .hero-side-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .hc-banner-section .hero-arrow-chip-image {
        top: 12px !important;
        left: 12px !important;
    }

    .hc-banner-section .hero-arrow-chip-image svg {
        width: 38px !important;
        height: 38px !important;
    }

    /* Section padding + sidebar/content grid — the existing
       `(max-width: 1199.98px)` rule already sets `240px 1fr`; polish
       a few sizes for the tablet sub-range. */
    .hc-section {
        padding: 56px 0 56px !important;
    }

    .hc-sidebar {
        width: 100% !important;
        height: auto !important;
        padding: 24px 20px !important;
        position: static !important;
    }

    .hc-cat-list li a {
        font-size: 13px !important;
    }

    .hc-promo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 260px !important;
        padding: 32px 28px !important;
    }

    .hc-promo-arrow {
        top: 16px !important;
        right: 16px !important;
    }

    .hc-promo-arrow svg {
        width: 40px !important;
        height: 40px !important;
    }

    .hc-promo-title {
        font-size: 26px !important;
        margin-bottom: 10px !important;
    }

    .hc-promo-desc {
        font-size: 16px !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
    }

    .hc-promo-sub {
        font-size: 13px !important;
        max-width: 100% !important;
    }

    .hc-block-title {
        font-size: 22px !important;
        margin-bottom: 14px !important;
    }

    .hc-accordion .accordion-button {
        font-size: 15px !important;
    }

    .hc-accordion-cards .accordion-header,
    .hc-accordion-cards .accordion-button {
        height: auto !important;
        min-height: 52px !important;
        /* padding: 12px 20px !important; */
    }

    .hc-accordion .accordion-body {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}

/* Banner split right image color layer opacity override */
.hc-banner-section .hero-split-right::before {
    background: #173158;
    opacity: 0.2;
}

/* Sticky Breadcrumb styling */
.hc-breadcrumb-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: var(--nav-mega-top, 140px) !important;
    z-index: 950 !important;
    background: #ffffff !important;
    padding: 20px 0 !important;
}

/* Mobile Banner CTA Button Hover */
.hc-mob-cta-btn {
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hc-mob-cta-btn:hover {
    background-color: #ffffff !important;
    color: #173158 !important;
    box-shadow: 0 6px 20px rgba(23, 49, 88, 0.3);
}

.hc-mob-cta-btn:hover svg path {
    fill: #E83161 !important;
    transition: fill 0.25s ease;
}

/* Tablet sticky breadcrumb — must come after .hc-breadcrumb-sticky base rule */
@media (min-width: 712px) and (max-width: 991.98px) {
    .hc-breadcrumb-sticky {
        top: 85px !important;
    }
}