@media (min-width: 768px) {
 

  .global-cont{
    position: sticky !important;
    top: 15px;
    z-index: 100;
    height: fit-content; 
    width:48%;
  }

  .inner-global-cont{
    padding: 20px; 
    background:#f2f2f2; 
    max-height: fit-content; 
    margin-bottom: 20px; 
    max-width: 90%;
    border: 1px solid #cbcbcb !important;
    box-shadow: 0px 1px 5px 1px #000000 !important;
    border-radius: 6px; 
    position:relative
  }

}

@media (max-width: 767px) {
 
 .inner-global-cont{
  padding: 5px 5px;
  background: #f2f2f2;
  max-height: fit-content;
  margin-bottom: 20px;
  /* max-width: 90%; */
  border: 1px solid #cbcbcb !important;
  box-shadow: 0px 1px 5px 1px #000000 !important;
  border-radius: 6px;
  position: relative;
 }


}

.measure-text {
  margin: auto;
  font-size: clamp(9px, 1.2vw, 17px);
  background: #f2f2f2;
  white-space: nowrap;
}
@media (min-width: 530px) {
 
  .global-cont{
    min-width: 500px;
  }
 }

 @media (max-width: 529px) {
  .global-cont{
    min-width: 100%;
  }
 }


.container-color-image {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 90%;
  margin: 30px auto;
  height: fit-content;
  align-items: center;
  align-content: stretch;
}
  .child-color-image {
    flex: 0 0 calc(33.333% - 0px);
    height: calc(50% - 10px);
    position: relative;
    text-align: center;
    box-sizing: border-box;
    /* border: 1px solid #ddd;
    background: #f9f9f9;
    padding: 10px; */
  }
  .design-area-color-image {
    position: absolute;
    overflow: hidden;
    border: 1px dashed #747474;
  }
  .design-area-color-image img {
    display: block; /* Ensure proper layout */
    margin: 0 auto; /* Center the image */
  }
  .child-color-image img {
    width: 100%;
    height: auto;
   
  }
  /* .uploaded-design{
    mix-blend-mode: multiply;
    object-fit: cover;
    border: 1px dashed #747474;
  } */
  .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images{
    display: none !important
  }

  .product-variant__container--radio {
    margin-top: 40px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 90%;
  }
  .product-variant__item--radio input {
    position: absolute !important;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
  }
  .product-variant__item--color label {
    min-width: 0;
    width: 36px;
    height: 36px;
    border-radius: 100%;
    padding: 0;
    position: relative;
    pointer-events: none;
    border-color: transparent;
    margin-top: 0.0625rem;
    transform: translate(0.0625rem);
    pointer-events: auto;
    cursor: pointer;
  }
  .product-variant__item--radio label {
    text-align: center;
    display: inline-block;

    color: var(--color-text-main);
    padding: var(--input-padding) calc(var(--input-padding) * 0.9);
    transition: all 0.1s linear;
    line-height: 1;
    width: max-content;
    min-width: 2.5rem;
    cursor: pointer;
  }
  .product-variant__item--radio {
    position: relative;
    display: inline-block;
    margin: 0 0.6875rem 0 0;
  }
  .product-variant__item--color {
    margin-inline-end: 0.5rem;
  }
  .tooltipotext {
    visibility: hidden;
    background-color: #fff;
    box-shadow: 0 0 3px #333;
    text-align: center;
    border-radius: 6px;
    min-width: 220px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    font-weight: 400;
    line-height: 120%;
    transform: translate(-50%);
    font-size: 12px;
    padding: 10px;
  }
  .product-variant__item--color .product-variant__item-swatch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

  }
  .product-variant__item--color .product-variant__item-swatch {
    border-radius: 100%;
  }
  .product-variant__item--color label span {
    box-shadow: inset 0 0 0 1px #0003;
  }
  .product-variant__item--color label span:hover {
    box-shadow: 0px 0px 1px 1.5px #000;
    border: 1px solid #ffffff;
}
  .product-variant__item input:checked + label span{
    box-shadow: 0px 0px 1px 1.5px #000;
    border: 1px solid #ffffff;
  }
  .product-variant__item input[type="color"]:checked + label{
    border: 2px solid black; /* Border for color input when selected */
  }
  .checked-color {
    border: 1px solid #000;
    box-shadow: 0px 0px 1px 1px #000;
}



