/* Consolidated high fidelity mega-menu rules from design-system/styles.css. */
.bbr-mega-trigger {border:0;background:transparent;color:inherit;font:inherit;text-align:left;padding:0;cursor:pointer;min-height:44px;}
.bbr-mega-trigger[aria-expanded="true"] {color:var(--bbr-brand);}
.bbr-mega-is-open {overflow:hidden;}
#bbr-mega-menu {position:fixed;top:var(--mega-top,16px);left:0;right:0;bottom:auto;margin:0 auto;width:100%;max-width:100%;height:auto;max-height:var(--mega-available-height,calc(100dvh - 72px));padding:0;overflow:auto;border:1px solid var(--bbr-border);border-inline:0;border-radius:0;background:var(--bbr-surface);color:var(--bbr-text);font-family:var(--bbr-font);line-height:var(--bbr-leading);}
#bbr-mega-menu::backdrop {top:var(--mega-overlay-top,0px);background:rgb(0 15 20 / 55%);backdrop-filter:blur(2px);}
#bbr-mega-menu a {text-decoration:none;}
#bbr-mega-menu .mega-layout {display:grid;grid-template-columns:26% 27% 47%;width:min(100% - var(--bbr-gutter) * 2,var(--bbr-container));margin-inline:auto;}
.mega-finder {padding:24px 24px 24px 0;background:transparent;border-right:1px solid var(--bbr-border);}
.mega-categories {padding:24px 16px;border-right:1px solid var(--bbr-border);}
.mega-choice {width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:12px;border:1px solid transparent;border-radius:var(--bbr-radius-sm);color:var(--bbr-text);background:transparent;min-height:48px;font:inherit;font-size:14px;cursor:pointer;}
.mega-categories .mega-choice,.mega-mobile-category {font-weight:700;}
.mega-choice:hover {background:var(--bbr-surface-raised);}
.mega-choice[aria-pressed="true"] {color:var(--bbr-brand);background:var(--bbr-surface-raised);border-color:var(--bbr-border);}
.mega-explorer {padding:24px 0 24px 24px;min-width:0;}
.mega-breadcrumb {display:flex;flex-wrap:wrap;gap:12px;align-items:center;color:var(--bbr-muted);font-size:12px;min-height:44px;margin-bottom:var(--bbr-space-1);}
.mega-variants {display:flex;gap:20px;margin-bottom:var(--bbr-space-2);flex-wrap:wrap;}
.mega-variants button {min-height:44px;padding:8px 0;border:0;border-radius:0;color:var(--bbr-muted);background:transparent;font:inherit;font-size:13px;cursor:pointer;text-underline-offset:5px;}
.mega-variants button[aria-pressed="true"] {color:var(--bbr-brand);font-weight:bold;text-decoration:underline;}
.mega-variants button:hover {color:var(--bbr-brand);text-decoration:underline;}
.mega-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow-y:auto;margin-top:0;gap:4px;scrollbar-gutter:stable;}
.mega-options .mega-choice {border-color:var(--bbr-border);background:var(--bbr-surface-raised);font-size:13px;}
.mega-empty {color:var(--bbr-muted);font-size:14px;}
#bbr-mega-menu .mega-empty:empty,.mega-empty[hidden] {display:none;}
#bbr-mega-menu .mega-all {display:inline-flex;align-items:center;gap:10px;color:var(--bbr-brand);font:inherit;font-size:13px;font-weight:bold;background:none;border:0;text-decoration:underline;min-height:44px;cursor:pointer;text-align:left;}
.mega-step {animation:mega-arrive 180ms ease-out;}
.mega-step.mega-step-instant {animation:none;}
@keyframes mega-arrive {from {opacity:.4;transform:translateX(10px);} to {opacity:1;transform:translateX(0);}}
@keyframes mega-dropdown {from {opacity:0;transform:translateY(-6px);} to {opacity:1;transform:translateY(0);}}
.mega-brand-name {display:flex;align-items:center;gap:12px;min-width:0;}
.mega-brand-name > span {text-transform:uppercase;}
.mega-brand-logo {width:48px;height:32px;object-fit:contain;flex-shrink:0;filter:brightness(0) invert(1);}
.mega-section-title {margin:0;font-size:var(--bbr-text-lg);line-height:1.3;letter-spacing:normal;}
.mega-section-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:var(--bbr-space-2);}
.mega-section-heading .mega-section-title {min-width:0;}
.mega-section-heading .mega-all {margin:0 0 0 auto;padding:0;white-space:nowrap;flex-shrink:0;}
.mega-mobile-category {display:none;}
#bbr-mega-menu .mega-arrow {display:inline-block;width:18px;height:18px;flex-shrink:0;fill:currentColor;stroke:none;}
#bbr-mega-menu .mega-back-button {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 20px;border:1px solid var(--bbr-control-border);border-radius:var(--bbr-radius-sm);background:transparent;color:var(--bbr-text);font-size:14px;line-height:1.3;}
#bbr-mega-menu .mega-back-button:hover {background:var(--bbr-surface-raised);}
#bbr-mega-menu .mega-retry {background:transparent;color:var(--bbr-brand);padding:8px;min-height:44px;text-decoration:underline;}
/* Reuse the native MFS finder, with the DS's vertical composition. */
#bbr-mega-menu .bbr-moto-form--mega {display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0;max-width:none;}
#bbr-mega-menu .bbr-moto-heading {margin-bottom:0;padding-bottom:0;}
#bbr-mega-menu .bbr-moto-heading em {display:block;}
#bbr-mega-menu .bbr-moto-field {display:block;padding:0;margin-top:8px;border:0;border-radius:0;background:transparent;grid-column:auto;grid-row:auto;opacity:1;}
#bbr-mega-menu .bbr-moto-field::before {display:none;}
#bbr-mega-menu .bbr-moto-field > span {font-size:13px;font-weight:bold;color:var(--bbr-text);}
#bbr-mega-menu .bbr-moto-field small {font-size:inherit;font-weight:normal;color:var(--bbr-muted);}
#bbr-mega-menu .bbr-moto-field select {margin-top:8px;}
#bbr-mega-menu .bbr-moto-field select:disabled {opacity:.55;}
#bbr-mega-menu .bbr-moto-field option {padding:0;min-height:0;}
#bbr-mega-menu .bbr-moto-form--mega > .bbr-button {gap:10px;color:#080d0e;line-height:1.3;min-height:48px;padding:12px 20px;margin-top:16px;font-size:14px;}
#bbr-mega-menu .bbr-moto-form--mega > .bbr-button > span {font:inherit;}
#bbr-mega-menu .bbr-moto-search-icon {display:none;}
#bbr-mega-menu .bbr-moto-form--mega > .bbr-button::before {content:"";display:block;width:18px;height:18px;flex-shrink:0;background:currentColor;mask:url(../images/Cerca-5.svg) center/contain no-repeat;}
@media(min-width:1101px) {
 #bbr-mega-menu {border-top:2px solid var(--bbr-brand);box-shadow:0 18px 32px rgb(0 0 0 / 25%);}
 #bbr-mega-menu[open] {animation:mega-dropdown 160ms ease-out;}
 .bbr-menu .bbr-mega-trigger {align-self:stretch;position:relative;}
 .bbr-menu .bbr-mega-trigger[aria-expanded="true"]::after {content:"";position:absolute;left:0;right:0;bottom:-24px;height:3px;background:var(--bbr-brand);}
 .bbr-navigation .bbr-mega-trigger[aria-expanded="true"] {color:var(--bbr-brand);}
 .mega-layout {height:min(600px,var(--mega-available-height,70vh));min-height:0;}
 .mega-finder,.mega-categories {min-height:0;overflow-y:auto;}
 .mega-explorer {display:flex;min-height:0;}
 .mega-step {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;}
 .mega-step > * {flex-shrink:0;}
 .mega-step .mega-options {flex:1 1 0;min-height:0;align-content:start;grid-auto-rows:minmax(48px,max-content);}
}
@media(max-width:1100px) {
 #bbr-mega-menu .mega-layout {display:block;min-height:0;}
 .mega-finder,.mega-categories {display:none;}
 .mega-explorer {padding:16px 0;}
 .mega-options {grid-template-columns:1fr;}
 .mega-options .mega-choice {min-height:52px;font-size:14px;}
 .mega-mobile-category {display:block;width:100%;margin-top:var(--bbr-space-4);min-height:48px;}
 .bbr-navigation--mega nav {display:none;}
}
@media(prefers-reduced-motion:reduce) {#bbr-mega-menu[open],#bbr-mega-menu .mega-step {animation:none;}}

.mega-categories .mega-choice {justify-content:flex-start;}
.mega-categories .mega-choice .mega-arrow {margin-inline-start:auto;}
.mega-section-title {display:flex;align-items:center;gap:12px;}
