:root {
  --lsgmm-primary: #203d36;
  --lsgmm-accent: #5c7a82;
  --lsgmm-bg: #fff;
  --lsgmm-muted: #b6b6b6;
  --lsgmm-breakpoint: 767px;
}

.lsgmm,
.lsgmm *,
.lsgmm-mobile,
.lsgmm-mobile * {
  box-sizing: border-box;
}

/* =========================================================
   DESKTOP MEGA MENU — behavior and appearance preserved
========================================================= */
.lsgmm {
  display: block !important;
  position: relative;
  z-index: 80;
  width: 100%;
  font-family: inherit;
  color: var(--lsgmm-primary);
}

.lsgmm a {
  color: inherit;
  text-decoration: none;
}

.lsgmm__list,
.lsgmm__featured-links,
.lsgmm__section-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lsgmm__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.1vw, 48px);
  min-height: 54px;
}

.lsgmm__item {
  position: relative;
  margin: 0;
  padding: 0;
}

.lsgmm__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lsgmm__top-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(15px, 1.08vw, 20px);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  transition: opacity .18s ease;
}

.lsgmm__top-link:hover,
.lsgmm__top-link:focus-visible {
  opacity: .76;
}

.lsgmm__toggle {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--lsgmm-primary) !important;
  font: inherit !important;
  line-height: 1 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
}

.lsgmm__toggle:hover,
.lsgmm__toggle:focus,
.lsgmm__toggle:active {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--lsgmm-primary) !important;
}

.lsgmm__toggle-icon {
  display: block !important;
  width: 12px !important;
  height: 8px !important;
  margin: 0 !important;
  overflow: visible;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform .18s ease;
}

.lsgmm__item.is-open .lsgmm__toggle-icon {
  transform: rotate(180deg);
}

.lsgmm__panel {
  position: absolute;
  top: calc(100% + 5px);
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  background: var(--lsgmm-bg);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgb(20 44 38 / 18%);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}

.lsgmm__item.is-open > .lsgmm__panel,
.lsgmm__item:hover > .lsgmm__panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.lsgmm__panel--featured {
  left: 50%;
  width: min(500px, calc(100vw - 32px));
  padding: 12px 20px 18px;
  transform: translate(-50%, 8px);
}

.lsgmm__item.is-open > .lsgmm__panel--featured,
.lsgmm__item:hover > .lsgmm__panel--featured {
  transform: translate(-50%, 0);
}

.lsgmm__featured-card {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.lsgmm__featured-title,
.lsgmm__section-title {
  margin: 0;
  font-family: inherit;
  color: var(--lsgmm-primary);
}

.lsgmm__featured-title {
  display: inline-block;
  padding: 0 0 4px;
  border-bottom: 3px solid var(--lsgmm-primary);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}

.lsgmm__featured-subtitle {
  margin: 5px 0 14px;
  font-size: 16px;
  line-height: 1.3;
  color: #40544f;
}

.lsgmm__featured-image-link {
  display: block;
  width: 226px;
  margin: 0 auto 12px;
}

.lsgmm__featured-image {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 9px 11px 29px rgb(0 0 0 / 12%);
}

.lsgmm__featured-links {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 245px;
  text-align: left;
}

.lsgmm__featured-links li,
.lsgmm__section-links li {
  position: relative;
  padding-left: 25px;
  line-height: 1.3;
}

.lsgmm__featured-links li::before,
.lsgmm__section-links li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .42em;
  width: 9px;
  height: 9px;
  border-top: 3px solid var(--lsgmm-accent);
  border-right: 3px solid var(--lsgmm-accent);
  transform: rotate(45deg);
}

.lsgmm__featured-links a {
  font-size: 16px;
  font-weight: 600;
}

.lsgmm__featured-links a:hover,
.lsgmm__featured-links a:focus-visible,
.lsgmm__section-links a:hover,
.lsgmm__section-links a:focus-visible,
.lsgmm__section-title a:hover,
.lsgmm__section-title a:focus-visible,
.lsgmm__featured-title a:hover,
.lsgmm__featured-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lsgmm__item--accessories {
  position: static;
}

.lsgmm__panel--wide {
  left: calc(50vw - var(--lsgmm-root-left, 0px));
  right: auto;
  width: min(1000px, calc(100vw - 32px));
  padding: 8px 24px 16px;
  transform: translate(-50%, 8px);
}

.lsgmm__item.is-open > .lsgmm__panel--wide,
.lsgmm__item:hover > .lsgmm__panel--wide {
  transform: translate(-50%, 0);
}

.lsgmm__section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px 36px;
}

.lsgmm__section {
  min-width: 0;
}

.lsgmm__section-title {
  display: inline-block;
  padding: 0 0 3px;
  border-bottom: 3px solid var(--lsgmm-primary);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}

.lsgmm__section-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.lsgmm__section-links a,
.lsgmm__section-links span {
  font-size: 14px;
  font-weight: 400;
}

.lsgmm__section.is-disabled,
.lsgmm__section-links .is-disabled {
  color: var(--lsgmm-muted);
}

.lsgmm__section.is-disabled .lsgmm__section-title {
  border-bottom-color: var(--lsgmm-muted);
  color: var(--lsgmm-muted);
}

.lsgmm__section.is-disabled li::before,
.lsgmm__section-links .is-disabled::before {
  border-color: var(--lsgmm-muted);
}

