/**
 * Vibe Pass App Shell - header, navigation and footer chrome (Phase 21).
 *
 * Loaded only on Vibe Pass app pages (Dashboard, Register, Business
 * Dashboard, Register Your Business, Businesses), on top of tokens.css and
 * front.css, so it can rely on every design token already being available.
 *
 * @package VibePass\Core
 */

.vp-shell__skip-link {
	position: absolute;
	top: -48px;
	left: var(--vp-space-3);
	z-index: 1000;
	background: var(--vp-brand);
	color: var(--vp-brand-contrast);
	padding: var(--vp-space-2) var(--vp-space-4);
	border-radius: var(--vp-radius-sm);
	font-weight: var(--vp-weight-semibold);
	text-decoration: none;
	transition: top var(--vp-transition);
}

.vp-shell__skip-link:focus {
	top: var(--vp-space-3);
}

.vp-shell__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

/* A fixed --vp-ink navy masthead, like the dashboard sidebar - it frames
 * every public page (homepage, directory, business profile, offers) the
 * same way a magazine's masthead sits above the page, and does NOT switch
 * with Light/Dark Mode (see the --vp-ink token comment in tokens.css). */
.vp-shell__header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--vp-ink);
	border-bottom: 1px solid var(--vp-ink-border);
}

.vp-shell__header-inner {
	max-width: var(--vp-shell-width);
	margin: 0 auto;
	/* Phase 44 correction round: the project owner said the header got too
	 * tall once the logo image (and the new slogan line under it) started
	 * rendering by default - "হেডার এর হাইট কমাও" ("reduce the header
	 * height"). Tighter vertical padding here plus a smaller header-only
	 * logo (see .vp-shell__header .vp-shell__logo-img below) brings the
	 * header back down close to its old height even with the extra slogan
	 * line. */
	padding: var(--vp-space-2) var(--vp-space-5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vp-space-4);
	/* Phase 37: the dropdown nav panel (`.vp-shell__nav`, below) now has
	 * `flex-basis: 100%` at every screen width, not only under the old
	 * 860px breakpoint - "wrap" is what drops it onto its own row below the
	 * brand/icons instead of squeezing into the same row (see the same note
	 * that used to live only in the mobile media query, further down). */
	flex-wrap: wrap;
}

/* Phase 44: stacked (logo on top, slogan underneath) instead of a single
 * row, now that the brand mark can carry a slogan next to it
 * (Frontend_Shell::tagline_html(), Settings' brand_tagline_en/bn) - a
 * wordmark logo plus "A Loyalty Card" side by side ran too wide next to the
 * header icons on narrow phone screens. */
.vp-shell__brand {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	text-decoration: none;
	flex-shrink: 0;
}

.vp-shell__logo-text {
	font-family: var(--vp-font-serif);
	font-size: var(--vp-text-xl);
	font-weight: var(--vp-weight-semibold);
	color: var(--vp-ink-text);
	letter-spacing: 0.02em;
}

.vp-shell__logo-img {
	max-height: 40px;
	width: auto;
	display: block;
}

/* Phase 44 correction round: the shared 40px cap above is still right for
 * the footer (plenty of vertical room down there, nothing squeezed next
 * to it) but was too big for the sticky header - "লোগো আরো ছোট করো"
 * ("make the logo smaller"). Scoped to the header only, smaller than the
 * 40px header icon buttons next to it so the logo no longer dominates the
 * row. */
.vp-shell__header .vp-shell__logo-img {
	max-height: 26px;
}

/* The header slogan (Frontend_Shell::tagline_html()) - only rendered when
 * the admin has set at least one of brand_tagline_en/brand_tagline_bn, see
 * app-shell.php. Small and muted on purpose: a masthead subtitle under the
 * logo, not competing with it. */
.vp-shell__tagline {
	font-family: var(--vp-font);
	font-size: 11px;
	font-weight: var(--vp-weight-medium);
	color: var(--vp-ink-text-muted);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Phase 37: the project owner asked for every current header menu item to
 * live under the hamburger menu, on every screen size - not only on mobile,
 * as it was before. So the toggle button is now visible by default (used to
 * be `display: none` here, switched on only inside the old 860px media
 * query below), and `.vp-shell__nav`'s own collapsed-by-default/`.is-open`
 * rules (further down this file) moved out of that media query for the
 * same reason - see the comment there. */
.vp-shell__menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--vp-ink-border);
	border-radius: var(--vp-radius-sm);
	cursor: pointer;
	flex-shrink: 0;
}

