#shoe-details{
  display: none;
}
#shoe-info {
  width: 80%;
  display: none;
  grid-template-columns: 47% 47%;
  gap: 6%;
  background-color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 100vh;
}

.top_header_btns {
  position: absolute;
  top: 0.5vh;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel{
  width: 100%;
  display: flex;
  justify-content: center;
}
.left-panel {
  background-color: #ffffff;
  position: relative;
  padding: 1.5vw 0vw;
}

.video-panel {
  box-sizing: border-box;
  border-radius: 12px;
  /* border: 0.15vw solid #0000001A;
  background-color: #F2F2F2; */
  width: 100%;
  aspect-ratio: 1 / 1; 
  max-height: 70vh;
  display: flex;
  justify-content: center;
}

.video-container{
  /* display: block;  */
  position: relative;
  overflow: hidden; /* IMPORTANT */ 
}

#shoeVideo {
  display: block;
  width: auto;
  min-height: 0;
  border-radius: 10px;
  border: 0.15vw solid #0000001A;
  background: #F2F2F2;
  object-fit: cover; 
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: 70vh;
}

.video-control{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

.video-control img{
  width: 40px;
  height: 40px;
  object-fit: contain;
}

#hotspotContainer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.info-container{
  margin-top: 2vh;
  display: flex;
  flex-direction: column;
}

.shoeNameMain {
  font-size: 1.2vw; /* slightly bigger than parent */
  font-family: 'dinpro_medium';
}

#shoeName, #shoePrice{
  font-family: 'dinpro_medium';
  font-size: 1vw;
  color: black;
  margin-bottom: 0.6vw;
}

.shoeTags {
  display: flex;
  
  margin-bottom: 0.6vw;
}

.shoeTags span {
  display: inline-flex;
  align-items: center;
  margin-right: 0.6vw;
  padding: 6px 20px;
  border: 1px solid #B2B2B2;   /*#D9D9D9;*/
  border-radius: 20px;

  font-family: 'dinpro_regular';
  font-size: 0.85vw;
  line-height: 1;
  color: #43464b;  /*#B3B3B3;*/
}

#shoeDesc{
  font-family: 'dinpro_regular';
  font-size: 0.85vw;
  color: black;
}

.right-panel {
  background-color: #ffffff;
  position: relative;
  padding: 1.5vw 0vw; 
}

.variants-panel{
  width: 100%;
  aspect-ratio: 1 / 1; 
  max-height: 70vh;
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: 45% 45%;
  grid-template-rows: repeat(3, 1fr);

  column-gap: 10%;
  row-gap: 5%;
}

.variants{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;

  height:100%;
  min-height:0;
  width: 100%;
}

.variantImg{
  min-width:0;
  flex:1;
  min-height:80%;
  max-height: 100%;
  aspect-ratio: 1 / 1; 
  object-fit:contain;
  background: #F2F2F2;
  border-radius: 6px;
  border: 0.1vw solid #0000001A;

}

.variants p{
  font-family: 'dinpro_regular';
  font-size: 1vw;
  color: black;
  margin-top: 0.2vw;
}

/* .video_hotspot {
  position: absolute;
  width: 18px;
  height: 18px;
  /* background: #ff3b3b; *
  background: #ffffff;
  border-radius: 50%;
  bottom: 5%;
  left: 30%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* Ripple effect *
.video_hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
  /* background: rgba(255, 59, 59, 0.4); *
  background: rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
} */

.video_hotspot {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  bottom: 5%;
  left: 30%;
  cursor: pointer;
  /* box-shadow: 0 0 7px rgba(0, 0, 0, 1); */
  animation: pulseShadow 1.6s infinite;

  pointer-events: auto;
  z-index: 5;
}

