:root {
    --staps-navy: #061b3a;
    --staps-navy-2: #0b2f63;
    --staps-blue: #1769e8;
    --staps-gold: #f7b333;
    --staps-teal: #0e7b68;
    --staps-ink: #071936;
    --staps-muted: #627089;
    --staps-line: #dce5f1;
    --staps-cloud: #f5f8fc;
    --staps-white: #ffffff;
}

.staps-market,
.staps-public-profile {
    background: var(--staps-cloud);
    color: var(--staps-ink);
    min-height: calc(100vh - 80px);
}

.staps-market a,
.staps-public-profile a {
    color: inherit;
    text-decoration: none;
}

.staps-home-hero,
.staps-discovery-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(247, 179, 51, 0.28), transparent 28%),
        linear-gradient(135deg, var(--staps-navy) 0%, var(--staps-navy-2) 55%, #0e5a66 100%);
    color: var(--staps-white);
    overflow: hidden;
    padding: 54px 0 42px;
}

.staps-home-hero .container,
.staps-discovery-hero .container,
.staps-market-band .container {
    max-width: 1200px;
}

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

.staps-hero-copy {
    min-width: 0;
}

.staps-eyebrow {
    color: var(--staps-gold);
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.staps-hero-copy h1,
.staps-discovery-hero h1,
.staps-business-hero h1 {
    color: inherit;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 18px;
}

.staps-hero-copy p,
.staps-discovery-hero p,
.staps-business-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 820px;
}

.staps-hero-search {
    align-items: stretch;
    background: var(--staps-white);
    border: 2px solid var(--staps-gold);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(3, 15, 33, 0.28);
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(170px, 240px) auto;
    max-width: 850px;
    overflow: hidden;
}

.staps-hero-search.compact {
    grid-template-columns: minmax(180px, 1fr) auto;
    max-width: 640px;
}

.staps-hero-search input,
.staps-hero-search select {
    background: var(--staps-white);
    border: 0;
    color: var(--staps-ink);
    font-size: 1rem;
    min-height: 54px;
    min-width: 0;
    outline: 0;
    padding: 0 18px;
}

.staps-hero-search select {
    border-left: 1px solid var(--staps-line);
}

.staps-hero-search button {
    align-items: center;
    background: var(--staps-gold);
    border: 0;
    color: #221400;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    white-space: nowrap;
}

.staps-hero-search button:hover {
    background: #ffc04d;
}

.staps-hero-panel {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: grid;
    min-height: 360px;
    overflow: hidden;
    padding: 26px;
    position: relative;
}

.staps-hero-panel img {
    display: block;
    height: auto;
    justify-self: center;
    max-height: 330px;
    max-width: 100%;
    object-fit: contain;
    width: min(100%, 520px);
}

.staps-hero-mini {
    background: var(--staps-white);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(3, 15, 33, 0.2);
    color: var(--staps-ink);
    min-width: 130px;
    padding: 14px 16px;
    position: absolute;
    right: 18px;
    top: 18px;
}

.staps-hero-mini.accent {
    bottom: 18px;
    right: auto;
    top: auto;
    left: 18px;
}

.staps-hero-mini strong {
    color: var(--staps-blue);
    display: block;
    font-size: 1.7rem;
    line-height: 1;
}

