/* =========================================================================
   Home page (index.php) – one responsive layout for every screen size
   ========================================================================= */
.bh {
    --bh-navy: #021A54;
    --bh-navy-2: #0b2f86;
    --bh-orange: #f97316;
    --bh-orange-2: #ea580c;
    --bh-ink: #0f172a;
    --bh-muted: #64748b;
    --bh-line: #e2e8f0;
    --bh-soft: #f8fafc;
    --bh-green: #15803d;
    background: #f1f5f9;
    padding-bottom: 56px;
    overflow-x: clip;
}

.bh-wrap {
    width: min(100% - 32px, 1240px);
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.bh .bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.bh .bh-btn:active {
    transform: scale(0.98);
}

.bh .bh-btn--primary {
    background: var(--bh-orange);
    border-color: var(--bh-orange-2);
    color: #fff;
}

.bh .bh-btn--primary:hover {
    background: var(--bh-orange-2);
}

.bh .bh-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.bh .bh-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ---------- Hero ---------- */
.bh-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 64px 0 84px;
    background:
        radial-gradient(ellipse 60% 55% at 50% 0%, rgba(59, 130, 246, 0.45), transparent 70%),
        radial-gradient(circle at 92% 85%, rgba(249, 115, 22, 0.32), transparent 38%),
        radial-gradient(circle at 6% 80%, rgba(14, 165, 233, 0.22), transparent 40%),
        linear-gradient(160deg, #021A54 0%, #06246d 55%, #0b2f86 100%);
    color: #fff;
    text-align: center;
}

/* Fine dot grid that fades out toward the edges. */
.bh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
}

.bh-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bh-hero__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    width: 100%;
    max-width: 780px;
}

.bh-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.bh-hero__eyebrow i {
    color: #fdba74;
}

.bh-hero h1 {
    margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3.9rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
}

/* "grow" in a warm gradient with a hand-drawn underline. */
.bh-hero__accent {
    position: relative;
    display: inline-block;
    background: linear-gradient(100deg, #fdba74 0%, #f97316 55%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bh-hero__accent svg {
    position: absolute;
    left: -2%;
    bottom: -0.16em;
    width: 104%;
    height: 0.28em;
    overflow: visible;
}

.bh-hero__accent path {
    fill: none;
    stroke: #f97316;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 210;
    stroke-dashoffset: 210;
    animation: bh-draw 0.9s 0.3s ease-out forwards;
}

@keyframes bh-draw {
    to { stroke-dashoffset: 0; }
}

.bh-hero__text > p {
    margin: 0 0 28px;
    max-width: 600px;
    font-size: 17px;
    line-height: 1.65;
    color: #cbd5e1;
    text-wrap: balance;
}

.bh-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 640px;
    padding: 7px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 24px 48px -20px rgba(0, 0, 0, 0.55);
    text-align: left;
}

.bh-search > i {
    position: absolute;
    left: 22px;
    z-index: 1;
    color: var(--bh-muted);
    pointer-events: none;
}

.bh-search .bmz-autocomplete-wrap {
    flex: 1;
    min-width: 0;
}

.bh .bh-search input {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 12px 0 44px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--bh-ink);
    font-family: inherit;
    font-size: 16px;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.bh .bh-search button {
    height: 50px;
    padding: 0 26px;
    border: none;
    border-radius: 12px !important;
    background: var(--bh-orange);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.bh .bh-search button:hover {
    background: var(--bh-orange-2);
}

.bh-hero__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #94a3b8;
}

.bh-hero__chips a {
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.bh-hero__chips a:hover {
    background: #fff;
    color: var(--bh-navy);
}

.bh-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.bh .bh-hero__ctas .bh-btn--primary {
    background: #fff;
    border-color: #fff;
    color: var(--bh-navy);
}

.bh .bh-hero__ctas .bh-btn--primary:hover {
    background: #e0e7ff;
}

.bh-hero__stats {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin: 30px 0 0;
}

.bh-hero__stats div {
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
}

.bh-hero__stats dt {
    font-size: 12px;
    color: #94a3b8;
}

.bh-hero__stats dd {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
}

/* Product photos floating around the headline (wide screens only). */
.bh-hero__floats {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.bh-float {
    position: absolute;
    display: block;
    width: 150px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.6);
    pointer-events: auto;
    text-decoration: none;
    animation: bh-float 7s ease-in-out infinite;
}

.bh-float img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 13px;
}

.bh-float span {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bh-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.4);
}