@keyframes pulseShadow {
  0% {
    /* box-shadow: 0 0 0 0 rgba(0,0,0,0.5); */
    box-shadow: 
      0 0 6px rgba(0, 0, 0, 0.5),   /* 🔥 static shadow */
      0 0 0 0 rgba(0, 0, 0, 0.5);   /* pulse start */
  }
  70% {
    /* box-shadow: 0 0 0 15px rgba(0,0,0,0); */
    box-shadow: 
      0 0 6px rgba(0, 0, 0, 0.5),   /* 🔥 static shadow stays */
      0 0 0 15px rgba(0, 0, 0, 0);  /* pulse expands */
  }
  100% {
    /* box-shadow: 0 0 0 0 rgba(0,0,0,0); */
    box-shadow: 
      0 0 6px rgba(0, 0, 0, 0.5),   /* 🔥 static shadow stays */
      0 0 0 0 rgba(0, 0, 0, 0);     /* reset */
  }
}

.hotspot_info-box {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  bottom: 50%;
  left: 50%;
  width: max-content;;
  min-width: 0;
  max-width: 55vh;
  transform: translate(-50%, -12px);
  background: #000000b0;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'dinpro_regular';
  font-size: 0.8vw;
  white-space: normal;   /* change this */
  display: none;
  z-index: 11;

  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  pointer-events: auto;
}

/* Arrow */
.hotspot_info-box::after {
  content: "";
  position: absolute;
  top: 100%;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
}

model-viewer {
  width: 100%;
  height: 100%;
}

model-viewer .userInput.show[style*="cursor: grab;"] {
  cursor: none !important;
  /* Set cursor to default */
}

.hotspot {
  /* display: block; */
  width: 2vw;
  height: 2vw;
  border-radius: 50%;
  /* border: none; */
  --min-hotspot-opacity: 0;
  /* background-color: white; */
  box-sizing: border-box;
  background: #0000008C url("../assets/plus.png") 0% 0% no-repeat padding-box;
  background-size: 45% 45%;
  background-position: center;
  border: 0.25vw solid #b8b8b8;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  /* pointer-events: none; */
}

lottie-player {
  position: absolute;
  z-index: -1;
  width: 7vw;
  height: 7vw;
}

.annotation {
  display: none;
  /* visibility: hidden; */
  background-color: #707070;
  font-family: dinpro_regular;
  color: white;
  font-size: 1.15vw;
  position: absolute;
  border-radius: 10px;
  width: max-content;
  /* transform: translate(10px, 10px); */
  padding: 1.15vw;
  bottom: 150%;
  /* opacity: 0; */
}

/* #ar-instruction {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: #7bff00;
  width: 75%;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  font-size: 4vw;
  z-index: 9999;
  font-family: 'OpenSans-Regular', sans-serif;
  text-align: center;
} */

model-viewer::part(default-ar-button) {
    display: none !important;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; /* space between buttons */
  margin-top: 16px;
}

.Buying_btn {
  /* position: absolute;
  top: 0.5vh;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; */
}

#buy-button {
  margin: 2.5vw;
  border: none;
  background: transparent;
  /* cursor: pointer; */
}

#buy-button-image {
  width: 80%;
  transition: 0.3s;
}


.AR_Btn {
    /* display: flex;
    justify-content: center;
    margin-top: 16px; */
}

#custom-ar-button {
    /* background-color: #2e2e2e;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.3s; */

    /* margin: 2.5vw;
    border: none;
    background: transparent; */
    /* cursor: pointer; */
}

#custom-ar-button:hover {
    /* background-color: #444; */
}

#ARview-button-image {
  width: 80%;
  transition: 0.3s;
}





/* Blur background overlay */
.blur-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(252, 252, 252, 0.5);
  /* Adjust the opacity as needed */
  backdrop-filter: blur(5px);
  /* Adjust the blur amount as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  /* Ensure it's above other content */
  transition: opacity 1.5s ease;
  opacity: 1;
}

.blur-bg-overlay.fade-out {
  opacity: 0;
}

