
main#main-content[data-hq-template="catalog-archive"],
main#main-content.hq-catalog {
    padding-block-start: clamp(6.75rem, 5.5rem + 2vw, 8rem) !important;
}
/*
 * T02 catalogue archive parity layer.
 * Visual authority: hq-tailwind-theme.html, theme-v3.css, and final_design/T02.
 * Every rule is rooted in a catalogue template or component hook so this asset
 * cannot restyle unrelated templates.
 */

[data-hq-template="catalog-archive"] {
    --hq-catalog-surface: rgba(255, 255, 255, .80);
    --hq-catalog-surface-soft: rgba(255, 255, 255, .60);
    --hq-catalog-border: rgba(228, 228, 231, .80);
    --hq-catalog-muted: #52525b;
    --hq-catalog-strong: #18181b;
    --hq-catalog-accent: var(--theme-700, #047857);
    --hq-catalog-accent-soft: rgba(16, 185, 129, .10);
    min-height: 100vh;
}

html.dark [data-hq-template="catalog-archive"] {
    --hq-catalog-surface: rgba(6, 12, 10, .90);
    --hq-catalog-surface-soft: rgba(0, 0, 0, .42);
    --hq-catalog-border: rgba(255, 255, 255, .10);
    --hq-catalog-muted: #d4d4d8;
    --hq-catalog-strong: #fafafa;
    --hq-catalog-accent: var(--theme-400, #34d399);
    --hq-catalog-accent-soft: rgba(16, 185, 129, .14);
}

[data-hq-template="catalog-archive"].pt-32 {
    padding-top: 4rem;
}

[data-hq-template="catalog-archive"].pb-24 {
    padding-bottom: 6rem;
}

[data-hq-template="catalog-archive"] .hq-catalog-anchor {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

[data-hq-template="catalog-archive"] > .max-w-\[1600px\] {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
}

/* T02: archive header and hierarchy strip. */
[data-hq-template="catalog-archive"] #archive-header {
    max-width: 48rem;
}

[data-hq-template="catalog-archive"] #archive-header nav {
    letter-spacing: .1em;
}

[data-hq-template="catalog-archive"] #archive-header .hq-h1 {
    font-size: 2.375rem !important;
    font-weight: 800;
    line-height: 1.16 !important;
}

[data-hq-template="catalog-archive"] #category-strip {
    position: relative;
    z-index: 2;
}

[data-hq-template="catalog-archive"] .hq-category-tabs-track {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

[data-hq-template="catalog-archive"] .hq-hubpanel__track {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

[data-hq-template="catalog-archive"] .hq-hubpanel {
    background: var(--hq-catalog-surface-soft);
    border-color: var(--hq-catalog-border);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
}

[data-hq-template="catalog-archive"] .hq-cattabs {
    gap: 0.375rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

[data-hq-template="catalog-archive"] .hq-cattabs::-webkit-scrollbar {
    display: none;
}

[data-hq-template="catalog-archive"] .hq-cattabs a {
    min-height: 32px;
    padding: 0.25rem 0.625rem;
    font-size: 11px;
    gap: 0.35rem;
    border-radius: 8px;
}

[data-hq-template="catalog-archive"] .hq-cattabs a svg {
    width: 0.875rem;
    height: 0.875rem;
}

[data-hq-template="catalog-archive"] .hq-cattabs a span.tabular-nums {
    font-size: 9.5px;
    padding: 0.05rem 0.35rem;
    border-radius: 4px;
}

[data-hq-template="catalog-archive"] .hq-hubpanel__track {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    scrollbar-width: none;
}

[data-hq-template="catalog-archive"] .hq-hubpanel__track::-webkit-scrollbar {
    display: none;
}

[data-hq-template="catalog-archive"] .hq-catpill {
    min-height: 28px;
    padding: 0.2rem 0.5rem;
    font-size: 11px;
    gap: 0.35rem;
    border-radius: 6px;
}

[data-hq-template="catalog-archive"] .hq-catpill svg {
    width: 0.8125rem;
    height: 0.8125rem;
}

[data-hq-template="catalog-archive"] .hq-catpill span.tabular-nums {
    font-size: 9.5px;
    padding: 0.05rem 0.35rem;
    border-radius: 4px;
}

[data-hq-template="catalog-archive"] .group\/va {
    min-height: 28px;
    font-size: 11px;
    padding: 0.2rem 0.4rem;
}

[data-hq-template="catalog-archive"] #hq-active-filters {
    gap: 0.375rem;
    scrollbar-width: none;
}

[data-hq-template="catalog-archive"] #hq-active-filters::-webkit-scrollbar {
    display: none;
}

[data-hq-template="catalog-archive"] #hq-active-filters a[data-hq-filter-remove]:not(:last-child) {
    min-height: 24px;
    padding: 0.15rem 0.55rem;
    font-size: 11px;
    gap: 0.35rem;
}

