.sr-only {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.header-row {
    gap: 22px;
}

.header-search {
    align-items: stretch;
    background: #fff;
    border: 1px solid #cbd9e3;
    border-radius: 7px;
    box-shadow: 0 3px 12px #163d540a;
    display: flex;
    flex: 1 1 560px;
    max-width: 760px;
    min-width: 260px;
    height: 48px;
    overflow: visible;
    position: relative;
}

.header-search .search-input-wrap {
    flex: 1;
    min-width: 0;
}

.header-search input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    outline: 0;
}

.header-location-field {
    align-items: center;
    border-right: 1px solid #dce5eb;
    color: #64758a;
    display: flex;
    flex: 0 0 170px;
    gap: 5px;
    min-width: 0;
    padding: 0 8px;
    position: relative;
    z-index: 31;
}

.header-location-field > span:first-child {
    font-size: 17px;
}

.header-location-field input {
    min-width: 0;
    padding-inline: 2px;
}

.header-location-field input::placeholder {
    color: #64758a;
}

.header-location-field input {
    background: transparent;
    border: 0;
    outline: 0;
}

.header-search > select {
    appearance: none;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23566d7e' stroke-width='1.5'/%3E%3C/svg%3E");
    background-position: right 10px center;
    background-repeat: no-repeat;
    border: 0;
    border-right: 1px solid #dce5eb;
    border-radius: 6px 0 0 6px;
    color: #40596c;
    cursor: pointer;
    font-size: 12px;
    outline: 0;
    padding: 0 26px 0 12px;
}

.header-search > select:focus,
.header-location-field:focus-within,
.search-input-wrap:focus-within {
    background-color: #f6fbfd;
    box-shadow: inset 0 0 0 1px #8fc4d2;
}

.location-picker-options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 60;
    display: grid;
    width: 290px;
    max-height: min(390px, 60vh);
    gap: 2px;
    overflow-y: auto;
    padding: 9px;
    border: 1px solid #e0e7ed;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 14px 36px #17384f24;
}

.location-picker-options[hidden],
.location-picker-option[hidden],
.location-picker-empty[hidden] {
    display: none;
}

.location-picker-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    margin-bottom: 5px;
    padding: 0 10px;
    border: 1px solid #d8e2e9;
    border-radius: 6px;
    color: #7d93a3;
}

.location-picker-filter input {
    min-width: 0;
    padding: 0;
    color: #17384f;
    font-size: 12px;
}

.location-picker-option {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #30495c;
    cursor: pointer;
    font-size: 12px;
    text-align: left;
}

.location-picker-option::before {
    margin-right: 10px;
    color: #7b98aa;
    content: "⌖";
    font-size: 15px;
}

.location-picker-option:hover,
.location-picker-option:focus-visible {
    outline: 0;
    background: #f0f7fa;
    color: #155477;
}

.location-picker-empty {
    margin: 8px 10px;
    color: #718698;
    font-size: 11px;
}

.header-search .search-input-wrap {
    border-right: 1px solid #dce5eb;
    display: flex;
    align-items: stretch;
}

.header-search .search-input-wrap > input {
    padding-inline: 13px;
}

.header-search button {
    background: #168b83;
    color: #fff;
    font-size: 21px;
}

.header-search button:hover {
    background: #11776f;
}

.header-search select {
    flex: 0 0 158px;
    min-width: 0;
}

