/*
  Halo — the whole look in one stylesheet, loaded after kindshare's own and before the
  marketplace's custom CSS, so an operator's rules still win.

  Everything here is prefixed `ha-` and the tokens `--ha-*`, which the theme options
  point at (theme.css_variables). Values come from the design handoff; the few numbers
  written inline there are kept as variables when an option may change them.
*/

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/instrument-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/instrument-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/instrument-serif.woff2') format('woff2');
}
@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/instrument-serif-italic.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
    --ha-ink: #141210;
    --ha-ink-hover: #3A3531;
    --ha-text-2: #2B2724;
    --ha-text-3: #4A4540;
    --ha-muted: #6E6862;
    --ha-muted-2: #8A847D;
    --ha-muted-3: #A9A39C;
    --ha-white: #FFFFFF;
    --ha-surface: #F4F2EF;
    --ha-surface-hover: #EFECE8;
    --ha-cream: #F4F0EB;
    --ha-line: #E7E3DE;
    --ha-line-soft: #ECE8E3;
    --ha-line-input: #DDD6CE;
    --ha-line-strong: #CFC9C2;
    --ha-accent: #C47A66;
    --ha-badge-new: #3F7F55;
    --ha-badge-top: #5552C2;
    --ha-badge-promo: #B4442F;
    --ha-overlay: rgba(20, 18, 16, .45);

    --ha-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --ha-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

    --ha-wrap: 1472px;
    --ha-wrap-bar: 1360px;
    --ha-gutter: clamp(16px, 4vw, 56px);
    --ha-section: clamp(88px, 9vw, 120px);

    --ha-r-badge: 6px;
    --ha-r-input: 14px;
    --ha-r-thumb: 16px;
    --ha-r-card: 20px;
    --ha-r-card-lg: 24px;
    --ha-r-banner: 28px;
    --ha-r-pill: 999px;
}

/* ---------- Page ---------- */
body.ha,
.ha-body {
    font-family: var(--ha-sans);
    color: var(--ha-ink);
    background: var(--ha-white);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.ha-wrap {
    max-width: var(--ha-wrap);
    margin: 0 auto;
    padding: 0 var(--ha-gutter);
}
.ha-wrap--bar {
    max-width: var(--ha-wrap-bar);
}
.ha-section {
    padding: var(--ha-section) 0;
}
.ha-section--cream {
    background: var(--ha-cream);
    padding: 96px 0;
}
.ha-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ha-ink);
    color: var(--ha-white);
    padding: 12px 20px;
    border-radius: 0 0 var(--ha-r-input) 0;
    z-index: 200;
}
.ha-skip:focus {
    left: 0;
}

/* ---------- Type ---------- */
.ha-display {
    font-size: clamp(56px, 8vw, 120px);
    font-weight: 500;
    line-height: .9;
    letter-spacing: -.055em;
    margin: 0;
}
.ha-h1 {
    font-size: clamp(48px, 6.4vw, 92px);
    font-weight: 500;
    line-height: .95;
    letter-spacing: -.05em;
    margin: 0;
}
.ha-h1--hero {
    font-size: clamp(38px, 5vw, 76px);
    line-height: 1.08;
    letter-spacing: -.045em;
}
.ha-h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.035em;
    margin: 0;
}
.ha-h3 {
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.035em;
    margin: 0;
}
.ha-kicker {
    font-size: 17px;
    font-weight: 500;
}
.ha-eyebrow {
    font-size: 11.5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.ha-lead {
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.7;
    color: var(--ha-text-2);
}
.ha-meta {
    font-size: 13.5px;
    color: var(--ha-muted);
}
.ha em,
.ha-em {
    font-family: var(--ha-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.02em;
}

/* ---------- Buttons and links ---------- */
.ha-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 17px 36px;
    border-radius: var(--ha-r-pill);
    border: 1.5px solid transparent;
    background: var(--ha-ink);
    color: var(--ha-white);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ha-btn:hover,
.ha-btn:focus {
    background: var(--ha-ink-hover);
    color: var(--ha-white);
    text-decoration: none;
}
.ha-btn--ghost {
    background: transparent;
    color: var(--ha-ink);
    border-color: var(--ha-ink);
}
.ha-btn--ghost:hover,
.ha-btn--ghost:focus {
    background: var(--ha-ink);
    color: var(--ha-white);
}
.ha-btn--soft {
    background: transparent;
    color: var(--ha-ink);
    border-color: var(--ha-line-input);
}
.ha-btn--soft:hover,
.ha-btn--soft:focus {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
}
.ha-btn--sm {
    padding: 13px 26px;
    font-size: 15px;
}
.ha-btn[disabled] {
    opacity: .5;
    cursor: not-allowed;
}
.ha-link {
    color: var(--ha-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ha-ink);
    padding-bottom: 3px;
    align-self: flex-start;
    transition: color .2s ease, border-color .2s ease;
}
.ha-link:hover,
.ha-link:focus {
    color: var(--ha-accent);
    border-color: var(--ha-accent);
    text-decoration: none;
}
.ha-round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--ha-line-strong);
    background: transparent;
    color: var(--ha-ink);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ha-round:hover,
.ha-round:focus {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
}
.ha-round[disabled] {
    opacity: .35;
    cursor: not-allowed;
}

/* ---------- Pills ---------- */
.ha-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ha-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 1;
    padding: 11px 22px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    background: transparent;
    color: var(--ha-ink);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ha-pill:hover,
.ha-pill:focus {
    border-color: var(--ha-ink);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-pill.is-active,
.ha-pill[aria-pressed="true"] {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
}
.ha-tick {
    flex: none;
}

/* ---------- Badges ---------- */
.ha-badge {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    padding: 7px 12px;
    border-radius: var(--ha-r-badge);
    background: var(--ha-ink);
    color: var(--ha-white);
}
.ha-badge--new {
    background: var(--ha-badge-new);
}
.ha-badge--top {
    background: var(--ha-badge-top);
}
.ha-badge--promo {
    background: var(--ha-badge-promo);
}

/* ---------- Accordion ---------- */
.ha-acc {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ha-acc__item {
    border: 1px solid var(--ha-line-input);
    border-radius: 22px;
    overflow: hidden;
    background: transparent;
}
.ha-acc__item.is-open {
    background: var(--ha-white);
}
.ha-acc__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
    font: inherit;
    font-size: 18px;
    padding: 24px 28px;
    background: none;
    border: 0;
    color: var(--ha-ink);
    cursor: pointer;
}
.ha-acc__sign {
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    flex: none;
}
.ha-acc__body {
    padding: 0 28px 26px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ha-text-2);
    border-top: 1px solid var(--ha-line);
    margin: 0 28px;
    padding: 22px 0 26px;
}
.ha-acc__item:not(.is-open) .ha-acc__body {
    display: none;
}

/* ---------- Announcement bar and header ---------- */
.ha-announce {
    background: var(--ha-ink);
    color: var(--ha-white);
    overflow: hidden;
}
.ha-announce__inner {
    display: flex;
    justify-content: center;
    gap: 56px;
    padding: 10px 16px;
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
}
.ha-announce__item {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.ha-header {
    position: relative;
    z-index: 50;
    font-family: var(--ha-sans);
    color: var(--ha-ink);
}
.ha-header__veil {
    position: fixed;
    inset: 0;
    background: var(--ha-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 0;
}
.ha-header.is-open .ha-header__veil {
    opacity: 1;
}
.ha-header.is-open-pages .ha-header__veil {
    opacity: .6;
}
.ha-header__top {
    position: relative;
    z-index: 3;
    background: var(--ha-white);
    border-bottom: 1px solid var(--ha-line-soft);
}
.ha-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.ha-logo {
    font-family: var(--ha-serif);
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--ha-ink);
    text-decoration: none;
    padding: 14px 0;
    flex: none;
}
.ha-logo:hover,
.ha-logo:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-logo__dot {
    color: var(--ha-accent);
}
.ha-logo__picture img {
    max-height: 46px;
    width: auto;
}
.ha-nav {
    display: flex;
    gap: clamp(14px, 2vw, 34px);
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    align-self: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15.5px;
}
.ha-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 24px 0;
}
.ha-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ha-ink);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 3px;
    border-bottom: 1.5px solid transparent;
    transition: border-color .2s ease;
}
.ha-nav__link:hover,
.ha-nav__link:focus,
.ha-nav__item.is-open > .ha-nav__link {
    color: var(--ha-ink);
    text-decoration: none;
    border-color: var(--ha-ink);
}
.ha-nav__chev {
    transition: transform .3s ease;
}
.ha-nav__item.is-open .ha-nav__chev {
    transform: rotate(180deg);
}
.ha-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: none;
}
.ha-actions__icon {
    color: var(--ha-ink);
    display: flex;
    position: relative;
}
.ha-actions__icon:hover,
.ha-actions__icon:focus {
    color: var(--ha-accent);
}
.ha-actions__count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--ha-accent);
    color: var(--ha-white);
    font-size: 10px;
    font-weight: 600;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ha-actions__count:empty {
    display: none;
}
.ha-actions__login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    color: var(--ha-ink);
    text-decoration: none;
}