.lsgmm a:focus-visible,
.lsgmm button:focus-visible {
  outline: 2px solid var(--lsgmm-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================
   MOBILE MENU
========================================================= */
.lsgmm-mobile {
  display: none;
  position: relative;
  z-index: 99990;
  width: 44px;
  height: 44px;
  font-family: inherit;
  color: var(--lsgmm-primary);
}

.lsgmm-mobile__trigger,
.lsgmm-mobile__close,
.lsgmm-mobile__submenu-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--lsgmm-primary) !important;
  cursor: pointer;
  font: inherit !important;
  margin: 0 !important;
}

.lsgmm-mobile__trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 8px !important;
}

.lsgmm-mobile__trigger svg {
  display: block;
  width: 28px;
  height: 28px;
}

.lsgmm-mobile__backdrop {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgb(8 24 20 / 54%);
  opacity: 0;
  transition: opacity .2s ease;
}

.lsgmm-mobile__drawer {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  width: min(88vw, 410px);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--lsgmm-bg);
  box-shadow: -12px 0 36px rgb(10 36 29 / 22%);
  color: var(--lsgmm-primary);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
}

.lsgmm-mobile.is-open .lsgmm-mobile__backdrop {
  opacity: 1;
}

.lsgmm-mobile.is-open .lsgmm-mobile__drawer {
  visibility: visible;
  transform: translateX(0);
  transition-delay: 0s;
}

body.lsgmm-mobile-open {
  overflow: hidden !important;
  touch-action: none;
}

.lsgmm-mobile__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px 14px 12px 22px;
  border-bottom: 1px solid rgb(32 61 54 / 14%);
  background: var(--lsgmm-bg);
}

.lsgmm-mobile__title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.lsgmm-mobile__close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 9px !important;
}

.lsgmm-mobile__close svg {
  width: 25px;
  height: 25px;
}

.lsgmm-mobile__nav {
  height: calc(100% - 70px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px 0 32px;
  -webkit-overflow-scrolling: touch;
}

.lsgmm-mobile__list,
.lsgmm-mobile__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lsgmm-mobile__item {
  margin: 0;
  border-bottom: 1px solid rgb(32 61 54 / 12%);
}

.lsgmm-mobile__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: stretch;
}

.lsgmm-mobile__top-link {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 13px 8px 13px 22px;
  color: var(--lsgmm-primary) !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
}

.lsgmm-mobile__item--direct .lsgmm-mobile__top-link {
  padding-right: 22px;
}

.lsgmm-mobile__submenu-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
}

.lsgmm-mobile__submenu-toggle .lsgmm__toggle-icon {
  width: 14px !important;
  height: 9px !important;
}

.lsgmm-mobile__submenu-toggle[aria-expanded="true"] .lsgmm__toggle-icon {
  transform: rotate(180deg);
}

.lsgmm-mobile__submenu {
  padding: 0 22px 18px;
  background: #f7f9f8;
  border-top: 1px solid rgb(32 61 54 / 9%);
}

.lsgmm-mobile__subtitle {
  margin: 0;
  padding: 15px 0 8px;
  color: #52645f;
  font-size: 14px;
  line-height: 1.45;
}

.lsgmm-mobile__sections {
  padding-top: 2px;
}

.lsgmm-mobile__section {
  margin: 0;
  padding: 16px 0 4px;
  border-bottom: 1px solid rgb(32 61 54 / 10%);
}

.lsgmm-mobile__section:last-child {
  border-bottom: 0;
}

.lsgmm-mobile__section-title {
  margin: 0 0 7px;
  color: var(--lsgmm-primary);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.lsgmm-mobile__section-title a,
.lsgmm-mobile__section-title span {
  color: inherit !important;
  text-decoration: none !important;
}

.lsgmm-mobile__links {
  display: flex;
  flex-direction: column;
}

.lsgmm-mobile__links li {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
}

.lsgmm-mobile__links li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--lsgmm-accent);
  border-right: 2px solid var(--lsgmm-accent);
  transform: rotate(45deg);
}

.lsgmm-mobile__links a,
.lsgmm-mobile__links span {
  display: block;
  padding: 9px 0;
  color: var(--lsgmm-primary) !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none !important;
}

.lsgmm-mobile__section.is-disabled,
.lsgmm-mobile__links li.is-disabled,
.lsgmm-mobile__section.is-disabled .lsgmm-mobile__section-title {
  color: var(--lsgmm-muted);
}

.lsgmm-mobile__section.is-disabled .lsgmm-mobile__links li::before,
.lsgmm-mobile__links li.is-disabled::before {
  border-color: var(--lsgmm-muted);
}

.lsgmm-mobile a:focus-visible,
.lsgmm-mobile button:focus-visible,
.lsgmm-mobile__drawer:focus-visible {
  outline: 2px solid var(--lsgmm-accent) !important;
  outline-offset: 2px !important;
}

@media (min-width: 768px) and (max-width: 1120px) {
  .lsgmm__list { gap: 17px; }
  .lsgmm__top-link { font-size: 15px; }
  .lsgmm__panel--featured { width: 430px; }
  .lsgmm__panel--wide { width: min(920px, calc(100vw - 24px)); padding-inline: 18px; }
  .lsgmm__section-grid { gap: 16px 20px; }
  .lsgmm__section-title { font-size: 20px; }
  .lsgmm__section-links a,
  .lsgmm__section-links span { font-size: 13px; }
}

@media (max-width: 767px) {
  .lsgmm { display: none !important; }
  .lsgmm-mobile { display: block !important; }
}

@media (min-width: 768px) {
  .lsgmm-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .lsgmm__panel,
  .lsgmm__toggle-icon,
  .lsgmm__top-link,
  .lsgmm-mobile__backdrop,
  .lsgmm-mobile__drawer {
    transition: none !important;
  }
}