.vp-shell__menu-icon,
.vp-shell__menu-icon::before,
.vp-shell__menu-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--vp-ink-text);
	border-radius: 2px;
	transition: transform var(--vp-transition), opacity var(--vp-transition);
}

.vp-shell__menu-icon {
	position: relative;
}

.vp-shell__menu-icon::before,
.vp-shell__menu-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.vp-shell__menu-icon::before {
	top: -6px;
}

.vp-shell__menu-icon::after {
	top: 6px;
}

.vp-shell__menu-toggle[aria-expanded="true"] .vp-shell__menu-icon {
	background: transparent;
}

.vp-shell__menu-toggle[aria-expanded="true"] .vp-shell__menu-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.vp-shell__menu-toggle[aria-expanded="true"] .vp-shell__menu-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Phase 37: collapsed behind the hamburger toggle by default, at every
 * screen width - this used to be the desktop rule (a visible expanded row
 * next to the logo) with a separate, narrower rule further down only
 * switching it to this collapsed form under 860px. The project owner asked
 * for every current menu item to live under the hamburger everywhere, so
 * this collapsed/`.is-open` pair is now the only rule; nothing left inside
 * the old 860px media query needs to touch it again. */
.vp-shell__nav {
	display: none;
	width: 100%;
	flex-basis: 100%;
	flex-direction: column;
	align-items: stretch;
	gap: var(--vp-space-4);
	padding-top: var(--vp-space-3);
	margin-top: var(--vp-space-3);
	border-top: 1px solid var(--vp-ink-border);
}

/* Phase 40.1 fix: once the dashboard section groups were folded into this
 * same panel (see the `.vp-shell__dashboard-nav` comment below), the open
 * menu could be taller than the screen. Left as an ordinary in-flow block it
 * had no scroll region of its own, so the only way to reach its lower items
 * was to scroll the whole page - which reads as "scrolling the menu also
 * scrolls the page behind it". Fixed here by turning the open menu into its
 * own full-height overlay panel, pinned below the header and scrollable
 * independently of the page behind it. `--vp-shell-nav-offset` is set by
 * shell.js (measured from the actual header height, since it varies with the
 * logo/branding) with a same-ballpark fallback in case JS hasn't run yet. */
.vp-shell__nav.is-open {
	display: flex;
	position: fixed;
	top: var(--vp-shell-nav-offset, 64px);
	left: 0;
	right: 0;
	bottom: 0;
	width: auto;
	flex-basis: auto;
	margin-top: 0;
	padding: var(--vp-space-4) var(--vp-space-5) var(--vp-space-6);
	background: var(--vp-ink);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	z-index: 140;
	box-sizing: border-box;
}

/* Belt-and-braces alongside `overscroll-behavior: contain` above: while the
 * overlay is open the page behind it should not scroll at all, including on
 * browsers where scroll-chaining containment is imperfect. shell.js toggles
 * this class on <body> exactly while `.vp-shell__nav.is-open` is present. */
body.vp-shell-nav-locked {
	overflow: hidden;
}

.vp-shell__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--vp-space-2);
}

/* Phase 37 correction: when the current page is the visitor's own Customer
 * or Business Dashboard, `Frontend_Shell::dashboard_nav_groups()` folds that
 * dashboard's own section list into this same hamburger panel, above the
 * ordinary site links below - the project owner's own explicit follow-up
 * request after testing the first Phase 37 build ("Account / Discover /
 * Savings & Rewards / Support / Business Setup / Transaction / Growth /
 * Account should be inside the hamburger"). The dashboard page's own
 * in-page sidebar (`Dashboard_Nav::render()`, front.css) keeps working
 * unchanged alongside this - this is simply a second, always-reachable way
 * to jump straight to a section without leaving the top of the page. */
.vp-shell__dashboard-nav {
	display: flex;
	flex-direction: column;
	gap: var(--vp-space-1);
	padding-bottom: var(--vp-space-3);
	margin-bottom: var(--vp-space-3);
	border-bottom: 1px solid var(--vp-ink-border);
}

.vp-shell__nav-group-label {
	padding: var(--vp-space-2) var(--vp-space-4) 4px;
	font-size: 11px;
	font-weight: var(--vp-weight-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vp-ink-accent);
	opacity: 0.85;
}

.vp-shell__nav-group:not(:first-child) .vp-shell__nav-group-label {
	margin-top: var(--vp-space-1);
}

.vp-shell__nav-group-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
}

.vp-shell__nav-link--dashboard {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vp-space-2);
}