/* The panels: a mega menu wipes open from the top, the Pages drop-down likewise. */
.ha-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 2;
    background: var(--ha-white);
    border-bottom: 1px solid var(--ha-line-soft);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path .5s cubic-bezier(.2, .7, .2, 1), opacity .3s ease;
}
.ha-panel.is-open {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
}
.ha-panel__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.3fr);
    padding: 44px var(--ha-gutter) 52px;
    max-width: var(--ha-wrap-bar);
    margin: 0 auto;
}
.ha-panel__col {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 0 clamp(16px, 2.2vw, 32px);
    border-left: 1px solid var(--ha-line-soft);
    min-width: 0;
}
.ha-panel__col:first-child {
    gap: 18px;
    padding: 0 clamp(16px, 2.2vw, 32px) 0 0;
    border-left: 0;
}
.ha-panel__col:last-child {
    gap: 18px;
}
.ha-panel__lead {
    font-size: clamp(19px, 1.7vw, 24px);
    letter-spacing: -.02em;
    line-height: 1.2;
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-panel__lead:hover,
.ha-panel__lead:focus {
    color: var(--ha-accent);
    text-decoration: none;
}
.ha-panel__title {
    font-size: 18px;
    margin-bottom: 8px;
    white-space: nowrap;
}
.ha-panel__link {
    font-size: 16px;
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-panel__link:hover,
.ha-panel__link:focus {
    color: var(--ha-accent);
    text-decoration: none;
}
.ha-panel__all {
    font-size: 16px;
    color: var(--ha-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ha-ink);
    align-self: flex-start;
}
.ha-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.ha-panel__head-title {
    font-size: 20px;
    letter-spacing: -.02em;
    white-space: nowrap;
    flex: none;
}
.ha-panel__pager {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 15px;
}
.ha-panel__pager button {
    background: none;
    border: 0;
    font-size: 20px;
    cursor: pointer;
    color: var(--ha-ink);
    padding: 0 4px;
}
.ha-panel__trend {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-auto-rows: 0;
    row-gap: 0;
    column-gap: 12px;
    overflow: hidden;
}
.ha-panel__trend > *:nth-child(n+4) {
    display: none;
}
.ha-panel__promos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    padding: 44px var(--ha-gutter) 52px;
    max-width: var(--ha-wrap-bar);
    margin: 0 auto;
}
.ha-promo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    min-height: 260px;
    border-radius: 22px;
    padding: 28px;
    overflow: hidden;
    text-decoration: none;
    color: var(--ha-ink);
    background: var(--ha-cream);
}
.ha-promo:hover,
.ha-promo:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-promo__body {
    position: relative;
    z-index: 2;
    max-width: 62%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.ha-promo__kicker {
    font-size: 13.5px;
    color: var(--ha-text-3);
}
.ha-promo__title {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.ha-promo__image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 58%;
    height: 78%;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}
.ha-pagesmenu {
    position: absolute;
    top: 100%;
    left: -36px;
    margin-top: 1px;
    width: 320px;
    background: var(--ha-white);
    border: 1px solid var(--ha-line-soft);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    padding: 22px 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path .45s cubic-bezier(.2, .7, .2, 1), opacity .3s ease;
    z-index: 4;
}
.ha-nav__item.is-open .ha-pagesmenu {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
}
.ha-pagesmenu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 17px;
    line-height: 1.3;
    white-space: nowrap;
    gap: 16px;
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-pagesmenu a:hover,
.ha-pagesmenu a:focus {
    color: var(--ha-accent);
    text-decoration: none;
}

/* ---------- Product card ---------- */
.ha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}
.ha-grid--wide {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.ha-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ha-surface);
    border-radius: var(--ha-r-card);
    overflow: hidden;
    color: var(--ha-ink);
    text-decoration: none;
    transition: background-color .2s ease;
}
.ha-card:hover,
.ha-card:focus {
    background: var(--ha-surface-hover);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-card__media {
    position: relative;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
}
.ha-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}
.ha-card__add {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--ha-white);
    color: var(--ha-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.ha-card__add:hover,
.ha-card__add:focus {
    background: var(--ha-ink);
    color: var(--ha-white);
}
.ha-card__body {
    padding: 14px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ha-card__brand {
    font-size: 13.5px;
    color: var(--ha-muted);
}
.ha-card__title {
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: -.02em;
    margin: 0;
    font-weight: 400;
}
.ha-card__price {
    font-size: 16px;
    font-weight: 600;
    margin-top: 2px;
}
.ha-card__price del {
    font-weight: 400;
    color: var(--ha-muted);
    margin-left: 8px;
}
.ha-card--mini .ha-card__body {
    padding: 10px 14px 16px;
}
.ha-card--mini .ha-card__title {
    font-size: 15px;
}

/* ---------- Homepage: hero ---------- */
.ha-hero {
    display: grid;
    grid-template-columns: minmax(24px, 1fr) 5.4fr minmax(24px, 1fr);
    gap: 12px;
    height: clamp(460px, 48vw, 680px);
}
/* One panel: it takes the width, without the neighbours showing at the edges. */
.ha-hero--alone {
    grid-template-columns: var(--ha-gutter) minmax(0, 1fr) var(--ha-gutter);
}
.ha-hero__stage {
    grid-column: 2;
    min-width: 0;
}
.ha-hero__side {
    border-radius: 0;
    overflow: hidden;
    background: var(--ha-cream);
    border: 0;
    padding: 0;
    cursor: pointer;
}
.ha-hero__side--prev {
    border-radius: 0 var(--ha-r-card-lg) var(--ha-r-card-lg) 0;
}
.ha-hero__side--next {
    border-radius: var(--ha-r-card-lg) 0 0 var(--ha-r-card-lg);
}
.ha-hero__slide {
    position: relative;
    display: none;
    height: 100%;
    border-radius: var(--ha-r-card-lg);
    overflow: hidden;
}
.ha-hero__slide.is-active {
    display: block;
}
.ha-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    height: 100%;
    align-items: center;
}
/* A panel without a picture gives its words the whole width. */
.ha-hero__inner--text {
    grid-template-columns: minmax(0, 1fr);
}
.ha-hero__text {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(24px, 4vw, 64px);
}
.ha-hero__inner--text .ha-hero__text {
    max-width: 24ch;
}
.ha-hero__media {
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;
}
.ha-hero__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 22px;
}
.ha-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--ha-r-pill);
    border: 0;
    background: var(--ha-line-strong);
    cursor: pointer;
    transition: width .3s ease, background-color .3s ease;
}
.ha-hero__dot.is-active {
    width: 56px;
    background: var(--ha-ink);
}

