/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES - VJ SURGICAL INDUSTRIES
   ========================================================================== */

.detail-page-wrapper {
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 96px;
  background: var(--bg-base);
  min-height: 80vh;
}

/* Breadcrumbs */
.vj-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.vj-breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.vj-breadcrumbs a:hover {
  color: var(--teal-600);
}

.vj-breadcrumbs .separator {
  color: var(--text-subtle);
  font-size: 0.75rem;
}

.vj-breadcrumbs .current {
  color: var(--navy-950);
  font-weight: 600;
}

/* Main Detail Grid */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  margin-bottom: 72px;
}

/* Gallery (Left) */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  overflow: hidden;
  cursor: zoom-in;
}

.product-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.product-gallery-main:hover img {
  transform: scale(1.1);
}

.gallery-zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.product-thumbnails {
  display: flex;
  gap: 14px;
}

.product-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  background: var(--bg-subtle);
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.product-thumb:hover, .product-thumb.active {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(2, 148, 165, 0.15);
}

.product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Info (Right) */
.product-info-panel {
  display: flex;
  flex-direction: column;
}

.product-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.detail-category-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  background: var(--teal-50);
  border: 1px solid var(--border-teal);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.detail-sku-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.detail-product-name {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.15;
  margin-bottom: 16px;
}

.detail-product-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Sizes Section */
.detail-spec-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.spec-heading {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-900);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sizes-selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-pill-option {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-light);
  color: var(--navy-900);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.size-pill-option:hover {
  border-color: var(--teal-500);
  background: #ffffff;
}

.size-pill-option.active {
  background: var(--teal-600);
  color: #ffffff;
  border-color: var(--teal-600);
  box-shadow: 0 4px 12px rgba(2, 148, 165, 0.28);
}

/* Bullet Points / Highlights */
.detail-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.highlight-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.highlight-point i {
  color: var(--teal-500);
  margin-top: 4px;
  font-size: 0.9rem;
}

/* Inquiry Actions */
.detail-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.detail-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.detail-btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  color: #ffffff;
}

.detail-btn-call {
  background: #ffffff;
  color: var(--navy-900);
  border: 1.5px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.detail-btn-call:hover {
  background: #f8fafc;
  color: var(--teal-600);
  border-color: var(--teal-500);
  transform: translateY(-2px);
}

/* Manufacturing Guarantee Strip */
.detail-guarantee-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-top: auto;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guarantee-item i {
  color: var(--teal-600);
  font-size: 1.1rem;
}

.guarantee-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.25;
}

/* Related Products Section */
.related-products-section {
  margin-top: 48px;
}

.related-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
}

@media (max-width: 992px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .detail-page-wrapper {
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 56px;
  }

  .vj-breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.8rem;
  }

  .product-detail-layout {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    gap: 28px;
    margin-bottom: 48px;
  }

  .product-gallery-main {
    padding: 20px;
  }

  .product-thumb {
    width: 62px;
    height: 62px;
  }

  .detail-product-name {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }

  .detail-product-description {
    font-size: 0.94rem;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .detail-spec-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .sizes-selector-row {
    gap: 8px;
  }

  .size-pill-option {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .detail-cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }

  .detail-cta-row .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
  }

  .detail-guarantee-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .related-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}