.bh-float--1 { top: 13%; left: 4%; --r: -8deg; transform: rotate(-8deg); }
.bh-float--2 { bottom: 16%; left: 9%; width: 120px; --r: 6deg; transform: rotate(6deg); animation-delay: -2s; }
.bh-float--3 { top: 11%; right: 5%; width: 130px; --r: 7deg; transform: rotate(7deg); animation-delay: -4s; }
.bh-float--4 { bottom: 14%; right: 8%; --r: -5deg; transform: rotate(-5deg); animation-delay: -1s; }

@keyframes bh-float {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}

@media (prefers-reduced-motion: reduce) {
    .bh-float,
    .bh-hero__accent path {
        animation: none;
    }

    .bh-hero__accent path {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 1180px) {
    .bh-hero__floats {
        display: none;
    }
}

/* Short copy for small screens. */
.bh-show-sm {
    display: none;
}

/* Moving product strip (tablets and phones; wide screens use the floating cards instead). */
.bh-marquee {
    display: none;
    position: relative;
    z-index: 1;
    margin-top: 30px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.bh-marquee__track {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 6px 0 16px;
    animation: bh-marquee 38s linear infinite;
}

.bh-marquee:hover .bh-marquee__track,
.bh-marquee:active .bh-marquee__track {
    animation-play-state: paused;
}

.bh-marquee__item {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 104px;
    padding: 4px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.6);
    text-decoration: none;
}

.bh-marquee__item:nth-child(odd) {
    transform: rotate(-3deg) translateY(4px);
}

.bh-marquee__item:nth-child(even) {
    transform: rotate(3deg);
}

.bh-marquee__item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.bh-marquee__item span {
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--bh-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
}

@keyframes bh-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 1180px) {
    .bh-marquee {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bh-marquee {
        overflow-x: auto;
    }

    .bh-marquee__track {
        animation: none;
    }
}
/* ---------- Trust strip ---------- */
.bh-trust {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: -28px 0 22px;
    padding: 0;
    overflow: hidden;
    list-style: none;
    border-radius: 16px;
    background: var(--bh-line);
    box-shadow: 0 18px 36px -24px rgba(2, 26, 84, 0.45);
}

.bh-trust li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    font-size: 12px;
    line-height: 1.45;
    color: var(--bh-muted);
}

.bh-trust i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #ecfdf5;
    color: var(--bh-green);
    font-size: 15px;
}

.bh-trust strong {
    display: block;
    margin-bottom: 1px;
    font-size: 14px;
    color: var(--bh-ink);
}

.bh-trust small {
    font-size: 12px;
}

/* ---------- Promo banner ---------- */
.bh-banner {
    position: relative;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 16px;
    background: #e2e8f0;
}

/* Every slide sits in the same grid cell, so the banner takes the height of the artwork
   instead of cropping it to a fixed box. */
.bh-banner__track {
    display: grid;
}

.bh-banner__slide {
    grid-area: 1 / 1;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.bh-banner__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.bh-banner__slide img {
    display: block;
    width: 100%;
    height: auto;
}

.bh-banner__dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: flex;
    gap: 6px;
    transform: translateX(-50%);
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
}

.bh .bh-banner__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.bh .bh-banner__dots button.is-active {
    width: 22px;
    background: #fff;
}

/* ---------- Sections ---------- */
.bh-section {
    padding-top: 26px;
    scroll-margin-top: 70px;
}

.bh-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bh-section__head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--bh-ink);
}

.bh-section__head h2 i {
    font-size: 0.85em;
    color: var(--bh-orange);
}

.bh-section__head p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--bh-muted);
}

.bh-section__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.bh-section__tools a {
    color: var(--bh-navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.bh-section__tools a:hover {
    text-decoration: underline;
}

.bh .bh-rail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--bh-line);
    border-radius: 50% !important;
    background: #fff;
    color: var(--bh-ink);
    cursor: pointer;
}

.bh .bh-rail-btn[hidden] {
    display: none;
}

.bh .bh-rail-btn:hover:not(:disabled) {
    border-color: var(--bh-navy);
}

.bh .bh-rail-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Horizontal rails: cards keep their size; a short rail just stays left-aligned. */
.bh-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 200px;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.bh-rail::-webkit-scrollbar {
    display: none;
}

.bh-rail--wide {
    grid-auto-columns: 300px;
}

/* ---------- Product card ---------- */
.bh-card {
    position: relative;
    scroll-snap-align: start;
}

.bh-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--bh-line);
    color: inherit;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.bh-card__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -16px rgba(2, 26, 84, 0.5);
}

