/* VG mega menu (V.Murugan Nov 17 2026) - see inc/vg-mega-menu.php */
:root {
	--vgm-ink: #1f184f;
	--vgm-text: #2b3150;
	--vgm-muted: #5d6680;
	--vgm-line: #e7ebf3;
	--vgm-blue: #2563c9;
	--vgm-blue-soft: #e9f1fd;
	--vgm-orange: #f47b20;
	--vgm-orange-dark: #dc6812;
	--vgm-radius: 16px;
}

/* the old scroll clone (jquery.main.js isFixedHeader) is not used by this header */
.header .middle-line-fixed { display: none !important; }

.header .middle-line { position: relative; z-index: 60; }
.vgm-bar { display: flex; align-items: center; gap: 18px; min-height: 84px; position: relative; }
.vgm-logo { flex: 0 0 auto; margin: 0 8px 0 0; }
.vgm-logo img { display: block; width: auto; max-height: 58px; }
.vgm-nav { flex: 1 1 auto; min-width: 0; }
.vgm-menu, .vgm-menu ul { list-style: none; margin: 0; padding: 0; }
.vgm-menu a { text-decoration: none; }
.vgm-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.vgm-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.vgm-actions .contact-links, .vgm-actions .header-search { margin: 0 !important; }
.vgm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 700; text-decoration: none !important; line-height: 1.2; transition: background .2s, transform .2s, box-shadow .2s; }
.vgm-btn--quote { background: var(--vgm-orange); color: #fff !important; padding: 13px 22px; font-size: 16px; box-shadow: 0 8px 18px -8px rgba(244, 123, 32, .7); white-space: nowrap; }
.vgm-btn--quote:hover, .vgm-btn--quote:focus-visible { background: var(--vgm-orange-dark); transform: translateY(-1px); }
.vgm-btn--quote svg { width: 18px; height: 18px; }
.vgm-btn--phone { border: 1.5px solid var(--vgm-ink); color: var(--vgm-ink) !important; padding: 12px 20px; font-size: 16px; }
.vgm-burger, .vgm-drawer-head, .vgm-drawer-foot, .vgm-backdrop { display: none; }
.vgm-bar a:focus-visible, .vgm-bar button:focus-visible { outline: 2px solid var(--vgm-blue); outline-offset: 2px; border-radius: 8px; }

/* ---------- desktop ---------- */
@media (min-width: 1200px) {
	.vgm-menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
	.vgm-l1 { position: static; display: flex; align-items: center; }
	.vgm-l1 > .vgm-link { display: flex; align-items: center; padding: 10px 6px 10px 12px; border-radius: 10px 0 0 10px; color: var(--vgm-ink); font-size: 15.5px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
	.vgm-l1:not(.vgm-has-kids) > .vgm-link { padding-right: 12px; border-radius: 10px; }
	.vgm-l1 > .vgm-toggle { display: inline-flex; align-items: center; height: 42px; padding: 0 8px 0 2px; margin: 0; border: 0; border-radius: 0 10px 10px 0; background: transparent; color: var(--vgm-ink); cursor: pointer; transition: background .15s; }
	.vgm-l1 > .vgm-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
	.vgm-l1.vgm-open > .vgm-link, .vgm-l1.vgm-open > .vgm-toggle,
	.vgm-l1 > .vgm-link:hover, .vgm-l1.vgm-current > .vgm-link { color: var(--vgm-blue); }
	.vgm-l1.vgm-open > .vgm-link, .vgm-l1.vgm-open > .vgm-toggle { background: var(--vgm-blue-soft); }
	.vgm-l1.vgm-open > .vgm-toggle svg { transform: rotate(180deg); }

	/* panel. Mega panels: the left column stays put; the right column only exists while an item WITH a
	   sub-menu is active (owner, Nov 17 2026), so the panel grows to the right instead of showing an empty half */
	.vgm-panel { position: absolute; top: calc(100% - 6px); left: calc(50% - 443px); transform: translateY(8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; z-index: 80; }
	.vgm-l1:not(.vgm-is-mega) { position: relative; }
	.vgm-l1:not(.vgm-is-mega) > .vgm-panel { left: 0; width: 340px; }
	.vgm-l1.vgm-open > .vgm-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: opacity .18s ease, transform .18s ease, visibility 0s; }
	.vgm-panel-in { position: relative; display: grid; grid-template-columns: 1fr; background: #fff; border: 1px solid var(--vgm-line); border-radius: var(--vgm-radius); box-shadow: 0 24px 60px -20px rgba(20, 30, 70, .35); padding: 26px 26px 22px; }
	/* caret pointing up at the menu item that opened the panel (x set by the script) */
	.vgm-panel-in::before { content: ""; position: absolute; top: -8px; left: var(--vgm-caret, 48px); width: 14px; height: 14px; margin-left: -7px; background: #fff; border: solid var(--vgm-line); border-width: 1px 0 0 1px; border-radius: 3px 0 0 0; transform: rotate(45deg); }
	.vgm-panel--mega .vgm-panel-in { width: 452px; }
	.vgm-panel--mega .vgm-panel-in:has(.vgm-l2.vgm-active > .vgm-sub) { width: 886px; }
	.vgm-panel--mega .vgm-col--l2 { width: 400px; }
	.vgm-panel--mega .vgm-panel-in:has(.vgm-l2.vgm-active > .vgm-sub) .vgm-col--l2 { border-right: 1px solid var(--vgm-line); padding-right: 22px; width: 434px; }
	.vgm-head { margin: 0 0 14px; padding-bottom: 12px; position: relative; color: var(--vgm-ink); font-size: 21px; font-weight: 800; line-height: 1.2; }
	.vgm-head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--vgm-orange); }
	.vgm-l2 { position: static; display: flex; align-items: center; border-bottom: 1px solid var(--vgm-line); border-radius: 10px; transition: background .12s; }
	.vgm-l2:last-child { border-bottom: 0; }
	.vgm-l2 > .vgm-link { flex: 1; padding: 11px 12px; color: var(--vgm-text); font-size: 15.5px; font-weight: 500; line-height: 1.3; }
	.vgm-l2 > .vgm-toggle { display: inline-flex; padding: 0 10px; border: 0; background: none; color: var(--vgm-muted); pointer-events: none; }
	.vgm-l2 > .vgm-toggle svg { transform: rotate(-90deg); }
	.vgm-l2.vgm-active { background: var(--vgm-blue-soft); box-shadow: inset 3px 0 0 var(--vgm-blue); border-bottom-color: transparent; }
	.vgm-l2:not(.vgm-active):hover { background: #f4f7fc; border-bottom-color: transparent; }
	.vgm-l2.vgm-active > .vgm-link, .vgm-l2 > .vgm-link:hover { color: var(--vgm-blue); }
	.vgm-l2.vgm-active > .vgm-toggle { color: var(--vgm-blue); }
	/* right column: the active item's sub-menu (scrolls if it is longer than the left column) */
	.vgm-sub { position: absolute; top: 26px; bottom: 22px; left: 494px; right: 26px; background: #fff; display: none; overflow-y: auto; }
	.vgm-l2.vgm-active > .vgm-sub { display: block; animation: vgmFade .15s ease; }
	@keyframes vgmFade { from { opacity: 0; } to { opacity: 1; } }
	/* sub-menu links: the hovered link becomes a soft blue tile with an arrow, so it is clear what will be opened */
	/* no arrow here: ">" means "has a sub-menu" in the left column, these are plain page links (owner, Nov 17 2026) */
	.vgm-l3 > .vgm-link { display: block; padding: 11px 12px; border-radius: 10px; color: var(--vgm-text); font-size: 15.5px; line-height: 1.35; transition: background .12s, color .12s; }
	.vgm-l3 > .vgm-link:hover, .vgm-l3 > .vgm-link:focus-visible { background: var(--vgm-blue-soft); color: var(--vgm-blue); }
	/* long sub-menus (11+ links, e.g. Travel Insurance By Destination): two columns instead of a scrollbar */
	.vgm-l3-list:has(> li:nth-child(11)) { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
	.vgm-l3-list:has(> li:nth-child(11)) > .vgm-l3 > .vgm-link { padding: 9px 10px; font-size: 14.5px; }
	/* CSS-only fallback while the script is not running yet (WP Rocket delays JS until the first interaction) */
	.vgm-menu:not(.vgm-js) .vgm-l1.vgm-has-kids:hover > .vgm-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
	.vgm-menu:not(.vgm-js) .vgm-l2.vgm-has-kids:hover > .vgm-sub { display: block; }
	.vgm-menu:not(.vgm-js) .vgm-panel--mega .vgm-panel-in:has(.vgm-l2.vgm-has-kids:hover) { width: 886px; }
	/* simple dropdown (no grandchildren) */
	.vgm-l1:not(.vgm-is-mega) .vgm-panel-in { padding: 20px; }
	.vgm-l1:not(.vgm-is-mega) .vgm-head { font-size: 18px; }
}

/* narrower laptops: a little tighter */
@media (min-width: 1200px) and (max-width: 1399px) {
	.vgm-l1 > .vgm-link { font-size: 15px; padding-left: 10px; }
	.vgm-btn--quote { padding: 12px 18px; font-size: 15px; }
}
@media (min-width: 1200px) { .vgm-bar .vgm-call-mob { display: none; } }

/* phone number in the dark top bar (moved from the menu bar, Nov 17 2026) */
/* shown as a button (owner, Nov 17 2026) */
.top-banner .top-phone { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 20px; padding: 4px 16px 4px 4px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background .2s, border-color .2s; }
.top-banner .top-phone svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #fff; color: #1f184f; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.top-banner .top-phone:hover, .top-banner .top-phone:focus-visible { background: rgba(255, 255, 255, .22); border-color: #fff; }
.top-banner .top-phone .top-phone-call { display: none; }
/* phones: the pill shows "Call" instead of the full number; the separate call icon in the menu bar is gone (owner, Nov 24 2026) */
@media (max-width: 575px) {
	/* phones: round call button only, with a soft pulse ring (owner, Nov 24 2026) */
	.top-banner .top-phone { position: relative; margin-left: 20px; /* room for the pulse ring next to Chat With Us */ padding: 0; gap: 0; border: 0; background: none; overflow: visible; }
	.top-banner .top-phone .top-phone-num, .top-banner .top-phone .top-phone-call { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.top-banner .top-phone svg { position: relative; z-index: 1; width: 32px; height: 32px; padding: 7px; }
	.top-banner .top-phone::before, .top-banner .top-phone::after { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: vgPhonePulse 2s ease-out infinite; }
	.top-banner .top-phone::after { animation-delay: 1s; }
}
@keyframes vgPhonePulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .top-banner .top-phone::before, .top-banner .top-phone::after { animation: none; opacity: 0; } }
.vgm-bar .vgm-call-mob { display: none !important; }

/* search icon in the bar */
.vgm-actions .header-search .search-opener { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--vgm-ink); font-size: 20px; }
.vgm-actions .header-search .search-opener:hover { background: var(--vgm-blue-soft); }
.vgm-call-mob { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1.5px solid var(--vgm-ink); border-radius: 50%; color: var(--vgm-ink); }

/* ---------- mobile / tablet ---------- */
@media (max-width: 1199px) {
	.vgm-bar { min-height: 70px; gap: 10px; }
	.vgm-logo img { max-height: 46px; }
	.vgm-nav { flex: 0 0 auto; }
	.vgm-actions { margin-left: auto; gap: 10px; }
	.vgm-quote-desk { display: none; }
	.vgm-actions .contact-links .text { display: none; }
	.vgm-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; order: 3; }
	.vgm-burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--vgm-ink); }
	/* drawer */
	.vgm-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 100001; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding: env(safe-area-inset-top, 0px) max(18px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) 18px; box-shadow: -20px 0 50px -20px rgba(20, 30, 70, .4); visibility: hidden; }
	body.vgm-drawer-open .vgm-nav { transform: translateX(0); visibility: visible; }
	.vgm-backdrop { position: fixed; inset: 0; background: rgba(15, 20, 45, .45); z-index: 100000; }
	body.vgm-drawer-open .vgm-backdrop { display: block; }
	body.vgm-drawer-open { overflow: hidden; }
	/* the drawer lives inside .middle-line (z-index 60): lift the whole line above the floating buttons,
	   the Google Translate widget and the sticky quote button while the drawer is open */
	body.vgm-drawer-open .header .middle-line { z-index: 2147483000; }
	body.vgm-drawer-open .vg-sqb, body.vgm-drawer-open #sticky-sidebar, body.vgm-drawer-open .chat-button,
	body.vgm-drawer-open .chat-widget, body.vgm-drawer-open #vgai-root { visibility: hidden; }
	.vgm-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 12px; border-bottom: 1px solid var(--vgm-line); margin-bottom: 8px; }
	.vgm-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--vgm-ink); cursor: pointer; }
	.vgm-close svg { width: 26px; height: 26px; }
	.vgm-menu { display: block; }
	.vgm-l1 { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--vgm-line); }
	.vgm-l1 > .vgm-link { flex: 1; padding: 14px 6px; color: var(--vgm-ink); font-size: 17px; font-weight: 700; }
	.vgm-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--vgm-ink); cursor: pointer; }
	.vgm-toggle svg { transition: transform .2s; }
	.vgm-open > .vgm-toggle svg { transform: rotate(180deg); }
	.vgm-l1.vgm-open > .vgm-link { color: var(--vgm-blue); }
	.vgm-l1.vgm-open { background: linear-gradient(var(--vgm-blue-soft), var(--vgm-blue-soft)) top / 100% 50px no-repeat; border-radius: 10px; }
	.vgm-panel, .vgm-sub { display: none; flex-basis: 100%; }
	.vgm-open > .vgm-panel, .vgm-open > .vgm-sub { display: block; }
	.vgm-panel .vgm-head, .vgm-aside { display: none; }
	.vgm-l2-list { padding: 4px 0 8px 14px; }
	.vgm-l2 { display: flex; flex-wrap: wrap; align-items: center; }
	.vgm-l2 > .vgm-link { flex: 1; padding: 9px 4px; color: var(--vgm-text); font-size: 15px; }
	.vgm-l2 > .vgm-chev { display: none; }
	.vgm-l2 > .vgm-toggle { width: 40px; height: 40px; color: var(--vgm-muted); }
	/* open level-2 group: one tinted card (heading row + its links) so it is clear where the group ends (owner, Nov 17 2026) */
	.vgm-l2.vgm-open { margin: 4px 0 6px; padding: 0 0 6px; border-radius: 12px; background: #f3f7fe; box-shadow: inset 0 0 0 1px #dbe6f8; }
	.vgm-l2.vgm-open > .vgm-link { padding-left: 12px; color: var(--vgm-blue); font-weight: 700; }
	.vgm-l2.vgm-open > .vgm-toggle { color: var(--vgm-blue); }
	.vgm-l3-list { margin: 0 10px 0 12px; padding: 2px 0 0; border-top: 1px solid #dbe6f8; }
	/* small shield-check icon instead of a bullet (owner, Nov 17 2026) */
	.vgm-l3 > .vgm-link { position: relative; display: block; padding: 9px 6px 9px 26px; color: var(--vgm-text); font-size: 14.5px; }
	.vgm-l3 > .vgm-link::before { content: ""; position: absolute; left: 2px; top: 11px; width: 16px; height: 16px; background: #6f9be0;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3zm-1.2 13.6-3.5-3.5 1.4-1.4 2.1 2.1 4.8-4.8 1.4 1.4-6.2 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
		        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3zm-1.2 13.6-3.5-3.5 1.4-1.4 2.1 2.1 4.8-4.8 1.4 1.4-6.2 6.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
	.vgm-l3 > .vgm-link:active::before, .vgm-l3.vgm-current > .vgm-link::before { background: var(--vgm-blue); }
	/* no theme focus box on tap; keyboard users still get the outline */
	.vgm-toggle:focus:not(:focus-visible) { outline: 0; box-shadow: none; border: 0; }
	.vgm-drawer-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 22px; }
	.vgm-drawer-foot .vgm-btn { width: 100%; }
	.vgm-l1.vgm-current > .vgm-link, .vgm-l2.vgm-current > .vgm-link, .vgm-l3.vgm-current > .vgm-link { color: var(--vgm-blue); }
}

/* sticky header after scrolling (JS adds .vgm-stuck to .middle-line, keeps its height with a placeholder) */
.header .middle-line.vgm-stuck { position: fixed; top: 0; left: 0; right: 0; max-width: none; background: #fff; box-shadow: 0 8px 24px -14px rgba(20, 30, 70, .45); animation: vgmDrop .25s ease; }
.header .middle-line.vgm-stuck .vgm-bar { max-width: 1140px; margin: 0 auto; padding: 0 15px; min-height: 68px; }
@keyframes vgmDrop { from { transform: translateY(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .vgm-panel, .vgm-nav, .vgm-btn, .vgm-toggle svg { transition: none !important; } .header .middle-line.vgm-stuck { animation: none; } }

/* ---------- phones: app-style bottom bar (inc/vg-mobile-bar.php, owner Nov 24 2026) ---------- */
.vg-appbar { display: none; }
@media (max-width: 767px) {
	.vg-appbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; align-items: center; gap: 12px;
		padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
		background: #1f184f; box-shadow: 0 -6px 20px -8px rgba(15, 20, 45, .45); }
	.vg-appbar__quote { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; /* left side, not full width (owner, Nov 24 2026) */
		background: #f47b20; color: #fff !important; font-size: 17px; font-weight: 700; text-decoration: none !important; }
	.vg-appbar__quote:active { background: #d9640f; }
	.vg-appbar__quote svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
	.vg-appbar__wa { flex: none; margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff !important; }
	.vg-appbar__wa svg { width: 28px; height: 28px; fill: currentColor; }
	.vg-appbar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
	/* the bar replaces the floating Get Quote + WhatsApp buttons on phones */
	body:has(.vg-appbar) .vg-sqb, body:has(.vg-appbar) .chat-widget { display: none !important; }
	/* keep the end of the page and the AI chat button above the bar */
	body:has(.vg-appbar) { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
	body:has(.vg-appbar) #vgai-root { --vgai-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
	/* menu drawer open: no bar */
	body.vgm-drawer-open .vg-appbar { display: none; }
}

/* small phones: keep the top bar on one line now that the phone pill says "Call" (Nov 24 2026) */
@media (max-width: 420px) {
	.top-banner.container { padding-left: 10px; padding-right: 10px; }
	.top-banner .top-whatsapp-image { white-space: nowrap; font-size: 13px; }
	.top-banner .top-whatsapp-image img { width: 22px; height: auto; margin-right: 4px; }
	.top-banner .top-phone { margin-left: 18px; }
	.top-banner .right-block-top-line { gap: 6px; }
	.top-banner .right-block-top-line > * { margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 359px) { .top-banner .mail-box { display: none !important; } }

/* desktop too: no black focus ring (theme button:focus) on the menu arrow after a mouse click; keyboard users
   still get the blue outline from :focus-visible (owner, Nov 25 2026) */
.vgm-bar .vgm-toggle:focus:not(:focus-visible), .vgm-bar .vgm-burger:focus:not(:focus-visible), .vgm-bar .vgm-close:focus:not(:focus-visible) { outline: 0 !important; box-shadow: none !important; border: 0 !important; }
/* phones: bottom app bar hidden while a quote form is on screen (class set in js/vg-mega-menu.js); before that JS runs
   (WP Rocket delays it) a page with a quote form hides it too, so it never flashes in and out (owner, Nov 25 2026) */
.vg-appbar { transition: transform .25s ease, visibility .25s; }
body:not(.vgab-io):has(form.main-form, form.vgq) .vg-appbar,
body.vgab-form .vg-appbar { transform: translateY(110%); visibility: hidden; pointer-events: none; transition: none; }
/* desktop too: floating "Get Quote" (.vg-sqb) and WhatsApp "Chat with us" (.chat-widget) hidden while a quote form
   is on screen, same classes as the app bar above (owner, Nov 25 2026) */
:is(.vg-sqb, .chat-widget) { transition: opacity .2s, visibility .2s; }
body:not(.vgab-io):has(form.main-form, form.vgq) :is(.vg-sqb, .chat-widget),
body.vgab-form :is(.vg-sqb, .chat-widget) { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: none !important; }
/* phones: no empty strip at the bottom of the page while the app bar is hidden (quote form on screen) - its 68px space
   is only kept while the bar is showing (owner, Nov 25 2026) */
@media (max-width: 767px) {
	body.vgab-form:has(.vg-appbar),
	body:not(.vgab-io):has(form.main-form, form.vgq):has(.vg-appbar) { padding-bottom: 0; }
}
