/* Mobile passage between the companion and book; desktop language controls stay intact. */
.gpd-mobile-book-shortcut,
.gpd-mobile-menu-languages { display: none; }
@media (max-width: 782px) {
	.gpd-site-header .gpd-mobile-book-shortcut { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: .3rem; min-height: 44px; box-sizing: border-box; padding: .5rem .8rem; border: 1px solid rgba(228,193,113,.5); border-radius: 999px; background: rgba(228,193,113,.1); color: var(--gpd-gold); font-size: .78rem; font-weight: 750; line-height: 1.2; white-space: nowrap; text-decoration: none; }
	.gpd-site-header .gpd-mobile-book-shortcut:hover { background: rgba(228,193,113,.2); }
	.gpd-site-header.has-gpd-mobile-menu-languages .gpd-architect-language-switcher { display: none; }
	.gpd-site-header .gpd-mobile-menu-languages { display: block; align-self: stretch; width: 100%; box-sizing: border-box; margin-top: 1.5rem; padding: 1.1rem; border: 1px solid rgba(228,193,113,.35); border-radius: 1rem; background: rgba(118,169,255,.055); }
	.gpd-site-header .gpd-mobile-menu-languages__label { margin: 0 0 .75rem; color: var(--gpd-gold); font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
	.gpd-site-header .gpd-mobile-menu-languages__options { display: flex; flex-wrap: wrap; gap: .6rem; }
	.gpd-site-header .gpd-mobile-menu-languages__options a { display: inline-flex; flex: 1 1 7rem; align-items: center; justify-content: center; min-height: 46px; padding: .45rem .85rem; box-sizing: border-box; border: 1px solid rgba(255,255,255,.28); border-radius: .65rem; color: var(--gpd-paper); font-size: 1rem; font-weight: 650; text-decoration: none; }
	.gpd-site-header .gpd-mobile-menu-languages__options a[aria-current="page"] { border-color: var(--gpd-gold); background: rgba(228,193,113,.13); color: var(--gpd-gold); }
	.gpd-site-header .gpd-mobile-menu-languages__options a:hover { background: rgba(118,169,255,.14); }
}
@media (max-width: 480px) {
	/* Let the full wordmark wrap beside the existing logo. The header already
	   has safe outer padding; removing its second inset gives the title room. */
	.gpd-site-header .gpd-site-header__inner { gap: .4rem; padding-inline: 0 !important; }
	.gpd-site-header .gpd-site-mark { min-width: 0; gap: .4rem; overflow: visible; }
	.gpd-site-header .gpd-site-mark .wp-block-site-title,
	.gpd-site-header .gpd-site-mark .gpd-header-brand-name { min-width: 0; margin: 0; overflow: visible; text-overflow: clip; white-space: normal; font-size: clamp(.78rem, 3.2vw, .85rem); line-height: 1.13; letter-spacing: -.015em; text-wrap: balance; }
	.gpd-site-header .wp-block-site-title a { display: flex; align-items: center; min-height: 44px; white-space: normal; }
	.gpd-site-header .wp-block-woocommerce-customer-account { flex: 0 0 auto; }
	.gpd-site-header .wc-block-customer-account__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
}
/* The native menu retains My Account; give the brand room on narrow phones. */
@media (max-width: 360px) {
 .gpd-site-header .wp-block-woocommerce-customer-account { display: none; }
}
