

.ot-back{
  width: 100%;
  background-color: white;
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-grid{
  max-width: 1440px;
    width: 100%;
    display: flex;
    padding: 50px 20px;
    background-color: white;
}

.outer-container{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    position: sticky;
    top: 50px;
}

.slider {
    width: 500px;
    height: 500px;
    position: sticky;
    top: 85px;
  }

  #prev , #next{
    border: none;
    position: absolute;
    background-color: white;
    z-index: 1000000000;
    width: auto;
    height: auto;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  #prev{
    left: -8px;
    top: 50%;
    border-radius: 0px 50px 50px 0px;
   
  }

  #next{
    right: -8px;
    top: 50%;
    border-radius: 50px 0px 0px 50px;
  }

  #prev svg{
    width: 10px;
    height: auto;
    margin-right: 5px;
  }

  #next svg{
    width: 10px;
    height: auto;
    margin-left: 5px;
  }


  .wrapperx {
    overflow: hidden;
    position: relative;
    background: #222;
    z-index: 1;
  }
  #items {
    width: 10000px;
    position: relative;
    top: 0;
    left: -500px;
  }
  #items.shifting {
    transition: left .2s ease-out;
  }
  .slide {
    width: 500px;
    height: 500px;
    cursor: pointer;
    float: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 1s;
    position: relative;
    background: #ffffff;
  }

  .dots {
    display: flex;
    justify-content: center;
    margin-top: 5px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .dot.active {
    background-color: #555;
  }

  .product-right{
    /* height: 800px; */
    height: auto;
    flex: 1;
    position: relative;
  }

  .product-details{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
  }

  .product-name{
    max-width: 90%;
  }

  .product-namebrand .product-name h1{
     font-size: 2rem;
     font-weight: 400;
     margin-bottom: 15px;
     text-align: start;
  }

  .product-namebrand .product-brand h2{
    font-size: 1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 3px;
  }

  .product-namebrand .product-brand h2 a{
    text-decoration: none;
    color: black;
  }

  .product-namebrand .product-brand h2 .tag{
    /* background-color: rgb(245, 245, 245);
    border-radius: 30px;
    padding: 3px 9px;
    margin-left: 10px;
    color: black;
    border: 0.5px solid #555; */
    /* margin-left: 4px; */

  }

  /* .product-namebrand .product-brand h2 .tag::before{
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    background-color: #282d23;
    border-radius: 50%;
    margin-right: 2px;
    margin-bottom: 2px;
  } */

  /* .instocktag{
     background-color: rgb(130, 255, 42)!important;
  } */

  .av-colors{
    width: 100%;
    margin: 25px 0px 0px 0px;
  }

  .avco-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0px 10px 0px;
  }

  .avco-grid a .avco-img{
    height: 65px;
    width: 65px;
  }

  .avco-grid a .avco-plcl{
    height: 40px;
    width: 40px;
    border-radius: 100%;
    overflow: hidden;
  }

  .avco-grid a .avco-plcl.active img{
    border-radius: 100%;
    padding: 3px;
  }

  .avco-grid a .avco-plcl.active{
    border: 1.5px solid #282d23!important;
  }

  .avco-grid a{
    max-width: 80px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .avco-grid a .avco-name{
    font-size: 0.85rem;
    text-align: center;
    margin-top: 5px;
    color: rgb(121, 121, 121);
    text-transform: uppercase;
  }

  .avco-img.active ~ .avco-name{
    color: black;
    font-weight: 500;
  }

  .avco-grid a .avco-img.active{
    border: 2px solid #282d23;
  }



  .avco-grid a .avco-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  /* .pln-clth img{
    transform: scale(9.1);
  } */

  .product-size{
    width: 100%;
    margin: 10px 0px 25px 0px;
  }

  .productsizes li{
    list-style: none;
  }

  .size-label{
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .productsizes{
    display: flex;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    height: auto;
  }

  .productsizes li{
    width: 40px;
    height: 40px;
    border: 0.6px solid #94a684;
    padding: 15px;
    font-size: 1rem;
    border-radius: 2px;
    background-color: white;
    color: black;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .productsizes li.active{
    background-color: #282d23;
    color: white;
  }

  .product-price{
    margin: 10px 0px;
  }

  .product-price .price-label{
    font-size: 2.2rem;
  }

  .addtocart{
    width: 100%;
    margin: 30px 0px;
    
    width: 100%;
    height: 45.5px;
    display: flex;
    gap: 10px;
  }

  

  .addtocart .addtocartbtn{
     width: 100%;
     border: 1px solid #282d28;
     background-color: #282d23;
     font-size: 1.4rem;
     padding: 10px 20px;
     border-radius: 2px;
     color: white;
     cursor: pointer;
     line-height: 1;
  }

  .addtocart .buynowstbtn{
     width: 100%;
     border: 1.5px solid #282d28;
     background-color: #ffffff;
     font-size: 1.4rem;
     padding: 10px 20px;
     border-radius: 2px;
     color: rgb(0, 0, 0);
     cursor: pointer;
  }

  .addtocartopt{
    display: none;
  }
  
  .product-discp{
    margin: 30px 0px;
    width: 100%;
  }

  .in-discp{
    border: 0.5px solid #222222d3;
    background-color: #f3f3ef;
    border-radius: 8px;
  }

  

  .in-discp-label p{
    padding: 10px 20px;
  }

  .in-discp-label::after{
    content: '';
    display: block;
    background-color: #222222d3;
    width: 100%;
    height: 0.5px;
  }

  .disc-context p{
    padding: 5px 20px;
  }

  .disc-label p{
    padding: 0px 20px 0px 20px;
  }

  .disc-label:last-child{
    margin-bottom: 10px;
  }

  .comp-comit{
    max-width: 1440px;
    width: 100%;
    padding: 50px 20px;
    display: flex;
    height: auto;
    background-color: white;
  }

  .comp-grid-o{
    flex: 1;
  }

  .comp-label-context p{
    font-family: 'Forum' , serif;
    font-size: 2.4rem;
    padding: 0px 20px;
  }

  .comp-grid-t{
    flex: 1;
    padding: 0px 20px;
  }

  .comp-container{
    background-color: #f3f3ef;
    border: 0.5px solid #222222c9;
    height: auto;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
  }

  .comp-container ul li{
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    font-size: 1.2rem;
  }

  .comp-container ul li svg{
    width: 50px;
    height: auto;
  }


  .product-namebrand{
    position: relative;
  }

  .share-button {
    position: absolute;
    top: 0px;  /* Adjust these values as needed */
    right: 0px; /* Adjust these values as needed */
    z-index: 1000; /* Ensure it's above other elements */
}

.share-button-trigger {
    padding: 10px 10px;
    background-color: #f0f0f000;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
}

.share-options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 8px 0;
}

.share-options a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}

.share-options a span{
  margin-top: 5px;
}

.share-options a span svg{
   height: 26px;
   width: 26px;
}

.share-options a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}





  @media screen and (max-width:1024px) {
    
    .product-right{
      padding: 0px 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }

  }

  @media screen and (max-width:930px){
    .product-grid{
      flex-direction: column;
    }
    .slider{
      position:relative!important;
      top: 0px;
    }

    .outer-container{
      position: static;
      padding-bottom: 50px;
    }

    .addtocart{
      max-width: 100%;
      width: 100%;
      flex-direction: column;
      height: auto;
    }

    .product-discp{
      max-width: 100%;
      width: 100%;
    }
  }

  @media screen and (max-width:800px) {
    
    /* .product-grid{
      flex-direction: column;
    } */

    .slider{
      position:relative!important;
      top: 0px;
    }

    .outer-container{
      position: static;
      padding-bottom: 50px;
    }

    .addtocart{
      max-width: 100%;
      width: 100%;
      flex-direction: column;
      height: auto;
    }

    .product-discp{
      max-width: 100%;
      width: 100%;
    }



  }

  @media screen and (max-width:525px) {

    /* Font Sizes */

    .product-namebrand .product-name h1{
      font-size: 1.5rem;
      text-align: start;
    }

    .productsizes li{
      padding: 10px;
    }

    /* Width & Padding */

    .img-zoom{
      display: none!important;
    }

    /* .addtocart{
      position: fixed;
      bottom: -10px;
      padding: 0px 20px;
      left: 0px;
      z-index: 1000000000;
    } */

    .product-grid{
      padding: 25px 10px;
    }
    
    .slider{
      width: 350px;
      height: 350px;
    }

    #items{
      left: -350px;
    }

    /* .slide{
      width: 350px;
      height: 350px;
    } */

    .slide{
      width: 350px;
      height: 350px;
    }

    .product-size{
      margin: 20px 0px;
    }

    .product-discp{
      margin: 0px 0px;
    }

    .comp-comit{
      flex-direction: column;
      padding: 15px 10px 40px 10px;
      gap: 25px;
    }

    .product-right{
      padding: 0px 10px;
      flex-direction: column;
    }

    .comp-label-context p{
      font-size: 1.5rem;
      padding: 0px 10px;
    }

    .comp-grid-t{
      padding: 0px 10px;
    }

    .comp-container ul li svg{
      width: 60px;
      height: auto;
    }

    .comp-container ul li{
      font-size: 1rem;
      padding: 15px 20px;
    }

    .addtocartopt{
      position: fixed;
      bottom: 0px;
      left: 0px;
      width: 100%;
      padding: 0px 0px;
      transform: translateY(60px);
      transition: all ease 0.4s;
      display: flex;
    }
  
    .addtocartopt.visible{
      transform: translateY(0px);
    }
  
    .addtocartopt.expand{
      animation: expand forwards ease 3s;
      z-index: 1000000000000000000000;
    }
  
    @keyframes expand {
      0%{
        height: 45.5px;
        bottom: 0;
      }
      50%{
        height: 100vh;
      }
      70%{
        height: 100vh;
      }
      100%{
        height: 45.5px;
        bottom: 0px;
      }
    }
  
    .addtocartbtnopt{
      width: 100%;
      height: 100%;
      border: 1px solid #282d28;
      background-color: #282d23;
      font-size: 1.4rem;
      padding: 10px 20px;
      border-radius: 0px;
      color: white;
      cursor: pointer;
    }

    .buynowbtn{
      width: 100%;
      height: 100%;
      border: 1px solid #282d28;
      background-color: #ffffff;
      font-size: 1.4rem;
      padding: 10px 20px;
      border-radius: 0px;
      color: #282d23;
      cursor: pointer;
    }



  }





  /* The slide class */