.header-search button {
    flex: 0 0 50px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.marketplace-search-page {
    padding-bottom: 60px;
}

.marketplace-search-page > .breadcrumbs {
    margin: 20px 0;
}

.search-results-heading {
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
    padding: 18px 0 22px;
}

.search-results-heading h1 {
    color: var(--navy);
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -.8px;
    margin: 8px 0;
}

.search-results-heading p,
.search-results-section-heading span {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.search-results-section {
    margin: 0 0 42px;
}

.search-results-section-heading {
    align-items: end;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.search-results-section-heading h2 {
    color: var(--ink);
    font-size: 21px;
    margin: 0 0 2px;
}

.search-result-list,
.search-company-list {
    display: grid;
    gap: 12px;
}

.search-result-row {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    display: grid;
    gap: 18px;
    grid-template-columns: 152px minmax(0, 1fr) 220px;
    padding: 15px;
}

.search-result-image {
    background: var(--surface);
    border-radius: 6px;
    height: 142px;
    overflow: hidden;
}

.search-result-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.search-result-product h3 {
    font-size: 18px;
    margin: 5px 0;
}

.search-result-product h3 a:hover,
.search-company-copy h3 a:hover,
.search-result-company h4 a:hover {
    color: var(--orange);
}

.search-result-product p,
.search-result-company p,
.search-company-copy p {
    color: var(--muted);
    font-size: 12px;
    margin: 5px 0 8px;
}

.search-result-price {
    color: var(--navy);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 800;
    gap: 4px 12px;
}

.search-result-price small,
.search-result-price span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.search-result-view,
.search-company-button {
    color: #d76517;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 9px;
}

.search-result-company {
    align-self: stretch;
    border-left: 1px solid var(--line);
    padding: 9px 0 9px 18px;
}

.search-result-company h4 {
    font-size: 15px;
    line-height: 1.4;
    margin: 8px 0;
}

.search-company-contact {
    border: 1px solid #16845c;
    border-radius: 5px;
    color: #16845c;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    padding: 7px 10px;
}

.search-company-row {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 15px;
    padding: 15px;
}

.search-company-mark {
    align-items: center;
    background: #e9f4f4;
    border-radius: 50%;
    color: #16845c;
    display: flex;
    flex: 0 0 48px;
    font-size: 20px;
    font-weight: 800;
    height: 48px;
    justify-content: center;
}

.search-company-copy {
    flex: 1;
    min-width: 0;
}

.search-company-copy h3 {
    font-size: 16px;
    margin: 0;
}

.search-company-copy > span {
    color: var(--muted);
    font-size: 11px;
}

.search-company-button {
    border: 1px solid #dfe7ef;
    border-radius: 5px;
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 12px;
}

.search-company-result-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    overflow: hidden;
    padding: 18px;
}

.search-company-result-image {
    background: var(--surface);
    border-radius: 12px;
    display: block;
    height: 220px;
    overflow: hidden;
}

.search-company-result-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
    width: 100%;
}

.search-company-result-card:hover .search-company-result-image img {
    transform: scale(1.03);
}

.search-company-result-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.search-company-result-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.search-company-result-head h3 {
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    margin: 0;
}

.search-company-result-head p {
    color: var(--muted);
    font-size: 13px;
    margin: 6px 0 0;
}

.search-company-price {
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.search-company-price small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.search-company-list {
    display: grid;
    gap: 10px;
}

.search-company-item {
    align-items: center;
    background: #f7fafc;
    border: 1px solid #dfeaf0;
    border-radius: 10px;
    display: grid;
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px 14px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.search-company-item:hover {
    border-color: #9ccad6;
    box-shadow: 0 10px 20px rgba(21, 75, 91, 0.06);
    transform: translateY(-1px);
}

.search-company-item-tag {
    background: #e8f7f5;
    border-radius: 999px;
    color: #0d7d79;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 6px 8px;
    text-transform: uppercase;
}

.search-company-item-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-company-item-copy strong {
    color: var(--navy);
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-company-item-copy small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.search-company-item-arrow {
    color: var(--orange);
    font-size: 20px;
}

.search-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.search-product-card {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 35, 52, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-product-card:hover {
    border-color: #b8dce5;
    box-shadow: 0 14px 30px rgba(15, 35, 52, 0.08);
    transform: translateY(-2px);
}

.search-product-image {
    display: block;
    background: #edf6f8;
    height: 220px;
    overflow: hidden;
}

.search-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-card-body {
    padding: 14px 14px 16px;
}

.search-product-company-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.search-product-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf8f5;
    color: #0d7d79;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.search-product-location {
    color: #64758a;
    font-size: 11px;
}

.search-product-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
    color: #172d43;
}

.search-product-card h3 a:hover {
    color: #f47721;
}

.search-product-price {
    color: #0d2b46;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
}

.search-product-price small {
    color: #6c7d93;
    font-size: 12px;
    font-weight: 600;
}

.search-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.search-product-meta span {
    display: inline-flex;
    background: #f3f8fb;
    color: #49647d;
    border: 1px solid #dfeaf0;
    border-radius: 6px;
    padding: 4px 7px;
    font-size: 10px;
    line-height: 1.3;
}

.search-product-company {
    color: #2d4c64;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 12px;
    display: block;
}

.search-product-actions {
    display: flex;
    gap: 8px;
}

.search-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-product-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.search-product-button.primary {
    background: #0b8a9a;
    color: #fff;
    flex: 1;
}

.search-product-button.secondary {
    background: #fff;
    border: 1px solid #d7e2ea;
    color: #17384f;
}

@media (max-width: 1100px) {
    .search-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .search-product-grid {
        grid-template-columns: 1fr;
    }
}

.product-detail-page {
    padding-top: 20px;
    padding-bottom: 50px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) 260px;
    gap: 24px;
    align-items: start;
    margin-top: 18px;
}

.product-gallery-panel {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(12, 38, 62, 0.04);
}

.product-gallery-main {
    background: linear-gradient(135deg, #dff8f7, #eaf8fb);
    border-radius: 14px;
    overflow: hidden;
    height: 365px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
}

.product-gallery-thumb {
    width: 58px;
    height: 48px;
    padding: 3px;
    overflow: hidden;
    border: 1px solid #d5e2eb;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.product-gallery-thumb.active,
.product-gallery-thumb:focus-visible {
    outline: 2px solid #0a9590;
    outline-offset: 1px;
}

.product-gallery-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 28px;
    border-radius: 6px;
    background: #e9f7f7;
    color: #0a768d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-gallery-badge:hover,
.product-gallery-badge:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 38, 62, .12);
}

.product-gallery-badge.muted {
    background: #edf1f5;
    color: #41576d;
}

.product-detail-main {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    padding: 22px 22px 10px;
    box-shadow: 0 12px 28px rgba(12, 38, 62, 0.04);
}

.product-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.product-detail-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f7fb;
    color: #537090;
    font-size: 11px;
    font-weight: 700;
}

.product-detail-main h1 {
    font-size: clamp(28px, 2vw, 40px);
    line-height: 1.2;
    margin: 10px 0 0;
    color: #0f2f48;
}

.product-detail-price {
    font-size: 20px;
    font-weight: 800;
    color: #0f2f48;
    white-space: nowrap;
    padding-top: 16px;
}

.product-detail-price small {
    color: #6d8294;
    font-size: 13px;
    font-weight: 700;
}

.product-quote-box {
    border: 1px solid #dfe7ef;
    border-radius: 12px;
    background: #f9fbfc;
    padding: 14px;
    margin-bottom: 18px;
}

.product-form-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #425b72;
    font-size: 12px;
    font-weight: 700;
}