/* Loader animation */
.loader {
  transition: opacity 1.5s ease;
  opacity: 1;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.loader.fadeout {
  opacity: 0;
}

/* Custom liquid loader container */
.campus_liqid_loader {
  position: relative;
  width: 17vw;
  aspect-ratio: 1.52/1;
}

/* Liquid fill image */
.liquid-fill {
  width: 100%;
  -webkit-mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
  mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
  position: relative;
  background-image: url('../assets/Campus_liquid_Fill.png');
  bottom: 0;
  background-repeat: repeat-x;
  background-position: -100% 0;
}

.outline {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.campus_liqid_mask {
  position: absolute;
  top: 0;
  left: 0;
  background: url('../assets/Campus_liquid_Fill.png') repeat-x;
  animation: liquidMask 10s linear infinite;
  z-index: 3;
  -webkit-mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
  mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
}

/* Keyframes for liquid fill animation */
@keyframes liquidFill {
  0% {
    transform: scaleY(0);
  }

  100% {
    transform: scaleY(1);
  }
}

/* Keyframes for liquid mask animation */
@keyframes liquidMask {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 100% 0;
  }
}



.campus-liquid-container {
  position: relative;
}

#outline_empty {
  position: relative;
  top: 0;
  left: 0;
}

.liquid-fill_ {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/Campus_liquid_Fill.png');
  background-repeat: repeat-x;
  background-position: 0 -700%;
  mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
  -webkit-mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#liquid_fill {
  -webkit-mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
  mask-image: url('../assets/Campus_Logo_fill_mask_img.png');
}

@keyframes filling {
  0% {
    background-position: 0 -700%;
  }

  100% {
    background-position: 500% 0%;
  }
}


#process-text {
    display: inline-flex;
    margin-top: 5%;
    font-size: 9vw;
    font-style: italic; 
    font-family: 'Lato';
    font-weight: 500;
    align-items: flex-end;
    color: #fa0000;
    line-height: 1.75;
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 12px 4px;
    border-radius: 50%;
    background-color: #fa0000;
    animation: dot-blink 1.5s infinite ease-in-out;

    vertical-align: baseline; /* keeps dots on same line as text bottom */
    position: relative;
    bottom: 0.15em; /* slight tweak to align visually with italic text */
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dot-blink {
    0%, 80%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}


/* Styles for the 360 instruction popup start here */
.blur-bg-overlay-instru-360 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

#instru_360 {
  display: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}

#instru_360.fade-in {
  opacity: 1;
}

.popup {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 30vw;
}

.popup-content {
  padding: 36px;
}

.popup .title_popup {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.title_popup p {
  font-family: dinpro_bold;
  color: #231F20;
  font-size: 1.25vw;
}

.custom-text {
  margin: 2.5vh 0;
}

.custom-text p {
  font-family: dinpro_regular;
  color: #707070;
  font-size: 1vw;
  width: 70%;
}

.popup #next-button-container {
  display: flex;
  justify-content: flex-end;
}

.popup #next-button {
  border: none;
  outline: none;
  background: #231F20;
  font-family: dinpro_bold;
  font-size: 1vw;
  padding: 0.7vw;
  color: #FFFFFF;
  border-radius: 25px;
  margin-top: auto;
  width: 25%;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, transform-origin 0.2s ease;
  ;
}

#next-button:hover {
  transform: scale(1.07);
  transform-origin: center;
}

.blur-bg-overlay-instru-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  /* Adjust the opacity as needed */
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.popup #Gotit_Button {
  display: flex;
  justify-content: flex-end;
}

.popup #Gotitbutton {
  border: none;
  outline: none;
  background: #231F20;
  font-family: dinpro_bold;
  font-size: 1vw;
  padding: 0.6vw;
  color: #FFFFFF;
  border-radius: 25px;
  margin-top: auto;
  width: 25%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

#Gotitbutton:hover {
  transform: scale(1.07);
}

/*  Styles for the 360 instruction popup End here*/

.circle-loader {
  display: none;
}

.center2_cirlceLoader {
  position: absolute;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100vh;
  display: none;
  z-index: 1;
}

#logo-top {
  position: relative;
}

#logo-top-img {
  width: 5vw;
  animation: rotate 1.25s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }

  100% {
    transform: rotateZ(360deg);
  }
}

#animate {
  margin: 2.5vw;
  border: none;
  background: transparent;
}

#goback-button {
  margin: 2.5vw;
  border: none;
  background: transparent;
  cursor: pointer;
}

#btn_animate {
  width: 80%;
}

#goback-button-image {
  width: 80%;
  transition: 0.3s;
}

