body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  color: #333;
}

.containerr {
  display: flex;
  flex-wrap: wrap;
  /* Added to make the layout responsive */
}

.content-container {
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.another-container {
  padding-left: 170.5px;
  display: flex;
  width: 100%;
}

.another-container .left,
.another-container .right {
  padding: 20px;
}

.common-container {
  display: flex;
}

.left-container {
  flex: 0.5;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.left-container img {
  width: 100%;
  /* Ensure image fills available width */
  max-width: 80px;
  /* Limit max width to 80px */
  height: auto;
  /* Maintain aspect ratio */
  cursor: pointer;
  border: 1px solid #f0f0f0;
  padding: 6px;
  margin-bottom: 10px;
  border-radius: 8px;
  transition: transform 0.3s ease, border 0.3s ease;
}

.left-container img:hover {
  transform: scale(1.1);
  border: 1px solid #ff9f00;
}

.main-image-container {
  flex: 1.5;
  padding: 20px;
  position: relative;
  width: 100%;
}

.main-image-container img {
  /* max-width: 400px; */
  /* Ensure the image doesn't stretch beyond a certain width */
  height: auto;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* .prod-detail-main-img{
  max-width: 100%;
} */

.right-container {
  flex: 2;
  padding: 20px;
  z-index: 10;
}

.select-lens-btn,
.cart-btn {
  width: 48%;
  height: 40px;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-right: 2%;
}

.select-lens-btn {
  background: #fb641b;
}

.cart-btn {
  background: #ff9f00;
}

.select-lens-btn:hover,
.cart-btn:hover {
  background-color: #ff8c1a;
  transform: translateY(-3px);
}

.select-lens-btn:active,
.cart-btn:active {
  transform: translateY(1px);
}

.select-lens-btn:focus,
.cart-btn:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.pin-code-section {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pin-code-section input {
  padding: 8px;
  width: 140px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.pin-code-section button {
  padding: 6px 12px;
  background-color: #fb641b;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.pxx-3 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.pin-code-section button:hover {
  background-color: #ff9f00;
}

.pin-code-result {
  margin-top: 10px;
  font-size: 14px;
  color: #fb641b;
}

.reviews {
  margin-top: 30px;
}

.review-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
  font-weight: bold;
}

.review-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 20px;
}

.review-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}

.review-content {
  flex: 1;
}

.review-rating {
  font-size: 18px;
  color: #ff9f00;
  margin-bottom: 10px;
}

.review-description {
  font-size: 14px;
  color: #555;
}

.review-author {
  font-weight: bold;
  color: #333;
}

.review-date {
  font-size: 12px;
  color: #888;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.popup.show {
  display: flex;
  opacity: 1;
}

.popup-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  /* width: 400px; */
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.popup button {
  padding: 10px 20px;
  margin-top: 20px;
  background-color: #fb641b;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 1%;
}

.popup button:hover {
  background-color: #ff9f00;
  transform: translateY(-3px);
}

.popup button:active {
  transform: translateY(1px);
}

.popup h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 14px;
}

.header .item-right a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-input {
  margin: 10px 0;
}

.vision-input label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.vision-input input {
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ccc;
}

h4 {
  font-size: 16px;
  margin-top: 20px;
  color: #333;
}

.page_wrapperr {
  margin-bottom: 20px;
  overflow: auto;
  max-width: 100%;
  transition: all 0.4s ease;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .containerr {
    flex-direction: column;
    align-items: center;
  }

  .common-container {
    width: 100%;
  }

  .right-container {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-image-container img {
    max-width: 100%;
    /* Ensure the image is responsive */
  }

  .left-container {
    align-items: flex-start;
  }

  .select-lens-btn,
  .cart-btn {
    width: 100%;
    margin-top: 10px;
  }

  .pin-code-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .containerr {
    align-items: center;
    padding: 15px;
  }

  /* .main-image-container img {
    max-width: 530px;
  } */

  .another-container {
    padding-left: 0;
    flex-direction: column;
  }

  .select-lens-btn,
  .cart-btn {
    width: 100%;
    margin-top: 10px;
  }

  .pin-code-section input {
    width: 100%;
    margin-bottom: 10px;
  }

  .pin-code-section button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .containerr {
    padding: 10px;
  }

  .main-image-container img {
    max-width: 100%;
  }

  .left-container img {
    width: 60px;
  }

  .select-lens-btn,
  .cart-btn {
    width: 100%;
    margin-top: 10px;
  }

  .pin-code-section input {
    width: 100%;
  }

  .pin-code-section button {
    width: 100%;
  }

  .header .item-right a {
    font-size: 8px !important;
  }
}

@media (max-width: 480px) {
  .left-container img {
    max-width: 100px;
    /* Slightly reduce image size on smaller screens */
  }
}

.main-image-container {
  position: relative;
  display: inline-block;
}

.product-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

#product-image {
  width: 100%;
  height: auto;
  display: block;
}

.specs-features {
  margin-top: 30px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.specs-features h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.specs-features ul {
  list-style-type: disc;
  padding-left: 20px;
}

.specs-features li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

/* Benefits Section (Free Delivery, Returns, Warranty) */
.benefits {
  margin-top: 30px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

.benefits h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
}

.benefit-icons {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.benefit-icon {
  text-align: center;
  flex: 1 1 30%;
}

.benefit-icon img {
  /* width: 60px;
  height: 60px; */
  object-fit: cover;
  margin-bottom: 10px;
}

.benefit-icon p {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .benefit-icons {
    /* flex-direction: column; */
    align-items: center;
  }

  .benefit-icon {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .benefit-icon img {
    width: 50px;
    height: 50px;
  }

  .benefit-icon p {
    font-size: 12px;
  }
}

/* Available Color Options Section */
.available-colors-section {
  margin-top: 30px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.available-colors-section h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.color-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  /* Ensures the swatches can wrap in smaller screens */
}

.color-option {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ccc;
  transition: transform 0.3s ease, border 0.3s ease;
  box-sizing: border-box;
}

.color-option:hover {
  transform: scale(1.1);
  border-color: #ff9f00;
}

#selected-color {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

/* Responsive Design for color options */
@media (max-width: 768px) {
  .color-options {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .color-option {
    margin-bottom: 10px;
  }
}

.product-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.img-container {
  position: relative;
  overflow: hidden;
  border: 1px solid #ccc;
}

.img-container img {
  width: 100%;
  height: 400px;
  display: block;
}

.zoom-container {
  position: absolute;
  left: 100%;
  /* Places it beside the main image */
  top: 0;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border: 1px solid #000;
  display: none;
  background: #fff;
  z-index: 9999;
  /* Move forward of all other content */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.zoom-container img {
  position: absolute;
  width: 1600px;
  height: 1600px;
}

.lens {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid #000;
  background: rgba(255, 255, 255, 0.4);
  display: none;
  pointer-events: none;
}