/* Real catalog previews in the home hero. Images and names come from approved items. */
.hb-home .hb-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(28px, 4vw, 72px);
    align-items: center;
}
.hb-home .hb-hero-grid--single { grid-template-columns: minmax(0, 1fr); }
.hb-home .hb-hero-grid--single .hb-hero-copy { max-width: 920px; }
.hb-home .hb-hero-copy { max-width: 760px; }
.hb-home .hb-hero h1 { max-width: 730px; font-size: clamp(2.8rem, 4.3vw, 4.8rem); }
.hb-home .hb-hero-lead { max-width: 640px; }
.hb-home .hb-search { max-width: 700px; }
.hb-hero-showcase {
    display: grid;
    min-width: 0;
    height: 390px;
    grid-template-columns: 1.12fr .88fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.hb-hero-showcase__item {
    position: relative;
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #343d47;
    border-radius: 11px;
    background: #161c25;
    color: #fff;
    text-decoration: none;
}
.hb-hero-showcase__item--lead { grid-row: span 2; }
.hb-hero-showcase__item > img {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: cover;
    object-position: center;
    padding: 0;
    background: #202832;
}
.hb-hero-showcase__caption {
    display: grid;
    flex: none;
    gap: 3px;
    padding: 11px 13px 12px;
    border-top: 1px solid #343d47;
}
.hb-hero-showcase__caption small {
    color: #b7f34a;
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.hb-hero-showcase__caption strong {
    overflow: hidden;
    color: #fff;
    font-size: .9rem;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hb-hero-showcase__caption>span { color: #aab4bf; font-size: .67rem; }
.hb-hero-creator { display: inline-flex; align-items: center; gap: 6px; }
.hb-hero-creator img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.3); }
.hb-hero-showcase__item:not(.hb-hero-showcase__item--lead) .hb-hero-showcase__caption>span { display: none; }
.hb-hero-showcase__item:hover,
.hb-hero-showcase__item:focus-visible { border-color: #b7f34a; color: #fff; }
.hb-hero-showcase__item:focus-visible { outline: 2px solid #b7f34a; outline-offset: 3px; }

/* Profile navigation prioritizes sections containing actual content. */
.page-profile .hb-profile-hero,
.page-profile .hb-profile-hero-inner { min-height: 320px; }
.page-profile .hb-profile-hero-inner { padding-top: 36px; padding-bottom: 30px; }
.page-profile .hb-profile-avatar { width: 108px; height: 108px; flex-basis: 108px; border-radius: 16px; }
.page-profile .hb-profile-name-row h1 { font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1.04; }
.page-profile .hb-profile-tabs-wrap { border-bottom: 1px solid #dde1db; }
.page-profile .hb-profile-tabs { gap: 26px; padding: 0; }
.page-profile .hb-profile-tabs a {
    position: relative;
    min-height: 56px;
    padding: 10px 2px;
    border-radius: 0;
    color: #51606b;
    font-size: .82rem;
    font-weight: 700;
}
.page-profile .hb-profile-tabs a span {
    display: inline-flex;
    min-width: 20px;
    justify-content: center;
    padding: 3px 6px;
    border-radius: 5px;
    background: #f0f2ed;
    color: #52606a;
    font-size: .68rem;
}
.page-profile .hb-profile-tabs a:hover,
.page-profile .hb-profile-tabs a.active { background: transparent; color: #0b0e13; }
.page-profile .hb-profile-tabs a.active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #6a9430;
    content: '';
}
.page-profile .hb-profile-tabs a.active span { background: #eef5df; color: #30451b; }
.page-profile .hb-profile-tabs a:focus-visible { outline: 2px solid #557d29; outline-offset: 2px; }
.page-profile .section-profile { padding-top: 32px; }
.page-profile .hb-profile-sidebar { gap: 13px; }
.hb-profile-overview { overflow: hidden; border: 1px solid #dde1db; border-radius: 12px; background: #fff; }
.hb-profile-overview__top { padding: 24px 24px 18px; }
.hb-profile-overview .hb-profile-section-label { color: #687d4d; }
.hb-profile-overview__top h2 { margin: 9px 0 0; color: #0b0e13; font-size: 1.15rem; font-weight: 750; letter-spacing: -.025em; }
.hb-profile-overview__top p { margin: 7px 0 0; color: #66707d; font-size: .8rem; line-height: 1.5; }
.hb-profile-overview__facts { margin: 0; padding: 0 24px 18px; }
.hb-profile-overview__facts>div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid #e9ece6; }
.hb-profile-overview__facts dt { color: #66707d; font-size: .73rem; font-weight: 550; }
.hb-profile-overview__facts dd { margin: 0; color: #17212a; font-size: .76rem; font-weight: 750; text-align: right; }
.hb-profile-overview__products { padding: 19px 24px 8px; border-top: 1px solid #dde1db; }
.hb-profile-overview__products h3 { margin: 0 0 11px; color: #17212a; font-size: .85rem; font-weight: 750; }
.hb-profile-overview__product { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #eef0eb; text-decoration: none; }
.hb-profile-overview__product img { width: 72px; height: 48px; border: 1px solid #e4e7e1; border-radius: 6px; object-fit: cover; }
.hb-profile-overview__product strong { display: block; overflow: hidden; color: #111b24; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.hb-profile-overview__product small { display: block; margin-top: 4px; color: #64744b; font-size: .66rem; font-weight: 700; }
.hb-profile-overview__product:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hb-profile-overview__all { display: flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 24px; border-top: 1px solid #dde1db; color: #17212a; font-size: .74rem; font-weight: 750; text-decoration: none; }
.hb-profile-overview__all:hover { background: #f4f5f1; color: #17212a; }
.hb-profile-contact-hint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin: 0; padding: 0 2px; color: #66707d; font-size: .71rem; }
.hb-profile-contact-hint a { color: #25391a; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.hb-profile-overview a:focus-visible,
.hb-profile-contact-hint a:focus-visible { outline: 2px solid #557d29; outline-offset: 2px; }
.hb-profile-reviews-empty { padding: 34px; border: 1px solid #dde1db; border-radius: 12px; background: #fff; }
.hb-profile-reviews-empty h2 { margin: 0 0 7px; color: #17212a; font-size: 1.2rem; }
.hb-profile-reviews-empty p { max-width: 480px; margin: 0 0 18px; color: #66707d; font-size: .82rem; line-height: 1.55; }
.hb-profile-reviews-empty a { color: #263b17; font-size: .78rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1199.98px) {
    .hb-home .hb-hero-grid { grid-template-columns: 1fr; }
    .hb-home .hb-hero-copy { max-width: 850px; }
    .hb-hero-showcase { max-width: 800px; height: 310px; }
}
@media (max-width: 767.98px) {
    .hb-hero-showcase { height: auto; grid-template-columns: 1fr; grid-template-rows: auto; }
    .hb-hero-showcase__item:not(.hb-hero-showcase__item--lead) { display: none; }
    .hb-hero-showcase__item--lead { grid-row: auto; }
    .hb-hero-showcase__item--lead > img { height: 190px; flex: none; }
    .page-profile .hb-profile-tabs { gap: 20px; }
    .page-profile .hb-profile-hero,
    .page-profile .hb-profile-hero-inner { min-height: 0; }
    .page-profile .hb-profile-hero-inner { padding-top: 28px; padding-bottom: 25px; }
    .page-profile .hb-profile-avatar { width: 84px; height: 84px; flex-basis: 84px; }
    .page-profile .hb-profile-tabs a { min-height: 51px; font-size: .78rem; }
    .page-profile .section-profile { padding-top: 24px; }
}
