/* Ekuveri.com — Maldives Marketplace */
:root {
  --ink: #090c32; --ink-2: #3f4565; --muted: #647087;
  --purple: #6511d8; --purple-2: #8c21e7; --blue: #1f4dff; --magenta: #c62bd8; --orange: #ff931e; --sea: #12b5d6; --palm: #2f9e3a;
  --bg: #fbfaff; --card: #fff; --soft: #f6f2ff; --line: #e9e5f2;
  --ok: #128a4a; --ok-bg: #e4f7ec; --warn: #a65b00; --warn-bg: #fff3e0; --bad: #c0233a; --bad-bg: #fdecee;
  --r: 14px; --r-lg: 22px; --shadow: 0 10px 30px rgba(40, 20, 90, .08); --shadow-lg: 0 24px 70px rgba(30, 10, 70, .22);
  --grad: linear-gradient(115deg, #1f4dff 0%, #5b13d8 50%, #8c21e7 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 10px; }
h2 { font-size: 22px; margin: 0; }
h3 { font-size: 16px; margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid #a77bff; outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  padding: 10px 16px; border-radius: 12px; font-weight: 650; white-space: nowrap; transition: .15s; text-decoration: none !important; }
.btn:hover { border-color: #c9b8ef; background: #fbf9ff; }
.btn.primary { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn.primary:hover { background: #4b11b4; }
.btn.accent { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.accent:hover { background: #f08000; }
.btn.green { background: #1fa855; border-color: #1fa855; color: #fff; }
.btn.danger { color: var(--bad); }
.btn.block { width: 100%; }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 10px; }
.btn.lg { padding: 13px 22px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.iconbtn { border: 0; background: transparent; padding: 8px; border-radius: 10px; font-size: 20px; line-height: 1; position: relative; color: var(--ink-2); }
.iconbtn:hover { background: var(--soft); }
.badge { position: absolute; top: 0; right: -2px; background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* top strip & header */
.strip { background: #230852; color: #d9cff5; font-size: 12.5px; }
.strip .wrap { display: flex; gap: 18px; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.strip a { color: #fff; }
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.hdr { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.logo img { height: 48px; width: auto; }
.hsearch { flex: 1; display: flex; border: 2px solid var(--purple); border-radius: 13px; overflow: hidden; background: #fff; max-width: 680px; }
.hsearch select { border: 0; border-right: 1px solid var(--line); background: var(--soft); padding: 0 10px; max-width: 160px; font-size: 14px; }
.hsearch input { flex: 1; border: 0; padding: 11px 14px; min-width: 0; outline: none; }
.hsearch button { border: 0; background: var(--purple); color: #fff; padding: 0 20px; font-weight: 700; }
.hactions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hactions .who { font-size: 13px; line-height: 1.2; text-align: left; padding: 6px 10px; border-radius: 10px; border: 0; background: transparent; }
.hactions .who:hover { background: var(--soft); }
.hactions .who b { display: block; font-size: 14px; }
.catbar { border-top: 1px solid var(--line); background: #fff; }
.catbar .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catbar .wrap::-webkit-scrollbar { display: none; }
.catbar a { padding: 10px 12px; color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.catbar a:hover, .catbar a.on { color: var(--purple); border-bottom-color: var(--purple); text-decoration: none; }
.menu { position: relative; }
.dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); min-width: 220px; padding: 6px; z-index: 50; }
.dropdown a, .dropdown button { display: flex; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px; color: var(--ink); background: none; border: 0; font-size: 14px; }
.dropdown a:hover, .dropdown button:hover { background: var(--soft); text-decoration: none; }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

/* hero */
.hero { margin: 24px 0 8px; display: grid; grid-template-columns: 2.1fr 1fr; gap: 18px; }
.heroMain { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad); color: #fff; padding: 44px 44px 40px; min-height: 330px; isolation: isolate; }
.heroMain::after { content: ''; position: absolute; inset: auto -60px -120px auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(18,181,214,.55), transparent 65%); z-index: -1; }
.heroMain .waves { position: absolute; right: 0; bottom: 0; width: 60%; z-index: -1; opacity: .9; }
.eyebrow { font-weight: 800; letter-spacing: 2.5px; font-size: 12px; opacity: .9; }
.heroMain h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.08; margin: 12px 0 12px; max-width: 560px; }
.heroMain p { font-size: 17px; opacity: .95; max-width: 520px; margin: 0 0 22px; }
.heroMain .quick { display: flex; flex-wrap: wrap; gap: 8px; }
.heroMain .quick a { background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 8px 14px; border-radius: 30px; font-weight: 650; font-size: 14px; backdrop-filter: blur(4px); }
.heroMain .quick a:hover { background: rgba(255,255,255,.3); text-decoration: none; }
.heroSide { display: grid; gap: 18px; }
.promo { border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 156px; background: #fff; border: 1px solid var(--line); }
.promo.sea { background: linear-gradient(135deg, #e0f8ff, #eafbe9); border-color: #cdeef2; }
.promo.warm { background: linear-gradient(135deg, #fff2e2, #ffe8f6); border-color: #f8dcc8; }
.promo h3 { font-size: 18px; }

/* sections */
section.block { margin: 34px 0; }
.shead { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.shead a { font-weight: 650; }
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 10px; text-align: center; color: var(--ink); font-weight: 700; font-size: 14px; transition: .15s; }
.cat:hover { border-color: #b896f5; box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.cat .ico { font-size: 34px; display: block; margin-bottom: 6px; }
.cat small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust { background: var(--grad); border-radius: var(--r-lg); padding: 10px; color: #fff; }
.trust div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 16px 18px; display: flex; gap: 12px; align-items: center; }
.trust p span { opacity: .85; }
.trust > div > span { font-size: 26px; }
.trust p span { display: block; }
.trust b { display: block; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: .15s; position: relative; color: var(--ink); }
.card:hover { box-shadow: var(--shadow); border-color: #d6c8f3; text-decoration: none; }
.card .ph { aspect-ratio: 4/3; background: var(--soft); position: relative; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card h3 { font-size: 15px; font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.price { font-weight: 850; color: var(--purple); font-size: 18px; }
.price small { font-weight: 600; color: var(--muted); font-size: 13px; }
.meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12.5px; margin-top: auto; padding-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: var(--soft); color: #5a20b8; }
.pill.rent { background: #e3f6fb; color: #08708a; }
.pill.job { background: #fff1df; color: #a85500; }
.pill.service { background: #e7f7e9; color: #227a2d; }
.pill.wanted { background: #fde9f3; color: #a01c66; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.ph .tags { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.ph .tags .pill { background: rgba(255,255,255,.93); }
.fav { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.93); font-size: 17px; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.1); z-index: 2; }
.fav.on { color: #e0245e; }
.feat { position: absolute; left: 10px; bottom: 10px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 20px; }
.list .card { flex-direction: row; }
.list .card .ph { width: 240px; aspect-ratio: auto; flex: none; min-height: 170px; }
.list .grid { grid-template-columns: 1fr; }

/* search page */
.crumbs { font-size: 13px; color: var(--muted); margin: 18px 0 10px; }
.crumbs a { color: var(--muted); }
.searchLayout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; margin-bottom: 50px; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; position: sticky; top: 140px; }
.filters h3 { font-size: 14px; margin: 14px 0 8px; }
.filters h3:first-child { margin-top: 0; }
.filters .opt { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.filters .opt.on { color: var(--purple); font-weight: 700; }
.filters select, .filters input { width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.range { display: flex; gap: 8px; align-items: center; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: none; padding: 7px 11px; }
.seg button.on { background: var(--soft); color: var(--purple); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chip.on, .chip:hover { border-color: var(--purple); color: var(--purple); background: var(--soft); text-decoration: none; }
.chip .x { margin-left: 4px; opacity: .6; }
.empty { background: #fff; border: 1px dashed #d4c8ec; border-radius: 18px; padding: 50px 20px; text-align: center; }
.empty .big { font-size: 46px; }
.mfilter { display: none; }

/* listing detail */
.detail { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; margin: 8px 0 40px; align-items: start; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gallery .main { aspect-ratio: 4/3; background: #f1edf8; display: grid; place-items: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden; width: 74px; height: 56px; flex: none; background: #eee; }
.thumbs button.on { border-color: var(--purple); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.panel + .panel { margin-top: 16px; }
.detail .price { font-size: 30px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 14px 0; }
.specs div { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs div:nth-child(odd) { background: #faf8fe; color: var(--muted); }
.specs div:nth-last-child(-n+2) { border-bottom: 0; }
.desc { white-space: pre-line; color: var(--ink-2); }
.seller { display: flex; gap: 12px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.verified { color: var(--ok); font-weight: 700; font-size: 12.5px; }
.actions { display: grid; gap: 10px; margin-top: 16px; }
.actions .row { display: flex; gap: 10px; }
.actions .row > * { flex: 1; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: var(--soft); width: 34px; font-size: 17px; }
.qty input { width: 48px; border: 0; text-align: center; padding: 7px 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.safety { background: #fff8ec; border: 1px solid #f6e1bd; border-radius: 14px; padding: 14px 16px; font-size: 13.5px; color: #6c4a12; }
.safety ul { margin: 6px 0 0; padding-left: 18px; }

/* forms */
.formPage { max-width: 820px; margin: 24px auto 60px; }
.authPage { max-width: 440px; margin: 40px auto 70px; }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
label.f { display: grid; gap: 5px; font-weight: 650; font-size: 14px; }
label.f span.hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.f input, .f select, .f textarea, .input { width: 100%; padding: 11px 12px; border: 1px solid #d8d0e6; border-radius: 11px; background: #fff; font-weight: 400; }
.f input:focus, .f select:focus, .f textarea:focus, .input:focus { border-color: var(--purple); outline: 3px solid #e7dbff; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.typePick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.typePick label { border: 1px solid var(--line); border-radius: 12px; padding: 12px 6px; text-align: center; cursor: pointer; font-weight: 650; font-size: 13.5px; background: #fff; }
.typePick label span { display: block; font-size: 22px; }
.typePick input { position: absolute; opacity: 0; }
.typePick label:has(input:checked) { border-color: var(--purple); background: var(--soft); color: var(--purple); }
.photos { display: flex; flex-wrap: wrap; gap: 10px; }
.photos .ph { width: 110px; height: 86px; border-radius: 12px; overflow: hidden; position: relative; background: #eee; }
.photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.photos .ph button { position: absolute; top: 4px; right: 4px; border: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 1; }
.photos .ph .cover { position: absolute; left: 4px; bottom: 4px; background: var(--purple); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 10px; }
.photos .add { width: 110px; height: 86px; border: 2px dashed #cbbcea; border-radius: 12px; display: grid; place-items: center; text-align: center; color: var(--purple); font-weight: 650; font-size: 13px; cursor: pointer; background: #fbf9ff; }
.err { background: var(--bad-bg); color: var(--bad); padding: 10px 12px; border-radius: 10px; font-size: 14px; }
fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin: 0; background: #fff; display: grid; gap: 14px; }
legend { font-weight: 800; padding: 0 6px; }

/* account */
.acct { display: grid; grid-template-columns: 240px 1fr; gap: 22px; margin: 24px 0 60px; align-items: start; }
.side { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; position: sticky; top: 140px; }
.side a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; }
.side a.on, .side a:hover { background: var(--soft); color: var(--purple); text-decoration: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.stat b { font-size: 24px; display: block; }
table.t { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.t th, .t td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t th { background: #faf8fe; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.t tr:last-child td { border-bottom: 0; }
.t img { width: 56px; height: 42px; max-width: none; object-fit: cover; border-radius: 8px; }
.t td:first-child { width: 72px; }
.tablewrap { overflow-x: auto; }

/* cart */
.cartLayout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; margin: 10px 0 60px; }
.line { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { width: 90px; height: 68px; object-fit: cover; border-radius: 10px; }
.sum { display: flex; justify-content: space-between; padding: 6px 0; }
.sum.total { font-weight: 850; font-size: 19px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.pay label { display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; align-items: start; }
.pay label:has(input:checked) { border-color: var(--purple); background: var(--soft); }
.pay label.dis { opacity: .55; cursor: not-allowed; }

/* messages */
.chat { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-height: 520px; margin: 20px 0 60px; }
.threads { border-right: 1px solid var(--line); overflow-y: auto; max-height: 640px; }
.threads a { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.threads a.on, .threads a:hover { background: var(--soft); text-decoration: none; }
.threads img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.threads .t1 { font-weight: 700; font-size: 14px; }
.threads .t2 { font-size: 12.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.convo { display: flex; flex-direction: column; }
.convo .head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.convo .head img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.bubbles { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 470px; background: #fbfaff; }
.bubble { max-width: 75%; padding: 9px 13px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14px; white-space: pre-line; }
.bubble.me { align-self: flex-end; background: var(--purple); color: #fff; border-color: var(--purple); border-bottom-right-radius: 5px; }
.bubble.them { border-bottom-left-radius: 5px; }
.bubble time { display: block; font-size: 11px; opacity: .7; margin-top: 2px; }
.compose { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.compose input { flex: 1; }

/* static pages */
.prose { max-width: 820px; margin: 24px auto 60px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 36px; }
.prose h2 { margin: 26px 0 8px; font-size: 19px; }
.prose p, .prose li { color: var(--ink-2); }
details.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
details.faq summary { font-weight: 700; cursor: pointer; }

/* CTA + footer */
.cta { background-color: #230852; background-image: radial-gradient(circle at 85% 30%, rgba(140,33,231,.55), transparent 45%), radial-gradient(circle at 10% 90%, rgba(31,77,255,.45), transparent 50%); color: #fff; border-radius: var(--r-lg); padding: 34px 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta h2 { font-size: 26px; margin-bottom: 6px; }
.cta p { margin: 0; opacity: .85; }
footer.site { background: #160742; color: #bcb1d8; margin-top: 50px; padding: 44px 0 24px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px; }
footer.site h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
footer.site a { color: #bcb1d8; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; }
footer.site .flogo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 12px; margin-bottom: 12px; }
footer.site .flogo img { height: 40px; }
footer.site .bottom { border-top: 1px solid #33206a; margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }

/* toast + modal */
#toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(30px); background: #230852; color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: .25s; z-index: 100; font-weight: 600; max-width: 92vw; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
dialog { border: 0; border-radius: 20px; padding: 24px; width: min(520px, 94vw); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(16, 7, 36, .6); }
.mhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.close { border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); }
.bottomnav { display: none; }
.loading { padding: 60px; text-align: center; color: var(--muted); }


/* ratings, insights, seller page */
.stars { color: #f5a300; letter-spacing: 1px; }
.stars .off { color: #dcd6e6; }
.review { padding: 14px 16px; }
.sellerGrid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.distRow { display: grid; grid-template-columns: 28px 1fr 24px; gap: 8px; align-items: center; font-size: 13px; margin: 3px 0; }
.distBar { height: 8px; background: #eee9f6; border-radius: 6px; overflow: hidden; }
.distBar span { display: block; height: 100%; background: #f5a300; }
.starPick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.starPick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.starPick label { font-size: 32px; color: #dcd6e6; cursor: pointer; line-height: 1; }
.starPick label:hover, .starPick label:hover ~ label, .starPick input:checked ~ label { color: #f5a300; }
.starPick input:focus-visible + label { outline: 3px solid #a77bff; border-radius: 4px; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.chart .bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.chart .bar span { display: block; width: 100%; background: linear-gradient(180deg, var(--purple-2), var(--purple)); border-radius: 4px 4px 0 0; min-height: 2px; }
.chart .bar:hover span { background: var(--orange); }
.chartAxis { display: flex; justify-content: space-between; margin-top: 6px; }
.stats { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .sellerGrid { grid-template-columns: 1fr; } }


/* advertising */
.adslot { margin: 26px 0; }
.adslot:empty { display: none; }
.searchLayout .adslot, .detail .adslot { margin: 0 0 16px; }
.detail .adslot { order: 3; }
.adBanner { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.adBanner img { width: 100%; height: auto; display: block; }
.adslot-home-top .adBanner img, .adslot-home-middle .adBanner img { aspect-ratio: 1200 / 250; object-fit: cover; }
.adslot-search-top .adBanner img { aspect-ratio: 1200 / 200; object-fit: cover; }
.adslot-listing-side .adBanner img { aspect-ratio: 600 / 500; object-fit: cover; }
.adMeta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 4px; padding: 0 4px; }
.adMeta a { color: var(--muted); }
.adLabel { text-transform: uppercase; letter-spacing: .08em; }
.adEmpty { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 16px; color: var(--ink); text-decoration: none !important;
  background: repeating-linear-gradient(135deg, #fbf9ff 0 14px, #f4effd 14px 28px); border: 2px dashed #cdbcf0; transition: .15s; }
.adEmpty:hover { border-color: var(--purple); background: #f2ecff; }
.adEmpty .adIcon { font-size: 34px; flex: none; }
.adEmpty .adText { flex: 1; display: grid; gap: 2px; }
.adEmpty .adText span { color: var(--muted); font-size: 13.5px; }
.adslot-listing-side .adEmpty { flex-direction: column; text-align: center; padding: 26px 18px; }
.adHero { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: 40px; }
.adHero h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 10px 0; max-width: 700px; }
.adHero p { max-width: 640px; font-size: 16.5px; opacity: .95; }
.adPoints { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.adPoints li { background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.35); border-radius: 30px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.slotPick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.slotCard { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 6px; align-content: start; cursor: pointer; }
.slotCard input { position: absolute; opacity: 0; }
.slotCard:has(input:checked) { border-color: var(--purple); background: var(--soft); }
.slotCard .pill { justify-self: start; }
.slotPreview { display: block; height: 92px; border-radius: 10px; background: #f1edf8; position: relative; overflow: hidden; }
.slotPreview::before { content: ''; position: absolute; left: 8px; right: 8px; top: 8px; height: 10px; border-radius: 4px; background: #ddd3ef; }
.slotPreview i { position: absolute; background: var(--orange); border-radius: 5px; }
.slotPreview-home-top i { left: 8px; right: 8px; top: 24px; height: 20px; }
.slotPreview-home-middle i { left: 8px; right: 8px; top: 52px; height: 20px; }
.slotPreview-search-top i { left: 30%; right: 8px; top: 24px; height: 14px; }
.slotPreview-listing-side i { right: 8px; width: 30%; top: 24px; height: 52px; }
.adPrev { max-width: 100%; max-height: 220px; border-radius: 12px; border: 1px solid var(--line); margin-top: 10px; }
@media (max-width: 860px) { .slotPick { grid-template-columns: 1fr 1fr; } .detail .adslot { order: 4; } }
@media (max-width: 560px) { .adEmpty { flex-wrap: wrap; padding: 16px; } .adHero { padding: 26px 22px; } }


/* home hero (Ekuveri) */
.hero2 { position: relative; margin: 22px 0 16px; border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  background: linear-gradient(115deg, #ffffff 0%, #f3f0ff 40%, #e4f4ff 100%); border: 1px solid var(--line); min-height: 380px; }
.hero2Text { padding: 40px 10px 40px 44px; position: relative; z-index: 1; min-width: 0; }
.hero2 .eyebrow { color: var(--purple); }
.hero2 h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; margin: 12px 0 8px; font-weight: 850; letter-spacing: -.02em; }
.hero2 h1 i { font-style: normal; color: var(--purple); margin: 0 .22em; font-size: .7em; vertical-align: .12em; }
.hero2Sub { font-size: clamp(17px, 1.8vw, 24px); margin: 0 0 22px; color: var(--ink); font-weight: 500; display: inline-block; position: relative; padding-bottom: 12px; }
.hero2Sub::after { content: ''; position: absolute; left: 45%; right: 4%; bottom: 0; height: 5px; border-radius: 50%; border-top: 3px solid var(--purple); }
.hero2Search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid #d9ccf7; border-radius: 40px; padding: 6px 6px 6px 18px; box-shadow: 0 10px 30px rgba(101,17,216,.12); max-width: min(560px, 100%); }
.hero2Search input { flex: 1; border: 0; outline: none; padding: 9px 4px; min-width: 0; background: transparent; }
.hero2Search .btn { border-radius: 30px; padding: 11px 24px; }
.hero2 .quick { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero2 .quick a { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 7px 13px; border-radius: 30px; font-weight: 650; font-size: 13.5px; }
.hero2 .quick a:hover { border-color: var(--purple); color: var(--purple); text-decoration: none; }
.hero2Img { align-self: stretch; position: relative; }
.hero2Img img { width: 100%; height: 100%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0 0 8px; }
.tile { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: .15s; display: block; }
.tile img { width: 100%; height: auto; aspect-ratio: 260 / 228; object-fit: cover; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8b4f3; }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .hero2 { grid-template-columns: 1fr; }
  .hero2Text { padding: 28px 22px 8px; }
  .hero2Img { order: -1; max-height: 210px; overflow: hidden; }
  .hero2Img img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); object-position: center 40%; }
}
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; } .hero2Search .btn { padding: 10px 16px; } .hero2Text { padding-bottom: 20px; } }

/* responsive */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .heroSide { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .strip { display: none; }
  .hactions .hideM { display: none; }
  .detail { display: flex; flex-direction: column; align-items: stretch; }
  .detail > div { display: contents; }
  .detail .gallery { order: 1; }
  .detail > div:last-child > .panel { order: 2; margin-top: 0; }
  .detail .dinfo { order: 3; margin-top: 0 !important; }
  .detail > div:last-child > .safety { order: 4; }
  .hdr { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .logo img { height: 38px; }
  .hsearch { order: 3; flex-basis: 100%; max-width: none; }
  .hsearch select { display: none; }
  .hactions .who span, .hactions .postBtn .lbl { display: none; }
  .searchLayout, .detail, .acct, .cartLayout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .mfilter { display: inline-flex; }
  .side { position: static; display: flex; overflow-x: auto; }
  .side a { white-space: nowrap; }
  .chat { grid-template-columns: 1fr; }
  .chat.inThread .threads { display: none; }
  .chat:not(.inThread) .convo { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .list .card .ph { width: 150px; min-height: 130px; }
  .typePick { grid-template-columns: repeat(3, 1fr); }
  body { padding-bottom: 64px; }
  .bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); z-index: 45; padding-bottom: env(safe-area-inset-bottom); }
  .bottomnav a { display: grid; place-items: center; padding: 7px 0 8px; font-size: 11px; font-weight: 650; color: var(--ink-2); position: relative; }
  .bottomnav a span { font-size: 20px; line-height: 1.2; }
  .bottomnav a.post span { background: var(--grad); color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-top: -16px; box-shadow: var(--shadow); }
  .bottomnav a:hover { text-decoration: none; }
  .bottomnav .badge { right: calc(50% - 22px); top: 2px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat { padding: 14px 6px; font-size: 12.5px; }
  .cat .ico { font-size: 28px; }
  .cat small { display: none; }
  .heroMain { padding: 30px 24px; min-height: 0; }
  .heroSide { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card .body { padding: 10px; }
  .card h3 { font-size: 13.5px; }
  .price { font-size: 15.5px; }
  .meta { flex-direction: column; gap: 0; }
  .fav { width: 32px; height: 32px; font-size: 15px; }
  .list .grid { grid-template-columns: 1fr; }
  .form .two, .form .three { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: start; padding: 26px; }
  .prose { padding: 22px 18px; }
  footer.site .cols { grid-template-columns: 1fr; }
  .line { grid-template-columns: 70px 1fr; }
  .line img { width: 70px; height: 54px; }
  .line > :last-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
}
