/* sağ mesh: ekranın üstte görünen kısmını tamamen kaplasın */
/* sağ mesh: üstte görünen alanı TAM kaplasın */
.products-hero__mesh{
  position: fixed;
  top: 0;
  right: 0;
  width: 46%;
  height: 100dvh;        /* <-- modern tarayıcılar */
  min-height: 100vh;     /* <-- garanti */
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  opacity: .92;
  pointer-events: none;
  z-index: 1;            /* arka plan katmanı */
}


.product-detail{
  background: #0b1f3a;
  color: #fff;
}

.product-detail-hero{
  position: relative;
  background: #0b1f3a;
  padding: 150px 0 90px;
  overflow: hidden;
}

.product-detail-hero__soft{
  position: absolute;
  top: 30px;
  left: 0;
  width: 70%;
  height: 420px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left top;
  opacity: .03;
  pointer-events: none;
  z-index: 0;
}

.product-detail-hero__inner{
  width: min(1320px, calc(100% - 120px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.product-detail-hero__top{
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  position: relative;
}

.product-detail-hero__content{
  position: relative;
  z-index: 3;
  max-width: 390px;
}

.product-detail-hero__title{
  margin: 0 0 22px 0;
  font-size: clamp(56px, 5vw, 88px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -1px;
}

.product-detail-hero__title span{
  display: block;
}

.product-detail-hero__desc{
  margin: 0;
  max-width: 330px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}

.product-detail-hero__media{
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  min-height: 420px;
}

.product-detail-hero__media img{
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.product-detail-hero__tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  margin-bottom: 36px;
}

.product-detail-hero__tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.product-detail-hero__tab:hover,
.product-detail-hero__tab.is-active{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.28);
}

.product-detail-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-detail-card{
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  background: #1d2f52;
  border-radius: 28px;
  overflow: hidden;
  min-height: 395px;
}

.product-detail-card__media{
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 26px 0;
}

.product-detail-card__media img{
  max-width: 70%;
  max-height: 140px;
  object-fit: contain;
  display: block;
}

.product-detail-card__body{
  padding: 12px 36px 38px;
}

.product-detail-card__code{
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.product-detail-card__name{
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: #fff;
}

.product-detail-card__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.product-detail-card__tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #162c57;
  font-size: 13px;
  font-weight: 600;
  color: #dfe8ff;
}

.product-detail-card__arrow{
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #162c57;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 1200px){
  .product-detail-hero__inner{
    width: min(1320px, calc(100% - 60px));
  }

  .product-detail-hero__top{
    grid-template-columns: 1fr;
  }

  .product-detail-hero__content{
    max-width: 100%;
  }

  .product-detail-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px){
  .product-detail-hero{
    padding: 120px 0 70px;
  }

  .product-detail-hero__inner{
    width: min(1320px, calc(100% - 40px));
  }

  .product-detail-hero__title{
    font-size: 44px;
  }

  .product-detail-hero__media{
    min-height: 260px;
  }

  .product-detail-hero__media img{
    min-height: 260px;
  }

  .product-detail-grid{
    grid-template-columns: 1fr;
  }

  .product-detail-card{
    min-height: 340px;
  }
}


/* CTA SECTION */

.products-cta{
  padding: 80px 0 120px;
}

.products-cta__inner{
  width: min(1200px, calc(100% - 120px));
  margin: 0 auto;
}

.products-cta__card{
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  height: 480px;
}

/* background image */

.products-cta__bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.products-cta__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.6s ease;
}

/* overlay */

.products-cta__overlay{
  position: absolute;
  inset: 0;
  background: rgba(10,30,70,0.55);
  transition: background .5s ease;
}

/* hover effects */

.products-cta__card:hover .products-cta__bg img{
  transform: scale(1.08);
}

.products-cta__card:hover .products-cta__overlay{
  background: rgba(5,18,50,0.72);
}

/* content */

.products-cta__content{
  position: relative;
  z-index: 3;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 40px;
}

.products-cta__title{
  margin: 0 0 12px 0;
  font-size: clamp(28px,2.6vw,40px);
  font-weight: 600;
  color: rgba(255,255,255,.95);
}

.products-cta__text{
  max-width: 520px;
  margin: 0 0 28px 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}

.products-cta__actions{
  display: flex;
  align-items: center;
  gap: 14px;
}

.products-cta__btn{
  padding: 14px 28px;
  border-radius: 40px;
  background: #0e2245;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s ease;
}

.products-cta__btn:hover{
  background: #142f66;
}

.products-cta__arrow{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,30,70,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}

.products-cta__arrow:hover{
  transform: translateY(-2px);
  background: rgba(10,30,70,1);
}

/* responsive */

@media (max-width:900px){

  .products-cta__inner{
    width: calc(100% - 40px);
  }

  .products-cta__card{
    height: 320px;
  }

}