/* ==========================================================================
   MEIGroup Product Detail - MetOne Instruments Layout (MEIGroup Blue Edition)
   ========================================================================== */

:root {
  --mo-blue-primary: hsl(200.47deg 100% 50%);
  --mo-blue-hover: hsl(200.47deg 100% 42%);
  --mo-blue-dark: #004c5d;
  --mo-blue-glow: hsla(200.47deg 100% 50% / 0.28);
}

.mo-product-page {
  padding-top: 20px;
  padding-bottom: 60px;
  background: #ffffff;
}

/* Breadcrumbs */
.mo-breadcrumbs {
  font-size: 13.5px;
  color: #666;
  margin-bottom: 35px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.mo-breadcrumbs a {
  color: #444;
  text-decoration: none;
}
.mo-breadcrumbs a:hover {
  color: var(--mo-blue-primary);
}
.mo-breadcrumbs .sep {
  color: #999;
}
.mo-breadcrumbs .current {
  color: #111;
  font-weight: 600;
}

/* Allow sticky sidebar to work properly inside wrapper */
#wrapper {
  overflow: visible !important;
}

/* ==========================================================================
   2-Column Layout (Exact MetOne Ratio)
   ========================================================================== */
.mo-product-layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 65px;
}

/* ==========================================================================
   LEFT SIDEBAR: Image Gallery + Support Documents
   ========================================================================== */
.mo-sidebar {
  display: flex;
  flex-direction: column;
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  z-index: 10;
}

/* Main Featured Image Box */
.mo-main-image-box {
  border: 1px solid #111111;
  background: #ffffff;
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.mo-main-image-box a.MagicZoom,
.mo-main-image-box img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  margin: 0 auto;
}

/* 3-Column Thumbnails Row */
.mo-thumbnails-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.mo-thumb-box {
  border: 1px solid #111111;
  background: #ffffff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none !important;
}
.mo-thumb-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.mo-thumb-box:hover,
.mo-thumb-box.active {
  border-color: var(--mo-blue-primary);
  opacity: 0.9;
}

/* Support Section */
.mo-support-heading {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  margin: 36px 0 20px 0;
  line-height: 1.2;
}

/* Support Document Cards (MANUALS, TECH INFO) */
.mo-support-card {
  background: #ebeef2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.mo-support-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.mo-support-card-header {
  background: #e2e6ea;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 13.5px;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mo-support-card-body {
  padding: 18px 18px;
  background: #ebeef2;
}
.mo-support-doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #222222;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.mo-support-doc-link:hover {
  color: #0070ba;
}
.mo-doc-icon {
  color: #0070ba;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.mo-support-doc-link:hover .mo-doc-icon {
  transform: translateY(2px);
}

/* ==========================================================================
   RIGHT COLUMN: Main Product Details
   ========================================================================== */
.mo-main-details {
  display: flex;
  flex-direction: column;
}

/* Product Title */
.mo-product-title {
  font-size: 34px;
  font-weight: 800;
  color: #111111;
  line-height: 1.25;
  margin: 0 0 20px 0;
  letter-spacing: -0.3px;
}

/* Main WYSIWYG Description, Content & Technical Info */
.mo-wysiwyg-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: #222222;
}
.mo-wysiwyg-desc p {
  margin-bottom: 18px;
}
.mo-wysiwyg-desc strong,
.mo-wysiwyg-desc b {
  color: #111111;
  font-weight: 700;
}
.mo-wysiwyg-desc h2,
.mo-wysiwyg-desc h3,
.mo-wysiwyg-desc h4 {
  color: #111111;
  font-weight: 700;
  margin: 24px 0 12px 0;
}
.mo-wysiwyg-desc h3,
.mo-features-heading {
  font-size: 15px;
  font-weight: 700;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mo-wysiwyg-desc ul {
  list-style-type: disc;
  margin: 12px 0 24px 22px;
  padding: 0;
}
.mo-wysiwyg-desc ul li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: #222222;
}
.mo-wysiwyg-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}
.mo-wysiwyg-desc table th,
.mo-wysiwyg-desc table td {
  padding: 11px 16px;
  border: 1px solid #e2e8f0;
}

