body.od1-marketplace { background: #f7f5ef; color: #183c30; font-family: system-ui, sans-serif; height: auto; min-height: 100vh; overflow: auto; display: flex; flex-direction: column; }
.od1-marketplace .od1-market-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px max(5vw, 20px); border-bottom: 1px solid #d9ded4; }
.od1-market-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.od1-market-brand { font-size: 28px; font-weight: 850; letter-spacing: -.05em; }
.od1-market-brand span { display: inline-block; margin-left: 8px; font-size: 12px; letter-spacing: .15em; }
.od1-market-header nav { display: flex; gap: 24px; flex-wrap: wrap; }
.od1-marketplace a:hover { text-decoration: underline; }
.od1-marketplace a:focus-visible { outline: 3px solid #b76729; outline-offset: 5px; }
.od1-market-main { flex: 1 0 auto; width: min(1200px, 90%); margin: 0 auto; padding: 36px 0 80px; min-height: 65vh; }
.od1-market-hero { padding: clamp(32px, 7vw, 90px); border-radius: 24px; background: #e4e9d9; margin-bottom: 64px; }
.od1-market-eyebrow { text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.od1-market-hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.05; letter-spacing: -.055em; max-width: 850px; }
.od1-market-hero > p:not(.od1-market-eyebrow) { max-width: 470px; font-size: 18px; margin: 24px 0; }
.od1-market-button { display: inline-flex; gap: 30px; padding: 14px 22px; border-radius: 8px; background: #183c30; color: #fff; font-weight: 600; }
.od1-market-section-heading { margin-bottom: 24px; }
.od1-market-section-heading h1, .od1-market-section-heading h2 { font-size: 32px; letter-spacing: -.03em; margin-bottom: 0; }
.od1-market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.od1-market-card { padding: 28px; border: 1px solid #d9ded4; border-radius: 16px; background: #fffdf8; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.od1-market-card h3 { font-size: 26px; margin: 8px 0; }
.od1-market-store-link { margin-top: auto; padding-top: 24px; font-weight: 650; }
.od1-market-vendor { font-size: 14px; }
.od1-marketplace .commerce-footer { background: #183c30; color: #fff; }
.od1-market-skip { position: absolute; left: 20px; top: -100px; }
.od1-market-skip:focus { top: 8px; background: #fff; padding: 12px; z-index: 100; }
@media (max-width: 800px) { .od1-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .od1-market-grid { grid-template-columns: 1fr; } .od1-market-header { flex-direction: column; align-items: flex-start; } .od1-market-header nav { gap: 18px; font-size: 14px; } }

.od1-market-search { margin: 24px 0; }
.od1-market-search label { display: block; font-weight: 650; margin-bottom: 10px; }
.od1-market-search > div { display: flex; gap: 12px; }
.od1-market-search input { flex: 1; min-width: 0; padding: 14px; border: 1px solid #84988d; border-radius: 8px; background: white; color: #183c30; font: inherit; }
.od1-market-button { cursor: pointer; border: 0; font: inherit; }
@media (max-width: 540px) { .od1-market-search > div { flex-direction: column; } }

/* Image-first business cards: one focusable link per business. */
.od1-market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.od1-vendor-tile { min-width: 0; }
.od1-vendor-tile-link { display: block; color: inherit; border-radius: 16px; }
.od1-marketplace .od1-vendor-tile-link:hover { text-decoration: none; }
.od1-vendor-cover { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: #e4e9df; }
.od1-vendor-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.od1-vendor-tile-link:hover img { transform: scale(1.035); }
.od1-vendor-details { padding: 14px 2px 0; }
.od1-vendor-details h2 { margin: 0 0 5px; font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }
.od1-vendor-details p { margin: 0; font-size: 14px; line-height: 1.5; color: #506359; }
.od1-vendor-details p span[aria-hidden] { margin: 0 5px; }
.od1-market-main .od1-shop[data-shop] .card-media { aspect-ratio: 1; }
.od1-market-main .od1-shop[data-shop] .card-meta { display: none; }
@media (max-width: 900px) { .od1-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .od1-market-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .od1-vendor-cover img { transition: none; } .od1-vendor-tile-link:hover img { transform: none; } }

.od1-search-status:empty { display: none; }
.od1-market-footer { flex-shrink: 0; width: 100%; margin-top: auto; padding: 24px 20px; text-align: center; font-size: 14px; background: #183c30; color: #fff; }
.od1-market-footer a { color: inherit; }
.od1-search-status { font-size: 14px; color: #506359; margin: 8px 0 16px; }
[data-vendor-results][aria-busy="true"] { opacity: .65; }

.od1-reviews { margin-top: 32px; padding: 24px; border: 1px solid #d9ded4; border-radius: 16px; background: #fffdf8; color: #183c30; }
.od1-reviews h2 { font-size: 24px; margin: 0 0 12px; }
.od1-review { padding: 18px 0; border-top: 1px solid #d9ded4; overflow-wrap: anywhere; }
.od1-review > strong, .od1-review > span, .od1-review > time { display: block; }
.od1-review time { font-size: 12px; color: #506359; }
.od1-review p { white-space: normal; }
.od1-reviews summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.od1-review-form { display: grid; gap: 14px; }
.od1-review-form label { display: grid; gap: 6px; }
.od1-review-form input:not([type="radio"]), .od1-review-form select, .od1-review-form textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid #84988d; border-radius: 8px; font: inherit; background: #fff; color: #183c30; }
.od1-review-form [role="status"] { margin: 0; }
.od1-product-reviews { min-width: 0; }
/* Keep purchase controls distinct from the light modal surface. */
.od1-market-main .od1-shop[data-shop] .orderModal .field label {
    color: #183c30;
    font-size: 14px;
    font-weight: 750;
    margin-bottom: 8px;
}
.od1-market-main .od1-shop[data-shop] .orderModal .field :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select) {
    min-height: 48px;
    padding: 12px 14px;
    border: 2px solid #70867a;
    border-radius: 10px;
    background: #f0f4f0;
    color: #183c30;
    font-size: 16px;
    font-weight: 600;
}
.od1-market-main .od1-shop[data-shop] .orderModal .field select {
    appearance: auto;
    cursor: pointer;
}
.od1-market-main .od1-shop[data-shop] .orderModal .field :is(input, select):focus {
    background: #fff;
    border-color: #183c30;
    outline: 2px solid #183c30;
    outline-offset: 2px;
    box-shadow: none;
}
.od1-shop[data-shop] .orderModal .od1-product-reviews { padding: 0 18px 18px; }
@media (max-width: 540px) { .od1-reviews { padding: 18px; } }
.od1-shop[data-shop] .orderModal .od1-review-form :is(input:not([type="radio"]), select, textarea) {
    color: #183c30; background: #fff; border: 1px solid #84988d; border-radius: 8px;
    width: 100%; min-width: 0; padding: 12px; font: inherit;
}
.od1-shop[data-shop] .orderModal .od1-review-form :is(input:not([type="radio"]), select, textarea):focus {
    outline: 2px solid #183c30; outline-offset: 2px;
}

.od1-review-form .od1-rating { min-width: 0; margin: 0; padding: 0; border: 0; }
.od1-rating legend { padding: 0; margin-bottom: 6px; }
.od1-rating-stars { display: flex; width: fit-content; gap: 2px; }
.od1-review-form .od1-rating-star { display: grid; place-items: center; position: relative; width: 44px; height: 44px; margin: 0; cursor: pointer; border-radius: 6px; color: #829087; }
.od1-rating-star span { font-size: 36px; line-height: 1; pointer-events: none; }
.od1-review-form .od1-rating-star input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.od1-review-form .od1-rating-star:has(input:checked),
.od1-review-form .od1-rating-star:has(~ .od1-rating-star input:checked) { color: #a45c00; }
.od1-review-form .od1-rating-star:has(input:focus-visible) { outline: 2px solid #183c30; outline-offset: 2px; }
@media (hover: hover) {
    .od1-review-form .od1-rating-stars:has(:hover) .od1-rating-star { color: #829087; }
    .od1-review-form .od1-rating-stars .od1-rating-star:hover,
    .od1-review-form .od1-rating-stars .od1-rating-star:has(~ .od1-rating-star:hover) { color: #a45c00; }
}

.od1-vendor-cover, .od1-shop[data-shop] .card-media, .od1-shop[data-shop] [data-modal-media] { position: relative; }
.od1-image-rating { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 7px 10px; border-radius: 999px; background: rgba(18, 24, 20, .9); color: #fff; pointer-events: none; line-height: 1; }
.od1-image-stars { position: relative; display: inline-block; white-space: nowrap; color: #869087; font-family: Arial, sans-serif; font-size: 19px; letter-spacing: 1px; line-height: 1; }
.od1-image-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #ffcf33; white-space: nowrap; }
.od1-image-rating-value { white-space: nowrap; font-family: system-ui, sans-serif; font-size: 12px; font-weight: 650; }
.od1-image-stars { flex-shrink: 0; }
.od1-shop[data-shop] .card-media .od1-image-rating { left: 6px; bottom: 6px; gap: 5px; padding: 6px 7px; max-width: calc(100% - 12px); }
.od1-shop[data-shop] .card-media .od1-image-stars { font-size: 15px; letter-spacing: 0; }
.od1-shop[data-shop] .card-media .od1-image-rating-value { font-size: 11px; }

/* Public shop surfaces match the marketplace's light palette. */
.od1-market-main .od1-shop[data-shop] {
    --text: #183c30; --muted: #506359; --muted-2: #64776b;
    --on-surface: #183c30; --on-surface-muted: #506359;
    --surface: #fffdf8; --surface-2: #f0f2e9; --surface-3: #e8ede2;
    --panel: #fffdf8; --panel-strong: #fffdf8; --modal-bg: #fffdf8;
    --border: #d9ded4; --border-2: #a7b9aa; --ring: #35664d; --accent-soft: #e4ecdf;
    --shadow-sm: 0 5px 18px rgba(24,60,48,.06); --shadow-md: 0 10px 25px rgba(24,60,48,.1);
    --btn-primary-bg: #183c30; --btn-primary-bg-hover: #244e3f; --btn-primary-text: #fff;
}
.od1-marketplace .od1-all-vendors { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #bac8bc; border-radius: 999px; color: #183c30; font-size: 14px; font-weight: 650; }
.od1-market-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
.od1-market-dock { position: fixed; z-index: 900; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 176px; max-width: calc(100% - 32px); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.85); background: rgba(249,250,246,.48); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 8px 32px rgba(18,45,34,.2), inset 0 1px 0 rgba(255,255,255,.9); }
.od1-market-dock .od1-dock-item { appearance: none; border: 0; font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 48px; padding: 10px; border-radius: 999px; background: transparent; color: #43594b; cursor: pointer; text-decoration: none; }
.od1-dock-item svg { width: 23px; height: 23px; flex-shrink: 0; }
.od1-dock-item span { font-size: 11px; font-weight: 650; white-space: nowrap; }
.od1-market-dock .od1-dock-item:hover { color: #183c30; background: rgba(222,234,215,.7); text-decoration: none; }
.od1-market-dock .od1-dock-item.is-active { color: #fff; background: #183c30; }
.od1-market-dock .od1-dock-item:focus-visible { outline: 2px solid #183c30; outline-offset: 2px; }
html { scroll-padding-bottom: 115px; }
@media (max-width: 540px) { .od1-marketplace .od1-market-header { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; } }
@supports not (backdrop-filter: blur(1px)) { .od1-market-dock { background: #f7f9f2; } }
.od1-vendor-interest { width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 40px); overflow-y: auto; margin: auto; padding: 28px; border: 1px solid #d9ded4; border-radius: 24px; background: #fffdf8; color: #183c30; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.od1-vendor-interest::backdrop { background: rgba(15,34,25,.5); backdrop-filter: blur(4px); }
.od1-interest-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.od1-interest-heading h2 { margin: 0; font-size: 28px; }
.od1-interest-heading .od1-market-eyebrow { margin-top: 0; }
.od1-interest-heading > button { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #d9ded4; background: #f1f4eb; color: #183c30; border-radius: 50%; font-size: 18px; cursor: pointer; }
.od1-interest-form fieldset { display: grid; gap: 16px; padding: 0; border: 0; margin: 24px 0 0; min-width: 0; }
.od1-interest-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.od1-interest-form label > span { font-weight: 400; font-size: 12px; }
.od1-interest-form input, .od1-interest-form textarea { width: 100%; min-width: 0; padding: 12px; font: inherit; border: 1px solid #c4d0c2; border-radius: 10px; background: #f5f6f0; color: #506359; }
.od1-interest-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.od1-interest-form button { justify-content: center; }
.od1-interest-form button:disabled { background: #e4eade; color: #526453; cursor: wait; }
.od1-interest-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#od1-interest-status.is-success { color: #176b41; }
#od1-interest-status.is-error { color: #a12622; }
@media (max-width: 540px) { .od1-vendor-interest { padding: 20px; } .od1-interest-row { grid-template-columns: 1fr; } }
.od1-search-popup { width: min(680px, calc(100% - 28px)); max-height: calc(100dvh - 40px); margin: auto; padding: 24px; border: 1px solid rgba(255,255,255,.85); border-radius: 24px; background: #f7f8f2; color: #183c30; box-shadow: 0 24px 80px rgba(0,0,0,.25); overflow: auto; }
.od1-search-popup::backdrop { background: rgba(15,34,25,.4); backdrop-filter: blur(6px); }
.od1-search-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.od1-search-heading h2 { font-size: 25px; margin: 0; }
.od1-search-heading button { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #c4d0c2; border-radius: 50%; background: #eef2e7; color: #183c30; font-size: 18px; cursor: pointer; }
.od1-search-popup .od1-market-search { margin: 20px 0 12px; }
.od1-search-popup .od1-market-grid { grid-template-columns: 1fr; gap: 12px; }
.od1-search-popup .od1-vendor-tile-link { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 14px; align-items: center; padding: 8px; border: 1px solid #d9ded4; background: #fffdf8; border-radius: 14px; }
.od1-search-popup .od1-vendor-cover { border-radius: 9px; }
.od1-search-popup .od1-vendor-details { padding: 0; }
.od1-search-popup .od1-vendor-details h2 { font-size: 17px; }
.od1-search-popup .od1-vendor-details p { font-size: 12px; }
.od1-search-popup .od1-image-rating { display: none; }
[data-search-popup-results][aria-busy="true"] { opacity: .6; }
@media (max-width: 540px) { .od1-search-popup { padding: 18px; } .od1-search-heading h2 { font-size: 22px; } .od1-search-popup .od1-vendor-tile-link { grid-template-columns: 88px minmax(0,1fr); gap: 10px; } }