.product-name {
  font-size: 1.5vw;
  /* Adjust the font size as needed */
  font-weight: bold;
  margin-top: 15vh;
  font-family: dinpro_bold;
  width: 85%;
}

.price-info {
  color: #004588;
  font-size: 1.125vw;
  font-family: dinpro_bold;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Colors */
.Color_Btns {
  margin-top: 9vh;
}

.color-heading {
  font-family: dinpro_bold;
  font-size: 1.25vw;
  font-weight: bold;
  /* margin-bottom: 10px; */
}

.color-button-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  left: -7%;
  gap: 1.5vw;
  grid-gap: 1.5vw;
  margin-top: 1.5vw;
}

.color {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.color_name {
  font-family: dinpro_regular;
  font-size: 0.8vw;
  text-align: center;
  background: transparent;
  border: none;
  outline: none;
  /* margin-top: 10.25vh; */
}

.color-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1;
  border: none;
  outline: none;
  background: transparent;
}

.color-button-circle {
  width: 3vw;
  height: 3vw;
  margin-bottom: 0.75vh;
}

.color-button.active > span:first-child {
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.color-name {
  color: #231F20;
  font-size: 0.8vw;
  font-family: dinpro_regular;
}

.Layers_Btn {
  margin-top: 9vh;    /*Its default view for Desktop version, Below for mobile views*/
}

.layer-heading {
  font-family: dinpro_bold;
  font-size: 1.25vw;
  font-weight: bold;
}

.layers_btns_row {
  display: flex;
}

.layers {
  width: 4.75vw;
  background-size: 100%;
  background-repeat: no-repeat;
  border: none;
  margin-left: 0;
  background-color: white;
}

.layer_btn {
  justify-content: center;
  transition: all 0.3s ease;
}

.layer_btn.active {
  transform: scale(1.15);
}

.lottie-container {
  position: relative;
  text-align: center;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.AR_Btn {
  display: block; /* Show by default (mobile/tablet) */
  margin-top: 2px;
}

/* Popup overlay */
.popup2-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup content */
.popup2-content {
  background: #fff;
  color: #333;
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px; /*320px;*/
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.popup2-content p {
  font-size: 20px;
  margin-bottom: 15px;
  font-family: dinpro_regular;
}

.popup2-close-btn {
  background: #ee3431;
  color: #fff;
  font-size: 1vw;
  font-family: dinpro_regular;
  border: none;
  border-radius: 6px;
  padding: 8px 36px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.popup2-close-btn:hover {
  background: red;
}

/* right panel css ends here */

/* media queries starts here */

/* @media (max-width: 768px) {
  .Layers_AR_Container {
    flex-direction: column; /* Stack vertically on mobile *
    gap: 4vh;
  }
} */
 @media only screen and (min-width: 767px) {
  .Layers_AR_Container {
    display: flex;
    flex-direction: row; /* Horizontal on desktop */
    gap: 2vw;
    align-items: flex-start;
  }

  #process-text {
    font-size: 4vw;
  }
}

@media (min-width: 1025px) {
  .AR_Btn {
    /* display: none; */    /*Displaying none for the Desktop mode*/
    margin-top: 9vh;
  }

   #process-text {
    font-size: 2vw;
  }
}

@media only screen and (min-width: 1366px) {
  /* #goback-button-image:hover {
    content: url('../assets/go_back.png');
  } */
}

@media only screen and (max-device-width: 1366px) {
  .popup {
    width: 30vw;
  }

  .loader {
    scale: 0.85;
  }
}

@media screen and (max-device-width: 1280px)  {
  .popup-content {
    padding: 32px;
  }

  .hotspot {
    width: 2.25vw;
    height: 2.25vw;
  }

  .color-name {
    font-size: 0.875vw;
  }
}

@media only screen and (max-device-width: 1024px) {
  #shoe-info {
    /* grid-template-columns: 1fr;
    grid-template-rows: 1fr auto; */
    /*grid-template-rows: 1fr auto;*/  /*this line for 70% and 30% responsive*/
    /*grid-template-rows: 60% 40%;*/   /*this line for manual, to add by now button*/
    flex-direction: column;
    width:90vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  model-viewer {
    width: 100%;
    height: 100%;
  }

  .hotspot {
    width: 2.5vw;
    height: 2.5vw;
    border: 0.3vw solid #b8b8b8;
  }

  .left-panel {
    overflow: hidden;
    /* width: 100%;
    height: 100%; */
  }

  .info-container{
     /* gap: 1vw; */
  }
  #shoeName, #shoePrice{
    font-size: 1.6vw;
    margin-bottom: 1vw;
  }

  .shoeNameMain {
    font-size: 1.8vw; /* slightly bigger than parent */
  }

  .shoeTags {
    /* gap: 1.5vw; */
    margin-bottom: 1vw;
  }

  .shoeTags span {
    font-size: 1.5vw;
    margin-right: 1.5vw;
  }

  #shoeDesc{
    font-size: 1.5vw;
  }

  #shoeDesc{
    max-height: 8vw;
    overflow-y: scroll;
  }
  #shoeDesc::-webkit-scrollbar {
    width: 6px;
  }

  #shoeDesc::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  #shoeDesc::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  .video-panel {
    max-height: 45vh;
    align-self: center;
  }
  #shoeVideo {
    max-height: 45vh;
  }
  .right-panel {
    width: 100%;
    padding: 0vw 0vw
    /* padding: 3vw 6vw; */
  }
  .variants p{
    font-size: 1.4vw;
    text-align: center;
    margin-top: 8px;
    width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .variants-panel {
    /* padding: 0vw 0vw; */
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    /* gap: 16px; */
    gap: 0px;
    scroll-snap-type: x mandatory; 
    padding: 1.0vw 0vw;
    aspect-ratio: none; 
    max-height: 30vh;
  }

  .variants{
    flex: 0 0 auto;               
    width: 20vw;     
    scroll-snap-align: start;  
    height: auto;
    /* gap: 8px; */
    justify-content: flex-start;
    margin-right: 3vw;
  }

  .variants-panel::-webkit-scrollbar {
    height: 6px;
  }

  .variants-panel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  .variants-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .variantImg {
    /* max-width: 100%;
    max-height: 18vh; 
    min-height: 0;         
    aspect-ratio: 1 / 1;    */
    min-height:0;
    max-height: 20vw;
    border: 0.15vw solid #0000001A;
  }
  .hotspot_info-box {
    font-size: 1.4vw;
  }
  .center2_cirlceLoader {
    width: 100%;
    height: 100%;
  }

  #logo-top-img {
    width: 10vw;
  }

  .annotation {
    font-size: 2.15vw;
    padding: 2vw;
  }

  .loader {
    scale: 0.75;
  }

  .popup {
    width: 50vw;
  }

  .title_popup p {
    font-size: 1.75vw;
  }

  .custom-text p {
    font-size: 1.5vw;
  }

  .popup #next-button {
    padding: 1.1vw;
    font-size: 1.5vw;
  }

  .blur-bg-overlay-instru-info {
    width: 100%;
    height: 100%;
  }

  .popup #Gotitbutton {
    padding: 1vw;
    font-size: 1.5vw;
  }

  #btn_animate {
    width: 80%;
  }

  #goback-button-image {
    width: 80%;
  }

  .product-name {
    margin-top: 0;
    font-size: 2.5vw;
  }

  .price-info {
    font-size: 1.625vw;
    margin-top: 0.25rem;
  }

  .bottom_clr_section {
    display: flex;
    justify-content: space-between;
    margin-top: 3vw;

  flex-wrap: wrap; /* Ensures wrapping on small screens */
  }

  .Color_Btns {
    margin-top: 0;
  }

  .color-button-container {
    grid-template-columns: repeat(4, 1fr);
    left: -3%;
    margin-top: 1.5vw;
    gap: 2vw 2.5vw;
    grid-gap: 2vw 2.5vw;
  }

  .color-heading, .layer-heading {
    font-size: 2vw;
  }

  .color-button-circle {
    width: 4vw;
    height: 4vw;
  }

  .color-name {
    font-size: 1.25vw;
  }

  .Layers_Btn {
    margin-top: 0;
  }
  .AR_Btn {
    margin-top: 0;
  }

  .layer-heading {
    text-align: center;
  }

  .layers {
    width: 8vw;
    margin: 1.5vw 5vw 0;
  }

  /* .Layers_AR_Container {
    flex-direction: row; /* Horizontal on desktop *
    gap: 2vw;
    align-items: flex-start;
  } */
}

