:root {
    --ink: #152033;
    --text: #2b3647;
    --muted-text: #657386;
    --line: #d8e2ee;
    --soft: #f3f7fb;
    --soft-blue: #eaf2f9;
    --white: #ffffff;
    --blue: #1767d8;
    --blue-dark: #104d9c;
    --graphite: #182333;
    --netcraze: #0b8a76;
    --netcraze-soft: #e7f6f2;
    --danger: #b3261e;
    --warning: #8a5a00;
    --radius: 8px;
    --shadow: 0 16px 40px rgba(21, 32, 51, 0.12);
    --shadow-soft: 0 8px 22px rgba(21, 32, 51, 0.08);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    color: var(--text);
    background: var(--white);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.58;
    background: var(--white);
}

a {
    color: var(--blue-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--blue);
}

.skip-link:focus {
    top: 12px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: 190px minmax(270px, 1fr) minmax(230px, 300px) minmax(150px, auto) auto;
    gap: 16px;
    align-items: center;
}

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

.brand-logo {
    width: auto;
    max-width: 190px;
    max-height: 58px;
    height: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.main-nav a {
    color: var(--ink);
}

.header-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.header-search input {
    min-height: 40px;
    padding: 9px 11px;
}

.header-search button {
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    color: var(--white);
    background: var(--blue);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.header-search button:hover {
    background: var(--blue-dark);
}

.header-contact {
    display: grid;
    gap: 2px;
    text-align: right;
    font-size: 14px;
}

.header-contact a:first-child {
    color: var(--ink);
    font-weight: 850;
}

.request-counter {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    color: var(--blue-dark);
    background: #f5f9ff;
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
}

.request-counter:hover {
    color: var(--white);
    background: var(--blue);
    text-decoration: none;
}

.hero,
.page-hero {
    color: var(--ink);
    background: linear-gradient(180deg, #eef5fb 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
}

.hero {
    padding: 74px 0 54px;
}

.hero-grid,
.netcraze-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 44px;
    align-items: center;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: 48px;
    line-height: 1.08;
    font-weight: 850;
    letter-spacing: 0;
}

.lead,
.page-hero p {
    max-width: 820px;
    color: var(--text);
    font-size: 19px;
}

.trust-line {
    margin: 18px 0 0;
    color: var(--muted-text);
    font-weight: 750;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-actions,
.product-actions,
.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 26px;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.btn-primary {
    color: var(--white);
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 8px 20px rgba(23, 103, 216, 0.18);
}

.btn-primary:hover {
    color: var(--white);
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    text-decoration: none;
}

.btn-secondary {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue-dark);
    text-decoration: none;
}

.btn-ghost {
    color: var(--blue-dark);
    background: transparent;
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: var(--blue);
    text-decoration: none;
}

.btn-danger {
    color: var(--danger);
    background: var(--white);
    border-color: #f0c8c5;
}

.btn-danger:hover {
    border-color: var(--danger);
    text-decoration: none;
}

.btn-small {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 14px;
}

.hero-panel,
.partner-panel,
.catalog-intro,
.specification-band,
.order-band,
.cta-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.hero-panel {
    display: grid;
    gap: 1px;
    overflow: hidden;
    background: var(--line);
}

.hero-panel div {
    padding: 24px;
    background: var(--white);
}

.hero-panel strong {
    display: block;
    color: var(--ink);
    font-size: 32px;
    line-height: 1.1;
}

.hero-panel span {
    color: var(--muted-text);
}

.section {
    padding: 66px 0;
}

.section-tight {
    padding: 42px 0;
}

.muted {
    background: var(--soft);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 26px;
}

.section-head.vertical {
    display: block;
    margin-bottom: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 16px;
    font-size: 32px;
}

h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

p {
    margin-top: 0;
}

.supply-grid,
.reason-grid,
.products-grid,
.netcraze-models,
.use-case-grid,
.steps-grid {
    display: grid;
    gap: 18px;
}

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

.supply-grid article,
.reason-grid div,
.product-card,
.netcraze-card,
.contact-card,
.contact-form,
.filters,
.empty-state,
.use-case-grid article,
.steps-grid article,
.request-main,
.request-side > *,
.request-empty {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.supply-grid article,
.use-case-grid article,
.steps-grid article {
    min-height: 100%;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.supply-grid p,
.reason-grid span,
.catalog-entry p,
.use-case-grid p,
.steps-grid p {
    color: var(--muted-text);
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 42px;
    align-items: center;
}

.tag-list,
.netcraze-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list span,
.quick-links a,
.brand-strip a,
.netcraze-facts span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-weight: 650;
}

.netcraze-facts span {
    background: var(--netcraze-soft);
    border-color: #c4e6dd;
    color: #075d51;
}

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

.reason-grid div {
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.reason-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 18px;
}

.catalog-entry {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
    gap: 24px;
    align-items: center;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.quick-search {
    display: flex;
    gap: 10px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(23, 103, 216, 0.18);
    border-color: var(--blue);
}

.quick-links,
.brand-strip {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.brand-strip {
    padding-top: 4px;
}

.brand-strip a {
    color: var(--muted-text);
    font-size: 14px;
    background: transparent;
}

.specification-band,
.order-band,
.cta-box {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    padding: 34px;
}

.specification-band p,
.order-band p {
    max-width: 860px;
    color: var(--muted-text);
}

.netcraze-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f7fbff 0%, #eef8f5 100%);
}

.netcraze-home {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 28px;
    align-items: center;
}

.netcraze-home img,
.netcraze-logo {
    width: 180px;
    height: auto;
}

.steps-grid {
    grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.steps-grid article span {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-weight: 850;
}

.cta-box {
    color: var(--white);
    background: var(--graphite);
    border-color: #26364d;
}

.cta-box h2,
.cta-box p {
    color: var(--white);
}

.cta-box .eyebrow {
    color: #9fc6ff;
}

.phone-link {
    color: var(--white);
    font-weight: 850;
}

.page-hero {
    padding: 64px 0;
}

.page-hero.compact {
    padding: 46px 0;
}

.page-hero-inner {
    max-width: 920px;
}

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

.filters {
    position: sticky;
    top: 96px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.filters form {
    display: grid;
    gap: 14px;
}

.filters label {
    display: grid;
    gap: 7px;
    color: var(--muted-text);
    font-size: 14px;
    font-weight: 750;
}

.checkbox-row {
    grid-template-columns: 18px 1fr;
    align-items: center;
}

.checkbox-row input {
    width: 18px;
    min-height: 18px;
}

.catalog-intro {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    padding: 22px;
    margin-bottom: 18px;
}

.catalog-intro h2 {
    font-size: 24px;
}

.catalog-intro p {
    margin: 0;
    color: var(--muted-text);
}

.results-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted-text);
    font-weight: 750;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.category-strip a {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    font-weight: 760;
}

.category-strip a:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
}

.category-strip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-strip small {
    color: var(--muted-text);
    font-weight: 800;
}

.category-strip b {
    color: var(--blue-dark);
    font-size: 14px;
}

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

.product-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: 210px 1fr;
    min-height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: #bdd2ea;
    box-shadow: var(--shadow);
}

.product-image,
.netcraze-image {
    display: grid;
    place-items: center;
    min-width: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
        #eef4f8;
}

.product-image img,
.netcraze-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.product-card-body,
.netcraze-card-body {
    min-width: 0;
    padding: 18px;
    display: grid;
    gap: 10px;
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: start;
}

.product-brand,
.netcraze-card-body > span {
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
}

.availability-pill {
    max-width: 48%;
    padding: 3px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted-text);
    background: var(--soft);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-align: right;
}

.availability-pill.is-in-stock {
    color: #0b6f42;
    background: #ecf8f0;
    border-color: #c9ead5;
}

.product-card h3 {
    font-size: 17px;
}

.product-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-meta {
    display: grid;
    gap: 2px;
    color: var(--muted-text);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.product-bottom {
    margin-top: auto;
    display: grid;
    gap: 3px;
}

.product-bottom strong,
.price-line {
    color: var(--ink);
    font-size: 22px;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.product-bottom small,
.price-note {
    color: var(--muted-text);
    font-size: 13px;
    line-height: 1.4;
}

.price-note {
    margin: -4px 0 8px;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-top: 2px;
}

.text-link {
    color: var(--muted-text);
    font-size: 14px;
    font-weight: 800;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 14px;
    align-items: center;
    margin-top: 28px;
}

.pagination a,
.pagination span {
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.empty-state {
    padding: 34px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    color: var(--muted-text);
    font-size: 14px;
}

.product-page {
    background: var(--soft);
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    padding: 28px 0 52px;
}

.gallery,
.product-summary {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.main-photo {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)),
        #eef4f8;
    border-radius: var(--radius) var(--radius) 0 0;
}

.main-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 12px;
}

.thumbs button {
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
}

.thumbs button:hover {
    border-color: var(--blue);
}

.thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.product-summary {
    padding: 28px;
}

.product-summary h1 {
    margin: 0 0 16px;
    font-size: 34px;
    overflow-wrap: anywhere;
}

.summary-list {
    display: grid;
    gap: 0;
    margin: 22px 0 0;
    border-top: 1px solid var(--line);
}

.summary-list div {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.summary-list dt {
    color: var(--muted-text);
    font-weight: 700;
}

.summary-list dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.qty-control {
    width: 132px;
    display: grid;
    gap: 6px;
    color: var(--muted-text);
    font-size: 13px;
    font-weight: 800;
}

.qty-control input,
.request-qty {
    text-align: center;
    font-weight: 800;
}

.supply-note {
    display: grid;
    gap: 4px;
    margin-top: 20px;
    padding: 16px;
    border: 1px solid #cfe0f2;
    border-radius: var(--radius);
    background: #f4f9ff;
}

.supply-note strong {
    color: var(--ink);
}

.supply-note span {
    color: var(--muted-text);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
    gap: 34px;
    align-items: start;
}

.rich-text p {
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-table th,
.spec-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.spec-table th {
    width: 38%;
    color: var(--muted-text);
    background: var(--soft);
    font-weight: 750;
}

.netcraze-hero {
    background: linear-gradient(180deg, #eef9f6 0%, #ffffff 100%);
}

.netcraze-hero .partner-panel {
    padding: 28px;
    background: var(--graphite);
    border-color: #234056;
    color: var(--white);
}

.netcraze-hero .partner-panel h2,
.netcraze-hero .partner-panel p {
    color: var(--white);
}

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

.netcraze-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: 210px 1fr;
    min-height: 100%;
    box-shadow: var(--shadow-soft);
}

.netcraze-card-body > span {
    color: var(--netcraze);
}

.model-code {
    margin: -4px 0 0;
    color: var(--muted-text);
    font-weight: 800;
}

.netcraze-price-block {
    display: grid;
    gap: 3px;
    padding: 12px;
    border: 1px solid #c4e6dd;
    border-radius: var(--radius);
    background: var(--netcraze-soft);
}

.netcraze-price-block small {
    color: #087363;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.netcraze-price-block strong {
    color: var(--ink);
    font-size: 22px;
    font-weight: 850;
}

.netcraze-price-block span {
    color: #45645f;
    font-size: 13px;
}

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

.netcraze-cta {
    background: #12352f;
    border-color: #1a5a4f;
}

.request-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 28px;
    align-items: start;
}

.request-main {
    min-width: 0;
    overflow: hidden;
}

.request-empty {
    padding: 32px;
    text-align: center;
}

.request-empty[hidden],
.request-table-wrap[hidden],
.request-hint[hidden] {
    display: none;
}

.request-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.request-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
}

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

.request-table th {
    color: var(--muted-text);
    background: var(--soft);
    font-size: 13px;
    font-weight: 850;
}

.request-table td {
    overflow-wrap: anywhere;
}

.request-table th:nth-child(2),
.request-table td:nth-child(2) {
    min-width: 118px;
}

.request-table th:nth-child(3),
.request-table td:nth-child(3) {
    min-width: 320px;
}

.request-table th:nth-child(4),
.request-table td:nth-child(4) {
    min-width: 108px;
}

.request-table th:nth-child(5),
.request-table td:nth-child(5),
.request-table th:nth-child(6),
.request-table td:nth-child(6) {
    min-width: 112px;
    white-space: nowrap;
    overflow-wrap: normal;
}

.request-qty {
    width: 84px;
    min-height: 38px;
}

.icon-button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #f0c8c5;
    border-radius: var(--radius);
    color: var(--danger);
    background: var(--white);
    font: inherit;
    font-size: 20px;
    font-weight: 850;
    cursor: pointer;
}

.icon-button:hover {
    border-color: var(--danger);
}

.request-side {
    display: grid;
    gap: 16px;
}

.request-summary,
.request-contact,
.request-actions {
    padding: 20px;
}

.request-summary h2,
.request-contact h2 {
    font-size: 22px;
}

.request-summary dl {
    display: grid;
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--line);
}

.request-summary dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.request-summary dt {
    color: var(--muted-text);
    font-weight: 800;
}

.request-summary dd {
    margin: 0;
    color: var(--ink);
    font-weight: 850;
}

.request-contact {
    display: grid;
    gap: 12px;
}

.request-contact label {
    display: grid;
    gap: 7px;
    color: var(--muted-text);
    font-size: 14px;
    font-weight: 800;
}

.request-actions {
    display: grid;
    gap: 10px;
}

.request-note,
.request-hint {
    margin: 0;
    padding: 14px 16px;
    color: var(--muted-text);
    font-size: 14px;
    line-height: 1.45;
}

.request-hint {
    border-color: #ead8b8;
    color: var(--warning);
    background: #fff8ea;
}

.rfq-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    max-width: min(360px, calc(100vw - 40px));
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--white);
    background: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.rfq-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-grid,
