/* Home & Mall — Marketplace. Scoped under .hmmkt; brand var(--hmmkt-gold,#B78F01) (H&M deep blue via the brand emitter), Cairo, rounded-2xl, soft shadow. RTL-aware via logical props. */
.hmmkt{
	--hmmkt-gold:#B78F01;
	--hmmkt-gold-dark:#8f7301;
	--hmmkt-ink:#1f2430;
	--hmmkt-muted:#6b7280;
	--hmmkt-line:#e7e3d6;
	--hmmkt-bg:#faf8f2;
	--hmmkt-radius:1rem;
	--hmmkt-shadow:0 10px 30px rgba(31,36,48,.08);
	font-family:'Cairo','Droid Arabic Kufi',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
	color:var(--hmmkt-ink);
	max-width:1120px;
	margin-inline:auto;
	padding-inline:1rem;
	line-height:1.6;
}
.hmmkt *{box-sizing:border-box}
.hmmkt h1,.hmmkt h2,.hmmkt h3{font-family:'Cairo',system-ui,sans-serif;line-height:1.25;margin:0}
.hmmkt a{color:var(--hmmkt-gold-dark);text-decoration:none}
.hmmkt a:hover{text-decoration:underline}
.hmmkt .hmmkt-link{font-weight:700}

/* Buttons */
.hmmkt-btn{
	display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
	background:linear-gradient(180deg,var(--hmmkt-gold),var(--hmmkt-gold-dark));
	color:#fff;font-weight:700;font-family:inherit;font-size:1rem;
	border:0;border-radius:.75rem;padding:.7rem 1.4rem;cursor:pointer;
	box-shadow:0 6px 16px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 28%, transparent);transition:transform .12s ease,box-shadow .12s ease;
	text-align:center;
}
.hmmkt-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 34%, transparent);text-decoration:none;color:#fff}
/* Ghost = outline/secondary button: it must NOT inherit the filled button's gold drop-shadow
   (that glow rendered as a stray colored strip beneath every Edit/Decline/Withdraw button). */
