/* ==========================================================================
   Hire Purchase - showroom, vehicle details and application pages

   Design language
   - warm paper surfaces, ink typography, one accent (the theme base colour)
   - hairline rules and small caps instead of boxes, pills and glass cards
   - a dashed rule as the recurring "road" motif
   ========================================================================== */

.hp-page {
    --hp-paper: #f4f2ec;
    --hp-panel: #fffefb;
    --hp-ink: #14150f;
    --hp-ink-soft: #3b3d33;
    --hp-muted: #6b6d61;
    --hp-line: rgba(20, 21, 15, .13);
    --hp-line-soft: rgba(20, 21, 15, .07);
    --hp-line-strong: rgba(20, 21, 15, .26);
    --hp-accent: var(--base-color);
    --hp-dash: repeating-linear-gradient(90deg, rgba(20, 21, 15, .34) 0 26px, transparent 26px 46px);
    position: relative;
    background-color: var(--hp-paper);
    color: var(--hp-ink-soft);
}

/* The template paints every heading #212121, which made the old
   white-on-dark hero title unreadable. Keep colours local and explicit. */
.hp-page h1,
.hp-page h2,
.hp-page h3,
.hp-page h4,
.hp-page h5,
.hp-page h6 {
    color: var(--hp-ink);
}

/* Shared elements
   ========================================================================== */

.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hp-accent);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hp-eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background-color: currentColor;
    opacity: .55;
}

.hp-eyebrow i {
    font-size: 1rem;
    line-height: 1;
}

.hp-eyebrow--dark {
    color: var(--hp-accent);
}

.hp-eyebrow--light {
    color: #fff;
}

.hp-eyebrow--light::before {
    opacity: .45;
}

.hp-section-title {
    margin: 14px 0 0;
    font-family: var(--heading-font);
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--hp-ink);
}

.hp-btn-ghost,
.hp-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: .82rem 1.5rem;
    border-radius: 4px;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.4;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hp-btn-ghost {
    border: 1px solid var(--hp-line-strong);
    background-color: transparent;
    color: var(--hp-ink);
}

.hp-btn-ghost:hover {
    border-color: var(--hp-ink);
    background-color: rgba(20, 21, 15, .05);
    color: var(--hp-ink);
}

.hp-btn-outline {
    border: 1px solid var(--hp-line-strong);
    background-color: var(--hp-panel);
    color: var(--hp-ink);
}

.hp-btn-outline:hover {
    border-color: var(--hp-ink);
    color: var(--hp-ink);
}

.hp-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 4px;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.4;
}

.hp-page .btn--base {
    padding: .82rem 1.6rem;
    border: 1px solid transparent;
}

.hp-page .btn--base:hover,
.hp-page .btn--base:focus {
    border-color: var(--hp-ink);
}

/* Showroom hero
   ========================================================================== */

.hp-hero {
    padding: 46px 0 0;
}

.hp-hero__card {
    position: relative;
    overflow: visible;
    padding: 0 0 48px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--hp-ink-soft);
}

.hp-hero__card::before {
    content: none;
}

.hp-hero__card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background-image: var(--hp-dash);
    pointer-events: none;
}

.hp-hero__title {
    max-width: 13em;
    margin: 22px 0 20px;
    font-family: var(--heading-font);
    font-size: clamp(2.15rem, 4.2vw, 3.6rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.038em;
    color: var(--hp-ink);
}

.hp-hero__text {
    max-width: 42ch;
    margin-bottom: 30px;
    color: var(--hp-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hp-hero__stats {
    position: relative;
    display: grid;
    gap: 0;
    padding: 6px 26px;
    border-top: 3px solid var(--hp-accent);
    border-radius: 8px;
    background-color: var(--hp-ink);
    color: #fff;
    box-shadow: 0 34px 60px -46px rgba(20, 21, 15, .85);
}

.hp-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    border-radius: 0;
    background: none;
}

.hp-stat:last-child {
    border-bottom: 0;
}

.hp-stat:first-child {
    grid-column: auto;
}

.hp-stat strong {
    display: block;
    font-family: var(--heading-font);
    font-size: clamp(1.9rem, 2.6vw, 2.45rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    color: #fff;
}

.hp-stat span {
    color: rgba(255, 255, 255, .52);
    font-size: .64rem;
    letter-spacing: .18em;
    line-height: 1.5;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Showroom inventory
   ========================================================================== */

.hp-inventory {
    padding: 56px 0 78px;
    scroll-margin-top: 128px;
}

.hp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 32px;
    margin-bottom: 36px;
}

.hp-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 6px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background-color: var(--hp-panel);
}

.hp-search {
    position: relative;
    flex: 0 0 auto;
}

.hp-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--hp-muted);
    font-size: 1.05rem;
}