[data-hq-template="catalog-archive"] #hq-active-filters a:last-child {
    min-height: 22px;
    padding: 0.15rem 0.45rem;
    font-size: 11px;
}

[data-hq-template="catalog-archive"] .hq-catalog-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

[data-hq-template="catalog-archive"] [data-hq-catalog="filters"] {
    background: var(--hq-catalog-surface-soft);
    border-color: var(--hq-catalog-border);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
}

[data-hq-template="catalog-archive"] #archive-results {
    width: 100%;
    min-width: 0;
}

[data-hq-template="catalog-archive"] #hardware-cards-container.view-grid {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

/* T02 product card composition. */
[data-hq-template="catalog-archive"] .hq-catalog-product {
    isolation: isolate;
    min-width: 0;
    background: var(--hq-catalog-surface);
    border-color: var(--hq-catalog-border);
    border-radius: var(--hq-radius-lg, 18px);
    box-shadow: 0 1px 3px rgba(24, 24, 27, .06), 0 12px 30px -20px rgba(24, 24, 27, .28);
}

[data-hq-template="catalog-archive"] .hq-catalog-product:hover {
    border-color: rgba(16, 185, 129, .45);
    box-shadow: 0 18px 38px -22px rgba(16, 185, 129, .55);
    transform: translateY(-2px);
}

[data-hq-template="catalog-archive"] .hq-catalog-product__media.hq-hw-card-img {
    min-height: 0;
    aspect-ratio: 1 / 1 !important;
    padding: 1.25rem !important;
}

[data-hq-template="catalog-archive"] .hq-catalog-product__media img {
    max-width: 92%;
    max-height: 92%;
}

[data-hq-template="catalog-archive"] .hq-catalog-product__body {
    min-width: 0;
    padding: 1rem;
}

[data-hq-template="catalog-archive"] .hq-catalog-product__specs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .75rem !important;
    overflow: visible;
}

[data-hq-template="catalog-archive"] .hq-catalog-product__specs > * {
    flex: 0 0 auto;
    padding: .25rem .5rem !important;
}

[data-hq-template="catalog-archive"] .hq-hw-card-content > p {
    margin-bottom: .25rem !important;
}

[data-hq-template="catalog-archive"] .hq-hw-card-content > h3 {
    margin-bottom: .5rem !important;
    font-size: .8125rem !important;
    line-height: 1.25 !important;
}

[data-hq-template="catalog-archive"] .hq-catalog-product__footer {
    min-width: 0;
    margin-top: auto;
    padding-top: .5rem !important;
}

[data-hq-template="catalog-archive"] .hq-catalog-product__footer > div:first-child span:last-child {
    font-size: 1rem !important;
}

[data-hq-template="catalog-archive"] .hq-catalog-product__footer > :last-child {
    flex: 0 0 auto;
}

[data-hq-template="catalog-archive"] .view-list > .hq-catalog-product {
    display: grid !important;
    grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr) !important;
    min-height: 11rem;
}

[data-hq-template="catalog-archive"] .view-list > .hq-catalog-product > .hq-catalog-product__media {
    width: 100% !important;
    height: 100% !important;
    min-height: 11rem;
    aspect-ratio: auto;
    padding: 1rem !important;
    border-right: 1px solid var(--hq-catalog-border);
    border-bottom: 0 !important;
}