.vp-shell__nav-link--dashboard.vp-shell__nav-link--active {
	background: var(--vp-ink-2);
	color: var(--vp-ink-text);
	font-weight: var(--vp-weight-semibold);
}

.vp-shell__nav-badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: var(--vp-radius-pill);
	background: var(--vp-danger);
	color: var(--vp-text-inverse);
	font-size: var(--vp-text-xs);
	font-weight: var(--vp-weight-semibold);
	line-height: 1;
}

/* The header/footer are the fixed --vp-ink navy from here down (see the
 * .vp-shell__header comment above) - their content uses the --vp-ink-*
 * tokens, not the theme-variant --vp-text/--vp-surface ones, because those
 * flip with Light/Dark Mode while this navy background never does. */
.vp-shell__nav-link {
	display: block;
	width: 100%;
	padding: var(--vp-space-3) var(--vp-space-4);
	border-radius: var(--vp-radius-sm);
	color: var(--vp-ink-text-muted);
	font-weight: var(--vp-weight-medium);
	text-decoration: none;
	transition: background var(--vp-transition), color var(--vp-transition);
	white-space: nowrap;
	box-sizing: border-box;
}

.vp-shell__nav-link:hover,
.vp-shell__nav-link:focus-visible {
	background: var(--vp-ink-2);
	color: var(--vp-ink-text);
}

.vp-shell__nav-link--primary {
	background: var(--vp-brand);
	color: var(--vp-brand-contrast);
}

.vp-shell__nav-link--primary:hover,
.vp-shell__nav-link--primary:focus-visible {
	background: var(--vp-brand-strong);
	color: var(--vp-brand-contrast);
}

.vp-shell__nav-logout .vp-auth-logout {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: var(--vp-space-3) var(--vp-space-4);
	border-radius: var(--vp-radius-sm);
	/* A fixed light red, not the theme-variant --vp-danger - that colour is
	 * a dark red in Light Mode (correct against a light card, unreadable
	 * against this permanently-dark navy header). */
	color: #ff9b9b;
	font-weight: var(--vp-weight-medium);
	text-decoration: none;
	white-space: nowrap;
}

.vp-shell__nav-logout .vp-auth-logout:hover,
.vp-shell__nav-logout .vp-auth-logout:focus-visible {
	background: rgba(185, 28, 28, 0.18);
}

/* Phase 37: three visually distinct groups instead of one long list - page
 * links, then Log out set apart as its own clearly separate action, then
 * Display mode / Language settings below a second divider - rather than
 * everything sharing one identical row style with nothing to signal where
 * one kind of item ends and the next begins. Used to be a mobile-only rule
 * (the desktop nav was a single expanded row with no room for dividers);
 * now the nav is always this same dropdown panel, so it always applies. */
.vp-shell__nav-logout {
	margin-top: var(--vp-space-2);
	padding-top: var(--vp-space-3);
	border-top: 1px solid var(--vp-ink-border);
}

.vp-shell__switchers {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: var(--vp-space-3);
	margin-top: var(--vp-space-3);
	padding-top: var(--vp-space-3);
	border-top: 1px solid var(--vp-ink-border);
}

.vp-shell__switcher-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--vp-space-1);
}

/* Phase 37: the nav is now always the full-width dropdown panel (never the
 * compact side-by-side desktop row this caption used to hide itself for),
 * so "Light / Dark / Auto" and "EN / BN" always get a visible caption
 * instead of relying only on the group's aria-label. */
.vp-shell__switcher-label {
	color: var(--vp-ink-text-muted);
	font-size: var(--vp-text-xs);
	font-weight: var(--vp-weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vp-shell__toggle {
	width: 100%;
	flex-shrink: 0;
	/* .vp-toggle's own base rule (tokens.css) assumes it sits on a normal
	 * page surface - only used here, inside the fixed-navy header, so it is
	 * re-skinned for the --vp-ink-* palette instead of --vp-surface-3/
	 * --vp-text-muted. */
	background: var(--vp-ink-2);
	border-color: var(--vp-ink-border);
}

.vp-shell__toggle button {
	color: var(--vp-ink-text-muted);
	/* Otherwise the full-width pill just leaves its buttons bunched at the
	 * left with empty space to the right - stretch each option evenly
	 * across the row instead, still with the same segmented-control look. */
	flex: 1;
	text-align: center;
}

.vp-shell__toggle button[aria-pressed="true"] {
	background: var(--vp-ink);
	color: var(--vp-ink-text);
	box-shadow: none;
}

/* -------------------------------------------------------------------------
 * Header icons: search + account/login + hamburger (Phase 37)
 * ---------------------------------------------------------------------- */

.vp-shell__icons {
	display: flex;
	align-items: center;
	gap: var(--vp-space-2);
	flex-shrink: 0;
	margin-left: auto;
}

.vp-shell__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--vp-ink-border);
	border-radius: var(--vp-radius-sm);
	color: var(--vp-ink-text);
	cursor: pointer;
	transition: background var(--vp-transition), border-color var(--vp-transition);
	text-decoration: none;
}

