/* Product Revamp Layout - Based on Layout 4 */
.wc-single-revamp {
  position: relative;
}

/* Images Container - Full Height No Scroll */
.product-revamp-images-container {
  position: sticky;
  top: 20px;
  height: auto;
  overflow: visible;
  padding-right: 0;
}

/* Product Images */
.product-revamp-images-container .woocommerce-product-gallery {
  margin: 0;
}

.product-revamp-images-container .woocommerce-product-gallery__image {
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: none;
}

.product-revamp-images-container .woocommerce-product-gallery__image:hover {
  transform: none;
  box-shadow: none;
}

.product-revamp-images-container .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Disable zoom hover for revamp layout */
.wc-single-revamp .product-revamp-images-container .woocommerce-product-gallery__image .zoom {
  cursor: pointer !important;
}

.wc-single-revamp .product-revamp-images-container .zoomImg {
  display: none !important;
}

.wc-single-revamp .product-revamp-images-container .woocommerce-product-gallery__image:hover .zoomImg {
  display: none !important;
}

/* Disable zoom initialization for revamp layout */
.wc-single-revamp .product-revamp-images-container .woocommerce-product-gallery__image {
  zoom: 1 !important;
}

.wc-single-revamp .product-revamp-images-container .woocommerce-product-gallery__image a {
  cursor: pointer !important;
}

/* Enable PhotoSwipe click zoom instead of hover zoom */
.wc-single-revamp .product-revamp-images-container .woocommerce-product-gallery__image a:hover {
  cursor: pointer !important;
}

/* Simple Modal for Revamp Layout - No Multiple Lightbox */
.revamp-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.revamp-image-modal.show {
  opacity: 1;
  visibility: visible;
}

.revamp-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.revamp-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.revamp-modal-content img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.revamp-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  transition: background 0.3s ease;
}

.revamp-modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.revamp-modal-title {
  padding: 15px;
  font-size: 14px;
  color: #666;
  text-align: center;
  border-top: 1px solid #eee;
  background: #f9f9f9;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .revamp-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .revamp-modal-content img {
    max-height: 70vh;
  }
}

/* Right Column - Product Info */
.wc-single-revamp .summary.entry-summary {
  padding: 60px 80px;
  margin: 0;
}

.wc-single-revamp .summary.entry-summary.jas-sidebar-sticky {
  position: sticky;
  top: 20px;
}

/* Product Title */
.wc-single-revamp .product_title {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.2;
}

/* Product Price */
.wc-single-revamp .price {
  font-size: 20px;
  font-weight: 300;
  color: #333;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.wc-single-revamp .price del {
  color: #999;
  font-size: 18px;
  margin-right: 10px;
}

.wc-single-revamp .price ins {
  color: #56cfe1;
  text-decoration: none;
}

/* Product Rating */
.wc-single-revamp .woocommerce-product-rating {
  margin-bottom: 20px;
}

.wc-single-revamp .star-rating {
  color: #ffc107;
}

/* Product Description */
.wc-single-revamp .woocommerce-product-details__short-description {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #666;
}

/* Add to Cart */
.wc-single-revamp .single_add_to_cart_button {
  background: #000000;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  text-align: center;
  display: inline-block;
  line-height: 1.4;
  min-width: 120px;
}

.wc-single-revamp .single_add_to_cart_button:hover {
  background: #333333;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Product Meta */
.wc-single-revamp .product_meta {
  margin-bottom: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.wc-single-revamp .product_meta span {
  display: block;
  margin-bottom: 8px;
  color: #666;
}

.wc-single-revamp .product_meta a {
  color: #56cfe1;
  text-decoration: none;
}

.wc-single-revamp .product_meta a:hover {
  text-decoration: underline;
}

/* Product Tabs - Description, Additional Info, Reviews */
.wc-single-revamp .woocommerce-tabs {
  margin-top: 30px;
}

.wc-single-revamp .wc-tabs {
  border-bottom: 2px solid #eee;
  margin-bottom: 0;
  display: flex;
  gap: 0;
}

.wc-single-revamp .wc-tabs li {
  background: none;
  border: none;
  margin: 0;
  padding: 15px 25px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.wc-single-revamp .wc-tabs li.active {
  background: none;
  color: #56cfe1;
  border-bottom-color: #56cfe1;
}

.wc-single-revamp .wc-tabs li:hover {
  color: #56cfe1;
}

.wc-single-revamp .woocommerce-Tabs-panel {
  padding: 25px 0;
  border: none;
  background: none;
  box-shadow: none;
}

.wc-single-revamp .woocommerce-Tabs-panel h2 {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 15px;
}

.wc-single-revamp .woocommerce-Tabs-panel p {
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
}

/* Related Products Section */
.wc-single-revamp .related.products {
  margin-top: 60px;
}

.wc-single-revamp .related.products h2 {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-bottom: 30px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 991px) {
  .product-revamp-images-container {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  
  .wc-single-revamp .summary.entry-summary.jas-sidebar-sticky {
    position: static;
  }
  
  .wc-single-revamp .product_title {
    font-size: 24px;
  }
  
  .wc-single-revamp .price {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .wc-single-revamp .jas-row {
    flex-direction: column;
  }
  
  .wc-single-revamp .jas-col-md-6 {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .product-revamp-images-container {
    max-height: none;
  }
  
  .wc-single-revamp .product_title {
    font-size: 20px;
  }
  
  .wc-single-revamp .wc-tabs {
    flex-direction: column;
  }
  
  .wc-single-revamp .wc-tabs li {
    text-align: center;
    border-bottom: 1px solid #eee;
  }
}