@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,800&display=swap');

/* TEMEL YAPI ST?LLER? */
.containerProduct {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 85px 20px 40px;
  
  background: #fff;
  font-family: 'Poppins', sans-serif;
}


/* Panel ba?l??? i?in d?zenleme */
.panel-heading {
    position: relative; /* ??indeki ??eleri konumland?rabilmek i?in relative yap?yoruz */
}

/* Ok i?aretini tam sa? k??eye yasla */
.accordion-icon {
    position: absolute;
    right: 15px; /* Sa?dan 15px bo?luk b?rak */
    top: 50%; /* Dikey olarak ortala */
    transform: translateY(-50%); /* Tam ortalamak i?in */
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
}

/* A??ld???nda oku d?nd?r */
.accordion-open .accordion-icon {
    transform: translateY(-50%) rotate(180deg);
}


.modellogoimg {
    max-width:200px;
    max-height:150px;

}
/* ANA CONTAINER ST?LLER? */
/*.containerP {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 5%;
}*/
/* containerP i?indeki divleri 2 e?it par?aya b?ler */
.containerP {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 5%;
}

/* ??erideki 2 divin e?it olmas? i?in */
.UstImgbox, .details {
    flex: 1;
    padding: 20px;
}

/* UstImgbox i?indeki divleri de 2 e?it par?aya b?ler */
.UstImgbox {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* imgBx ve ProductImage'? yan yana koy - Animasyonlu Hareketli Amorf (S?v? Efekti) */
.imgBx {
    flex: 1;
    height: 80%;
    width: 50%;
    position: absolute;
    animation: sekil-degistir 5s ease-in-out infinite alternate;
}

/* Hareketli amorf blob animasyonu */
@keyframes sekil-degistir {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    100% {
        border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    }
}

.ProductImage {
    flex: 1;
    max-width: 100%;
    height: auto;
    position: absolute;
    display: block;
    transform: rotate(330deg);
}

.panel-body {
    max-height: 400px; /* Panel i?eri?i i?in maksimum y?kseklik */
    overflow-y: auto; /* ??erik s??mazsa kayd?rma ?ubu?u g?sterir */
}
.containerB {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  margin: 40px 0;
}

/* RES?M ALANI */

.containerP .imgBx img {
  max-width: 100%;
  height: auto;
 /* transform: rotate(-90deg);*/
  transition: transform 0.9s ease;
}

/* DETAY ALANI */
.containerP .details {
  flex: 1;
  
  padding-left:5px;
  
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* TEKNOLOJ? G?STER?M ALANI */

.tech-row {
    display: flex;
    flex-wrap: wrap; /* ??erik s??mazsa yeni sat?ra ge? */
    
    margin: 10px 0;
}

.tech-col {
    flex: 0 0 calc(16.66% - 20px); /* 6 kolon i?in her biri %16.66 geni?lik (bo?luklarla birlikte) */
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    margin: 10px; /* Elemanlar aras?nda bo?luk b?rak */
}

.tech-col-clickable {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-col-clickable:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

/* Ürün özelliği popup - menü (z-index: 9999) üzerinde */
#techDetailModal {
    z-index: 10050 !important;
}
#techDetailModal.modal {
    z-index: 10050 !important;
}
.modal-backdrop {
    z-index: 10040 !important;
}

.Tech-imgBox {
    
    height: 80px; /* Sabit y?kseklik ile daha k???k resimler */
    object-fit: contain; /* Resmin kutuya s??mas? i?in */
    margin-bottom: 10px; /* Resim ve yaz? aras? bo?luk */
}

.TexchImg-caption, .TechImg-Tipsize {
    font-size: 12px; /* Yaz? boyutunu k???lt */
    line-height: 1.4;
    min-height: 30px; /* Alt?nda kalan metin i?in uyumlu y?kseklik */
}

@media (max-width: 1024px) {
    .containerP .imgBx {
        display: none !important;
    }
    .tech-col {
        flex: 0 0 calc(20% - 20px); /* Daha k???k ekranlarda 5 kolon g?ster */ /* Daha k???k ekranlarda 5 kolon g?ster */
        
    }
}

@media (max-width: 768px) {
    .tech-col {
        flex: 0 0 calc(33.33% - 20px); /* Daha k???k ekranlarda 3 kolon g?ster */
    }
}

@media (max-width: 480px) {
    .tech-col {
        flex: 0 0 calc(50% - 20px); /* Mobil cihazlar i?in 2 kolon g?ster */
    }
}



/* RENK SE??M ALANI */
.colorlistte {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
}

.product-colors span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
}