.staps-hero-mini span {
    color: var(--staps-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.staps-market-band {
    padding: 34px 0;
}

.staps-market-band.alt {
    background: #eaf1f8;
}

.staps-section-row {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.staps-section-row h1,
.staps-section-row h2,
.staps-card h2,
.staps-empty h3 {
    color: var(--staps-ink);
    font-weight: 800;
    margin: 0;
}

.staps-section-row p {
    color: var(--staps-muted);
    margin: 6px 0 0;
}

.staps-section-row > a {
    align-items: center;
    color: var(--staps-blue);
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    white-space: nowrap;
}

.staps-market-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.staps-market-tile,
.staps-district-card,
.staps-supplier-card,
.staps-card {
    background: var(--staps-white);
    border: 1px solid var(--staps-line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(6, 27, 58, 0.08);
}

.staps-market-tile {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.staps-market-tile:hover,
.staps-district-card:hover,
.staps-supplier-card:hover {
    border-color: rgba(23, 105, 232, 0.38);
    box-shadow: 0 20px 42px rgba(6, 27, 58, 0.14);
    transform: translateY(-2px);
}

.staps-market-tile i {
    align-items: center;
    background: #eaf2ff;
    border-radius: 8px;
    color: var(--staps-blue);
    display: inline-flex;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.staps-market-tile span,
.staps-district-card strong {
    color: var(--staps-ink);
    font-size: 1.02rem;
    font-weight: 800;
}

.staps-market-tile small,
.staps-district-card small {
    color: var(--staps-muted);
    font-weight: 700;
}

.staps-district-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.staps-district-card {
    display: grid;
    gap: 7px;
    min-height: 118px;
    overflow: hidden;
    padding: 18px;
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.staps-district-card::after {
    background: var(--staps-gold);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 5px;
}

.staps-district-card span {
    color: var(--staps-blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.staps-supplier-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.staps-supplier-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.staps-product-grid,
.staps-service-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    min-width: 0;
}

.staps-product-card,
.staps-service-card {
    background: var(--staps-white);
    border: 1px solid var(--staps-line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(6, 27, 58, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    min-width: 0;
}

.staps-product-media,
.staps-service-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--staps-navy), #0e7b68);
    color: var(--staps-white);
    display: flex;
    height: 172px;
    justify-content: center;
    overflow: hidden;
}

.staps-service-icon {
    height: 116px;
}

.staps-product-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.staps-product-media span,
.staps-service-icon i {
    align-items: center;
    background: var(--staps-gold);
    border-radius: 8px;
    color: var(--staps-navy);
    display: inline-flex;
    font-size: 2rem;
    height: 68px;
    justify-content: center;
    width: 68px;
}

.staps-product-body,
.staps-service-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
    min-width: 0;
}

.staps-product-topline {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 8px;
    min-width: 0;
    flex-wrap: wrap;
}

.staps-product-topline span,
.staps-product-card p,
.staps-service-card p {
    color: var(--staps-muted);
}

.staps-product-topline span {
    font-size: 0.82rem;
    font-weight: 800;
}

.staps-product-topline strong {
    color: var(--staps-teal);
    font-size: 0.82rem;
}

.staps-product-card h3,
.staps-service-card h3 {
    font-size: 1.03rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.staps-product-card p,
.staps-service-card p {
    margin: 0 0 14px;
}

.staps-product-meta {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: auto;
    flex-wrap: wrap;
}

.staps-product-meta strong {
    color: var(--staps-ink);
    font-size: 1.08rem;
}

.staps-supplier-media {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(6, 27, 58, 0.94), rgba(14, 123, 104, 0.88)),
        #0b2f63;
    display: flex;
    height: 142px;
    justify-content: center;
    overflow: hidden;
}

.staps-supplier-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.staps-supplier-media span {
    align-items: center;
    background: var(--staps-gold);
    border-radius: 8px;
    color: var(--staps-navy);
    display: inline-flex;
    font-size: 2.4rem;
    font-weight: 900;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.staps-supplier-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.staps-supplier-topline {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.staps-supplier-topline span {
    color: var(--staps-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.staps-supplier-topline strong {
    align-items: center;
    color: var(--staps-teal);
    display: inline-flex;
    font-size: 0.86rem;
    gap: 5px;
    white-space: nowrap;
}

.staps-supplier-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
}

.staps-supplier-card h3 a {
    color: var(--staps-ink);
}

.staps-supplier-card h3 a:hover {
    color: var(--staps-blue);
}

.staps-supplier-card p {
    color: var(--staps-muted);
    display: -webkit-box;
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0 0 14px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.staps-supplier-meta {
    align-items: center;
    color: var(--staps-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 12px;
    margin-top: auto;
}

.staps-supplier-meta i {
    color: var(--staps-gold);
}

.staps-empty,
.staps-card {
    padding: 20px;
}

.staps-discovery-hero {
    padding: 46px 0;
}

.staps-service-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(247, 179, 51, 0.24), transparent 28%),
        linear-gradient(135deg, var(--staps-navy) 0%, #0d3569 48%, var(--staps-teal) 100%);
}

.staps-discovery-hero .container {
    display: grid;
    gap: 12px;
}

.staps-discovery-hero .staps-hero-search {
    margin-top: 8px;
}

.staps-results-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 280px minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1200px;
    padding: 32px 12px 42px;
    min-width: 0;
}

.staps-results-filters {
    align-self: start;
    position: sticky;
    top: 94px;
}

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

.staps-results-filters label {
    color: var(--staps-ink);
    display: grid;
    font-weight: 700;
    gap: 7px;
}

.staps-check {
    align-items: center;
    display: flex !important;
    gap: 9px !important;
}

.staps-check input {
    height: 18px;
    width: 18px;
}

.staps-results-main {
    min-width: 0;
}

.staps-business-hero {
    background:
        radial-gradient(circle at 78% 20%, rgba(247, 179, 51, 0.25), transparent 30%),
        linear-gradient(135deg, var(--staps-navy), var(--staps-navy-2) 58%, #0e5a66);
    color: var(--staps-white);
    padding: 52px max(20px, calc((100vw - 1200px) / 2)) 44px;
}

.staps-profile-hero {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.staps-profile-hero h1 {
    color: var(--staps-ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 12px;
}

.staps-profile-hero p {
    color: var(--staps-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 14px;
}

.staps-badge {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 7px;
    padding: 9px 12px;
}

.staps-badge-success {
    background: #dff8ee;
    color: #086045;
}

.staps-badge-muted {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.86);
}

.staps-chip {
    background: #eaf2ff;
    border-radius: 8px;
    color: var(--staps-blue);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 800;
    margin: 4px 6px 4px 0;
    padding: 7px 10px;
}

.staps-list-row {
    align-items: center;
    border-top: 1px solid var(--staps-line);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 12px 0;
    min-width: 0;
}

.staps-list-row:first-of-type {
    border-top: 0;
}

.staps-list-row span {
    color: var(--staps-muted);
}

@media (max-width: 991px) {
    .staps-home-hero,
    .staps-discovery-hero {
        padding: 36px 0 30px;
    }

    .staps-hero-grid,
    .staps-results-layout {
        grid-template-columns: 1fr;
    }

    .staps-hero-panel {
        min-height: 280px;
    }

    .staps-results-filters {
        position: static;
    }
}

@media (max-width: 720px) {
    .staps-hero-search,
    .staps-hero-search.compact {
        grid-template-columns: 1fr;
    }

    .staps-hero-search select {
        border-left: 0;
        border-top: 1px solid var(--staps-line);
    }

    .staps-section-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .staps-profile-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .staps-market-band {
        padding: 26px 0;
    }

    .staps-supplier-grid,
    .staps-district-grid {
        grid-template-columns: 1fr;
    }

    .staps-product-grid,
    .staps-service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .staps-product-media,
    .staps-service-icon {
        height: 150px;
    }

    .staps-list-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .staps-product-body,
    .staps-service-body,
    .staps-supplier-body {
        padding: 14px;
    }

    .staps-product-media,
    .staps-service-icon {
        height: 132px;
    }

    .staps-product-topline,
    .staps-product-meta,
    .staps-supplier-topline,
    .staps-supplier-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