/* Request Quote Button (MEIGroup Blue Edition) */
.mo-request-quote-wrap {
  margin: 32px 0 35px 0;
}
.mo-btn-request-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(
    135deg,
    hsl(200.47deg 100% 50%) 0%,
    hsl(200.47deg 100% 42%) 100%
  );
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px var(--mo-blue-glow);
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}
.mo-btn-request-quote:hover {
  background: linear-gradient(
    135deg,
    hsl(200.47deg 100% 45%) 0%,
    hsl(200.47deg 100% 36%) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 20px hsla(200.47deg 100% 50% / 0.4);
}
.mo-btn-request-quote i {
  font-size: 13px;
  transition: transform 0.25s ease;
}
.mo-btn-request-quote:hover i {
  transform: translateX(4px);
}

/* Technical Information Section (kithuat) */
.mo-kithuat-section {
  margin: 35px 0 28px 0;
}
.mo-kithuat-heading {
  font-size: 15px;
  font-weight: 700;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid #eef2f6;
}
.mo-kithuat-heading::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--mo-blue-primary);
}

/* Disclaimer Text */
.mo-disclaimer-text {
  font-style: italic;
  font-size: 13.5px;
  color: #555555;
  text-align: right;
  margin: 24px 0 20px 0;
}

/* Print & Download Specs Links */
.mo-bottom-util-links {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  font-size: 13.5px;
}
.mo-util-link {
  color: #333333;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.mo-util-link:hover {
  color: var(--mo-blue-primary);
}
.mo-util-link i {
  font-size: 14px;
  color: #e53935;
}
.mo-util-link:hover i {
  color: #d32f2f;
}

/* ==========================================================================
   "Choose Superior Customer Service" Banner (Exact MetOne CSS - Hình 1)
   ========================================================================== */
#customer-service {
  background-color: #ffffff;
  text-align: center;
  margin: 60px 0 40px 0;
  position: relative;
  border-bottom: 1px solid #edf2f7;
}

#customer-service > .wrapper {
  background-image: url("../images/world-map.jpg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto;
  max-width: 3000px;
  padding: 80px 10%;
}

@media (min-width: 768px) {
  #customer-service > .wrapper {
    padding: 170px 0;
  }
}

.mo-cs-title {
  font-size: 34px;
  font-weight: 800;
  color: #111111;
  margin: 0 0 26px 0;
  line-height: 1.3;
  font-family: inherit;
  letter-spacing: -0.3px;
}

.mo-btn-get-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--mo-blue-primary);
  background: #ffffff;
  color: var(--mo-blue-primary) !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 42px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.mo-btn-get-support:hover {
  background: var(--mo-blue-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--mo-blue-glow);
}

.mo-btn-get-support i {
  transition: transform 0.25s ease;
}

.mo-btn-get-support:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   Related Equipment Cards Layout (Retained from /thiet-bi & /du_an)
   ========================================================================== */
.mei-related-wrap {
  margin-top: 30px;
}
.mei-duan-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.mei-duan-item {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.mei-duan-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--mo-blue-glow);
  border-color: var(--mo-blue-primary);
}
.mei-duan-img {
  flex: 0 0 300px;
  max-width: 300px;
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}
.mei-duan-img a {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
}
.mei-duan-img img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mei-duan-item:hover .mei-duan-img img {
  transform: scale(1.06);
}
.mei-duan-content {
  flex: 1;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mei-duan-title {
  margin: 0 0 10px 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}
.mei-duan-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mei-duan-title a:hover {
  color: var(--mo-blue-primary);
}
.mei-duan-desc {
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mei-duan-action {
  display: flex;
  justify-content: flex-start;
}
.mei-btn-view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  background-color: transparent;
  color: var(--mo-blue-primary);
  border: 2px solid var(--mo-blue-primary);
  border-radius: 25px;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.mei-btn-view i {
  font-size: 12px;
  transition: transform 0.3s ease;
}
.mei-btn-view:hover {
  background-color: var(--mo-blue-primary);
  border-color: var(--mo-blue-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--mo-blue-glow);
}
.mei-btn-view:hover i {
  transform: translateX(6px);
}

/* ==========================================================================
   Responsive UI/UX Rules
   ========================================================================== */
@media (max-width: 991px) {
  .mo-product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mo-sidebar {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    position: static;
  }
  .mei-duan-img {
    flex: 0 0 250px;
    max-width: 250px;
  }
  .mei-duan-content {
    padding: 18px 20px;
  }
}

@media (max-width: 767px) {
  .mo-product-title {
    font-size: 24px;
  }
  .mo-btn-request-quote {
    width: 100%;
  }
  .mo-cs-title {
    font-size: 22px;
  }
  .mo-btn-get-support {
    width: 100%;
  }
  .mo-bottom-util-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mei-duan-list {
    gap: 18px;
  }
  .mei-duan-item {
    flex-direction: column;
  }
  .mei-duan-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    height: 210px;
  }
  .mei-duan-img a {
    min-height: 210px;
  }
  .mei-duan-title {
    font-size: 17px;
  }
  .mei-btn-view {
    width: 100%;
    justify-content: center;
  }
}
