/* Yardım mərkəzi. Mövzu rəngləri ikonuna görə (Müraciətlərimdəki mövzu rəngləri ilə uyğun) */
.sc-help-kind--box, .sc-help-kind--truck { --sc-kind: var(--sc-info); --sc-kind-bg: var(--sc-info-bg); }
.sc-help-kind--wallet { --sc-kind: var(--sc-success); --sc-kind-bg: var(--sc-success-bg); }
.sc-help-kind--bag, .sc-help-kind--cart { --sc-kind: var(--sc-accent); --sc-kind-bg: var(--sc-icon-chip-bg); }
.sc-help-kind--file { --sc-kind: var(--sc-warning); --sc-kind-bg: var(--sc-warning-bg); }
.sc-help-kind--user, .sc-help-kind--chat { --sc-kind: #7C5CD6; --sc-kind-bg: color-mix(in srgb, #7C5CD6 14%, var(--sc-surface)); }

/* ---- Hero ---- */
.sc-help-hero {
    position: relative; padding: 44px 20px 52px; text-align: center; color: #fff;
    background: linear-gradient(160deg, #FF5C5A 0%, #FF5453 38%, #C3262A 100%);
}
.sc-help-hero__inner { display: grid; justify-items: center; gap: 10px; }
.sc-help-hero__badge { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 13px; font-weight: 700; }
.sc-help-hero h1 { margin: 4px 0 0; font-family: var(--sc-font-heading); font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.sc-help-hero p { margin: 0 0 10px; max-width: 520px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.sc-help-hero .sc-help-search { width: min(640px, 100%); }

/* ---- Axtarış ---- */
.sc-help-search { position: relative; display: block; width: 100%; color: var(--sc-text); }
.sc-help-search__icon { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--sc-text-muted); pointer-events: none; }
.sc-help-search__input {
    width: 100%; height: 56px; padding: 0 18px 0 50px; border: 2px solid transparent; border-radius: 16px;
    background: var(--sc-surface); color: var(--sc-text); font: inherit; font-size: 16px; font-weight: 600;
    box-shadow: 0 12px 30px rgba(18, 21, 28, .14); outline: none; transition: border-color .15s;
}
.sc-help-search__input::placeholder { color: var(--sc-text-muted); font-weight: 500; }
.sc-help-search__input:focus { border-color: var(--sc-accent); }
.sc-help-side .sc-help-search__input, .sc-help-search-page .sc-help-search__input { height: 50px; border-color: var(--sc-line); box-shadow: none; }
.sc-help-suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; overflow: hidden; text-align: left;
    border: 1px solid var(--sc-line); border-radius: 16px; background: var(--sc-surface); box-shadow: var(--sc-shadow-popover);
}
.sc-help-suggest[hidden] { display: none; }
.sc-help-suggest a { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--sc-line); color: var(--sc-text); text-decoration: none; }
.sc-help-suggest a:last-child { border-bottom: 0; }
.sc-help-suggest a:hover, .sc-help-suggest a.is-active { background: var(--sc-bg); }
.sc-help-suggest small { font-size: 12px; font-weight: 700; color: var(--sc-accent); }
.sc-help-suggest strong { font-size: 14.5px; font-weight: 700; }
.sc-help-suggest span { font-size: 13px; color: var(--sc-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-help-suggest__empty { padding: 14px 16px; font-size: 14px; color: var(--sc-text-muted); }
.sc-help-suggest__all { display: block !important; padding: 10px 16px !important; font-size: 13.5px; font-weight: 700; color: var(--sc-accent) !important; }

/* ---- Səhifə ---- */
.sc-help { padding-top: 34px; padding-bottom: 48px; }
.sc-help--page { padding-top: 22px; }
.sc-help__heading { margin: 0 0 16px; font-size: 20px; font-weight: 800; }
.sc-help-empty { padding: 30px 0; color: var(--sc-text-muted); }

.sc-help-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.sc-help-topic {
    display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--sc-line); border-radius: 20px;
    background: var(--sc-surface); box-shadow: var(--sc-shadow-card);
}
.sc-help-topic__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; color: var(--sc-text); text-decoration: none; }
.sc-help-topic__head strong { display: block; font-size: 16.5px; font-weight: 800; }
.sc-help-topic__head small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--sc-text-muted); }
.sc-help-topic__head:hover strong { color: var(--sc-accent); }
.sc-help-topic__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sc-kind-bg); color: var(--sc-kind); }
.sc-help-topic__icon svg { width: 21px; height: 21px; }
.sc-help-topic__list { margin: 0; padding: 0; list-style: none; }
.sc-help-topic__list a, .sc-help-related a {
    display: flex; align-items: flex-start; gap: 6px; padding: 8px 6px; border-radius: 10px;
    color: var(--sc-text); font-size: 14.5px; font-weight: 600; line-height: 1.4; text-decoration: none;
}
.sc-help-topic__list a:hover, .sc-help-related a:hover { background: var(--sc-bg); color: var(--sc-accent); }
.sc-help-topic__list svg, .sc-help-related svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--sc-text-muted); }
.sc-help-topic__all { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding: 6px; font-size: 13.5px; font-weight: 800; color: var(--sc-accent); text-decoration: none; }
.sc-help-topic__all svg { width: 15px; height: 15px; }

