.mn-gender-products {
  box-sizing: border-box;
}

.e-con.e-flex > .e-con-inner:has(.mn-gender-products) {
  max-width: 1416px;
}

.mn-gender-products__heading {
  margin: 0 0 24px;
  font-family: "roc-grotesk-wide", sans-serif !important;
  font-size: 42px;
  line-height: 60px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.mn-gender-products__tabs {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
}

.mn-gender-products__tab {
  border: none;
  background: transparent;
  padding: 0;
  font-family: "roc-grotesk-wide", sans-serif !important;
  font-size: 24px;
  line-height: 1.2 !important;
  font-weight: 700;
  text-transform: uppercase;
  color: #f5f1e880;
  cursor: pointer;
  position: relative;
}

.mn-gender-products__tab.is-active {
  color: #f5f1e8;
}

.mn-gender-products__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: #c6ff39;
}

.mn-gender-products__panel {
  display: none;
}

.mn-gender-products__panel.is-active {
  display: block;
}

.mn-gender-products__desktop,
.mn-gender-products__mobile {
  overflow: visible;
}

.mn-gender-products__desktop.swiper,
.mn-gender-products__mobile.swiper {
  cursor: grab;
}

.mn-gender-products__desktop.swiper:active,
.mn-gender-products__mobile.swiper:active {
  cursor: grabbing;
}

.mn-gender-products__desktop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mn-gender-products__mobile {
  display: none;
}

.mn-gender-products .swiper-slide {
  height: auto;
}

.mn-gender-products__card {
  position: relative;
  min-height: 602px;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #161618;
}

.mn-gender-products__card-face {
  position: relative;
  min-height: 602px;
  height: 100%;
  background-color: #1a1a1a;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.mn-gender-products__card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.mn-gender-products__card-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 32px;
  margin: 0;
  font-family: "roc-grotesk-wide", sans-serif !important;
  font-size: 32px !important;
  line-height: 40px !important;
  font-weight: 700 !important;
  color: #ffffff;
  text-transform: uppercase;
  margin-right: 94px;
}

.mn-gender-products__plus {
  display: none;
}

.mn-gender-products__card-product {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  bottom: auto;
  height: 100%;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: #161618;
  padding: 24px 18px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.mn-gender-products__card:hover .mn-gender-products__card-product {
  opacity: 1;
  pointer-events: auto;
}

.mn-gender-products__card.is-overlay-taller .mn-gender-products__card-product {
  height: fit-content;
  width: 100%;
  max-width: 100%;
  bottom: auto;
  padding-bottom: 32px;
}

.mn-gender-products__card-close {
  position: absolute;
  right: 26px;
  top: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: none;
}

.mn-gender-products__card-close-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.mn-gender-products__product-title {
  margin: 0;
  font-family: "roc-grotesk-wide", sans-serif !important;
  font-size: 22px !important;
  line-height: 28px !important;
  font-weight: 700 !important;
  color: #fff;
  text-transform: uppercase;
}

.mn-gender-products__product-content {
  margin-top: auto;
  margin-bottom: 0;
  justify-self: flex-end;
}

.mn-gender-products__product-image img {
  max-width: 272px;
  max-height: 229px;
  width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  display: block;
}

.mn-gender-products__product-benefits {
  margin-bottom: 16px;
}

.mn-gender-products__product-benefits .mn-product-card__benefits-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mn-gender-products__product-benefits .mn-product-card__benefit {
  font-family: "roc-grotesk" !important;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px !important;
  line-height: 18px !important;
  font-weight: 500;
  color: #ffffff;
}

.mn-gender-products__product-benefits .mn-product-card__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0;
}

.mn-gender-products__product-price,
.mn-gender-products__product-price .amount,
.mn-gender-products__product-price .woocommerce-Price-amount {
  font-family: "roc-grotesk", sans-serif !important;
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #f5f1e8;
  text-transform: uppercase;
}

.mn-gender-products__product-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
}

.mn-gender-products__btn {
  font-family: "roc-grotesk", sans-serif !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 137px;
  min-height: 36px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid #658072;
  transition: opacity 0.2s ease;
  padding: 8px 34px;
}

.mn-gender-products__btn--primary {
  background: #658072;
  color: #161618 !important;
}

.mn-gender-products__btn--ghost {
  background: transparent !important;
  color: #658072 !important;
}

.mn-gender-products .mn-products__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 991px) {
  .mn-gender-products .mn-products__pagination {
    margin-top: 39px;
    min-height: 10px;
  }
}

