/* Homepage product section matching Mecary reference */
.template-home .home-product-show {
  position: relative;
  overflow: hidden;
  padding: 82px 0 96px;
  background:
    radial-gradient(circle at 72% 34%, rgba(35, 132, 255, 0.36), transparent 32%),
    radial-gradient(circle at 18% 34%, rgba(2, 44, 120, 0.7), transparent 38%),
    linear-gradient(135deg, #063374 0%, #0957b4 48%, #1276df 100%);
}

.template-home .home-product-show::before {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0.16;
  background:
    repeating-radial-gradient(ellipse at 82% 36%, transparent 0 46px, rgba(255,255,255,.22) 47px 48px),
    repeating-radial-gradient(ellipse at 16% 36%, transparent 0 58px, rgba(255,255,255,.15) 59px 60px);
  pointer-events: none;
}

.template-home .home-product-show .container {
  position: relative;
  z-index: 1;
}

.template-home .home-product-show .home-section-title {
  margin-bottom: 44px;
  text-align: center;
}

.template-home .home-product-show .section-eyebrow {
  margin-bottom: 14px;
  color: #ff9f2f;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .1em;
}

.template-home .home-product-show .home-section-title h2 {
  margin: 0;
  color: #fff;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.12;
}

.template-home .home-product-show .home-section-title h2 span {
  color: #fff;
}

.template-home .home-product-show .home-section-title p {
  margin: 16px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  font-weight: 700;
}

.template-home .product-show-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: start;
}

.template-home .product-menu {
  min-height: 648px;
  overflow: hidden;
  border-left: 8px solid #ff9f2f;
  border-radius: 20px;
  background: rgba(5, 43, 103, .9);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.template-home .product-menu h3,
.template-home .product-menu a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 20px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.template-home .product-menu h3 {
  min-height: 74px;
  justify-content: flex-start;
  font-size: 24px;
  font-weight: 900;
}

.template-home .product-menu a:nth-of-type(2),
.template-home .product-menu a:hover {
  background: linear-gradient(90deg, #0f73f0, #157de7);
}

.template-home .product-show-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.template-home .product-show-grid article {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #eef6ff 100%);
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
  transition: transform .25s ease, box-shadow .25s ease;
}

.template-home .product-show-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,.24);
}

.template-home .product-show-grid article::before {
  content: none;
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  color: #1266d4;
  font-size: 13px;
  font-weight: 800;
}

.template-home .product-show-grid article::after {
  content: "";
  position: absolute;
  top: 47px;
  left: 24px;
  width: 23px;
  height: 3px;
  border-radius: 99px;
  background: #ff9f2f;
}

.template-home .product-show-grid a {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  justify-content: flex-end;
}

.template-home .product-show-grid img {
  width: 100%;
  height: 215px;
  padding: 48px 24px 10px;
  object-fit: contain;
}

.template-home .product-show-grid h3 {
  margin: 0;
  padding: 6px 18px 28px;
  color: #082b67;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.template-home .product-more-wrap {
  margin-top: 50px;
  text-align: center;
}

.template-home .product-more-wrap .btn {
  min-width: 144px;
  height: 42px;
  min-height: 42px;
  color: #fff;
  background: linear-gradient(90deg, #ff9f2f, #ff8b12);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

@media (max-width: 980px) {
  .template-home .product-show-layout {
    grid-template-columns: 1fr;
  }

  .template-home .product-menu {
    min-height: 0;
  }

  .template-home .product-show-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .template-home .home-product-show .home-section-title h2 {
    font-size: 32px;
  }

  .template-home .product-show-grid {
    grid-template-columns: 1fr;
  }
}
