.main-product-image {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 530 / 600;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
  cursor: pointer;
  position: relative;
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Zoom Lens Styles */
.zoom-lens {
  display: block;
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background-color: rgba(255, 255, 255, 0.2);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.15s ease-out;
  will-change: opacity, left, top;
}

.zoom-lens.active {
  opacity: 1;
}

.product-thumbnails {
  display: flex;
  width: 100%;
  justify-content: start;
  gap: 1rem;
}

.product-thumbnail {
  width: 110px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.product-thumbnail.active {
  opacity: 1;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Product Image Modal Styles */
.product-image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.product-image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

.product-image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 2rem;
}

.product-image-modal-img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.product-image-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s ease;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.product-image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.product-image-modal-close:active {
  transform: scale(0.95);
}

.product-image-modal-close svg {
  width: 20px;
  height: 20px;
}

.product-details-section {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  gap: 0.5rem;
  padding: 0 1rem;
}

/* Breadcrumbs */
.custom-breadcrumbs {
  display: flex;
  margin-bottom: 1rem;
  padding: 0 2rem;
}

.custom-breadcrumbs a {
  text-decoration: none;
}

.custom-breadcrumbs .separator {
  margin: 0 0.5rem;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .custom-breadcrumbs {
    justify-content: center;
  }

  .product-details-section {
    padding: 0;
  }

  .product-image-modal-content {
    padding: 1rem;
  }

  .product-image-modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }

  .product-image-modal-close svg {
    width: 18px;
    height: 18px;
  }
}
