.ws-mega-menu-poc {
  margin: 0 clamp(16px, 4vw, 50px);
  width: auto;
  position: relative;
  z-index: 120;
  background: #ffffff;
}

.ws-mega-menu-poc__inner {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.ws-mega-menu-poc__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 14px);
  overflow-x: visible;
  overflow-y: hidden;
  padding: 0;
  position: relative;
}

.ws-mega-menu-poc__tab {
  border: 0;
  background: transparent;
  color: #364153;
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 500;
  line-height: 1;
  padding: clamp(2px, 0.4vw, 5px) clamp(3px, 0.5vw, 6px);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: clamp(3px, 0.5vw, 6px);
  text-transform: none;
  letter-spacing: normal;
}

.ws-mega-menu-poc__tab.is-active {
  color: #364153;
}

.ws-mega-menu-poc__tab.has-children::after {
  content: '';
  position: static;
  width: 8px;
  height: 8px;
  border-right: 2px solid #7a8595;
  border-bottom: 2px solid #7a8595;
  transform: rotate(45deg);
  margin-top: 0;
}

.ws-mega-menu-poc__tab:hover {
  color: #f97316;
  background: transparent;
}

.ws-mega-menu-poc__tab.has-children:hover::after,
.ws-mega-menu-poc__tab.has-children:focus-visible::after,
.ws-mega-menu-poc:hover .ws-mega-menu-poc__tab.has-children.is-active::after,
.ws-mega-menu-poc:focus-within .ws-mega-menu-poc__tab.has-children.is-active::after {
  border-right-color: #f97316;
  border-bottom-color: #f97316;
  transform: rotate(-135deg);
  margin-top: 0;
}

.ws-mega-menu-poc__tab:focus-visible {
  color: #f97316;
  background: transparent;
  outline: none;
}

.ws-mega-menu-poc__tab.is-active,
.ws-mega-menu-poc__tab:active {
  background: transparent;
}

.ws-mega-menu-poc__shop-all {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(34px, 3vw, 44px);
  padding: 0 clamp(10px, 1.6vw, 22px);
  border-radius: 6px;
  background: #8eb52f;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  right: auto;
  top: auto;
  transform: none;
}

.ws-mega-menu-poc__shop-all:hover,
.ws-mega-menu-poc__shop-all:focus-visible {
  background: #7da229;
  color: #ffffff;
}

.ws-mega-menu-poc__panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 130;
  background: #ffffff;
  margin: 0;
  border-top: 2px solid #f97316;
  border-left: 1px solid #e6e8ee;
  border-right: 1px solid #e6e8ee;
  border-bottom: 1px solid #e6e8ee;
  box-shadow: 0 10px 24px rgba(15, 23, 41, 0.06);
}

.ws-mega-menu-poc__panel.is-active {
  display: none;
}

.ws-mega-menu-poc:hover .ws-mega-menu-poc__panel.is-active,
.ws-mega-menu-poc:focus-within .ws-mega-menu-poc__panel.is-active {
  display: block;
}

.ws-mega-menu-poc__panel-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 280px;
}

.ws-mega-menu-poc__left {
  border-right: 1px solid #edf1f7;
  padding: 14px 0;
  background: #f2f4f7;
}

.ws-mega-menu-poc__left-heading {
  color: #96a0ae;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 22px 14px;
}

.ws-mega-menu-poc__left ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-mega-menu-poc__left li a {
  display: block;
  color: #243449;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  padding: 11px 34px 11px 22px;
  position: relative;
}

.ws-mega-menu-poc__left li a::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #b9c0ca;
  border-bottom: 2px solid #b9c0ca;
  transform: translateY(-50%) rotate(-45deg);
}

.ws-mega-menu-poc__left li.is-active a,
.ws-mega-menu-poc__left li a:hover {
  color: #ea580c;
  background: #ffffff;
  border-right: 3px solid #f97316;
}

.ws-mega-menu-poc__left li.is-active a::after,
.ws-mega-menu-poc__left li a:hover::after {
  border-right-color: #f97316;
  border-bottom-color: #f97316;
}

.ws-mega-menu-poc__cards {
  display: block;
  padding: 20px;
}

.ws-mega-menu-poc__cards-group {
  display: none;
  position: relative;
}

.ws-mega-menu-poc__cards-group.is-active {
  display: block;
}

.ws-mega-menu-poc__cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 16px;
}

.ws-mega-menu-poc__cards-heading {
  font-size: 14px;
  font-weight: 700;
  color: #2a3342;
  margin: 0;
}