/* The photo is pinned inside a square frame so tall images cannot stretch the card. */
.bh-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bh-soft);
}

.bh-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bh-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.bh-badge--sale {
    background: #ef4444;
    color: #fff;
}

.bh-badge--muted {
    top: auto;
    bottom: 8px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
}

.bh-badge--info {
    left: auto;
    right: 8px;
    background: #fff;
    color: var(--bh-navy);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.bh-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px 12px;
}

.bh-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bh-ink);
}

.bh-card__price strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--bh-navy);
}

.bh-card__price s {
    font-size: 12px;
    color: #94a3b8;
}

.bh-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    font-size: 12px;
    color: var(--bh-muted);
}

.bh-card__meta .fa-star {
    color: #f59e0b;
}

/* Service cards: provider line, "From ₦X per hour", Negotiable / Quote badges */
.bh-card__provider {
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    color: var(--bh-muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bh-card__provider i {
    margin-right: 3px;
    color: #6d28d9;
}

.bh-card__price small {
    font-size: 12px;
    font-weight: 600;
    color: var(--bh-muted);
}

.bh-card__price strong.is-text {
    font-size: 14px;
    color: #6d28d9;
}

.bh-card__new {
    padding: 0 7px;
    border-radius: 999px;
    background: #dcfce7;
    color: var(--bh-green);
    font-weight: 700;
}

.bh-badge--feat {
    background: #fbbf24;
    color: #78350f;
}

.bh-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 1 / 1;
    pointer-events: none;
}

.bh .bh-card__cart {
    position: absolute;
    bottom: 8px;
    right: 8px;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50% !important;
    background: var(--bh-navy);
    color: #fff;
    font-size: 15px;
    box-shadow: 0 6px 14px rgba(2, 26, 84, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.bh .bh-card__cart:hover {
    background: var(--bh-orange);
    transform: scale(1.06);
}

.bh .bh-card__cart.is-done {
    background: var(--bh-green);
}

/* ---------- Categories ---------- */
.bh-cats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.bh-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 10px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--bh-line);
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bh-cat:hover {
    border-color: var(--bh-navy);
    box-shadow: 0 10px 22px -16px rgba(2, 26, 84, 0.5);
}

.bh-cat__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 4px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--bh-soft);
    font-size: 26px;
}

.bh-cat__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bh-cat__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bh-ink);
}

.bh-cat__count {
    font-size: 11px;
    color: var(--bh-muted);
}

.bh-tile--violet .bh-cat__img { background: #ede9fe; color: #6d28d9; }
.bh-tile--blue .bh-cat__img { background: #dbeafe; color: #1d4ed8; }
.bh-tile--green .bh-cat__img { background: #dcfce7; color: #15803d; }
.bh-tile--amber .bh-cat__img { background: #fef3c7; color: #b45309; }

/* ---------- Deals band ---------- */
.bh-section--deals .bh-wrap {
    padding: 18px 18px 8px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
}

/* ---------- Services band ---------- */
.bh-section--services .bh-wrap {
    padding: 18px 18px 8px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
}

.bh-section--services .bh-section__head h2 i {
    color: #6d28d9;
}

/* ---------- Sell on Bizmaize ---------- */
.bh-sell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, #021A54 0%, #0b2f86 100%);
    color: #fff;
}

.bh-sell h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 800;
    color: #fff;
}

.bh-sell__text p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
}

.bh-sell__steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bh-sell__steps li {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.bh-sell__steps li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--bh-orange);
    font-weight: 800;
}

.bh-sell__steps strong {
    display: block;
    font-size: 15px;
}

.bh-sell__steps p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #cbd5e1;
}

/* ---------- Business + job cards ---------- */
.bh-biz,
.bh-job {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--bh-line);
    color: inherit;
    text-decoration: none;
    scroll-snap-align: start;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bh-biz:hover,
.bh-job:hover {
    border-color: var(--bh-navy);
    box-shadow: 0 10px 22px -16px rgba(2, 26, 84, 0.5);
}

.bh-biz__logo,
.bh-job__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #e0e7ff;
    border: 1px solid var(--bh-line);
    color: var(--bh-navy);
    font-size: 22px;
    font-weight: 800;
}

.bh-biz__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.bh-job__icon {
    background: #dcfce7;
    color: var(--bh-green);
}

.bh-biz__body,
.bh-job__body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.bh-biz__name,
.bh-job__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    color: var(--bh-ink);
}

.bh-biz__name i {
    font-size: 12px;
    color: #2563eb;
}

