/* How to Buy manual (storefront) */
.htb {
    --htb-gold: #b8860b;
    --htb-gold-soft: #fdf6e3;
    --htb-ink: #1f2937;
    --htb-muted: #6b7280;
    --htb-line: #e5e7eb;
    color: var(--htb-ink);
}

.htb-hero {
    background: linear-gradient(135deg, #fffaf0 0%, #fff 60%);
    border: 1px solid var(--htb-line);
    border-radius: 16px;
    padding: 26px 24px;
    margin-bottom: 26px;
}

.htb-hero h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.htb-hero p {
    margin: 0;
    color: var(--htb-muted);
    line-height: 1.7;
    max-width: 760px;
}

.htb-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.htb-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.htb-jump a,
.htb-lang a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--htb-line);
    background: #fff;
    color: var(--htb-ink);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}

.htb-jump a:hover,
.htb-lang a:hover {
    border-color: var(--htb-gold);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(184, 134, 11, .14);
    color: var(--htb-ink);
}

.htb-lang {
    display: inline-flex;
    gap: 6px;
}

.htb-lang a.is-on {
    background: var(--htb-ink);
    border-color: var(--htb-ink);
    color: #fff;
}

.htb-section {
    margin-bottom: 38px;
    scroll-margin-top: 90px;
}

.htb-section__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--htb-gold-soft);
}

.htb-section__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--htb-gold-soft);
    color: var(--htb-gold);
    font-size: 1.05rem;
}

.htb-section__head h3 {
    margin: 0 0 3px;
    font-size: 1.25rem;
    font-weight: 800;
}

.htb-section__head p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--htb-muted);
    line-height: 1.6;
}

.htb-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 22px;
    align-items: center;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--htb-line);
    border-radius: 14px;
    background: #fff;
}

.htb-step:nth-child(even) .htb-step__media {
    order: -1;
}

.htb-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--htb-ink);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.htb-step h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
}

.htb-step p {
    margin: 0;
    color: #374151;
    line-height: 1.75;
    font-size: 0.94rem;
}

.htb-step__hint {
    display: flex;
    gap: 9px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--htb-gold-soft);
    border: 1px solid #f3e3bd;
    color: #7c5a05;
    font-size: 0.85rem;
    line-height: 1.6;
}

.htb-step__hint i {
    margin-top: 3px;
}

.htb-step__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--htb-ink);
    color: #fff;
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
}

.htb-step__link:hover {
    background: var(--htb-gold);
    color: #fff;
}

.htb-step__media {
    min-width: 0;
}

.htb-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--htb-line);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.htb-media-note {
    display: block;
    margin-top: 8px;
    font-size: 0.74rem;
    color: #9ca3af;
    text-align: center;
}

/* Troubleshooting list */
.htb-trouble {
    padding: 20px;
    border: 1px solid var(--htb-line);
    border-radius: 14px;
    background: #fafafa;
}

.htb-trouble h4 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
}

.htb-trouble ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.htb-trouble li {
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--htb-line);
}

.htb-trouble b {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 4px;
    color: #b45309;
}

.htb-trouble span {
    font-size: 0.86rem;
    color: var(--htb-muted);
    line-height: 1.6;
}

.htb-help {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #fff;
}

.htb-help p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.htb-help a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #25d366;
    color: #062b13;
    font-weight: 800;
    font-size: 0.86rem;
    text-decoration: none;
}

/* ---------- Screen mockups (fallback when no screenshot uploaded) ---------- */
.htb-mk {
    border: 1px solid var(--htb-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
    font-size: 0.8rem;
    overflow: hidden;
}

.htb-mk--pad {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.htb-mk--center {
    align-items: center;
}

.htb-mk-topbar {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f3f4f6;
    color: var(--htb-muted);
    font-size: 0.72rem;
}

.htb-mk-topbar mark {
    background: #fde68a;
    color: #78350f;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 700;
}

.htb-mk-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.htb-mk-nav span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: var(--htb-muted);
    font-size: 0.72rem;
    font-weight: 600;
}

.htb-mk-nav span.is-on {
    background: var(--htb-ink);
    color: #fff;
}

.htb-mk-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid var(--htb-line);
    border-radius: 999px;
    color: #9ca3af;
    font-size: 0.75rem;
}

.htb-mk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.htb-mk-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--htb-line);
    border-radius: 10px;
}

.htb-mk-thumb {
    display: grid;
    place-items: center;
    height: 62px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fdf6e3 0%, #f8f2e1 100%);
    color: var(--htb-gold);
    font-size: 1.3rem;
}

.htb-mk-thumb--big {
    height: 128px;
    font-size: 2.1rem;
}

.htb-mk-thumb--sm {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    font-size: 1rem;
}

.htb-mk-line {
    display: block;
    height: 8px;
    width: 55%;
    border-radius: 99px;
    background: #eef0f3;
}

.htb-mk-line--wide {
    width: 85%;
}

.htb-mk-price {
    font-weight: 800;
    color: var(--htb-ink);
    font-size: 0.78rem;
}

.htb-mk-price--big {
    font-size: 1.05rem;
    color: var(--htb-gold);
}

.htb-mk-split {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 12px;
    align-items: start;
}

