/*
   EKhanS Theme — mobile shell
   Top bar, side drawer, search bar, marketplace hero, bottom tab bar.

   Loads after components.css. Nothing here restyles an existing component;
   every selector is new (.ek-top, .ek-drawer, .ek-searchbar, .ek-sellbar,
   .ek-tabbar), so the listing cards, panels, forms and dashboards are
   untouched. Note .ek-sellbar and NOT .ek-hero: front-page.php already owns
   .ek-hero for the trust banner.

   Tokens come from style.css :root. No new colours are invented.
*/

/* --- shared icon -------------------------------------------------------- */

.ek-ico {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* --- top bar ------------------------------------------------------------ */

.ek-top {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--ek-surface);
	border-bottom: 1px solid var(--ek-border);
}

.ek-top__bar {
	display: grid;
	grid-template-columns: var(--ek-tap) 1fr auto;
	align-items: center;
	gap: 8px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 10px;
	min-height: 58px;
}

.ek-top__brand {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--ek-text);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.ek-top__logo {
	flex: 0 0 auto !important;
	display: inline-block !important;
	height: 28px !important;
	width: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
	object-fit: contain !important;
	aspect-ratio: 1 / 1 !important;
}

@media (min-width: 768px) {
	.ek-top__logo {
		height: 32px !important;
		width: 32px !important;
		max-width: 32px !important;
		max-height: 32px !important;
	}
}

.ek-top__brand-text {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ek-top__brand:hover,
.ek-top__brand:focus { color: var(--ek-text); text-decoration: none; }

.ek-top__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-self: end;
}

.ek-top__icon {
	display: grid;
	place-items: center;
	width: var(--ek-tap);
	height: var(--ek-tap);
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: var(--ek-radius-sm);
	color: var(--ek-text-2);
	cursor: pointer;
}

.ek-top__icon:hover { color: var(--ek-text); background: var(--ek-surface-2); }

.ek-top__login {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	background: var(--ek-accent);
	border-radius: 999px;
	color: var(--ek-accent-ink);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.ek-top__login:hover,
.ek-top__login:focus { background: var(--ek-accent-hover); color: var(--ek-accent-ink); text-decoration: none; }

/* --- hamburger ---------------------------------------------------------- */

.ek-burger { justify-self: start; }

.ek-burger__box {
	display: grid;
	gap: 5px;
	width: 22px;
}

.ek-burger__line {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 140ms ease;
}

.ek-burger[aria-expanded="true"] .ek-burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ek-burger[aria-expanded="true"] .ek-burger__line:nth-child(2) { opacity: 0; }
.ek-burger[aria-expanded="true"] .ek-burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- wallet pill -------------------------------------------------------- */

.ek-wallet-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	background: var(--ek-accent-soft);
	border: 1px solid var(--ek-accent-line);
	border-radius: 999px;
	color: var(--ek-text-2);
	font-size: 12px;
	white-space: nowrap;
}

.ek-wallet-pill:hover,
.ek-wallet-pill:focus {
	color: var(--ek-text);
	border-color: var(--ek-accent);
	text-decoration: none;
}

.ek-wallet-pill strong {
	color: var(--ek-text);
	font-size: 14px;
	font-weight: 600;
}

/* --- search bar --------------------------------------------------------- */

.ek-searchbar {
	border-top: 1px solid var(--ek-border);
	background: var(--ek-surface-2);
}

.ek-searchbar__form {
	display: flex;
	gap: 8px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 10px var(--ek-gap);
}

.ek-searchbar__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 0 14px;
	background: var(--ek-bg);
	border: 1px solid var(--ek-border);
	border-radius: 999px;
	color: var(--ek-text);
	font-family: inherit;
	font-size: 15px;
}

.ek-searchbar__input:focus {
	outline: 2px solid var(--ek-accent);
	outline-offset: 1px;
}