.product-form-field > span {
    line-height: 1.35;
}

.product-form-field input,
.product-form-field textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7e3ec;
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    color: #243f58;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
}

.product-form-field textarea {
    min-height: 96px;
    resize: vertical;
    line-height: 1.5;
}

.product-form-field input:focus,
.product-form-field textarea:focus {
    outline: 3px solid rgba(10, 149, 144, .15);
    border-color: #0a9590;
}

.product-quote-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    gap: 10px;
    margin-bottom: 14px;
}

.product-inquiry-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.product-form-field-wide {
    grid-column: 1 / -1;
}

.product-form-errors,
.product-form-success {
    margin: 12px 0;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 13px;
    line-height: 1.5;
}

.product-form-errors {
    display: grid;
    gap: 4px;
    border: 1px solid #f1c5c0;
    background: #fff5f3;
    color: #9c3025;
}

.product-form-success {
    border: 1px solid #b9e3d3;
    background: #effaf5;
    color: #17684d;
}

.product-form-footnote {
    margin: 10px 0 0;
    color: #718498;
    font-size: 11px;
    line-height: 1.5;
}

.supplier-upload-field {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
    grid-column: 1 / -1;
    padding: 14px;
    border: 1px solid #d6e8f1;
    border-radius: 8px;
    background: #f8fbfd;
}