/* ---------- Homepage: value band ---------- */
.ha-band {
    border-top: 1px solid var(--ha-line);
    border-bottom: 1px solid var(--ha-line);
    padding: 34px 0;
}
.ha-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.1;
    text-align: center;
}
.ha-band__dot {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ha-surface);
    flex: none;
    background-size: cover;
    background-position: center;
}

/* ---------- Homepage: tabs ---------- */
.ha-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
.ha-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ha-tabs__btn {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 500;
    letter-spacing: -.035em;
    color: var(--ha-muted-3);
    cursor: pointer;
    transition: color .2s ease;
}
.ha-tabs__btn.is-active,
.ha-tabs__btn:hover {
    color: var(--ha-ink);
}
.ha-tabpanel[hidden] {
    display: none;
}

/* ---------- Homepage: reassurance pills ---------- */
.ha-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ---------- Homepage: two promo cards ---------- */
.ha-duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}
.ha-duo__card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 440px;
    border-radius: var(--ha-r-card-lg);
    overflow: hidden;
    background: var(--ha-cream);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-duo__card:hover,
.ha-duo__card:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-duo__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(24px, 3vw, 44px);
}
.ha-duo__media {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
}

/* ---------- Homepage: manifesto, typo-image ---------- */
.ha-manifesto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}
.ha-manifesto__title {
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -.04em;
    margin: 0;
    max-width: 18ch;
}
.ha-typo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: clamp(40px, 6.4vw, 96px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.045em;
}
.ha-typo__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}
.ha-typo__pill {
    width: clamp(90px, 10vw, 160px);
    height: clamp(58px, 6vw, 92px);
    border-radius: var(--ha-r-pill);
    background: var(--ha-surface);
    background-size: cover;
    background-position: center;
    flex: none;
}

/* ---------- Homepage: brands ---------- */
.ha-brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}
.ha-brand-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-brand-card:hover,
.ha-brand-card:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-brand-card__media {
    aspect-ratio: 1 / 1.15;
    border-radius: var(--ha-r-card-lg);
    overflow: hidden;
    background: var(--ha-surface);
}
.ha-brand-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-brand-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ha-brand-card__name {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.02em;
    margin: 0;
}

/* ---------- Homepage: reviews ---------- */
.ha-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.ha-review {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ha-review__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--ha-r-card);
    overflow: hidden;
    background: var(--ha-surface);
}
.ha-review__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-review__name {
    font-size: 17px;
    font-weight: 500;
}
.ha-review__check {
    font-size: 13.5px;
    color: var(--ha-muted);
}
.ha-review__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ha-text-2);
    margin: 0;
}
.ha-stars {
    display: inline-flex;
    gap: 3px;
    color: var(--ha-ink);
}

/* ---------- Homepage: three tiles ---------- */
.ha-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.ha-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    min-height: 300px;
    padding: 32px;
    border-radius: var(--ha-r-card-lg);
    background: var(--ha-surface);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-tile:hover,
.ha-tile:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-tile__title {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.05;
    margin: 0;
}

