/*
Theme Name: Offer Bazaar
Author: Offer Bazaar
Description: A fast, responsive local-shop directory theme with category filters and shop brochures.
Version: 1.8.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: offer-bazaar
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, translation-ready, blog, elementor
*/

:root {
	color-scheme: light;
	--ob-paper: #f6f8fa;
	--ob-white: #fff;
	--ob-ink: #202b36;
	--ob-muted: #5b6f82;
	--ob-line: #e3e7eb;
	--ob-green: #4992f0;
	--ob-green-dark: #1274ed;
	--ob-green-pale: #edf4ff;
	--ob-gold: #ff6d8b;
	--ob-mint: #39d8c8;
	--ob-lavender: #838dea;
	--ob-radius: 14px;
	--ob-shadow: 0 18px 45px rgb(32 43 54 / 10%);
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: radial-gradient(ellipse at 84% 2%, rgb(57 216 200 / 12%), transparent 31rem), var(--ob-paper);
	color: var(--ob-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.65;
}
body, button, input, select, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ob-green); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ob-green-dark); }
button, input, select, textarea { font: inherit; }
button, .button, input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ob-gold); outline-offset: 3px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; margin: 0; clip: auto; background: var(--ob-white); color: var(--ob-ink); box-shadow: var(--ob-shadow); }
.site-shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.elementor-theme-content { width: 100%; min-width: 0; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgb(227 231 235 / 85%); background: rgb(255 255 255 / 88%); backdrop-filter: blur(14px); }
.header-inner { position: relative; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 11px; color: var(--ob-ink); text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; flex: 0 0 auto; border-radius: 10px; background: linear-gradient(135deg, var(--ob-mint), var(--ob-green) 55%, var(--ob-lavender)); color: white; font-size: 15px; font-weight: 850; letter-spacing: -.06em; }
.brand-name { overflow: hidden; font-size: 19px; font-weight: 800; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.brand .custom-logo { width: auto; max-width: 190px; max-height: 48px; }
.primary-navigation { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.primary-navigation ul, .footer-navigation ul { display: flex; align-items: center; gap: 23px; margin: 0; padding: 0; list-style: none; }
.primary-navigation a, .footer-navigation a { color: var(--ob-ink); font-size: 13px; font-weight: 650; text-decoration: none; }
.primary-navigation a:hover, .footer-navigation a:hover { color: var(--ob-green); }
.primary-navigation .current-menu-item > a, .primary-navigation .current_page_item > a { color: var(--ob-green); }
.mobile-nav-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.vendor-header-link { color: var(--ob-green-dark); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.vendor-header-link:hover { color: var(--ob-green); text-decoration: underline; }
.vendor-register-link { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--ob-line); border-radius: 8px; color: var(--ob-ink); font-size: 12px; font-weight: 700; text-decoration: none; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.vendor-register-link:hover { border-color: var(--ob-green); background: var(--ob-green-pale); color: var(--ob-green-dark); }
.header-cta, .button, .shop-button, .search-submit {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 17px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: var(--ob-green);
	color: white;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .18s ease, transform .18s ease, border-color .18s ease;
}
.header-cta:hover, .button:hover, .shop-button:hover, .search-submit:hover { transform: translateY(-1px); background: var(--ob-green-dark); color: white; }
.button-secondary { border-color: var(--ob-line); background: var(--ob-white); color: var(--ob-ink); }
.button-secondary:hover { border-color: var(--ob-green); background: white; color: var(--ob-green-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--ob-line); border-radius: 8px; background: var(--ob-white); color: var(--ob-ink); }
.menu-toggle svg { width: 20px; height: 20px; }

.eyebrow { display: block; color: var(--ob-green); font-size: 10px; font-weight: 850; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
h1, h2, h3, h4 { margin-top: 0; color: var(--ob-ink); font-weight: 780; line-height: 1.15; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 6vw, 68px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; color: var(--ob-muted); }
.hero { position: relative; isolation: isolate; display: grid; min-height: 480px; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 38px; padding-block: 67px 48px; }
.hero::before { position: absolute; z-index: -1; top: -95px; right: 0; width: min(83vw, 1040px); height: 570px; border-radius: 0 0 0 47%; background: radial-gradient(ellipse at 63% 23%, rgb(57 216 200 / 18%), transparent 44%), radial-gradient(ellipse at 78% 51%, rgb(131 141 234 / 12%), transparent 52%), linear-gradient(135deg, rgb(246 248 250 / 0%), rgb(227 238 251 / 72%)); content: ""; pointer-events: none; }
.hero-copy { max-width: 690px; }
.hero h1 { margin: 17px 0 16px; }
.hero h1 span { color: var(--ob-green); }
.hero-description { max-width: 590px; margin-bottom: 24px; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 23px; color: var(--ob-muted); font-size: 11px; }
.hero-trust span::before { content: "✓"; margin-right: 7px; color: var(--ob-green); font-weight: 900; }
.hero-market-scene { position: relative; display: grid; min-height: 325px; place-items: center; }
.hero-market-preview { position: relative; z-index: 1; width: min(100%, 440px); padding: 13px 16px 12px; overflow: hidden; border: 1px solid rgb(255 255 255 / 92%); border-radius: 14px; background: rgb(255 255 255 / 94%); box-shadow: 0 30px 70px rgb(32 43 54 / 15%), 0 4px 15px rgb(32 43 54 / 5%); transform: perspective(1100px) rotateY(-4deg) rotateX(2deg); }
.preview-browser-bar { display: flex; align-items: center; gap: 5px; padding-bottom: 12px; border-bottom: 1px solid #edf0f3; color: #92a2b1; font-size: 9px; }
.preview-browser-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #ff6d8b; }
.preview-browser-bar > span:nth-child(2) { background: #ffcb4f; }
.preview-browser-bar > span:nth-child(3) { background: var(--ob-mint); }
.preview-browser-bar b { margin-left: auto; font-weight: 600; }
.preview-search { display: flex; align-items: center; gap: 9px; min-height: 39px; margin: 13px 0 7px; padding: 0 10px; border: 1px solid #e8edf2; border-radius: 7px; color: #92a2b1; font-size: 10px; }
.preview-search span:first-child { color: var(--ob-green); font-size: 17px; }
.preview-search span:last-child { margin-left: auto; }
.preview-offer-row { display: flex; align-items: center; gap: 10px; padding: 11px 3px; border-bottom: 1px solid #edf0f3; }
.preview-shop-logo { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: white; font-size: 14px; font-weight: 800; }
.preview-logo-blue { background: linear-gradient(145deg, #75abf3, #4992f0); }
.preview-logo-mint { background: linear-gradient(145deg, #7ce8dd, #39d8c8); }
.preview-shop-copy { display: grid; min-width: 0; gap: 2px; }
.preview-shop-copy b { overflow: hidden; color: var(--ob-ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.preview-shop-copy small { color: var(--ob-muted); font-size: 9px; }
.preview-discount { margin-left: auto; padding: 4px 7px; border-radius: 12px; background: #fff0f3; color: #e34b6b; font-size: 8px; font-weight: 800; letter-spacing: .04em; }
.preview-discount-mint { background: #e8faf7; color: #128f83; }
.preview-market-footer { display: flex; align-items: center; gap: 8px; padding-top: 11px; color: var(--ob-muted); font-size: 9px; }
.preview-market-footer > span { display: flex; padding-left: 3px; }
.preview-market-footer i { width: 9px; height: 9px; margin-left: -3px; border: 1px solid white; border-radius: 50%; background: var(--ob-green); }
.preview-market-footer i:nth-child(2) { background: var(--ob-lavender); }
.preview-market-footer i:nth-child(3) { background: #ff6d8b; }
.hero-orb { position: absolute; display: block; border-radius: 50%; pointer-events: none; animation: ob-float 6s ease-in-out infinite; }
.hero-orb-coral { top: 21px; left: 3%; width: 47px; height: 47px; background: radial-gradient(circle at 35% 30%, #ffa3b5, #ff6d8b 70%); animation-delay: -1.3s; }
.hero-orb-mint { right: 0; bottom: 17px; width: 80px; height: 80px; background: radial-gradient(circle at 35% 30%, #b1f1ea, #39d8c8 72%); animation-delay: -3.4s; }
.hero-orb-blue { bottom: 14px; left: 1%; width: 122px; height: 78px; border-radius: 52% 48% 62% 38%; background: radial-gradient(circle at 35% 35%, #a9c9f7, #4992f0); transform: rotate(-18deg); animation-delay: -2.1s; }
@keyframes ob-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.directory-toolbar { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(160px, .75fr) auto auto; align-items: start; gap: 10px; padding: 12px; border: 1px solid var(--ob-line); border-radius: var(--ob-radius); background: var(--ob-white); box-shadow: var(--ob-shadow); }
.directory-toolbar input, .directory-toolbar select, .search-field { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--ob-ink); }
.directory-toolbar input:not(:first-child), .directory-toolbar select { border-left-color: var(--ob-line); border-radius: 0; }
.directory-toolbar input::placeholder { color: #858078; opacity: 1; }
.directory-toolbar input:focus, .directory-toolbar select:focus { outline: 2px solid var(--ob-green); outline-offset: -2px; }
.directory-search-column { min-width: 0; }
.directory-search-control { display: flex; min-width: 0; min-height: 46px; align-items: center; gap: 4px; padding: 0 5px 0 0; border: 1px solid var(--ob-line); border-radius: 9px; background: #f9fbfd; transition: border-color .18s ease, box-shadow .18s ease; }
.directory-search-control:focus-within { border-color: var(--ob-green); box-shadow: 0 0 0 3px rgb(73 146 240 / 13%); }
.directory-search-control input { flex: 1 1 auto; min-width: 0; min-height: 42px; padding-inline: 13px; border: 0 !important; outline: 0 !important; background: transparent; }
.location-search-button { display: inline-flex; min-height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 5px; padding: 6px 9px; border: 0; border-radius: 7px; background: var(--ob-green-pale); color: var(--ob-green-dark); font-size: 11px; font-weight: 750; transition: background .18s ease, transform .18s ease; }
.location-search-button:hover { transform: translateY(-1px); background: #dfedff; }
.location-search-button:disabled { cursor: wait; opacity: .65; }
.location-search-button svg { width: 16px; height: 16px; flex: 0 0 auto; }
.directory-search-help { min-height: 15px; margin: 4px 0 0 12px; font-size: 10px; line-height: 1.4; }
.directory-toolbar select { min-height: 46px; align-self: start; border: 1px solid var(--ob-line); border-radius: 9px; background: #f9fbfd; }
.directory-toolbar .search-submit { min-height: 46px; }
.reset-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding-inline: 10px; color: var(--ob-muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 37px 0 18px; }
.section-heading h2 { margin: 6px 0 0; }
.section-heading p, .result-count { margin: 0; color: var(--ob-muted); font-size: 12px; }
.category-chips { display: flex; gap: 9px; overflow-x: auto; padding: 0 0 8px; scrollbar-width: thin; }
.category-chip { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--ob-line); border-radius: 30px; background: var(--ob-white); color: var(--ob-ink); font-size: 11px; font-weight: 650; text-decoration: none; }
.category-chip:hover, .category-chip.is-current { border-color: var(--ob-green); background: var(--ob-green-pale); color: var(--ob-green-dark); }
.directory-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 28px; margin-top: 24px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.shop-card { min-width: 0; overflow: hidden; border: 1px solid var(--ob-line); border-radius: 12px; background: var(--ob-white); transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease; }
.shop-card:hover { transform: translateY(-4px); border-color: #cbdcf2; box-shadow: 0 18px 36px rgb(32 43 54 / 10%); }
.shop-card-main { display: block; color: inherit; text-decoration: none; }
.shop-card-banner { position: relative; display: flex; min-height: 124px; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 30% 20%, #fff 0, transparent 45%), linear-gradient(135deg, #e4f4f2, #e6edff); }
.shop-card-banner img { width: 100%; height: 124px; object-fit: cover; }
.shop-card-initial { display: grid; width: 66px; height: 66px; place-items: center; border: 1px solid rgb(73 146 240 / 15%); border-radius: 18px; background: rgb(255 255 255 / 84%); color: var(--ob-green); font-size: 33px; font-weight: 850; }
.shop-category-badge { position: absolute; right: 10px; bottom: 10px; max-width: calc(100% - 20px); overflow: hidden; padding: 5px 9px; border-radius: 20px; background: rgb(255 255 255 / 94%); color: var(--ob-ink); font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.shop-card-body { padding: 15px 15px 0; }
.shop-card h3 { overflow-wrap: anywhere; margin: 0 0 7px; font-size: 15px; }
.shop-address { display: flex; align-items: start; gap: 6px; min-height: 2.8em; margin: 0; color: var(--ob-muted); font-size: 11px; line-height: 1.45; }
.shop-address svg { flex: 0 0 auto; margin-top: 1px; }
.shop-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 15px 15px; color: var(--ob-green); font-size: 11px; font-weight: 750; }
.shop-card-footer a { color: inherit; text-decoration: none; }
.shop-card-footer a:hover { text-decoration: underline; }
.shop-card-category { color: var(--ob-muted); font-size: 9px; font-weight: 650; }
.directory-sidebar { display: grid; gap: 15px; }
.sidebar-card { padding: 20px; border: 1px solid var(--ob-line); border-radius: 12px; background: linear-gradient(145deg, #fff, #f1f6fb); }
.directory-sidebar .sidebar-card[data-ob-reveal] { --ob-reveal-delay: 120ms; }
.sidebar-card h3 { margin: 6px 0 8px; font-size: 19px; }
.sidebar-card p { font-size: 12px; line-height: 1.7; }
.sidebar-card .button { width: 100%; }
.sidebar-list { display: grid; gap: 4px; margin: 14px 0 0; padding: 0; list-style: none; }
.sidebar-list a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid rgb(227 231 235 / 85%); color: var(--ob-ink); font-size: 11px; text-decoration: none; }
.sidebar-list a:hover { color: var(--ob-green); }
.sidebar-list span { color: var(--ob-muted); }
.offers-section { margin: 54px 0 0; padding: 27px; border: 1px solid var(--ob-line); border-radius: 17px; background: linear-gradient(145deg, #fff, #f2f7fc); }
.offers-section .section-heading { margin-top: 0; }
.offer-shop { display: grid; grid-template-columns: minmax(170px, .7fr) minmax(0, 1.3fr); gap: 22px; padding: 19px 0; border-top: 1px solid var(--ob-line); }
.offer-shop-title { display: flex; align-items: start; gap: 11px; }
.offer-shop-title .shop-card-initial { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; font-size: 21px; }
.offer-shop-title h3 { margin: 2px 0 3px; font-size: 14px; }
.offer-shop-title h3 a { color: var(--ob-ink); text-decoration: none; }
.offer-shop-title h3 a:hover { color: var(--ob-green); }
.offer-shop-title p { margin: 0; font-size: 10px; }
.brochure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.brochure-card { min-width: 0; }
.brochure-cover { display: grid; width: 100%; aspect-ratio: 210 / 297; place-items: center; overflow: hidden; border: 1px solid var(--ob-line); border-radius: 8px; background: white; }
.brochure-cover-link { display: grid; width: 100%; height: 100%; place-items: center; }
.brochure-preview-image, .brochure-preview-frame { display: block; width: 100%; height: 100%; border: 0; background: white; object-fit: contain; }
.brochure-preview-frame { pointer-events: none; }
.brochure-link { display: flex; justify-content: space-between; gap: 7px; padding: 8px 2px; color: var(--ob-ink); font-size: 11px; font-weight: 650; line-height: 1.4; text-decoration: none; }
.brochure-link span:first-child { overflow-wrap: anywhere; }
.brochure-link:hover { color: var(--ob-green); text-decoration: underline; }
.empty-state { grid-column: 1 / -1; padding: 34px 24px; border: 1px dashed #c4d3e2; border-radius: 12px; background: rgb(255 255 255 / 72%); text-align: center; }
.empty-state h3 { margin: 0 0 8px; font-size: 20px; }
.empty-state p { margin-bottom: 18px; font-size: 13px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 27px 0; }
.pagination .page-numbers { display: grid; min-width: 40px; min-height: 40px; place-items: center; padding-inline: 10px; border: 1px solid var(--ob-line); border-radius: 7px; background: var(--ob-white); color: var(--ob-ink); font-size: 12px; text-decoration: none; }
.pagination .current, .pagination a:hover { border-color: var(--ob-green); background: var(--ob-green); color: white; }
.bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 55px 0; padding: 30px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 16px; background: radial-gradient(circle at 84% 16%, rgb(57 216 200 / 17%), transparent 24rem), linear-gradient(125deg, #edf4ff, #f7fbfd); box-shadow: 0 15px 38px rgb(32 43 54 / 5%); }
.bottom-cta h2 { max-width: 550px; margin: 7px 0 0; font-size: clamp(22px, 3vw, 29px); }
.bottom-cta p { margin: 8px 0 0; font-size: 12px; }

.page-main { min-height: 55vh; padding-block: 42px 64px; }
.page-header { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.page-header h1 { margin: 10px 0; font-size: clamp(32px, 5vw, 50px); }
.page-content { max-width: 790px; margin: 0 auto; }
.page-content > * + * { margin-top: 1.2em; }
.page-content img { border-radius: 10px; }
.entry-content { color: #35322e; }
.entry-content a { text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content :where(h2,h3,h4) { margin-top: 1.6em; }
.single-shop-header { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 25px; margin-bottom: 30px; }
.single-shop-image { overflow: hidden; border: 1px solid var(--ob-line); border-radius: 16px; background: linear-gradient(135deg, #e4f4f2, #e6edff); }
.single-shop-image img { width: 160px; height: 160px; object-fit: cover; }
.single-shop-image .shop-card-initial { width: 160px; height: 160px; border: 0; border-radius: 0; font-size: 72px; }
.single-shop-header h1 { margin: 8px 0; font-size: clamp(33px, 5vw, 52px); }
.shop-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 12px 0 0; color: var(--ob-muted); font-size: 12px; }
.shop-meta a { color: var(--ob-green); }
.shop-panel { margin-top: 30px; padding: 25px; border: 1px solid var(--ob-line); border-radius: 12px; background: var(--ob-white); }
.shop-panel h2 { margin-bottom: 15px; font-size: 23px; }
.single-shop-content { margin: 28px 0; }
.shop-back { margin-top: 24px; }
.vendor-page .page-header { max-width: 760px; }
.vendor-page .page-header p { max-width: 620px; margin-inline: auto; font-size: 14px; }
.vendor-notice { max-width: 980px; margin: 0 auto 18px; padding: 14px 16px; border: 1px solid #c8ddd0; border-radius: 8px; background: var(--ob-green-pale); color: var(--ob-green-dark); font-size: 13px; }
.vendor-notice p { margin: 0; color: inherit; }
.vendor-notice-error { border-color: #e7c2b6; background: #fff1eb; color: #8a3217; }
.vendor-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); align-items: start; gap: 18px; }
.vendor-panel { min-width: 0; padding: 25px; border: 1px solid var(--ob-line); border-radius: 12px; background: var(--ob-white); box-shadow: 0 8px 26px rgb(32 43 54 / 4%); }
.vendor-panel h2 { margin: 7px 0 8px; font-size: 25px; }
.vendor-help { margin: 0 0 15px; color: var(--ob-muted); font-size: 11px; line-height: 1.6; }
.vendor-form { display: grid; gap: 15px; }
.vendor-form label { display: grid; gap: 6px; color: var(--ob-ink); font-size: 12px; font-weight: 700; }
.vendor-form input:not([type="file"]), .vendor-form select, .vendor-form textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--ob-line); border-radius: 7px; background: white; color: var(--ob-ink); font-size: 13px; font-weight: 450; }
.vendor-form input[type="file"] { width: 100%; padding: 10px; border: 1px dashed #c4d3e2; border-radius: 7px; background: #f8fbfd; color: var(--ob-muted); font-size: 11px; }
.vendor-form textarea { resize: vertical; }
.vendor-form label .vendor-help { margin: -2px 0 0; font-weight: 450; }
.vendor-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vendor-location-row { display: grid; justify-items: start; gap: 5px; }
.vendor-location-row .vendor-help { margin: 0; }
.directory-search-help.is-error, [data-ob-location-status].is-error { color: #8a3217; }
.vendor-shop-list { display: grid; gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.vendor-shop-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-top: 1px solid var(--ob-line); }
.vendor-shop-list strong { display: block; overflow-wrap: anywhere; color: var(--ob-ink); font-size: 13px; }
.vendor-shop-list small { display: block; margin-top: 3px; color: var(--ob-muted); font-size: 10px; }
.vendor-shop-list a, .vendor-signout, .vendor-switch a, .vendor-lost-password { color: var(--ob-green); font-size: 11px; font-weight: 700; text-decoration: none; }
.vendor-shop-list a:hover, .vendor-signout:hover, .vendor-switch a:hover, .vendor-lost-password:hover { text-decoration: underline; }
.vendor-add-shop { display: inline-flex; margin: 2px 0 7px; }
.vendor-shop-summary { min-width: 0; }
.vendor-shop-summary p { margin: 5px 0; color: var(--ob-muted); font-size: 11px; line-height: 1.5; }
.vendor-shop-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px 13px; }
.vendor-shop-files { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.vendor-shop-files li { padding: 0; border: 0; }
.vendor-shop-files a { font-size: 10px; }
.vendor-brochure-manager { max-width: 980px; margin-inline: auto; }
.vendor-brochure-manage-list { display: grid; gap: 12px; margin: 18px 0 22px; padding: 0; list-style: none; }
.vendor-brochure-manage-item { display: grid; grid-template-columns: minmax(105px, 150px) minmax(0, 1fr); gap: 16px; padding: 14px; border: 1px solid var(--ob-line); border-radius: 9px; background: #fff; }
.vendor-brochure-manage-item.is-expired { border-color: #e7c2b6; background: #fffaf8; }
.vendor-brochure-manage-preview { width: 100%; aspect-ratio: 210 / 297; overflow: hidden; border: 1px solid var(--ob-line); border-radius: 6px; background: #fff; }
.vendor-brochure-manage-preview > a, .vendor-brochure-manage-preview .brochure-preview-image, .vendor-brochure-manage-preview .brochure-preview-frame { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.vendor-brochure-manage-details { display: grid; align-content: start; justify-items: start; gap: 8px; min-width: 0; }
.vendor-brochure-manage-details > strong { overflow-wrap: anywhere; color: var(--ob-ink); font-size: 14px; }
.vendor-brochure-manage-details > a, .vendor-brochure-expired { color: var(--ob-green); font-size: 11px; font-weight: 700; }
.vendor-brochure-expired { color: #8a3217; }
.vendor-brochure-item-form { display: grid; grid-template-columns: minmax(170px, 240px) 1fr; align-items: end; gap: 10px; width: 100%; margin-top: 7px; }
.vendor-brochure-item-form label { display: grid; gap: 5px; color: var(--ob-ink); font-size: 11px; font-weight: 700; }
.vendor-brochure-item-form input[type="date"] { width: 100%; min-height: 40px; padding: 8px; border: 1px solid var(--ob-line); border-radius: 6px; background: white; color: var(--ob-ink); font-size: 12px; }
.vendor-brochure-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vendor-brochure-actions .button { min-height: 40px; padding-inline: 11px; font-size: 10px; }
.button-danger { border: 1px solid #f1d2c8; background: #fff6f2; color: #8a3217; }
.button-danger:hover { background: #ffede6; }
.vendor-brochure-upload-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ob-line); }
.vendor-current-upload { min-width: 0; margin: 0; padding: 13px; border: 1px solid var(--ob-line); border-radius: 8px; }
.vendor-current-upload legend { padding-inline: 5px; color: var(--ob-ink); font-size: 12px; font-weight: 700; }
.vendor-current-upload > div { display: flex; align-items: center; gap: 13px; }
.vendor-current-logo { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; }
.vendor-remove-file { display: flex !important; align-items: center; gap: 6px !important; color: var(--ob-muted) !important; font-size: 10px !important; font-weight: 550 !important; }
.vendor-form .vendor-remove-file input[type="checkbox"] { width: 16px; min-height: 16px; margin: 0; padding: 0; accent-color: var(--ob-green); }
.vendor-current-brochures { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 11px; margin: 8px 0 0; padding: 0; list-style: none; }
.vendor-current-brochures li { min-width: 0; display: grid; align-content: start; gap: 5px; }
.vendor-current-brochures li > a { overflow-wrap: anywhere; color: var(--ob-green); font-size: 10px; line-height: 1.4; }
.vendor-current-brochures .vendor-brochure-preview { width: 100%; aspect-ratio: 210 / 297; overflow: hidden; border: 1px solid var(--ob-line); border-radius: 6px; background: white; }
.vendor-current-brochures .brochure-preview-image, .vendor-current-brochures .brochure-preview-frame { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.vendor-current-brochures .vendor-remove-file { align-items: start !important; }
.vendor-empty { margin: 20px 0; padding: 21px; border: 1px dashed #c4d3e2; border-radius: 8px; text-align: center; }
.vendor-empty h3 { margin-bottom: 7px; font-size: 16px; }
.vendor-empty p, .vendor-switch { margin: 0; font-size: 11px; }
.vendor-signout { display: inline-block; margin-top: 20px; }
.vendor-login-panel { max-width: 520px; margin: 0 auto; }
.vendor-lost-password { justify-self: start; }
.vendor-switch { margin-top: 17px; color: var(--ob-muted); }
.vendor-login-panel .vendor-help { margin-top: 14px; }
.breadcrumbs { margin: 0 0 20px; color: var(--ob-muted); font-size: 11px; }
.breadcrumbs a { color: var(--ob-muted); }
.post-card { padding: 24px 0; border-bottom: 1px solid var(--ob-line); }
.post-card h2 { margin: 4px 0 8px; font-size: 24px; }
.post-card h2 a { color: var(--ob-ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--ob-green); }
.post-meta { margin-bottom: 8px; color: var(--ob-muted); font-size: 11px; }
.search-form { display: flex; max-width: 620px; gap: 8px; margin: 25px auto; }
.search-field { border: 1px solid var(--ob-line); background: white; }
.not-found { padding: 55px 20px; text-align: center; }
.not-found h1 { font-size: 42px; }
.not-found p { max-width: 550px; margin: 0 auto 20px; }
.comments-area { max-width: 790px; margin: 35px auto; padding-top: 20px; border-top: 1px solid var(--ob-line); }

.site-footer { margin-top: 48px; border-top: 1px solid var(--ob-line); background: #f2f7fc; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 25px; padding-block: 27px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ob-ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.footer-brand .brand-mark { width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
.footer-note { grid-column: 1; margin: 0; color: var(--ob-muted); font-size: 11px; }
.footer-navigation { grid-row: 1 / span 2; grid-column: 2; }
.footer-navigation ul { gap: 16px; }
.footer-navigation a { font-size: 11px; }
.footer-bottom { padding: 0 0 18px; color: var(--ob-muted); font-size: 10px; }

/* Ava-inspired page reveals. Content remains visible if motion is unavailable or disabled. */
html.ob-motion-ready [data-ob-reveal], html.ob-motion-ready .ob-reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .72s cubic-bezier(.5, -.01, 0, 1.005), transform .72s cubic-bezier(.5, -.01, 0, 1.005); transition-delay: var(--ob-reveal-delay, 0ms); }
html.ob-motion-ready [data-ob-reveal="hero-art"] { transform: scale(.96); }
html.ob-motion-ready [data-ob-reveal].is-visible, html.ob-motion-ready .ob-reveal.is-visible { opacity: 1; transform: none; }
.hero-copy[data-ob-reveal="hero-copy"] { --ob-reveal-delay: 80ms; }
.hero-market-scene[data-ob-reveal="hero-art"] { --ob-reveal-delay: 190ms; }
.section-heading[data-ob-reveal], .offers-section[data-ob-reveal], .bottom-cta[data-ob-reveal] { --ob-reveal-delay: 40ms; }
.shop-card[data-ob-reveal="shop-card"] { --ob-reveal-delay: 0ms; }
html.ob-motion-ready .shop-card[data-ob-reveal].is-visible:hover { transform: translateY(-4px); }

@media (max-width: 980px) {
	.site-shell { width: min(100% - 36px, 880px); }
	.header-inner { gap: 15px; }
	.primary-navigation ul { gap: 15px; }
	.primary-navigation a { font-size: 12px; }
	.header-actions { gap: 7px; }
	.vendor-register-link { padding-inline: 9px; font-size: 11px; }
	.header-actions .header-cta { padding-inline: 12px; font-size: 12px; }
	.hero { min-height: 410px; grid-template-columns: minmax(0, 1fr) minmax(270px, .85fr); gap: 20px; padding-block: 54px 38px; }
	.hero-market-scene { min-height: 280px; }
	.directory-toolbar { grid-template-columns: minmax(0, 1.5fr) minmax(150px, .8fr) auto auto; gap: 8px; padding: 10px; }
	.directory-search-help { font-size: 9px; }
	.directory-layout { grid-template-columns: minmax(0, 1fr) 235px; gap: 17px; }
	.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
	.header-inner { gap: 12px; }
	.header-actions { margin-left: auto; }
	.header-actions .header-cta, .header-actions .vendor-register-link { display: none; }
	.menu-toggle { display: grid; margin-left: 0; flex: 0 0 auto; }
	.primary-navigation { position: absolute; z-index: 21; top: calc(100% + 1px); right: -16px; left: -16px; display: none; padding: 10px 16px 17px; border-bottom: 1px solid var(--ob-line); background: var(--ob-paper); box-shadow: 0 15px 22px rgb(32 43 54 / 7%); }
	.primary-navigation.is-open { display: block; }
	.primary-navigation ul { display: grid; gap: 0; }
	.primary-navigation li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ob-line); font-size: 14px; }
	.mobile-nav-actions { display: grid; gap: 0; margin-top: 3px; }
	.mobile-nav-actions a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ob-line); color: var(--ob-green-dark); font-size: 14px; font-weight: 750; text-decoration: none; }
}
@media (max-width: 700px) {
	.site-shell { width: calc(100% - 32px); }
	.header-inner { min-height: 68px; gap: 8px; }
	.brand { gap: 8px; }
	.brand-name { max-width: 120px; font-size: 15px; }
	.brand-mark { width: 34px; height: 34px; }
	.header-actions { margin-left: auto; }
	.header-actions .header-cta, .header-actions .vendor-register-link { display: none; }
	.vendor-header-link { font-size: 10px; }
	.menu-toggle { display: grid; width: 40px; height: 40px; margin-left: 0; flex: 0 0 auto; }
	.primary-navigation { position: absolute; z-index: 21; top: calc(100% + 1px); right: -16px; left: -16px; display: none; padding: 10px 16px 17px; border-bottom: 1px solid var(--ob-line); background: var(--ob-paper); box-shadow: 0 15px 22px rgb(32 43 54 / 7%); }
	.primary-navigation.is-open { display: block; }
	.primary-navigation ul { display: grid; gap: 0; }
	.primary-navigation li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ob-line); font-size: 14px; }
	.mobile-nav-actions { display: grid; gap: 0; margin-top: 3px; }
	.mobile-nav-actions a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ob-line); color: var(--ob-green-dark); font-size: 14px; font-weight: 750; text-decoration: none; }
	.hero { min-height: 0; grid-template-columns: 1fr; gap: 17px; padding-block: 40px 32px; }
	.hero-copy { position: relative; z-index: 1; }
	.hero h1 { max-width: 540px; margin-top: 12px; font-size: clamp(43px, 12vw, 61px); }
	.hero-market-scene { min-height: 250px; margin: 0 12px; }
	.hero-market-preview { transform: none; }
	.hero-orb-blue { left: -6%; width: 93px; height: 64px; }
	.hero-orb-mint { right: -4%; width: 63px; height: 63px; }
	.hero-orb-coral { top: 5px; left: -4%; width: 37px; height: 37px; }
	.hero-description { font-size: 14px; }
	.hero-trust { gap: 8px 14px; font-size: 10px; }
	.directory-toolbar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
	.directory-search-column, .directory-toolbar select { grid-column: 1 / -1; }
	.directory-toolbar select { min-height: 44px; border: 1px solid var(--ob-line); border-radius: 7px; background: white; }
	.directory-search-control { min-height: 44px; background: white; }
	.directory-search-control input { min-height: 40px; }
	.location-search-button { gap: 4px; padding-inline: 7px; font-size: 10px; }
	.directory-toolbar .search-submit { grid-column: 1; }
	.reset-link { grid-column: 2; }
	.section-heading { align-items: start; margin-top: 28px; }
	.section-heading h2 { font-size: 23px; }
	.section-heading .result-count { padding-top: 5px; text-align: right; }
	.directory-layout { grid-template-columns: 1fr; }
	.directory-sidebar { grid-template-columns: 1fr; }
	.directory-sidebar .sidebar-card.categories-card { display: none; }
	.offers-section { margin-top: 36px; padding: 20px 16px; }
	.offer-shop { grid-template-columns: 1fr; gap: 12px; }
	.bottom-cta { display: grid; justify-items: start; gap: 17px; margin-block: 38px; padding: 22px; }
	.bottom-cta .button { width: 100%; }
	.vendor-dashboard-grid { grid-template-columns: 1fr; }
	.vendor-panel { padding: 19px 16px; }
	.vendor-shop-list li { align-items: start; flex-direction: column; }
	.vendor-shop-actions { width: 100%; }
	.vendor-brochure-manage-item { grid-template-columns: minmax(82px, 105px) minmax(0, 1fr); gap: 11px; padding: 10px; }
	.vendor-brochure-item-form { grid-template-columns: 1fr; }
	.vendor-brochure-actions { display: grid; grid-template-columns: 1fr 1fr; }
	.vendor-brochure-actions .button { padding-inline: 7px; }
	.vendor-form-row { grid-template-columns: 1fr; gap: 15px; }
	.vendor-location-row .button { width: 100%; }
	.page-main { padding-block: 32px 44px; }
	.single-shop-header { grid-template-columns: 82px minmax(0, 1fr); gap: 15px; }
	.single-shop-image img, .single-shop-image .shop-card-initial { width: 82px; height: 82px; font-size: 38px; }
	.single-shop-header h1 { font-size: 31px; }
	.shop-meta { gap: 7px 12px; font-size: 11px; }
	.shop-panel { padding: 19px 15px; }
	.footer-inner { grid-template-columns: 1fr; gap: 10px; }
	.footer-navigation { grid-row: auto; grid-column: 1; }
	.footer-navigation ul { flex-wrap: wrap; gap: 8px 17px; }
	.footer-note { grid-column: 1; }
}
@media (max-width: 440px) {
	.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
	.shop-card-banner { min-height: 93px; }
	.shop-card-banner img { height: 93px; }
	.shop-card-initial { width: 52px; height: 52px; border-radius: 14px; font-size: 27px; }
	.shop-card-body { padding: 12px 11px 0; }
	.shop-card h3 { font-size: 13px; }
	.shop-address { min-height: 3.3em; font-size: 10px; }
	.shop-card-footer { align-items: start; flex-direction: column; gap: 5px; padding: 10px 11px 12px; font-size: 10px; }
	.shop-category-badge { right: 7px; bottom: 7px; font-size: 8px; }
	.search-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
	html.ob-motion-ready [data-ob-reveal], html.ob-motion-ready .ob-reveal { opacity: 1; transform: none; }
}
