@font-face {
    font-family: "HDD Lato";
    src: url("/assets/fonts/S6u9w4BMUTPHh7USSwiPGQ.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HDD Lato";
    src: url("/assets/fonts/S6u9w4BMUTPHh7USSwaPGR_p.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f5f2ec;
    --ink: #171717;
    --muted: #68645d;
    --panel: #ffffff;
    --panel-2: #fbfaf7;
    --line: #ded8cc;
    --line-dark: #2b2925;
    --red: #d9251d;
    --red-dark: #a81813;
    --charcoal: #111111;
    --gold: #c89b45;
    --shadow: 0 24px 60px rgba(19, 17, 13, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(217, 37, 29, 0.12), transparent 34rem),
        linear-gradient(180deg, #fffdf8 0%, var(--bg) 48%, #ece6db 100%);
    font-family: "HDD Lato", "Segoe UI", sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    border-bottom: 1px solid rgba(17, 17, 17, 0.09);
    background: rgba(255, 253, 248, 0.9);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.main-nav,
.header-actions,
.tab-row,
.hero-actions,
.detail-actions,
.card-actions,
.badge-row {
    display: flex;
    align-items: center;
}

.main-nav {
    justify-content: center;
    gap: 4px;
}

.main-nav a,
.login-link,
.tab-row a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 15px;
    color: var(--muted);
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active,
.login-link:hover,
.tab-row a.active {
    color: var(--ink);
    background: rgba(217, 37, 29, 0.09);
}

.cart-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    color: var(--ink);
    background: var(--panel);
    font-weight: 800;
}

.cart-count {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 7px;
    color: #fff;
    background: var(--red);
    font-size: 12px;
}

.header-actions {
    position: relative;
    z-index: 1600;
    gap: 12px;
    justify-content: flex-end;
}

.global-search {
    width: min(360px, 30vw);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--panel);
}

.global-search input,
.filter-field input,
.auth-form input {
    width: 100%;
    min-height: 46px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.global-search input {
    padding: 0 16px;
}

.global-search button {
    height: 42px;
    margin-right: 2px;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    color: white;
    background: var(--charcoal);
    cursor: pointer;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.account-menu {
    position: relative;
    z-index: 1305;
}

.account-button {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 14px;
    color: var(--ink);
    background: var(--panel);
    cursor: pointer;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 190px;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
    box-shadow: var(--shadow);
    z-index: 1306;
}

.account-menu.open .account-dropdown {
    display: grid;
    gap: 4px;
}

.account-dropdown a,
.account-dropdown button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 11px 12px;
    text-align: left;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
}

.account-dropdown a:hover,
.account-dropdown button:hover {
    color: var(--ink);
    background: var(--panel-2);
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
    gap: 24px;
    align-items: start;
}

.cart-panel-head,
.cart-summary-total,
.cart-item-actions {
    display: flex;
    align-items: center;
}

.cart-panel-head,
.cart-summary-total {
    justify-content: space-between;
}

.cart-panel-count {
    color: var(--muted);
    font-weight: 700;
}

.cart-list {
    display: grid;
    gap: 18px;
}

.cart-item {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px;
    background: var(--panel);
}

.cart-item-media {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: var(--panel-2);
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-body {
    display: grid;
    gap: 12px;
}

.cart-item-title {
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.cart-item-meta {
    color: var(--muted);
    font-weight: 700;
}

.cart-item-actions {
    gap: 14px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
}

.qty-stepper button,
.text-button {
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
}

.qty-stepper button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--panel-2);
}

.cart-summary-panel {
    display: grid;
    gap: 18px;
}

.cart-summary-total strong {
    color: var(--red);
    font-size: 30px;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-media {
        max-width: 220px;
    }
}

.hero,
.page-hero {
    position: relative;
    padding: 84px 0 54px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 38px;
    align-items: center;
}

.hero-copy,
.page-hero .container {
    display: grid;
    gap: 20px;
}

.eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(217, 37, 29, 0.2);
    border-radius: 999px;
    padding: 8px 12px;
    color: var(--red);
    background: rgba(217, 37, 29, 0.08);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(217, 37, 29, 0.12);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 980px;
    margin-bottom: 0;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

h2 {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
    letter-spacing: -0.04em;
}

h3 {
    line-height: 1.12;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-copy p,
.page-hero p {
    max-width: 680px;
    font-size: 18px;
}

.hero-actions,
.detail-actions {
    flex-wrap: wrap;
    gap: 12px;
}

.primary-button,
.secondary-button,
.small-button,
.save-button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 0 20px;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button,
.small-button {
    border: 0;
    color: white;
    background: linear-gradient(180deg, #ef443b, var(--red-dark));
    box-shadow: 0 16px 30px rgba(217, 37, 29, 0.22);
}

.secondary-button,
.save-button {
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--panel);
}

.save-button {
    min-height: 40px;
    padding: 0 14px;
    cursor: pointer;
}

.save-button.saved {
    color: white;
    border-color: var(--charcoal);
    background: var(--charcoal);
}

.primary-button:hover,
.secondary-button:hover,
.small-button:hover,
.save-button:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.full {
    width: 100%;
}

.hero-card {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: end;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(17, 17, 17, 0.04), transparent),
        var(--panel);
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float {
    position: absolute;
    left: 22px;
    bottom: 22px;
    max-width: 280px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    color: white;
    background: rgba(17, 17, 17, 0.76);
    backdrop-filter: blur(12px);
}

.hero-float strong {
    display: block;
    font-size: 42px;
}

.section {
    padding: 58px 0;
}

.muted-section {
    background: rgba(255, 255, 255, 0.45);
}

.category-grid,
.listing-grid,
.account-grid,
.detail-content-grid {
    display: grid;
    gap: 20px;
}

.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.content-panel,
.filters-panel,
.listing-card,
.auth-card,
.gallery-panel,
.detail-summary,
.results-bar,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
}

.category-card {
    min-height: 260px;
    display: grid;
    align-content: end;
    padding: 26px;
}

.category-card span,
.seller,
.mini-specs span,
.spec-list span,
.variation-list span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-card.accent {
    color: white;
    background:
        linear-gradient(145deg, rgba(217, 37, 29, 0.96), rgba(17, 17, 17, 0.96)),
        var(--charcoal);
}

.category-card.accent p,
.category-card.accent span {
    color: rgba(255, 255, 255, 0.78);
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.text-link {
    color: var(--red);
}

.catalog-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.catalog-layout-wide {
    grid-template-columns: 1fr;
}

.filters-panel {
    position: sticky;
    top: 104px;
    padding: 18px;
}

.filter-form {
    display: grid;
    gap: 14px;
}

.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
}

.filter-heading a {
    color: var(--red);
}

.filter-field {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.filter-field input {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 14px;
    background: var(--panel-2);
}

.filter-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.custom-select {
    position: relative;
}

.select-trigger {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 14px;
    color: var(--ink);
    background: var(--panel-2);
    cursor: pointer;
}

.select-arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-3px);
}

.select-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 380px;
    display: none;
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: 0 22px 54px rgba(17, 17, 17, 0.18);
}

.custom-select.open .select-menu {
    display: block;
}

.select-search {
    position: sticky;
    top: -8px;
    z-index: 1;
    padding: 8px 0;
    background: var(--panel);
}

.select-search input {
    min-height: 42px;
}

.select-option {
    width: 100%;
    display: block;
    border: 0;
    border-radius: 13px;
    padding: 11px 12px;
    text-align: left;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
}

.select-option:hover,
.select-option.active {
    background: rgba(217, 37, 29, 0.09);
}

.select-option.child {
    padding-left: 26px;
}

.select-group-title {
    padding: 12px 12px 6px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-results {
    display: grid;
    gap: 20px;
}

.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.results-bar strong {
    font-size: 30px;
}

.listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-card {
    display: grid;
    overflow: hidden;
    box-shadow: none;
}

.listing-image {
    display: block;
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(217, 37, 29, 0.09), rgba(17, 17, 17, 0.04)),
        #ede8df;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 220ms ease;
}

.listing-card:hover .listing-image img {
    transform: scale(1.025);
}

.listing-body {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.listing-body h3 {
    min-height: 48px;
    margin-bottom: 0;
    font-size: 20px;
}

.listing-body p {
    min-height: 72px;
    margin-bottom: 0;
}

.badge-row {
    flex-wrap: wrap;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 10px;
    color: var(--muted);
    background: var(--panel-2);
    font-size: 12px;
    font-weight: 700;
}

.badge.red {
    color: var(--red);
    border-color: rgba(217, 37, 29, 0.22);
    background: rgba(217, 37, 29, 0.08);
}

.mini-specs,
.spec-list,
.variation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mini-specs div,
.spec-list div,
.variation-list div {
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid rgba(222, 216, 204, 0.76);
    border-radius: 14px;
    padding: 10px;
    background: var(--panel-2);
}

.mini-specs span,
.spec-list span,
.variation-list span {
    font-size: 11px;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.mini-specs strong,
.spec-list strong,
.variation-list strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.22;
}

.mini-specs > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.listing-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(222, 216, 204, 0.7);
}

.price {
    display: block;
    color: var(--red);
    font-size: 24px;
}

.seller {
    display: block;
    margin-top: 3px;
    letter-spacing: 0;
    text-transform: none;
}

.card-actions {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: end;
}

.small-button {
    min-height: 40px;
    padding: 0 14px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pagination a {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    background: var(--panel);
}

.pagination a.active {
    color: white;
    border-color: var(--charcoal);
    background: var(--charcoal);
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 60px 24px;
    text-align: center;
}

.detail-page {
    padding: 54px 0 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.gallery-panel,
.detail-summary,
.content-panel {
    padding: 20px;
}

.main-photo {
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: var(--panel-2);
}

.main-photo img,
.thumb-row img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.thumb-row img {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 6px;
    background: var(--panel-2);
    cursor: pointer;
}

.detail-summary {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 16px;
}

.back-link {
    color: var(--red);
    font-weight: 700;
}

.detail-summary h1 {
    font-size: clamp(34px, 4vw, 58px);
}

.detail-price {
    color: var(--red);
    font-size: 38px;
}

.detail-content-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: start;
}

.rich-text {
    color: var(--muted);
    line-height: 1.75;
}

.rich-text strong,
.rich-text b {
    color: var(--ink);
}

.panel-subtitle {
    margin-top: 28px;
}

.policy-panel {
    max-width: 860px;
    margin: 0 auto;
}

.vendor-toolbar,
.form-layout {
    display: grid;
    gap: 24px;
}

.vendor-toolbar {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
}

.vendor-summary-panel strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.vendor-summary-panel span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.vendor-search-panel {
    display: grid;
    gap: 10px;
}

.vendor-search-label,
.form-field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vendor-search {
    width: 100%;
}

.vendor-grid,
.vendor-doc-list {
    display: grid;
    gap: 22px;
}

.vendor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card,
.blog-article,
.blog-sidebar {
    overflow: hidden;
}

.blog-card-image,
.blog-hero-image {
    background: linear-gradient(135deg, #161616, #2a2a2a);
}

.blog-card-placeholder {
    min-height: 340px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    font-weight: 700;
}

.blog-card-body {
    display: grid;
    gap: 14px;
}

.blog-card-body p,
.blog-sidebar p {
    margin: 0;
    color: var(--muted);
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.blog-article,
.blog-sidebar {
    padding: 24px;
}

.blog-rich-text h2,
.blog-rich-text h3,
.blog-rich-text h4 {
    color: var(--ink);
    margin-top: 1.6em;
}

.blog-rich-text img {
    margin: 1.5rem 0;
    border-radius: 14px;
}

.blog-rich-text a {
    color: var(--red);
    text-decoration: underline;
}

.blog-tag-panel {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.blog-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 14px;
}

.blog-sidebar h2 {
    margin-bottom: 0;
}

.blog-sidebar-actions {
    justify-content: flex-start;
}

.vendor-card,
.vendor-doc-card {
    overflow: hidden;
}

.vendor-card {
    padding: 0;
}

.vendor-card-media {
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.18));
}

.vendor-card-media img,
.vendor-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-card-body {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.vendor-card-body h3 {
    margin-bottom: 0;
    font-size: 28px;
}

.vendor-card-body p {
    margin-bottom: 0;
}

.vendor-card-footer,
.vendor-card-meta,
.form-actions {
    display: flex;
    gap: 14px;
}

.vendor-card-footer {
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

.vendor-card-meta {
    flex-direction: column;
    color: var(--muted);
    font-size: 13px;
}

.vendor-detail-page .main-photo {
    min-height: 420px;
}

.vendor-hero-photo {
    position: relative;
    background:
        linear-gradient(135deg, rgba(8, 21, 40, 0.9), rgba(24, 39, 61, 0.74)),
        #122033;
}

.vendor-hero-logo {
    position: absolute;
    left: 26px;
    bottom: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
    min-height: 88px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: rgba(7, 13, 22, 0.58);
    backdrop-filter: blur(8px);
}

.vendor-hero-logo img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
}

.vendor-doc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vendor-doc-card {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 18px;
    background: var(--panel-2);
}

.notice-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid rgba(200, 155, 69, 0.35);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    color: #7a5a1d;
    background: rgba(200, 155, 69, 0.12);
}

.notice-banner-info {
    border-color: rgba(33, 92, 187, 0.2);
    color: #1f4d9d;
    background: rgba(33, 92, 187, 0.08);
}

.notice-banner-success {
    border-color: rgba(36, 93, 52, 0.24);
    color: #245d34;
    background: rgba(36, 93, 52, 0.09);
}

.form-alert {
    display: grid;
    gap: 8px;
    border-radius: 16px;
    padding: 16px 18px;
}

.form-alert strong {
    color: inherit;
}

.form-alert-list {
    margin: 0;
    padding-left: 18px;
}

.form-alert-error {
    border: 1px solid rgba(159, 23, 18, 0.18);
    color: #9f1712;
    background: #ffe2df;
}

.form-alert-warning {
    border: 1px solid rgba(200, 155, 69, 0.35);
    color: #7a5a1d;
    background: rgba(200, 155, 69, 0.12);
}

.form-alert-info {
    border: 1px solid rgba(33, 92, 187, 0.2);
    color: #1f4d9d;
    background: rgba(33, 92, 187, 0.08);
}

.form-alert-success {
    border: 1px solid rgba(36, 93, 52, 0.24);
    color: #245d34;
    background: rgba(36, 93, 52, 0.09);
}

.native-form,
.form-grid {
    display: grid;
    gap: 18px;
}

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

.form-field {
    display: grid;
    gap: 10px;
}

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

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    color: var(--ink);
    background: var(--panel);
    outline: none;
}

.form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: rgba(159, 23, 18, 0.42);
    box-shadow: 0 0 0 4px rgba(159, 23, 18, 0.08);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(217, 37, 29, 0.4);
    box-shadow: 0 0 0 4px rgba(217, 37, 29, 0.08);
}

