/* =========================================================
   Shrang Header
   File: wp-content/themes/shrang/assets/css/header.css

   Structure:
   1.  Custom properties
   2.  Site header shell
   3.  Header inner grid
   4.  Logo
   5.  Center nav (desktop)
   6.  Credits pill
   7.  Language selector (desktop dropdown)
   8.  User dropdown (desktop)
   9.  Guest actions (desktop)
   10. Hamburger button
   11. RTL support
   12. Desktop responsive (1100px, 940px)
   13. Mobile drawer + backdrop  ← new
   14. Mobile bar tweaks (600px, 430px, 360px)
   ========================================================= */

/* ---------------------------------------------------------
   1. Custom properties
--------------------------------------------------------- */
:root {
	--shrang-header-height:      64px;
	--shrang-header-height-mob:  56px;
	--shrang-drawer-width:       288px;
	--shrang-drawer-bg:          #181818;
	--shrang-drawer-border:      rgba(255, 255, 255, 0.07);
	--shrang-drawer-label-color: rgba(255, 255, 255, 0.35);
	--shrang-drawer-link-color:  rgba(255, 255, 255, 0.82);
	--shrang-drawer-link-hover:  rgba(255, 255, 255, 0.10);
	--shrang-drawer-cta-bg:      var(--shrang-orange, #c9461a);
}

/* ---------------------------------------------------------
   2. Site header shell
--------------------------------------------------------- */
body.admin-bar .shrang-site-header {
	top: 32px;
}

.shrang-site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
	background:
		radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.20), transparent 34%),
		radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.16), transparent 32%),
		linear-gradient(135deg, var(--shrang-orange) 0%, #f45a24 48%, #d83b0e 100%);
	color: #ffffff;
	box-shadow: 0 8px 24px rgba(17, 17, 17, 0.14);
}

.shrang-onebar-header {
	min-height: var(--shrang-header-height);
}

/* ---------------------------------------------------------
   3. Header inner grid  (logo | nav | user)
--------------------------------------------------------- */
.shrang-header-inner {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	width: 100%;
	max-width: var(--shrang-container);
	min-height: var(--shrang-header-height);
	margin: 0 auto;
	padding: 0 22px;
}

.shrang-header-zone {
	display: flex;
	align-items: center;
	min-width: 0;
}

.shrang-header-left   { justify-content: flex-start; }
.shrang-header-center { justify-content: center; }
.shrang-header-right  { justify-content: flex-end; gap: 9px; }

/* ---------------------------------------------------------
   4. Logo
--------------------------------------------------------- */
.shrang-brand-link {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	color: #ffffff;
	text-decoration: none;
}

.shrang-brand-link:hover {
	color: #ffffff;
	opacity: 0.94;
}

.shrang-text-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #ffffff;
	line-height: 1;
	white-space: nowrap;
}

.shrang-text-logo::before {
	content: "♫";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	flex: 0 0 29px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.shrang-logo-en {
	display: inline-block;
	color: #ffffff;
	font-family: "Arial Black", Arial, Helvetica, sans-serif;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.055em;
	direction: ltr;
	unicode-bidi: isolate;
	text-rendering: geometricPrecision;
}

.shrang-brand img,
.shrang-site-logo img,
.custom-logo {
	display: block;
	max-height: 42px;
	width: auto;
}

/* ---------------------------------------------------------
   5. Center nav (desktop)
--------------------------------------------------------- */
.shrang-primary-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.shrang-main-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.shrang-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shrang-menu li {
	margin: 0;
	padding: 0;
}

.shrang-primary-navigation a,
.shrang-header-nav-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 9px 12px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 850;
	line-height: 1.1;
	text-decoration: none;
	border-radius: 999px;
	white-space: nowrap;
	transition:
		background  0.16s ease,
		color       0.16s ease,
		transform   0.16s ease,
		box-shadow  0.16s ease;
}

.shrang-primary-navigation a:hover,
.shrang-header-nav-link:hover,
.shrang-header-nav-link.is-current {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.shrang-header-nav-link.is-primary {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.shrang-header-nav-link.is-primary:hover,
.shrang-header-nav-link.is-primary.is-current {
	background: #ffffff;
	color: var(--shrang-orange);
	transform: translateY(-1px);
}

/* ---------------------------------------------------------
   6. Credits pill
--------------------------------------------------------- */
.shrang-header-credits-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 11px;
	color: #ffffff;
	text-decoration: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.26);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.05;
	white-space: nowrap;
	transition: background 0.16s ease;
}