/* ---------- Breadcrumbs, page banners ---------- */
.ha-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--ha-muted);
}
.ha-crumbs li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--ha-line-strong);
}
.ha-crumbs a {
    color: var(--ha-muted);
    text-decoration: none;
}
.ha-crumbs a:hover,
.ha-crumbs a:focus {
    color: var(--ha-ink);
}
.ha-banner {
    background: var(--ha-cream);
    border-radius: var(--ha-r-banner);
    padding: clamp(28px, 4vw, 56px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
}
.ha-banner__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}
.ha-banner__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--ha-r-card-lg);
    overflow: hidden;
    background: var(--ha-surface);
}
.ha-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 40px;
}
.ha-head--center {
    align-items: center;
    text-align: center;
}
.ha-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

/* ---------- Category: filters and results ---------- */
.ha-shop {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}
.ha-filters {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.ha-filters__group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ha-line);
}
.ha-filters__title {
    font-size: 17px;
    font-weight: 500;
    margin: 0;
}
.ha-filters label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 400;
    color: var(--ha-text-2);
    cursor: pointer;
    margin: 0;
}
.ha-filters input[type="checkbox"],
.ha-filters input[type="radio"] {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid var(--ha-line-strong);
    accent-color: var(--ha-ink);
    margin: 0;
    flex: none;
}
.ha-results__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--ha-muted);
}
.ha-select {
    font: inherit;
    font-size: 15px;
    padding: 11px 22px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    background: var(--ha-white);
    color: var(--ha-ink);
}
.ha-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    padding: 0;
    list-style: none;
}
.ha-pager a,
.ha-pager span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--ha-line-input);
    color: var(--ha-ink);
    text-decoration: none;
    font-size: 15px;
}
.ha-pager .is-active a,
.ha-pager .is-active span,
.ha-pager a:hover,
.ha-pager a:focus {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
}
.ha-empty {
    padding: 64px 0;
    text-align: center;
    color: var(--ha-muted);
}

/* ---------- Search ---------- */
.ha-searchbox {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ha-white);
    border-radius: var(--ha-r-pill);
    padding: 10px 10px 10px 24px;
    max-width: 720px;
    width: 100%;
}
.ha-searchbox input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 19px;
    color: var(--ha-ink);
    outline: 0;
}
.ha-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid var(--ha-line);
}
.ha-subtabs a,
.ha-subtabs button {
    display: inline-block;
    padding: 0 0 14px;
    font: inherit;
    font-size: 17px;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--ha-muted);
    text-decoration: none;
    cursor: pointer;
}
.ha-subtabs .is-active a,
.ha-subtabs .is-active button,
.ha-subtabs a:hover,
.ha-subtabs button:hover {
    color: var(--ha-ink);
    border-color: var(--ha-ink);
    text-decoration: none;
}
.ha-rows {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ha-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    border: 1px solid var(--ha-line);
    border-radius: var(--ha-r-card);
    color: var(--ha-ink);
    text-decoration: none;
    transition: border-color .2s ease;
}
.ha-row:hover,
.ha-row:focus {
    border-color: var(--ha-ink);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-row__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ha-surface);
    flex: none;
}
.ha-row__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-row__media {
    width: 140px;
    aspect-ratio: 4 / 3;
    border-radius: var(--ha-r-thumb);
    overflow: hidden;
    background: var(--ha-surface);
    flex: none;
}
.ha-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-row__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.ha-row__title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* ---------- Product ---------- */
.ha-product {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
}
.ha-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ha-gallery__main {
    position: relative;
    aspect-ratio: 1 / 1.05;
    border-radius: var(--ha-r-card-lg);
    overflow: hidden;
    background: var(--ha-surface);
}
.ha-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-gallery__badge {
    position: absolute;
    top: 18px;
    left: 18px;
}
.ha-gallery__thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ha-gallery__thumb {
    width: 92px;
    height: 92px;
    border-radius: var(--ha-r-thumb);
    overflow: hidden;
    border: 1.5px solid transparent;
    background: var(--ha-surface);
    padding: 0;
    cursor: pointer;
}
.ha-gallery__thumb.is-active {
    border-color: var(--ha-ink);
}
.ha-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-detail {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.ha-detail__brand {
    font-size: 15px;
    color: var(--ha-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--ha-line-input);
}
.ha-detail__title {
    font-size: clamp(36px, 4.4vw, 60px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.04em;
    margin: 0;
}
.ha-detail__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--ha-muted);
}
.ha-detail__price {
    font-size: 26px;
    font-weight: 600;
}
.ha-detail__price del {
    font-size: 18px;
    font-weight: 400;
    color: var(--ha-muted);
    margin-left: 10px;
}
.ha-qty {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    padding: 4px;
}
.ha-qty button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: none;
    font-size: 19px;
    color: var(--ha-ink);
    cursor: pointer;
}
.ha-qty button:hover {
    background: var(--ha-surface);
}
.ha-qty input {
    width: 48px;
    border: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    font-size: 16px;
    color: var(--ha-ink);
    -moz-appearance: textfield;
}
.ha-qty input::-webkit-outer-spin-button,
.ha-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ha-seller {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--ha-cream);
    border-radius: var(--ha-r-card);
    padding: 20px 22px;
    width: 100%;
}
.ha-seller__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--ha-surface);
    flex: none;
}
.ha-seller__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-seller__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
}
.ha-rating-big {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}
.ha-rating-big__score {
    font-size: 72px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
}

/* ---------- Brand profile ---------- */
.ha-profile__cover {
    height: clamp(220px, 28vw, 380px);
    border-radius: var(--ha-r-banner);
    overflow: hidden;
    background: var(--ha-cream);
}
.ha-profile__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-profile__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: -64px;
    padding: 0 clamp(8px, 2vw, 40px);
}
.ha-profile__identity {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    min-width: 0;
}
.ha-profile__avatar {
    width: 136px;
    height: 136px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--ha-white);
    background: var(--ha-surface);
    flex: none;
}
.ha-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-profile__name {
    font-size: clamp(32px, 3.6vw, 52px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.05;
    margin: 0 0 8px;
}
.ha-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 15px;
    color: var(--ha-muted);
}
.ha-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 8px;
}
.ha-story {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}
.ha-story__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}
.ha-story__images > *:last-child {
    margin-top: 40px;
}
.ha-story__image {
    aspect-ratio: 3 / 4;
    border-radius: var(--ha-r-card-lg);
    overflow: hidden;
    background: var(--ha-surface);
}
.ha-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Journal ---------- */
.ha-featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    background: var(--ha-cream);
    border-radius: var(--ha-r-banner);
    overflow: hidden;
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-featured:hover,
.ha-featured:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-featured__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ha-surface);
}
.ha-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-featured__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(28px, 4vw, 56px);
}
.ha-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px 18px;
}
.ha-post {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-post:hover,
.ha-post:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-post__media {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: var(--ha-surface);
}
.ha-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.ha-post:hover .ha-post__media img {
    transform: scale(1.03);
}
.ha-post__meta {
    font-size: 13.5px;
    color: var(--ha-muted);
}
.ha-post__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.025em;
    margin: 0;
}