.hp-search input {
    width: 214px;
    height: 42px;
    padding: 0 16px 0 38px;
    border: 0;
    border-radius: 4px;
    background-color: transparent;
    color: var(--hp-ink);
    font-size: .92rem;
}

.hp-filters select {
    height: 42px;
    padding: 0 36px 0 16px;
    border: 0;
    border-left: 1px solid var(--hp-line);
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%2314150f' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    color: var(--hp-ink-soft);
    font-size: .9rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.hp-search input:focus,
.hp-filters select:focus {
    outline: none;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px var(--hp-line-strong), inset 0 -2px 0 0 var(--hp-accent);
}

.hp-filters .btn {
    height: 42px;
    padding: 0 22px;
    margin-left: 6px;
}

.hp-reset {
    color: var(--hp-muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
}

.hp-reset:hover {
    color: var(--hp-ink);
    border-bottom-color: var(--hp-ink);
}

/* Vehicle card
   ========================================================================== */

.hp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background-color: var(--hp-panel);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.hp-card:hover {
    border-color: var(--hp-line-strong);
    transform: translateY(-3px);
    box-shadow: 0 26px 44px -34px rgba(20, 21, 15, .55);
}

.hp-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #e9e6dd;
    border-bottom: 1px solid var(--hp-line-soft);
}

.hp-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.hp-card:hover .hp-card__media img {
    transform: scale(1.035);
}

.hp-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 3px;
    background-color: rgba(255, 254, 251, .94);
    color: var(--hp-ink);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
}

.hp-card__price {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
    border-radius: 3px;
    background-color: var(--hp-ink);
    color: #fff;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.2;
}

.hp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px 20px;
}

.hp-card__title {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.015em;
}

.hp-card__title a {
    color: var(--hp-ink);
}

.hp-card__title a:hover {
    color: var(--hp-accent);
}

.hp-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--hp-line);
    color: var(--hp-muted);
    font-size: .8rem;
}

.hp-card__specs span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border-radius: 0;
    background: none;
    white-space: nowrap;
}

.hp-card__specs i {
    color: var(--hp-accent);
    font-size: .95rem;
    line-height: 1;
}

.hp-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 2px;
    border-top: 0;
    color: var(--hp-ink);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hp-card__link i {
    font-size: 1rem;
    transition: transform .25s ease;
}

.hp-card__link:hover {
    color: var(--hp-accent);
}

.hp-card__link:hover i {
    transform: translateX(4px);
}

.hp-empty {
    padding: 62px 24px;
    border: 1px dashed var(--hp-line-strong);
    border-radius: 8px;
    background-color: var(--hp-panel);
    text-align: center;
}

.hp-empty i {
    color: var(--hp-accent);
    font-size: 2.6rem;
}

.hp-empty h4 {
    font-family: var(--heading-font);
    letter-spacing: -.02em;
}

.hp-pagination {
    display: flex;
    justify-content: center;
    padding-top: 42px;
}

/* How it works
   ========================================================================== */

.hp-how {
    padding: 0 0 88px;
}

.hp-how__head {
    max-width: 620px;
    margin: 0 auto 46px;
    text-align: center;
}

.hp-step {
    height: 100%;
    padding: 24px 0 0;
    border: 0;
    border-top: 2px solid var(--hp-ink);
    border-radius: 0;
    background: none;
}

.hp-step__number {
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--hp-ink);
    font-family: var(--heading-font);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.06em;
}

.hp-step h5 {
    margin: 14px 0 6px;
    font-family: var(--heading-font);
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -.015em;
}

.hp-step p {
    margin: 0;
    color: var(--hp-muted);
    font-size: .92rem;
    line-height: 1.7;
}