.slide {
  position: relative;
}

/* The zoom effect (hidden by default) */
 .img-zoom {
  position: absolute;
  left: 0;
  top: 0;
  width: 400px;
  height: 400px;
  border: 0.5px solid #878787;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  visibility: hidden;
  box-shadow: 0px 4px 20px 1px rgba(183, 183, 183, 0.391);
  background-size: 200%;
}


@media screen and (max-width:420px) {
  
  .avco-grid{
    gap: 15px;
  }

}
  



@media screen and (max-width: 360px) {
   
  .slider{
    width: 300px;
    height: 300px;
  }

  #items{
    left: -300px;
  }

  .slide{
    width: 300px;
    height: 300px;
  }

}


/* Size Chart */

.container {
  /* font-family: Arial, sans-serif; */
  line-height: 1.6;
  color: #333;
  max-width: 600px;
}
.container h2 {
  text-align: center;
}
.scroll-hint {
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin: 5px 0;
}
.table-container {
  overflow-x: auto;
  margin-top: 20px;
  max-width: 100%;
  border-radius: 8px; /* Add border-radius to the container */
  background-color: #fff; /* Background color to cover overflow */
}

table {
  width: 100%;
  border-collapse: separate; /* Change to separate for better border management */
  border-spacing: 0; /* Remove spacing */
  min-width: 600px; /* Maintains table width for scrollability */
  border-radius: 8px; /* Add border-radius to the table */
  overflow: hidden; /* Ensure the corners are clipped */
}