.ws-mega-menu-poc__cards-view-all {
  color: #f97316;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ws-mega-menu-poc__cards-view-all::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.ws-mega-menu-poc__cards-view-all:hover,
.ws-mega-menu-poc__cards-view-all:focus-visible {
  color: #ea580c;
}

.ws-mega-menu-poc__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  align-content: start;
  position: relative;
}

.ws-mega-menu-poc__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  text-decoration: none;
  color: #162338;
  border: 1px solid #e4e8ef;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.ws-mega-menu-poc__card-item {
  position: relative;
  height: 100%;
}

.ws-mega-menu-poc__card-item.has-children::before {
  content: '';
  display: none;
  position: absolute;
  left: 100%;
  top: -10px;
  width: 22px;
  height: calc(100% + 20px);
  z-index: 11;
}

.ws-mega-menu-poc__card-item.has-children.is-left::before {
  left: auto;
  right: 100%;
}

.ws-mega-menu-poc__card-item.has-children .ws-mega-menu-poc__card-title::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  margin-bottom: 2px;
  border-right: 2px solid #7a8595;
  border-bottom: 2px solid #7a8595;
  transform: rotate(45deg);
}

.ws-mega-menu-poc__card-item.has-children:hover .ws-mega-menu-poc__card-title::after,
.ws-mega-menu-poc__card-item.has-children:focus-within .ws-mega-menu-poc__card-title::after {
  border-right-color: #f97316;
  border-bottom-color: #f97316;
}

.ws-mega-menu-poc__flyout {
  display: none;
  position: absolute;
  left: calc(100% + 14px);
  top: 0;
  width: min(560px, 62vw);
  min-height: 0;
  background: #ffffff;
  border: 1px solid #e6e8ee;
  box-shadow: 0 12px 28px rgba(15, 23, 41, 0.12);
  border-radius: 8px;
  padding: 12px;
  z-index: 12;
}

.ws-mega-menu-poc__card-item.has-children.is-left .ws-mega-menu-poc__flyout {
  left: auto;
  right: calc(100% + 14px);
}

.ws-mega-menu-poc__card-item.has-children:hover .ws-mega-menu-poc__flyout,
.ws-mega-menu-poc__card-item.has-children:focus-within .ws-mega-menu-poc__flyout {
  display: block;
}

.ws-mega-menu-poc__card-item.has-children:hover::before,
.ws-mega-menu-poc__card-item.has-children:focus-within::before {
  display: block;
}

.ws-mega-menu-poc__flyout-header {
  font-size: 14px;
  font-weight: 700;
  color: #1f2d42;
  margin-bottom: 12px;
}

.ws-mega-menu-poc__flyout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}

.ws-mega-menu-poc__flyout-grid .ws-mega-menu-poc__card {
  height: 100%;
}

.ws-mega-menu-poc__card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f6;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid #e4e8ef;
  overflow: hidden;
}

.ws-mega-menu-poc__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-mega-menu-poc__card-placeholder {
  width: 72%;
  height: 72%;
  border-radius: 8px;
  background: linear-gradient(135deg, #d8e0ec 0%, #eef2f8 100%);
}

.ws-mega-menu-poc__card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  min-height: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px 8px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .ws-mega-menu-poc {
    display: none;
    z-index: auto;
  }

  .ws-mega-menu-poc__tabs {
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 0px 0;
  }

  .ws-mega-menu-poc__tab {
    font-size: 15px;
    line-height: 1.2;
    padding: 8px 6px;
  }

  .ws-mega-menu-poc__tab.has-children::after {
    width: 7px;
    height: 7px;
  }

  .ws-mega-menu-poc__shop-all {
    position: static;
    transform: none;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .ws-mega-menu-poc__panel,
  .ws-mega-menu-poc__panel.is-active {
    position: static;
    margin: 0;
    display: none;
  }

  .ws-mega-menu-poc__panel.is-active {
    display: block;
  }

  .ws-mega-menu-poc__panel-grid {
    grid-template-columns: 1fr;
  }

  .ws-mega-menu-poc__cards-heading {
    font-size: 14px;
  }

  .ws-mega-menu-poc__cards-header {
    margin-bottom: 12px;
  }

  .ws-mega-menu-poc__flyout {
    position: static;
    width: 100%;
    min-height: 0;
    margin-top: 10px;
    box-shadow: none;
  }

  .ws-mega-menu-poc__flyout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-mega-menu-poc__left {
    border-right: 0;
    border-bottom: 1px solid #edf1f7;
  }
}