.form-actions {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-help {
    color: var(--muted);
    font-size: 14px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.info-page-grid,
.info-page-columns,
.faq-list {
    display: grid;
    gap: 22px;
}

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

.info-page-card {
    display: grid;
    gap: 18px;
}

.info-page-card h2,
.info-page-card h3,
.faq-item summary {
    margin-bottom: 0;
}

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

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    padding: 22px 24px;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    font-size: 28px;
    line-height: 1;
    color: var(--red);
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-answer {
    padding: 0 24px 24px;
}

.faq-answer p {
    margin-bottom: 0;
}

.primary-button.is-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: none;
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    border-radius: 20px;
    padding: 18px;
    color: white;
    background: var(--charcoal);
}

.auth-section {
    min-height: calc(100vh - 82px);
    display: grid;
    place-items: center;
    padding: 60px 16px;
}

.auth-card {
    width: min(520px, 100%);
    display: grid;
    gap: 18px;
    padding: 28px;
}

.auth-card.wide {
    width: min(780px, 100%);
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-form.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 700;
}

.auth-form input {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0 14px;
    background: var(--panel-2);
}

.span-2 {
    grid-column: span 2;
}

.notice,
.error-box {
    border-radius: 16px;
    padding: 12px 14px;
}

.notice {
    color: #245d34;
    background: #e1f4e6;
}

.error-box {
    color: #9f1712;
    background: #ffe2df;
}

.auth-alt a {
    color: var(--red);
    font-weight: 700;
}

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

.table-wrap {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    border-bottom: 1px solid var(--line);
    padding: 14px 12px;
    text-align: left;
}

.site-footer {
    margin-top: 36px;
    padding: 56px 0 26px;
    color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(180deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.98)),
        url("/assets/footer-bg.png") center / cover;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 28px;
}

