/* Ethiopia251 Market. Shell styles match the Tenders plugin so the store looks the same with or without it. */
.e251-site { --e-navy: #112558; --e-navy-deep: #0c1c40; --e-green: #468a2c; --e-green-bright: #72c23b; --e-slate: #273852; --e-muted: #5f6f87; min-height: 100vh; display: flex; flex-direction: column; }
.e251-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.e251-topbar { background: var(--e-navy-deep); color: #cbd7e6; font-size: 13.5px; }
.e251-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
.e251-top-tag { display: inline-flex; align-items: center; gap: 8px; }
.e251-live { width: 8px; height: 8px; border-radius: 50%; background: var(--e-green-bright); box-shadow: 0 0 0 3px rgba(114,194,59,.25); }
.e251-top-right { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.e251-top-right a { color: #cbd7e6; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.e251-top-right a:hover { color: #fff; }
.e251-powered { padding-left: 18px; border-left: 1px solid rgba(203,215,230,.3); }

/* Header */
.e251-header { background: #fff; border-bottom: 1px solid #e3e8f0; position: sticky; top: 0; z-index: 50; }
body.admin-bar .e251-header { top: 32px; }
.e251-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.e251-logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding: 10px 0; }
.e251-logo img { display: block; height: 58px; width: auto; max-width: 260px; }
.e251-wordmark { font-size: 34px; font-weight: 900; font-style: italic; letter-spacing: -.035em; color: var(--e-navy); }
.e251-wordmark .mlc-brand-num { color: var(--e-green); font-style: italic; }
.e251-dots { display: block; height: 4px; margin: 6px 0 6px 2px; width: 62%; background-image: radial-gradient(circle, var(--e-green-bright) 1.6px, transparent 1.8px); background-size: 9px 4px; background-repeat: repeat-x; }
.e251-logo-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--e-muted); }
.e251-nav { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.e251-nav a { color: var(--e-slate); text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 8px 0; border-bottom: 3px solid transparent; }
.e251-nav a:hover { color: var(--e-green); }
.e251-nav a.is-current { color: var(--e-green); border-bottom-color: var(--e-green); }
.e251-nav-toggle { display: none; }

/* Title banner */

/* Content */

/* Footer */
.e251-footer { background: var(--e-navy-deep); color: #9ba8bd; font-size: 14px; }
.e251-footer-in { display: grid; grid-template-columns: 1fr; gap: 18px; padding-top: 34px; padding-bottom: 26px; }
.e251-footer-brand { font-size: 24px; font-weight: 900; font-style: italic; letter-spacing: -.03em; color: #fff; }
.e251-footer-brand .mlc-brand-num { color: var(--e-green-bright); }
.e251-footer-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.e251-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.e251-footer-nav a { color: #cbd7e6; text-decoration: none; }
.e251-footer-nav a:hover { color: #fff; }
.e251-copy { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid rgba(203,215,230,.15); font-size: 13px; }

/* Small screens */
@media (max-width: 960px) {
	.e251-nav-wide { display: none; }
	.e251-nav-toggle { display: block; position: relative; }
	.e251-nav-toggle summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid #e3e8f0; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
	.e251-nav-toggle summary::-webkit-details-marker { display: none; }
	.e251-nav-toggle summary span { display: block; width: 20px; height: 2px; background: var(--e-navy); border-radius: 2px; }
	.e251-nav-toggle .e251-nav { position: absolute; right: 0; top: 52px; background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; box-shadow: 0 12px 32px rgba(12,28,64,.14); flex-direction: column; align-items: stretch; gap: 0; padding: 8px; min-width: 240px; }
	.e251-nav-toggle .e251-nav a { padding: 11px 12px; border-bottom: 0; border-radius: 8px; }
	.e251-nav-toggle .e251-nav a.is-current { background: #eef6e9; }
	.e251-header-in { min-height: 70px; }
	.e251-wordmark { font-size: 28px; }
	.e251-logo img { height: 46px; }
	.e251-powered { display: none; }
}
@media (max-width: 600px) {
	.e251-topbar { font-size: 12.5px; }
	.e251-top-right { display: none; }
	.e251-wrap { padding: 0 16px; }
}
@media (max-width: 782px) { body.admin-bar .e251-header { top: 46px; } }

/* Ethiopia251 site header on store pages (added in 2.6.6). */
.e251-site { min-height: 0; display: block; font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; }
.e251-top-right .e251-top-member { color: #b9e08f; font-weight: 700; }
.e251-top-right .e251-top-member:hover { color: #fff; }
.e251-top-right svg { width: 16px; height: 16px; }
.e251-header-right { display: flex; align-items: center; gap: 22px; }
.e251-subscribe { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 10px; background: var(--e-green); color: #fff !important; font-weight: 700; font-size: 15.5px; text-decoration: none; box-shadow: 0 6px 14px rgba(70,138,44,.25); }
.e251-subscribe:hover { background: #3a7624; }
.e251-search-btn { display: inline-flex; color: var(--e-navy); }
.e251-search-btn svg { width: 22px; height: 22px; }
.e251-logo img { height: 64px; }
.e251-footer { margin-top: 40px; }
body.g251-e251-shell > .wp-site-blocks > header.wp-block-template-part,
body.g251-e251-shell > .wp-site-blocks > footer.wp-block-template-part,
body.g251-e251-shell header.wp-block-template-part:first-of-type,
body.g251-e251-shell footer.wp-block-template-part,
body.g251-e251-shell #masthead, body.g251-e251-shell .site-header,
body.g251-e251-shell #colophon, body.g251-e251-shell .site-footer { display: none !important; }
body.g251-e251-shell .wp-site-blocks { padding-top: 0 !important; }
body.g251-e251-shell main.wp-block-group, body.g251-e251-shell .site-main { margin-top: 0 !important; padding-top: 0 !important; }
@media (max-width: 960px) { .e251-subscribe { display: none; } .g251-bar--sub { position: static; } .e251-header-right { gap: 12px; } }

/* Footer (matches ethiopia251.com) */
.e251-foot { background: #0e1d3d; color: #b8c4d6; font-size: 16px; line-height: 1.6; margin-top: 48px; }
.e251-foot .e251-wrap { max-width: 1240px; }
.e251-foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1.2fr 1.4fr; gap: 40px; padding: 64px 0 52px; }
.e251-foot-brand img { width: 250px; height: auto; display: block; margin-bottom: 26px; }
.e251-foot-brand p { margin: 0 0 18px; max-width: 420px; }
.e251-foot-power strong { color: #fff; font-weight: 600; }
.e251-foot h2 { color: #fff; font-size: 18px; font-weight: 600; margin: 24px 0 22px; letter-spacing: 0; }
.e251-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.e251-foot a { color: #b8c4d6; text-decoration: none; }
.e251-foot a:hover { color: #fff; }
.e251-foot-contact a, .e251-foot-contact span { display: inline-flex; align-items: center; gap: 12px; }
.e251-foot-contact svg { width: 20px; height: 20px; flex: none; }
.e251-foot-ml { display: inline-block; margin-top: 26px; background: #fff; border-radius: 8px; padding: 10px 14px; }
.e251-foot-ml img { display: block; width: 190px; height: auto; }
.e251-foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid rgba(184,196,214,.2); padding: 28px 0 34px; font-size: 15px; }
.e251-foot-bottom a { color: #b9e08f; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .e251-foot-grid { grid-template-columns: 1fr 1fr; } .e251-foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .e251-foot-grid { grid-template-columns: 1fr; padding-top: 44px; } }

/* Title banners: navy → green, like the Business Directory page */
.g251 .g251-hero { background: linear-gradient(100deg, #0e1d3d 0%, #1e3a6e 55%, #3b7a3f 100%) !important; }

/* Phones: store filter bar wraps instead of pushing the page sideways */
@media (max-width: 700px) {
	.g251 .g251-filterbar { flex-wrap: wrap !important; min-width: 0; max-width: 100%; }
	.g251 .g251-filterbar > * { min-width: 0; max-width: 100%; }
	.g251 .g251-filterbar__group { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
	.g251 .g251-filterbar__sort { flex: 1 1 100% !important; width: 100% !important; }
	.g251 .g251-filterbar__sort select { flex: 1 1 auto; width: 100% !important; min-width: 0 !important; max-width: 100% !important; }
	.g251 .g251-shop__panel { max-width: 100%; overflow: hidden; }
}
.e251-site, .e251-site *, .e251-site *::before, .e251-site *::after { box-sizing: border-box; }
.e251-site { width: 100%; max-width: 100vw; margin-left: 0; margin-right: 0; }
.e251-header-in { min-width: 0; }
.e251-logo { min-width: 0; flex: 0 1 auto; }
@media (max-width: 600px) { .e251-logo img { height: 44px; max-width: 200px; } }

/* Header on one line like ethiopia251.com; burger menu below 1200px */
.e251-site-head .e251-wrap { max-width: 1320px; }
.e251-site-head .e251-nav-wide { flex-wrap: nowrap; gap: 0 24px; }
.e251-site-head .e251-nav a { white-space: nowrap; font-size: 15.5px; }
.e251-header-right { flex: 0 0 auto; }
@media (max-width: 1199px) {
	.e251-site-head .e251-nav-wide { display: none; }
	.e251-site-head .e251-nav-toggle { display: block; position: relative; order: 3; }
	.e251-site-head .e251-nav-toggle summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid #e3e8f0; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
	.e251-site-head .e251-nav-toggle summary::-webkit-details-marker { display: none; }
	.e251-site-head .e251-nav-toggle summary span { display: block; width: 20px; height: 2px; background: #112558; border-radius: 2px; }
	.e251-site-head .e251-nav-toggle .e251-nav { position: absolute; right: 0; top: 52px; z-index: 60; background: #fff; border: 1px solid #e3e8f0; border-radius: 12px; box-shadow: 0 12px 32px rgba(12,28,64,.14); flex-direction: column; align-items: stretch; gap: 0; padding: 8px; min-width: 250px; }
	.e251-site-head .e251-nav-toggle .e251-nav a { padding: 11px 12px; border-bottom: 0; border-radius: 8px; }
	.e251-site-head .e251-nav-toggle .e251-nav a.is-current { background: #eef6e9; }
	.e251-site-head .e251-header-in { justify-content: flex-start; }
	.e251-site-head .e251-header-right { margin-left: auto; }
}

/* No theme spacing between the header, the page and the footer */
.wp-site-blocks > .e251-site { margin-block-start: 0 !important; margin-top: 0 !important; }
.e251-foot { margin-top: 0; }
.e251-foot-bottom { font-size: 14px; }