.mn-gender-products .mn-products__pagination__viewport {
  width: 88px;
  overflow: hidden;
  min-height: 14px;
}

.mn-gender-products .mn-products__pagination__track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.mn-gender-products .mn-products__dot {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #c6ff39;
  opacity: 0.2;
  transition:
    opacity 0.25s,
    width 0.25s,
    height 0.25s,
    border-radius 0.25s;
}

.mn-gender-products .mn-products__dot.is-active {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  opacity: 1;
}

.mn-gender-products .mn-products__dot.is-neighbor {
  opacity: 0.45;
}

.mn-gender-products .mn-products__dot:hover {
  opacity: 0.35;
}

.mn-gender-products .mn-products__dot.is-active:hover {
  opacity: 1;
}

.mn-gender-products .mn-products__pagination__track .mn-products__dot:nth-child(3) {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 60%);
  mask-image: linear-gradient(to right, transparent 0%, #000 60%);
  transition:
    opacity 0.25s,
    width 0.25s,
    height 0.25s,
    border-radius 0.25s,
    -webkit-mask-image 0.25s,
    mask-image 0.25s;
}

.mn-gender-products .mn-products__pagination__track .mn-products__dot:nth-child(7) {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 60%);
  mask-image: linear-gradient(to left, transparent 0%, #000 60%);
  transition:
    opacity 0.25s,
    width 0.25s,
    height 0.25s,
    border-radius 0.25s,
    -webkit-mask-image 0.25s,
    mask-image 0.25s;
}

.mn-gender-products .mn-products__pagination__track.is-going-next .mn-products__dot:nth-child(7) {
  -webkit-mask-image: none;
  mask-image: none;
}

.mn-gender-products .mn-products__pagination__track.is-going-prev .mn-products__dot:nth-child(3) {
  -webkit-mask-image: none;
  mask-image: none;
}

@media (max-width: 991px) {
  .mn-gender-products__heading {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 16px;
  }

  .mn-gender-products__tabs {
    gap: 24px;
    margin-bottom: 24px;
    padding-left: 8px;
  }

  .mn-gender-products__tab {
    font-size: 20px !important;
    line-height: 30px !important;
  }

  .mn-gender-products__desktop {
    display: none;
  }

  .mn-gender-products__mobile {
    display: block;
  }

  .mn-gender-products__card,
  .mn-gender-products__card-face {
    min-height: 485px;
    border-radius: 20px;
  }

  .mn-gender-products__card {
    height: auto;
  }

  .mn-gender-products__card-face {
    height: 100%;
  }

  .mn-gender-products__card-title {
    left: 16px;
    right: 16px;
    bottom: 32px;
    font-size: 24px !important;
    line-height: 1.2 !important;
  }

  .mn-gender-products__plus {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
  }

  .mn-gender-products__plus-icon {
    width: 48px;
    height: 48px;
    display: block;
  }

  .mn-gender-products__card-product {
    transform: none;
    height: 100%;
  }

  .mn-gender-products__card:hover .mn-gender-products__card-product {
    opacity: 0;
    pointer-events: none;
  }

  .mn-gender-products__card.is-open .mn-gender-products__card-product {
    opacity: 1;
    pointer-events: auto;
  }

  .mn-gender-products__card-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mn-gender-products__product-title {
    margin: 0 44px 0 0;
  }

  .mn-gender-products__product-benefits .mn-product-card__check {
    margin-top: 0;
  }

  .mn-gender-products__product-price,
  .mn-gender-products__product-price .amount,
  .mn-gender-products__product-price .woocommerce-Price-amount {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 18px;
  }

  .mn-gender-products__product-actions {
    gap: 9px;
    justify-content: center;
  }

  .mn-gender-products__btn {
    min-width: 137px;
    height: 36px;
    font-size: 14px;
    line-height: 20px;
    padding: 0 12px;
  }
}

/* ------------------------------------------------------------------
   Women accent color overrides
   ------------------------------------------------------------------ */
.mn-gender-products__tab[data-mn-gender-tab="women"].is-active::after {
  background: #7f4ac0;
}

.mn-gender-products__panel[data-mn-gender-panel="women"] .mn-gender-products__btn {
  border-color: #7f4ac0;
}

.mn-gender-products__panel[data-mn-gender-panel="women"] .mn-gender-products__btn--primary {
  background: #7f4ac0;
}

.mn-gender-products__panel[data-mn-gender-panel="women"] .mn-gender-products__btn--ghost {
  color: #7f4ac0 !important;
}

.mn-gender-products__panel[data-mn-gender-panel="women"] .mn-products__dot {
  background: #7f4ac0;
}