.footer-grid p,
.footer-grid a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid a {
    display: block;
    margin: 10px 0;
}

.footer-grid h3 {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 1120px) {
    .header-inner {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .main-nav,
    .header-actions {
        grid-column: 1 / -1;
        display: none;
        width: 100%;
    }

    .main-nav.open,
    .header-actions.open {
        display: flex;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .global-search {
        width: 100%;
    }

    .hero-grid,
    .catalog-layout,
    .detail-grid,
    .detail-content-grid,
    .blog-detail-layout,
    .vendor-toolbar,
    .form-layout,
    .form-grid,
    .info-page-grid,
    .info-page-columns,
    .vendor-grid,
    .vendor-doc-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .filters-panel,
    .detail-summary,
    .blog-sidebar {
        position: static;
    }

    .listing-grid,
    .listing-grid.compact,
    .category-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 22px, var(--container));
    }

    .hero,
    .page-hero {
        padding-top: 50px;
    }

    h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .hero-card {
        min-height: 360px;
    }

    .listing-grid,
    .listing-grid.compact,
    .blog-grid,
    .category-grid,
    .account-grid,
    .auth-form.two-col,
    .mini-specs,
    .spec-list,
    .variation-list {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .results-bar,
    .split-heading,
    .listing-footer,
    .cta-strip,
    .form-actions,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .thumb-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Final native homepage parity pass. */
.site-header .hdd-like-top {
    width: min(1240px, calc(100% - 32px));
    min-height: 92px;
    grid-template-columns: 250px minmax(0, 1fr);
}

.site-header .hdd-like-top .brand,
.site-header .hdd-like-top .header-actions {
    margin-top: 0;
    transform: translateY(8px);
}

.site-header .hdd-like-top .brand,
.site-header .hdd-like-top .brand img {
    width: 250px;
    height: 84px;
    object-fit: contain;
}

.site-header .hdd-like-top .global-search {
    width: min(730px, 100%);
}

.site-header .hdd-like-top .main-nav {
    transform: translateY(4px);
}

.home-slide-content {
    transform: translateY(7px);
}

.home-slide-art {
    transform: translateX(150px);
}

.home-slide-art img {
    max-width: min(455px, 100%);
}

@media (max-width: 1120px) {
    .site-header .hdd-like-top {
        width: min(100% - 32px, 1180px);
        min-height: 82px;
        grid-template-columns: auto auto;
    }

    .site-header .hdd-like-top .brand,
    .site-header .hdd-like-top .header-actions,
    .site-header .hdd-like-top .main-nav,
    .home-slide-content,
    .home-slide-art {
        transform: none;
    }

    .site-header .hdd-like-top .brand,
    .site-header .hdd-like-top .brand img {
        width: 162px;
        height: 64px;
    }
}

/* Phase 2 homepage, editorial, form, vendor, and 404 finish. */
.home-launch-strip,
.home-final-cta-band {
    padding-top: 14px;
}

.home-launch-grid,
.home-final-cta-panel,
.context-summary-panel,
.blog-index-cta-panel,
.polished-policy-panel,
.vendor-storefront-summary {
    border: 1px solid rgba(18, 24, 31, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(18, 24, 31, 0.08);
}

.home-launch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 26px;
    align-items: center;
    padding: 28px;
}

.home-launch-copy h2,
.home-final-cta-panel h2,
.blog-index-cta-panel h2,
.polished-policy-panel h2 {
    margin-bottom: 10px;
}

.home-final-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    padding: 30px 34px;
}

.home-final-cta-panel > div:first-child {
    display: grid;
    gap: 12px;
    align-content: center;
}

.home-launch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.home-category-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-note-card {
    border: 1px solid rgba(18, 24, 31, 0.08);
    border-radius: 8px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff, #f5f7f9);
    box-shadow: 0 12px 28px rgba(18, 24, 31, 0.07);
}

.home-note-card span,
.policy-point-card span,
.blog-sidebar-points span,
.context-summary-grid span,
.vendor-storefront-summary span {
    display: block;
    margin-bottom: 8px;
    color: #636c76;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-note-card p,
.policy-point-card p,
.blog-sidebar-points strong,
.vendor-storefront-summary strong {
    margin: 0;
}

.premium-blog-grid {
    margin-bottom: 22px;
}

.premium-blog-card .listing-body {
    gap: 16px;
}

.premium-blog-card .listing-body h3 {
    min-height: 0;
    font-size: 24px;
    line-height: 1.2;
}

.premium-blog-card .listing-body p {
    color: #4f5963;
}

.blog-card-placeholder {
    min-height: 260px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #15181d, #2c3138);
}

.blog-card-placeholder span {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
}

.blog-tag-row span {
    background: #f4f6f8;
}

.blog-index-cta-panel,
.context-summary-panel,
.polished-policy-panel {
    padding: 24px;
}

.blog-article-summary {
    margin-bottom: 24px;
    border-left: 4px solid #d70501;
    padding: 2px 0 2px 18px;
}

.blog-article-summary p {
    margin-bottom: 0;
    color: #4f5963;
    font-size: 17px;
}

.blog-sidebar-points,
.policy-point-list {
    display: grid;
    gap: 14px;
    margin: 18px 0 22px;
}

.blog-sidebar-points div,
.policy-point-card {
    border: 1px solid rgba(18, 24, 31, 0.08);
    border-radius: 8px;
    padding: 14px 16px;
    background: #f8f9fb;
}

.form-side-intro {
    margin-bottom: 18px;
    color: #4f5963;
}

.context-summary-panel {
    margin: 18px 0 20px;
}

.context-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.context-summary-grid div,
.vendor-storefront-summary div {
    border: 1px solid rgba(18, 24, 31, 0.08);
    border-radius: 8px;
    padding: 14px 16px;
    background: #f8f9fb;
}

.cta-strip.slim {
    margin-top: 22px;
}

.vendor-storefront-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
}

.error-hero .container {
    max-width: 780px;
}

.error-badges {
    justify-content: center;
    margin: 18px 0 8px;
}

.polished-policy-panel {
    max-width: 980px;
}

.policy-point-list {
    margin-top: 24px;
}

.policy-point-card {
    background: linear-gradient(180deg, #ffffff, #f6f8fa);
}

.page-hero.compact.error-hero {
    padding-bottom: 44px;
}

.page-hero.compact.error-hero h1 {
    margin-bottom: 12px;
}

.page-hero.compact.error-hero .detail-cta-actions {
    justify-content: center;
    margin-top: 22px;
}

.footer-brand img {
    width: 250px;
    max-width: min(250px, 100%);
    max-height: 84px;
}

@media (max-width: 1120px) {
    .home-launch-grid,
    .home-category-note-grid,
    .vendor-storefront-summary,
    .context-summary-grid {
        grid-template-columns: 1fr;
    }

    .home-launch-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .home-launch-grid,
    .blog-index-cta-panel,
    .context-summary-panel,
    .polished-policy-panel {
        padding: 18px;
    }

    .premium-blog-card .listing-body h3 {
        font-size: 21px;
    }

    .blog-card-placeholder {
        min-height: 200px;
    }

    .page-hero.compact.error-hero .detail-cta-actions,
    .home-launch-actions {
        width: 100%;
    }

    .page-hero.compact.error-hero .detail-cta-actions > *,
    .home-launch-actions > * {
        flex: 1 1 100%;
    }
}

/* Phase 1 catalog and marketplace polish */
.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stat-card {
    min-width: 190px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
}

.hero-stat-card strong {
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.hero-stat-card span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.active-filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-strip span,
.detail-inline-meta span,
.listing-location {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    color: #4c5560;
    background: #f2f4f7;
    font-size: 12px;
    font-weight: 800;
}

.listing-card {
    position: relative;
}

.listing-image {
    position: relative;
}

.listing-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(242, 244, 246, 0), rgba(242, 244, 246, 0.92));
    pointer-events: none;
}

.listing-body {
    gap: 15px;
}

.listing-heading {
    display: grid;
    gap: 6px;
}

.listing-heading h3 {
    min-height: 0;
}

.listing-kicker {
    margin: 0;
    color: #5e6671;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.listing-summary {
    min-height: 48px;
    margin: 0;
    color: #515964;
    line-height: 1.55;
}

.listing-price-block {
    display: grid;
    gap: 4px;
}

.seller {
    color: #20252b;
    font-weight: 900;
}

.listing-location {
    width: fit-content;
}

.card-actions .small-button,
.card-actions .quote-button {
    min-width: 118px;
}

.detail-inline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.panel-intro {
    margin-bottom: 14px;
    color: #59616b;
}

.vendor-card-body {
    gap: 14px;
}

.vendor-card-body h3 {
    font-size: 24px;
}

.vendor-card-meta {
    flex-wrap: wrap;
}

.vendor-card-meta span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    color: #4f5964;
    background: #f4f6f8;
    font-size: 12px;
    font-weight: 800;
}

