/* GBRILLA Mega Menu & Search - colors/sizes are CSS variables, overridden by the Elementor Style tab */
.gmm, .gmm *, .gms, .gms * { box-sizing: border-box; }

/* ================= MEGA MENU ================= */
.gmm {
	--gmm-accent: #e8833a; --gmm-btn-bg: #ffffff; --gmm-btn-text: #1f1f1f; --gmm-border: #e6e2da;
	--gmm-mega-bg: #ffffff; --gmm-mega-text: #3a3a3a; --gmm-heading: #111111; --gmm-hover-bg: #f5f2ec;
	--gmm-btn-h: 48px; --gmm-radius: 999px; --gmm-mega-r: 18px;
	position: relative; z-index: 999; display: inline-block; font-size: 15px; line-height: 1.4;
}
.gmm a { text-decoration: none; color: inherit; box-shadow: none; }
.gmm ul { list-style: none; margin: 0; padding: 0; }
.gmm li { margin: 0; padding: 0; }
.gmm svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gmm button { appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; border-radius: 0; box-shadow: none; text-transform: none; letter-spacing: normal; min-height: 0; }
.gmm button:focus-visible, .gmm a:focus-visible { outline: 2px solid var(--gmm-accent); outline-offset: 2px; }
.gmm--empty { padding: 10px 14px; border: 1px dashed #bbb; border-radius: 8px; font-size: 13px; color: #777; }

.gmm .gmm__btn { display: inline-flex; align-items: center; gap: 12px; height: var(--gmm-btn-h); padding: 0 22px 0 7px; border-radius: var(--gmm-radius); background: var(--gmm-btn-bg); color: var(--gmm-btn-text); font-weight: 600; white-space: nowrap; border: 1px solid var(--gmm-border); transition: border-color .15s; }
.gmm .gmm__btn:hover, .gmm .gmm__btn[aria-expanded="true"] { border-color: var(--gmm-accent); background: var(--gmm-btn-bg); color: var(--gmm-btn-text); }
.gmm__ico { display: inline-flex; align-items: center; justify-content: center; height: calc(var(--gmm-btn-h) - 14px); aspect-ratio: 1; border-radius: 50%; background: var(--gmm-accent); color: #fff; }

/* dropdown (desktop) */
.gmm__mega { position: absolute; left: 0; top: 100%; margin-top: 12px; width: min(var(--gmm-mega-w, 1100px), calc(100vw - 32px)); background: var(--gmm-mega-bg); color: var(--gmm-mega-text); border: 1px solid var(--gmm-border); border-radius: var(--gmm-mega-r); box-shadow: 0 24px 60px rgba(0, 0, 0, .14); max-height: min(72vh, 640px); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 50; }
.gmm__mega.is-open { opacity: 1; visibility: visible; transform: none; }
.gmm__desk { display: flex; max-height: inherit; }
.gmm__mob { display: none; }

.gmm__list { flex: 0 0 290px; padding: 12px; overflow-y: auto; border-right: 1px solid var(--gmm-border); max-height: min(72vh, 640px); }
.gmm__item > a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-weight: 500; transition: background .12s, color .12s; }
.gmm__item.is-active > a, .gmm__item > a:hover { background: var(--gmm-hover-bg); color: var(--gmm-accent); }
.gmm__thumb { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--gmm-hover-bg); flex: none; overflow: hidden; }
.gmm__thumb img { width: 30px; height: 30px; object-fit: cover; display: block; max-width: none; }
.gmm__thumb svg { width: 16px; height: 16px; opacity: .6; }
.gmm__name { flex: 1; min-width: 0; }
.gmm__chev svg { width: 1em; height: 1em; opacity: .5; }

