.detay_item{
    display: flex;
    justify-content: space-between;
}

.detay_title_img{
  width: 150px;
  height: 200px;
}


.detay_kateqori h1{
  color: #0a3d62;
  padding: 10px 0;
  /* border: 2px dashed #0a3d62; */
  margin-bottom: 20px;
  font-size: 24px;
}

.detay_kateqori{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.detay_kateqori img{
  width: 100px;
}

.detay_info_all{
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #0a3d62;
  margin-bottom: 15px;
}

.detay_info_all img{
    width: 138px;
    height: 76px;
}

.detay_info{
    width: 70%;
    /* border: 1px solid red; */
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: white;
}

.detay_info .detay_title{
    padding: 5px 0;
    color: #0a3d62;
}

.detay_sag{
    width: 25%;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    padding: 10px;
    background-color: white;
}

.detay_sag h2{
    padding: 10px 0;
    border-bottom: 1px solid #0a3d62;
    margin-bottom: 10px;
    color: #0a3d62;

}

.detay_sag .detay_cart_imgs{
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 5px;
    border-radius: 8px;
    flex-shrink: 0;
}

.detay_sag .detay_cart{
    display: flex;
    /* box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px; */
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
    padding: 5px;
    transition: all 0.2s ease;
    color: black;
    border-radius: 8px;
}

.detay_sag .detay_cart:hover{
    transform: scale(1.02);
}

.detay_sag .detay_cart_text{
    position: relative;
}

.detay_sag .detay_cart_items{
    display: flex;
    flex-direction: column;
    gap: 15px;

}

.detay_sag .detay_cart_date{
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
}

.detay_body .detay_img{
    width: 50%;
    float: left;
    margin-right: 15px;
}

.detay_body p{
  line-height: 26px;
}

.detay_body .detay_text{
    text-align: justify;
}

.detay_cart .detay_cart_text p{
    height: 46px;
    overflow: hidden;
    line-height: 15px;
    font-size: 15px;
}

.detay_body .detay_share{
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.detay_body .detay_share a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid #0a3d62;
    border-radius: 50%;
    color: #0a3d62;
    transition: all 0.2s ease;
}

.detay_body .detay_share a:hover{
    background-color: #0a3d62;
    color: white;
}

.detay_share_items{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detay_share_items span{
    color: #0a3d62;
}

/* slider start */

.-detail-slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.slider {
  position: relative;
  width: 100%;
  /* max-width: 700px; */
  aspect-ratio: 16/9; 
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  z-index: 2;
}
.btn:hover {
  background: rgba(0,0,0,0.7);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: #333;
}

.detay_qalari{
  display: flex;
  justify-content: center;
}

.btn_button{
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* Kiçik ekran üçün */
@media (max-width: 480px) {
  .btn {
    font-size: 18px;
    padding: 6px;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .detail-slider-container{
    height: 255px !important;
  }

  .detail-slider-container>div{
    max-width: 365px !important;
    height: 245px !important;
  }
}

/* slider end */

@media (max-width:800px){
    .detay_item{
    flex-direction: column;
    
    }
    .detay_info{
    width: 100%;
    }

    .detay_body .detay_img{
    width: 100%;
    margin-bottom: 10px;
    }

    .detay_sag{
    width: 100%;
    }

    .detay_info_all img{
      display: none;
    }
}