/* ---------- Article ---------- */
.ha-article__head {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}
.ha-article__title {
    font-size: clamp(40px, 5.6vw, 76px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 0;
}
.ha-article__cover {
    aspect-ratio: 16 / 7;
    border-radius: var(--ha-r-banner);
    overflow: hidden;
    background: var(--ha-surface);
    margin: clamp(32px, 4vw, 56px) 0;
}
.ha-article__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ha-prose {
    max-width: 720px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.75;
    color: var(--ha-text-2);
}
.ha-prose > *:first-child {
    margin-top: 0;
}
.ha-prose p {
    margin: 0 0 26px;
}
.ha-prose h2 {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--ha-ink);
    margin: 44px 0 18px;
}
.ha-prose h3 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--ha-ink);
    margin: 36px 0 14px;
}
.ha-prose a {
    color: var(--ha-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ha-prose a:hover {
    color: var(--ha-accent);
}
.ha-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ha-r-card);
    margin: 10px 0 26px;
}
.ha-prose blockquote {
    border: 0;
    margin: 36px 0;
    padding: 0;
    font-family: var(--ha-serif);
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: var(--ha-ink);
}
.ha-prose blockquote footer,
.ha-prose blockquote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--ha-sans);
    font-size: 14px;
    font-style: normal;
    color: var(--ha-muted);
}
.ha-prose ul,
.ha-prose ol {
    margin: 0 0 26px;
    padding-left: 24px;
}
.ha-prose li {
    margin-bottom: 10px;
}
.ha-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 26px;
    font-size: 16px;
}
.ha-prose th,
.ha-prose td {
    border-bottom: 1px solid var(--ha-line);
    padding: 12px 10px;
    text-align: left;
}
.ha-lede {
    font-size: 22px;
    line-height: 1.6;
    color: var(--ha-ink);
}
.ha-inline-products {
    background: var(--ha-cream);
    border-radius: var(--ha-r-banner);
    padding: clamp(24px, 3vw, 40px);
}

/* ---------- Contact ---------- */
.ha-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.ha-infocards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.ha-infocard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 24px;
    border-radius: var(--ha-r-card);
    background: var(--ha-surface);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-infocard:hover,
.ha-infocard:focus {
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-infocard--accent {
    background: #EBD3CC;
}
.ha-infocard__label {
    font-size: 13.5px;
    color: var(--ha-text-3);
}
.ha-infocard__value {
    font-size: 18px;
    font-weight: 500;
}
.ha-form {
    background: var(--ha-cream);
    border-radius: var(--ha-r-banner);
    padding: clamp(24px, 3vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ha-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ha-field > label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ha-text-2);
    margin: 0;
}
.ha-input,
.ha-form input[type="text"],
.ha-form input[type="email"],
.ha-form input[type="tel"],
.ha-form input[type="password"],
.ha-form input[type="number"],
.ha-form input[type="search"],
.ha-form select,
.ha-form textarea {
    width: 100%;
    font: inherit;
    font-size: 16px;
    padding: 15px 18px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-input);
    background: var(--ha-white);
    color: var(--ha-ink);
    box-shadow: none;
    height: auto;
}
.ha-input:focus,
.ha-form input:focus,
.ha-form select:focus,
.ha-form textarea:focus {
    border-color: var(--ha-ink);
    outline: 0;
    box-shadow: none;
}
.ha-form textarea {
    min-height: 160px;
    resize: vertical;
}
.ha-form .help-block,
.ha-note {
    font-size: 13px;
    color: var(--ha-muted);
}
.ha-form .has-error .ha-input,
.ha-form .has-error input,
.ha-form .has-error textarea {
    border-color: var(--ha-badge-promo);
}
.ha-form .has-error .help-block {
    color: var(--ha-badge-promo);
}
.ha-sent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 48px 24px;
}
.ha-sent__mark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ha-ink);
    color: var(--ha-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Help centre ---------- */
.ha-help {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.ha-help__nav {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ha-help__link {
    display: block;
    font-size: 22px;
    letter-spacing: -.02em;
    padding: 10px 0 10px 18px;
    border-left: 2px solid var(--ha-line-input);
    color: var(--ha-muted);
    text-decoration: none;
}
.ha-help__link.is-active,
.ha-help__link:hover,
.ha-help__link:focus {
    border-color: var(--ha-ink);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-help__card {
    margin-top: 28px;
    padding: 26px;
    border-radius: var(--ha-r-card);
    background: var(--ha-white);
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

/* ---------- Footer ---------- */
/*
 * `clear` is load-bearing: the shared blocks the platform prints still float, and a page
 * ending on an uncleared float (the search results, a vendor's catalogue) squeezed the
 * footer grid to a width of zero, which then overflowed the page by one column.
 */
.ha-footer {
    clear: both;
    border-top: 1px solid var(--ha-line-soft);
    background: var(--ha-white);
}
.ha-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    padding: 72px 0 40px;
}
.ha-footer__col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ha-footer__title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.02em;
    margin: 0 0 4px;
}
.ha-footer__col a {
    font-size: 15.5px;
    color: var(--ha-text-2);
    text-decoration: none;
}
.ha-footer__col a:hover,
.ha-footer__col a:focus {
    color: var(--ha-accent);
    text-decoration: none;
}
.ha-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ha-footer__pitch {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0;
}
.ha-newsletter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ha-surface);
    border-radius: var(--ha-r-pill);
    padding: 6px 6px 6px 20px;
}
.ha-newsletter input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 15px;
    color: var(--ha-ink);
    outline: 0;
    padding: 0;
    height: auto;
    box-shadow: none;
}
.ha-newsletter button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--ha-ink);
    color: var(--ha-white);
    cursor: pointer;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ha-footer__bottom {
    border-top: 1px solid #EFEBE6;
    padding: 24px 0 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 14px;
    color: var(--ha-muted);
}
.ha-footer__bottom a {
    color: var(--ha-muted);
    text-decoration: none;
}
.ha-footer__bottom a:hover {
    color: var(--ha-ink);
}
.ha-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}
.ha-pays {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ha-pay {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border: 1px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    color: var(--ha-text-3);
}

/* ---------- Icons ---------- */
.ha-icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
    flex: none;
}
.ha-icon--sm {
    width: 11px;
    height: 11px;
    stroke-width: 1.8;
}
.ha-icon--fill {
    fill: currentColor;
    stroke: none;
}
.ha-icon--18 {
    width: 18px;
    height: 18px;
}
.ha-icon--16 {
    width: 16px;
    height: 16px;
}