th, td {
  border: 1px solid #ddd; /* Keep borders */
  padding: 12px;
  text-align: left;
  position: relative; /* Needed for box shadow */
}

/* Add rounded corners to the header */
thead th:first-child {
  border-top-left-radius: 8px; /* Top-left corner */
}

thead th:last-child {
  border-top-right-radius: 8px; /* Top-right corner */
}

tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px; /* Bottom-left corner */
}

tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px; /* Bottom-right corner */
}

th {
  background-color: #f3f3ef;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Sticky Garment Type column */
th:first-child, td:first-child {
  position: sticky;
  left: 0;
  background-color: #fff;
  z-index: 1;
}

.scroll-hint {
  display: none;
}

/* Mobile view adjustments */
@media screen and (max-width: 600px) {
  .container {
      width: 100%;
      margin-top: 30px;
  }
 
  .container h2 {
    font-size: 1.5rem;
  }

  .table-container {
      overflow-x: auto;
      border-radius: 8px; /* Ensure container radius for mobile */
  }

  table {
      min-width: 600px; /* Ensures horizontal scroll */
  }

  .scroll-hint {
    display: block;
  }

  thead th {
      top: 0;
      background-color: #fff;
      z-index: 2;
  }

  th, td {
      padding: 9px;
  }
}