.vendor-card-footer {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.empty-state {
    gap: 12px;
    border-style: dashed;
}

.empty-state h2 {
    margin-bottom: 0;
}

.error-box {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(215, 5, 1, 0.18);
    border-radius: 8px;
    padding: 16px 18px;
    color: #5a2020;
    background: rgba(215, 5, 1, 0.06);
}

.error-box p {
    margin: 0;
    color: inherit;
}

.thumb-row img {
    background: linear-gradient(180deg, #fbfbfc, #eef1f4);
}

.main-photo {
    background:
        radial-gradient(circle at top right, rgba(215, 5, 1, 0.08), transparent 34%),
        #f5f7f9;
}

.main-photo img,
.thumb-row img,
.vendor-card-media img,
.vendor-hero-photo img {
    color: transparent;
}

.results-bar span {
    color: #59616b;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .page-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-card-footer {
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .page-hero-stats {
        grid-template-columns: 1fr;
    }

    .results-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .listing-summary {
        min-height: 0;
    }

    .listing-price-block,
    .vendor-card-footer,
    .vendor-card-meta {
        width: 100%;
    }

    .card-actions {
        justify-content: stretch;
    }

    .card-actions .small-button,
    .card-actions .quote-button {
        width: 100%;
    }

    .detail-inline-meta span,
    .active-filter-strip span,
    .listing-location {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Native homepage parity overrides. */
.site-header .hdd-like-top {
    width: min(1180px, calc(100% - 32px));
    min-height: 78px;
    grid-template-columns: 164px minmax(0, 1fr);
}

.site-header .hdd-like-top .brand {
    width: 164px;
    height: 58px;
    margin-top: 10px;
}

.site-header .hdd-like-top .brand img {
    width: 164px;
    height: 58px;
    object-fit: contain;
}

.site-header .hdd-like-top .global-search {
    width: min(730px, 100%);
}

.site-header .hdd-like-top .header-actions {
    justify-content: start;
    margin-top: 10px;
}

.home-slide-content {
    transform: translateY(-14px);
}

.home-slide-art {
    transform: translateX(130px);
}

.home-slide-art img {
    max-width: min(455px, 100%);
}

@media (max-width: 1120px) {
    .site-header .hdd-like-top {
        width: min(100% - 32px, 1180px);
        min-height: 82px;
        grid-template-columns: auto auto;
    }

    .site-header .hdd-like-top .brand,
    .site-header .hdd-like-top .brand img {
        width: 162px;
        height: 64px;
    }

    .home-slide-content,
    .home-slide-art {
        transform: none;
    }
}

/* Phase 2C correction: native homepage/header parity with original export */
.hdd-like-top {
    width: min(1180px, calc(100% - 32px));
    min-height: 78px;
    grid-template-columns: 164px minmax(0, 1fr);
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hdd-like-top .brand img {
    width: 164px;
    height: 58px;
    object-fit: contain;
}

.hdd-like-top .nav-toggle {
    grid-column: 2;
    grid-row: 1;
}

.hdd-like-top .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: start;
}

.hdd-like-top .global-search {
    width: min(730px, 100%);
    border-radius: 6px;
}

.hdd-like-top .main-nav {
    grid-column: 1 / -1;
}

.site-header .hdd-like-nav {
    min-height: 46px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 18px;
}

.hdd-like-nav a,
.hdd-like-nav .mega-trigger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    color: #ffffff;
    background: transparent;
    padding: 0;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.mega-trigger::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.site-phone {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    color: #ffffff;
    background: #d70501;
    border-radius: 4px;
    font-weight: 900;
    white-space: nowrap;
}

.mega-menu {
    position: absolute;
    z-index: 1200;
    top: 100%;
    left: 50%;
    width: min(1120px, calc(100% - 32px));
    display: none;
    transform: translateX(-50%) translateY(-8px);
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease;
}

.mega-menu.open {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
    background: #ffffff;
}

.mega-menu-rail {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, #d70501, #111111);
}

.mega-menu-rail span {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mega-menu-rail strong {
    font-size: 24px;
    line-height: 1.1;
}

.mega-menu-rail a {
    color: #ffffff;
    font-weight: 900;
    text-decoration: underline;
}

.mega-menu-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 24px;
}

.mega-menu-group h3 {
    color: #d70501;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mega-menu-group a {
    display: block;
    border-bottom: 1px solid #eeeeee;
    padding: 10px 0;
    color: #151515;
    font-weight: 800;
}

.equipment-mega-menu {
    width: min(1126px, calc(100vw - 40px));
    max-height: calc(100vh - 190px);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 0 35px 10px rgba(0, 0, 0, 0.3);
    overflow: auto;
}

.equipment-mega-shell {
    padding: 20px;
    color: #000000;
}

.equipment-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px;
    border-bottom: 1px solid #f4f6f5;
}

.equipment-mega-head p,
.equipment-mega-section-head p,
.equipment-mega-count span {
    margin: 0;
    color: #65686b;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.equipment-mega-head h2 {
    margin: 0;
    color: #000000;
    font-family: Impact, "Arial Black", "HDD Lato", sans-serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.equipment-mega-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    color: #ffffff !important;
    background: #ff1313;
    border: 0;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.equipment-mega-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.equipment-mega-body {
    height: 371px;
    min-height: 371px;
    display: flex;
    align-items: stretch;
    background: #f9fafc;
}

.equipment-mega-categories {
    flex: 0 0 365px;
    width: 365px;
    max-width: 365px;
    max-height: 371px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border-right: 1px solid #f4f6f5;
    overflow: auto;
}

.equipment-category-card {
    min-height: 68px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 8px;
    color: #000000;
    border-left: 1px solid transparent;
    border-radius: 10px;
    text-align: left;
}

.equipment-category-card:hover,
.equipment-category-card:focus-visible {
    border-left-color: #ff1313;
    outline: 0;
    background: #ffffff;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.25);
}

.equipment-category-card img {
    width: 64px;
    height: 50px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    background: #f4f6f5;
}

.equipment-category-card.image-failed::before {
    content: "";
    width: 64px;
    height: 50px;
    display: block;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 19, 19, 0.18), transparent 55%),
        #eef0f2;
}

.equipment-category-card span,
.equipment-manufacturer-card span {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.equipment-category-card strong,
.equipment-manufacturer-card strong {
    color: #000000;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.equipment-category-card small,
.equipment-manufacturer-card span {
    margin-top: 3px;
    color: #65686b;
    font-size: 12px;
    line-height: 1.25;
}

.equipment-mega-manufacturers {
    flex: 1 1 auto;
    min-width: 0;
    height: 371px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.equipment-mega-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 15px;
    border-bottom: 1px solid #f4f6f5;
}

.equipment-mega-section-head h3 {
    margin: 0;
    color: #000000;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
}

.equipment-mega-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px;
}

.equipment-mega-count strong {
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #f4f6f5;
    color: #000000;
    font-size: 12px;
    line-height: 1;
}

.equipment-manufacturer-grid {
    min-height: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(135px, 1fr));
    grid-auto-rows: minmax(74px, auto);
    gap: 10px;
    padding: 0 15px 15px;
    overflow: auto;
}

.equipment-manufacturer-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px;
    color: #000000;
    border: 1px solid #f0f1f2;
    border-radius: 10px;
    background: #ffffff;
    text-align: left;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.equipment-manufacturer-card:hover,
.equipment-manufacturer-card:focus-visible {
    border-color: #ff1313;
    outline: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.home-slider {
    position: relative;
    min-height: 628px;
    overflow: hidden;
    color: #ffffff;
    background: #000000;
}

.home-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
    align-items: center;
    padding: 0 max(60px, calc((100vw - 1320px) / 2));
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
}

.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.home-slide-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, 0.9) 0 35%, rgba(215, 5, 1, 0.62) 35% 58%, rgba(0, 0, 0, 0.72) 58%),
        url("/assets/hero-products.png") center / cover;
}