/* The card is one block: its title link covers it, the buttons sit over that. */
.ha-card__title a {
    color: inherit;
    text-decoration: none;
}
.ha-card__title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.ha-card__add,
.ha-card__save,
.ha-card__badge {
    z-index: 2;
}
.ha-card__save {
    position: absolute;
    top: 14px;
    right: 14px;
}
.ha-card__save a,
.ha-card__save button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--ha-ink);
    border: 0;
}
.ha-card__quick {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    gap: 8px;
    align-items: center;
}
.ha-card__quick select {
    flex: 1 1 auto;
    min-width: 0;
    font: inherit;
    font-size: 14px;
    padding: 9px 12px;
    border-radius: var(--ha-r-pill);
    border: 1.5px solid var(--ha-line-input);
    background: var(--ha-white);
    color: var(--ha-ink);
}
.ha-card__quick select.is-needed {
    border-color: var(--ha-badge-promo);
}

/* The marketplace's own footer columns and the platform's menus keep the theme's look. */
.ha-footer__col--links ul,
.ha-footer__col--links ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ha-footer__col--links p:first-child,
.ha-footer__col--links h3,
.ha-footer__col--links h4 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.02em;
    margin: 0 0 4px;
    color: var(--ha-ink);
}
.ha-footer__col--links a {
    font-size: 15.5px;
    color: var(--ha-text-2);
    text-decoration: none;
}
.ha-footer__col--links a:hover,
.ha-footer__col--links a:focus {
    color: var(--ha-accent);
    text-decoration: none;
}
.ha-socials a {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--ha-line-input);
    color: var(--ha-ink);
}
.ha-socials a:hover,
.ha-socials a:focus {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
}
.ha-socials ul,
.ha-socials li {
    list-style: none;
}
.ha-pays {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- Hero plumbing ---------- */
.ha-hero-wrap {
    padding: 18px 0 var(--ha-section);
}
.ha-hero__stage {
    position: relative;
    height: 100%;
    min-width: 0;
}
.ha-hero__slide {
    height: 100%;
}
.ha-hero__side {
    position: relative;
}
.ha-hero__side::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
}

/* ---------- The nav items the platform prints ---------- */
.ha-nav__platform {
    display: flex;
    align-items: stretch;
    gap: clamp(14px, 2vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.ha-nav__platform > li {
    display: flex;
    align-items: center;
    padding: 24px 0;
    position: relative;
}
.ha-nav__platform > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ha-ink);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 3px;
    border-bottom: 1.5px solid transparent;
    transition: border-color .2s ease;
}
.ha-nav__platform > li > a:hover,
.ha-nav__platform > li > a:focus {
    border-color: var(--ha-ink);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-burger {
    display: none;
    background: none;
    border: 0;
    color: var(--ha-ink);
    padding: 8px;
    cursor: pointer;
}

/* ---------- Phones and tablets ---------- */
@media (max-width: 991px) {
    .ha-burger {
        display: flex;
    }
    .ha-header__bar {
        flex-wrap: wrap;
        gap: 12px;
    }
    .ha-logo {
        font-size: 30px;
        order: 1;
        flex: 1 1 auto;
    }
    .ha-burger {
        order: 0;
    }
    .ha-actions {
        order: 2;
    }
    .ha-nav {
        order: 3;
        flex: 1 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        display: none;
        border-top: 1px solid var(--ha-line-soft);
        padding-bottom: 12px;
    }
    .ha-header.is-menu .ha-nav {
        display: flex;
    }
    .ha-nav__item,
    .ha-nav__platform > li {
        padding: 12px 0;
        width: 100%;
    }
    .ha-nav__platform {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .ha-panel,
    .ha-pagesmenu {
        position: static;
        width: auto;
        clip-path: none;
        opacity: 1;
        pointer-events: auto;
        border: 0;
        padding: 0;
        margin: 0;
        display: none;
    }
    .ha-nav__item.is-open .ha-panel,
    .ha-nav__item.is-open .ha-pagesmenu,
    .ha-header.is-open .ha-panel.is-open {
        display: block;
    }
    .ha-panel__grid,
    .ha-panel__promos {
        grid-template-columns: 1fr;
        padding: 12px 0 20px;
        gap: 18px;
    }
    .ha-panel__col {
        border-left: 0;
        padding: 0;
    }
    .ha-header__veil {
        display: none;
    }
    .ha-hero {
        grid-template-columns: 1fr;
        height: auto;
    }
    .ha-hero__side {
        display: none;
    }
    .ha-hero__inner {
        grid-template-columns: 1fr;
    }
    .ha-hero__media {
        height: 280px;
    }
    .ha-shop,
    .ha-help {
        grid-template-columns: 1fr;
    }
    .ha-filters,
    .ha-help__nav,
    .ha-detail {
        position: static;
    }
    .ha-duo__card {
        grid-template-columns: 1fr;
    }
    .ha-duo__media {
        min-height: 240px;
    }
    .ha-profile__head {
        margin-top: -40px;
    }
    .ha-profile__avatar {
        width: 96px;
        height: 96px;
    }
}
@media (max-width: 575px) {
    .ha-announce__inner {
        gap: 0;
    }
    .ha-announce__item + .ha-announce__item {
        display: none;
    }
    .ha-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    .ha-tabs__list {
        gap: 18px;
    }
    .ha-story__images > *:last-child {
        margin-top: 0;
    }
}

/* ---------- Manifesto picture and press band ---------- */
.ha-manifesto__media {
    display: block;
    width: 100%;
    max-width: 920px;
    border-radius: var(--ha-r-banner);
    overflow: hidden;
    margin-top: 12px;
}
.ha-manifesto__media img {
    width: 100%;
    height: auto;
    display: block;
}
.ha-press {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    align-items: center;
    justify-items: center;
}
.ha-press__item img {
    max-height: 44px;
    width: auto;
    opacity: .75;
    filter: grayscale(1);
    transition: opacity .2s ease, filter .2s ease;
}
.ha-press__item a:hover img {
    opacity: 1;
    filter: none;
}
.ha-press__name {
    font-family: var(--ha-serif);
    font-size: 26px;
    color: var(--ha-text-3);
}

/* ---------- Product page plumbing ---------- */
.ha-product__crumbs {
    margin-bottom: 24px;
}
.ha-product__crumbs ol,
.ha-product__crumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--ha-muted);
}
.ha-product__crumbs a {
    color: var(--ha-muted);
    text-decoration: none;
}
.ha-product__crumbs a:hover {
    color: var(--ha-ink);
}
.ha-gallery__main {
    border: 0;
    padding: 0;
    cursor: zoom-in;
    width: 100%;
}
.ha-offstage {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.ha-detail__buy {
    width: 100%;
}
.ha-detail__buy .price,
.ha-detail__buy .listing-price {
    font-size: 26px;
    font-weight: 600;
    color: var(--ha-ink);
}
.ha-detail__buy .btn,
.ha-detail__buy button[type="submit"],
.ha-detail__buy input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 17px 36px;
    border-radius: var(--ha-r-pill);
    border: 1.5px solid var(--ha-ink);
    background: var(--ha-ink);
    color: var(--ha-white);
    text-shadow: none;
    box-shadow: none;
    transition: background-color .2s ease;
}
.ha-detail__buy .btn:hover,
.ha-detail__buy button[type="submit"]:hover,
.ha-detail__buy input[type="submit"]:hover {
    background: var(--ha-ink-hover);
    border-color: var(--ha-ink-hover);
    color: var(--ha-white);
}
.ha-detail__buy .btn-default,
.ha-detail__buy .btn-link {
    background: transparent;
    color: var(--ha-ink);
    border-color: var(--ha-line-input);
}
.ha-detail__buy select,
.ha-detail__buy input[type="number"],
.ha-detail__buy input[type="text"] {
    width: 100%;
    font-size: 16px;
    padding: 13px 16px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-input);
    background: var(--ha-white);
    color: var(--ha-ink);
    height: auto;
    box-shadow: none;
}
.ha-product__footer {
    padding-bottom: var(--ha-section);
}