.supplier-fields .supplier-upload-field > label {
    display: grid;
    gap: 5px;
    color: #31536a;
    font-size: 11px;
    font-weight: 700;
}

.supplier-upload-field > label span,
.supplier-upload-hint {
    color: #70889a;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
}

.supplier-upload-field input[type="file"] {
    width: 100%;
    min-height: 42px;
    padding: 7px;
    border: 1px dashed #a9c8d8;
    border-radius: 6px;
    background: #fff;
    color: #31536a;
    font-size: 11px;
}

.supplier-current-brochure {
    width: fit-content;
    color: #147c79;
    font-size: 11px;
    font-weight: 700;
}

.supplier-current-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.supplier-current-image-gallery .product-current-image {
    margin-top: 0;
}

.supplier-upload-hint {
    display: block;
}

.product-quote-box .button {
    width: 100%;
    min-height: 46px;
    border: 0;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    border-top: 1px solid #e8eef4;
    border-bottom: 1px solid #e8eef4;
    padding: 18px 0 16px;
    margin-bottom: 18px;
}

.product-spec-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #465d76;
    font-size: 13px;
}

.product-spec-item span {
    color: #62788c;
}

.product-spec-item strong {
    color: #1a3350;
    font-weight: 700;
    text-align: right;
}

.product-description-wrap h2 {
    color: #0f2f48;
    margin: 0 0 8px;
    font-size: 20px;
}

.product-description {
    color: #465d76;
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

.detail-supplier-card {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(12, 38, 62, 0.04);
}

.detail-supplier-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eefaf7;
    color: #0d7d79;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detail-supplier-company h2 {
    margin: 12px 0 6px;
    font-size: 22px;
    color: #162d43;
    line-height: 1.35;
}

.detail-supplier-company p {
    margin: 0;
    color: #64758a;
    font-size: 13px;
}

.detail-supplier-meta {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    color: #2e5974;
    font-size: 13px;
    font-weight: 600;
}

.detail-supplier-rating,
.detail-supplier-rate {
    color: #586f85;
    font-size: 13px;
    margin-bottom: 8px;
}

.detail-supplier-rating strong {
    color: #1c3550;
}

.detail-supplier-contact {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid #e8eef3;
    color: #64758a;
    font-size: 12px;
}

.detail-supplier-contact strong {
    color: #1c3550;
    overflow-wrap: anywhere;
}

.detail-call-button,
.product-contact-button,
.detail-company-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    margin-top: 10px;
}

.detail-call-button {
    border: 1px solid #1d8f7f;
    background: #fff;
    color: #1d8f7f;
}

.product-contact-button {
    background: #0a9590;
    color: #fff;
}

.detail-company-link {
    background: #f3f7fa;
    color: #1d3d5d;
    margin-top: 12px;
}

@media (max-width: 1100px) {
    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
    }

    .detail-supplier-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-head {
        flex-direction: column;
    }

    .product-quote-row,
    .product-spec-grid {
        grid-template-columns: 1fr;
    }

    .product-inquiry-fields {
        grid-template-columns: 1fr;
    }

    .product-form-field-wide {
        grid-column: auto;
    }
}

    font-weight: 700;
}

