:root {
    --ink: #173b36;
    --ink-deep: #102c29;
    --ink-soft: #31544f;
    --orange: #ed6848;
    --orange-dark: #d84f31;
    --cream: #f7f2e8;
    --paper: #fffdf9;
    --sage: #b7d0bd;
    --sage-soft: #e8f0e9;
    --line: #dfe4de;
    --muted: #697b76;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(23, 59, 54, .12);
    --shadow-soft: 0 12px 34px rgba(23, 59, 54, .08);
    --shell: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    color: inherit;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(237, 104, 72, .4);
    outline-offset: 3px;
}

.top-note {
    min-height: 34px;
    padding: 7px max(20px, calc((100vw - 1180px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, .78);
    background: var(--ink-deep);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .025em;
}

.top-note i {
    color: var(--orange);
}

.top-note a {
    color: var(--white);
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 253, 249, .95);
    border-bottom: 1px solid rgba(23, 59, 54, .09);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: var(--shell);
    height: 76px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    border-radius: 11px 11px 15px 11px;
    box-shadow: 4px 4px 0 var(--sage);
    font-size: 1.15rem;
}

.brand-copy {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    line-height: .88;
}

.brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -.055em;
}

.brand-copy b {
    margin-left: 4px;
    color: var(--orange);
    font-size: 1.12rem;
    letter-spacing: -.04em;
}

.brand-copy small {
    grid-column: 1 / -1;
    margin-top: 6px;
    color: var(--muted);
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .23em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;
    color: #3e5853;
    font-size: .87rem;
    font-weight: 650;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .2s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-control {
    height: 42px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
}

.language-control i {
    color: var(--muted);
}

.language-control select {
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: .78rem;
    font-weight: 800;
    outline: none;
}

.account-button {
    min-height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: var(--ink);
    border-radius: 9px;
    font-size: .82rem;
    font-weight: 750;
    transition: background .2s ease, transform .2s ease;
}

.account-button:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: 1.7rem;
}

.hero {
    position: relative;
    min-height: 670px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 14% 80%, rgba(183, 208, 189, .18), transparent 28%),
        radial-gradient(circle at 84% 14%, rgba(237, 104, 72, .18), transparent 24%),
        var(--ink);
}

.hero::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -245px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .024), 0 0 0 150px rgba(255, 255, 255, .016);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: var(--shell);
    margin: auto;
    padding: 72px 0 46px;
}

.hero-copy {
    max-width: 790px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--orange);
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .16em;
}

.eyebrow i {
    width: 22px;
    height: 2px;
    background: var(--orange);
}

.hero h1 {
    margin: 22px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.35rem, 6vw, 5.4rem);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}

.hero h1 em {
    color: var(--sage);
    font-weight: 400;
}

.hero-copy > p {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .69);
    font-size: 1.03rem;
    line-height: 1.75;
}

.hero-orbit {
    position: absolute;
    z-index: 1;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--sage);
    border: 8px solid rgba(255, 255, 255, .12);
    border-radius: 16px 16px 20px 16px;
    background-clip: padding-box;
    transform: rotate(-8deg);
}

.orbit-one {
    top: 155px;
    left: max(30px, calc((100vw - 1260px) / 2));
}

.orbit-two {
    top: 250px;
    right: max(35px, calc((100vw - 1300px) / 2));
    color: var(--white);
    background: var(--orange);
    transform: rotate(9deg);
}

.orbit-three {
    top: 420px;
    left: max(70px, calc((100vw - 1400px) / 2));
    width: 42px;
    height: 42px;
    font-size: .85rem;
    transform: rotate(7deg);
}

.search-panel {
    position: relative;
    z-index: 4;
    max-width: 930px;
    margin: 39px auto 0;
    padding: 9px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(6, 24, 22, .35);
}

.search-main {
    height: 68px;
    display: flex;
    align-items: center;
}

.search-main > i {
    margin-left: 16px;
    color: var(--orange);
    font-size: 1.3rem;
}

.search-main input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 17px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: 1.08rem;
    outline: none;
}

