/* =========================================================
   MODERN PRODUCT DETAIL & SHOWCASE (2026)
   Matches high-end mockup design specification
   ========================================================= */

:root {
  --prod-navy-dark: #07162c;
  --prod-navy: #0b1e3b;
  --prod-blue: #0056b3;
  --prod-blue-hover: #004494;
  --prod-cyan-bg: #f0f7ff;
  --prod-cyan-text: #0284c7;
  --prod-orange: #ff6b00;
  --prod-green-badge: #15803d;
  --prod-green-bg: #dcfce7;
}

/* 1. Page Wrapper with Subtle Ambient Glow */
.modern-product-page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 60px 20px;
  font-family: 'Figtree', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
}

/* 2. Breadcrumbs */
.modern-product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.modern-product-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.modern-product-breadcrumbs a:hover {
  color: var(--prod-blue);
}

.modern-product-breadcrumbs .breadcrumb-separator {
  color: #94a3b8;
  font-size: 12px;
}

.modern-product-breadcrumbs .breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
}

/* 3. Main Product Showcase Card */
.modern-product-card-main {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(11, 30, 59, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid #edf2f7;
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 30px;
}

/* Left Column: Image & Carousel */
.modern-product-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modern-product-main-image-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-product-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
  padding: 22px;
  box-sizing: border-box;
  background: #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-product-badge-topleft {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #2e7d32;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
  z-index: 2;
}

.modern-product-zoom-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0b1e3b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.2s ease !important;
  z-index: 2 !important;
  padding: 0 !important;
}

.modern-product-zoom-btn:hover {
  transform: scale(1.08) !important;
  color: var(--prod-blue) !important;
  background: #ffffff !important;
}

/* Thumbnail Carousel Strip (Hidden per user request: only authentic single product image) */
.modern-product-thumbs-strip {
  display: none !important;
}

.modern-thumb-arrow {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 50% !important;
  background: #e8f1fa !important;
  border: none !important;
  color: #0056b3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
}

.modern-thumb-arrow:hover {
  background: #0056b3 !important;
  color: #ffffff !important;
}

.modern-thumb-item {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  padding: 2px;
  box-sizing: border-box;
}

.modern-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.modern-thumb-item.is-active,
.modern-thumb-item:hover {
  border-color: #0056b3;
  box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

/* Right Column: Details & Specs */
.modern-product-details-col {
  display: flex;
  flex-direction: column;
}

/* Brand badge */
.modern-product-brand-badge,
a.modern-product-brand-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #004b93 !important;
  color: #ffffff !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  align-self: flex-start !important;
  margin-bottom: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 75, 147, 0.25) !important;
  transition: all 0.2s ease !important;
}

.modern-product-brand-badge:hover,
a.modern-product-brand-badge:hover {
  background: #003870 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.modern-product-title-h1 {
  font-size: 34px;
  font-weight: 800;
  color: #0b1e3b;
  line-height: 1.25;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
}

.modern-product-short-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Highlights row */
.modern-product-highlights-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.modern-highlight-pill {
  background: #f0f7ff;
  border: 1px solid #e0f2fe;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0369a1;
}

.modern-highlight-pill svg {
  width: 18px;
  height: 18px;
  color: #0284c7;
  flex-shrink: 0;
}

/* Technical Specs List */
.modern-product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f1f5f9;
}

.modern-spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  font-size: 14px;
}

.modern-spec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0f172a;
}

.modern-spec-label svg {
  width: 16px;
  height: 16px;
  color: #0056b3;
  flex-shrink: 0;
}

.modern-spec-value {
  color: #475569;
  font-weight: 500;
}

.modern-spec-download-link {
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.modern-spec-download-link:hover {
  color: #003d82;
  text-decoration: underline;
}

.modern-spec-download-link svg {
  width: 14px;
  height: 14px;
}

/* Action Buttons */
.modern-product-actions-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.modern-btn-primary-quote {
  background: #092244;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(9, 34, 68, 0.2);
}

.modern-btn-primary-quote:hover {
  background: #004494;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 68, 148, 0.3);
}

.modern-btn-primary-quote svg {
  width: 18px;
  height: 18px;
}

.modern-btn-secondary-info {
  background: #ffffff;
  color: #0b1e3b !important;
  border: 1.5px solid #0b1e3b;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.modern-btn-secondary-info:hover {
  background: #f8fafc;
  border-color: #0056b3;
  color: #0056b3 !important;
}

/* 4. Trust Badges Bar (Bottom of Product) */
.modern-trust-badges-bar {
  background: #f1f6fc;
  border-radius: 20px;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  border: 1px solid #e2edf8;
}

.modern-trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0b1e3b;
  position: relative;
}