.search-results-section-heading {
    align-items: center;
}

@media (max-width: 850px) {
    .search-company-result-card {
        grid-template-columns: 1fr;
    }

    .search-company-result-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 1100px) {
    .header-row {
        gap: 14px;
    }

    .header-row > .brand img {
        width: 155px !important;
    }

    .header-links {
        gap: 12px;
    }

    .search-result-row {
        grid-template-columns: 125px minmax(0, 1fr) 185px;
    }

    .search-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .site-header {
        height: auto;
    }

    .header-row {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-block: 10px;
    }

    .header-search {
        flex: 1 0 100%;
        max-width: none;
        min-width: 0;
        order: 3;
    }

    .header-links {
        margin-left: auto;
    }

    .search-result-row {
        align-items: start;
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .search-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-result-image {
        grid-row: span 2;
        height: 118px;
    }

    .search-result-company {
        border-left: 0;
        border-top: 1px solid var(--line);
        grid-column: 2;
        padding: 11px 0 0;
    }
}

@media (max-width: 560px) {
    .header-links > a:not(.button),
    .header-links > form {
        display: none;
    }

    .header-location-field {
        flex-basis: 114px;
        padding-inline: 5px;
    }

    .header-search select {
        flex-basis: 112px;
        font-size: 10px;
        padding-inline: 4px;
    }

    .header-location-field input {
        font-size: 11px;
    }

    .header-search input {
        font-size: 12px;
        padding-inline: 8px;
    }

    .header-search button {
        flex-basis: 42px;
    }

    .search-result-row {
        gap: 10px;
        grid-template-columns: 82px minmax(0, 1fr);
        padding: 10px;
    }

    .search-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .search-product-image {
        height: 145px;
    }

    .search-product-card-body {
        min-height: 130px;
        padding: 8px;
    }

    .search-result-image {
        height: 82px;
    }

    .search-result-product h3 {
        font-size: 15px;
    }

    .search-result-product p {
        font-size: 11px;
    }

    .search-result-company {
        grid-column: 1 / -1;
    }

    .search-company-row {
        align-items: start;
        flex-wrap: wrap;
    }

    .search-company-button {
        margin-left: 63px;
    }
}

.header-search > select,
.header-location-field input,
.header-search .search-input-wrap > input {
    font-size: 12px;
}

.header-search > select {
    flex-shrink: 0;
}

.location-picker-options {
    display: block;
    width: min(290px, calc(100vw - 36px));
    max-height: min(340px, 55vh);
    padding: 8px;
    font-size: 12px;
}

.location-picker-filter {
    min-height: 36px;
    margin-bottom: 5px;
    padding-inline: 9px;
}

.location-picker-filter input {
    height: 32px;
    font-size: 11px;
}

.header-search .location-picker-options .location-picker-option {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 34px;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 0 9px;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: #30495c;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
}

.header-search .location-picker-options .location-picker-option[hidden] {
    display: none;
}

.header-search .location-picker-options .location-picker-option::before {
    flex: 0 0 19px;
    margin-right: 7px;
    font-size: 14px;
}

.header-search .location-picker-options .location-picker-option:hover,
.header-search .location-picker-options .location-picker-option:focus-visible {
    background: #f0f7fa;
    color: #155477;
}

.location-picker-empty {
    font-size: 11px;
}

.market-opportunity-link strong {
    font-size: 11px;
}

.market-opportunity-link small {
    font-size: 10px;
}

@media (max-width: 560px) {
    .header-search > select {
        flex-basis: 108px;
        padding-right: 20px;
        font-size: 10px;
    }

    .header-location-field {
        flex-basis: 120px;
    }

    .header-location-field input,
    .header-search .search-input-wrap > input {
        font-size: 11px;
    }

    .location-picker-options {
        left: 0;
    }
}