.shrang-header-credits-pill:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.24);
}

/* ---------------------------------------------------------
   7. Language selector  (<details> dropdown)
--------------------------------------------------------- */
.shrang-header-language {
	position: relative;
	flex: 0 0 auto;
}

.shrang-header-language-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-height: 36px;
	padding: 7px 10px;
	cursor: pointer;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	list-style: none;
	white-space: nowrap;
	transition:
		background    0.16s ease,
		border-color  0.16s ease;
}

.shrang-header-language-toggle::-webkit-details-marker { display: none; }

.shrang-header-language-toggle::after {
	content: "▾";
	display: inline-block;
	margin-left: 1px;
	color: #ffffff;
	font-size: 10px;
	line-height: 1;
	transition: transform 0.16s ease;
}

.shrang-header-language[open] .shrang-header-language-toggle::after {
	transform: rotate(180deg);
}

.shrang-header-language-toggle:hover,
.shrang-header-language[open] .shrang-header-language-toggle {
	background: rgba(255, 255, 255, 0.23);
	border-color: rgba(255, 255, 255, 0.46);
}

.shrang-header-language-icon {
	font-size: 12px;
	line-height: 1;
}

.shrang-header-language-current {
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.01em;
}

.shrang-header-language-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 10001;
	min-width: 190px;
	padding: 8px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(17, 17, 17, 0.18);
}

.shrang-header-language-menu::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 22px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	transform: rotate(45deg);
	border-left: 1px solid rgba(17, 17, 17, 0.06);
	border-top:  1px solid rgba(17, 17, 17, 0.06);
}

.shrang-header-language-option {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 38px !important;
	padding: 9px 11px !important;
	color: #111111 !important;
	border-radius: 10px !important;
	background: transparent !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.shrang-header-language-option:hover {
	background: #fff2ed !important;
	color: #111111 !important;
}

.shrang-header-language-option.is-current {
	background: var(--shrang-orange) !important;
	color: #ffffff !important;
}

.shrang-header-language-option.is-current::after {
	content: "✓";
	margin-left: 10px;
	font-size: 12px;
	font-weight: 900;
}

.shrang-header-language-option[dir="rtl"] {
	justify-content: flex-start;
	text-align: right;
	font-family: var(--shrang-rtl-font);
}

/* ---------------------------------------------------------
   8. User dropdown (desktop)
--------------------------------------------------------- */
.shrang-header-user-menu {
	position: relative;
	flex: 0 0 auto;
}

.shrang-header-user-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 38px;
	padding: 5px 10px 5px 6px;
	cursor: pointer;
	color: #ffffff;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.24);
	list-style: none;
	white-space: nowrap;
	transition: background 0.16s ease;
}

.shrang-header-user-toggle::-webkit-details-marker { display: none; }

.shrang-header-user-toggle::after {
	content: "▾";
	display: inline-block;
	color: #ffffff;
	font-size: 10px;
	line-height: 1;
	transition: transform 0.16s ease;
}

.shrang-header-user-menu[open] .shrang-header-user-toggle::after {
	transform: rotate(180deg);
}

.shrang-header-user-toggle:hover,
.shrang-header-user-menu[open] .shrang-header-user-toggle {
	background: rgba(255, 255, 255, 0.24);
}

.shrang-header-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	flex: 0 0 27px;
	border-radius: 999px;
	background: #ffffff;
	color: var(--shrang-orange);
	font-size: 11px;
	font-weight: 950;
	line-height: 1;
}

.shrang-header-username {
	display: inline-block;
	max-width: 92px;
	overflow: hidden;
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shrang-header-user-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 10001;
	min-width: 190px;
	padding: 8px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 18px 44px rgba(17, 17, 17, 0.18);
}

.shrang-header-user-dropdown::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 22px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	transform: rotate(45deg);
	border-left: 1px solid rgba(17, 17, 17, 0.06);
	border-top:  1px solid rgba(17, 17, 17, 0.06);
}

.shrang-header-user-dropdown a {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 38px;
	padding: 9px 11px;
	color: #111111;
	border-radius: 10px;
	background: transparent;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.14s ease;
}

.shrang-header-user-dropdown a:hover {
	background: #fff2ed;
	color: #111111;
}

.shrang-header-user-dropdown a.is-logout {
	color: #c0392b;
	margin-top: 4px;
	border-top: 1px solid rgba(17, 17, 17, 0.06);
	padding-top: 11px;
}