/* Vehicle details
   ========================================================================== */

.hp-details,
.hp-apply {
    padding: 34px 0 82px;
}

.hp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hp-line);
    color: var(--hp-muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.hp-crumbs a {
    color: var(--hp-muted);
}

.hp-crumbs a:hover {
    color: var(--hp-ink);
}

.hp-crumbs span {
    color: var(--hp-ink);
}

.hp-crumbs i {
    font-size: .6rem;
    opacity: .45;
}

.hp-gallery {
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background-color: var(--hp-panel);
}

.hp-gallery__main {
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #e9e6dd;
}

.hp-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-gallery__label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 10px;
    border-radius: 3px;
    background-color: rgba(20, 21, 15, .82);
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hp-gallery__thumbs {
    display: flex;
    gap: 10px;
    padding: 14px;
    overflow-x: auto;
}

.hp-thumb {
    flex: 0 0 auto;
    width: 92px;
    height: 68px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 4px;
    background-color: #e9e6dd;
    opacity: .72;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease;
}

.hp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-thumb:hover {
    opacity: 1;
}

.hp-thumb.is-active {
    border-color: var(--hp-accent);
    box-shadow: 0 0 0 1px var(--hp-accent);
    opacity: 1;
}

.hp-panel {
    margin-top: 22px;
    padding: 26px 28px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background-color: var(--hp-panel);
}

.hp-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--hp-line);
    font-family: var(--heading-font);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--hp-ink);
}

.hp-panel__title i {
    color: var(--hp-accent);
    font-size: 1.05rem;
}

.hp-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
}

.hp-spec {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--hp-line-soft);
    background: none;
}

.hp-spec i {
    margin-top: 2px;
    color: var(--hp-accent);
    font-size: 1.2rem;
    line-height: 1;
}

.hp-spec small {
    display: block;
    margin-bottom: 3px;
    color: var(--hp-muted);
    font-size: .64rem;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hp-spec strong {
    display: block;
    color: var(--hp-ink);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
}

.hp-note {
    padding-top: 16px;
    color: var(--hp-ink-soft);
    font-size: .95rem;
    line-height: 1.85;
    white-space: pre-line;
}

/* Sticky summary / application docket
   ========================================================================== */

.hp-summary {
    position: sticky;
    top: 132px;
    padding: 26px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background-color: var(--hp-panel);
    box-shadow: 0 30px 60px -48px rgba(20, 21, 15, .6);
}

.hp-summary__title {
    margin: 12px 0 6px;
    font-family: var(--heading-font);
    font-size: clamp(1.45rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.hp-summary__price {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 20px 0 22px;
    padding: 18px 20px;
    border-left: 3px solid var(--hp-accent);
    border-radius: 4px;
    background-color: var(--hp-ink);
    color: #fff;
}

.hp-summary__price small {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .55);
    font-size: .64rem;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hp-summary__price strong {
    display: block;
    font-family: var(--heading-font);
    font-size: clamp(1.6rem, 2.2vw, 1.95rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #fff;
}

.hp-summary__list {
    display: grid;
    gap: 0;
    margin: 0 0 22px;
    padding: 0;
    border-top: 1px solid var(--hp-line-soft);
    list-style: none;
    color: var(--hp-ink-soft);
    font-size: .88rem;
    line-height: 1.55;
}

.hp-summary__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--hp-line-soft);
}

.hp-summary__list i {
    margin-top: 1px;
    color: var(--hp-accent);
    font-size: 1.05rem;
    line-height: 1.3;
}

.hp-summary__actions {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.hp-summary__actions .btn,
.hp-summary__actions .hp-btn-outline {
    width: 100%;
}

.hp-trust {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--hp-line-soft);
    color: var(--hp-muted);
    font-size: .78rem;
    line-height: 1.6;
}

.hp-trust i {
    margin-top: 1px;
    color: var(--hp-accent);
    font-size: 1.1rem;
}

.hp-related {
    padding-top: 58px;
}

.hp-related__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hp-line);
}

/* Application form
   ========================================================================== */

.hp-form-card {
    padding: 30px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background-color: var(--hp-panel);
}

.hp-form-card__head {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--hp-line);
}