.gmm__panels { flex: 1; min-width: 0; overflow-y: auto; max-height: min(72vh, 640px); }
.gmm__panel { display: none; gap: 28px; padding: 24px 28px; }
.gmm__panel.is-active { display: flex; }
.gmm__panel-main { flex: 1; min-width: 0; }
.gmm__panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--gmm-border); }
.gmm__panel-title { font-size: 20px; font-weight: 700; color: var(--gmm-heading); }
.gmm__panel-all { font-size: 14px; font-weight: 600; color: var(--gmm-accent); white-space: nowrap; }
.gmm__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 26px; }
.gmm__col-title { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--gmm-heading); }
.gmm__col-title:hover { color: var(--gmm-accent); }
.gmm__col li a { display: block; padding: 4px 0; font-size: 14px; }
.gmm__col li a:hover { color: var(--gmm-accent); }
.gmm__more a { color: var(--gmm-accent); font-weight: 600; }
.gmm__media { flex: 0 0 210px; }
.gmm__media img { display: block; width: 100%; height: auto; border-radius: 14px; object-fit: cover; }

/* mobile accordion */
.gmm__mob-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 700; color: var(--gmm-heading); border-bottom: 1px solid var(--gmm-border); }
.gmm .gmm__close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gmm-hover-bg); }
.gmm__mob-body { flex: 1; overflow-y: auto; padding: 8px 12px 32px; }
.gmm__acc-row { display: flex; align-items: center; }
.gmm__acc-row a { flex: 1; padding: 12px 10px; font-weight: 500; }
.gmm__acc--l2 .gmm__acc-row a, .gmm__acc--l3 .gmm__acc-row a, .gmm__acc--l4 .gmm__acc-row a { font-weight: 400; font-size: 14px; padding: 9px 10px; }
.gmm .gmm__acc-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; }
.gmm .gmm__acc-toggle:hover { background: var(--gmm-hover-bg); color: inherit; }
.gmm__acc-toggle svg { transition: transform .2s; }
.gmm__acc-item.is-open > .gmm__acc-row .gmm__acc-toggle svg { transform: rotate(180deg); }
.gmm__acc .gmm__acc { display: none; margin-left: 10px; padding-left: 12px; border-left: 2px solid var(--gmm-hover-bg); }
.gmm__acc-item.is-open > .gmm__acc { display: block; }
body.gmm-lock { overflow: hidden; }

@media (max-width: 1024px) {
	.gmm__mega { position: fixed; inset: 0; left: 0; top: 0; margin: 0; width: auto; max-height: none; border: 0; border-radius: 0; box-shadow: none; transform: translateX(-100%); z-index: 99999; }
	.gmm__mega.is-open { transform: none; }
	.gmm__desk { display: none; }
	.gmm__mob { display: flex; flex-direction: column; height: 100%; }
}

/* ================= SEARCH ================= */
.gms {
	--gms-bg: #ffffff; --gms-border: #e6e2da; --gms-focus: #e8833a; --gms-text: #1f1f1f;
	--gms-btn-bg: #e8833a; --gms-btn-icon: #ffffff; --gms-h: 48px; --gms-radius: 999px; --gms-bw: 1px;
	display: flex; align-items: center; width: 100%; min-width: 0; height: var(--gms-h); margin: 0; padding: 0 calc(var(--gms-h) * .1) 0 22px; background: var(--gms-bg); border: var(--gms-bw) solid var(--gms-border); border-radius: var(--gms-radius); transition: border-color .15s;
}
.gms:focus-within { border-color: var(--gms-focus); }
.gms .gms__input[type="search"] { flex: 1; min-width: 0; height: 100%; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; outline: none; color: var(--gms-text); font-size: 15px; -webkit-appearance: none; appearance: none; }
.gms .gms__input::placeholder { color: var(--gms-text); opacity: .55; }
.gms .gms__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.gms .gms__btn { display: inline-flex; align-items: center; justify-content: center; height: calc(var(--gms-h) - 10px); aspect-ratio: 1; padding: 0; margin: 0; border: 0; border-radius: 50%; background: var(--gms-btn-bg); color: var(--gms-btn-icon); cursor: pointer; flex: none; box-shadow: none; }
.gms .gms__btn:hover, .gms .gms__btn:focus { background: var(--gms-btn-bg); color: var(--gms-btn-icon); filter: brightness(.92); }
.gms svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gms__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.gmm *, .gms * { transition: none !important; animation: none !important; }
}