.hmmkt-btn.ghost{background:#fff;color:var(--hmmkt-gold-dark);border:1.5px solid var(--hmmkt-gold);box-shadow:none}
.hmmkt-btn.ghost:hover{background:#fffaf0;color:var(--hmmkt-gold-dark);box-shadow:none;transform:none}
.hmmkt-btn.sm{padding:.5rem 1rem;font-size:.9rem;border-radius:.6rem}
/* xs = compact table-row action buttons: drop the big gold drop-shadow (too heavy at this size — it
   read as a stray colored strip under each row); a flat button matches the ghost actions beside it. */
.hmmkt-btn.xs{padding:.32rem .7rem;font-size:.8rem;border-radius:.5rem;box-shadow:none}
.hmmkt-btn.pay{width:100%;font-size:1.05rem;padding:.9rem 1.4rem}
.hmmkt-co-phone{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.9rem;color:var(--hmmkt-ink,#1f2430);margin-block:.4rem .8rem}
.hmmkt-co-phone input{font-family:inherit;font-size:1rem;font-weight:500;padding:.7rem .9rem;border:1.5px solid var(--hmmkt-line,#e7e3d6);border-radius:10px;outline:0}
.hmmkt-co-phone input:focus{border-color:var(--hmmkt-gold,var(--hmmkt-gold,#B78F01))}
.hmmkt-btn.disabled{opacity:.6;pointer-events:none}
.hmmkt-btn[disabled]{opacity:.65;cursor:progress}
/* solid button-LINKS must keep white text — the base `.hmmkt a{color:gold-dark}` was bleeding gold-on-gold */
.hmmkt a.hmmkt-btn:not(.ghost){color:#fff}
/* "تمييز / Feature" = a boost action button (star + white text), clearly distinct from the status pills.
   .hmmkt prefix (0,2,0) beats the theme's [type=button]{color:#cc3366} pink (0,1,0). */
.hmmkt .hmmkt-feat-btn{display:inline-flex;align-items:center;gap:5px;color:#fff;white-space:nowrap}
.hmmkt .hmmkt-feat-btn span,.hmmkt .hmmkt-feat-btn svg{color:#fff}
.hmmkt .hmmkt-feat-btn svg{flex:none}
/* disabled "تمييز" (listing not published yet) — clearly unclickable, not gold */
.hmmkt .hmmkt-feat-btn[disabled],.hmmkt .hmmkt-feat-btn[disabled]:hover{background:#ece9e0!important;background-image:none!important;color:#a8a29a!important;box-shadow:none!important;transform:none!important;cursor:not-allowed;opacity:1}
.hmmkt .hmmkt-feat-btn[disabled] span,.hmmkt .hmmkt-feat-btn[disabled] svg{color:#a8a29a!important}
/* dashboard row actions (Edit + Feature). NEVER wrap the buttons: when the column got narrow (mobile,
   and tablets down to ~1024px) they wrapped onto two lines, dropping the gold/gray "Feature" button to
   its own line where it read as a stray colored bar. Keep them on ONE line at every width; the
   .hmmkt-table-wrap scrolls horizontally if the table is too wide to fit. */
/* NOT display:flex — a flexed <td> stops stretching to the row height, so its bottom border floats
   above the row separator line. Keep it a real table-cell; space the controls as inline-flex items. */
.hmmkt-row-actions{white-space:nowrap}
.hmmkt-row-actions > *{display:inline-flex;align-items:center;vertical-align:middle;margin:2px 3px}
/* the host theme sets pointer-events:none on table <tbody> (it inherits down), which made the row
   links/buttons unclickable — re-enable interaction inside our dashboard table */
.hmmkt-table,.hmmkt-table tbody,.hmmkt-table thead,.hmmkt-table tr,.hmmkt-table td,.hmmkt-table th,.hmmkt-table a,.hmmkt-table button{pointer-events:auto!important}
/* success notice (e.g. after saving listing edits) */
.hmmkt-ok{background:#e9f8ee;border:1px solid #9bd9b1;color:#176b3a;border-radius:.6rem;padding:.7rem 1rem;margin:0 0 1rem;font-weight:700}
/* error notice (e.g. profile validation bounce) + the red "required" star on labels */
.hmmkt-bad{background:#fdecec;border:1px solid #e5a3a3;color:#8a1f1f;border-radius:.6rem;padding:.7rem 1rem;margin:0 0 1rem;font-weight:700}
.hmmkt-req{color:#c43d3d;font-weight:800}
/* listings-quota usage bar (used vs remaining) */
.hmmkt-quota-bar{height:7px;border-radius:999px;background:#efeadd;overflow:hidden;margin:9px 0 6px}
.hmmkt-quota-bar>span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--hmmkt-gold),var(--hmmkt-gold-dark));transition:width .4s}
.hmmkt-quota-bar.is-near>span{background:linear-gradient(90deg,#e0a800,#c98a00)}
.hmmkt-quota-bar.is-full>span{background:linear-gradient(90deg,#e06d3b,#c64f22)}

/* Headings */
.hmmkt-h{font-size:1.4rem;margin-bottom:.4rem}
.hmmkt-h3{font-size:1.15rem;margin:1.8rem 0 .8rem;padding-block-end:.4rem;border-block-end:2px solid var(--hmmkt-line)}
.hmmkt-sub{color:var(--hmmkt-muted);margin:.2rem 0 1rem}
.hmmkt-mini{font-size:.85rem;color:var(--hmmkt-muted);margin-top:.6rem}

/* Checkout */
.hmmkt-checkout{display:grid;grid-template-columns:1.2fr 1fr;gap:1.2rem;margin:1.4rem 0}
.hmmkt-co-summary,.hmmkt-co-pay{background:#fff;border:1px solid var(--hmmkt-line);border-radius:var(--hmmkt-radius);
	box-shadow:var(--hmmkt-shadow);padding:1.4rem}
.hmmkt-co-row{display:flex;justify-content:space-between;padding-block:.6rem;border-block-end:1px dashed var(--hmmkt-line)}
.hmmkt-co-total{display:flex;justify-content:space-between;padding-block-start:.9rem;margin-block-start:.4rem;
	font-size:1.2rem;font-weight:800;color:var(--hmmkt-gold-dark)}
.hmmkt-pay-provider{display:inline-block;background:var(--hmmkt-bg);border:1px solid var(--hmmkt-line);
	border-radius:.6rem;padding:.4rem .9rem;font-weight:700;margin-block:.6rem}
.hmmkt-pay-msg{margin-top:.8rem;font-weight:700}
.hmmkt-pay-msg.ok{color:#15803d}
.hmmkt-pay-msg.err{color:#b91c1c}

/* Forms */
.hmmkt-form-card{background:#fff;border:1px solid var(--hmmkt-line);border-radius:var(--hmmkt-radius);
	box-shadow:var(--hmmkt-shadow);padding:1.6rem;margin:1.4rem 0;max-width:760px}
.hmmkt-form{display:flex;flex-direction:column;gap:.9rem;margin-top:.8rem}
.hmmkt-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.92rem}
.hmmkt-form input,.hmmkt-form select,.hmmkt-form textarea{
	font-family:inherit;font-size:1rem;padding:.6rem .8rem;border:1.5px solid var(--hmmkt-line);
	border-radius:.6rem;background:#fff;color:var(--hmmkt-ink);width:100%
}
.hmmkt-form input:focus,.hmmkt-form select:focus,.hmmkt-form textarea:focus{
	outline:none;border-color:var(--hmmkt-gold);box-shadow:0 0 0 3px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 15%, transparent)}
.hmmkt-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem}
.hmmkt-row label{flex:1}
.hmmkt-quota{display:inline-block;background:var(--hmmkt-bg);border:1px solid var(--hmmkt-line);
	border-radius:.6rem;padding:.4rem .9rem;font-weight:700;margin-block:.4rem}

/* Notices */
.hmmkt-note,.hmmkt-ok,.hmmkt-err{border-radius:.7rem;padding:.8rem 1rem;margin:.8rem 0}
.hmmkt-note{background:var(--hmmkt-bg);border:1px solid var(--hmmkt-line);color:var(--hmmkt-ink)}
.hmmkt-note.center{text-align:center}
.hmmkt-ok{background:#ecfdf3;border:1px solid #abefc6;color:#15803d}
.hmmkt-err{background:#fef3f2;border:1px solid #fecdca;color:#b42318}

/* Dashboard */
.hmmkt-dash-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;
	background:linear-gradient(120deg,color-mix(in srgb, var(--hmmkt-gold,#B78F01) 10%, transparent),transparent),var(--hmmkt-bg);
	border:1px solid var(--hmmkt-line);border-radius:var(--hmmkt-radius);padding:1.3rem 1.5rem;margin:1.4rem 0}
.hmmkt-agency{color:var(--hmmkt-muted);font-weight:600;margin-top:.2rem}
.hmmkt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1rem}
.hmmkt-stat-card{background:#fff;min-width:0;border:1px solid var(--hmmkt-line);border-radius:var(--hmmkt-radius);
	box-shadow:var(--hmmkt-shadow);padding:1.2rem}
.hmmkt-stat-label{color:var(--hmmkt-muted);font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.hmmkt-stat-big{font-size:1.7rem;font-weight:800;margin:.3rem 0}
.hmmkt-of{font-size:1rem;color:var(--hmmkt-muted);font-weight:600}
.hmmkt-stat-meta{color:var(--hmmkt-muted);font-size:.88rem;margin-bottom:.4rem}
.hmmkt-scope{display:inline-block;background:var(--hmmkt-bg);border:1px solid var(--hmmkt-line);
	border-radius:999px;padding:.3rem .9rem;font-size:.85rem;font-weight:700;margin-bottom:.6rem}

/* Pills / badges */
.hmmkt-pill{display:inline-block;font-size:.78rem;font-weight:700;padding:.2rem .6rem;border-radius:999px}
.hmmkt-pill.active{background:#ecfdf3;color:#15803d}
.hmmkt-pill.expired{background:#f3f4f6;color:#6b7280}
.hmmkt-pill.publish{background:#ecfdf3;color:#15803d}
.hmmkt-pill.pending{background:#fff7ed;color:#c2410c}
.hmmkt-pill.draft{background:#f3f4f6;color:#6b7280}
.hmmkt-pill.hm_rejected{background:#fdeaea;color:#b42318}
.hmmkt-pill.hm_expired{background:#fde2e1;color:#a12a22}
/* ===== Listing freshness: countdown chip + tooltip + greyed expired card + renew-all ===== */
.hmmkt-fresh-chip{display:inline-flex;align-items:center;gap:5px;font-size:.74rem;font-weight:700;line-height:1;padding:4px 9px;border-radius:999px;background:#eef0f3;color:var(--hmmkt-muted,#6b7280);cursor:help;white-space:nowrap}
.hmmkt-fresh-chip.is-soon{background:#fdeccd;color:#8a5a00}
.hmmkt-fresh-chip.is-expired{background:#fde2e1;color:#a12a22}
.hmmkt-fresh-chip.is-always{background:#e7f4ea;color:#1f7a3d}
.hmmkt-fresh-form{display:inline-block;margin:0}
.hmmkt-fresh-all{margin:0 0 12px}
.hmmkt-lcard.is-expired{opacity:.6;filter:grayscale(.55)}
.hmmkt-lcard.is-expired:hover{opacity:.85}
.hmmkt-lcard.is-expired .hmmkt-fresh-btn,.hmmkt-lcard.is-expired .hmmkt-fresh-chip{opacity:1;filter:none}
/* F8 — offer status pills */
.hmmkt-pill.new{background:#fff7ed;color:#c2410c}
.hmmkt-pill.accepted{background:#ecfdf3;color:#15803d}
.hmmkt-pill.declined{background:#fdeaea;color:#b42318}
.hmmkt-pill.countered{background:#eff6ff;color:#1d4ed8}
.hmmkt-pill.withdrawn{background:#f3f4f6;color:#6b7280}
/* F8 — received-offer action controls (Accept / Counter / Decline) */
.hmmkt-offer-act{display:flex;flex-direction:column;gap:6px;margin:0;align-items:center}
.hmmkt-offer-actrow{display:flex;gap:6px;align-items:center;justify-content:center;flex-wrap:wrap}
.hmmkt-offer-counter .hmmkt-num{width:7.5rem;max-width:7.5rem;padding:.3rem .5rem;border:1px solid #e5e7eb;border-radius:6px;font:inherit;text-align:center}
/* Empty-counter validation: red field + a small inline hint (full-width in the wrapped action column) */
.hmmkt-offer-counter .hmmkt-num.hmmkt-invalid{border-color:#dc2626;box-shadow:0 0 0 2px rgba(220,38,38,.18);outline:none}
.hmmkt-field-hint{flex-basis:100%;width:100%;margin-top:1px;color:#dc2626;font-size:.74rem;font-weight:700;line-height:1.4;text-align:center}
/* F8 — Accept = green, Decline = red (override the default gold + ghost styles) */
.hmmkt-btn.hmmkt-accept{background:#15803d;border-color:#15803d;color:#fff}
.hmmkt-btn.hmmkt-accept:hover{background:#126c34;box-shadow:0 10px 22px rgba(21,128,61,.28);color:#fff;transform:translateY(-1px)}
.hmmkt-btn.hmmkt-decline{background:#dc2626;border-color:#dc2626;color:#fff}
.hmmkt-btn.hmmkt-decline:hover{background:#b91c1c;border-color:#b91c1c;color:#fff;box-shadow:0 10px 22px rgba(220,38,38,.28);transform:translateY(-1px)}
.hmmkt-reject-note{color:#b42318}
.hmmkt-star{color:var(--hmmkt-gold);font-size:1.05rem}

/* Tables */
.hmmkt-table-wrap{overflow-x:auto;border:1px solid var(--hmmkt-line);border-radius:var(--hmmkt-radius);background:#fff}
.hmmkt-table{width:100%;border-collapse:collapse;font-size:.92rem}
.hmmkt-table th{background:var(--hmmkt-bg);text-align:center;vertical-align:middle;padding:.7rem .9rem;font-weight:700;
	border-block-end:1px solid var(--hmmkt-line);white-space:nowrap}
/* !important: the theme zeroes table-cell borders, which erased the row separators. */
.hmmkt-table td{padding:.7rem .9rem;border-block-end:1px solid var(--hmmkt-line)!important;vertical-align:middle;text-align:center}
.hmmkt-table tbody tr:last-child td{border-block-end:0!important}
.hmmkt-table tr:last-child td{border-block-end:0}
/* The host theme zebra-stripes generic tables (`tbody > tr:nth-child(2n+1) > td/th` → #f7f7f7). That
   gray clashed with our white table card (most visibly as a gray box around the Edit/action buttons
   on odd rows). Our tables are designed flat-white with row borders — neutralize the theme stripe. */
.hmmkt-table tbody td,.hmmkt-table tbody th{background-color:transparent!important}
.hmmkt-td-sub{color:var(--hmmkt-muted);font-size:.82rem;margin-top:.15rem}

/* Admin badges */
.hmmkt-admin .hmmkt-badge{display:inline-block;font-size:.78rem;font-weight:700;padding:.15rem .55rem;border-radius:999px;background:#f3f4f6;color:#374151}
.hmmkt-admin .hmmkt-badge.active,.hmmkt-admin .hmmkt-badge.publish{background:#ecfdf3;color:#15803d}
.hmmkt-admin .hmmkt-badge.pending{background:#fff7ed;color:#c2410c}
.hmmkt-admin .hmmkt-badge.expired,.hmmkt-admin .hmmkt-badge.cancelled,.hmmkt-admin .hmmkt-badge.draft{background:#f3f4f6;color:#6b7280}
.hmmkt-admin .hmmkt-badge.hm_rejected{background:#fdeaea;color:#b42318}
/* Admin action buttons — ONE consistent destructive style (was ad-hoc inline color:#a00 / border hacks).
   Outlined red at rest, fills with WordPress's destructive red (#b32d2e) on hover/focus. Same size as
   every other .button (we dropped the button-small mismatch in the action rows). Primary stays
   .button-primary (blue), neutral stays plain .button. `.button.` prefix beats core .button specificity. */
.button.hmmkt-btn-danger{color:#b32d2e;border-color:#b32d2e;background:#fff}
.button.hmmkt-btn-danger:hover,.button.hmmkt-btn-danger:focus{color:#fff;background:#b32d2e;border-color:#b32d2e;box-shadow:none}
.button.hmmkt-btn-danger:focus{outline:1px solid #b32d2e;outline-offset:1px}

/* Responsive */
@media(max-width:860px){
	.hmmkt-cards{grid-template-columns:minmax(0,1fr)}
	.hmmkt-checkout{grid-template-columns:1fr}
	.hmmkt-row{grid-template-columns:1fr}
	.hmmkt-tier.popular{transform:none}
	.hmmkt-dash-head{flex-direction:column;align-items:flex-start}
}
.hmmkt-trial-banner{max-width:680px;margin:1rem auto;padding:.7rem 1rem;background:#fff7e0;border:1px solid #e7c200;color:#6b5500;border-radius:12px;text-align:center;font-weight:600}

/* ===== De-pink: theme injects #cc3366 on button hover/focus bg + border. Restore brand gold.
   (.hmmkt a is already gold; .hmmkt-btn.ghost keeps its own hover via higher specificity.) ===== */
.hmmkt button,.hmmkt [type=button],.hmmkt [type=submit]{border-color:transparent}
.hmmkt button:hover,.hmmkt button:focus,.hmmkt [type=button]:hover,.hmmkt [type=button]:focus,.hmmkt [type=submit]:hover,.hmmkt [type=submit]:focus{background-color:var(--hmmkt-gold-dark);color:#fff}
/* The theme ALSO styles bare buttons at rest ([type=submit],button{color:#cc3366;background:transparent}),
   which TIES .hmmkt-btn (0,1,0) and wins on load order — real <button>/<input> .hmmkt-btn elements (the
   profile/save forms) lost their gold fill. Restate the variants at wrapper specificity so brand always wins. */
.hmmkt button.hmmkt-btn,.hmul button.hmmkt-btn,.hmmkt input[type=submit].hmmkt-btn,.hmul input[type=submit].hmmkt-btn{background:linear-gradient(180deg,var(--hmmkt-gold,#B78F01),var(--hmmkt-gold-dark,#8f7301));color:#fff;border:0}
.hmmkt button.hmmkt-btn:hover,.hmmkt button.hmmkt-btn:focus,.hmul button.hmmkt-btn:hover,.hmul button.hmmkt-btn:focus,.hmmkt input[type=submit].hmmkt-btn:hover,.hmmkt input[type=submit].hmmkt-btn:focus{background:var(--hmmkt-gold-dark,#8f7301);color:#fff}
.hmmkt button.hmmkt-btn.ghost,.hmul button.hmmkt-btn.ghost{background:#fff;color:var(--hmmkt-gold-dark,#8f7301);border:1.5px solid var(--hmmkt-gold,#B78F01)}
.hmmkt button.hmmkt-btn.ghost:hover,.hmmkt button.hmmkt-btn.ghost:focus,.hmul button.hmmkt-btn.ghost:hover,.hmul button.hmmkt-btn.ghost:focus{background:#fffaf0;color:var(--hmmkt-gold-dark,#8f7301)}
/* Semantic actions KEEP their colors — Accept stays green, Decline stays red. Restated here only
   because the gold restatement above would otherwise out-rank their (0,2,0) base rules. */
.hmmkt button.hmmkt-btn.hmmkt-accept{background:#15803d;border-color:#15803d;color:#fff}
.hmmkt button.hmmkt-btn.hmmkt-accept:hover,.hmmkt button.hmmkt-btn.hmmkt-accept:focus{background:#126c34;color:#fff}
.hmmkt button.hmmkt-btn.hmmkt-decline,.hmmkt button.hmmkt-btn.ghost.hmmkt-decline{background:#dc2626;border-color:#dc2626;color:#fff}
.hmmkt button.hmmkt-btn.hmmkt-decline:hover,.hmmkt button.hmmkt-btn.hmmkt-decline:focus,.hmmkt button.hmmkt-btn.ghost.hmmkt-decline:hover,.hmmkt button.hmmkt-btn.ghost.hmmkt-decline:focus{background:#b91c1c;border-color:#b91c1c;color:#fff}
/* text-link BUTTONS (mark-all-read, mark-read ✓, cancel subscription): the `.hmmkt a` gold only covers
   anchors, so these <button>s fell back to the theme pink — give them the same link look, and cancel
   the generic de-pink hover (a solid gold fill reads wrong on a text link). */
.hmmkt button.hmmkt-link{background:transparent;border:0;padding:0;color:var(--hmmkt-gold-dark);font:inherit;font-weight:700;cursor:pointer}
.hmmkt button.hmmkt-link:hover,.hmmkt button.hmmkt-link:focus{background:transparent;background-color:transparent;color:var(--hmmkt-gold-dark);text-decoration:underline}

/* ===== Agent dashboard shell: tabbed side-nav (inline-start) + content area =====
   Scoped to dashboard pages via body.hmmkt-dash. The host theme's global Elementor
   "Single Page" template wraps page content in a 2-column layout (content + booking
   form); on dashboard pages we hide that form column and let our content go full-width.
   :has() targets the columns by whether they contain our shell — robust to element IDs. */
body.hmmkt-dash .elementor-section:has(.hmmkt-dash-shell) > .elementor-container > .elementor-column:not(:has(.hmmkt-dash-shell)){display:none!important}
body.hmmkt-dash .elementor-section:has(.hmmkt-dash-shell) > .elementor-container > .elementor-column:has(.hmmkt-dash-shell){width:100%!important;max-width:100%!important;flex:0 0 100%!important}

.hmmkt-dash-shell{display:flex;gap:22px;align-items:flex-start;margin-block:8px 36px}
.hmmkt-dash-nav{flex:0 0 244px;position:sticky;top:90px;background:#fff;border:1px solid var(--hmmkt-line);border-radius:16px;padding:14px;box-shadow:0 4px 18px rgba(31,36,48,.06)}
.hmmkt-dash-brand{margin:0 0 10px;padding:6px 12px 12px;font-weight:800;font-size:1.02rem;color:var(--hmmkt-gold-dark);border-bottom:1px solid #f0ece1}
.hmmkt-dash-tabs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.hmmkt-dash-nav ul,.hmmkt-dash-nav li{list-style:none!important;margin:0;padding:0;background:none}
.hmmkt-dash-nav li::marker{content:""}
.hmmkt-dash-tab{display:flex;align-items:center;gap:11px;padding:11px 14px;border-radius:11px;font-weight:700;font-size:.95rem;color:var(--hmmkt-ink);text-decoration:none;transition:background .15s,color .15s}
.hmmkt-dash-tab svg{width:20px;height:20px;flex:none;opacity:.85}
.hmmkt-dash-tab:hover{background:color-mix(in srgb, var(--hmmkt-gold,#B78F01) 10%, transparent);color:var(--hmmkt-gold-dark);text-decoration:none}
.hmmkt-dash-tab.is-active{background:linear-gradient(180deg,var(--hmmkt-gold),var(--hmmkt-gold-dark));color:#fff;box-shadow:0 6px 16px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 28%, transparent)}
.hmmkt-dash-tab.is-active svg{opacity:1}
.hmmkt-dash-main{flex:1 1 auto;min-width:0}
.hmmkt-dash-main > .hmmkt{max-width:none;margin-inline:0;padding-inline:0}
.hmmkt-dash-lang{display:inline-flex;gap:2px;margin-top:14px;padding:3px;background:#f3f1ea;border-radius:999px;border:1px solid var(--hmmkt-line)}
.hmmkt-dash-langbtn{padding:5px 14px;border-radius:999px;font-size:.78rem;font-weight:800;color:var(--hmmkt-muted);text-decoration:none;line-height:1.5;transition:background .15s,color .15s}
.hmmkt-dash-langbtn.is-active{background:var(--hmmkt-gold);color:#fff}
.hmmkt-dash-langbtn:not(.is-active):hover{color:var(--hmmkt-gold-dark);text-decoration:none}
/* the theme forces Droid-Naskh on links; keep the dashboard nav on Cairo like the rest of .hmmkt */
.hmmkt-dash-nav,.hmmkt-dash-nav a,.hmmkt-dash-nav span,.hmmkt-dash-nav p{font-family:'Cairo','Tajawal',system-ui,-apple-system,Segoe UI,Roboto,sans-serif!important}

@media(max-width:880px){
  .hmmkt-dash-shell{display:block;margin-block:4px 24px}
  .hmmkt-dash-nav{position:static;width:auto;padding:8px;margin-bottom:14px}
  .hmmkt-dash-main{width:100%;min-width:0}
  .hmmkt-dash-brand{display:none}
  .hmmkt-dash-tabs{flex-direction:row;overflow-x:auto;gap:6px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
  .hmmkt-dash-tab{white-space:nowrap;padding:9px 13px}
  /* The active tab's gold drop-shadow gets clipped by this horizontal overflow strip into a stray
     gold bar; the gradient fill already marks "active", so drop the shadow on mobile. */
  .hmmkt-dash-tab.is-active{box-shadow:none}
}

/* ---------------- Offers (dashboard: received / sent) ---------------- */
.hmmkt-h4{font-size:.98rem;font-weight:700;color:var(--hmmkt-muted,#6b7280);margin:1.1rem 0 .5rem}
.hmmkt-unit-cell{display:flex;gap:.6rem;align-items:center}
.hmmkt-unit-thumb{width:46px;height:46px;border-radius:8px;object-fit:cover;flex:0 0 auto;border:1px solid var(--hmmkt-line)}
.hmmkt-unit-title{font-weight:700}
.hmmkt-offer-del{margin:0}

/* ---------------- Notification centre (dashboard) ---------------- */
/* Facebook-style notification BELL: compact button + floating dropdown (never auto-expanded). */
.hmmkt-notif{position:relative;display:inline-block;margin:0}
.hmmkt-notif-head{cursor:pointer;list-style:none;position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--hmmkt-line);color:var(--hmmkt-ink);transition:.15s}
.hmmkt-notif-head:hover{background:#f6f1e3;color:var(--hmmkt-gold)}
.hmmkt-notif[open] .hmmkt-notif-head{background:#f6f1e3;color:var(--hmmkt-gold)}
.hmmkt-notif-head::-webkit-details-marker{display:none}
.hmmkt-notif-badge{position:absolute;top:-5px;inset-inline-end:-5px;display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .3rem;border-radius:999px;background:#e02424;color:#fff;font-size:.7rem;font-weight:800;border:2px solid #fff}
.hmmkt-notif-panel{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:5000;width:380px;max-width:calc(100vw - 32px);max-height:65vh;overflow:auto;background:#fff;border:1px solid var(--hmmkt-line);border-radius:14px;box-shadow:0 14px 44px rgba(31,36,48,.22)}
.hmmkt-notif-paneltop{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.85rem 1.1rem;border-block-end:1px solid var(--hmmkt-line);font-size:1rem}
.hmmkt-notif-empty{padding:1rem 1.1rem;margin:0}
.hmmkt-notif-allread{margin:0}
.hmmkt-notif-allread .hmmkt-link{font-size:.8rem}
@media(max-width:520px){.hmmkt-notif-panel{position:fixed;inset-inline:16px;top:72px;width:auto}}
.hmmkt-notif-list{list-style:none;margin:0;padding:0}
.hmmkt-notif-item{padding:.8rem 1.1rem;border-block-start:1px solid var(--hmmkt-line)}
.hmmkt-notif-item.is-unread{background:#fffdf4}
.hmmkt-notif-item[data-link],.hmmkt-notif-item.is-unread{cursor:pointer}
.hmmkt-notif-item[data-link]:hover,.hmmkt-notif-item.is-unread:hover{background:#fbf8ee}
.hmmkt-notif-row{display:flex;gap:.6rem;align-items:flex-start;justify-content:space-between}
.hmmkt-notif-main{min-width:0}
.hmmkt-notif-subject{font-weight:700;display:flex;align-items:center;gap:.45rem}
.hmmkt-notif-dot{flex:0 0 auto;width:.55rem;height:.55rem;border-radius:50%;background:var(--hmmkt-gold)}
.hmmkt-notif-meta{font-size:.8rem;color:var(--hmmkt-muted);margin-top:.25rem}
.hmmkt-notif-read1{margin:0}
.hmmkt-notif-read1 .hmmkt-link{background:none;border:0;cursor:pointer;font-size:1rem;color:var(--hmmkt-gold-dark)}

/* F1 — 3/6/12-month cycle toggle (checkout) */
.hmmkt-cycle-toggle{display:inline-flex;background:#f3f1ea;border-radius:10px;padding:4px;gap:4px;margin:0 0 14px}
.hmmkt-cycle{padding:.4rem .9rem;border-radius:8px;font-weight:700;font-size:.85rem;color:#6b5b2a;text-decoration:none}
.hmmkt-cycle.is-active{background:#fff;color:var(--hmmkt-gold-dark);box-shadow:0 1px 4px rgba(0,0,0,.08)}
/* F7 — VAT breakdown line + notice */
.hmmkt-co-vat span,.hmmkt-co-vat strong{color:var(--hmmkt-muted);font-weight:600;font-size:.9rem}
.hmmkt-vat-note{color:var(--hmmkt-muted);font-size:.85rem;margin-top:8px}
/* F6 — receipt / invoice */
.hmmkt-receipt{max-width:560px;margin:0 auto;background:#fff;border:1px solid #ece6d6;border-radius:14px;padding:24px}
.hmmkt-receipt-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.hmmkt-receipt-head{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid var(--hmmkt-gold);padding-bottom:10px;margin-bottom:14px}
.hmmkt-receipt-brand{font-size:1.4rem;font-weight:800;color:var(--hmmkt-gold-dark)}
.hmmkt-receipt-taxid{font-size:.8rem;color:var(--hmmkt-muted)}
.hmmkt-receipt h2{margin:0 0 14px;font-size:1.05rem}
.hmmkt-receipt-tbl{width:100%;border-collapse:collapse;margin-bottom:14px}
.hmmkt-receipt-tbl td{padding:.45rem .2rem;border-bottom:1px solid #f1ede1}
.hmmkt-receipt-tbl td:last-child{text-align:end;font-weight:600}
.hmmkt-receipt-amounts td:first-child{color:var(--hmmkt-muted);font-weight:400}
.hmmkt-receipt-total td{font-weight:800;font-size:1.05rem;border-bottom:0;border-top:2px solid var(--hmmkt-gold);color:var(--hmmkt-gold-dark)}
@media print{.hmmkt-receipt-bar,header,footer{display:none!important}.hmmkt-receipt{border:0}}
/* F9/F10 — auto-renew + cancel controls */
.hmmkt-autorenew{margin-top:8px}
.hmmkt-autorenew .hmmkt-check{font-size:.85rem;font-weight:600;display:inline-flex;align-items:center;gap:6px}
.hmmkt-autorenew-note{font-style:italic;margin-top:6px}
.hmmkt-cancel-sub{margin-top:6px}
.hmmkt-cancel-link{background:none;border:0;cursor:pointer;color:#b42318;font-size:.82rem;text-decoration:underline;padding:0}

/* ---- freshness confirm / republish ---- */
.hmmkt-fresh-form{display:inline-block;margin-inline-start:6px}
.hmmkt-fresh-btn{background:#fef3c7!important;border:1px solid #f59e0b!important;color:#92400e!important}
.hmmkt-fresh-btn:hover{background:#f59e0b!important;color:#fff!important}
.hmmkt-fresh-btn.is-hidden{background:#fee2e2!important;border-color:#dc2626!important;color:#991b1b!important}
.hmmkt-fresh-btn.is-hidden:hover{background:#dc2626!important;color:#fff!important}
.hmmkt-fresh-note{color:#b45309}

/* ---- listing quality coach (pill in the table; tips live in a floating popover) ---- */
/* Matches the sibling .hmmkt-pill box (same height + 999px radius). !important + appearance reset
   because the <button> variant (scores with tips) otherwise inherits the theme's button chrome
   (border-radius:3px, padding:8px 16px, font-size:16px → a tall, square box). */
.hmmkt-q-pill{display:inline-block!important;font-family:inherit;font-size:.78rem!important;font-weight:800!important;line-height:1.6!important;border:0!important;border-radius:999px!important;padding:.2rem .6rem!important;margin:0!important;height:auto!important;min-height:0!important;-webkit-appearance:none;appearance:none!important;background-clip:padding-box;vertical-align:middle}
.hmmkt-q-pill.is-btn{cursor:pointer;box-shadow:0 0 0 1px rgba(0,0,0,.05)}
.hmmkt-q-pill.is-btn:hover{filter:brightness(.96);text-decoration:underline}
.hmmkt-q-pill.good{background:#dcfce7!important;color:#15803d!important}
.hmmkt-q-pill.mid{background:#fef3c7!important;color:#92400e!important}
.hmmkt-q-pill.low{background:#fee2e2!important;color:#991b1b!important}
/* Appended to <body> (outside .hmmkt) → must carry its own vars + font, or the gold resolves to nothing. */
.hmmkt-q-pop{--hmmkt-gold:#B78F01;--hmmkt-gold-dark:#8f7301;--hmmkt-line:#e7e3d6;position:absolute;z-index:9000;background:#fff;border:1px solid var(--hmmkt-line);border-radius:14px;box-shadow:0 14px 44px rgba(31,36,48,.22);padding:14px 16px;text-align:start;font-family:'Cairo','Tajawal',system-ui,Segoe UI,Arial,sans-serif}
.hmmkt-q-pop a.hmmkt-btn{display:flex;align-items:center;justify-content:center;width:100%;background:linear-gradient(180deg,var(--hmmkt-gold,#B78F01),var(--hmmkt-gold-dark,#8f7301))!important;color:#fff!important;font-weight:700;font-size:.88rem;padding:.6rem 1rem!important;border-radius:10px!important;border:0!important;text-decoration:none!important}
.hmmkt-q-pop a.hmmkt-btn:hover{filter:brightness(1.07);color:#fff!important}
.hmmkt-q-pop strong{color:#92400e;font-size:.92rem}
.hmmkt-q-pop ul{margin:8px 0 12px;padding-inline-start:18px;font-size:.84rem;color:#475569;line-height:1.6}
.hmmkt-q-pop li{margin-bottom:4px}
.hmmkt-q-pop .hmmkt-q-bar{margin:8px 0}

/* dashboard head: bell + CTA aligned together */
.hmmkt-dash-head-actions{display:flex;align-items:center;gap:12px}

/* ---- listing management CARDS (replace the 10-column table) ---- */
.hmmkt-lcards{display:flex;flex-direction:column;gap:12px;margin-bottom:18px}
.hmmkt-lcard{background:#fff;border:1px solid var(--hmmkt-line);border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:10px;box-shadow:0 1px 6px rgba(31,36,48,.04)}
.hmmkt-lcard-main{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}
.hmmkt-lcard-thumb{width:76px;height:58px;border-radius:10px;overflow:hidden;flex:0 0 auto;display:block;background:#f3f1ea}
.hmmkt-lcard-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hmmkt-lcard-noimg{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--hmmkt-gold,#B78F01),var(--hmmkt-gold-dark,#8f7301))}
.hmmkt-lcard-id{flex:1;min-width:170px}
.hmmkt-lcard-title{font-weight:800;color:var(--hmmkt-ink);font-size:1rem}
.hmmkt-lcard-title:hover{color:var(--hmmkt-gold-dark)}
/* side column: pills line over the actions line — the card stays at two rows */
.hmmkt-lcard-side{display:flex;flex-direction:column;gap:8px;align-items:flex-end;margin-inline-start:auto}
.hmmkt-lcard-pills{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.hmmkt-lcard-pills .hmmkt-quality{margin-top:0}
.hmmkt-star-pill{display:inline-flex;align-items:center;gap:4px;background:color-mix(in srgb, var(--hmmkt-gold,#B78F01) 14%, transparent);color:var(--hmmkt-gold-dark);border-radius:999px;padding:.2rem .6rem;font-size:.78rem;font-weight:800;line-height:1.6}
.hmmkt-lcard-stats{display:flex;gap:8px 22px;flex-wrap:wrap;border-block:1px dashed var(--hmmkt-line);padding:9px 2px}
.hmmkt-lstat{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;color:var(--hmmkt-muted)}
.hmmkt-lstat svg{color:var(--hmmkt-gold-dark);flex:0 0 auto}
.hmmkt-lstat b{color:var(--hmmkt-ink);font-size:.92rem}
.hmmkt-lcard-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-inline-start:auto} /* far left in RTL, inside the stats row */
.hmmkt-lcard-stats{align-items:center}
@media(max-width:560px){
  .hmmkt-lstat i{display:none} /* phones: icon + number only */
  .hmmkt-lcard-side{margin-inline-start:0;align-items:flex-start;width:100%}
  .hmmkt-lcard-pills{justify-content:flex-start}
}


/* ---- offer contact + message icon buttons: UNIFORM at rest, brand colors only on hover ---- */
.hmmkt-contacts{display:inline-flex;gap:6px;vertical-align:middle}
.hmmkt-contact-wa,.hmmkt-contact-tel,.hmmkt-msg-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;transition:.15s;background:color-mix(in srgb, var(--hmmkt-gold,#B78F01) 10%, transparent)!important;color:var(--hmmkt-gold-dark)!important;border:1px solid color-mix(in srgb, var(--hmmkt-gold,#B78F01) 30%, transparent)!important;cursor:pointer;padding:0!important;min-width:34px!important}
.hmmkt-contact-wa:hover{background:#25d366!important;border-color:#25d366!important;color:#fff!important;transform:scale(1.07)}
.hmmkt-contact-tel:hover{background:var(--hmmkt-gold)!important;border-color:var(--hmmkt-gold)!important;color:#fff!important;transform:scale(1.07)}
.hmmkt-msg-btn:hover{background:var(--hmmkt-gold-dark)!important;border-color:var(--hmmkt-gold-dark)!important;color:#fff!important;transform:scale(1.07)}
/* message modal */
.hmmkt-msg-modal{position:fixed;inset:0;z-index:100000;background:rgba(15,18,25,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.hmmkt-msg-box{background:#fff;border-radius:14px;max-width:440px;width:100%;padding:18px 20px;box-shadow:0 18px 50px rgba(0,0,0,.3);text-align:start}
.hmmkt-msg-box h4{margin:0 0 4px;font-size:1rem;font-weight:800;color:var(--hmmkt-ink,#1f2430)}
.hmmkt-msg-from{color:var(--hmmkt-muted,#6b7280);font-size:.8rem;margin-bottom:12px}
.hmmkt-msg-text{white-space:pre-wrap;color:#374151;font-size:.92rem;line-height:1.7;max-height:50vh;overflow:auto;background:#faf8f2;border:1px solid var(--hmmkt-line,#e7e3d6);border-radius:10px;padding:12px 14px;margin-bottom:14px;word-break:break-word}
.hmmkt-msg-close{display:block;margin-inline-start:auto}

/* ============================================================================
 * In-window dialogs — themed confirm + toast (replace native confirm/prompt/alert).
 * Loaded site-wide via the hmmkt bundle; built by hmConfirm()/hmToast() in hmmkt.js.
 * Self-contained brand tokens so it renders correctly even when appended to <body>
 * (outside the .hmmkt wrapper). Direction is set on the box in JS (RTL/LTR per lang).
 * ========================================================================== */
.hmmkt-dlg{--hmmkt-gold:#B78F01;--hmmkt-gold-dark:#8f7301;--hmmkt-ink:#1f2430;--hmmkt-line:#e7e3d6;position:fixed;inset:0;z-index:100001;background:rgba(15,18,25,.5);display:flex;align-items:center;justify-content:center;padding:16px;animation:hmmkt-dlg-fade .14s ease-out;font-family:'Cairo','Tajawal',system-ui,Segoe UI,Arial,sans-serif}
@keyframes hmmkt-dlg-fade{from{opacity:0}to{opacity:1}}
.hmmkt-dlg-box{background:#fff;border-radius:16px;max-width:430px;width:100%;padding:22px 24px 20px;box-shadow:0 22px 60px rgba(0,0,0,.32);text-align:start;border-top:4px solid var(--hmmkt-gold);animation:hmmkt-dlg-rise .17s cubic-bezier(.2,.7,.3,1)}
.hmmkt-dlg-box.is-danger{border-top-color:#dc2626}
@keyframes hmmkt-dlg-rise{from{transform:translateY(10px) scale(.985);opacity:0}to{transform:none;opacity:1}}
.hmmkt-dlg-title{margin:0;font-size:1.08rem;font-weight:800;color:var(--hmmkt-ink);line-height:1.55}
.hmmkt-dlg-text{margin:8px 0 0;color:#4b5563;font-size:.92rem;line-height:1.7;white-space:pre-wrap;word-break:break-word}
.hmmkt-dlg-url{display:block;width:100%;margin:12px 0 0;padding:10px 12px;border:1px solid var(--hmmkt-line);border-radius:10px;background:#faf8f2;font-size:.82rem;color:#374151;word-break:break-all;text-align:start;direction:ltr}
.hmmkt-dlg-input{display:block;width:100%;box-sizing:border-box;margin:12px 0 0;padding:10px 12px;border:1px solid var(--hmmkt-line);border-radius:10px;background:#fff;font-size:.92rem;font-family:inherit;color:var(--hmmkt-ink)}
.hmmkt-dlg-input:focus{outline:none;border-color:var(--hmmkt-gold);box-shadow:0 0 0 3px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 15%, transparent)}
.hmmkt-dlg-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}
/* The overlay is appended to <body> — OUTSIDE the .hmmkt wrapper — so the scoped `.hmmkt button.hmmkt-btn`
   gold rule (which defeats the theme's bare-<button> pink) never reaches it. Restate it here, scoped to
   .hmmkt-dlg, at the same (0,2,1) specificity that beats the theme; danger primary at (0,3,1) wins over gold. */
.hmmkt-dlg button.hmmkt-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-width:108px;font-family:inherit;font-weight:800;font-size:.92rem;line-height:1.2;border:0!important;border-radius:.7rem;padding:.62rem 1.1rem;cursor:pointer;box-shadow:none;background:linear-gradient(180deg,var(--hmmkt-gold,#B78F01),var(--hmmkt-gold-dark,#8f7301))!important;color:#fff!important;transition:background .15s,box-shadow .15s,transform .15s}
.hmmkt-dlg button.hmmkt-btn:hover,.hmmkt-dlg button.hmmkt-btn:focus{background:var(--hmmkt-gold-dark,#8f7301)!important;color:#fff!important;box-shadow:0 8px 18px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 30%, transparent)}
.hmmkt-dlg button.hmmkt-btn.ghost{background:#fff!important;color:var(--hmmkt-gold-dark,#8f7301)!important;border:1.5px solid var(--hmmkt-gold,#B78F01)!important}
.hmmkt-dlg button.hmmkt-btn.ghost:hover,.hmmkt-dlg button.hmmkt-btn.ghost:focus{background:#fffaf0!important;color:var(--hmmkt-gold-dark,#8f7301)!important}
.hmmkt-dlg button.hmmkt-dlg-ok.is-danger{background:#dc2626!important;color:#fff!important}
.hmmkt-dlg button.hmmkt-dlg-ok.is-danger:hover,.hmmkt-dlg button.hmmkt-dlg-ok.is-danger:focus{background:#b91c1c!important;color:#fff!important}
/* Toast: brief, non-blocking confirmations (e.g. link copied) */
.hmmkt-toast-wrap{position:fixed;inset-inline:0;bottom:24px;z-index:100002;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;padding:0 16px}
.hmmkt-toast{pointer-events:auto;background:var(--hmmkt-ink,#1f2430);color:#fff;font-family:'Cairo','Tajawal',system-ui,Segoe UI,Arial,sans-serif;font-size:.9rem;font-weight:700;line-height:1.5;padding:12px 18px;border-radius:12px;box-shadow:0 12px 34px rgba(0,0,0,.28);max-width:min(440px,calc(100vw - 32px));display:flex;align-items:center;gap:10px;animation:hmmkt-toast-in .2s ease-out}
.hmmkt-toast::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--hmmkt-gold,var(--hmmkt-gold,#B78F01));flex:none}
.hmmkt-toast.is-ok::before{background:#15803d}
.hmmkt-toast.is-err::before{background:#dc2626}
.hmmkt-toast.is-leaving{animation:hmmkt-toast-out .2s ease-in forwards}
@keyframes hmmkt-toast-in{from{transform:translateY(14px);opacity:0}to{transform:none;opacity:1}}
@keyframes hmmkt-toast-out{to{transform:translateY(14px);opacity:0}}

/* ============================================================================
 * Pricing page ([hm_pricing]) — "design A": tier cards + a billing-cycle toggle.
 * Scoped under .hmmkt-pricing (inside .hmmkt, so the --hmmkt-* tokens inherit).
 * ========================================================================== */
.hmmkt-pricing{--pr-soft:rgba(183,143,1,.08);--pr-green:#15803d;--pr-elev:0 16px 44px rgba(31,36,48,.13);--pr-shadow:0 2px 14px rgba(31,36,48,.06)}
.hmmkt-pricing .hmmkt-pr-head{text-align:center;max-width:680px;margin:0 auto 2rem}
.hmmkt-pr-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--hmmkt-gold-dark);background:var(--pr-soft);border:1px solid color-mix(in srgb, var(--hmmkt-gold,#B78F01) 18%, transparent);padding:7px 16px;border-radius:999px;margin-bottom:16px}
.hmmkt-pr-eyebrow svg{width:15px;height:15px}
.hmmkt-pr-h1{font-size:clamp(28px,5vw,44px);font-weight:900;letter-spacing:-.5px;line-height:1.2;color:var(--hmmkt-ink)}
.hmmkt-pr-sub{margin-top:12px;font-size:clamp(15px,2.4vw,18px);color:var(--hmmkt-muted);font-weight:600}

/* billing-cycle toggle */
.hmmkt-pr-togglewrap{display:flex;justify-content:center;margin:1.8rem 0 2.4rem}
.hmmkt-pr-segments{display:inline-flex;gap:4px;background:#fff;padding:6px;border:1px solid var(--hmmkt-line);border-radius:14px;box-shadow:var(--pr-shadow);flex-wrap:wrap;justify-content:center}
.hmmkt-pr-seg{appearance:none;border:0;cursor:pointer;background:transparent;font-family:inherit;color:var(--hmmkt-muted);font-weight:700;font-size:14px;padding:10px 18px;border-radius:12px;line-height:1.25;display:flex;flex-direction:column;align-items:center;gap:6px;transition:background .2s,color .2s,box-shadow .2s}
.hmmkt-pr-segnote{font-size:10.5px;font-weight:700;color:var(--hmmkt-gold-dark)}
.hmmkt-pr-seg:hover{color:var(--hmmkt-ink);background:var(--pr-soft)}
.hmmkt-pr-seg.is-active{background:linear-gradient(135deg,var(--hmmkt-gold),var(--hmmkt-gold-dark));color:var(--on-primary,#1b1b1b);box-shadow:0 6px 16px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 28%, transparent)}
.hmmkt-pr-seg.is-active .hmmkt-pr-segnote{color:var(--on-primary,#2c2300)}
.hmmkt-pr-seg:focus-visible{outline:none;box-shadow:0 0 0 3px #fff,0 0 0 6px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 55%, transparent)}

/* cards grid */
.hmmkt-pr-grid{display:grid;gap:22px;align-items:stretch;grid-template-columns:repeat(4,1fr)}
.hmmkt-pr-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--hmmkt-line);border-radius:18px;padding:28px 24px 26px;box-shadow:var(--pr-shadow);transition:transform .2s,box-shadow .2s,border-color .2s}
.hmmkt-pr-card:hover{transform:translateY(-4px);box-shadow:var(--pr-elev)}
.hmmkt-pr-card.popular{border:1.5px solid color-mix(in srgb, var(--hmmkt-gold,#B78F01) 55%, transparent);box-shadow:0 0 0 3px var(--pr-soft),var(--pr-elev);transform:scale(1.03)}
.hmmkt-pr-card.popular:hover{transform:scale(1.03) translateY(-4px)}
.hmmkt-pr-card.current{border:1.5px solid var(--hmmkt-gold);background:linear-gradient(180deg,#fffdf6,#fff)}
.hmmkt-pr-ribbon{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,var(--hmmkt-gold),var(--hmmkt-gold-dark));color:var(--on-primary,#1b1b1b);font-weight:800;font-size:12.5px;padding:7px 16px;border-radius:999px;white-space:nowrap;box-shadow:0 8px 18px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 35%, transparent);display:inline-flex;align-items:center;gap:5px}
.hmmkt-pr-ribbon-cur{background:#f6f3ea;color:var(--hmmkt-gold-dark);box-shadow:none;border:1px solid var(--hmmkt-line)}
.hmmkt-pr-name{font-size:22px;font-weight:800;letter-spacing:-.3px;color:var(--hmmkt-ink)}
.hmmkt-pr-blurb{margin-top:5px;font-size:13.5px;color:var(--hmmkt-muted);font-weight:600;min-height:21px}
.hmmkt-pr-priceblock{margin-top:22px;min-height:104px}
.hmmkt-pr-pricerow{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.hmmkt-pr-big{font-size:46px;font-weight:900;line-height:1;letter-spacing:-1px;color:var(--hmmkt-ink)}
.hmmkt-pr-unit{font-size:15px;font-weight:700;color:var(--hmmkt-muted)}
.hmmkt-pr-billed{margin-top:8px;font-size:13px;color:var(--hmmkt-muted);font-weight:600}
.hmmkt-pr-billed[hidden]{display:none}
.hmmkt-pr-badge{display:inline-flex;align-items:center;gap:6px;margin-top:12px;background:rgba(21,128,61,.10);color:var(--pr-green);font-weight:800;font-size:12.5px;padding:6px 13px;border-radius:999px}
.hmmkt-pr-badge[hidden]{display:none}
.hmmkt-pr-badge svg{width:13px;height:13px}
.hmmkt-pr-feats{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:13px}
.hmmkt-pr-feats li{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:600;color:var(--hmmkt-ink)}
.hmmkt-pr-feats li.muted{color:var(--hmmkt-muted)}
.hmmkt-pr-tick{flex:0 0 auto;width:19px;height:19px;margin-top:1px}
.hmmkt-pr-tick circle{fill:var(--pr-soft)}
.hmmkt-pr-tick path{stroke:var(--hmmkt-gold-dark);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hmmkt-pr-feats li.muted .hmmkt-pr-tick circle{fill:#f1f2f6}
.hmmkt-pr-feats li.muted .hmmkt-pr-tick path{stroke:#9aa3b2}
.hmmkt-pr-cta{margin-top:auto;padding-top:24px}
.hmmkt-pr-cta .hmmkt-btn{width:100%;justify-content:center}
.hmmkt-pr-cta .hmmkt-btn.disabled{background:#f6f3ea;color:var(--hmmkt-gold-dark);border:1.5px solid var(--hmmkt-line);box-shadow:none}
.hmmkt-pr-foot{text-align:center;margin-top:1.6rem;font-size:13px;color:var(--hmmkt-muted);font-weight:600}

@media(max-width:980px){.hmmkt-pr-grid{grid-template-columns:repeat(2,1fr);gap:20px}.hmmkt-pr-card.popular{transform:none}.hmmkt-pr-card.popular:hover{transform:translateY(-4px)}}
@media(max-width:560px){.hmmkt-pr-grid{grid-template-columns:1fr}.hmmkt-pr-seg{padding:9px 14px;font-size:13px}.hmmkt-pr-big{font-size:42px}}
@media(prefers-reduced-motion:reduce){.hmmkt-pricing *{transition:none!important}.hmmkt-pr-card:hover,.hmmkt-pr-card.popular,.hmmkt-pr-card.popular:hover{transform:none}}

/* Theme-proof the cycle toggle: the active theme paints bare <button> text + border #cc3366 at (0,1,0),
   which ties the single class on .hmmkt-pr-seg and wins on stylesheet load order — turning the INACTIVE
   segments (and their inherited label spans) pink. Re-assert the toggle text/border one notch higher
   (.hmmkt-pricing scope = (0,2,0)). Do NOT restate background here, so the active segment keeps its gold
   gradient (set by .hmmkt-pr-seg.is-active). */
.hmmkt-pricing .hmmkt-pr-seg{color:var(--hmmkt-gold-dark);border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;font-weight:800;padding:12px 28px;min-width:96px}
.hmmkt-pricing .hmmkt-pr-seg:hover{color:#fff;background:linear-gradient(135deg,var(--hmmkt-gold),var(--hmmkt-gold-dark))}
.hmmkt-pricing .hmmkt-pr-seg.is-active{color:#fff}
.hmmkt-pricing .hmmkt-pr-segnote{color:var(--pr-green)}
.hmmkt-pricing .hmmkt-pr-seg.is-active .hmmkt-pr-segnote{color:#fff}
.hmmkt-pricing .hmmkt-pr-seg:hover .hmmkt-pr-segnote{color:#fff}
@media(max-width:560px){.hmmkt-pricing .hmmkt-pr-seg{padding:10px 16px;min-width:0}}

/* Subscription & Billing home (the merged /checkout/ page shown when no tier is selected) */
.hmmkt-billing{max-width:680px}
.hmmkt-sub-manage{background:#fff;border:1px solid var(--hmmkt-line);border-radius:var(--hmmkt-radius);box-shadow:var(--hmmkt-shadow);padding:1.4rem;margin:1rem 0}
.hmmkt-sub-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.4rem;margin-top:1rem;padding-top:1rem;border-top:1px dashed var(--hmmkt-line)}

/* ── Phone verification (WhatsApp/SMS OTP) — /my-profile/ widget ── */
.hmmkt-phone-verify{background:#fff;border:1px solid var(--hmmkt-line);border-radius:var(--hmmkt-radius,14px);box-shadow:var(--hmmkt-shadow,0 1px 3px rgba(0,0,0,.06));padding:1.3rem 1.4rem;margin:0 0 1.4rem}
.hmmkt-phone-verify .hmmkt-h3{margin:0 0 .3rem}
.hmmkt-phone-reqnote{margin:.55rem 0 .9rem;padding:.6rem .8rem;border-radius:10px;background:#fff7e6;border:1px solid #f0d999;color:#8a6d00;font-size:.86rem;font-weight:700;line-height:1.55}
.hmmkt-phone-verified{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem .9rem;margin-top:.3rem}
.hmmkt-phone-verified[hidden]{display:none}
.hmmkt-verified-badge{display:inline-flex;align-items:center;gap:5px;background:rgba(21,128,61,.10);color:#15803d;font-weight:800;font-size:.82rem;padding:5px 12px;border-radius:999px}
.hmmkt-verified-badge svg{width:14px;height:14px}
.hmmkt-phone-num{font-weight:800;color:var(--hmmkt-ink);letter-spacing:.3px}
.hmmkt-phone-editor[hidden]{display:none}
.hmmkt-phone-editor .hmmkt-profile-field{display:flex;flex-direction:column;gap:.35rem;margin-top:.6rem;font-weight:700;color:var(--hmmkt-ink);font-size:.9rem}
.hmmkt-phone-input,.hmmkt-otp-input{font-family:inherit;font-size:1rem;padding:.6rem .75rem;border:1.5px solid var(--hmmkt-line);border-radius:10px;background:#fff;color:var(--hmmkt-ink);width:100%;max-width:340px}
.hmmkt-phone-input:focus,.hmmkt-otp-input:focus{outline:none;border-color:var(--hmmkt-gold);box-shadow:0 0 0 3px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 15%, transparent)}
.hmmkt-otp-input{letter-spacing:.35em;font-weight:800;text-align:center;max-width:210px}
.hmmkt-phone-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-top:.8rem}
.hmmkt-phone-actions .hmmkt-btn{display:inline-flex;align-items:center;gap:6px}
.hmmkt-otp-step{margin-top:1rem;padding-top:1rem;border-top:1px dashed var(--hmmkt-line)}
.hmmkt-otp-step[hidden]{display:none}
.hmmkt-otp-sent{margin:0 0 .2rem;color:#15803d;font-weight:700;font-size:.88rem;line-height:1.55}

/* Listing gate banner — shown in place of the post-a-unit form. Wrapper-agnostic colours (it renders
   inside .hmmkt AND .hmul) and an <a> CTA so theme bare-<button> resets never touch it. */
.hmmkt-verify-gate{text-align:center;background:#fff;border:1px solid #e7e3d6;border-radius:16px;padding:2rem 1.6rem;max-width:520px;margin:1rem auto}
.hmmkt-verify-gate-ico{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:rgba(37,211,102,.12);color:#25d366;margin-bottom:.6rem}
.hmmkt-verify-gate-ico.is-sms{background:color-mix(in srgb, var(--hmmkt-gold,#B78F01) 12%, transparent);color:var(--hmmkt-gold-dark,#8f7301)}
.hmmkt-verify-gate-ico svg{width:26px;height:26px}
.hmmkt-verify-gate h3{margin:.2rem 0 .45rem;font-size:1.15rem;font-weight:800;color:#1f2430}
.hmmkt-verify-gate p{margin:0 auto 1.1rem;max-width:380px;color:#4b5563;font-size:.92rem;line-height:1.7}
.hmmkt-verify-btn{display:inline-block;background:linear-gradient(180deg,var(--hmmkt-gold,#B78F01),var(--hmmkt-gold-dark,#8f7301));color:#fff;font-weight:800;font-size:.95rem;padding:.7rem 1.6rem;border-radius:10px;text-decoration:none;box-shadow:0 6px 16px color-mix(in srgb, var(--hmmkt-gold,#B78F01) 28%, transparent)}
.hmmkt-verify-btn:hover{background:var(--hmmkt-gold-dark,#8f7301);color:#fff}

/* "Powered by CoderTo" attribution at the bottom of the payment page */
.hmmkt-powered{margin-top:.9rem;padding-top:.7rem;border-top:1px solid var(--hmmkt-line);text-align:center;color:#9aa1ad;font-size:.72rem;font-weight:700;letter-spacing:.04em;opacity:.9}