.vp-shell__icon-btn:hover,
.vp-shell__icon-btn:focus-visible {
	background: var(--vp-ink-2);
}

.vp-shell__icon-btn svg {
	width: 20px;
	height: 20px;
}

/* Phase 37 second correction: the notification bell's unread badge, next to
 * the search icon - the project owner's own explicit request. Positioned
 * over the icon button's own corner, the same small red pill the dashboard
 * nav badges (`.vp-shell__nav-badge`/`.vp-dashboard__nav-badge`) already use
 * elsewhere, just anchored absolutely here since this button has no room
 * for it inline. */
.vp-shell__icon-btn--notifications {
	position: relative;
}

.vp-shell__icon-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: var(--vp-radius-pill);
	background: var(--vp-danger);
	color: var(--vp-text-inverse);
	font-size: 10px;
	font-weight: var(--vp-weight-semibold);
	line-height: 1;
	border: 2px solid var(--vp-ink);
}

.vp-shell__account {
	position: relative;
}

.vp-shell__account-dropdown {
	position: absolute;
	top: calc(100% + var(--vp-space-2));
	right: 0;
	z-index: 110;
	min-width: 180px;
	display: flex;
	flex-direction: column;
	background: var(--vp-surface);
	border: 1px solid var(--vp-border);
	border-radius: var(--vp-radius);
	box-shadow: var(--vp-shadow-lg, 0 12px 28px rgba(0, 0, 0, 0.25));
	overflow: hidden;
	padding: var(--vp-space-2);
	gap: 2px;
}

.vp-shell__account-dropdown[hidden] {
	display: none;
}

.vp-shell__account-dropdown a {
	display: block;
	padding: var(--vp-space-2) var(--vp-space-3);
	border-radius: var(--vp-radius-sm);
	color: var(--vp-text);
	text-decoration: none;
	font-weight: var(--vp-weight-medium);
	white-space: nowrap;
}

.vp-shell__account-dropdown a:hover,
.vp-shell__account-dropdown a:focus-visible {
	background: var(--vp-surface-2);
}

/* -------------------------------------------------------------------------
 * Global search modal (Phase 37 - Offer\Homepage::render_search_bar(),
 * opened from the header search icon on every Vibe Pass page)
 * ---------------------------------------------------------------------- */

.vp-search-modal[hidden] {
	display: none;
}

.vp-search-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: var(--vp-space-6) var(--vp-space-4);
	overflow-y: auto;
}

.vp-search-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(10, 16, 28, 0.6);
}

.vp-search-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	background: var(--vp-surface);
	border-radius: var(--vp-radius-lg);
	box-shadow: var(--vp-shadow-lg, 0 20px 48px rgba(0, 0, 0, 0.35));
	padding: var(--vp-space-6) var(--vp-space-5) var(--vp-space-5);
}

.vp-search-modal__close {
	position: absolute;
	top: var(--vp-space-3);
	right: var(--vp-space-3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--vp-border);
	border-radius: var(--vp-radius-sm);
	color: var(--vp-text-subtle);
	cursor: pointer;
}

.vp-search-modal__close:hover,
.vp-search-modal__close:focus-visible {
	background: var(--vp-surface-2);
	color: var(--vp-text);
}

.vp-search-modal__close svg {
	width: 18px;
	height: 18px;
}

.vp-search-modal .vp-home-search {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
 * Main content area
 * ---------------------------------------------------------------------- */

.vp-shell__main {
	min-height: 50vh;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

/* Fixed --vp-ink navy, like the header - a dark "colophon" band framing
 * the cream page content from below the same way the masthead frames it
 * from above. */
.vp-shell__footer {
	margin-top: var(--vp-space-7);
	border-top: 1px solid var(--vp-ink-border);
	background: var(--vp-ink);
}

.vp-shell__footer-inner {
	max-width: var(--vp-shell-width);
	margin: 0 auto;
	padding: var(--vp-space-6) var(--vp-space-5);
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--vp-space-5);
}

.vp-shell__footer-brand {
	max-width: 320px;
}

.vp-shell__footer-tagline {
	margin: var(--vp-space-2) 0 0;
	color: var(--vp-ink-text-muted);
	font-size: var(--vp-text-sm);
}

.vp-shell__footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vp-space-4);
}