.hp-form-card__head h2 {
    margin: 12px 0 8px;
    font-family: var(--heading-font);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.hp-form-card__head p {
    color: var(--hp-muted);
    font-size: .94rem;
    line-height: 1.7;
}

.hp-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hp-field--full {
    grid-column: 1 / -1;
}

.hp-field label {
    display: block;
    margin-bottom: 9px;
    color: var(--hp-ink);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hp-field label span {
    color: var(--hp-accent);
}

.hp-field .form--control {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--hp-line-strong);
    border-radius: 4px;
    background-color: #fff;
    color: var(--hp-ink);
    font-size: 1rem;
}

.hp-field .form--control::placeholder {
    color: #8c8e81;
}

.hp-field textarea.form--control {
    height: auto;
    min-height: 96px;
    padding: 12px 16px;
}

.hp-field .form--control:focus {
    outline: none;
    border-color: var(--hp-ink);
    background-color: #fff;
    box-shadow: 0 3px 0 -1px var(--hp-accent);
}

.hp-field__hint {
    display: block;
    margin-top: 7px;
    color: var(--hp-muted);
    font-size: .76rem;
    line-height: 1.55;
}

.hp-field--amount {
    position: relative;
}

.hp-field--amount .cur {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    padding: 0 10px;
    border-right: 1px solid var(--hp-line);
    color: var(--hp-ink-soft);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hp-field--amount .form--control {
    padding-left: 82px;
}

.hp-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--hp-line);
}

.hp-form-footer small {
    max-width: 360px;
    color: var(--hp-muted);
    font-size: .76rem;
    line-height: 1.7;
}

.hp-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hp-line-soft);
}

.hp-mini__media {
    flex: 0 0 auto;
    width: 92px;
    height: 70px;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 4px;
    background-color: #e9e6dd;
}

.hp-mini__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-mini__title {
    margin: 0 0 4px;
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.hp-mini__meta {
    color: var(--hp-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.hp-deposit-preview {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 2px;
    border-radius: 0;
    border-bottom: 1px solid var(--hp-line-soft);
    background: none;
    color: var(--hp-muted);
    font-size: .8rem;
    letter-spacing: .04em;
}

.hp-deposit-preview strong {
    color: var(--hp-ink);
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.hp-deposit-preview + .hp-deposit-preview {
    margin-top: 0;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .hp-summary {
        top: 104px;
    }
}

@media (max-width: 991px) {
    .hp-hero {
        padding-top: 36px;
    }

    .hp-hero__card {
        padding-bottom: 42px;
    }

    .hp-hero__stats {
        max-width: 440px;
        margin-top: 6px;
    }

    .hp-toolbar {
        align-items: flex-start;
    }

    .hp-summary {
        position: static;
    }

    .hp-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .hp-inventory {
        padding: 46px 0 62px;
    }

    .hp-filters {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
    }

    .hp-search,
    .hp-search input,
    .hp-filters select {
        width: 100%;
    }

    .hp-search input,
    .hp-filters select {
        height: 46px;
        font-size: 1rem;
    }

    .hp-filters select {
        border-top: 1px solid var(--hp-line);
        border-left: 0;
        border-radius: 0;
    }

    .hp-filters .btn {
        width: 100%;
        height: 46px;
        margin: 8px 0 0;
    }

    .hp-reset {
        margin-top: 12px;
        text-align: center;
    }

    .hp-how {
        padding-bottom: 68px;
    }

    .hp-related {
        padding-top: 46px;
    }
}

@media (max-width: 575px) {
    .hp-hero {
        padding-top: 28px;
    }

    .hp-hero__card {
        padding-bottom: 36px;
    }

    .hp-hero__title {
        font-size: clamp(2rem, 9vw, 2.6rem);
        letter-spacing: -.03em;
    }

    .hp-hero__stats {
        padding: 4px 20px;
    }

    .hp-stat {
        padding: 18px 0;
    }

    .hp-stat span {
        font-size: .6rem;
        letter-spacing: .14em;
    }

    .hp-panel,
    .hp-form-card,
    .hp-summary {
        padding: 22px;
    }

    .hp-specs {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-form-footer .btn {
        width: 100%;
    }

    .hp-crumbs {
        font-size: .64rem;
        letter-spacing: .1em;
    }
}
