

.mm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}
.mm-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mega-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 100051;
  background: #fff;
  transform: translateY(-100%);
  transition: transform 500ms cubic-bezier(0.22, 0.74, 0.18, 1);
  padding: calc(var(--shell-header-h, 72px) + 28px) 60px 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.5fr;
  column-gap: 0;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.mega-menu.mm-open {
  transform: translateY(0);
}

.mm-col {
  padding: 0;
  min-width: 0;
}
.mm-col:first-child {
  padding-right: 20px;
  border-right: 0.5px solid rgba(0, 0, 0, 0.16);
}
.mm-col:nth-child(2) {
  padding: 0 20px;
}
.mm-col:last-child {
  padding-left: 20px;
  border-left: 0.5px solid rgba(0, 0, 0, 0.16);
}

.mm-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 24px;
}

.mm-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 14px;
  row-gap: 0;
}

.mm-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 16px 18px;
  cursor: pointer;
  position: relative;
  border: none;
  overflow: visible;
  text-decoration: none;
  color: inherit;
}
.mm-product:nth-child(-n + 2) {
  padding-bottom: 18px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
}
.mm-product:nth-child(n + 3) {
  padding-top: 18px;
}

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

.mm-product-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 14px;
}

.mm-product-info {
  width: 100%;
  text-align: center;
}

.mm-product-stroke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.mm-product-stroke .mm-trace {
  fill: none;
  stroke: #000;
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0;
}

.mm-product-name {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.1px;
}
.mm-product-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.72);
  margin-top: 3px;
}

.mm-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  min-width: 0;
}
.mm-img {
  width: 100%;
  max-height: min(521px, 52vh);
  object-fit: contain;
  transition: opacity 300ms ease;
}

.mm-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.mm-link-icon {
  font-size: 22px;
  color: rgba(0, 0, 0, 0.55);
}
.mm-link-text {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  position: relative;
  letter-spacing: -0.1px;
}
.mm-link-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mm-link:hover .mm-link-text::after,
.mm-link:focus-visible .mm-link-text::after {
  transform: scaleX(1);
}

.mm-close {
  position: absolute;
  top: calc(var(--shell-header-h, 72px) * 0.35 + 8px);
  right: 40px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 22px;
  color: #000;
  border: none;
  background: transparent;
  transition: background 0.2s ease;
}
.mm-close:hover {
  background: #000;
  color: #fff;
}

@media (max-width: 1280px) {
  .mega-menu {
    padding-left: 40px;
    padding-right: 40px;
    grid-template-columns: 1.15fr 1fr 0.52fr;
  }
}

@media (max-width: 1100px) {
  .mega-menu {
    grid-template-columns: 1fr;
    row-gap: 28px;
    align-content: start;
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
    padding-bottom: max(40px, env(safe-area-inset-bottom, 0px));
  }
  .mm-col:first-child {
    border-right: none;
    padding-right: 0;
  }
  .mm-col:nth-child(2) {
    padding: 24px 0;
  }
  .mm-col:last-child {
    border-left: none;
    padding-left: 0;
  }
  .mm-img {
    max-height: 280px;
  }
}

@media (max-width: 768px) {
  .mega-menu {
    padding-top: calc(var(--shell-header-h, 72px) + 16px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
    max-height: 100vh;
  }
  @supports (height: 100dvh) {
    .mega-menu {
      max-height: 100dvh;
    }
  }
  #megaMenu .mm-img-wrap {
    display: block;
    min-height: 140px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
  }
  #megaMenu .mm-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
  .mm-col-title {
    margin-bottom: 18px;
    letter-spacing: 2px;
  }
  .mm-products {
    grid-template-columns: 1fr;
  }
  .mm-product:nth-child(-n + 2),
  .mm-product:nth-child(n + 3) {
    border-bottom: none;
    border-top: none;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .mm-product:first-child {
    padding-top: 0;
  }
  .mm-product:not(:last-child) {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
  }
  .mm-product-img {
    height: 168px;
  }
  .mm-close {
    right: max(16px, env(safe-area-inset-right, 0px));
    top: calc(var(--shell-header-h, 72px) * 0.28 + max(6px, env(safe-area-inset-top, 0px)));
    width: 40px;
    height: 40px;
  }
  .mm-link {
    min-height: 44px;
    padding: 10px 0;
    box-sizing: border-box;
  }

  #megaMenu .mm-col:nth-child(2) {
    border-top: 0.5px solid rgba(0, 0, 0, 0.12);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
    margin-top: 4px;
    margin-bottom: 4px;
  }
  #megaMenu .mm-product-info {
    min-width: 0;
    padding: 0 2px;
  }
  #megaMenu .mm-product-name {
    line-height: 1.28;
    overflow-wrap: anywhere;
  }
  #megaMenu .mm-product-sub {
    line-height: 1.35;
  }
  #megaMenu .mm-col:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  #megaMenu .mm-link {
    width: 100%;
    max-width: 100%;
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .mega-menu {
    padding-top: calc(var(--shell-header-h, 72px) + 10px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    row-gap: 18px;
  }
  @supports (height: 100dvh) {
    .mega-menu {
      max-height: 100dvh;
    }
  }
  .mm-col:nth-child(2) {
    padding-left: 0;
    padding-right: 0;
  }
  .mm-col-title {
    font-size: 12px;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
  }
  .mm-img {
    max-height: min(200px, 38vh);
  }
  .mm-product-img {
    height: 132px;
  }
  .mm-product-name {
    font-size: 13px;
  }
  .mm-product-sub {
    font-size: 11px;
  }
  .mm-link-text {
    font-size: 15px;
  }
  .mm-link-icon {
    font-size: 20px;
  }
  .mm-close {
    right: max(12px, env(safe-area-inset-right, 0px));
    top: calc(var(--shell-header-h, 72px) * 0.2 + max(4px, env(safe-area-inset-top, 0px)));
    width: 44px;
    height: 44px;
  }
  .mm-link {
    min-height: 46px;
    padding: 12px 0;
  }

  #megaMenu .mm-col:nth-child(2) {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  #megaMenu .mm-img-wrap {
    min-height: 120px;
  }
  #megaMenu .mm-product {
    padding: 12px 8px;
  }
  #megaMenu .mm-product-img {
    margin-bottom: 10px;
  }
  #megaMenu .mm-col-title {
    padding-right: 48px;
    box-sizing: border-box;
  }
}