.home-slide-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/hero-products.png") 100% 50px / 1040px 482px no-repeat;
    opacity: 1;
    mix-blend-mode: screen;
}

.home-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/hero-products.png") 566px -14px / 1198px 674px no-repeat;
    opacity: 0.78;
    mix-blend-mode: screen;
}

.home-slide-content,
.home-slide-art {
    position: relative;
    z-index: 1;
}

.home-slide-content {
    display: grid;
    gap: 24px;
    align-content: center;
    padding-top: 8px;
}

.home-slide-content span,
.hdd-kicker {
    color: #ff1313;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.home-slide-content h1 {
    max-width: 500px;
    color: #ffffff;
    font-family: Impact, "Arial Black", "HDD Lato", sans-serif;
    font-size: 72px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
    transform: none;
    transform-origin: left top;
}

.home-slide-content p {
    max-width: 510px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.38;
    font-weight: 700;
}

.hdd-red-button {
    width: fit-content;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    color: #ffffff;
    background: #ff1313;
    font-size: 16px;
    font-weight: 900;
}

.home-slide-art {
    height: 510px;
    display: grid;
    place-items: center;
}

.home-slide-art img {
    max-width: min(545px, 100%);
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.46));
}

.slider-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    color: #111111;
    background: rgba(255, 255, 255, 0.78);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.slider-arrow.prev { left: 6px; }
.slider-arrow.next { right: 6px; }

