/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.floating-container {
  position: fixed;
  /* width: 100px;
    height: 100px; */
  bottom: 0;
  right: 0;
  /* margin: 35px 25px; */
}

/* .floating-container:hover {
    height: 300px;
} */

.floating-container:hover .floating-button {
  box-shadow: 0 10px 25px rgba(44, 179, 240, 0.6);
  -webkit-transform: translatey(5px);
  transform: translatey(5px);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.floating-container:hover .element-container .float-element:nth-child(1) {
  -webkit-animation: come-in 0.4s forwards 0.2s;
  animation: come-in 0.4s forwards 0.2s;
}

.floating-container:hover .element-container .float-element:nth-child(2) {
  -webkit-animation: come-in 0.4s forwards 0.4s;
  animation: come-in 0.4s forwards 0.4s;
}

.floating-container:hover .element-container .float-element:nth-child(3) {
  -webkit-animation: come-in 0.4s forwards 0.6s;
  animation: come-in 0.4s forwards 0.6s;
}

.floating-container .floating-button {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #ba252f;
  bottom: 0;
  border-radius: 50%;
  left: 0;
  right: 0;
  margin: auto;
  color: white;
  line-height: 65px;
  text-align: center;
  font-size: 23px;
  z-index: 100;
  /* box-shadow: 0 10px 25px -5px rgba(44, 179, 240, 0.6); */
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
}

.floating-container .float-element {
  position: relative;
  display: block;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: 15px auto;
  color: white;
  font-weight: 500;
  text-align: center;
  line-height: 50px;
  z-index: 0;
  opacity: 0;
  -webkit-transform: translateY(100px);
  transform: translateY(100px);
}

.floating-container .float-element .material-icons {
  vertical-align: middle;
  font-size: 23px;
}

.floating-container .float-element:nth-child(1) {
  background: #42a5f5;
  box-shadow: 0 20px 20px -10px rgba(66, 165, 245, 0.5);
}

.floating-container .float-element:nth-child(2) {
  background: #4caf50;
  box-shadow: 0 20px 20px -10px rgba(76, 175, 80, 0.5);
}

.floating-container .float-element:nth-child(3) {
  background: #ff9800;
  box-shadow: 0 20px 20px -10px rgba(255, 152, 0, 0.5);
}

.floating-container .float-element {
  display: flex;
}

.floating-container .floating-button {
  box-shadow: none !important;
}

.ButtonCenter {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .ButtonCenter button {
background-color: black;
color: white;
font-size: 20px;
font-weight: 700;
} */

.HeadBodyAugment {
  background: rgba(0, 0, 0, 0.82);
  display: none;
  position: fixed;
  z-index: 999999999999999999999;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  padding: clamp(12px, 3vw, 40px);
  box-sizing: border-box;
}

#AugmentBody[style*="display: block"] {
  display: flex !important;
}

.CrossAugment {
  /* font-size: 30px; */
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 999999999999999999999999999999;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  align-items: center;
  background-color: #ba252b;
  padding: 0 !important;
  color: white;
  border-radius: 50%;
  border-color: #ba252b;
}

.MainBody {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1500px;
  max-height: 100%;
  margin: 0 auto;
}

.AugmentPart {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(960px, 92vw);
  height: min(680px, 88vh);
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  opacity: 1;
  background-color: white;
  /* border-radius: 25px; */
  border: none;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  padding: clamp(12px, 2vw, 24px);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .AugmentPart {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 12px;
  }
}

.loader-dtossstytte {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  clip-path: inset(0 3ch 0 0);
  animation: l4 1s steps(4) infinite;
  /* display: none; */
}

.wait-text-tryon {
  position: absolute;
  top: calc(
    50% + 50px
  ); /* Adjust this value if needed to position the text correctly */
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  font-weight: normal;
  font-family: sans-serif;
  font-size: 16px;
  text-align: center;
}

.loader-dtossstytte:before {
  content: "Loading...";
}

@keyframes l4 {
  to {
    clip-path: inset(0 -1ch 0 0);
  }
}

@media screen and (max-width: 700px) {
  /* .AugmentPart {
max-width: 90%;
max-height: 80%;
} */
  .AugmentPart {
    max-width: 99%;
    max-height: 99%;
  }
}

.AugmentPart iframe,
.AugmentPart embed,
.AugmentPart object {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.AR-model {
  height: 100%;
  width: 100%;
  background-color: transparent;
  border: 0;
}

.loading-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.swtich-screen-btn {
  position: absolute;
  bottom: 0;
  right: 0;
}
.tryon-postion-relaticve {
  position: relative !important;
}

#open-popup-button {
  padding: 15px 15px !important;
  margin: 0;
  border-radius: 15px;
}
@media (min-width: 768px) {
  .try-on-roduct-section {
    display: flex;
    bottom: 19%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    width: max-content;
    z-index: 20;
  }
}
@media (max-width: 767px) {
  .try-on-roduct-section {
    display: flex;
    top: 0;
    left: 0;
    /* transform: translateX(-50%); */
    /* position: absolute; */
    width: max-content;
    z-index: 20;
    justify-content: end;
    width: 100%;
    padding-right: 0;
    position: fixed;
  }
}

/* TryOn Button Styles */
.glasses-tryon-btn {
  background-color: #007cba;
  border: 1px solid #007cba;
  color: #fff !important;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px 0;
}

.glasses-tryon-btn:hover {
  background-color: #005a87;
  border-color: #005a87;
}

.glasses-tryon-section {
  margin: 15px 0;
  text-align: center;
}

.glasses-tryon-before-title {
  text-align: left;
}

.single-product .woocommerce-product-gallery {
  position: relative;
}

.glasses-tryon-overlay {
  margin: 0;
  position: absolute;
  top: 1rem;
  z-index: 9;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.glasses-tryon-overlay.is-ready {
  opacity: 1;
}

.glasses-tryon-overlay-right {
  right: 1rem;
  left: auto;
  text-align: right;
}

.glasses-tryon-overlay-left {
  left: 1rem;
  right: auto;
  text-align: left;
}

.glasses-tryon-overlay .glasses-tryon-btn {
  margin: 0;
}

.glasses-tryon-overlay--fallback {
  margin: 15px 0;
  text-align: left;
  opacity: 1;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.no-js .glasses-tryon-overlay {
  position: static;
  margin: 15px 0;
  opacity: 1;
}

/* Debug message styles */
.glasses-tryon-debug {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 14px;
}

.woocommerce ul.products li.product {
  position: relative;
}

.glasses-tryon-shop-wrapper {
  position: absolute;
  top: 0.75rem;
  z-index: 5;
}

.glasses-tryon-shop-wrapper.glasses-tryon-position-right {
  right: 0.75rem;
  left: auto;
}

.glasses-tryon-shop-wrapper.glasses-tryon-position-left {
  left: 0.75rem;
  right: auto;
}

.glasses-tryon-shop-btn {
  margin: 0;
  padding: 0.6em 1.2em;
  font-size: 0.85rem;
  line-height: 1.2;
  white-space: nowrap;
}
