.body {
    -webkit-overflow-x: hidden; /* For older versions of Safari/Chrome */
    -moz-overflow-x: hidden; /* For older versions of Firefox */
    -ms-overflow-x: hidden; /* For Internet Explorer */
    overflow-x: hidden; /* Standard property */
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 30px; /* Adjust the size as needed */
    height: 30px; /* Adjust the size as needed */
    cursor: pointer;
}

.addProduct--main{
    background: #f8f8f8;
    min-height: 100vh;
    font-family: 'Montserrat';
}

.addProduct--container ,.addProduct1--container{
    min-height: 20em;
    border-radius: 35px;
    background: white;
    padding: 3.125em;
    margin-top: 6.25rem;
    box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
}

.back__button{
    text-decoration: none;
}

.product-name, .star{
    display:flex;
    justify-content: center;
    align-items: center;
    
}

.image-container{
    border: 3px solid;
    border-radius: 35px;
}

.main-image {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.main-image-container {
    position: relative;
    cursor: pointer;
    width: 400px;
    height: 500px;
    overflow: hidden;
}

.sub-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.sub-image-container {
    position: relative;
    cursor: pointer;
    width: 127px;
    border: 2px solid #808080;
    border-radius: 20px;
    height: 127px;
}

.sub-image-container:hover {
    border:2px solid #020234;
}

.main-image-container img,
.sub-image-container img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#haha {
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
}

.prod-button {
    font-family: 'Montserrat', sans-serif;
    margin-block-end: auto; 
}

.prod-button button {
    opacity: .5;
    border: 2px solid #808080;
    background-color: white;
    margin-left: 30px; 
    margin-bottom: 5px;
}

#table-container {
    height: 120px; 
    overflow: auto; 
}

.sizeTable {
    font-family: 'Montserrat', sans-serif;
    width: 500px;
    font-size: 1.2rem; 
    margin: 0 auto; 
    display: table; 
    text-align: center; 
}

.sizeTable th, .sizeTable td {
    padding: 10px; 
}

.sizeTable th {
    background-color: #020234;
    color: white;
    border: 2px solid #FFFFFF;
}

.sizeTable td {
    background-color: #DFDFE2;
    color: black;
    border: 2px solid #FFFFFF;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px; 
    height: 36px;
    background-color: #94A9F4;
    border: #94A9F4;
}

.small-quantity-input {
    width: 70px; 
}

#order-product, #customize-product{
    border: 1px solid #020234;
    border-radius: 5px;
    background-color: #020234;
    color: #E8F0FC;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.80em 1em;
    gap: 100px;
    transition: background-color 0.3s, border-color 0.3s;
}

#order-product{
    margin-left: 30px;
}

#order-product:hover, #customize-product:hover{
    background-color:transparent;
    color:#020234;
    border: 1px solid #020234;
    transition: background-color 0.3s, border-color 0.3s;
}

.addProduct1--container{
    font-size: 1.5rem;
    max-width: 100%;
}

.displayProductInfo p{
    font: normal 700 1rem 'Montserrat', 'sans-serif';
}

.review-item {
    border-radius: 0.625em; 
    background: #FFF;
    border: 2px solid gray;
    display: flex;
    padding: 1.25em;
    margin-bottom: .5rem;
}

#client__profile { 
    height: 3.75em; 
}

.client-name {
    font-size: 1.25rem; 
    font-style: normal;
    font-weight: 600;
    line-height: 135%;
    margin-left: 10px;
}

/* Style for the modal */
#myModalUnique {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
 
}

/* Style for the modal content (image) */
#myModalUnique .modal-content {
 display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top:100px;
  margin-bottom:100px;
  width: 60%; /* Adjust the width as needed */
  max-width: 500px; /* Adjust the max-width as needed */
}


#myModalUnique .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 30px; /* Adjust the font size as needed */
  font-weight: bold;
  cursor: pointer;
}

/* .form-select {
    overflow-y: auto;
}   */

/* .client-comment-container{
    display: block;
} */

.auto-adjust-textarea {
    overflow-y: hidden; /* Hide vertical scrollbar */
    resize: none; /* Disable manual resizing */
    pointer-events: none;
}

.small-quantity-input {
    text-align: center; /* Center the content horizontally */
}
.small-quantity-input {
    text-align: center; /* Center the content horizontally */
    -webkit-appearance: none; /* Remove the default appearance */
    appearance: none;
}

.small-quantity-input::-webkit-inner-spin-button,
.small-quantity-input::-webkit-outer-spin-button {
    display: none; /* Hide the up and down arrows */
}