/* ---------- Results plumbing ---------- */
.ha-searchlead .ha-banner {
    grid-template-columns: 1fr;
}
.ha-results__chips {
    margin: 32px 0 24px;
}
.ha-results__chips ul,
.ha-results__chips ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ha-results__chips a {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    line-height: 1;
    padding: 11px 22px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    color: var(--ha-ink);
    text-decoration: none;
}
.ha-results__chips a:hover,
.ha-results__chips .active > a {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
    text-decoration: none;
}
.ha-results__toggle {
    display: none;
    margin-bottom: 20px;
}
.ha-filters h3,
.ha-filters h4,
.ha-filters .panel-title {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 12px;
    color: var(--ha-ink);
}
.ha-filters .panel,
.ha-filters .panel-default {
    border: 0;
    border-bottom: 1px solid var(--ha-line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin: 0 0 24px;
    padding: 0 0 24px;
}
.ha-filters .panel-heading,
.ha-filters .panel-body {
    background: transparent;
    border: 0;
    padding: 0;
}
.ha-filters label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 400;
    color: var(--ha-text-2);
    margin: 0 0 10px;
}
.ha-filters input[type="checkbox"],
.ha-filters input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ha-ink);
    margin: 0;
    flex: none;
}
.results_list_sort select,
.results_list_sort .form-control {
    font-size: 15px;
    padding: 11px 22px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    background: var(--ha-white);
    color: var(--ha-ink);
    height: auto;
    box-shadow: none;
    width: auto;
}
.ha-pagination {
    margin-top: 48px;
}
.ha-pagination ul,
.ha-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ha-pagination a,
.ha-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--ha-r-pill);
    border: 1px solid var(--ha-line-input);
    background: var(--ha-white);
    color: var(--ha-ink);
    text-decoration: none;
    font-size: 15px;
    float: none;
}
.ha-pagination .active a,
.ha-pagination .active span,
.ha-pagination a:hover,
.ha-pagination a:focus {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
}
.ha-map {
    margin-bottom: var(--ha-section);
}
@media (max-width: 991px) {
    .ha-results__toggle {
        display: inline-flex;
    }
    .ha-filters {
        display: none;
    }
    .ha-filters.is-open {
        display: flex;
    }
}

/* ---------- Brand profile plumbing ---------- */
.ha-shop--full {
    grid-template-columns: minmax(0, 1fr);
}
.ha-follow a,
.ha-follow button,
.ha-contact-vendor a,
.ha-contact-vendor button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    padding: 15px 30px;
    border-radius: var(--ha-r-pill);
    border: 1.5px solid var(--ha-ink);
    background: var(--ha-ink);
    color: var(--ha-white);
    text-decoration: none;
    box-shadow: none;
    text-shadow: none;
}
.ha-follow a:hover,
.ha-follow button:hover,
.ha-contact-vendor a:hover,
.ha-contact-vendor button:hover {
    background: var(--ha-ink-hover);
    border-color: var(--ha-ink-hover);
    color: var(--ha-white);
    text-decoration: none;
}
.ha-contact-vendor a,
.ha-contact-vendor button {
    background: transparent;
    color: var(--ha-ink);
}
.ha-contact-vendor a:hover,
.ha-contact-vendor button:hover {
    background: var(--ha-ink);
    color: var(--ha-white);
}
.about-user-badge-app {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* ---------- Contact plumbing ---------- */
.ha-contact__extra {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
}
.ha-form .form-group {
    margin-bottom: 18px;
}
.ha-form label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ha-text-2);
}
.ha-form .btn,
.ha-form button[type="submit"],
.ha-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    padding: 17px 36px;
    border-radius: var(--ha-r-pill);
    border: 1.5px solid var(--ha-ink);
    background: var(--ha-ink);
    color: var(--ha-white);
    box-shadow: none;
    text-shadow: none;
    width: auto;
}
.ha-form .btn:hover,
.ha-form button[type="submit"]:hover {
    background: var(--ha-ink-hover);
    border-color: var(--ha-ink-hover);
    color: var(--ha-white);
}
.ha-error {
    color: var(--ha-badge-promo);
    font-size: 14px;
    margin: 10px 0 0;
}

