/* GBB navigation + SHOP mega menu (SHOP Mega Menu Blueprint, 28/09/2026).
   Warm ivory panel, eucalyptus column headings, chocolate links, spacing not lines.
   Buttons are reset with two-class selectors because the Site Kit styles every <button>. */

/* The panel is placed against the header row, not the widget. */
.elementor-widget-gbb-nav, .elementor-widget-gbb-nav > .elementor-widget-container { position: static; }
.gbb-nav { display: flex; justify-content: flex-end; }
.gbb-nav :where(ul) { list-style: none; margin: 0; padding: 0; } /* zero specificity: panel rules below set their own padding */

/* Shared button reset: only what the kit's button styles add (colour, fill, border, shadow).
   Double class so it also beats the kit's button:hover/:focus. Sizes and padding are set per element below. */
.gbb-nav.gbb-nav button, .gbb-nav.gbb-nav button:hover, .gbb-nav.gbb-nav button:focus, .gbb-nav.gbb-nav button:active {
	margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #4B3A2F; cursor: pointer; text-decoration: none; min-height: 0; font-weight: inherit;
}
.gbb-nav :focus-visible { outline: 2px solid #43533B; outline-offset: 3px; }

/* ---------- Top level (desktop) ---------- */
.gbb-nav .gbb-nav__burger { display: none; }
.gbb-nav__list { display: flex; align-items: center; gap: 30px; }
.gbb-nav .gbb-nav__top, .gbb-nav button.gbb-nav__top {
	position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 0;
	font-family: "EB Garamond", Georgia, serif; font-size: 14px; font-weight: 400; line-height: 1.2; letter-spacing: 1.4px; text-transform: uppercase; color: #4B3A2F; text-decoration: none;
}
.gbb-nav .gbb-nav__top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: #43533B; transform: scaleX(0); transition: transform .2s ease; }
.gbb-nav .gbb-nav__top:hover, .gbb-nav.gbb-nav button.gbb-nav__top:hover { color: #43533B; }
.gbb-nav .gbb-nav__top:hover::after, .gbb-nav .gbb-nav__top[aria-current]::after, .gbb-nav .gbb-nav__top[aria-expanded="true"]::after { transform: scaleX(1); }
.gbb-nav.gbb-nav button.gbb-nav__top[aria-expanded="true"] { color: #43533B; }
.gbb-nav__chev { width: 6px; height: 6px; margin: -3px 0 0 1px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.gbb-nav__top[aria-expanded="true"] .gbb-nav__chev { transform: translateY(3px) rotate(-135deg); }

/* ---------- Mega panel (desktop) ---------- */
.gbb-mega { position: absolute; top: 100%; left: 50%; z-index: 60; transform: translateX(-50%); width: min(1240px, calc(100vw - 48px)); box-sizing: border-box; padding: 40px 56px 46px; background: #FAF8F0; border: 1px solid #E4DACB; border-top: 0; border-radius: 0 0 4px 4px; box-shadow: 0 18px 36px rgba(75, 58, 47, .08); text-align: left; }
.gbb-mega[hidden] { display: none; }
.gbb-mega__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 40px; }
.gbb-mega .gbb-mega__heading { margin: 0 0 18px; font-family: "EB Garamond", Georgia, serif; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; line-height: 1.3; color: #43533B; }
.gbb-mega__toggle { display: none; }
.gbb-mega__links li { margin: 0 0 11px; }
.gbb-mega .gbb-mega__link, .gbb-mega .gbb-mega__direct-link { font-family: "EB Garamond", Georgia, serif; font-size: 17px; font-weight: 400; line-height: 1.35; color: #4B3A2F; text-decoration: none; text-underline-offset: 4px; }
.gbb-mega a.gbb-mega__link:hover, .gbb-mega a.gbb-mega__link:focus-visible, .gbb-mega a.gbb-mega__direct-link:hover, .gbb-mega a.gbb-mega__direct-link:focus-visible,
.gbb-mega a[aria-current] { color: #43533B; text-decoration: underline; text-decoration-color: #A8B89A; }
.gbb-mega__direct-wrap.is-desktop { margin-top: 44px; }
.gbb-mega__direct-wrap.is-mobile { display: none; }
.gbb-mega__direct li { margin: 0 0 11px; }
.gbb-mega__direct-link span { display: inline-block; margin-left: 2px; transition: transform .2s ease; }
.gbb-mega__direct-link:hover span { transform: translateX(3px); }

/* ---------- Mobile & tablet: menu button, stacked list, accordion groups ---------- */
@media (max-width: 1099px) {
	.gbb-nav.gbb-nav button.gbb-nav__burger { display: inline-flex; padding: 0; align-items: center; justify-content: center; width: 44px; height: 44px; }
	.gbb-nav__burger-lines, .gbb-nav__burger-lines::before, .gbb-nav__burger-lines::after { display: block; width: 22px; height: 1.5px; background: #4B3A2F; transition: transform .2s ease, opacity .2s ease; }
	.gbb-nav__burger-lines { position: relative; }
	.gbb-nav__burger-lines::before, .gbb-nav__burger-lines::after { content: ""; position: absolute; left: 0; }
	.gbb-nav__burger-lines::before { top: -7px; }
	.gbb-nav__burger-lines::after { top: 7px; }
	.gbb-nav.is-open .gbb-nav__burger-lines { background: transparent; }
	.gbb-nav.is-open .gbb-nav__burger-lines::before { transform: translateY(7px) rotate(45deg); }
	.gbb-nav.is-open .gbb-nav__burger-lines::after { transform: translateY(-7px) rotate(-45deg); }

	.gbb-nav__list { display: none; position: fixed; top: var(--gbb-nav-top, 110px); left: 0; right: 0; bottom: 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 40px; overflow-y: auto; overscroll-behavior: contain; background: #FAF8F0; border-top: 1px solid #E4DACB; }
	.gbb-nav.is-open .gbb-nav__list { display: flex; }
	.gbb-nav__item { border-bottom: 1px solid #E4DACB; }
	.gbb-nav .gbb-nav__top, .gbb-nav.gbb-nav button.gbb-nav__top { display: flex; justify-content: space-between; width: 100%; min-height: 52px; padding: 14px 0; font-size: 15px; }
	.gbb-nav .gbb-nav__top::after { display: none; }

	.gbb-mega { position: static; transform: none; width: auto; padding: 0 0 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
	.gbb-mega__grid { display: block; }
	.gbb-mega .gbb-mega__heading { display: none; }
	.gbb-nav.gbb-nav button.gbb-mega__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 12px 0 12px 14px; font-family: "EB Garamond", Georgia, serif; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #43533B; }
	.gbb-mega__plus { position: relative; width: 12px; height: 12px; }
	.gbb-mega__plus::before, .gbb-mega__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .2s ease; }
	.gbb-mega__plus::after { transform: rotate(90deg); }
	.gbb-mega__toggle[aria-expanded="true"] .gbb-mega__plus::after { transform: rotate(0); }
	.gbb-mega__links { display: none; padding: 0 0 8px 28px; }
	.gbb-mega__col.is-open .gbb-mega__links { display: block; }
	.gbb-mega__links li, .gbb-mega__direct li { margin: 0; }
	.gbb-mega .gbb-mega__link, .gbb-mega .gbb-mega__direct-link { display: block; padding: 11px 0; }
	.gbb-mega__direct-wrap.is-desktop { display: none; }
	.gbb-mega__direct-wrap.is-mobile { display: block; margin-top: 6px; padding: 8px 0 0 14px; border-top: 1px solid #EDE5D8; }
}