.slider-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 13px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dots button {
    width: 28px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.slider-dots button.is-active {
    background: #ff1313;
}

.hdd-home-section {
    padding: 42px 0 48px;
    background: #ffffff;
}

.hdd-home-section h2,
.hdd-benefits h2,
.hdd-supplier-band h2 {
    font-family: Impact, "Arial Black", "HDD Lato", sans-serif;
    font-size: clamp(42px, 4vw, 58px);
    letter-spacing: 0;
    text-transform: uppercase;
}

.hdd-red-rule {
    width: 100%;
    max-width: 1286px;
    height: 13px;
    margin: 16px 0 28px;
    background: linear-gradient(90deg, #ff1313 0 40%, #e4e4e4 40%);
}

.hdd-red-rule.small {
    max-width: 520px;
    height: 8px;
}

.hdd-category-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.hdd-category-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 0.85fr) minmax(220px, 1.15fr);
    align-items: stretch;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    padding: 34px 34px 28px;
    text-decoration: none;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.hdd-category-card.light {
    background: #f2f2f2;
    color: #111111;
}

.hdd-category-card.dark {
    border-color: #080808;
    background: #050505;
    color: #ffffff;
}

.hdd-category-card:hover,
.hdd-category-card:focus-visible {
    border-color: #ff1313;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.hdd-category-card:nth-child(1),
.hdd-category-card:nth-child(2),
.hdd-category-card:nth-child(6),
.hdd-category-card:nth-child(7) {
    grid-column: span 6;
}

.hdd-category-card:nth-child(3),
.hdd-category-card:nth-child(5) {
    grid-column: span 5;
    min-height: 320px;
}

.hdd-category-card:nth-child(4) {
    grid-column: span 2;
    min-height: 320px;
    grid-template-columns: 1fr;
    padding: 26px 22px 18px;
}

.hdd-category-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
}

.hdd-category-copy h3 {
    margin: 0;
    font-family: Impact, "Arial Black", "HDD Lato", sans-serif;
    font-size: 45px;
    line-height: 0.94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hdd-category-card:nth-child(4) .hdd-category-copy h3 {
    font-size: 34px;
    line-height: 0.92;
    max-width: 100%;
    word-break: keep-all;
}

.hdd-category-button {
    display: inline-flex;
    min-width: 154px;
    justify-content: center;
    align-items: center;
    padding: 14px 20px;
    background: #ff1d1d;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.hdd-category-image-wrap {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 100%;
    padding-left: 0;
    overflow: hidden;
}

.hdd-category-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 270px;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.12));
}

.hdd-category-card:nth-child(1) img {
    max-height: 332px;
    transform: translateX(26px) translateY(10px);
}

.hdd-category-card:nth-child(4) .hdd-category-image-wrap {
    justify-content: center;
    align-items: flex-end;
}

.hdd-category-card:nth-child(4) img {
    width: 100%;
    height: auto;
    max-width: 164px;
    max-height: 168px;
    object-position: center bottom;
    transform: translateY(4px);
}

.hdd-category-card:nth-child(4) .hdd-category-image-wrap {
    padding-left: 0;
}

.hdd-category-card:nth-child(4) img,
.hdd-category-card:nth-child(6) img {
    background: transparent;
}

.hdd-category-card:nth-child(7) img {
    max-height: 292px;
    object-position: center bottom;
    transform: translateY(8px);
}

.hdd-supplier-band {
    padding: 66px 0;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.72)),
        url("/assets/footer-bg.png") center / cover;
}

.supplier-grid,
.sell-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
    gap: 44px;
    align-items: center;
}

.supplier-grid span {
    color: #ff1313;
    font-weight: 900;
}

.supplier-grid p,
.sell-grid p {
    color: inherit;
    font-size: 18px;
}

.supplier-grid img,
.sell-grid img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
}

.sell-equipment {
    background: #f7f7f7;
}

.sell-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.sell-points span {
    border: 1px solid #dddddd;
    padding: 10px 12px;
    background: #ffffff;
    font-weight: 900;
}

.hdd-benefits {
    padding: 58px 0;
    color: #ffffff;
    background: #090909;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.benefit-card {
    min-height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.benefit-card strong {
    color: #ff1313;
    font-size: 20px;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1120px) {
    .hdd-like-top {
        width: min(100% - 32px, 1180px);
        grid-template-columns: auto auto;
    }

    .hdd-like-top .header-actions,
    .hdd-like-top .main-nav {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .site-header .hdd-like-nav.open {
        display: grid;
        grid-template-columns: 1fr;
    }

    .mega-menu {
        position: static;
        width: calc(100% - 32px);
        margin: 0 auto 14px;
        transform: none;
    }

    .mega-menu.open {
        transform: none;
    }

    .equipment-mega-menu {
        position: fixed;
        top: 16px;
        left: 50%;
        width: calc(100% - 32px);
        max-height: calc(100vh - 32px);
        margin: 0;
        transform: translateX(-50%);
        z-index: 1400;
    }

    .equipment-mega-menu.open {
        transform: translateX(-50%);
    }

    .equipment-mega-categories {
        flex-basis: 320px;
        width: 320px;
        max-width: 320px;
    }

    .equipment-manufacturer-grid {
        grid-template-columns: repeat(2, minmax(135px, 1fr));
    }

    .mega-menu-inner,
    .home-slide,
    .supplier-grid,
    .sell-grid {
        grid-template-columns: 1fr;
    }

    .home-slider,
    .home-slide {
        min-height: 720px;
    }

    .home-slide {
        padding: 32px 24px;
    }

    .home-slide-art {
        height: 290px;
    }

    .hdd-category-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hdd-category-card,
    .hdd-category-card:nth-child(1),
    .hdd-category-card:nth-child(2),
    .hdd-category-card:nth-child(3),
    .hdd-category-card:nth-child(4),
    .hdd-category-card:nth-child(5),
    .hdd-category-card:nth-child(6),
    .hdd-category-card:nth-child(7) {
        grid-column: span 1;
        min-height: 300px;
    }

    .hdd-category-card:nth-child(4) {
        grid-template-columns: minmax(160px, 0.8fr) minmax(180px, 1fr);
        padding: 34px 30px 24px;
    }

    .hdd-category-copy h3,
    .hdd-category-card:nth-child(4) .hdd-category-copy h3 {
        font-size: clamp(34px, 4vw, 48px);
    }
}

@media (max-width: 720px) {
    .home-slider,
    .home-slide {
        min-height: 650px;
    }

    .home-slide-content h1 {
        font-size: 45px;
    }

    .home-slide-content p {
        font-size: 18px;
    }

    .home-slide-art {
        display: none;
    }

    .hdd-category-grid,
    .benefit-grid,
    .mega-menu-groups {
        grid-template-columns: 1fr;
    }

    .popular-categories .container {
        width: min(100% - 28px, 1180px);
    }

    .popular-categories h2 {
        font-size: clamp(42px, 12vw, 64px);
    }

    .hdd-red-rule {
        height: 10px;
        margin-bottom: 22px;
    }

    .hdd-category-card,
    .hdd-category-card:nth-child(4) {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 26px 24px 18px;
    }

    .hdd-category-copy {
        gap: 20px;
    }

    .hdd-category-copy h3,
    .hdd-category-card:nth-child(4) .hdd-category-copy h3 {
        font-size: clamp(34px, 11vw, 50px);
    }

    .hdd-category-image-wrap {
        min-height: 160px;
        margin-top: 18px;
        justify-content: center;
    }

    .hdd-category-card img,
    .hdd-category-card:nth-child(4) img {
        max-height: 210px;
        object-position: center bottom;
    }

    .equipment-mega-menu {
        max-height: calc(100vh - 130px);
    }

    .equipment-mega-shell {
        padding: 14px;
    }

    .equipment-mega-head,
    .equipment-mega-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .equipment-mega-body {
        height: auto;
        min-height: 0;
        flex-direction: column;
    }

    .equipment-mega-categories {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        max-height: none;
        border-right: 0;
    }

    .equipment-mega-manufacturers {
        height: auto;
        min-height: 280px;
        max-height: 420px;
        border-top: 1px solid #f4f6f5;
    }

    .equipment-manufacturer-grid {
        grid-template-columns: 1fr;
    }
}

.home-hero {
    position: relative;
    overflow: hidden;
    min-height: 630px;
    color: #ffffff;
    background: #020202;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 48%, rgba(215, 5, 1, 0.36), transparent 24rem),
        linear-gradient(135deg, transparent 0 42%, rgba(215, 5, 1, 0.78) 42% 58%, transparent 58%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62)),
        url("/assets/footer-bg.png") center / cover;
    opacity: 0.98;
}

.home-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 70%);
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    min-height: 630px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: 40px;
    align-items: center;
}

