/* ========================================
   PRODUCT GALLERY SWIPER STYLES
   ======================================== */

/* Wrapper for entire gallery */
.product-gallery-wrapper {
  display: flex;
  gap: 20px;
  flex-direction: row; /* Main image on left, thumbs on right */
  align-items: center; /* Vertically center thumbnails */
}

/* Main Product Image Slider */
.product-gallery-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f8f8f8;
}

/* Zoom Pane Container */
.product-gallery-zoom-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
  border-radius: 8px;
}

.product-gallery-main-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: crosshair;
}

.product-gallery-main-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: crosshair;
}

/* Disable zoom cursor on mobile/tablet */
@media (max-width: 991px) {
  .product-gallery-main-img {
    cursor: default;
  }

  .product-gallery-main-img img {
    cursor: default;
    pointer-events: auto;
    touch-action: pan-y;
  }
}

/* Drift.js Zoom Styles */
.product-gallery-main .drift-zoom-pane {
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-gallery-main .drift-zoom-pane.drift-inline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.product-gallery-main .drift-zoom-pane.drift-inline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation Buttons for Main Slider */
.product-gallery-button-prev,
.product-gallery-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.product-gallery-button-prev {
  left: 15px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.product-gallery-button-next {
  right: 15px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.product-gallery-button-prev:hover,
.product-gallery-button-next:hover {
  background-color: #c80b0f;
  border-color: #c80b0f;
  transform: translateY(-50%) scale(1.05);
}

.product-gallery-button-prev:hover {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>');
}

.product-gallery-button-next:hover {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>');
}

/* Disabled State for Main Slider Buttons */
.product-gallery-button-prev.swiper-button-disabled,
.product-gallery-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.product-gallery-button-prev.swiper-button-disabled:hover,
.product-gallery-button-next.swiper-button-disabled:hover {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
}

.product-gallery-button-prev.swiper-button-disabled:hover {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>');
}

.product-gallery-button-next.swiper-button-disabled:hover {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>');
}

/* Thumbnail Slider Container (with space for buttons) */
.product-gallery-thumbs-container {
  width: 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Thumbnail Slider (Vertical on desktop) */
.product-gallery-thumbs {
  width: 100%;
  height: 540px;
  overflow: hidden;
  position: relative;
}

/* Thumbnail Navigation Buttons - Outside overflow container (Simplified - Icon Only) */
.product-gallery-thumbs-button-prev,
.product-gallery-thumbs-button-next {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  box-shadow: none;
  flex-shrink: 0;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.product-gallery-thumbs-container {
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.product-gallery-thumbs-button-prev {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.product-gallery-thumbs-button-next {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.product-gallery-thumbs-button-prev:hover,
.product-gallery-thumbs-button-next:hover {
  transform: scale(1.1);
}

.product-gallery-thumbs-button-prev:hover {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23c80b0f" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"/></svg>');
}

.product-gallery-thumbs-button-next:hover {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23c80b0f" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
}

.product-gallery-thumbs-button-prev.swiper-button-disabled,
.product-gallery-thumbs-button-next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.product-gallery-thumbs .swiper-slide {
  height: auto;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  border: 1px solid #0000004d;
}

.product-gallery-thumbs .swiper-slide:hover {
  opacity: 0.85;
}

.product-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #111111;
}

.product-gallery-thumb-img {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  padding: 0;
}

.product-gallery-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 1200px) {
  #product-gallery {
      flex: 0 0 auto;
      width: 54%;
  }
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 991px) {
  .product-gallery-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .product-gallery-main {
    width: 100%;
  }

  .product-gallery-main-img {
    padding: 0;
  }

  /* Zoom pane adjustments for tablet */
  .product-gallery-zoom-pane {
    display: none;
  }

  /* Show zoom pane on hover for tablet (if needed) */
  .product-gallery-main-img:hover {
    cursor: zoom-in;
  }

  .product-gallery-thumbs-container {
    width: 100%;
    flex-direction: row;
    gap: 0;
    order: 2;
  }

  .product-gallery-thumbs {
    width: 100%;
    height: auto;
  }

  .product-gallery-thumbs .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
  }

  .product-gallery-thumb-img {
    width: 100px;
    height: 90px;
    padding: 0;
  }

  .product-gallery-button-prev,
  .product-gallery-button-next {
    width: 40px;
    height: 40px;
  }

  /* Hide thumbnail navigation on mobile/tablet (horizontal mode) */
  .product-gallery-thumbs-button-prev,
  .product-gallery-thumbs-button-next {
    display: none;
  }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 767px) {
  .product-gallery-wrapper {
    gap: 12px;
  }

  .product-gallery-main-img {
    padding: 0;
  }

  /* Disable zoom pane on mobile */
  .product-gallery-zoom-pane {
    display: none;
  }

  .product-gallery-main-img {
    cursor: default;
  }

  .product-gallery-thumbs .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
  }

  .product-gallery-thumb-img {
    width: 80px;
    height: 75px;
    padding: 0;
  }

  .product-gallery-button-prev,
  .product-gallery-button-next {
    width: 36px;
    height: 36px;
  }

  .product-gallery-button-prev {
    left: 10px;
  }

  .product-gallery-button-next {
    right: 10px;
  }
}

/* ========================================
   PRODUCT CONTACT INFO STYLES
   ======================================== */

.product-contact-info {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.product-contact-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.product-contact-item:hover {
  background: #fff;
  border-color: #c80b0f;
  box-shadow: 0 4px 12px rgba(200, 11, 15, 0.1);
  transform: translateY(-2px);
}

.product-contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.product-contact-icon svg {
  stroke: #333;
  fill: none;
  transition: all 0.3s ease;
}

.product-contact-icon.whatsapp svg {
  stroke: none;
  fill: #25D366;
}

.product-contact-item:hover .product-contact-icon {
  background: #c80b0f;
  transform: scale(1.05);
}

.product-contact-item:hover .product-contact-icon svg {
  stroke: #fff;
  fill: none;
}

.product-contact-item:hover .product-contact-icon.whatsapp {
  background: #25D366;
}

.product-contact-item:hover .product-contact-icon.whatsapp svg {
  fill: #fff;
  stroke: none;
}

.product-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-contact-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-contact-number {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  font-family: var(--tp-ff-heading);
}

.product-contact-item:hover .product-contact-number {
  color: #c80b0f;
}

.product-contact-item:hover .product-contact-icon.whatsapp ~ .product-contact-text .product-contact-number {
  color: #25D366;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .product-contact-info {
    gap: 12px;
  }

  .product-contact-item {
    padding: 14px 16px;
  }

  .product-contact-icon {
    width: 40px;
    height: 40px;
  }

  .product-contact-number {
    font-size: 15px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .product-contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .product-contact-item {
    padding: 14px 16px;
  }

  .product-contact-icon {
    width: 42px;
    height: 42px;
  }

  .product-contact-number {
    font-size: 15px;
  }
}

/* ========================================
   RELATED PRODUCTS SWIPER STYLES
   ======================================== */

.related-swiper { position: relative; }
.related-swiper .swiper-slide { height: auto; }
.related-swiper .tp-product-item { margin-bottom: 0; }
.related-swiper-nav { display: flex; gap: 8px; }

/* Desktop buttons slightly larger */
.related-swiper-button-prev, .related-swiper-button-next {
  width: 40px; height: 40px; border: 1px solid rgba(0,0,0,0.2);
  border-radius: 50%; background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.related-swiper-button-prev:after, .related-swiper-button-next:after { display: none; }
.related-swiper-button-prev {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>');
  background-repeat:no-repeat; background-position: center;
}
.related-swiper-button-next {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>');
  background-repeat:no-repeat; background-position: center;
}

/* Keep mobile size same */
@media (max-width: 767px) {
  .related-swiper-button-prev, .related-swiper-button-next { width: 32px; height: 32px; }
}


@media screen and (min-width: 1400px) {
    .sulax-spec-cards {
        width: 80%;
    }
    
}

@media screen and (max-width: 1400px) {
   
.product-contact-number {
  font-size: 14px;
}
    
}