.ek-searchbar__submit {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 18px;
	background: var(--ek-accent);
	border: 0;
	border-radius: 999px;
	color: var(--ek-accent-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.ek-searchbar__submit:hover { background: var(--ek-accent-hover); }

/* --- side drawer -------------------------------------------------------- */

.ek-drawer__scrim {
	position: fixed;
	inset: 0;
	z-index: 70;
	background: rgba(4, 5, 7, 0.66);
	opacity: 0;
	transition: opacity 200ms ease;
}

.ek-drawer__scrim.is-on { opacity: 1; }

.ek-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 80;
	width: 84vw;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	background: var(--ek-surface);
	border-right: 1px solid var(--ek-border);
	transform: translateX(-100%);
	transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
	overflow-y: auto;
	overscroll-behavior: contain;
	visibility: hidden;
}

.ek-drawer.is-open {
	transform: translateX(0);
	visibility: visible;
}

.ek-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 10px 14px 18px;
	border-bottom: 1px solid var(--ek-border);
}

.ek-drawer__title {
	margin: 0;
	color: var(--ek-text);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ek-drawer__close {
	display: grid;
	place-items: center;
	width: var(--ek-tap);
	height: var(--ek-tap);
	background: transparent;
	border: 0;
	color: var(--ek-text-3);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ek-drawer__close:hover { color: var(--ek-text); }

.ek-drawer__nav {
	display: flex;
	flex-direction: column;
	padding: 8px 0 24px;
}

.ek-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: var(--ek-tap);
	padding: 0 18px;
	background: transparent;
	border: 0;
	color: var(--ek-text-2);
	font-family: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
}

.ek-drawer__link:hover,
.ek-drawer__link:focus {
	background: var(--ek-surface-2);
	color: var(--ek-text);
	text-decoration: none;
}

.ek-drawer__link--quiet { color: var(--ek-text-4); }

.ek-drawer__group { display: flex; flex-direction: column; }

.ek-drawer__chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 180ms ease;
}

.ek-drawer__toggle[aria-expanded="true"] .ek-drawer__chevron { transform: rotate(-135deg); }

.ek-drawer__sub {
	display: flex;
	flex-direction: column;
	background: var(--ek-bg);
	border-top: 1px solid var(--ek-border);
	border-bottom: 1px solid var(--ek-border);
}

.ek-drawer__sublink {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px 0 32px;
	color: var(--ek-text-3);
	font-size: 14px;
}

.ek-drawer__sublink:hover,
.ek-drawer__sublink:focus { background: var(--ek-surface-2); color: var(--ek-text); text-decoration: none; }

body.ek-drawer-open { overflow: hidden; }

/* --- homepage hero action bar ------------------------------------------- */
/* Named .ek-sellbar and NOT .ek-hero: front-page.php already owns .ek-hero
   for the trust banner, and reusing that class restyled it by accident. */

.ek-sellbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 4px;
	padding: 11px;
	background: #13171d;
	border: 1px solid #23272f;
	border-radius: 18px;
}

.ek-sellbar__avatar-link {
	flex-shrink: 0;
	display: block;
	border-radius: 50%;
	line-height: 0;
}

.ek-sellbar__avatar-link:hover .ek-sellbar__avatar,
.ek-sellbar__avatar-link:focus .ek-sellbar__avatar {
	box-shadow: 0 0 0 2px var(--ek-accent);
}

.ek-sellbar__avatar {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	transition: box-shadow 150ms ease;
}

.ek-sellbar__avatar--empty { background: #c9ccd1; }

.ek-sellbar__cta {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 12px 20px;
	background: #22c55e;
	border-radius: 9999px;
	color: #000000;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-align: center;
	white-space: nowrap;
	transition: background-color 150ms ease;
}

.ek-sellbar__cta:hover,
.ek-sellbar__cta:focus {
	background: #2ee06d;
	color: #000000;
	text-decoration: none;
}

/* --- bottom tab bar (mobile and tablet only) ---------------------------- */

.ek-tabbar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	background: var(--ek-surface);
	border-top: 1px solid var(--ek-border);
	padding-bottom: env(safe-area-inset-bottom);
}