[data-hq-template="catalog-archive"] .view-list > .hq-catalog-product > .hq-catalog-product__body {
    padding: 1.25rem !important;
}

[data-hq-template="catalog-archive"] #pagination-wrapper {
    box-sizing: border-box;
}

[data-hq-template="catalog-archive"] #pagination-container a,
[data-hq-template="catalog-archive"] #pagination-container span {
    flex: 0 0 auto;
}


@media (min-width: 640px) {
    [data-hq-template="catalog-archive"] .hq-category-tabs-track,
    [data-hq-template="catalog-archive"] .hq-hubpanel__track {
        flex-wrap: wrap;
        overflow: visible;
        white-space: normal;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    [data-hq-template="catalog-archive"] .hq-catalog-layout {
        display: grid;
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 2rem;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (min-width: 1280px) {
    [data-hq-template="catalog-archive"] .hq-catalog-layout {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    /* 2-column Grid on Mobile */
    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.5rem !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid > .hq-catalog-product {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 0 !important;
        border-radius: 14px !important;
        overflow: hidden;
        background: var(--hq-catalog-surface);
        border: 1px solid var(--hq-catalog-border);
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid > .hq-catalog-product > .hq-catalog-product__media.hq-hw-card-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        padding: 0.625rem !important;
        border-right: none !important;
        border-bottom: 1px solid var(--hq-catalog-border) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.7) !important;
    }

    html.dark [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid > .hq-catalog-product > .hq-catalog-product__media.hq-hw-card-img {
        background: rgba(18, 18, 20, 0.6) !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__media img {
        width: 100% !important;
        height: 100% !important;
        max-width: 88% !important;
        max-height: 88% !important;
        object-fit: contain !important;
        margin: auto;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__media .wishlist-toggle {
        width: 1.625rem !important;
        height: 1.625rem !important;
        top: 0.35rem !important;
        right: 0.35rem !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__media .wishlist-toggle svg {
        width: 0.75rem !important;
        height: 0.75rem !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__media > span.absolute {
        top: 0.35rem !important;
        left: 0.35rem !important;
        padding: 0.125rem 0.375rem !important;
        font-size: 8px !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid > .hq-catalog-product > .hq-catalog-product__body {
        padding: 0.5rem 0.625rem !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        justify-content: space-between !important;
        min-width: 0;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product .hq-hw-card-content > p {
        font-size: 8px !important;
        margin-bottom: 0.125rem !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product .hq-hw-card-content > h3 {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Specs are hidden during scrolling in 2-col mobile grid per user requirement */
    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__specs {
        display: none !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__footer {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.25rem !important;
        padding-top: 0.375rem !important;
        margin-top: auto !important;
        border-top: 1px solid var(--hq-catalog-border) !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__footer > div:first-child span:first-child {
        display: none !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__footer > div:first-child span:last-child {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__footer .build-toggle {
        display: none !important;
    }

    [data-hq-template="catalog-archive"] #hardware-cards-container.view-grid .hq-catalog-product__footer a {
        height: 1.75rem !important;
        min-height: 0 !important;
        padding: 0 0.5rem !important;
        font-size: 10px !important;
        border-radius: 8px !important;
    }

    /* LIST VIEW on mobile: keeps horizontal strip */
    [data-hq-template="catalog-archive"] #hardware-cards-container.view-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product {
        display: grid !important;
        grid-template-columns: 5.5rem minmax(0, 1fr) !important;
        align-items: stretch !important;
        height: auto;
        min-height: 0 !important;
        border-radius: 14px !important;
        overflow: hidden;
        background: var(--hq-catalog-surface);
        border: 1px solid var(--hq-catalog-border);
    }

    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product > .hq-catalog-product__media {
        width: 5.5rem !important;
        height: 100% !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        padding: 0.375rem !important;
        border-right: 1px solid var(--hq-catalog-border);
        border-bottom: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: stretch !important;
    }

    [data-hq-template="catalog-archive"] .view-list .hq-catalog-product__media img {
        max-width: 82% !important;
        object-fit: contain !important;
    }

    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product > .hq-catalog-product__body {
        grid-column: 2;
        padding: 0.5rem 0.625rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        min-width: 0;
    }

    [data-hq-template="catalog-archive"] .view-list .hq-catalog-product .hq-hw-card-content > p {
        font-size: 9px !important;
        margin-bottom: 0.125rem !important;
    }

    [data-hq-template="catalog-archive"] .view-list .hq-catalog-product .hq-hw-card-content > h3 {
        font-size: 0.8125rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.35rem !important;
    }

    [data-hq-template="catalog-archive"] .view-list .hq-catalog-product__specs {
        display: flex !important;
        gap: .25rem !important;
        margin-bottom: .35rem !important;
    }

    [data-hq-template="catalog-archive"] .view-list .hq-catalog-product__specs > * {
        padding: .125rem .35rem !important;
        font-size: .625rem !important;
        border-radius: 6px !important;
    }

    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product .hq-catalog-product__footer {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: .375rem !important;
        padding-top: .375rem !important;
        margin-top: auto !important;
        border-top: 1px solid rgba(148, 163, 184, .15) !important;
    }

    [data-hq-template="catalog-archive"] #archive-header .hq-h1 {
        font-size: 1.5rem !important;
        line-height: 1.16 !important;
        margin-bottom: 0.25rem !important;
    }

    [data-hq-template="catalog-archive"] #archive-header p {
        font-size: 0.75rem !important;
        line-height: 1.35 !important;
    }

    [data-hq-template="catalog-archive"] .hq-cattabs {
        gap: 0.375rem !important;
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.25rem !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    [data-hq-template="catalog-archive"] .hq-cattabs::-webkit-scrollbar {
        display: none;
    }

    [data-hq-template="catalog-archive"] .hq-cattabs a {
        min-height: 28px !important;
        padding: 0.15rem 0.45rem !important;
        font-size: 10px !important;
        gap: 0.25rem !important;
        border-radius: 6px !important;
    }

    [data-hq-template="catalog-archive"] .hq-cattabs a svg {
        width: 0.75rem !important;
        height: 0.75rem !important;
    }

    [data-hq-template="catalog-archive"] .hq-cattabs a span.tabular-nums {
        font-size: 8.5px !important;
        padding: 0 3px !important;
        min-height: 14px !important;
        line-height: 14px !important;
    }

    [data-hq-template="catalog-archive"] .hq-hubpanel {
        padding: 0.375rem 0.5rem !important;
        margin-bottom: 0.5rem !important;
        border-radius: 10px !important;
    }

    [data-hq-template="catalog-archive"] .hq-hubpanel__track {
        display: flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        scrollbar-width: none;
    }

    [data-hq-template="catalog-archive"] .hq-hubpanel__track::-webkit-scrollbar {
        display: none;
    }

    [data-hq-template="catalog-archive"] .hq-catpill {
        min-height: 24px !important;
        padding: 0.125rem 0.4rem !important;
        font-size: 9.5px !important;
        border-radius: 6px !important;
        gap: 0.25rem !important;
    }

    [data-hq-template="catalog-archive"] .hq-catpill svg {
        width: 0.75rem !important;
        height: 0.75rem !important;
    }

    [data-hq-template="catalog-archive"] .hq-catpill span.tabular-nums {
        font-size: 8px !important;
        padding: 0 3px !important;
        min-height: 13px !important;
        line-height: 13px !important;
    }

    [data-hq-template="catalog-archive"] .group\/va {
        min-height: 24px !important;
        font-size: 9.5px !important;
        padding: 0.125rem 0.35rem !important;
    }

    [data-hq-template="catalog-archive"] #hq-active-filters {
        gap: 0.25rem !important;
        padding-top: 0.125rem !important;
        padding-bottom: 0.25rem !important;
        scrollbar-width: none;
    }

    [data-hq-template="catalog-archive"] #hq-active-filters::-webkit-scrollbar {
        display: none;
    }

    [data-hq-template="catalog-archive"] #hq-active-filters a[data-hq-filter-remove]:not(:last-child) {
        min-height: 22px !important;
        padding: 0.1rem 0.45rem !important;
        font-size: 10px !important;
        gap: 0.25rem !important;
    }

    [data-hq-template="catalog-archive"] #hq-active-filters a:last-child {
        min-height: 20px !important;
        padding: 0.1rem 0.35rem !important;
        font-size: 10px !important;
    }

    #mobile-filter-toggle {
        min-height: 38px !important;
        padding: 0.45rem 0.875rem !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
        font-family: 'Space Grotesk', monospace !important;
        margin-bottom: 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    }

    #mobile-filter-toggle svg {
        width: 0.875rem !important;
        height: 0.875rem !important;
    }

    [data-hq-template="catalog-archive"] #hq-toolbar-sort {
        min-height: 40px !important;
        font-size: 0.8125rem !important;
        padding-left: 2.25rem !important;
        padding-right: 2.25rem !important;
        width: 100% !important;
    }

    [data-hq-template="catalog-archive"] #hq-search-toggle,
    [data-hq-template="catalog-archive"] #view-grid-btn,
    [data-hq-template="catalog-archive"] #view-list-btn {
        min-height: 38px !important;
        min-width: 38px !important;
    }
}

@media (max-width: 767px) {
    [data-hq-template="catalog-archive"] #pagination-wrapper {
        width: calc(100% - 2rem);
        padding-inline: 0;
    }

}

@media (prefers-reduced-transparency: reduce) {
    [data-hq-template="catalog-archive"] [data-hq-catalog="filters"],
    [data-hq-template="catalog-archive"] .hq-hubpanel {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-hq-template="catalog-archive"] .hq-catalog-product { transition: none; }
    [data-hq-template="catalog-archive"] .hq-catalog-product:hover { transform: none; }
}

/* =============================================================================
 * MOBILE ARCHIVE REFINEMENT: Eliminate Dead Whitespace & Distinct List View
 * ========================================================================== */

@media (max-width: 767px) {
    main#main-content.hq-page-start--catalog {
        --hq-page-start: 4.25rem !important;
        padding-block-start: 4.25rem !important;
    }
    [data-hq-template="catalog-archive"] header.relative {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    [data-hq-template="catalog-archive"] #category-strip {
        margin-bottom: 0.5rem !important;
    }
    [data-hq-template="catalog-archive"] #archive-header h1 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.25rem !important;
    }
    [data-hq-template="catalog-archive"] #archive-header p {
        font-size: 0.8125rem !important;
        line-height: 1.35 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    [data-hq-template="catalog-archive"] #toolbar {
        margin-bottom: 0.75rem !important;
    }
}

/* Distinct mobile list view: dense horizontal comparison rows (4-5 per viewport) */
@media (max-width: 639px) {
    [data-hq-template="catalog-archive"] .view-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.625rem !important;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        min-height: auto !important;
        padding: 0.625rem 0.75rem !important;
        border-radius: 1rem !important;
        gap: 0.75rem !important;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product > .hq-catalog-product__media {
        width: 4.5rem !important;
        height: 4.5rem !important;
        min-height: 4.5rem !important;
        flex-shrink: 0 !important;
        padding: 0.25rem !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-radius: 0.5rem !important;
        background: rgba(0,0,0,0.03) !important;
    }
    html.dark [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product > .hq-catalog-product__media {
        background: rgba(255,255,255,0.04) !important;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product > .hq-catalog-product__body {
        padding: 0 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product .hq-catalog-product__title {
        font-size: 0.8125rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product .hq-catalog-product__specs {
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
        gap: 0.25rem !important;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product .hq-catalog-product__specs > span {
        font-size: 0.65rem !important;
        padding: 0.125rem 0.375rem !important;
        border-radius: 0.25rem !important;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product .hq-catalog-product__footer {
        padding-top: 0.25rem !important;
        border-top: 0 !important;
        margin-top: 0 !important;
    }
    [data-hq-template="catalog-archive"] .view-list > .hq-catalog-product .hq-catalog-product__price {
        font-size: 0.95rem !important;
    }
}