/* CAROUSEL ST?LLER? */
.carousel {
  width: 100%;
  overflow-x: auto;
  padding: 20px 0;
}

.carousel__container {
  display: flex;
 
}

/*.carousel-item {
  flex: 0 0 120px;
  border-radius: 8px;
  overflow: hidden;

}*/

/* RESPONSIVE TASARIM */
@media (max-width: 992px) {
  .containerP {
    flex-direction: column;
    max-width: 95%;
  }
    .ProductImage {
        flex: 1;
        max-width: 100%;
        height: auto;
        position: absolute;
        display: block;
        transform: rotate(0deg);
    }
    .containerP .imgBx {
        width: 106%;
        padding: 35px;
    }
  
  .containerP .imgBx img {
    transform: rotate(0deg);
   
  }
}

@media (max-width: 768px) {
  .containerProduct {
    padding-top: 100px;
    gap: 20px;
  }
  
  .tech-col {
    flex: 0 0 calc(13% - 10px);
  }
  
  .product-colors span {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .containerP .details {
    padding: 20px;
  }
  
  
  
  /*.carousel-item {
    flex: 0 0 200px;
  }*/
}

/* ?ZEL EFEKTLER */
.product-colors .active {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

/*.containerP .imgBx:hover img {
    transform: rotate(-90deg) scale(1.05);
    position: fixed;
    top: 50%;
}*/
 .trigger:hover + .effect {
            background-color: darkred;
            transform: scale(1.1);
        }
/* GENEL ST?L D?ZENLEMELER? */
.ProductTitle h2 {
  font-size: 2.2rem;
  color: #333;
  margin: 10px 0;
}
.ProdcutH2 {
    letter-spacing:1px;
    font-size:24pt;
}


/* Ürün ilişkileri (uçlar, aksesuarlar) - Tek collapse içinde gruplar */
.relation-group-block {
    margin-bottom: 20px;
}
.relation-group-block:last-child {
    margin-bottom: 0;
}
.relation-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}
.relation-group-title .relation-type-icon {
    height: 20px;
    width: auto;
    vertical-align: middle;
}
/* Ürün ilişkileri listesi - yan yana, sığmazsa alt satıra geç */
.product-ends-content .color-picker-section,
.product-ends-content .relation-group-block {
    width: 100%;
    min-width: 0;
}
.product-ends-content .color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    min-width: 0;
}
.product-ends-content .relation-product-item.color-item {
    flex: 0 0 auto;
    width: 70px;
    min-width: 70px;
}
/* Uçlar - renkler gibi yan yana (color-list ile) */
.relation-product-item.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 3px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.relation-product-item.color-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0,123,255,0.2);
}
.relation-product-img-wrap {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.relation-product-img-wrap img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}
.relation-product-item .color-label {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
}
.relation-product-item .relation-tip-size {
    font-size: 0.75rem;
    color: #000000;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 2px;
}
.product-ends-content .relation-product-img-wrap {
    width: 50px;
    height: 50px;
    margin-bottom: 6px;
}
.product-ends-content .relation-product-img-wrap img {
    max-width: 50px;
    max-height: 50px;
}

.SelectColor {
  color: #444;
  font-weight: 600;
  margin-top: auto;
}

/*.TechImg-Tipsize {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
}*/