.search-main input::placeholder {
    color: #92a09c;
}

.search-main button {
    height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 26px;
    color: var(--white);
    border: 0;
    background: var(--orange);
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.search-main button:hover {
    background: var(--orange-dark);
}

.search-main button:active {
    transform: scale(.98);
}

.search-filters {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #edf0ed;
}

.search-filters > span {
    width: 1px;
    height: 24px;
    background: var(--line);
}

.search-filters label {
    min-width: 0;
    flex: 1;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-filters label i {
    color: var(--orange);
}

.search-filters select {
    min-width: 0;
    width: 100%;
    padding: 10px 25px 10px 0;
    color: var(--ink-soft);
    border: 0;
    background: transparent;
    font-size: .81rem;
    font-weight: 700;
    outline: none;
}

.location-button {
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    border: 0;
    background: var(--sage-soft);
    border-radius: 8px;
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
}

.location-button.is-active {
    color: var(--white);
    background: var(--ink);
}

.search-panel > p {
    margin: 2px 10px 8px;
    color: #7b8985;
    font-size: .71rem;
}

.search-panel > p i {
    margin-right: 3px;
    color: var(--orange);
}

.hero-trust {
    width: min(650px, 100%);
    margin: 35px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.hero-trust div {
    display: grid;
    gap: 2px;
}

.hero-trust div + div {
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.hero-trust strong {
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.17rem;
}

.hero-trust strong i {
    color: var(--orange);
}

.hero-trust span {
    color: rgba(255, 255, 255, .55);
    font-size: .68rem;
    font-weight: 650;
}

.section-shell {
    width: var(--shell);
    margin: auto;
}

.category-section {
    padding: 74px 0 85px;
    background: var(--paper);
}

.section-heading {
    margin-bottom: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.section-heading.compact {
    margin-bottom: 28px;
}

.section-kicker {
    margin-bottom: 12px;
}

.section-kicker.light {
    color: var(--sage);
}

.section-heading h2,
.results-head h2,
.business-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.section-heading > p {
    max-width: 410px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.category-grid button {
    min-width: 0;
    min-height: 142px;
    padding: 21px 11px 14px;
    display: grid;
    justify-items: center;
    align-content: space-between;
    gap: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 13px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.category-grid button:hover,
.category-grid button.active {
    color: var(--orange-dark);
    border-color: var(--sage);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.category-grid button i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--sage-soft);
    border-radius: 13px 13px 16px 13px;
    font-size: 1.25rem;
}

.category-grid button:nth-child(2n) i {
    color: #a9442e;
    background: #fce8e1;
}

.category-grid button span {
    overflow: hidden;
    font-size: .75rem;
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
}

.category-grid button small {
    color: #93a09c;
    font-size: .65rem;
    font-weight: 750;
}

.results-section {
    padding: 82px 0 92px;
    background: var(--cream);
    border-top: 1px solid #ece6dc;
}

.results-head {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.results-head h2 {
    font-size: clamp(2.2rem, 4vw, 3.25rem);
}

.results-head p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: .85rem;
}

.view-switch {
    padding: 4px;
    display: flex;
    gap: 3px;
    border: 1px solid #d8ddd7;
    background: rgba(255, 255, 255, .7);
    border-radius: 10px;
}

.view-switch button {
    min-height: 36px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    border: 0;
    background: transparent;
    border-radius: 7px;
    font-size: .73rem;
    font-weight: 800;
}

.view-switch button.active {
    color: var(--white);
    background: var(--ink);
}

.results-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(400px, .98fr);
    gap: 22px;
    align-items: start;
}

.results-layout.map-only .results-list {
    display: none;
}

.results-layout.map-only {
    grid-template-columns: 1fr;
}

.results-layout.map-only .map-column {
    position: relative;
    top: auto;
}

.results-layout.map-only #marketplaceMap {
    height: 620px;
}

.results-list {
    display: grid;
    gap: 12px;
}

.product-result {
    overflow: hidden;
    border: 1px solid #e1e3dd;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(23, 59, 54, .045);
}

.product-result-head {
    padding: 17px 18px 15px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.product-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--sage-soft);
    border-radius: 12px 12px 16px 12px;
    font-size: 1.18rem;
}

.product-result:nth-child(2n) .product-icon {
    color: #9e422d;
    background: #fde8e1;
}

.product-meta {
    min-width: 0;
}

.product-meta small {
    color: var(--orange-dark);
    font-size: .61rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.product-meta h3 {
    margin: 3px 0 2px;
    overflow: hidden;
    color: var(--ink);
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-meta p {
    margin: 0;
    color: var(--muted);
    font-size: .69rem;
}

.match-badge {
    padding: 6px 8px;
    color: #2e6f56;
    border: 1px solid #bdd8c7;
    background: #eef7f1;
    border-radius: 6px;
    font-size: .59rem;
    font-weight: 850;
    text-transform: uppercase;
    white-space: nowrap;
}

.match-badge.similar {
    color: #94612f;
    border-color: #ead1ac;
    background: #fff7e8;
}

.availability-list {
    border-top: 1px solid #edf0ec;
}

.availability-row {
    width: 100%;
    min-height: 70px;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(100px, .7fr) auto auto;
    align-items: center;
    gap: 13px;
    color: var(--ink);
    border: 0;
    border-bottom: 1px solid #f0f2ef;
    background: transparent;
    text-align: left;
    transition: background .2s ease;
}

.availability-row:last-child {
    border-bottom: 0;
}

.availability-row:hover {
    background: #fafcf9;
}

.store-summary {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-summary > i {
    width: 32px;
    height: 32px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
    font-size: .76rem;
}

.store-summary span {
    min-width: 0;
    display: grid;
}

.store-summary strong {
    overflow: hidden;
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-summary small,
.availability-location small {
    overflow: hidden;
    color: var(--muted);
    font-size: .61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.availability-location {
    min-width: 0;
    display: grid;
}

.availability-location strong {
    color: var(--ink-soft);
    font-size: .68rem;
}

.stock-status {
    display: grid;
    justify-items: end;
}

.stock-status strong {
    color: #2c7656;
    font-size: .67rem;
}

.stock-status small {
    color: var(--muted);
    font-size: .57rem;
}

.availability-price {
    min-width: 58px;
    display: grid;
    justify-items: end;
    gap: 2px;
}

.availability-price strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: .98rem;
}

.availability-price i {
    color: var(--orange);
    font-size: .75rem;
}

.result-more {
    width: 100%;
    padding: 10px 18px;
    color: var(--ink-soft);
    border: 0;
    border-top: 1px solid #edf0ec;
    background: #fafbf8;
    font-size: .67rem;
    font-weight: 800;
}

.result-skeleton {
    height: 155px;
    border: 1px solid #e1e3dd;
    border-radius: 14px;
    background: linear-gradient(100deg, #fff 20%, #f1f2ef 42%, #fff 64%);
    background-size: 220% 100%;
    animation: skeleton 1.2s linear infinite;
}

@keyframes skeleton {
    to { background-position-x: -220%; }
}

.map-column {
    position: sticky;
    top: 98px;
    overflow: hidden;
    border: 1px solid #dfe2dc;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.map-toolbar {
    min-height: 50px;
    padding: 0 14px 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.map-toolbar > span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .72rem;
    font-weight: 850;
}

.map-toolbar > span i {
    color: var(--orange);
}

.map-toolbar button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
}

#marketplaceMap {
    height: 480px;
    background:
        linear-gradient(135deg, rgba(183, 208, 189, .35), rgba(247, 242, 232, .8)),
        repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(23, 59, 54, .04) 17px, rgba(23, 59, 54, .04) 18px);
}

.map-note {
    margin: 0;
    padding: 10px 14px;
    color: var(--muted);
    background: #fbfcfa;
    font-size: .61rem;
    text-align: center;
}

.map-note i {
    color: #2c7656;
}

.leaflet-container {
    font-family: inherit;
}

.leaflet-control-attribution {
    font-size: 8px !important;
}

.store-map-marker,
.user-map-marker {
    background: transparent;
    border: 0;
}

.store-map-marker span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    border: 3px solid var(--white);
    border-radius: 12px 12px 14px 4px;
    box-shadow: 0 5px 15px rgba(16, 44, 41, .3);
    transform: rotate(-8deg);
    transition: background .2s ease, transform .2s ease;
}

.store-map-marker span i {
    transform: rotate(8deg);
}

.store-map-marker.active span {
    background: var(--orange);
    transform: rotate(-8deg) scale(1.12);
}

.user-map-marker span {
    width: 20px;
    height: 20px;
    display: block;
    background: #2d73d5;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(45, 115, 213, .2);
}

.leaflet-popup-content-wrapper {
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(23, 59, 54, .18);
}

.map-popup strong,
.map-popup span {
    display: block;
}

.map-popup strong {
    margin-bottom: 3px;
    color: var(--ink);
}

.map-popup span {
    color: var(--muted);
    font-size: .72rem;
}

.empty-state {
    padding: 70px 20px;
    color: var(--muted);
    border: 1px dashed #cbd3cb;
    background: rgba(255, 255, 255, .65);
    border-radius: 14px;
    text-align: center;
}

.empty-state i {
    color: var(--orange);
    font-size: 2.2rem;
}

.empty-state h3 {
    margin: 13px 0 6px;
    color: var(--ink);
}

.empty-state p {
    max-width: 520px;
    margin: 0 auto 18px;
    font-size: .85rem;
}

.empty-state button {
    padding: 10px 16px;
    color: var(--white);
    border: 0;
    background: var(--ink);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 800;
}

.how-section {
    padding: 92px 0 100px;
    color: var(--white);
    background: var(--ink-deep);
}

.how-section .section-heading > p {
    color: rgba(255, 255, 255, .57);
}

.how-section .section-heading h2 {
    color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.steps-grid article {
    position: relative;
    min-height: 260px;
    padding: 42px 48px 24px 0;
}

.steps-grid article + article {
    padding-left: 48px;
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.steps-grid article b {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(255, 255, 255, .06);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5.5rem;
    line-height: 1;
}

.steps-grid article > i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--sage);
    border-radius: 12px 12px 17px 12px;
    font-size: 1.2rem;
}

.steps-grid article:nth-child(2) > i {
    color: var(--white);
    background: var(--orange);
}

.steps-grid h3 {
    position: relative;
    margin: 28px 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 400;
}

.steps-grid p {
    position: relative;
    max-width: 270px;
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: .82rem;
    line-height: 1.65;
}

.business-section {
    padding: 95px 20px;
    background: var(--paper);
}

.business-card {
    width: min(1080px, 100%);
    min-height: 440px;
    margin: auto;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    overflow: hidden;
    color: var(--ink);
    background: var(--cream);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.business-visual {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
        var(--ink);
    background-size: 44px 44px;
}

.business-visual::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .035), 0 0 0 105px rgba(255, 255, 255, .02);
}

.business-visual > div {
    position: relative;
    z-index: 2;
    width: 145px;
    height: 170px;
    padding: 24px;
    display: grid;
    align-content: center;
    color: var(--white);
    background: var(--orange);
    border-radius: 38px 38px 60px 12px;
    transform: rotate(-5deg);
    box-shadow: 18px 20px 0 rgba(183, 208, 189, .18);
}

.business-visual > div strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1;
}

.business-visual > div small {
    margin-top: 9px;
    font-size: .67rem;
    font-weight: 750;
}

.mini-pin {
    position: absolute;
    z-index: 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--sage);
    border: 5px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    background-clip: padding-box;
}

.pin-a { top: 80px; left: 70px; transform: rotate(-8deg); }
.pin-b { right: 62px; bottom: 76px; transform: rotate(7deg); }
.pin-c { top: 92px; right: 54px; color: var(--white); background: var(--orange); transform: rotate(10deg); }

.business-copy {
    padding: 70px 74px;
    align-self: center;
}

.business-copy h2 {
    margin-bottom: 20px;
}

.business-copy > p {
    max-width: 480px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.75;
}

.business-copy > div {
    display: flex;
    align-items: center;
    gap: 24px;
}

.primary-link {
    min-height: 48px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    gap: 28px;
    color: var(--white);
    background: var(--orange);
    border-radius: 9px;
    font-size: .79rem;
    font-weight: 850;
}

.text-link {
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
    font-size: .76rem;
    font-weight: 800;
}

.site-footer {
    padding: 70px max(20px, calc((100vw - 1180px) / 2)) 22px;
    color: rgba(255, 255, 255, .66);
    background: #0e2724;
}

.footer-main {
    padding-bottom: 55px;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand .brand-mark {
    color: var(--ink);
    background: var(--sage);
    box-shadow: 4px 4px 0 rgba(255, 255, 255, .12);
}

.footer-brand .brand-copy strong {
    color: var(--white);
}

.footer-brand .brand-copy small {
    color: rgba(255, 255, 255, .5);
}

.footer-main > div:first-child p {
    max-width: 320px;
    margin: 22px 0 0;
    font-size: .78rem;
    line-height: 1.7;
}

.footer-main > div:not(:first-child) {
    display: grid;
    align-content: start;
    gap: 11px;
}

.footer-main strong {
    margin-bottom: 7px;
    color: var(--white);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-main a {
    font-size: .76rem;
}

.footer-main a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .65rem;
}

.store-dialog {
    width: min(520px, calc(100% - 28px));
    max-height: calc(100vh - 34px);
    padding: 0;
    color: var(--ink);
    border: 0;
    background: var(--white);
    border-radius: 17px;
    box-shadow: 0 30px 100px rgba(8, 27, 24, .38);
}

.store-dialog::backdrop {
    background: rgba(8, 27, 24, .64);
    backdrop-filter: blur(5px);
}

.dialog-close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 9px;
}

.store-dialog-head {
    padding: 30px 65px 25px 27px;
    color: var(--white);
    background: var(--ink);
}

.store-dialog-head > i {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--sage);
    border-radius: 12px 12px 16px 12px;
    font-size: 1.15rem;
}