.modern-trust-badge-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background: #cbd5e1;
}

.modern-trust-badge-item svg {
  width: 22px;
  height: 22px;
  color: #0056b3;
  flex-shrink: 0;
}

/* 5. Related Products Section */
.modern-related-section {
  margin-top: 50px;
  padding-top: 30px;
}

.modern-related-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.modern-related-tag {
  font-size: 12px;
  font-weight: 800;
  color: #ff6b00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.modern-related-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background: #ff6b00;
  border-radius: 2px;
}

.modern-related-title {
  font-size: 30px;
  font-weight: 800;
  color: #0b1e3b;
  margin: 0 0 6px 0;
}

.modern-related-subtitle {
  font-size: 14.5px;
  color: #64748b;
  margin: 0;
}

.modern-related-all-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0b1e3b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.modern-related-all-btn:hover {
  border-color: #0056b3;
  color: #0056b3;
  background: #f8fafc;
}

/* Related Cards Grid / Carousel */
.modern-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.modern-related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modern-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 30, 59, 0.09);
  border-color: #cbd5e1;
}

.modern-card-featured-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #0056b3;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.modern-card-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.modern-card-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.modern-related-card:hover .modern-card-image-wrap img {
  transform: scale(1.04);
}

.modern-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.modern-card-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
  min-height: 38px;
}

.modern-card-mini-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.modern-mini-spec {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.modern-mini-spec svg {
  width: 14px;
  height: 14px;
  color: #0056b3;
}

.modern-card-btn-view {
  background: #092244;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 50px;
  text-align: center;
  display: block;
  transition: background 0.2s ease;
}

.modern-card-btn-view:hover {
  background: #004494;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .modern-product-card-main {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }
  .modern-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modern-trust-badges-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .modern-trust-badge-item:not(:last-child)::after {
    display: none;
  }
}

/* =========================================================
   6. Proveedores & Newsletter Sections
   ========================================================= */

.modern-proveedores-section {
  padding: 60px 20px 40px;
  background: #ffffff;
  font-family: 'Figtree', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.modern-proveedores-container {
  max-width: 1140px;
  margin: 0 auto;
}

.modern-proveedores-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 35px 0;
  letter-spacing: -0.01em;
}

.modern-proveedores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.modern-proveedor-cell {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  box-sizing: border-box;
  position: relative;
  transition: all 0.2s ease;
}

.modern-proveedor-cell:not(:nth-child(5n)) {
  border-right: 1px solid #e2e8f0;
}

.modern-proveedor-cell:nth-child(-n+5) {
  border-bottom: 1px solid #e2e8f0;
}

.modern-proveedor-cell a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.modern-proveedor-cell img {
  max-height: 42px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.25s ease;
}

.modern-proveedor-cell:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Newsletter Banner */
.modern-newsletter-section {
  position: relative;
  background-image: url("/wp-content/uploads/2024/12/pixelcut-export-3.png");
  background-position: center 65%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Figtree', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.modern-newsletter-box {
  background: rgba(10, 15, 25, 0.82) !important;
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 44px 38px;
  max-width: 720px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-newsletter-box h3,
.modern-newsletter-title {
  color: #ffffff !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 24px 0 !important;
  text-align: center !important;
}

.modern-newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 0 auto 14px;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modern-newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 6px 0 0 6px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  color: #0f172a !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.modern-newsletter-input::placeholder {
  color: #94a3b8 !important;
}

.modern-newsletter-btn {
  height: 48px !important;
  background: #ff6b00 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 6px 6px 0 !important;
  padding: 0 28px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: background 0.2s ease !important;
  flex-shrink: 0 !important;
}

.modern-newsletter-btn:hover {
  background: #e65c00 !important;
}

.modern-newsletter-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #ffffff !important;
}

.modern-newsletter-privacy {
  color: #cbd5e1 !important;
  font-size: 12.5px !important;
  margin: 12px 0 0 0 !important;
  font-weight: 400 !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  .modern-proveedores-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .modern-proveedor-cell:not(:nth-child(3n)) {
    border-right: 1px solid #e2e8f0;
  }
}

@media (max-width: 600px) {
  .modern-proveedores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modern-newsletter-form {
    flex-direction: column;
    gap: 8px;
  }
  .modern-newsletter-input,
  .modern-newsletter-btn {
    border-radius: 4px !important;
    width: 100% !important;
  }
}