.sc-help-popular { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; counter-reset: pop; }
.sc-help-popular a {
    display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px;
    border: 1px solid var(--sc-line); border-radius: 16px; background: var(--sc-surface); color: var(--sc-text); text-decoration: none;
}
.sc-help-popular a::before {
    counter-increment: pop; content: counter(pop); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--sc-icon-chip-bg); color: var(--sc-accent); font-weight: 800; font-size: 14px;
}
.sc-help-popular a:hover { border-color: var(--sc-accent); }
.sc-help-popular__title { font-size: 14.5px; font-weight: 700; }
.sc-help-popular__cat { font-size: 12.5px; color: var(--sc-text-muted); }

/* ---- Məqalə və mövzu səhifəsi ---- */
.sc-help-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13.5px; font-weight: 600; color: var(--sc-text-muted); }
.sc-help-crumbs a { color: var(--sc-text-muted); text-decoration: none; }
.sc-help-crumbs a:hover { color: var(--sc-accent); }
.sc-help-crumbs svg { width: 14px; height: 14px; }
.sc-help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-bottom: 36px; }
.sc-help-article {
    min-width: 0; padding: 28px 30px; border: 1px solid var(--sc-line); border-radius: 22px;
    background: var(--sc-surface); box-shadow: var(--sc-shadow-card);
}
.sc-help-article h1 { margin: 0 0 16px; font-family: var(--sc-font-heading); font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.25; }
.sc-help-body { font-size: 15.5px; line-height: 1.7; color: var(--sc-text); overflow-wrap: anywhere; }
.sc-help-body > :first-child { margin-top: 0; }
.sc-help-body p, .sc-help-body ul, .sc-help-body ol { margin: 0 0 14px; }
.sc-help-body ul, .sc-help-body ol { padding-left: 22px; }
.sc-help-body li { margin-bottom: 6px; }
.sc-help-body h2, .sc-help-body h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 800; }
.sc-help-body a:not(.sc-btn) { color: var(--sc-accent); font-weight: 600; }
.sc-help-body strong { font-weight: 800; }
.sc-help-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.sc-help-cta { text-decoration: none; }

.sc-help-vote { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--sc-line); }
.sc-help-vote__ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sc-help-vote__ask[hidden], .sc-help-vote__thanks[hidden] { display: none; }
.sc-help-vote__ask > span { font-size: 15px; font-weight: 800; }
.sc-help-vote__buttons { display: flex; gap: 8px; }
.sc-help-vote__buttons .sc-btn { gap: 6px; }
.sc-help-vote__buttons svg { width: 17px; height: 17px; }
.sc-help-vote__thanks { display: grid; justify-items: start; gap: 10px; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--sc-text-muted); }
.sc-help-vote__thanks p { margin: 0; }
.sc-help-vote__thanks .sc-btn { gap: 6px; }
.sc-help-vote__thanks .sc-btn svg { width: 16px; height: 16px; }

.sc-help-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.sc-help-related { padding: 16px; border: 1px solid var(--sc-line); border-radius: 20px; background: var(--sc-surface); }
.sc-help-related h2 { margin: 0 0 8px; padding: 0 6px; font-size: 14.5px; font-weight: 800; }
.sc-help-related ul { margin: 0; padding: 0; list-style: none; }

.sc-help-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sc-help-cat-head h1 { margin: 0; }
.sc-help-cat-head p { margin: 4px 0 0; font-size: 14px; color: var(--sc-text-muted); }
.sc-help-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sc-help-list a {
    display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--sc-line); border-radius: 16px;
    color: var(--sc-text); text-decoration: none; transition: border-color .15s;
}
.sc-help-list a:hover { border-color: var(--sc-accent); }
.sc-help-list small { font-size: 12px; font-weight: 700; color: var(--sc-accent); }
.sc-help-list strong { font-size: 15.5px; font-weight: 800; }
.sc-help-list span { font-size: 13.5px; line-height: 1.5; color: var(--sc-text-muted); }

.sc-help-search-page { display: grid; gap: 20px; max-width: 760px; margin: 0 auto 36px; }
.sc-help-noresult h1 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.sc-help-noresult p { margin: 0; color: var(--sc-text-muted); }

/* ---- Cavab tapılmadı ---- */
.sc-help-contact {
    display: grid; justify-items: center; gap: 8px; padding: 30px 20px; text-align: center;
    border: 1px dashed var(--sc-border); border-radius: 22px; background: var(--sc-surface);
}
.sc-help-contact__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sc-icon-chip-bg); color: var(--sc-accent); }
.sc-help-contact__icon svg { width: 24px; height: 24px; }
.sc-help-contact h2 { margin: 4px 0 0; font-size: 19px; font-weight: 800; }
.sc-help-contact p { margin: 0 0 8px; font-size: 14.5px; color: var(--sc-text-muted); }
.sc-help-contact__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.sc-help-contact__actions .sc-btn { gap: 8px; }
.sc-help-contact__actions svg { width: 18px; height: 18px; }
.sc-help-contact__note { font-size: 13px; color: var(--sc-text-muted); }

@media (max-width: 1000px) {
    .sc-help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-help-layout { grid-template-columns: minmax(0, 1fr); }
    .sc-help-side { position: static; }
}
@media (max-width: 600px) {
    .sc-help-hero { padding: 30px 16px 36px; }
    .sc-help-topics { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .sc-help-article { padding: 20px 18px; }
    .sc-help-search__input { height: 52px; font-size: 15px; }
    .sc-help-vote__buttons { width: 100%; }
    .sc-help-vote__buttons .sc-btn { flex: 1; justify-content: center; }
}