@media screen and (max-device-width: 912px) {
  .hotspot {
    width: 3vw;
    height: 3vw;
  }

  .product-name {
    font-size: 2.75vw;
  }

  .price-info {
    font-size: 1.75vw;
  }

  .color-button-circle {
    width: 4.5vw;
    height: 4.5vw;
  }

  .color-name {
    font-size: 1.5vw;
  }
}

@media screen and (max-device-width: 700px) {
  #shoe-info {
    /* grid-template-columns: 1fr; */
    /* grid-template-rows: 70% 30%; */
    /* grid-template-rows: 73% 25%; */
    flex-direction: column;
    width:90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #logo-top-img {
    width: 10vw;
  }

  .hotspot {
    width: 3.25vw;
    height: 3.25vw;
  }

  .annotation {
    font-size: 2.15vw;
    padding: 2vw;
  }

  .loader {
    scale: 0.65;
  }

  .popup {
    width: 60vw;
  }

  .title_popup p {
    font-size: 2.35vw;
  }

  .custom-text p {
    font-size: 1.75vw;
  }

  .popup #next-button {
    padding: 1.25vw;
    font-size: 1.75vw;
  }

  .blur-bg-overlay-instru-info {
    height: 100%;
  }

  .popup #Gotitbutton {
    padding: 1.15vw;
    font-size: 1.75vw;
  }

  #btn_animate {
    width: 78%;
  }

  #goback-button-image {
    width: 88%;
  }
  .left-panel{
    overflow: hidden;
  }
 
  #shoeName, #shoePrice{
    font-size: 3.5vw;
    margin-bottom: 2.5vw;
  }

  .shoeNameMain {
    font-size: 3.8vw; /* slightly bigger than parent */
  }

  .shoeTags {
    /* gap: 2vw; */
    margin-bottom: 2.5vw;
  }
  .shoeTags span {
    font-size: 3.25vw;
    margin-right: 2vw;
  }

  #shoeDesc{
    font-size: 3.25vw;
  }
  .right-panel {
    width: 100%;
    padding: 0vw 0vw
    /* padding: 3vw 6vw; */
  }
  .hotspot_info-box {
    font-size: 3vw;
    max-width: 80vw;
  }
  .video-panel {
    max-height: 45vh;
    align-self: center;
  }
  #shoeVideo {
    max-height: 45vh;
  }
  .info-container{
    margin-top: 1.5vh;
    display: flex;
    flex-direction: column;
    /* gap: 2.5vw; */
  }

  #shoeDesc{
    max-height: 8vw;
    overflow-y: scroll;
  }
  #shoeDesc::-webkit-scrollbar {
    width: 6px;
  }

  #shoeDesc::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  #shoeDesc::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .variants-panel {
    /* padding: 0vw 0vw; */
    width: 90vw;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    /* gap: 16px; */
    scroll-snap-type: x mandatory; 
    padding: 2.5vw 1vw;
    aspect-ratio: none; 
    max-height: 25vh;
    scroll-snap-align: start;
  }

  .variants{
    flex: 0 0 auto;               
    width: 27vw;
    margin-right: 3vw;     
    height: auto;
    /* gap: 8px; */
    margin-left: 0;
    justify-content: flex-start;
  }

  .variants-panel::-webkit-scrollbar {
    height: 6px;
  }

  .variants-panel::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  .variants-panel::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .variantImg {
    /* max-width: 100%;
    max-height: 18vh; 
    min-height: 0;         
    aspect-ratio: 1 / 1;    */
    min-height:0;
    max-height: 27vw;
  }

  .variants p{
    font-size: 3.5vw;
    text-align: center;
    margin-top: 8px;
    width: 100%;
    word-break: break-word;
  overflow-wrap: break-word;
  }

  .product-name {
    font-size: 3vw;
  }

  .price-info {
    font-size: 2vw;
  }

  .bottom_clr_section {
    display: flex;
  }

  .color-heading {
    font-size: 2.5vw;
  }

  .color-button-circle {
    width: 5vw;
    height: 5vw;
  }

  .color-name {
    font-size: 1.75vw;
  }

  .layer-heading {
    text-align: center;
    font-size: 2.5vw;
  }

  .layers {
    width: 9.25vw;
  }
}