.bh-biz__meta,
.bh-job__meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--bh-muted);
}

.bh-biz__rating {
    font-size: 12px;
    color: #475569;
}

.bh-biz__rating i {
    color: #f59e0b;
}

.bh-job__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.bh-job__tags span {
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
}

.bh-job__tags em {
    font-size: 11px;
    font-style: normal;
    color: var(--bh-muted);
}

/* ---------- Toast ---------- */
.bh-toast[hidden] {
    display: none !important;
}

.bh-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 4100;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    padding: 12px 16px;
    transform: translateX(-50%);
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
}

.bh-toast a {
    color: #fdba74;
    font-weight: 700;
}

.bh-toast.is-error {
    background: #b91c1c;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .bh-cats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bh-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 860px) {
    .bh-sell {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
    .bh {
        padding-bottom: calc(90px + env(safe-area-inset-bottom));
    }

    .bh-wrap {
        width: calc(100% - 24px);
    }

    .bh-hero {
        padding: 28px 0 44px;
    }

    .bh-hide-sm {
        display: none;
    }

    .bh-show-sm {
        display: inline;
    }

    .bh-marquee {
        margin-top: 22px;
    }

    .bh-marquee__track {
        gap: 12px;
        animation-duration: 30s;
    }

    .bh-marquee__item {
        width: 86px;
    }

    .bh-hero h1 {
        margin-bottom: 12px;
        font-size: clamp(1.85rem, 8.6vw, 2.4rem);
    }

    .bh-hero__eyebrow {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .bh-hero__text > p {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .bh-search {
        padding: 4px;
        border-radius: 14px;
    }

    .bh-search > i {
        left: 16px;
    }

    .bh .bh-search input {
        height: 44px;
        padding-left: 36px;
    }

    .bh .bh-search button {
        height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .bh-hero__chips {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bh-hero__chips::-webkit-scrollbar {
        display: none;
    }

    .bh-hero__chips > * {
        flex: 0 0 auto;
    }

    .bh-hero__ctas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        margin-top: 18px;
    }

    .bh-hero__stats {
        gap: 22px;
        margin-top: 22px;
    }

    .bh .bh-btn {
        min-height: 42px;
        padding: 0 12px;
        font-size: 13px;
    }

    .bh-hero__stats dd {
        font-size: 18px;
    }

    /* Trust strip becomes one compact row: icon + short label, details on long-press (title). */
    .bh-trust {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin: -22px 0 14px;
        border-radius: 14px;
    }

    .bh-trust li {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 12px 4px 10px;
        text-align: center;
    }

    .bh-trust i {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 50%;
    }

    .bh-trust strong {
        margin: 0;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.25;
    }

    .bh-trust small {
        display: none;
    }

    .bh-banner {
        border-radius: 12px;
    }

    .bh-section {
        padding-top: 20px;
    }

    .bh-section__head h2 {
        font-size: 1.1rem;
    }

    .bh-section__tools a {
        font-size: 13px;
    }

    .bh-rail {
        grid-auto-columns: 152px;
        gap: 10px;
        margin: 0 -12px;
        padding: 2px 12px 10px;
        scroll-padding-left: 12px;
    }

    .bh-rail--wide {
        grid-auto-columns: 82%;
    }

    .bh-card__title {
        font-size: 13px;
    }

    .bh-card__price strong {
        font-size: 15px;
    }

    .bh .bh-card__cart {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* Categories: one swipeable row of round photos. */
    .bh-cats {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 84px;
        gap: 6px;
        margin: 0 -12px;
        padding: 0 12px 6px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bh-cats::-webkit-scrollbar {
        display: none;
    }

    .bh-cat {
        padding: 4px 2px;
        background: transparent;
        border: none;
    }

    .bh-cat:hover {
        box-shadow: none;
    }

    .bh-cat__img {
        width: 64px;
        height: 64px;
        border: 1px solid var(--bh-line);
        background: #fff;
        font-size: 22px;
    }

    .bh-cat__name {
        font-size: 11px;
        font-weight: 600;
    }

    .bh-cat__count {
        display: none;
    }

    .bh-section--deals .bh-wrap,
    .bh-section--services .bh-wrap {
        width: 100%;
        padding: 16px 12px 6px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .bh-section--deals .bh-rail,
    .bh-section--services .bh-rail {
        margin: 0 -12px;
    }

    .bh-sell {
        gap: 18px;
        padding: 20px 16px;
        border-radius: 16px;
    }

    .bh-sell__steps li {
        padding: 12px;
    }

    .bh-toast {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }
}