.status-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 28px;
    align-items: start;
}

.contact-card,
.contact-form {
    padding: 24px;
    display: grid;
    gap: 12px;
    box-shadow: var(--shadow-soft);
}

.contact-card a,
.contact-card span {
    color: var(--ink);
    font-weight: 750;
}

.contact-card .btn {
    color: var(--white);
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 750;
}

.text-page {
    max-width: 1120px;
}

.text-page > p {
    max-width: 920px;
    color: var(--text);
    font-size: 18px;
}

.text-page h2 {
    margin-top: 34px;
}

.log-box {
    min-height: 320px;
    max-height: 620px;
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #111820;
    color: #d8e0e8;
    white-space: pre-wrap;
}

.error-list {
    color: var(--danger);
}

.site-footer {
    padding: 42px 0 24px;
    background: var(--graphite);
    color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 0.75fr 0.85fr;
    gap: 34px;
}

.footer-logo {
    width: auto;
    max-width: 190px;
    max-height: 90px;
    object-fit: contain;
    margin-bottom: 14px;
    background: var(--white);
    border-radius: 6px;
    padding: 6px;
}

.site-footer h3 {
    color: var(--white);
    font-size: 17px;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.84);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: 190px minmax(0, 1fr) auto;
    }

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

    .header-search {
        grid-column: 1 / 3;
    }

    .header-contact {
        grid-column: 3;
        grid-row: 2;
    }

    .request-counter {
        grid-column: 3;
    }
}