/* ---------------------------------------------------------
   9. Guest actions (desktop)
--------------------------------------------------------- */
.shrang-header-login-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 9px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.14s ease;
}

.shrang-header-login-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.shrang-header-try-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 9px 14px;
	color: var(--shrang-orange);
	background: #ffffff;
	border-radius: 11px;
	font-size: 13px;
	font-weight: 950;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 18px rgba(17, 17, 17, 0.10);
	transition:
		background  0.16s ease,
		transform   0.16s ease;
}

.shrang-header-try-button:hover {
	color: var(--shrang-orange);
	background: #fff7f2;
	transform: translateY(-1px);
}

/* ---------------------------------------------------------
   10. Hamburger button
--------------------------------------------------------- */
.shrang-mobile-menu-toggle {
	display: none; /* shown inside mobile breakpoint */
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.16);
	cursor: pointer;
	transition: background 0.16s ease;
}

.shrang-mobile-menu-toggle:hover {
	background: rgba(255, 255, 255, 0.26);
}

.shrang-mobile-menu-icon {
	position: relative;
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 99px;
	background: #ffffff;
}

.shrang-mobile-menu-icon::before,
.shrang-mobile-menu-icon::after {
	content: "";
	position: absolute;
	left: 0;
	display: block;
	width: 22px;
	height: 3px;
	border-radius: 99px;
	background: #ffffff;
}

.shrang-mobile-menu-icon::before { top: -8px; }
.shrang-mobile-menu-icon::after  { top:  8px; }

/* Animate hamburger → ✕ when drawer is open */
body.shrang-drawer-open .shrang-mobile-menu-icon {
	background: transparent;
}

body.shrang-drawer-open .shrang-mobile-menu-icon::before {
	top: 0;
	transform: rotate(45deg);
}

body.shrang-drawer-open .shrang-mobile-menu-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   11. RTL support
--------------------------------------------------------- */
body.shrang-app-dir-rtl .shrang-header-inner {
	direction: rtl;
}

body.shrang-app-dir-rtl .shrang-logo-en {
	direction: ltr;
	unicode-bidi: isolate;
}

body.shrang-app-dir-rtl .shrang-header-language-menu,
body.shrang-app-dir-rtl .shrang-header-user-dropdown {
	right: auto;
	left: 0;
}

body.shrang-app-dir-rtl .shrang-header-language-menu::before,
body.shrang-app-dir-rtl .shrang-header-user-dropdown::before {
	right: auto;
	left: 22px;
}

body.shrang-app-dir-rtl .shrang-header-language-option.is-current::after {
	margin-right: 10px;
	margin-left: 0;
}

/* ---------------------------------------------------------
   12. Desktop responsive (1100px, 940px)
--------------------------------------------------------- */
@media (max-width: 1100px) {
	.shrang-header-inner {
		gap: 12px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.shrang-logo-en {
		font-size: 20px;
	}

	.shrang-text-logo::before {
		width: 27px;
		height: 27px;
		flex-basis: 27px;
	}

	.shrang-primary-navigation a,
	.shrang-header-nav-link {
		min-height: 36px;
		padding: 8px 9px;
		font-size: 12px;
	}

	.shrang-header-right {
		gap: 7px;
	}

	.shrang-header-username {
		max-width: 72px;
	}
}

@media (max-width: 940px) {
	body.admin-bar .shrang-site-header {
		top: 46px;
	}

	/* Shrink header height */
	.shrang-onebar-header {
		min-height: var(--shrang-header-height-mob);
	}

	.shrang-header-inner {
		min-height: var(--shrang-header-height-mob);
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 8px;
		padding-left: 12px;
		padding-right: 12px;
	}

	/* CENTER: hide desktop nav — all nav lives in the drawer on mobile */
	.shrang-header-center {
		display: none;
	}

	/* RIGHT: hide desktop-only elements; keep credits + language + hamburger */
	.shrang-header-user-toggle,
	.shrang-header-login-link,
	.shrang-header-try-button {
		display: none;
	}

	.shrang-header-right {
		gap: 6px;
	}

	/* Compact credits + language pills */
	.shrang-header-credits-pill {
		min-height: 34px;
		padding: 6px 9px;
		font-size: 11px;
	}

	.shrang-header-language-toggle {
		min-height: 34px;
		padding: 6px 9px;
	}

	.shrang-header-language-icon {
		display: none; /* globe emoji hidden; 2-letter code stays */
	}

	/* Show hamburger */
	.shrang-mobile-menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
	}
}

