/* ==========================================================================
   Energy Matters Marketplace (shop, categories, brands, product pages)
   ========================================================================== */
body.em-theme .mp { --mp-ink: #0B3B24; --mp-body: #3d4a42; --mp-muted: #5b6660; --mp-line: #E6ECE7; --mp-soft: #F4F7F2; --mp-mint: #EAFFDC; --mp-sage: #C5E0B4; --mp-green: #08713D; --mp-lime: #8DC63F; --mp-yellow: #ECB425;
	font-family: Poppins, sans-serif; color: #302F2F; background: #fff; }
body.em-theme .mp *, body.em-theme .mp *::before, body.em-theme .mp *::after { box-sizing: border-box; }
body.em-theme .mp a { color: var(--mp-green); }
body.em-theme .mp a:hover { color: #054A28; }
body.em-theme .mp p { margin: 0; }
body.em-theme .mp h1, body.em-theme .mp h2, body.em-theme .mp h3 { font-family: Poppins, sans-serif; color: var(--mp-ink); }
body.em-theme .mp-ico { width: 24px; height: 24px; flex: none; }
body.em-theme .mp-wrap { max-width: 1248px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
body.em-theme .mp { overflow-x: clip; }

/* Buttons & badges */
body.em-theme .mp .mp-btn { display: flex; justify-content: center; align-items: center; height: 52px; padding: 0 22px; border-radius: 14px; background: var(--mp-green); color: #fff; font: 600 16px/1 Poppins, sans-serif; transition: background .2s; }
body.em-theme .mp .mp-btn:hover { background: #054A28; color: #fff; }
body.em-theme .mp .mp-btn-inline { align-self: flex-start; display: inline-flex; height: auto; padding: 14px 22px; border-radius: 12px; font-size: 15px; }
body.em-theme .mp .mp-btn-yellow { background: var(--mp-yellow); color: #2b2100; font-weight: 700; }
body.em-theme .mp .mp-btn-yellow:hover { background: #d9a31b; color: #2b2100; }
body.em-theme .mp .mp-btn-outline { display: flex; justify-content: center; align-items: center; height: 46px; margin-top: 4px; border: 2px solid var(--mp-green); border-radius: 12px; color: var(--mp-green); font: 600 15px/1 Poppins, sans-serif; transition: all .2s; }
body.em-theme .mp .mp-btn-outline:hover { background: var(--mp-green); color: #fff; }
body.em-theme .mp-badge { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: var(--mp-yellow); color: #2b2100; font: 700 12px/1.2 Poppins, sans-serif; }
body.em-theme .mp-badge-static { position: static; padding: 6px 12px; font-size: 13px; }
body.em-theme .mp-badge-lg { top: 18px; left: 18px; padding: 8px 14px; font-size: 14px; }
body.em-theme .mp-pill-dark { padding: 6px 12px; border-radius: 999px; background: var(--mp-ink); color: #fff; font-size: 13px; font-weight: 600; }
body.em-theme .mp-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mp-green); }
body.em-theme .mp-eyebrow-light { color: var(--mp-lime); }

/* Prices */
body.em-theme .mp-price { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-top: auto; padding-top: 6px; }
body.em-theme .mp-price-now { font-size: 22px; font-weight: 700; color: var(--mp-green); }
body.em-theme .mp-price-lg { font-size: 28px; }
body.em-theme .mp-price-xl { font-size: 40px; }
body.em-theme .mp-price-was { font-size: 14px; color: #6b7570; text-decoration: line-through; }
body.em-theme .mp-price-was-lg { font-size: 18px; }
body.em-theme .mp-off { padding: 4px 10px; border-radius: 8px; background: var(--mp-mint); color: var(--mp-green); font-size: 14px; font-weight: 700; }

/* Sections */
body.em-theme .mp-section { padding: 48px 0; }
body.em-theme .mp-tint { background: var(--mp-soft); padding: 64px 0; }
body.em-theme .mp-section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
body.em-theme .mp-section-head h2 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; }
body.em-theme .mp-section-head > a { font-size: 15px; font-weight: 600; }

/* Hero */
body.em-theme .mp-hero { background: var(--mp-mint); padding: 56px 0 64px; }
body.em-theme .mp-hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
body.em-theme .mp-hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
body.em-theme .mp-hero-title { margin: 0; font-size: 52px; line-height: 1.08; font-weight: 700; }
body.em-theme .mp-hero-sub { max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--mp-body); }
body.em-theme .mp-search { display: flex; gap: 8px; max-width: 560px; margin-top: 8px; }
body.em-theme .mp-search input[type=search] { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 2px solid var(--mp-sage); border-radius: 14px; background: #fff; font: 400 16px Poppins, sans-serif; color: #302F2F; }
body.em-theme .mp-search input[type=search]:focus { border-color: var(--mp-green); outline: none; }
body.em-theme .mp-search button { height: 56px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--mp-green); color: #fff; font: 600 16px Poppins, sans-serif; cursor: pointer; white-space: nowrap; }
body.em-theme .mp-search button:hover, body.em-theme .mp-search button:focus { background: #054A28; color: #fff; }
body.em-theme .mp-popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--mp-body); }
body.em-theme .mp-popular a { padding: 6px 14px; border-radius: 999px; background: #fff; font-weight: 500; }
body.em-theme .mp-hero-card { flex: 1 1 420px; min-width: 0; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(11, 59, 36, .12); }
body.em-theme .mp-hero-card-top { display: flex; justify-content: space-between; align-items: center; }
body.em-theme .mp-hero-card-img { display: flex; align-items: center; justify-content: center; height: 300px; border-radius: 20px; background: var(--mp-soft); overflow: hidden; }
body.em-theme .mp-hero-card-img img { width: 88%; height: 88%; object-fit: contain; }
body.em-theme .mp-hero-card-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
body.em-theme .mp-hero-card-name { margin-top: 4px !important; font-size: 20px; font-weight: 600; color: var(--mp-ink); }
body.em-theme .mp-hero-card-price { display: flex; flex-direction: column; align-items: flex-end; }

/* Trust strip */
body.em-theme .mp-trust { padding: 22px 0; border-bottom: 1px solid var(--mp-line); }
body.em-theme .mp-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
body.em-theme .mp-trust-item { display: flex; gap: 12px; align-items: center; color: var(--mp-green); }
body.em-theme .mp-trust-item .mp-ico { width: 28px; height: 28px; }
body.em-theme .mp-trust-item p { font-size: 13px; color: var(--mp-muted); }
body.em-theme .mp-trust-item .mp-trust-title { font-size: 15px; font-weight: 600; color: var(--mp-ink); }

/* Categories */
body.em-theme .mp-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
body.em-theme .mp .mp-cat { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 2px solid var(--mp-line); border-radius: 20px; background: #fff; transition: all .2s; }
body.em-theme .mp .mp-cat:hover { border-color: var(--mp-lime); box-shadow: 0 8px 24px rgba(8, 113, 61, .1); }
body.em-theme .mp-cat-img { display: flex; align-items: center; justify-content: center; height: 140px; border-radius: 14px; background: var(--mp-soft); overflow: hidden; }
body.em-theme .mp-cat-img img { width: 80%; height: 80%; object-fit: contain; }
body.em-theme .mp-cat-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
body.em-theme .mp-cat-name { font-size: 16px; font-weight: 600; color: var(--mp-ink); }
body.em-theme .mp-cat-count { font-size: 13px; color: var(--mp-muted); white-space: nowrap; }

/* Deals band */
body.em-theme .mp-deals { padding: 36px; border-radius: 28px; background: var(--mp-ink); }
body.em-theme .mp-deals .mp-section-head h2 { margin-top: 6px; color: #fff; }

/* Product grid & cards */
body.em-theme .mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
body.em-theme .mp-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
body.em-theme .mp-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--mp-line); border-radius: 20px; background: #fff; min-width: 0; transition: box-shadow .2s, transform .2s; }
body.em-theme .mp-card:hover { box-shadow: 0 10px 30px rgba(8, 113, 61, .14); transform: translateY(-2px); }
body.em-theme .mp-card-img { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; border-radius: 14px; background: var(--mp-soft); overflow: hidden; }
body.em-theme .mp-card-img img { width: 82%; height: 82%; object-fit: contain; }
body.em-theme .mp-card-kicker { overflow-wrap: anywhere; margin-top: 4px !important; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mp-green); }
body.em-theme .mp-card-title { margin: 0; overflow-wrap: anywhere; font-size: 17px; line-height: 1.35; font-weight: 600; }
body.em-theme .mp .mp-card-title a { color: var(--mp-ink); }
body.em-theme .mp .mp-card-title a:hover { color: var(--mp-green); }
body.em-theme .mp-card-spec { font-size: 13px; color: var(--mp-muted); }

/* Archive controls */
body.em-theme .mp-all-head { align-items: center; }
body.em-theme .mp-archive-title { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 700; }
body.em-theme .mp-archive-desc { margin: -8px 0 20px; max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--mp-body); }
body.em-theme .mp .woocommerce-ordering { margin: 0; float: none; }
body.em-theme .mp .woocommerce-ordering select { height: 44px; padding: 0 36px 0 14px; border: 2px solid var(--mp-line); border-radius: 12px; background-color: #fff; font: 500 14px Poppins, sans-serif; color: var(--mp-ink); }
body.em-theme .mp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
body.em-theme .mp .mp-chip { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 2px solid var(--mp-line); border-radius: 999px; background: #fff; color: var(--mp-ink); font: 500 14px Poppins, sans-serif; transition: border-color .2s; }
body.em-theme .mp .mp-chip:hover { border-color: var(--mp-green); color: var(--mp-ink); }
body.em-theme .mp .mp-chip.is-active { border-color: var(--mp-green); background: var(--mp-green); color: #fff; }
body.em-theme .mp .woocommerce-result-count { float: none; margin: 0 0 16px; font-size: 14px; color: var(--mp-muted); }
body.em-theme .mp .woocommerce-pagination { margin-top: 32px; }
body.em-theme .mp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; margin-bottom: 16px; font-size: 14px; color: var(--mp-muted); }
body.em-theme .mp-crumbs [aria-current] { color: var(--mp-ink); }
body.em-theme .mp-empty { font-size: 16px; }

/* Brands */
body.em-theme .mp-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
body.em-theme .mp .mp-brand { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 2px solid transparent; border-radius: 20px; background: #fff; transition: border-color .2s; }
body.em-theme .mp .mp-brand:hover { border-color: var(--mp-lime); }
body.em-theme .mp-brand-name { font-size: 22px; font-weight: 700; color: var(--mp-ink); }
body.em-theme .mp-brand-what { font-size: 14px; color: var(--mp-body); }
body.em-theme .mp-brand-count { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--mp-green); }

/* Help + CTA */
body.em-theme .mp-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
body.em-theme .mp-help-box { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 24px; background: var(--mp-mint); }
body.em-theme .mp-help-box h2 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; }
body.em-theme .mp-help-box p { font-size: 16px; line-height: 1.6; color: var(--mp-body); }
body.em-theme .mp-help-dark { background: var(--mp-ink); }
body.em-theme .mp-help-dark h2 { color: #fff; }
body.em-theme .mp-help-dark p { color: var(--mp-sage); }
body.em-theme .mp-disclosure { margin-top: 32px !important; font-size: 13px; line-height: 1.6; color: var(--mp-muted); }

/* ---------- Product page ---------- */
body.em-theme .mp-pd { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 8px; padding-bottom: 48px; }
body.em-theme .mp-pd-gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
body.em-theme .mp-pd-main { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; max-height: 620px; border-radius: 28px; background: var(--mp-soft); overflow: hidden; }
body.em-theme .mp-pd-main img { width: 84%; height: 84%; object-fit: contain; }
body.em-theme .mp-pd-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
body.em-theme .mp .mp-pd-thumb { width: 76px; height: 76px; padding: 6px; border: 2px solid var(--mp-line); border-radius: 14px; background: var(--mp-soft); cursor: pointer; }
body.em-theme .mp .mp-pd-thumb:hover, body.em-theme .mp .mp-pd-thumb:focus { background: var(--mp-soft); border-color: var(--mp-lime); }
body.em-theme .mp .mp-pd-thumb.is-active { border-color: var(--mp-green); }
body.em-theme .mp-pd-thumb img { width: 100%; height: 100%; object-fit: contain; }
body.em-theme .mp-pd-info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
body.em-theme .mp .mp-brand-chip { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--mp-mint); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
body.em-theme .mp-pd-title { margin: 0; overflow-wrap: anywhere; font-size: 40px; line-height: 1.15; font-weight: 700; }
body.em-theme .mp-pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
body.em-theme .mp-pd-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.em-theme .mp-tile { padding: 14px 16px; border: 1px solid var(--mp-line); border-radius: 16px; }
body.em-theme .mp-tile-label { font-size: 13px; color: var(--mp-muted); }
body.em-theme .mp-tile-value { margin-top: 2px !important; font-size: 20px; font-weight: 700; color: var(--mp-ink); }
body.em-theme .mp .mp-buy { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 60px; padding: 0 20px; border-radius: 16px; background: var(--mp-yellow); color: #2b2100; font: 700 18px/1.2 Poppins, sans-serif; text-align: center; transition: background .2s; }
body.em-theme .mp .mp-buy:hover { background: #d9a31b; color: #2b2100; }
body.em-theme .mp-buy .mp-ico { width: 20px; height: 20px; }
body.em-theme .mp-buy-note { margin-top: -8px !important; font-size: 13px; color: var(--mp-muted); text-align: center; }
body.em-theme .mp-pd-ticks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 18px 20px; list-style: none; border-radius: 16px; background: var(--mp-soft); }
body.em-theme .mp-pd-ticks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--mp-ink); }
body.em-theme .mp-pd-ticks .mp-ico { width: 20px; height: 20px; color: var(--mp-green); }

body.em-theme .mp-pd-details { padding: 48px 0; background: var(--mp-soft); }
body.em-theme .mp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
body.em-theme .mp .mp-tab { height: 46px; padding: 0 20px; border: 2px solid var(--mp-sage); border-radius: 999px; background: #fff; color: var(--mp-ink); font: 600 15px Poppins, sans-serif; cursor: pointer; }
body.em-theme .mp .mp-tab:hover, body.em-theme .mp .mp-tab:focus { background: #fff; color: var(--mp-ink); border-color: var(--mp-green); }
body.em-theme .mp .mp-tab[aria-selected="true"] { border-color: var(--mp-green); background: var(--mp-green); color: #fff; }
body.em-theme .mp-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-bottom: 20px; }
body.em-theme .mp-box { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 24px; background: #fff; }
body.em-theme .mp-box h2 { margin: 0; font-size: 24px; font-weight: 700; }
body.em-theme .mp-box-text, body.em-theme .mp-box-text p { font-size: 16px; line-height: 1.7; color: var(--mp-body); }
body.em-theme .mp-box-text p + p { margin-top: 12px; }
body.em-theme .mp-good { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.9; color: var(--mp-body); }
body.em-theme .mp-table-box { border-radius: 24px; background: #fff; overflow: hidden; }
body.em-theme .mp-table-scroll { overflow-x: auto; }
body.em-theme .mp .mp-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 16px; }
body.em-theme .mp .mp-table th, body.em-theme .mp .mp-table td { padding: 16px 24px; border: 0; border-bottom: 1px solid var(--mp-line); background: none; text-align: left; vertical-align: top; }
body.em-theme .mp .mp-table tr:last-child th, body.em-theme .mp .mp-table tr:last-child td { border-bottom: 0; }
body.em-theme .mp .mp-table tbody th { width: 40%; font-weight: 500; color: var(--mp-muted); }
body.em-theme .mp .mp-table td { font-weight: 600; color: var(--mp-ink); }
body.em-theme .mp .mp-compare { min-width: 640px; }
body.em-theme .mp .mp-compare tbody th { width: auto; }
body.em-theme .mp .mp-compare thead th { font-weight: 700; color: var(--mp-ink); }
body.em-theme .mp .mp-compare thead th span { font-weight: 500; color: var(--mp-muted); }
body.em-theme .mp .mp-compare td { font-weight: 400; }
body.em-theme .mp .mp-compare .is-this { background: #F7FFF0; font-weight: 600; }
body.em-theme .mp .mp-compare thead .is-this { background: var(--mp-mint); color: var(--mp-green); }
body.em-theme .mp .mp-compare .mp-strong { font-weight: 700; color: var(--mp-green); }
body.em-theme .mp .mp-compare .mp-strong-dark { font-weight: 600; }
body.em-theme .mp .mp-compare .mp-muted { font-size: 14px; font-weight: 400; color: var(--mp-muted); }
body.em-theme .mp .mp-compare a { font-size: 14px; font-weight: 600; }

body.em-theme .mp-sticky-buy { display: none; }

@media (max-width: 1024px) {
	body.em-theme .mp-hero-title { font-size: 42px; }
	body.em-theme .mp-pd-title { font-size: 34px; }
}
@media (max-width: 767px) {
	body.em-theme .mp-wrap { padding-left: 16px; padding-right: 16px; }
	body.em-theme .mp-crumbs { padding-top: 20px; margin-bottom: 12px; }
	body.em-theme .mp-hero { padding: 36px 0 40px; }
	body.em-theme .mp-hero-inner { gap: 28px; }
	body.em-theme .mp-hero-title { font-size: 34px; }
	body.em-theme .mp-hero-sub { font-size: 16px; }
	body.em-theme .mp-search { flex-direction: column; }
	body.em-theme .mp-hero-card { padding: 18px; border-radius: 22px; }
	body.em-theme .mp-hero-card-img { height: 220px; }
	body.em-theme .mp-section { padding: 36px 0; }
	body.em-theme .mp-section-head h2 { font-size: 26px; }
	body.em-theme .mp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body.em-theme .mp .mp-cat { padding: 12px; }
	body.em-theme .mp-cat-img { height: 110px; }
	body.em-theme .mp-cat-row { flex-direction: column; align-items: flex-start; gap: 2px; }
	body.em-theme .mp-deals { padding: 22px 16px; border-radius: 22px; }
	body.em-theme .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body.em-theme .mp-card { padding: 10px; gap: 6px; border-radius: 16px; }
	body.em-theme .mp-card-img { height: 150px; }
	body.em-theme .mp-card-title { font-size: 14px; }
	body.em-theme .mp-card-spec { display: none; }
	body.em-theme .mp-price-now { font-size: 18px; }
	body.em-theme .mp-price-was { font-size: 12px; }
	body.em-theme .mp .mp-btn-outline { height: 40px; font-size: 14px; }
	body.em-theme .mp-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
	body.em-theme .mp .mp-chip { flex: none; }
	body.em-theme .mp-archive-title { font-size: 30px; }
	body.em-theme .mp-pd { gap: 24px; }
	body.em-theme .mp-pd-title { font-size: 28px; }
	body.em-theme .mp-price-xl { font-size: 32px; }
	body.em-theme .mp-tile-value { font-size: 17px; }
	body.em-theme .mp-box { padding: 20px; }
	body.em-theme .mp-two { grid-template-columns: 1fr; }
	body.em-theme .mp-help { grid-template-columns: 1fr; }
	body.em-theme .mp-help-box { padding: 24px; }
	body.em-theme .mp-sticky-buy {
		position: sticky; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 12px 16px; border-top: 1px solid var(--mp-line); background: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
	}
	body.em-theme .mp-sticky-buy .mp-buy { flex: 1; min-height: 50px; font-size: 16px; border-radius: 14px; }
	body.em-theme .mp-sticky-buy .mp-price-lg { font-size: 22px; }
}