@media (max-width: 390px) {
  #megaMenu {
    row-gap: 14px;
  }
  #megaMenu .mm-product-img {
    height: 108px;
  }
  #megaMenu .mm-img {
    max-height: min(168px, 32vh);
  }
  #megaMenu .mm-link-text {
    font-size: 14px;
  }
  #megaMenu .mm-link {
    gap: 10px;
    min-height: 48px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  #megaMenu .mm-col-title {
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 12px;
  }
}


.oc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100052;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.oc-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.oc-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 22%;
  min-width: min(440px, 100vw);
  max-width: 100vw;
  height: 100vh;
  z-index: 100053;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 500ms cubic-bezier(0.22, 0.74, 0.18, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #000 #e4e4e4;
  box-sizing: border-box;
}
.oc-panel::-webkit-scrollbar {
  width: 8px;
}
.oc-panel::-webkit-scrollbar-track {
  background: #e4e4e4;
}
.oc-panel::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 9999px;
}

.oc-panel.open {
  transform: translateX(0);
}

#ocPanel,
#ocPanel a {
  text-decoration: none;
}

.oc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 28px 20px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
}
.oc-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.oc-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #000;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  background: transparent;
  transition: background 0.2s ease;
}
.oc-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

.oc-cards {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.oc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 18px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background:
    radial-gradient(ellipse 78% 58% at 100% 100%, rgba(102, 169, 20, 0.048), transparent 54%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(200, 230, 130, 0.028), transparent 48%),
    #ffffff;
  opacity: 0;
  transform: translateX(30px);
  box-shadow: none;
  transition:
    opacity 400ms ease,
    transform 400ms cubic-bezier(0.22, 0.74, 0.18, 1),
    background 0.2s ease;
}
.oc-panel.open .oc-card.oc-visible {
  opacity: 1;
  transform: translateX(0);
}

.oc-card-img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  margin-bottom: 12px;
}
.oc-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
}
.oc-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.1px;
  text-align: center;
}
.oc-card-sub {
  font-size: 11.5px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.68);
}
.oc-card-arrow {
  margin-top: 10px;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.45);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.oc-card:hover .oc-card-arrow {
  color: rgba(0, 0, 0, 0.78);
  transform: translateX(3px);
}

.oc-card-stroke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.oc-card-stroke .oc-trace {
  fill: none;
  stroke: #000;
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0;
}

.oc-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: #000;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease;
  opacity: 0;
  transform: translateX(30px);
  flex-shrink: 0;
}
.oc-panel.open .oc-viewall.oc-visible {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 400ms ease,
    transform 400ms cubic-bezier(0.22, 0.74, 0.18, 1),
    background 0.25s ease;
}
.oc-viewall i {
  font-size: 18px;
  transition: transform 0.2s ease;
}
.oc-viewall:hover {
  background: #222;
}
.oc-viewall:hover i {
  transform: translateX(4px);
}

a.oc-viewall--link {
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
}

.oc-contact {
  position: relative;
  margin: 0;
  background: #0a0a0a;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 400ms ease,
    transform 400ms cubic-bezier(0.22, 0.74, 0.18, 1);
}
.oc-panel.open .oc-contact.oc-visible {
  opacity: 1;
  transform: translateX(0);
}
.oc-contact-img {
  width: 80%;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}
.oc-contact-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.2px;
}
.oc-contact-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.5;
}
.oc-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.oc-contact-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}
.oc-contact-btn i {
  font-size: 16px;
}

a.oc-contact-btn {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 480px) {
  .oc-panel {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  @supports (height: 100dvh) {
    .oc-panel {
      height: 100dvh;
      max-height: 100dvh;
    }
  }
  .oc-header {
    padding: 16px 4px 14px;
  }
  .oc-header-title {
    font-size: 12px;
    letter-spacing: 0.9px;
  }
  .oc-close {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .oc-card {
    padding: 16px 12px 14px;
  }
  .oc-card-img {
    height: 180px;
    margin-bottom: 10px;
  }
  .oc-card-name {
    font-size: 13px;
  }
  .oc-card-sub {
    font-size: 11px;
  }
  .oc-viewall {
    padding: 14px 18px;
    font-size: 12px;
  }
  .oc-contact {
    padding: 24px 16px 22px;
  }
  .oc-contact-title {
    font-size: 14px;
  }
  .oc-contact-sub {
    font-size: 11px;
  }
}