.store-dialog-head small {
    color: var(--sage);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.store-dialog-head h2 {
    margin: 4px 0 3px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 400;
}

.store-dialog-head p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: .75rem;
}

.store-dialog-body {
    padding: 25px 27px 28px;
}

.store-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.store-fact {
    padding: 13px;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.store-fact i {
    color: var(--orange);
}

.store-fact span {
    display: grid;
}

.store-fact small {
    color: var(--muted);
    font-size: .58rem;
    font-weight: 750;
    text-transform: uppercase;
}

.store-fact strong {
    margin-top: 2px;
    font-size: .7rem;
}

.holiday-notice {
    margin: 12px 0 0;
    padding: 11px 13px;
    color: #805026;
    background: #fff6e7;
    border-radius: 8px;
    font-size: .68rem;
}

.store-dialog-actions {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.store-dialog-actions a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    font-size: .73rem;
    font-weight: 850;
}

.store-dialog-actions a:first-child {
    color: var(--white);
    background: var(--ink);
}

.toast {
    position: fixed;
    z-index: 3000;
    right: 20px;
    bottom: 20px;
    max-width: min(360px, calc(100% - 40px));
    padding: 13px 17px;
    color: var(--white);
    background: var(--ink);
    border-left: 4px solid var(--orange);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: .76rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity .25s ease, transform .25s ease;
}

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

@media (max-width: 1050px) {
    .header-inner { gap: 24px; }
    .main-nav { gap: 18px; }
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .category-grid button { min-height: 128px; }
    .results-layout { grid-template-columns: 1fr 390px; }
    .business-copy { padding: 60px 45px; }
}

@media (max-width: 860px) {
    :root { --shell: min(100% - 28px, 720px); }
    .header-inner { height: 68px; }
    .mobile-menu { display: block; }
    .main-nav {
        position: absolute;
        top: 68px;
        right: 0;
        left: 0;
        padding: 15px 20px 21px;
        display: none;
        align-items: stretch;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-soft);
    }
    .main-nav.open { display: grid; }
    .main-nav a { padding: 10px; }
    .main-nav a::after { display: none; }
    .header-actions { margin-left: 0; }
    .account-button span { display: none; }
    .account-button { width: 42px; padding: 0; justify-content: center; }
    .hero { min-height: 700px; }
    .hero-inner { padding-top: 62px; }
    .hero-orbit { display: none; }
    .search-filters { padding: 7px 0; flex-wrap: wrap; }
    .search-filters label { min-width: 42%; }
    .search-filters > span { display: none; }
    .location-button { margin-left: 8px; }
    .results-layout { grid-template-columns: 1fr; }
    .map-column { position: relative; top: auto; }
    #marketplaceMap { height: 430px; }
    .section-heading,
    .results-head { align-items: flex-start; }
    .steps-grid article,
    .steps-grid article + article { padding-right: 24px; padding-left: 24px; }
    .steps-grid article:first-child { padding-left: 0; }
    .business-card { grid-template-columns: 1fr; }
    .business-visual { min-height: 330px; }
    .footer-main { grid-template-columns: 1.7fr 1fr 1fr; }
    .footer-main > div:last-child { display: none; }
}

