/* Base Styles */
.product-customizer {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-customizer .product-image-container {
  position: relative;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 2px;
  max-width: fit-content;
  width: 100%;
  margin: auto;
}

.product-customizer .product-main-image {
  /* height: auto;
    object-fit: cover; */
  max-height: 580px;
  height: 100%;
  /* object-fit: contain; */
}

/* img.product-main-image.default-image {
  width: 100vw;
  object-fit: cover;
} */

.product-customizer .hotspot-container {
  justify-self: anchor-center;
}

.product-customizer .product-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.product-customizer .like-button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.product-customizer .like-button:hover {
  background: #fff;
}

.product-customizer .like-button.liked {
  background: #fff0f0;
  border-color: #ff6b6b;
}

/* Customizer Bar */
.product-customizer .customizer-bar {
  display: flex;
  justify-content: space-between;
}

.product-customizer .option-section {
  /* margin-top: 8px; */
}

.product-customizer .option-section:last-child {
  margin-bottom: 0;
}

.product-customizer .option-title {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
}

/* Color Options */
.product-customizer .color-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.product-customizer .color-option {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 2px #999 !important;
}

.product-customizer .color-option:hover {
  transform: scale(1.1);
}

.product-customizer .color-option.selected {
  border-color: #fe5000;
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(254, 80, 0, 0.3);
}

/* Layout Options */
.product-customizer .layout-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-customizer .layout-option {
  width: 44px;
  height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.product-customizer .layout-option:hover {
  transform: scale(1.05);
}

.product-customizer .layout-option.selected {
  border-color: #fe5000;
  transform: scale(1.05);
  box-shadow: 0 0 0 2px rgba(254, 80, 0, 0.3);
}

.product-customizer .layout-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
* Hubspot Styles
*/
.product-customizer .eggo--post_hotspot {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  background-color: #fe5000;
  display: flex;
  border-radius: 50%;
}

.product-customizer .eggo--post_hotspot::before {
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  border: 1px solid #bd6c46f2;
  background-color: #fe5000;
  border-radius: 50%;
}

.product-customizer .tooltip {
  display: none;
  position: absolute;
  background: white;
  padding: 15px;
  width: 200px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  gap: 16px;
  flex-direction: column;
  text-align: left;
}

.product-customizer .tooltip img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  max-height: 100px;
  object-fit: cover;
}

.product-customizer .tooltip h4 {
  color: var(--Primary-900, #3e3904);

  /* Heading 5 Desktop */
  font-family: Avenir;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-align: inherit;
  margin: 0px;
}

.product-customizer .tooltip p {
  color: var(--Black, #2c2801);

  /* Text */
  font-family: Avenir;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  text-align: inherit;
}

.product-customizer .tooltip a {
  color: var(--Primary-600, #6e6809);

  /* Button */
  font-family: Avenir;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-align: inherit;
}

@media (max-width: 1024px) {
  /*.product-customizer .eggo--post_hotspot, .product-customizer .tooltip {*/
  /*    display: none;*/
  /*}*/
  .product-customizer .product-main-image {
    max-height: 450px;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .product-customizer .eggo--post_hotspot,
  .product-customizer .tooltip {
    display: none;
  }
  .product-customizer .product-main-image {
    max-height: 414px;
    height: auto;
    object-fit: contain;
  }
  .product-customizer .customizer-bar {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

@keyframes ripple {
  0% {
    transform: scale(4);
    opacity: 0.2;
  }

  90% {
    transform: scale(2);
    opacity: 0.5;
  }

  100% {
    transform: scale(4);
    opacity: 0.2;
  }
}

@keyframes ripple-inner {
  0% {
    transform: scale(1.5);
    opacity: 1;
  }

  90% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 1;
  }
}