@media (max-width: 1024px) {
    .header-inner,
    .hero-grid,
    .netcraze-hero-grid,
    .two-col,
    .catalog-entry,
    .product-layout,
    .detail-grid,
    .contact-grid,
    .status-grid,
    .request-layout,
    .footer-grid,
    .catalog-intro,
    .specification-band,
    .order-band,
    .cta-box,
    .netcraze-home {
        grid-template-columns: 1fr;
    }

    .header-inner,
    .catalog-intro,
    .specification-band,
    .order-band,
    .cta-box {
        display: grid;
    }

    .header-contact {
        grid-column: auto;
        grid-row: auto;
        display: flex;
        gap: 16px;
        justify-content: flex-start;
        text-align: left;
    }

    .request-counter {
        grid-column: auto;
        justify-self: start;
    }

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

    .header-search {
        grid-column: auto;
    }

    .supply-grid,
    .reason-grid,
    .products-grid,
    .netcraze-models,
    .use-case-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .filters {
        position: static;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1280px);
    }

    .site-header {
        position: static;
    }

    .header-inner {
        gap: 14px;
        padding: 14px 0;
    }

    .brand-logo,
    .footer-logo {
        width: 168px;
    }

    .hero,
    .page-hero,
    .section {
        padding: 40px 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 34px;
    }

    .lead,
    .page-hero p {
        font-size: 17px;
    }

    h2 {
        font-size: 26px;
    }

    .supply-grid,
    .reason-grid,
    .products-grid,
    .netcraze-models,
    .use-case-grid,
    .steps-grid,
    .category-strip {
        grid-template-columns: 1fr;
    }

    .quick-search,
    .results-head,
    .hero-actions,
    .product-actions,
    .cta-actions {
        display: grid;
    }

    .header-search {
        grid-template-columns: 1fr;
    }

    .header-contact {
        display: grid;
        justify-content: start;
    }

    .catalog-entry,
    .specification-band,
    .order-band,
    .cta-box {
        padding: 22px;
    }

    .summary-list div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .product-summary h1 {
        font-size: 27px;
    }

    .thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .qty-control {
        width: 100%;
    }

    .request-main {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .request-table {
        min-width: 0;
    }

    .request-table thead {
        display: none;
    }

    .request-table,
    .request-table tbody,
    .request-table tr,
    .request-table td {
        display: block;
        width: 100%;
    }

    .request-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        overflow: hidden;
    }

    .request-table td {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 12px;
        padding: 10px 12px;
    }

    .request-table td::before {
        content: attr(data-label);
        color: var(--muted-text);
        font-size: 13px;
        font-weight: 850;
    }

    .request-qty {
        width: 100%;
    }

    .rfq-toast {
        right: 14px;
        bottom: 14px;
        max-width: calc(100vw - 28px);
    }
}