/* ---------- Help centre plumbing ---------- */
.ha-help__body {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.ha-help__group-title {
    margin-bottom: 20px;
}
.ha-searchbox {
    border: 1.5px solid var(--ha-line-input);
}
.ha-page .ha-prose {
    margin-top: 48px;
}

/* The search bar the Welcome block offers, when the marketplace ticked one. */
.ha-hero__search {
    width: 100%;
    max-width: 560px;
}
.ha-hero__search form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ha-white);
    border-radius: var(--ha-r-pill);
    padding: 8px 8px 8px 20px;
}
.ha-hero__search input[type="text"],
.ha-hero__search input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 16px;
    color: var(--ha-ink);
    outline: 0;
    height: auto;
    box-shadow: none;
    padding: 0;
}
.ha-hero__search button,
.ha-hero__search .btn {
    flex: none;
    border: 0;
    border-radius: var(--ha-r-pill);
    background: var(--ha-ink);
    color: var(--ha-white);
    font-size: 15px;
    font-weight: 500;
    padding: 13px 26px;
    box-shadow: none;
    text-shadow: none;
}

/* The platform's "Add a listing" entry reads as the theme's own quiet button. */
.ha-nav__platform > li > a.btn,
.ha-nav__platform > li.sell > a,
.ha-nav__platform > li > .btn {
    padding: 11px 22px;
    border: 1.5px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    background: transparent;
    color: var(--ha-ink);
    font-size: 15px;
    box-shadow: none;
    text-shadow: none;
}
.ha-nav__platform > li > a.btn:hover,
.ha-nav__platform > li > .btn:hover {
    background: var(--ha-ink);
    border-color: var(--ha-ink);
    color: var(--ha-white);
}

/* ---------- Brands directory ---------- */
.ha-dir__head {
    padding: 56px 0 32px;
    background: var(--ha-cream);
    text-align: center;
}

.ha-dir__head .ha-lead {
    margin: 12px auto 0;
    max-width: 56ch;
}

.ha-dir__search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px auto 0;
    max-width: 560px;
    padding: 8px 8px 8px 20px;
    background: var(--ha-white);
    border: 1px solid var(--ha-line);
    border-radius: var(--ha-r-pill);
}

.ha-dir__search .ha-icon {
    flex: none;
    color: var(--ha-muted);
}

.ha-dir__search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    padding: 10px 0;
}

.ha-dir__search input:focus {
    outline: none;
}

.ha-dir__layout {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 48px;
    padding: 48px 0 var(--ha-section);
    align-items: start;
}

.ha-dir__layout--wide {
    grid-template-columns: minmax(0, 1fr);
}

.ha-dir__filter {
    border: 0;
    margin: 0;
    padding: 0;
}

.ha-dir__filter legend {
    border: 0;
    margin: 0 0 12px;
    padding: 0;
    width: auto;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ha-muted);
}

.ha-dir__filter ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.ha-dir__option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.ha-dir__option input {
    margin: 0;
    accent-color: var(--ha-accent);
}

.ha-dir__filter.is-open .ha-dir__extra {
    display: list-item;
}

.ha-dir__extra {
    display: none;
}

.ha-dir__more {
    margin-top: 10px;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
}

.ha-dir__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.ha-dir__count {
    margin: 0;
    color: var(--ha-muted);
}

.ha-dir__sort select {
    border: 1px solid var(--ha-line-input);
    border-radius: var(--ha-r-pill);
    background: var(--ha-white);
    padding: 10px 16px;
    font: inherit;
    color: inherit;
}

.ha-dir__pages {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.ha-prov-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.ha-prov__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--ha-white);
    border: 1px solid var(--ha-line);
    border-radius: var(--ha-r-card);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.ha-prov__link:hover,
.ha-prov__link:focus-visible {
    border-color: var(--ha-line-strong);
    text-decoration: none;
    transform: translateY(-2px);
}

.ha-prov__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--ha-surface);
    overflow: hidden;
}

.ha-prov__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ha-prov__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: var(--ha-serif);
    font-size: 44px;
    color: var(--ha-accent);
}

.ha-prov__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    flex: 1 1 auto;
}

.ha-prov__name {
    display: block;
    font-family: var(--ha-serif);
    font-size: 22px;
    line-height: 1.2;
}

.ha-prov__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--ha-muted);
}

.ha-prov__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ha-ink);
}

.ha-prov__rating small {
    color: var(--ha-muted);
}

.ha-prov__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

/* The column folds on a phone through the search page's own toggle (.ha-filters). */
@media (max-width: 991px) {
    .ha-dir__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/*
 * The platform's product sidebar prints the brand, the title and a « More details » link
 * that Halo already draws above it, in its own type. Hide its copies rather than drop the
 * block: everything else in it — the price, the quantity, the buttons — is load-bearing.
 */
.ha-detail__buy > .vendor_name,
.ha-detail__buy > .entry-title,
.ha-detail__buy > .see_more_details {
    display: none;
}

/* Same for the heading the description block repeats inside its own accordion panel. */
.ha-acc__body.listing_description > h2 {
    display: none;
}

/*
 * « More from <brand> », the platform's block of the brand's other products, which Halo
 * places at the foot of the product page. It heads itself with the brand's round picture,
 * and the brand's name is already the next line, in Halo's own type: a 50 px disc above a
 * title says nothing twice, and said it with the platform's default photo for a brand that
 * uploaded none. The title below carries the block on its own.
 */
.other-listings .shop_avatar {
    display: none;
}
.other-listings .more_listing_title {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.035em;
    margin: 0 0 24px;
}

/*
 * A customer's initials, beside their name on a review card, when they have no picture
 * of their own (theme.json « avatars »). The disc is the platform's; this gives it the
 * card's size and sets the name on the same line.
 */
.ha-review__by {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ha-review__by > .ha-review__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}