.scroll-btn {
  display: none;
  position: fixed;
  bottom: 130px;
  right: 40px;
  z-index: 1000;
  width: 40px;
  height: 60px;
  line-height: 40px;
  border: none;
  border-radius: 5px;
  padding: 8px;
  color: #fff;
  background-color: #020234;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out;
  opacity: 1; /* Initially visible */
}
.scroll-btn.active {
  display: block;
}

@media (min-width: 320px) {
    .back__button{
        font-size: 1rem;  
    }
    .product-name h1{
       text-align: center;
       font-size: 1rem;
    }
    .star{
        display:flex;
        justify-content: center;
        align-items: center;
        scale: 50%;
    }
    .image-setting{
        width: 100%;
    }
    .image-container{
        border: 2px solid;
       
    }
    .main-image-container{
        height: 200px;
    }
    .main-image{
        margin-top: 50px;
        gap: 1px;
        margin-top: 20px;
    }
    .sub-images{
        gap: 5px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .sub-image-container {
        height: 100px;
        border-radius: 10px;
    }
    .prod-button button{
        text-align: center;
        font-size: .8rem;
        margin: 5px 0; 
    }
    .prod-button {
        display: flex;
        flex-direction:row;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .buttonParentText{
        width: 30%;
    }
    .prod-setting{
        width: 100%;
    }
    .prod-setting p{
        font-size: 1rem;
        text-align: center;
    }
    .tableSetting{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sizeTable {
        width: 100%;
        font-size: .73rem;
    }
    .sizeTable th, .sizeTable td {
        padding: 5px; 
    }
    .quantity-control {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .customize-order-button{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #order-product, #customize-product{
        font-size: .73rem;
    }
    .addProduct1--container,.auto-adjust-textarea{
        font-size: .8rem;
        margin-top: 0;
        padding: 1.5em;
    }
    .addProduct--container{
        padding: 1em;
    }
    #haha{
        display: flex;
        justify-content: flex-start;
    }
    .form-control{
        font-size: 0.80rem;
    }
    #client__profile{
        height: 2.75em;
    }
      .scroll-btn {
    bottom: 130px;
    right: 35px;
    width: 40px;
    height: 60px;
    line-height: 40px;
    padding: 8px;
  }
}

@media (min-width: 475px) {
    .back__button{
        font-size: 1rem;  
    }
    .product-name h1{
       text-align: center;
       font-size: 1rem;
    }
    .star{
        display:flex;
        justify-content: center;
        align-items: center;
        scale: 50%;
    }
    .image-setting{
        width: 100%;
    }
    .image-container{
        border: 2px solid;
       
    }
    .main-image-container{
        height: 200px;
    }
    .main-image{
        margin-top: 50px;
        gap: 1px;
        margin-top: 20px;
    }
    .sub-images{
        gap: 5px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .sub-image-container {
        height: 100px;
        border-radius: 10px;
    }
    .prod-button button{
        text-align: center;
        font-size: .8rem;
        margin: 5px 0; 
    }
    .prod-button {
        display: flex;
        flex-direction:row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .buttonParentText{
        width: 30%;
    }
    .prod-setting{
        width: 100%;
    }
    .prod-setting p{
        font-size: 1rem;
        text-align: center;
    }
    .tableSetting{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sizeTable {
        width: 100%;
        font-size: .73rem;
    }
    .sizeTable th, .sizeTable td {
        padding: 5px; 
    }
    .quantity-control {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .customize-order-button{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #order-product, #customize-product{
        font-size: .73rem;
    }
    .addProduct1--container,.auto-adjust-textarea{
        font-size: .8rem;
        margin-top: 0;
        padding: 1.5em;
    }
    .addProduct--container{
        padding: 1em;
    }
    #haha{
        display: flex;
        justify-content: flex-start;
    }
    .form-control{
        font-size: 0.80rem;
    }
    #client__profile{
        height: 2.75em;
    }
      .scroll-btn {
    bottom: 130px;
    right: 35px;
    width: 40px;
    height: 60px;
    line-height: 40px;
    padding: 8px;
  }
}

@media (min-width: 640px) {
    .back__button{
        font-size: 1rem;  
    }
    .product-name h1{
       text-align: center;
       font-size: 1rem;
    }
    .star{
        display:flex;
        justify-content: center;
        align-items: center;
        scale: 50%;
    }
    .image-setting{
        width: 100%;
    }
    .image-container{
        border: 2px solid;
       
    }
    .main-image-container{
        height: 200px;
    }
    .main-image{
        margin-top: 50px;
        gap: 1px;
        margin-top: 20px;
    }
    .sub-images{
        gap: 5px;
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .sub-image-container {
        height: 100px;
        border-radius: 10px;
    }
    .prod-button button{
        text-align: center;
        font-size: .8rem;
        margin: 5px 0; 
    }
    .prod-button {
        display: flex;
        flex-direction:row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .buttonParentText{
        width: 30%;
    }
    .prod-setting{
        width: 100%;
    }
    .prod-setting p{
        font-size: 1rem;
        text-align: center;
    }
    .tableSetting{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sizeTable {
        width: 100%;
        font-size: .73rem;
    }
    .sizeTable th, .sizeTable td {
        padding: 5px; 
    }
    .quantity-control {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .customize-order-button{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #order-product, #customize-product{
        font-size: .73rem;
    }
    .addProduct1--container,.auto-adjust-textarea{
        font-size: .8rem;
        margin-top: 0;
        padding: 1.5em;
    }
    .addProduct--container{
        padding: 1em;
    }
    #haha{
        display: flex;
        justify-content: flex-start;
    }
    .form-control{
        font-size: 0.80rem;
    }
    #client__profile{
        height: 2.75em;
    }
      .scroll-btn {
    bottom: 130px;
    right: 35px;
    width: 40px;
    height: 60px;
    line-height: 40px;
    padding: 8px;
  }
}

@media (min-width: 768px) {
    .back__button{
        font-size: 1.5rem;  
    }
    .product-name h1{
       text-align: center;
       font-size: 2rem;
    }
    .star{
        display:flex;
        justify-content: center;
        align-items: center;
        scale: 70%;
        
    }
    .image-setting{
        width: 100%;
    }
    .image-container{
        border: 2px solid;
       
    }
    .main-image-container{
        height: 300px;
    }
    .main-image{
        margin-top: 50px;
        gap: 1px;
        margin-top: 20px;
    }
    .sub-images{
        gap: 5px;
    }
    .sub-image-container {
        height: 100px;
        border-radius: 10px;
    }
    .prod-button button{
        text-align: center;
        font-size: 1rem;
        margin: 5px 0; 
       
    }
    .prod-button {
        display: flex;
        flex-direction:row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .buttonParentText{
        width: 30%;
        display: flex;
    }
    .prod-setting{
        width: 100%;
    }
    .prod-setting p{
        font-size: 1.5rem;
        text-align: center;
    }
    .tableSetting{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sizeTable {
        width: 100%;
        font-size: 1rem;
    }
    .sizeTable th, .sizeTable td {
        padding: 10px; 
    }
    .quantity-control {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .customize-order-button{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #order-product, #customize-product{
        font-size: 0.90rem;
    }
    .addProduct1--container,.auto-adjust-textarea{
        font-size: 1rem;
    }
    .form-control{
        font-size: 1.2rem;
    }
    .displayProductInfo p{
        font: normal 700 1.2rem 'Montserrat', 'sans-serif';
    }
    .addProduct--container{
        padding: 2em;
    }
      .scroll-btn {
    bottom: 130px;
    right: 40px;
    width: 40px;
    height: 60px;
    line-height: 40px;
    padding: 8px;
  }
}
@media (min-width: 1024px) {
    .back__button{
        font-size: 2.5rem;  
    }
    .product-name h1{
       text-align: center;
       font-size: 2rem;
    }
    .star{
        display:flex;
        justify-content: center;
        align-items: center;
        scale: 100%;
    }
    .image-setting{
        width: 50%;
    }
    .image-container{
        border: 3px solid;
    }
    .main-image-container{
        height: 400px;
    }
    .main-image{
        margin-top: 50px;
        gap: 1px;
        margin-top: 20px;
    }
    .sub-images{
        gap: 10px;
    }
    .sub-image-container {
        height: 150px;
        width: 150px;
        border-radius: 10px;
    }
    .prod-button button{
        text-align: center;
        font-size: 1.3rem;
        margin: 5px 0; 
    }
    .prod-button {
        display: block;
        flex-direction:row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    .buttonParentText{
        width: 25%;
    }
    .prod-setting{
        width: 50%;
    }
    .prod-setting p{
        font-size: 1.5rem;
        text-align: left;
    }
    .tableSetting{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sizeTable {
        width: 100%;
        font-size: 1.2rem;
    }
    .sizeTable th, .sizeTable td {
        padding: 10px; 
    }
    .quantity-control {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .customize-order-button{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #order-product, #customize-product{
        font-size: 1.2rem;
    }
    .addProduct1--container,.auto-adjust-textarea{
        font-size: 1.2rem;
    }
    .name-stars{ 
        width: 50%!important;
        margin-left: 50%;
    }
    .form-control{
        font-size: 1.2rem;
    }
    .displayProductInfo p{
        font: normal 700 1.5rem 'Montserrat', 'sans-serif';
    }
    .addProduct--container{
        padding: 3em;
    }
  .scroll-btn {
    bottom: 130px;
    right: 40px;
    width: 40px;
    height: 60px;
    line-height: 40px;
    padding: 8px;
  }
  }