.cardiozoomlen-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.cardiozoomlen-modal-content {
  background-color: #fefefe;
  margin: 2% auto;
  padding: 20px;
  width: 100%;
  /* max-width: 800px; */
  border-radius: 10px;
  position: relative;
}

.cardiozoomlen-close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 9999;
}

.cardiozoomlen-close-btn:hover,
.cardiozoomlen-close-btn:focus {
  color: black;
  text-decoration: none;
}

.cardiozoomlen-navbar-logo {
  display: block;
  margin-bottom: 15px;
}

/* Image Zoom Styles */
.cardiozoomlen-modal-image {
  position: relative;
  cursor: crosshair;
  overflow: visible;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 400px;
  /* border: 1px solid #ccc; */
  margin-top: 10px;
}

.cardiozoomlen-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Magnifying glass lens */
.cardiozoomlen-magnifier {
  position: fixed;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  width: 100px;
  height: 100px;
  display: none;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background: white;
  overflow: hidden;
}

.cardiozoomlen-magnifier img {
  position: absolute;
  transform-origin: top left;
}

/* Zoom result window */
.cardiozoomlen-zoom-window {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 200px;
  height: 200px;
  border: 2px solid #000;
  border-radius: 10px;
  background: white;
  display: none;
  z-index: 10000;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.cardiozoomlen-zoom-window img {
  position: absolute;
  transform-origin: top left;
}

.cardiozoomlen-zoom-active {
  cursor: none !important;
}

.cardiozoomlen-zoom-info {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Product Card Styles */
.cardiozoomlen-product-card {
  width: 250px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cardiozoomlen-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cardiozoomlen-product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 10px;
}

.cardiozoomlen-product-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.cardiozoomlen-product-price {
  font-size: 18px;
  color: #007bff;
  font-weight: bold;
  margin-bottom: 5px;
}

.cardiozoomlen-product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.cardiozoomlen-products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}
/* Modal Styles */
.cardiozoomlen-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.cardiozoomlen-modal-content {
  background-color: #fefefe;
  margin: 2% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 10px;
  position: relative;
}

.cardiozoomlen-close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 9999;
}

.cardiozoomlen-close-btn:hover,
.cardiozoomlen-close-btn:focus {
  color: black;
  text-decoration: none;
}

.cardiozoomlen-navbar-logo {
  display: block;
  margin-bottom: 15px;
}

/* Image Zoom Styles */
.cardiozoomlen-modal-image {
  position: relative;
  cursor: crosshair;
  overflow: visible;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 400px;
  margin-top: 10px;
}

.cardiozoomlen-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Magnifying glass lens */
.cardiozoomlen-magnifier {
  position: fixed;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  width: 100px;
  height: 100px;
  display: none;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background: white;
  overflow: hidden;
}

.cardiozoomlen-magnifier img {
  position: absolute;
  transform-origin: top left;
}

/* Zoom result window */
.cardiozoomlen-zoom-window {
  position: absolute;
  top: -50px;
  right: 250px;
  width: 200px;
  height: 200px;
  border: 2px solid #000;
  border-radius: 10px;
  background: white;
  display: none;
  z-index: 10000;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.cardiozoomlen-zoom-window img {
  position: absolute;
  transform-origin: top left;
}

.cardiozoomlen-zoom-active {
  cursor: none !important;
}

.cardiozoomlen-zoom-info {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Product thumbnail styles */
.cardiozoomlen-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  /* border: 1px solid #ddd; */
  border-radius: 5px;
  margin: 10px;
  transition: transform 0.3s ease;
}

.cardiozoomlen-product-image:hover {
  transform: scale(1.05);
}

@media (max-width: 824px) {
  .cardiozoomlen-modal {
    display: none !important;
  }
  #imageModal {
    display: none !important;
  }
}