/* ---------------------------------------------------------
   13. Mobile drawer + backdrop
   Drawer slides in from the right (LTR) or left (RTL).
   Only visible below 940px.
--------------------------------------------------------- */

/* Backdrop */
.shrang-drawer-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.52);
	cursor: pointer;
	/* no transition needed — appears with drawer */
}

/* Drawer shell */
.shrang-mobile-drawer {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10001;
	width: var(--shrang-drawer-width);
	max-width: 88vw;
	background: var(--shrang-drawer-bg);
	flex-direction: column;
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(100%);
	transition: transform 0.26s cubic-bezier(0.32, 0, 0.15, 1);
	/* Custom scrollbar */
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.shrang-mobile-drawer::-webkit-scrollbar       { width: 4px; }
.shrang-mobile-drawer::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

/* Drawer visible only on mobile.
   IMPORTANT: only .shrang-mobile-drawer gets display:flex here.
   The backdrop must stay display:none until the drawer is opened —
   if it were display:flex here it would cover the whole screen
   permanently and block all taps including the hamburger.        */
@media (max-width: 940px) {
	/* Drawer: always rendered on mobile, just off-screen via transform */
	.shrang-mobile-drawer {
		display: flex;
	}

	/* RTL: drawer slides in from the left */
	body.shrang-app-dir-rtl .shrang-mobile-drawer {
		right: auto;
		left: 0;
		transform: translateX(-100%);
	}

	/* Admin bar offset */
	body.admin-bar .shrang-mobile-drawer {
		top: 46px;
	}

	/* Prevent page scroll while drawer is open */
	body.shrang-drawer-open {
		overflow: hidden;
	}
}

/* Open states — outside the media query so they're always available
   but practically only triggered on mobile via the hamburger.      */
body.shrang-drawer-open .shrang-drawer-backdrop {
	display: block;
}

body.shrang-drawer-open .shrang-mobile-drawer {
	transform: translateX(0);
}

body.shrang-app-dir-rtl.shrang-drawer-open .shrang-mobile-drawer {
	transform: translateX(0);
}

/* ── Drawer inner layout ── */
.shrang-drawer-inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

/* ── Drawer header (user info + close) ── */
.shrang-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px;
	border-bottom: 1px solid var(--shrang-drawer-border);
}

.shrang-drawer-user-info {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.shrang-drawer-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--shrang-orange, #c9461a);
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}

.shrang-drawer-avatar--guest {
	background: rgba(255, 255, 255, 0.12);
	font-size: 16px;
}

.shrang-drawer-user-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.shrang-drawer-username {
	display: block;
	color: #ffffff;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.shrang-drawer-credits-label {
	display: block;
	color: rgba(255, 255, 255, 0.50);
	font-size: 12px;
	line-height: 1.3;
}

.shrang-drawer-close-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.10);
	color: rgba(255, 255, 255, 0.70);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.14s ease;
}

.shrang-drawer-close-btn:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

/* ── CTA row ── */
.shrang-drawer-cta-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 14px 10px;
	border-bottom: 1px solid var(--shrang-drawer-border);
}

.shrang-drawer-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	background: var(--shrang-orange, #c9461a);
	color: #ffffff !important;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	transition:
		filter    0.16s ease,
		transform 0.16s ease;
}

.shrang-drawer-cta:hover {
	filter: brightness(1.10);
	transform: translateY(-1px);
}

.shrang-drawer-secondary-link {
	display: block;
	text-align: center;
	color: rgba(255, 255, 255, 0.55) !important;
	font-size: 12px;
	text-decoration: none !important;
	padding: 4px 0 2px;
}

.shrang-drawer-secondary-link:hover {
	color: rgba(255, 255, 255, 0.80) !important;
	text-decoration: underline !important;
}

/* ── Sections ── */
.shrang-drawer-section {
	padding: 10px 0;
	border-bottom: 1px solid var(--shrang-drawer-border);
}

.shrang-drawer-section:last-child {
	border-bottom: none;
	padding-bottom: 20px;
}

.shrang-drawer-section-label {
	padding: 4px 16px 6px;
	color: var(--shrang-drawer-label-color);
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.10em;
}

/* ── Drawer nav links ── */
.shrang-drawer-nav-link {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 16px;
	color: var(--shrang-drawer-link-color) !important;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background 0.14s ease;
}