.home-hero-copy {
    display: grid;
    gap: 20px;
    padding: 46px 0;
}

.home-hero h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(46px, 5.8vw, 82px);
    line-height: 1.03;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.home-hero p {
    max-width: 670px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
}

.home-hero .global-search {
    width: min(720px, 100%);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.home-hero-media {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58)),
        url("/assets/hero-products.png") center / cover;
}

.home-hero-media img {
    width: min(100%, 720px);
    max-height: 500px;
    object-fit: contain;
    padding: 20px;
    filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.56));
}

.hero-stat {
    position: absolute;
    right: 8%;
    bottom: 8%;
    max-width: 245px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(10px);
}

.hero-stat strong {
    display: block;
    color: #d70501;
    font-size: 34px;
    line-height: 1;
}

.hero-stat span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.secondary-button.dark {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.home-category-section {
    background: #ffffff;
}

.home-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-value-card {
    min-height: 190px;
    display: grid;
    align-content: end;
    gap: 12px;
    border: 1px solid #e0e3e6;
    border-radius: 8px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(215, 5, 1, 0.05), transparent 45%),
        #ffffff;
    box-shadow: 0 10px 28px rgba(18, 24, 31, 0.08);
    transition: transform 160ms ease, border-color 160ms ease;
}

.home-value-card:hover {
    border-color: rgba(215, 5, 1, 0.28);
    transform: translateY(-3px);
}

.home-value-card span {
    color: #d70501;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-value-card p {
    margin: 0;
    color: #3e454d;
    font-weight: 700;
}

.home-empty {
    grid-column: 1 / -1;
}

.home-sell-band {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(114, 9, 15, 0.96), rgba(180, 16, 24, 0.9)),
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
        radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.08), transparent 28%),
        repeating-linear-gradient(
            -18deg,
            rgba(255, 255, 255, 0.04) 0,
            rgba(255, 255, 255, 0.04) 2px,
            transparent 2px,
            transparent 22px
        ),
        linear-gradient(180deg, rgba(52, 6, 10, 0.2), rgba(22, 3, 5, 0.18));
    position: relative;
    overflow: hidden;
}

.home-sell-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 34%, rgba(255, 255, 255, 0.09), transparent 18%),
        radial-gradient(circle at 72% 62%, rgba(0, 0, 0, 0.18), transparent 22%),
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 9px
        );
    opacity: 0.75;
    pointer-events: none;
}

.home-sell-band > .container {
    position: relative;
    z-index: 1;
}

.home-sell-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
    gap: 56px;
    align-items: end;
}

.home-sell-copy {
    max-width: 680px;
    display: grid;
    gap: 18px;
    margin: 0;
    text-align: left;
}

.home-sell-grid h2,
.finance-panel h2,
.process-panel h2,
.home-final-cta h2 {
    color: inherit;
}

.home-sell-grid p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
    margin: 0;
}

.home-bullet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
    margin: 0;
}

.home-bullet-grid span {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.06);
    text-align: left;
    font-weight: 900;
}

.home-sell-grid img {
    width: min(100%, 660px);
    height: auto;
    justify-self: end;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.38));
}

.finance-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
    gap: 24px;
}

.finance-panel,
.process-panel {
    border: 1px solid #e0e3e6;
    border-radius: 8px;
    padding: 26px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(18, 24, 31, 0.08);
}

.process-panel {
    display: grid;
    gap: 18px;
}

.finance-panel {
    background:
        linear-gradient(135deg, rgba(215, 5, 1, 0.08), transparent 50%),
        #ffffff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.process-steps div {
    min-height: 112px;
    display: grid;
    align-content: space-between;
    border: 1px solid #e0e3e6;
    border-radius: 8px;
    padding: 14px;
    background: #f7f8fa;
}

.home-search-copy-panel {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 34px;
    border: 1px solid rgba(215, 5, 1, 0.12);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(215, 5, 1, 0.08), rgba(255, 255, 255, 0.94) 58%),
        #ffffff;
    box-shadow: 0 10px 28px rgba(18, 24, 31, 0.08);
}

.home-process-panel {
    padding: 30px;
}

.home-process-panel h2 {
    margin-bottom: 4px;
}

.home-process-panel .process-steps div {
    min-height: 140px;
    padding: 22px 18px;
}

.process-steps strong {
    color: #d70501;
    font-size: 28px;
}

.process-steps span {
    color: #171717;
    font-weight: 900;
}

.home-final-cta {
    padding-top: 10px;
}

.home-inline-actions {
    justify-content: center;
}

@media (max-width: 1120px) {
    .home-hero,
    .home-hero-grid {
        min-height: auto;
    }

    .home-hero-grid,
    .home-sell-grid,
    .finance-process-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-media {
        min-height: 330px;
        padding-bottom: 28px;
    }

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

@media (max-width: 720px) {
    .home-hero h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .home-hero p {
        font-size: 17px;
    }

    .home-value-grid,
    .home-bullet-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .home-hero-media {
        min-height: 240px;
    }

    .hero-stat {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }
}

/* Native Laravel catalog foundation */
body {
    background:
        linear-gradient(180deg, #ffffff 0%, #f5f6f7 46%, #eceff1 100%);
}

body::before {
    display: none;
}

.site-header {
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #000000;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
}

.header-inner {
    min-height: 96px;
    width: min(1280px, calc(100% - 32px));
    grid-template-columns: auto minmax(0, 1fr) minmax(300px, 0.68fr);
    gap: 16px;
}

.brand img {
    width: 176px;
    height: auto;
}

.main-nav {
    justify-content: flex-start;
    gap: 4px;
}

.main-nav a,
.login-link {
    min-height: 44px;
    border-radius: 8px;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active,
.login-link:hover {
    color: #ffffff;
    background: rgba(217, 5, 1, 0.18);
}

.main-nav a.nav-cta {
    color: #ffffff;
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: #d70501;
}

.nav-icon-image {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.18));
}

.nav-icon-image-equipment {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
}

.header-actions {
    min-width: 0;
}

.global-search {
    width: min(360px, 100%);
    grid-template-columns: 42px minmax(0, 1fr) auto;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #ffffff;
}

.global-search.compact {
    width: 100%;
}

.search-glyph {
    display: grid;
    place-items: center;
}

.search-glyph svg {
    width: 18px;
    height: 18px;
    fill: #7b818a;
}

.global-search input {
    min-height: 46px;
    padding: 0 10px 0 0;
    font-weight: 700;
}

.global-search button {
    height: 40px;
    margin-right: 3px;
    border-radius: 6px;
    background: #d70501;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.login-link {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.account-button {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
    background: #ffffff;
}

.page-hero {
    padding: 54px 0 34px;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.78)),
        linear-gradient(135deg, #20242a, #0a0a0a);
}

