#content:has(#category-detail-products) {
    padding-top: 0px;
}


#category-detail-products .detail-product-title,
#category-detail-products .detail-category-product-title{
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding: 0px;
}

#category-detail-products .detail-category-product-data-text-div-container:first-of-type {
    padding-top: 70px;
    background-color: #F7F7F7;
}

#category-detail-products .detail-category-product-data-text-div,
#category-detail-products .detail-reference-data-text-div-gallery,
#category-detail-products .detail-category-product-data-text-div-gallery {
    padding-bottom: 44px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
    max-width: 1200px;
    padding-top: 70px;
}
        
#category-detail-products .detail-category-product-data-text-div-with-image {
   display: flex;
   gap: 50px;
}

#category-detail-products img {
    object-fit: contain;
    /* width: 100%; */
    height: fit-content;
}

#category-detail-products .description a[href$=".pdf"]:after {
    content: "\f1c1"; 
    font-family: FontAwesome;
    margin-left: 5px;
    color: #ff0000;
}

#category-detail-products .description a[href$=".pdf"] {
    color: #000000;
}

#category-detail-products .description a[href$=".pdf"]:hover {
    color: #ff0000;
}

#category-detail-products .description ol,
#category-detail-products .description ul {
    margin-left: 42px;
}

#category-detail-products .upload-files {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#category-detail-products .upload-files a {
    color: #000000;
}

#category-detail-products .red {
    color: #ff0000;
    margin-left: 8px;
}

#category-detail-products .upload-files a:hover {
    color: #ff0000;
}


#category-detail-products .detail-product-title{
    color: #363C3F;
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

#category-detail-products .category-product-detail-svg-line{
    margin-bottom: 10px;
}

#category-detail-products .mobile{
    display: none;
}

#category-detail-products .detail-category-product-div-text-with-image{
    display: flex;
    flex-direction: row-reverse;
    gap: 75px;
}

#category-detail-products .even{
    flex-direction: row;
}

#category-detail-products .detail-category-product-data-text-div-1{
    max-width: 590px;
    width: 100%;
}

#category-detail-products .detail-category-product-title{
    color: #363C3F;
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

/* #category-detail-products .detail-category-products-whole-div-container2{
    padding: 20px;
} */

#category-detail-products .detail-category-products-whole-div{
    display: flex;
    flex-direction: column;
    max-width: 1170px;
    width: 100%;
    gap: 50px
}

/* #category-detail-products .detail-category-products-whole-div p,
#category-detail-products .detail-category-products-whole-div ul{
  padding: 0px;
  margin: 0px;
  font-weight: 400;
} */

#category-detail-products .detail-category-products-image-div{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-height: 100%; 
    max-width: 505px;
    width: 100%;
}

#category-detail-products .detail-category-products-image-div-2{
    display: flex;
    /* flex-direction: column; */
    gap: 30px;
    max-height: 495px;
}

#category-detail-products .image-container {
    position: relative;
    width: 100%;
    max-width: 368px;
    height: 495px;
    cursor: pointer;
}

#category-detail-products .detail-category-products-image-div-2 .image-container {
    height: 112px;
}
  
#category-detail-products .image-container img {
  object-fit: cover;
}

#category-detail-products .image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 214, 49, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: background 0.5s ease, opacity 0.5s ease;
}
  

#category-detail-products .image-container:hover .overlay {
    background: rgba(255, 214, 49, 0.7);
    opacity: 1;
}
  
#category-detail-products .image-1{
    max-width: 100%;
    max-height: 100%;
    width: 368px;
    height: 495px;
    object-fit: cover;
}

#category-detail-products .image-2{
  max-width: 100%;
  max-height: 100%;
  width: 150px;
  height: 112px;
  object-fit: cover;
}

#category-detail-products .detail-category-product-swiper-zoom-div{
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  max-height: 100%;
  background-color: #363C3F;
  z-index: 9999;
  overflow-y: hidden;
  padding: 30px;
}

#category-detail-products .swiper-open{
    display: block;
}

#category-detail-products .swiper-close-cross{
  position: absolute;
  top: 26px;
  right: 26px;
  cursor: pointer;
  z-index: 10;
}

#category-detail-products .detail-category-product-swiper-with-arrows{
  display: flex;
  align-items: center;
}

#category-detail-products  .svg-prev-arrow{
  position: absolute !important;
  top: 40% !important;
  left: 84px !important;
}

#category-detail-products  .svg-next-arrow{
  position: absolute !important;
  top: 40% !important;
  right: 84px !important;
}

#category-detail-products .swiper-button-prev:after, #category-detail-products .swiper-button-next:after {
  content: '' !important;
}
  
#category-detail-products .swiper-container .mySwiper2 {
  max-width: 1920px;
  width: auto;
  height: calc(100vh - 200px);
  padding-bottom: 40px;
}

#category-detail-products .swiper-container .mySwiper{
  max-width: 1000px;
  width: fit-content;
  height: 20%;
}

#category-detail-products div.swiper-slide:hover:before {
  background: none !important;
}

#category-detail-products .mySwiper2 .swiper-slide-activ  {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#category-detail-products .mySwiper img{
  max-height: 145px !important;
  height: 100% !important;
  width: auto;
  object-fit: cover;
}

#category-detail-products .mySwiper .swiper-slide{
  width: fit-content !important;
}

#category-detail-products .mySwiper2 img{
  max-width: 100%; 
  max-height: 100%; 
  width: auto; 
  height: auto; 
  object-fit: contain !important;
  
}

#category-detail-products .swiper-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#category-detail-products .no-gallery {
    max-width: none;
}

@media (max-width: 1280px) {
    #category-detail-products .detail-category-product-data-text-div-with-image {
        flex-direction: column-reverse;
        /* gap: 50px; */
    }

    #category-detail-products .detail-category-product-data-text-div-container:first-of-type {
        padding-top: 0px;
    }

    #category-detail-products .detail-category-product-data-text-div {
        padding-top: 15px;
    }
  
}

@media (max-width: 1000px) {
   
    #category-detail-products .detail-category-product-div-text-with-image{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 46px;
    }

    #category-detail-products .detail-category-product-data-text-div-1{
        max-width: none;
        width: 100%;
    }

    #category-detail-products .detail-category-product-title{
        margin-bottom: 12px !important;
    }

    #category-detail-products .detail-category-products-whole-div{
        gap: 30px
    }

    /* #category-detail-products .detail-category-products-image-div-2{
        display: none;
    } */

    #category-detail-products .swiper-close-cross{
        top: 0px;
        right: 0px;
    }
      
    #category-detail-products  .svg-prev-arrow{
        left: 5px !important;
    }
    
    #category-detail-products  .svg-next-arrow{
        right: 5px !important;
    }
}

@media (max-width: 600px) {

    
    #category-detail-products .mobile{
      display: block;
    }
  
    #category-detail-products .desktop{
      display: none;
    }

    #category-detail-products .detail-category-product-title{
        white-space: pre-line;
    }

    #category-detail-products .detail-category-products-image-div{
        display: block;
        width: 345px;
    }

    /* #category-detail-products .detail-category-products-image-div-2{
        display: none;
    } */

    #category-detail-products  .swiper-container .mySwiper2 {
      height: calc(100vh - 108px);
      padding-bottom: 0px;
    }

    #category-detail-products  .mySwiper img{
      max-height: 60px !important;
    }

    #category-detail-products .detail-reference-data-text-div-gallery{
        padding-top: 50px;
    }

}