.shrang-drawer-nav-link:hover {
	background: var(--shrang-drawer-link-hover);
	color: #ffffff !important;
}

.shrang-drawer-nav-link.is-current {
	color: #ffffff !important;
	background: rgba(201, 70, 26, 0.28);
}

.shrang-drawer-nav-link.is-logout {
	color: rgba(235, 100, 90, 0.85) !important;
	margin-top: 4px;
	border-top: 1px solid var(--shrang-drawer-border);
	padding-top: 12px;
}

.shrang-drawer-nav-link.is-logout:hover {
	color: #eb6459 !important;
	background: rgba(235, 100, 90, 0.08);
}

/* ── Language chips ── */
.shrang-drawer-lang-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 4px 16px 6px;
}

.shrang-drawer-lang-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 13px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.65) !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none !important;
	transition:
		background    0.14s ease,
		border-color  0.14s ease,
		color         0.14s ease;
}

.shrang-drawer-lang-chip:hover {
	background: rgba(255, 255, 255, 0.13);
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.30);
}

.shrang-drawer-lang-chip.is-current {
	background: rgba(201, 70, 26, 0.50);
	border-color: var(--shrang-orange, #c9461a);
	color: #ffffff !important;
}

/* RTL chip text alignment */
.shrang-drawer-lang-chip[dir="rtl"] {
	font-family: var(--shrang-rtl-font, inherit);
}

/* RTL: drawer section layout */
body.shrang-app-dir-rtl .shrang-drawer-header,
body.shrang-app-dir-rtl .shrang-drawer-section,
body.shrang-app-dir-rtl .shrang-drawer-cta-row {
	direction: rtl;
}

body.shrang-app-dir-rtl .shrang-drawer-user-info {
	flex-direction: row-reverse;
}

/* ---------------------------------------------------------
   14. Mobile bar tweaks (small screens)
--------------------------------------------------------- */
@media (max-width: 600px) {
	.shrang-header-inner {
		min-height: var(--shrang-header-height-mob);
		padding-left: 10px;
		padding-right: 10px;
	}

	.shrang-text-logo { gap: 8px; }

	.shrang-text-logo::before {
		width: 25px;
		height: 25px;
		flex-basis: 25px;
		border-radius: 8px;
		font-size: 12px;
	}

	.shrang-logo-en {
		font-size: 19px;
		letter-spacing: -0.05em;
	}

	.shrang-header-right { gap: 5px; }

	.shrang-header-credits-pill {
		max-width: 86px;
		min-height: 32px;
		padding: 5px 8px;
		font-size: 10.5px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.shrang-header-language-toggle {
		min-height: 32px;
		padding: 5px 8px;
		font-size: 11px;
	}

	.shrang-header-language-menu {
		right: 0;
		min-width: 180px;
		max-height: 260px;
		overflow-y: auto;
	}

	body.shrang-app-dir-rtl .shrang-header-language-menu {
		right: auto;
		left: 0;
	}

	.shrang-mobile-menu-toggle {
		width: 36px;
		height: 36px;
		border-radius: 11px;
	}

	.shrang-mobile-menu-icon,
	.shrang-mobile-menu-icon::before,
	.shrang-mobile-menu-icon::after {
		width: 20px;
		height: 2.5px;
	}

	.shrang-mobile-menu-icon::before { top: -7px; }
	.shrang-mobile-menu-icon::after  { top:  7px; }
}

@media (max-width: 430px) {
	.shrang-header-inner {
		padding-left: 8px;
		padding-right: 8px;
		gap: 6px;
	}

	.shrang-logo-en {
		font-size: 18px;
	}

	.shrang-text-logo::before {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	.shrang-header-credits-pill {
		max-width: 74px;
		font-size: 10px;
	}

	.shrang-header-language-toggle {
		padding-left: 7px;
		padding-right: 7px;
	}

	.shrang-mobile-menu-toggle {
		width: 34px;
		height: 34px;
	}
}

@media (max-width: 360px) {
	.shrang-logo-en {
		font-size: 17px;
	}

	.shrang-text-logo::before {
		display: none; /* drop the ♫ icon on very small screens */
	}

	.shrang-header-credits-pill {
		max-width: 68px;
		padding-left: 6px;
		padding-right: 6px;
	}

	.shrang-header-language-toggle {
		min-width: 38px;
		padding-left: 6px;
		padding-right: 6px;
	}
}