.htb-mk-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.htb-mk-col--tight {
    gap: 5px;
    flex: 1;
}

.htb-mk-h {
    font-size: 0.9rem;
    font-weight: 800;
}

.htb-mk-h--gap {
    margin-top: 6px;
}

.htb-mk-specs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
}

.htb-mk-specs li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 4px;
    border-bottom: 1px dashed var(--htb-line);
    color: var(--htb-muted);
    font-size: 0.75rem;
}

.htb-mk-specs b {
    color: var(--htb-ink);
}

.htb-mk-field {
    display: block;
    padding: 9px 10px;
    border: 1px solid var(--htb-line);
    border-radius: 8px;
    background: #fcfcfd;
    color: #9ca3af;
    font-size: 0.75rem;
}

.htb-mk-field--grow {
    flex: 1;
    min-width: 0;
}

.htb-mk-field-row {
    display: flex;
    gap: 8px;
}

.htb-mk-field-row .htb-mk-field {
    flex: 1;
}

.htb-mk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    background: var(--htb-ink);
    text-align: center;
}

.htb-mk-btn--sm {
    padding: 8px 12px;
    font-size: 0.73rem;
}

.htb-mk-btn--blue {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.htb-mk-btn--cart {
    background: linear-gradient(135deg, #b8860b 0%, #96690a 100%);
}

.htb-mk-btn--pay {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.htb-mk-note {
    color: var(--htb-muted);
    font-size: 0.73rem;
    line-height: 1.5;
}

.htb-mk-note--label {
    font-weight: 700;
    color: var(--htb-ink);
}

.htb-mk-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--htb-line);
    border-radius: 10px;
}

.htb-mk-card--narrow {
    max-width: 260px;
    margin: 0 auto;
}

.htb-mk-card--flat {
    background: #fcfcfd;
}

.htb-mk-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.75rem;
}

.htb-mk-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid var(--htb-line);
    border-radius: 10px;
}

.htb-mk-summary {
    display: grid;
    gap: 7px;
    padding: 11px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid var(--htb-line);
}

.htb-mk-summary--solo {
    width: 100%;
    max-width: 280px;
}

.htb-mk-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.76rem;
    color: var(--htb-muted);
}

.htb-mk-summary small {
    font-size: 0.66rem;
    letter-spacing: .04em;
}

.htb-mk-summary b {
    color: var(--htb-ink);
    white-space: nowrap;
}

.htb-mk-summary .is-cut b {
    color: #059669;
}

.htb-mk-summary .is-total {
    padding-top: 7px;
    border-top: 1px solid var(--htb-line);
    font-weight: 800;
    color: var(--htb-ink);
}

.htb-mk-summary .is-total b {
    color: #1d4ed8;
    font-size: 0.9rem;
}

.htb-mk-empty {
    padding: 11px;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px dashed var(--htb-line);
    color: var(--htb-muted);
    font-size: 0.76rem;
}

.htb-mk-radio {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid var(--htb-line);
    border-radius: 8px;
    font-size: 0.78rem;
    color: #374151;
}

.htb-mk-radio i {
    color: #9ca3af;
}

.htb-mk-radio::before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex: 0 0 auto;
}

.htb-mk-radio.is-on {
    border-color: #2563eb;
    background: #eff6ff;
    font-weight: 700;
}

.htb-mk-radio.is-on::before {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: inset 0 0 0 2px #fff;
}

.htb-mk-radio.is-on i {
    color: #2563eb;
}

.htb-mk-order {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--htb-line);
    border-radius: 10px;
    font-size: 0.78rem;
}

.htb-mk-pill {
    padding: 4px 9px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: .05em;
    white-space: nowrap;
}

.htb-mk-pill--paid {
    background: #dcfce7;
    color: #166534;
}

.htb-mk-pill--info {
    background: #e0f2fe;
    color: #0369a1;
    align-self: flex-start;
    text-transform: uppercase;
}

.htb-mk-vhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--htb-line);
    font-size: 0.85rem;
}

.htb-mk-vgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.htb-mk-vcard {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.htb-mk-vcard > b {
    font-size: 0.95rem;
}

.htb-mk-vcard--solo {
    width: 100%;
    max-width: 260px;
    border-style: solid;
    border-color: #34d399;
}

.htb-mk-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid var(--htb-line);
    border-radius: 8px;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.htb-mk-vmeta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3px;
    color: var(--htb-muted);
    font-size: 0.7rem;
}

.htb-mk-inline {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.htb-mk-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 13px;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    color: #166534;
    font-size: 0.8rem;
}

.htb-mk-applied strong {
    letter-spacing: .05em;
}

@media (max-width: 991px) {
    .htb-step {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .htb-step:nth-child(even) .htb-step__media,
    .htb-step__media {
        order: 0;
    }
}

@media (max-width: 575px) {
    .htb-hero {
        padding: 20px 16px;
    }

    .htb-hero h2 {
        font-size: 1.25rem;
    }

    .htb-step {
        padding: 16px;
    }

    .htb-mk-grid,
    .htb-mk-vgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .htb-mk-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .htb-help {
        flex-direction: column;
        align-items: flex-start;
    }
}