.vp-shell__footer-links a {
	color: var(--vp-ink-text-muted);
	text-decoration: none;
	font-size: var(--vp-text-sm);
}

.vp-shell__footer-links a:hover,
.vp-shell__footer-links a:focus-visible {
	color: var(--vp-ink-accent);
	text-decoration: underline;
}

/* Phase 45: footer "Support & Contact" icon row - the project owner's own
 * request. A small labelled row of icon buttons, one per channel the
 * administrator has actually filled in under Settings > Brand and money
 * (Frontend_Shell::support_links()) - WhatsApp, a call number, Messenger,
 * email, Facebook, TikTok. Sits between the footer nav links and the
 * copyright line; hidden entirely (the template never prints the wrapper)
 * when no channel is configured. */
.vp-shell__footer-support {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--vp-space-2);
}

.vp-shell__footer-support-title {
	color: var(--vp-ink-text-muted);
	font-size: var(--vp-text-xs);
	font-weight: var(--vp-weight-semibold);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vp-shell__footer-support-icons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vp-space-2);
}

.vp-shell__footer-support-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--vp-ink-border);
	border-radius: var(--vp-radius-pill);
	color: var(--vp-ink-text-muted);
	transition: background var(--vp-transition), border-color var(--vp-transition), color var(--vp-transition);
	text-decoration: none;
}

.vp-shell__footer-support-icon:hover,
.vp-shell__footer-support-icon:focus-visible {
	background: var(--vp-ink-2);
	border-color: var(--vp-ink-accent);
	color: var(--vp-ink-accent);
}

.vp-shell__footer-support-icon svg {
	width: 16px;
	height: 16px;
}

/* Correction round after Phase 45: the small-print legal links row
 * (Terms & Conditions · Privacy Policy · Refund Policy -
 * Frontend_Shell::legal_links()) - sits full-width just above the
 * copyright line, same footer-navy colours as .vp-shell__footer-links. */
.vp-shell__footer-legal {
	width: 100%;
	margin-top: var(--vp-space-2);
	font-size: var(--vp-text-xs);
}

.vp-shell__footer-legal a {
	color: var(--vp-ink-text-muted);
	text-decoration: none;
}

.vp-shell__footer-legal a:hover,
.vp-shell__footer-legal a:focus-visible {
	color: var(--vp-ink-accent);
	text-decoration: underline;
}

.vp-shell__footer-legal-sep {
	margin: 0 var(--vp-space-2);
	color: var(--vp-ink-border);
}

.vp-shell__footer-copyright {
	width: 100%;
	margin: 0;
	padding-top: var(--vp-space-4);
	border-top: 1px solid var(--vp-ink-border);
	color: var(--vp-ink-text-muted);
	font-size: var(--vp-text-xs);
}

/* "Developed by Riyadul Pias" (Frontend_Shell::developer_credit_html()) -
 * the project owner's own explicit request, next to the copyright line. */
.vp-shell__footer-credit {
	display: inline-block;
	margin-left: var(--vp-space-2);
	padding-left: var(--vp-space-2);
	border-left: 1px solid var(--vp-ink-border);
}

.vp-shell__footer-credit a {
	color: var(--vp-ink-text-muted);
	text-decoration: underline;
}

.vp-shell__footer-credit a:hover,
.vp-shell__footer-credit a:focus-visible {
	color: var(--vp-ink-accent);
}

/* -------------------------------------------------------------------------
 * Small screens
 * ---------------------------------------------------------------------- */

/* Phase 37: the hamburger-collapsed nav (and the icon-button styling next
 * to it) is now the SAME at every screen width - see the comments on
 * `.vp-shell__menu-toggle`/`.vp-shell__nav`/`.vp-shell__icon-btn` above, so
 * nothing nav-related is left to switch on here any more. Only the footer's
 * own two-column-to-stacked layout, and slightly smaller icon buttons/
 * search modal padding on a narrow phone, are still screen-size-specific. */
@media (max-width: 860px) {
	.vp-shell__footer-inner {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.vp-shell__icon-btn {
		width: 36px;
		height: 36px;
	}

	.vp-search-modal {
		padding: var(--vp-space-4) var(--vp-space-3);
	}

	.vp-search-modal__panel {
		padding: var(--vp-space-5) var(--vp-space-4) var(--vp-space-4);
	}
}
