/* ==========================================================================
   Sound Creations Rwanda - UI layer (1.9.0)
   1. Mobile slide-out menu: polished drawer with accordion sub-menus
      (fixes "About" sub-items rendering one letter per line).
   2. WhatsApp chat card + mobile tab bar, ported from soundcreationsltd.com
      (v0.11.x) so both sites match, with Rwanda polish on top.
   3. Mobile header: logo, theme switch and menu button, like the .com site.
   Loaded after the child style.css so it wins without extra !important noise.
   ========================================================================== */

:root {
	--scrw-purple: #624489;
	--scrw-purple-2: #8a6bb5;
	--scrw-red: #BA0B0B;
	--scrw-wa: #25D366;
	--scrw-wa-dark: #128C7E;
	--scrw-dock-h: 64px;
}

/* Old parent widgets: never show (footer.php override no longer prints them). */
.sc-wa-float,
.sc-mobabar { display: none !important; }

/* ---------------------------------------------------------------------------
   1. Mobile drawer
   --------------------------------------------------------------------------- */
@media (max-width: 782px) {
	.sc-nav {
		width: min(92vw, 420px) !important;
		background:
			radial-gradient(120% 60% at 100% 0%, rgba(98, 68, 137, .22), transparent 60%),
			var(--sc-surface) !important;
		border-left: 1px solid rgba(255, 255, 255, .06) !important;
		border-radius: 22px 0 0 22px;
		padding-bottom: calc(var(--scrw-dock-h) + 1.5rem + env(safe-area-inset-bottom, 0px)) !important;
		overscroll-behavior: contain;
	}
	.sc-nav__head {
		padding: 1rem 1.25rem !important;
		background: transparent !important;
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
	}
	.sc-nav__title {
		font-size: .72rem !important;
		letter-spacing: .18em !important;
		text-transform: uppercase;
		color: var(--sc-muted);
	}
	.sc-nav__close {
		width: 40px !important;
		height: 40px !important;
		border-radius: 999px !important;
		background: rgba(255, 255, 255, .06) !important;
		border-color: rgba(255, 255, 255, .1) !important;
		font-size: 1.35rem !important;
	}

	/* The list: card-like rows instead of hard dividers. */
	.sc-nav .sc-nav__list {
		display: flex !important;
		flex-direction: column !important;
		gap: 4px !important;
		padding: .85rem .85rem .25rem !important;
	}
	.sc-nav .sc-nav__list > li {
		position: relative;
		border: 0 !important;
		border-radius: 14px;
		transition: background-color .2s ease;
	}
	.sc-nav .sc-nav__list > li > a {
		display: flex !important;
		align-items: center;
		min-height: 52px;
		padding: .85rem 3.4rem .85rem 1rem !important;
		border-radius: 14px;
		font-size: 1.05rem !important;
		font-weight: 600 !important;
		color: var(--sc-text) !important;
		box-shadow: none !important;
		background: transparent;
	}
	.sc-nav .sc-nav__list > li > a:hover,
	.sc-nav .sc-nav__list > li > a:focus-visible { background: rgba(255, 255, 255, .05) !important; color: var(--sc-text) !important; }
	/* Hide the CSS chevron on the link itself; the accordion button carries it. */
	.sc-nav .sc-nav__list .menu-item-has-children > a::after { display: none !important; }

	/* Current page: soft brand pill instead of a red stripe. */
	.sc-nav .sc-nav__list > li.current-menu-item > a,
	.sc-nav .sc-nav__list > li.current_page_item > a,
	.sc-nav .sc-nav__list > li.current-menu-ancestor > a,
	.sc-nav .sc-nav__list > li.current-menu-parent > a {
		background: linear-gradient(90deg, rgba(186, 11, 11, .16), rgba(186, 11, 11, .04)) !important;
		color: #fff !important;
	}
	.sc-nav .sc-nav__list > li.current-menu-item > a::before,
	.sc-nav .sc-nav__list > li.current-menu-ancestor > a::before {
		content: "" !important; display: block !important;
		position: absolute; left: 0; top: 14px; bottom: 14px; right: auto !important;
		width: 3px; height: auto; border-radius: 3px;
		background: var(--scrw-red); transform: none !important;
	}

	/* YAMAHA: branded pill row. */
	.sc-nav .sc-nav__list > li.scrw-nav-brand--yamaha > a {
		letter-spacing: .08em !important;
		background: linear-gradient(90deg, rgba(98, 68, 137, .32), rgba(98, 68, 137, .08)) !important;
		box-shadow: inset 0 0 0 1px rgba(138, 107, 181, .35) !important;
	}
	.sc-nav .sc-nav__list > li.scrw-nav-brand--yamaha > a::before { display: none !important; }
	.sc-nav .sc-nav__list > li.scrw-nav-brand--yamaha > a::after {
		content: "Authorised" !important; display: inline-block !important;
		position: static !important; width: auto !important; height: auto !important; border: 0 !important;
		margin-left: auto; padding: .25rem .55rem; border-radius: 999px;
		font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
		color: #d9c9f2; background: rgba(138, 107, 181, .25); transform: none !important; box-shadow: none !important; opacity: 1;
	}

	/* Accordion toggle (injected by scrw-ui.js). */
	.scrw-subtoggle {
		position: absolute; top: 6px; right: 6px;
		width: 40px; height: 40px;
		display: inline-grid; place-items: center;
		border: 0; border-radius: 12px;
		background: rgba(255, 255, 255, .06);
		color: var(--sc-text); cursor: pointer;
		transition: background-color .2s ease, transform .25s ease;
	}
	.scrw-subtoggle:hover { background: rgba(255, 255, 255, .12); }
	.scrw-subtoggle svg { width: 16px; height: 16px; transition: transform .25s ease; }
	li.is-sub-open > .scrw-subtoggle { background: var(--scrw-red); color: #fff; }
	li.is-sub-open > .scrw-subtoggle svg { transform: rotate(180deg); }
	li.is-sub-open { background: rgba(255, 255, 255, .035); }

	/* THE FIX: the parent's ".sc-nav ul { display:flex }" was laying sub-menu
	   items side by side, squeezing "About Sound Creations Rwanda" into a
	   one-letter-wide column. Sub-menus are now a vertical stack. */
	.sc-nav .sc-nav__list .sub-menu,
	.sc-header .sc-nav .sc-nav__list > li.scrw-nav-mega > .sub-menu {
		position: static !important;
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 2px !important;
		width: auto !important; min-width: 0 !important; max-width: none !important;
		margin: 0 !important;
		padding: 0 .5rem .6rem 1rem !important;
		background: transparent !important;
		border: 0 !important; box-shadow: none !important;
		opacity: 1 !important; visibility: visible !important; transform: none !important;
		grid-template-columns: none !important;
	}
	.sc-nav .sc-nav__list .sub-menu::before { display: none !important; }
	.sc-nav .sc-nav__list .sub-menu li {
		display: block !important; width: 100% !important;
		margin: 0 !important; border: 0 !important;
		writing-mode: horizontal-tb;
	}
	.sc-nav .sc-nav__list .sub-menu a {
		display: flex !important; align-items: center; gap: .65rem;
		width: 100%; min-height: 44px;
		padding: .65rem .85rem !important;
		border-radius: 10px;
		font-size: .95rem !important; font-weight: 500 !important;
		line-height: 1.35;
		white-space: normal !important; word-break: normal; overflow-wrap: anywhere;
		color: var(--sc-text) !important; opacity: .82;
		box-shadow: none !important; background: transparent !important;
		transform: none !important;
	}
	.sc-nav .sc-nav__list .sub-menu a::before {
		content: "" !important; position: static !important; display: block !important;
		flex: 0 0 6px; width: 6px !important; height: 6px !important;
		border-radius: 50%; background: rgba(255, 255, 255, .25) !important;
		transform: none !important;
	}
	.sc-nav .sc-nav__list .sub-menu a:hover,
	.sc-nav .sc-nav__list .sub-menu a:focus-visible { opacity: 1; background: rgba(255, 255, 255, .05) !important; }
	.sc-nav .sc-nav__list .sub-menu .current-menu-item > a { opacity: 1; color: #fff !important; background: rgba(186, 11, 11, .14) !important; }
	.sc-nav .sc-nav__list .sub-menu .current-menu-item > a::before { background: var(--scrw-red) !important; }
	.sc-nav .sc-nav__list .sub-menu .scrw-sub__t { display: inline; font-size: inherit; font-weight: inherit; color: inherit; }
	.sc-nav .sc-nav__list .sub-menu .scrw-sub__d { display: none !important; }

	/* Drawer CTA + contact block. */
	.sc-nav__cta {
		margin: 1rem .85rem .25rem !important;
		min-height: 52px; border-radius: 14px !important;
		box-shadow: 0 10px 24px rgba(186, 11, 11, .35);
	}
	.sc-nav__foot {
		margin: 1rem .85rem 0 !important;
		padding: 1rem 1rem .9rem !important;
		border-radius: 16px;
		background: rgba(255, 255, 255, .04);
		border: 1px solid rgba(255, 255, 255, .07);
	}

	/* Header burger: hidden on phones because the dock has a Menu button. */
	.sc-header .sc-menu-toggle { display: none !important; }

	/* Drawer entrance: rows fade in. */
	body.sc-nav-open .sc-nav .sc-nav__list > li { animation: scrw-row-in .35s ease both; }
	body.sc-nav-open .sc-nav .sc-nav__list > li:nth-child(2) { animation-delay: .03s; }
	body.sc-nav-open .sc-nav .sc-nav__list > li:nth-child(3) { animation-delay: .06s; }
	body.sc-nav-open .sc-nav .sc-nav__list > li:nth-child(4) { animation-delay: .09s; }
	body.sc-nav-open .sc-nav .sc-nav__list > li:nth-child(5) { animation-delay: .12s; }
	body.sc-nav-open .sc-nav .sc-nav__list > li:nth-child(6) { animation-delay: .15s; }
	body.sc-nav-open .sc-nav .sc-nav__list > li:nth-child(7) { animation-delay: .18s; }
	body.sc-nav-open .sc-nav .sc-nav__list > li:nth-child(n+8) { animation-delay: .21s; }
}
@keyframes scrw-row-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Light theme drawer. */
@media (max-width: 782px) {
	[data-theme="light"] .sc-nav { background: radial-gradient(120% 60% at 100% 0%, rgba(98, 68, 137, .1), transparent 60%), #fff !important; }
	[data-theme="light"] .sc-nav .sc-nav__list > li > a:hover,
	[data-theme="light"] .sc-nav .sc-nav__list .sub-menu a:hover { background: rgba(20, 20, 30, .05) !important; }
	[data-theme="light"] .scrw-subtoggle,
	[data-theme="light"] .sc-nav__close { background: rgba(20, 20, 30, .06) !important; }
	[data-theme="light"] li.is-sub-open { background: rgba(20, 20, 30, .03); }
	[data-theme="light"] .sc-nav .sc-nav__list .sub-menu a::before { background: rgba(20, 20, 30, .25) !important; }
	[data-theme="light"] .sc-nav .sc-nav__list > li.current-menu-item > a,
	[data-theme="light"] .sc-nav .sc-nav__list > li.current-menu-ancestor > a,
	[data-theme="light"] .sc-nav .sc-nav__list .sub-menu .current-menu-item > a { color: #1b1b22 !important; }
	[data-theme="light"] .sc-nav .sc-nav__list > li.scrw-nav-brand--yamaha > a::after { color: var(--scrw-purple); background: rgba(98, 68, 137, .12); }
	[data-theme="light"] .sc-nav__foot { background: rgba(20, 20, 30, .03); border-color: rgba(20, 20, 30, .08); }
}

/* ---------------------------------------------------------------------------
   2. WhatsApp chat + mobile tab bar (ported from soundcreationsltd.com)
   --------------------------------------------------------------------------- */
/* ============================================================
   WhatsApp chat card (v0.10.21)
   Branded chat card replacing the plain floating link. Colours use
   the theme tokens so it follows dark and light mode. WhatsApp green
   is the deeper #0B7A5C for readable white text (5.3:1).
   ============================================================ */
.sc-wa { position: fixed; right: 20px; bottom: 20px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--sc-font-body, inherit); }
.sc-wa__fab { display: inline-flex; align-items: center; gap: .55rem; background: #0B7A5C; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.28); text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1; border: 0; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.sc-wa__fab:hover, .sc-wa__fab:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.34); color: #fff; }
.sc-wa__fab-icon svg { width: 26px; height: 26px; display: block; }
.sc-wa__fab-label { white-space: nowrap; }
.sc-wa.is-open .sc-wa__fab { box-shadow: 0 0 0 3px rgba(11,122,92,.35), 0 8px 24px rgba(0,0,0,.28); }

.sc-wa__teaser { position: relative; max-width: 280px; background: var(--sc-surface, #131318); color: var(--sc-text, #F5F5F7); border: 1px solid var(--sc-border, rgba(255,255,255,.12)); border-radius: 14px; padding: 14px 34px 14px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.35); font-size: .88rem; line-height: 1.45; cursor: pointer; }
.sc-wa__teaser p { margin: 0; }
.sc-wa__teaser-close { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--sc-muted, #A0A0AC); font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; }

.sc-wa__panel { width: 360px; max-width: calc(100vw - 32px); background: var(--sc-surface, #131318); color: var(--sc-text, #F5F5F7); border: 1px solid var(--sc-border, rgba(255,255,255,.12)); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.sc-wa__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: #0B7A5C; color: #fff; }
.sc-wa__avatar { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #0B0B0F; display: grid; place-items: center; overflow: visible; }
.sc-wa__avatar img { width: 34px; height: auto; object-fit: contain; }
.sc-wa__presence { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #9aa3ad; border: 2px solid #0B7A5C; }
.sc-wa.is-online .sc-wa__presence { background: #4ADE80; }
.sc-wa__who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sc-wa__who strong { font-size: 1rem; line-height: 1.2; }
.sc-wa__status { font-size: .78rem; opacity: .92; line-height: 1.3; }
.sc-wa__close { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sc-wa__close svg { width: 18px; height: 18px; }
.sc-wa__close:hover, .sc-wa__close:focus-visible { background: rgba(255,255,255,.26); }

.sc-wa__body { padding: 16px; max-height: 46vh; overflow-y: auto; background: var(--sc-bg, #0B0B0F); }
.sc-wa__bubble { position: relative; background: var(--sc-surface, #131318); border: 1px solid var(--sc-border, rgba(255,255,255,.12)); border-radius: 4px 14px 14px 14px; padding: 12px 14px 18px; font-size: .9rem; line-height: 1.5; }
.sc-wa__bubble p { margin: 0 0 .4rem; }
.sc-wa__bubble p:last-of-type { margin-bottom: 0; }
.sc-wa__time { position: absolute; right: 10px; bottom: 5px; font-size: .68rem; color: var(--sc-muted, #A0A0AC); }
.sc-wa__label { margin: 14px 0 8px; font-size: .78rem; color: var(--sc-muted, #A0A0AC); }
.sc-wa__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-wa__chip { border: 1px solid #0B7A5C; background: transparent; color: var(--sc-text, #F5F5F7); border-radius: 999px; padding: 7px 12px; font-size: .8rem; line-height: 1.2; cursor: pointer; text-align: left; transition: background .15s ease, color .15s ease; }
.sc-wa__chip:hover, .sc-wa__chip:focus-visible, .sc-wa__chip.is-picked { background: #0B7A5C; color: #fff; }

.sc-wa__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--sc-border, rgba(255,255,255,.12)); background: var(--sc-surface, #131318); }
.sc-wa__form textarea { flex: 1; resize: none; min-height: 40px; max-height: 120px; padding: 10px 12px; border-radius: 20px; border: 1px solid var(--sc-border, rgba(255,255,255,.18)); background: var(--sc-bg, #0B0B0F); color: var(--sc-text, #F5F5F7); font: inherit; font-size: .9rem; line-height: 1.35; }
.sc-wa__form textarea:focus { outline: 2px solid #0B7A5C; outline-offset: 1px; }
.sc-wa__send { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #0B7A5C; color: #fff; display: grid; place-items: center; cursor: pointer; }
.sc-wa__send svg { width: 20px; height: 20px; }
.sc-wa__send:hover, .sc-wa__send:focus-visible { background: #096a50; }
.sc-wa__scrim { display: none; }
.sc-wa__note { margin: 0; padding: 0 14px 12px; font-size: .72rem; color: var(--sc-muted, #A0A0AC); background: var(--sc-surface, #131318); }

[data-theme="light"] .sc-wa__chip { color: #14141A; }

@media (prefers-reduced-motion: reduce) {
	.sc-wa__fab, .sc-wa__chip { transition: none; }
}


/* ============================================================
   Mobile bottom navigation + floating WhatsApp (v0.11.0)
   Replaces the three-button quick-action bar. Phones and small
   tablets get an app-style tab bar with big icons and labels:
   Home (always far left), Solutions, Get a Quote (raised, centre),
   Call, Menu. The current page is marked with a red bar and bold
   label. WhatsApp is a round floating button on the right, above
   the tab bar, and its chat card opens as a bottom sheet.
   ============================================================ */
.sc-tabbar { display: none; }
@media (max-width: 782px) {
	:root { --sc-tabbar-h: 66px; --sc-tabbar-safe: env(safe-area-inset-bottom, 0px); }
	body { padding-bottom: calc(var(--sc-tabbar-h) + var(--sc-tabbar-safe)); }

	.sc-tabbar {
		display: flex; align-items: stretch; justify-content: space-around;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
		height: calc(var(--sc-tabbar-h) + var(--sc-tabbar-safe));
		padding: 0 .35rem var(--sc-tabbar-safe);
		background: var(--sc-header-bg, var(--sc-surface));
		-webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
		border-top: 1px solid var(--sc-border);
		box-shadow: 0 -8px 26px rgba(0,0,0,.2);
	}
	.sc-tabbar__item {
		position: relative; flex: 1 1 0; min-width: 0;
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
		padding: 6px 2px 4px; margin: 0; background: none; border: 0; border-radius: 0;
		color: var(--sc-muted); font-family: var(--sc-font-body); font-size: .72rem; font-weight: 600;
		letter-spacing: .01em; line-height: 1; text-decoration: none; white-space: nowrap;
		cursor: pointer; -webkit-tap-highlight-color: transparent;
		transition: color .16s ease;
	}
	.sc-tabbar__icon { width: 26px; height: 26px; display: grid; place-items: center; transition: transform .16s ease, background-color .16s ease; }
	.sc-tabbar__icon svg { width: 25px; height: 25px; display: block; }
	.sc-tabbar__label { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
	.sc-tabbar__item:hover, .sc-tabbar__item:focus-visible { color: var(--sc-text); }
	.sc-tabbar__item:focus-visible { outline: 2px solid var(--sc-red); outline-offset: -3px; border-radius: 12px; }
	.sc-tabbar__item:active .sc-tabbar__icon { transform: scale(.92); }

	/* Current page: red bar on top, bold readable label. */
	.sc-tabbar__item.is-current { color: var(--sc-text); font-weight: 700; }
	.sc-tabbar__item.is-current::before { content: ""; position: absolute; top: 0; left: 50%; width: 30px; height: 3px; border-radius: 0 0 3px 3px; background: var(--sc-red); transform: translateX(-50%); }
	.sc-tabbar__item.is-current .sc-tabbar__icon { color: var(--sc-red-text, var(--sc-red)); }
	[data-theme="dark"] .sc-tabbar__item.is-current .sc-tabbar__icon { color: #FF5A5F; }

	/* Get a Quote: raised round red button in the middle. */
	.sc-tabbar__item--cta { color: var(--sc-text); font-weight: 700; }
	.sc-tabbar__item--cta .sc-tabbar__icon {
		width: 54px; height: 54px; margin-top: -24px; border-radius: 50%;
		background: var(--sc-red); color: #fff;
		box-shadow: 0 8px 20px rgba(186,11,11,.42), 0 0 0 4px var(--sc-bg);
	}
	.sc-tabbar__item--cta .sc-tabbar__icon svg { width: 26px; height: 26px; }
	.sc-tabbar__item--cta.is-current::before { display: none; }
	.sc-tabbar__item--cta.is-current .sc-tabbar__icon,
	[data-theme="dark"] .sc-tabbar__item--cta.is-current .sc-tabbar__icon { color: #fff; }

	/* Menu tab turns into Close while the drawer is open. */
	/* Scoped under .sc-tabbar__icon so it beats ".sc-tabbar__icon svg { display: block }",
	   otherwise the X shows on top of the Menu icon (fixed 0.11.1). */
	.sc-tabbar__icon .sc-tabbar__ico-close, .sc-tabbar__txt-close { display: none; }
	body.sc-nav-open .sc-tabbar__icon .sc-tabbar__ico-open, body.sc-nav-open .sc-tabbar__txt-open { display: none; }
	body.sc-nav-open .sc-tabbar__icon .sc-tabbar__ico-close { display: block; }
	body.sc-nav-open .sc-tabbar__txt-close { display: inline; }
	body.sc-nav-open .sc-tabbar__menu { color: var(--sc-text); font-weight: 700; }

	/* Keep the last drawer links clear of the tab bar. */
	.sc-nav { padding-bottom: calc(var(--sc-tabbar-h) + var(--sc-tabbar-safe) + 1.25rem); }

	/* ---- WhatsApp: round floating button on the right ---- */
	.sc-wa { left: auto; right: 14px; bottom: calc(var(--sc-tabbar-h) + var(--sc-tabbar-safe) + 14px); align-items: flex-end; gap: 10px; z-index: 450; }
	.sc-wa__fab { position: relative; width: 58px; height: 58px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: 0 10px 26px rgba(0,0,0,.34), 0 0 0 3px rgba(255,255,255,.08); }
	.sc-wa__fab-icon svg { width: 31px; height: 31px; }
	.sc-wa__fab-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.sc-wa__fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: sc-wa-ping 2.6s ease-out 3s 3; pointer-events: none; }
	.sc-wa__teaser { max-width: min(260px, calc(100vw - 40px)); font-size: .85rem; }
	.sc-wa__teaser::after { content: ""; position: absolute; right: 22px; bottom: -7px; width: 12px; height: 12px; background: inherit; border-right: 1px solid var(--sc-border, rgba(255,255,255,.12)); border-bottom: 1px solid var(--sc-border, rgba(255,255,255,.12)); transform: rotate(45deg); }
	.sc-wa.is-open .sc-wa__fab, .sc-wa.is-open .sc-wa__teaser { display: none; }
	body.sc-nav-open .sc-wa { display: none; }

	/* ---- Chat card as a bottom sheet ---- */
	.sc-wa__scrim { display: block; position: fixed; inset: 0; background: rgba(4,4,8,.6); animation: sc-wa-fade .2s ease; }
	.sc-wa__scrim[hidden] { display: none; }
	.sc-wa__panel {
		position: fixed; left: 0; right: 0; bottom: 0; width: auto; max-width: none;
		max-height: 88vh; max-height: 88dvh; display: flex; flex-direction: column;
		border-radius: 22px 22px 0 0; border-bottom: 0;
		padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--sc-surface, #131318);
		animation: sc-wa-up .28s cubic-bezier(.2,.8,.2,1);
	}
	.sc-wa__panel[hidden] { display: none; }
	.sc-wa__head { position: relative; flex: none; padding: 22px 14px 14px 16px; }
	.sc-wa__head::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.5); transform: translateX(-50%); }
	.sc-wa__close { width: 42px; height: 42px; }
	.sc-wa__body { flex: 1 1 auto; min-height: 0; max-height: none; overscroll-behavior: contain; }
	.sc-wa__bubble { font-size: .95rem; }
	.sc-wa__label { font-size: .82rem; }
	.sc-wa__chips { gap: 9px; }
	.sc-wa__chip { padding: 11px 15px; font-size: .9rem; }
	.sc-wa__form { flex: none; padding: 10px 12px; }
	.sc-wa__form textarea { font-size: 16px; min-height: 46px; padding: 12px 14px; border-radius: 23px; } /* 16px stops iOS zooming in */
	.sc-wa__send { width: 46px; height: 46px; }
	.sc-wa__note { flex: none; padding-bottom: 14px; }
	html.sc-wa-sheet-open, html.sc-wa-sheet-open body { overflow: hidden; }
}
@media (max-width: 360px) {
	.sc-tabbar__item { font-size: .66rem; }
	.sc-tabbar__item--cta .sc-tabbar__icon { width: 50px; height: 50px; }
}
@keyframes sc-wa-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes sc-wa-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sc-wa-ping { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 80%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) {
	.sc-tabbar__item, .sc-tabbar__icon { transition: none; }
	.sc-wa__panel, .sc-wa__scrim, .sc-wa__fab::after { animation: none; }
}

/* ---------------------------------------------------------------------------
   Rwanda polish on top of the .com tab bar and chat (1.9.2)
   --------------------------------------------------------------------------- */
:root { --scrw-tab-bg: #0d0d12; }
[data-theme="light"] { --scrw-tab-bg: #ffffff; }
@media (max-width: 782px) {
	body { padding-bottom: calc(var(--sc-tabbar-h) + var(--sc-tabbar-safe)) !important; }
	/* Solid, flush bar: no gaps, no rounded corners, nothing showing underneath. */
	.sc-tabbar {
		background: var(--scrw-tab-bg) !important;
		-webkit-backdrop-filter: none; backdrop-filter: none;
		box-shadow: 0 -1px 0 rgba(255, 255, 255, .04), 0 -12px 32px rgba(0, 0, 0, .45);
		border-radius: 0 !important; margin: 0 !important;
	}
	[data-theme="light"] .sc-tabbar { box-shadow: 0 -1px 0 rgba(20, 20, 30, .05), 0 -8px 24px rgba(20, 20, 30, .1); }
	/* 1.9.3: no hard line across the top. The bar lifts off the page with a
	   soft shadow only, so nothing cuts through the raised Get a Quote button. */
	.sc-tabbar { border-top: 0 !important; }
	.sc-tabbar::before, .sc-tabbar::after { content: none !important; display: none !important; }
	.sc-tabbar__item { color: #9a9aa8; }
	[data-theme="light"] .sc-tabbar__item { color: #5d5d6b; }
	.sc-tabbar__item--cta { color: var(--sc-text); }
	.sc-tabbar__item--cta .sc-tabbar__icon {
		background: linear-gradient(145deg, #d8161c, #BA0B0B 60%, #8f0808);
		box-shadow: 0 8px 22px rgba(186, 11, 11, .45), 0 0 0 5px var(--scrw-tab-bg);
	}
	/* WhatsApp: deeper green with a gentle pulse, above the bar on the right. */
	.sc-wa__fab { background: linear-gradient(145deg, #12a678, #0B7A5C); }
	.sc-wa__head { background: linear-gradient(120deg, #0B7A5C, #0a5f49); }
}
/* Hide the old 1.9.0 dock if a cached page still has it. */
.scrw-dock, .scrw-wa { display: none !important; }

/* ---------------------------------------------------------------------------
   3. Mobile header (1.9.2): same layout as soundcreationsltd.com.
   Logo on the left, theme switch + menu button on the right. The big
   "Request a Consultation" pill is hidden on phones (Get a Quote sits in the
   tab bar); a child rule ".sc-btn:not(.sc-nav__cta){display:inline-flex}"
   was un-hiding it and squeezing the logo.
   --------------------------------------------------------------------------- */
@media (max-width: 782px) {
	.sc-header .sc-header__cta,
	.sc-header .sc-header__actions > .sc-btn { display: none !important; }
	.sc-header .sc-header__inner {
		display: flex !important; align-items: center !important; justify-content: space-between !important;
		gap: .75rem !important; padding-block: .85rem !important;
	}
	.sc-header.is-compact .sc-header__inner { padding-block: .55rem !important; }
	.sc-header .sc-brand { flex: 0 1 auto !important; min-width: 0; margin: 0 !important; }
	.sc-header .sc-logo { display: inline-flex; align-items: center; }
	.sc-header .sc-logo img, .sc-header .sc-logo__img { height: 50px !important; max-height: 50px !important; width: auto !important; max-width: 58vw; object-fit: contain; }
	.sc-header.is-compact .sc-logo img, .sc-header.is-compact .sc-logo__img { height: 42px !important; max-height: 42px !important; }
	.sc-header .sc-header__actions { flex: 0 0 auto !important; margin-left: auto; display: flex !important; align-items: center; gap: .6rem; }
	.sc-header .sc-theme-toggle {
		width: 46px !important; height: 46px !important; flex: 0 0 46px;
		border-radius: 999px !important; background: rgba(255, 255, 255, .05) !important; border: 1px solid rgba(255, 255, 255, .12) !important;
	}
	.sc-header .sc-menu-toggle {
		display: inline-grid !important; place-items: center;
		width: 48px !important; height: 48px !important; flex: 0 0 48px;
		border-radius: 14px !important;
		background: rgba(255, 255, 255, .06) !important; border: 1px solid rgba(255, 255, 255, .12) !important;
		color: var(--sc-text) !important; font-size: 1.45rem !important; line-height: 1;
	}
	.sc-header .sc-menu-toggle:hover, .sc-header .sc-menu-toggle:focus-visible { border-color: rgba(255, 255, 255, .3) !important; }
	[data-theme="light"] .sc-header .sc-theme-toggle,
	[data-theme="light"] .sc-header .sc-menu-toggle { background: rgba(20, 20, 30, .04) !important; border-color: rgba(20, 20, 30, .14) !important; }
	/* Purple contact strip: one tidy line. */
	.sc-utility__inner { padding-block: .45rem !important; font-size: .8rem !important; gap: .25rem .75rem !important; justify-content: center !important; }
	.sc-utility__zone--center { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; justify-content: center; }
	.sc-utility__zone--center a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 380px) {
	.sc-utility__zone--center a[href^="mailto:"], .sc-utility__zone--center .sc-utility__dot { display: none; }
	.sc-header .sc-logo img, .sc-header .sc-logo__img { height: 44px !important; max-height: 44px !important; }
}

/* 1.9.4: sub-menus are always open on phones (no hidden dropdowns), so
   About, Brands and Solutions show their pages straight away. */
@media (max-width: 782px) {
	.scrw-subtoggle { display: none !important; }
	.sc-nav .sc-nav__list > li.menu-item-has-children { background: rgba(255, 255, 255, .03); margin-block: 2px; }
	[data-theme="light"] .sc-nav .sc-nav__list > li.menu-item-has-children { background: rgba(20, 20, 30, .03); }
	.sc-nav .sc-nav__list > li.menu-item-has-children > a { padding-right: 1rem !important; }
	.sc-nav .sc-nav__list li.menu-item-has-children > .sub-menu { display: flex !important; padding: 0 .5rem .65rem 1rem !important; }
	.sc-nav .sc-nav__list .sub-menu a { min-height: 42px; font-size: .94rem !important; }
}

@media (prefers-reduced-motion: reduce) {
	body.sc-nav-open .sc-nav .sc-nav__list > li { animation: none !important; }
	.scrw-subtoggle, .scrw-subtoggle svg { transition: none !important; }
}