.page-hero h1 {
    max-width: 840px;
    font-size: clamp(36px, 4.6vw, 62px);
    letter-spacing: -0.035em;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 880px;
    font-size: 21px;
    line-height: 1.6;
}

.catalog-nav-band {
    border-bottom: 1px solid #e2e5e8;
    background:
        linear-gradient(180deg, #ffffff, #f7f7f8);
}

.category-nav {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 0;
}

.category-nav a {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(215, 5, 1, 0.16);
    border-radius: 14px;
    color: #1f242b;
    background: #ffffff;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(18, 24, 31, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.category-nav a:hover,
.category-nav a.active {
    color: #d70501;
    border-color: rgba(215, 5, 1, 0.34);
    background: linear-gradient(180deg, rgba(215, 5, 1, 0.04), rgba(215, 5, 1, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(18, 24, 31, 0.1);
}

.category-nav svg {
    width: 22px;
    height: 22px;
    fill: #d70501;
}

.catalog-section {
    padding-top: 32px;
}

.filters-panel,
.listing-card,
.gallery-panel,
.detail-summary,
.content-panel,
.results-bar,
.empty-state {
    border-color: #e0e3e6;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(18, 24, 31, 0.08);
}

.filters-panel {
    top: 116px;
    padding: 16px;
}

.filter-heading span {
    font-size: 18px;
    font-weight: 900;
}

.select-trigger,
.filter-field input {
    border-radius: 8px;
    background: #f7f8fa;
}

.primary-button,
.small-button,
.quote-button {
    color: #ffffff;
    background: #d70501;
    box-shadow: 0 12px 22px rgba(215, 5, 1, 0.2);
}

.quote-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 850;
}

.secondary-button,
.save-button {
    border-color: #d7dce1;
    border-radius: 8px;
}

.listing-grid {
    gap: 18px;
}

.listing-card {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.listing-card:hover {
    border-color: rgba(215, 5, 1, 0.28);
    box-shadow: 0 18px 40px rgba(18, 24, 31, 0.12);
    transform: translateY(-3px);
}

.listing-image {
    background: #f2f4f6;
}

.listing-body {
    gap: 13px;
    padding: 16px;
}

.listing-body h3 {
    min-height: 50px;
    font-size: 18px;
}

.badge {
    border-radius: 6px;
    background: #f7f8fa;
}

.badge.dark {
    color: #ffffff;
    border-color: #111111;
    background: #111111;
}

.mini-specs div,
.spec-list div,
.variation-list div {
    border-radius: 8px;
    background: #f8f9fa;
}

.price {
    color: #d70501;
    font-size: 22px;
}

.card-actions {
    align-items: stretch;
}

.detail-page {
    padding-top: 34px;
}

.detail-summary h1 {
    letter-spacing: -0.035em;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-badges span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 0 10px;
    color: #1f242b;
    background: #eef1f4;
    font-size: 12px;
    font-weight: 850;
}

.vendor-detail-page .spec-list:empty,
.vendor-detail-page .trust-badges:empty {
    display: none;
}

.detail-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    border-radius: 8px;
    padding: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #000000, #1b1b1b);
}

.detail-cta-panel h2 {
    margin-bottom: 8px;
}

.detail-cta-panel p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.site-footer {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 1)),
        url("/assets/footer-bg.png") center / cover;
}

.footer-brand img {
    display: block;
    width: 250px;
    max-width: min(250px, 100%);
    height: auto;
    max-height: 84px;
    margin-bottom: 16px;
    object-fit: contain;
}

@media (max-width: 1120px) {
    .header-inner {
        min-height: 82px;
        grid-template-columns: auto auto;
    }

    .brand img {
        width: 162px;
    }

    .main-nav,
    .header-actions {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 12px;
    }

    .main-nav.open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-nav a {
        justify-content: flex-start;
    }

    .category-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-cta-panel {
        grid-template-columns: 1fr;
    }

    .detail-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .page-hero {
        padding: 38px 0 28px;
    }

    .main-nav.open {
        grid-template-columns: 1fr;
    }

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

    .category-nav a {
        min-height: 58px;
        justify-content: flex-start;
        padding: 0 12px;
    }

    .listing-body h3,
    .listing-body p {
        min-height: 0;
    }

    .card-actions,
    .detail-actions,
    .detail-cta-actions {
        width: 100%;
    }

    .card-actions > *,
    .detail-actions > *,
    .detail-cta-actions > * {
        flex: 1 1 100%;
    }
}

/* Final native homepage parity pass. */
.site-header .hdd-like-top {
    width: min(1180px, calc(100% - 32px));
    min-height: 78px;
    grid-template-columns: 164px minmax(0, 1fr);
}

.site-header .hdd-like-top .brand,
.site-header .hdd-like-top .header-actions {
    margin-top: 0;
    transform: translateY(10px);
}

.site-header .hdd-like-top .brand,
.site-header .hdd-like-top .brand img {
    width: 164px;
    height: 58px;
    object-fit: contain;
}

.site-header .hdd-like-top .global-search {
    width: min(730px, 100%);
}

.site-header .hdd-like-top .main-nav {
    transform: translateY(4px);
}

.site-header .hdd-like-nav {
    position: relative;
    z-index: 1200;
    width: 100vw;
    max-width: 100vw;
    min-height: 52px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 36px;
    border-top: 0;
    border-radius: 0;
    justify-content: center;
    gap: 22px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.site-header .hdd-like-nav a,
.site-header .hdd-like-nav .mega-trigger {
    min-height: 52px;
    color: #111111;
}

.site-header .hdd-like-nav a:hover,
.site-header .hdd-like-nav a.active,
.site-header .hdd-like-nav .mega-trigger:hover,
.site-header .hdd-like-nav .mega-trigger.active {
    color: #d70501;
    background: transparent;
}

.site-header .hdd-like-nav .nav-icon:not(.nav-icon-image) {
    fill: #d70501;
}

.home-slide-art {
    transform: translateX(150px) translateY(3px);
}

.home-slide-content {
    transform: translateY(7px);
}

.home-slide-art img {
    width: 449px;
    height: 449px;
    max-width: min(455px, 100%);
    max-height: 449px;
}

.popular-categories .container {
    width: calc(100% - 120px);
    max-width: none;
}

.popular-categories h2 {
    font-size: 60px;
}

@media (max-width: 1120px) {
    .site-header .hdd-like-top {
        width: min(100% - 32px, 1180px);
        min-height: 82px;
        grid-template-columns: auto auto;
    }

    .site-header .hdd-like-top .brand,
    .site-header .hdd-like-top .header-actions,
    .site-header .hdd-like-top .main-nav,
    .home-slide-content,
    .home-slide-art {
        transform: none;
    }

    .site-header .hdd-like-top .brand,
    .site-header .hdd-like-top .brand img {
        width: 162px;
        height: 64px;
    }

    .site-header .hdd-like-nav {
        width: 100%;
        padding: 0 14px;
        gap: 16px;
    }
}