@media only screen and (max-device-width: 600px) {
  .hotspot {
    width: 4vw;
    height: 4vw;
    border-width: 0.4vw;
  }

  .right-panel {
    /* padding: 3.75vw 6vw; */
  }

  .product-name {
    font-size: 3vw;
  }

  .price-info {
    font-size: 2.25vw;
  }

  .color-heading, .layer-heading {
    font-size: 2.75vw;
  }

  .color-button-circle {
    width: 6vw;
    height: 6vw;
  }

  .color-name {
    font-size: 2vw;
  }
}

@media only screen and (max-device-width: 480px) {
  body {
    flex-direction: column;
    /* Stack panels in a column */
    height: 100vh;
  }

  model-viewer {
    /* position: fixed; */
    width: 100%;
    height: 100%;
  }

  .video-panel {
    max-width: 100%;
    align-self: center;
  }
  .right-panel {
    /* padding: 4vw 6vw; */
  }
  

  #logo-top-img {
    width: 10vw;
  }

  .hotspot {
    width: 5vw;
    height: 5vw;
    border-width: 0.5vw;
  }

  .annotation {
    font-size: 2.5vw;
    padding: 3vw;
  }

  .loader {
    scale: 0.55;
  }

  .popup {
    width: 90vw;
  }

  .title_popup p {
    font-size: 3.5vw;
  }

  .custom-text p {
    width: 90%;
    font-size: 3.5vw;
  }

  .popup #next-button {
    padding: 1.95vw;
    font-size: 2.5vw;
  }

  .popup #Gotitbutton {
    padding: 1.75vw;
    font-size: 2.5vw;
  }

  #animate {
    margin: 10px;
  }

  #goback-button {
    margin: 10px;
  }

  #btn_animate {
    width: 76%;
  }

  #goback-button-image {
    width: 88%;
  }

  .product-name {
    font-size: 3.5vw;
  }
  .shoeNameMain {
    font-size: 4.2vw; /* slightly bigger than parent */
  }

  .shoeTags span {
    font-size: 3.1vw;
    margin-right: 2vw;
  }

  .price-info {
    font-size: 3vw;
  }

  .bottom_clr_section {
    display: flex;
  }

  .color-button-container {
    left: -3%;
    margin-top: 2.5vw;
    gap: 2.5vw;
    grid-gap: 2.5vw;
  }

  .color-button-circle {
    width: 6.5vw;
    height: 6.5vw;
  }

  .color-heading, .layer-heading {
    font-size: 3.25vw;
  }

  .color-name {
    font-size: 2.25vw;
  }

  .layers {
    width: 10vw;
    margin-top: 2.5vw;
  }
}

@media only screen and (max-device-width: 350px) {
  #logo-top-img {
    width: 10vw;
  }

  .loader {
    scale: 0.5;
  }

  .popup {
    width: 95%;
  }

  .popup-content {
    padding: 20px;
  }

  .custom-text p {
    width: 95%;
    font-size: 4vw;
  }

  .popup #next-button {
    padding: 1.95vw;
    font-size: 3.25vw;
  }

  .popup #Gotitbutton {
    padding: 1.75vw;
    font-size: 3.25vw;
  }

  #btn_animate {
    width: 74%;
  }

  #goback-button-image {
    width: 88%;
  }

  .color-name {
    font-size: 2.5vw;
    /* margin-top: 8.5vh; */
  }

}

#gotItBlock{
  width: 100vw;
  height: 100%;
  position: absolute;
  left: 0;
  z-index: -1;
}

.row {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 20px;
}

.card {
  width: 15vw;
  height: 20vw;
  background-color: lightgray;
  border: 1px solid gray;
  border-radius: 5px;
  padding: 10px;
}

#container{
  margin-top: 20%;
}