.ek-tabbar__tab {
	display: grid;
	justify-items: center;
	align-content: center;
	gap: 3px;
	min-height: 58px;
	padding: 6px 2px;
	color: var(--ek-text-4);
	font-size: 10px;
	line-height: 1.2;
	text-align: center;
}

.ek-tabbar__tab:hover,
.ek-tabbar__tab:focus { color: var(--ek-text-2); text-decoration: none; }

.ek-tabbar__tab.is-on { color: var(--ek-accent); }

.ek-tabbar__tab .ek-ico { width: 21px; height: 21px; }

/* The icon is the badge's positioning context, so a count sits on the glyph
   rather than on the whole tap target. */
.ek-tabbar__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 21px;
	height: 21px;
}

.ek-tabbar__badge {
	position: absolute;
	top: -6px;
	left: 11px;
	display: grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	background: var(--ek-danger);
	border: 2px solid var(--ek-surface);
	border-radius: 999px;
	color: #1a0a08;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.ek-tabbar__badge[hidden] { display: none; }

.ek-tabbar__tab span {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Room for the fixed bar. Applied to the footer rather than the body so it
   cannot fight a plugin that also pads the body. */
.ek-footer { padding-bottom: 92px; }

/* --- desktop-only notification bell ------------------------------------
   One class, used by one element. The customer header bell duplicates the
   notification tab in the bottom bar, so it is hidden until the width where
   mobile-shell.css hides that bar. Nothing else is affected: no shared utility
   class, no change to .ek-top__bar, .ek-top__icon or any mobile rule.

   The badge inside it is positioned by .ek-top__bell { position: relative }
   below and sized by the #ekhans-notif-badges block in inc/notifications.php,
   exactly as the operator bell's badge already is.
   ---------------------------------------------------------------------- */

.ek-top__bell--desktop { display: none; }

/* --- 768px and up: no tab bar, drawer becomes a normal panel ------------ */

@media (min-width: 768px) {
	.ek-tabbar { display: none; }
	.ek-footer { padding-bottom: 44px; }

	.ek-top__bar { padding: 10px var(--ek-gap); }
	.ek-top__brand { justify-self: start; font-size: 20px; }
	.ek-top__logo { height: 30px; max-width: 48px; }
	.ek-wallet-pill { font-size: 13px; }
	.ek-drawer { width: 340px; }
	.ek-sellbar { padding: 12px; border-radius: 20px; }
	.ek-sellbar__cta { flex: 0 1 420px; font-size: 16px; }

	.ek-top__bell--desktop { display: inline-flex; }
}

/* --- full-width dashboard (no side nav) --------------------------------- */
/* The seller dashboard, order list, notifications and profile no longer carry
   a side navigation — the drawer and the tab bar cover those destinations. The
   modifier stops .ek-dash reserving a 232px column for a nav that is not
   there, without touching .ek-dash itself, which other screens still use. */

.ek-dash--plain { display: block; }
.ek-dash--plain .ek-dash__body { display: grid; gap: var(--ek-gap); }

@media (min-width: 860px) {
	.ek-dash--plain { grid-template-columns: none; }
}

/* --- seller profile card ------------------------------------------------ */

.ek-profile {
	display: grid;
	gap: 18px;
	padding: 18px;
	background: var(--ek-surface);
	border: 1px solid var(--ek-border);
	border-radius: var(--ek-radius-lg);
}

.ek-profile__id {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ek-profile__avatar {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--ek-surface-2);
}

.ek-profile__who {
	display: grid;
	gap: 6px;
	justify-items: start;
	min-width: 0;
}

.ek-profile__name {
	margin: 0;
	color: var(--ek-text);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.ek-profile__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	background: var(--ek-accent-soft);
	border: 1px solid var(--ek-accent-line);
	border-radius: 999px;
	color: var(--ek-accent);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ek-profile__metrics {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding-top: 16px;
	border-top: 1px solid var(--ek-border);
}

.ek-profile__metric { display: grid; gap: 4px; align-content: start; }

.ek-profile__metric-label {
	margin: 0;
	color: var(--ek-text-4);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.ek-profile__metric-value {
	margin: 0;
	color: var(--ek-text);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.ek-profile__metric-note {
	margin: 0;
	color: var(--ek-text-3);
	font-size: 12px;
	line-height: 1.4;
	text-wrap: pretty;
}

/* --- profile action bar ------------------------------------------------- */

.ek-profile__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.ek-profile__count {
	margin: 0;
	color: var(--ek-text-2);
	font-size: 14px;
	font-weight: 600;
}

.ek-profile__sell {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	background: #22c55e;
	border-radius: 999px;
	color: #000000;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
	transition: background-color 150ms ease;
}

.ek-profile__sell:hover,
.ek-profile__sell:focus {
	background: #2ee06d;
	color: #000000;
	text-decoration: none;
}

/* --- horizontal filter pills ------------------------------------------- */
/* .ek-chip-row already exists in dashboard.css; this modifier only makes it
   a single scrolling line on narrow screens instead of wrapping to four. */

.ek-chip-row--scroll {
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.ek-chip-row--scroll::-webkit-scrollbar { display: none; }
.ek-chip-row--scroll .ek-chip { flex: 0 0 auto; }

/* --- two-way segment control (Order page) ------------------------------- */

.ek-segment {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
	padding: 4px;
	background: var(--ek-surface-2);
	border: 1px solid var(--ek-border);
	border-radius: 999px;
}

.ek-segment__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--ek-text-3);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
}

.ek-segment__tab:hover,
.ek-segment__tab:focus { color: var(--ek-text); text-decoration: none; }

.ek-segment__tab.is-on {
	background: var(--ek-surface);
	border: 1px solid var(--ek-border);
	color: var(--ek-text);
}

.ek-segment__count {
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	background: var(--ek-danger);
	border-radius: 999px;
	color: #1a0a08;
	font-size: 11px;
	font-weight: 700;
}

/* --- operator bell in the top bar -------------------------------------- */

.ek-top__bell { position: relative; }

.ek-top__bell-badge {
	position: absolute;
	top: 6px;
	right: 6px;
	display: grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	background: var(--ek-danger);
	border: 2px solid var(--ek-surface);
	border-radius: 999px;
	color: #1a0a08;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

.ek-drawer__count {
	display: grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background: var(--ek-danger);
	border-radius: 999px;
	color: #1a0a08;
	font-size: 11px;
	font-weight: 700;
}

/* --- profile: Edit pill and avatar uploader ---------------------------- */

.ek-profile__edit {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 18px;
	background: #16191f;
	border: 1px solid #2a2f38;
	border-radius: 999px;
	color: var(--ek-text-2);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.ek-profile__edit:hover,
.ek-profile__edit:focus {
	background: #1d222a;
	border-color: #39404b;
	color: var(--ek-text);
	text-decoration: none;
}

.ek-avatar-edit {
	position: relative;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
}

.ek-avatar-edit.is-busy { opacity: 0.6; }

.ek-avatar-edit__btn {
	position: absolute;
	right: -2px;
	bottom: -2px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	background: var(--ek-surface-2);
	border: 1px solid var(--ek-border);
	border-radius: 50%;
	color: var(--ek-text-2);
	cursor: pointer;
}

.ek-avatar-edit__btn:hover { color: var(--ek-text); border-color: var(--ek-accent); }
.ek-avatar-edit__btn .ek-ico { width: 14px; height: 14px; }

.ek-avatar-edit__input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.ek-avatar-edit__status {
	margin: 0;
	color: var(--ek-text-3);
	font-size: 12px;
	min-height: 1em;
}

.ek-avatar-edit__status.is-error { color: var(--ek-danger-text); }

.ek-avatar-edit__aside { margin: 0; }

.ek-avatar-edit__remove {
	padding: 0;
	background: none;
	border: 0;
	color: var(--ek-text-4);
	font-family: inherit;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

.ek-avatar-edit__remove:hover { color: var(--ek-text-2); }

/* --- chat attachment thumbnails --------------------------------------- */
/* The thumbnail is a fixed box rather than a full-width image: a chat is read
   top to bottom, and a portrait screenshot at full column width pushes the
   next message off the screen. */

.ek-msg__file-thumb {
	position: relative;
	display: block;
	width: 100%;
	height: 150px;
	background: var(--ek-bg);
	overflow: hidden;
}

.ek-msg__file-thumb img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.ek-msg__file-fallback {
	display: none;
	position: absolute;
	inset: 0;
	place-items: center;
	padding: 10px;
	color: var(--ek-text-4);
	font-size: 12px;
	text-align: center;
}

/* Set by attachments.js when the image genuinely failed to load. */
.ek-msg__file-thumb.is-broken img { display: none; }
.ek-msg__file-thumb.is-broken .ek-msg__file-fallback { display: grid; }

.ek-msg__file:hover .ek-msg__file-thumb img { opacity: 0.92; }

/* --- attachment lightbox ---------------------------------------------- */

.ek-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(4, 5, 7, 0.9);
}

.ek-lightbox[hidden] { display: none; }

.ek-lightbox__frame {
	display: grid;
	gap: 10px;
	justify-items: center;
	max-width: 100%;
	max-height: 100%;
}

.ek-lightbox__img {
	max-width: 100%;
	max-height: 78vh;
	display: block;
	border-radius: var(--ek-radius-sm);
	object-fit: contain;
}

.ek-lightbox__caption {
	margin: 0;
	color: #d8dce2;
	font-size: 13px;
	text-align: center;
	overflow-wrap: anywhere;
}

.ek-lightbox__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: var(--ek-tap);
	height: var(--ek-tap);
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.1);
	border: 0;
	border-radius: 50%;
	color: #ffffff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ek-lightbox__close:hover { background: rgba(255, 255, 255, 0.2); }

body.ek-lightbox-open { overflow: hidden; }

@media (min-width: 640px) {
	.ek-profile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 24px; }
	.ek-profile__metrics { padding-top: 0; border-top: 0; border-left: 1px solid var(--ek-border); padding-left: 24px; }
	.ek-segment__tab { font-size: 14px; }
	.ek-msg__file-thumb { height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
	.ek-drawer,
	.ek-drawer__scrim,
	.ek-burger__line,
	.ek-drawer__chevron { transition: none; }
}
/* Mobile Header Clean Fix */
@media (max-width: 480px) {
    /* পুরো বারকে ফ্লেক্সবক্সে নিয়ে আসা যাতে কেউ কারও ওপর না ওঠে */
    .ek-top__bar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 10px !important;
        gap: 8px !important;
    }

    /* ব্র্যান্ড ও লোগো সংকুচিত হওয়া বা ভেঙে যাওয়া আটকানো */
    .ek-top__brand {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: 16px !important;
        margin: 0 !important;
    }

    .ek-top__logo {
        height: 22px !important;
        width: 22px !important;
        flex-shrink: 0 !important;
    }

    .ek-top__brand-text {
        font-size: 15px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* অ্যাকশন সেকশন ডানপাশে ফিক্স রাখা */
    .ek-top__actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    /* ওয়ালেট পিল কমপ্যাক্ট করা যাতে চ্যাট আইকন সুন্দর জায়গা পায় */
    .ek-top__actions a,
    .ek-top__actions [class*="wallet"] {
        padding: 3px 8px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .ek-top__icon {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
    }
}