/**
 * Vexport Global Exports - Product Detail Page Stylesheet
 * High-Converting Industrial Export Architecture
 */

/* ==========================================================================
   BREADCRUMB STRIP
   ========================================================================== */
.pd-breadcrumb-strip {
  background: #F8FAFC;
  border-bottom: 1px solid var(--card-border);
  padding: 0.85rem 0;
  font-size: 0.84rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--primary);
}

.breadcrumb-nav i {
  font-size: 0.7rem;
  color: #94A3B8;
}

.breadcrumb-nav .current {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   PRODUCT HERO SECTION
   ========================================================================== */
.pd-hero-section {
  background: #FFFFFF;
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
}

.pd-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pd-gallery-main {
  position: relative;
  width: 100%;
  height: clamp(340px, 45vw, 480px);
  background: #F1F5F9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  display: block;
}

.pd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.2s ease;
}

.pd-gallery-main:hover img {
  transform: scale(1.04);
}

.pd-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.7);
  color: #FFFFFF;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Thumbnail Carousel Row */
.pd-thumb-row {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.pd-thumb {
  flex: 0 0 84px;
  height: 70px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--card-border);
  cursor: pointer;
  background: #F8FAFC;
  transition: var(--transition-fast);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb:hover {
  border-color: var(--accent-gold);
}

.pd-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(10, 54, 34, 0.25);
}

/* Hero Info Panel */
.pd-info-panel {
  display: flex;
  flex-direction: column;
}

.pd-badges-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.pd-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ECFDF5;
  color: var(--primary-deep);
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pd-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.pd-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.pd-short-desc {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Pricing Indicator */
.pd-price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--canvas-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  margin-bottom: 1.5rem;
}

.pd-price-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn-price-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #10B981;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-price-check:hover {
  background: #D1FAE5;
  transform: translateY(-1px);
}

/* Quick Facts Grid */
.pd-quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.85rem;
}

.fact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
}

.fact-card i {
  font-size: 1.25rem;
  margin-top: 2px;
}

.fact-card strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fact-card span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-slate);
}

/* Hero Action Buttons */
.pd-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-pd-quote {
  flex: 1;
  min-width: 220px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #0F172A;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.btn-pd-quote:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.btn-pd-whatsapp {
  flex: 1;
  min-width: 180px;
  background: #25D366;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.btn-pd-whatsapp:hover {
  background: #20BA5C;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   SPECIFICATIONS & OVERVIEW SECTION
   ========================================================================== */
.pd-specs-section {
  background: var(--canvas-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.spec-table-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-row {
  display: flex;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.88rem;
  line-height: 1.45;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row:nth-child(even) {
  background: #F8FAFC;
}

.spec-label {
  flex: 0 0 35%;
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--card-border);
}

.spec-value {
  flex: 1;
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.why-choose-card {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.why-choose-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.why-choose-text p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   PACKAGING OPTIONS GRID
   ========================================================================== */
.pd-packaging-section {
  background: #FFFFFF;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.pack-card {
  background: var(--canvas-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  text-align: center;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pack-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.pack-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: #ECFDF5;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.pack-card h6 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.25rem;
}

.pack-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   QUALITY ASSURANCE / PACKHOUSE INFRASTRUCTURE
   ========================================================================== */
.pd-infra-section {
  background: var(--canvas-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.infra-img-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  position: relative;
  height: 100%;
  min-height: 380px;
}

.infra-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infra-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(10, 54, 34, 0.95);
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.5);
  backdrop-filter: blur(8px);
}

.checklist-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.check-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.check-item i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 1px;
}

.check-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark-slate);
  margin-bottom: 0.15rem;
}

.check-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* ==========================================================================
   RELATED PRODUCTS ROW
   ========================================================================== */
.pd-related-section {
  background: #FFFFFF;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.related-product-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.rel-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  background: #F1F5F9;
  overflow: hidden;
}

.rel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-product-card:hover .rel-img-wrap img {
  transform: scale(1.06);
}

.rel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 54, 34, 0.88);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.rel-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rel-body h6 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.rel-body h6 a {
  color: var(--dark-slate);
  text-decoration: none;
}

.rel-body h6 a:hover {
  color: var(--primary);
}

.rel-origin {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.rel-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
}

.btn-rel-view {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  color: var(--dark-slate);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-rel-view:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-rel-quote {
  flex: 1;
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-rel-quote:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   BUYER TESTIMONIALS
   ========================================================================== */
.pd-reviews-section {
  background: var(--canvas-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--card-border);
  padding-top: 0.85rem;
}

.review-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: #ECFDF5;
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.review-author-info h6 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: var(--dark-slate);
}

.review-author-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE STICKY PROCUREMENT CTA BAR
   ========================================================================== */
.pd-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--card-border);
  padding: 0.75rem 1rem;
  z-index: 998;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  gap: 0.65rem;
}

@media (max-width: 768px) {
  .pd-mobile-sticky-bar {
    display: flex;
  }
  .pd-quick-facts-grid {
    grid-template-columns: 1fr;
  }
  .spec-label {
    flex: 0 0 45%;
  }
}