@media (max-width: 600px) {
    .top-note { justify-content: center; }
    .top-note > span { display: none; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-copy strong { font-size: 1.27rem; }
    .brand-copy b { font-size: 1rem; }
    .language-control { width: 38px; padding: 0; justify-content: center; }
    .language-control i { display: none; }
    .language-control select { width: 100%; padding-left: 4px; font-size: .67rem; }
    .hero { min-height: 745px; }
    .hero-inner { padding: 50px 0 35px; }
    .hero h1 { font-size: clamp(2.8rem, 13vw, 3.9rem); }
    .hero-copy > p { font-size: .91rem; }
    .search-panel { padding: 7px; border-radius: 13px; }
    .search-main { height: auto; display: grid; grid-template-columns: 36px 1fr; }
    .search-main > i { margin-left: 11px; }
    .search-main input { height: 58px; padding: 0 8px; font-size: .92rem; }
    .search-main button { grid-column: 1 / -1; height: 48px; justify-content: center; }
    .search-filters { display: grid; grid-template-columns: 1fr 1fr; }
    .search-filters label { min-width: 0; padding: 0 8px; }
    .search-filters label i { display: none; }
    .location-button { grid-column: 1 / -1; margin: 0; justify-content: center; }
    .search-panel > p { margin-top: 7px; text-align: center; }
    .hero-trust { margin-top: 27px; }
    .hero-trust strong { font-size: 1rem; }
    .hero-trust span { font-size: .58rem; }
    .category-section { padding: 55px 0 65px; }
    .section-heading { display: grid; gap: 14px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid button { min-height: 120px; }
    .results-section { padding: 62px 0 72px; }
    .results-head { display: grid; gap: 18px; }
    .product-result-head { grid-template-columns: 45px minmax(0, 1fr); }
    .match-badge { grid-column: 2; justify-self: start; }
    .availability-row { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
    .availability-location { display: none; }
    .stock-status { grid-column: 1; justify-items: start; padding-left: 42px; }
    .availability-price { grid-column: 2; grid-row: 1 / 3; }
    #marketplaceMap { height: 360px; }
    .how-section { padding: 70px 0; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid article,
    .steps-grid article + article,
    .steps-grid article:first-child { min-height: 210px; padding: 35px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
    .steps-grid article:last-child { border-bottom: 0; }
    .business-section { padding: 65px 14px; }
    .business-visual { min-height: 270px; }
    .business-copy { padding: 45px 27px; }
    .business-copy > div { align-items: stretch; flex-direction: column; gap: 14px; }
    .primary-link { justify-content: space-between; }
    .text-link { align-self: flex-start; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-main > div:first-child { grid-column: 1 / -1; }
    .footer-main > div:nth-child(3) { display: none; }
    .footer-bottom { display: grid; }
    .store-facts,
    .store-dialog-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
