/* ===== MENU TOP ===== */
.menu-detail-top {
  background: var(--color-main);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 11;
  padding-bottom: 4rem;
}

.js-scroll-info {
  opacity: 0.65;
  transition: opacity .3s ease;
}

.js-scroll-info.active {
  opacity: 1;
  text-decoration: underline;
}
.section-highlight {
  position: relative;
}

.section-highlight.pulse::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 6px;
  background: rgba(0, 150, 255, 0.18);
  animation: sectionPulse .9s ease-out;
  pointer-events: none;
}

@keyframes sectionPulse {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}


.menu-detail-top .wrap-content {
  height: 50px;
  background-color: #053266;
}

#news-bodyhtml {
  scroll-margin-top: 90px;
}

.menu-detail-top-flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-content: center;
  height: 50px;
}

.menu-detail-top a {
  color: #fff;
}

/* ===== GRID DETAIL ===== */
.grid-pro-detail {
  margin-bottom: 2rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.grid-pro-detail .wrap-content {
  max-width: 1250px;
  margin: auto;
}

.grid-pro-detail .wrap-1100 .padding-top-bottom {
  margin-bottom: 2rem;
  max-width: 1300px;
  margin: auto;
}

/* Removed Bootstrap 5 gutter and flex overrides - using default Bootstrap 3 grid */

/* ===== PRODUCT DETAIL LEFT ===== */
.product-detail .title-pro-detail {
  text-transform: uppercase;
  font-size: 28px;
  font-weight: bold;
  color: #000;
}

.price-detail {
  font-size: 15px;
}

.price-new-pro-detail {
  font-size: 19px;
  font-weight: 600;
  display: block;
}

.price-detail-paid {
  color: #c8102e;
  margin: 1rem 0;
  font-size: 14px;
}

/* ===== BUTTONS ===== */
.btn-quote-detail,
.btn-phone-detail {
  display: inline-block;
  padding: 15px 25px;
  background: #c8102e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #c8102e;
  border-radius: 3px;
}

.btn-zalo-detail {
  display: inline-block;
  padding: 10px 25px;
  background: #ccc;
  color: #000;
  margin-top: 1rem;
  border-radius: 3px;
}

/* ===== IMAGE CENTER ===== */
.left-pro-detail {
  position: relative;
  text-align: center;
}

.left-pro-detail img {
  max-width: 600px;
  max-height: 400px;
}

/* ===== ARTICLE IMAGE ===== */
figure.article.left {
  cursor: pointer;
}

figure.article.center img {
  width: auto;
  max-width: 100%;
}

/* ===== FILE PREVIEW ===== */
.collapse iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* ===== OTHER NEWS ===== */
.other-news ul.related li {
  display: block;
}
a, a:link, a:active, a:visited {
    color: #fff;
}

/* =========================
   GLOBAL ENHANCEMENT
========================= */
.grid-pro-detail {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 1rem;
}

.news_details.panel {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: none;
}

/* =========================
   PRODUCT IMAGE
========================= */
.left-pro-detail {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 1rem;
}

.left-pro-detail img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.left-pro-detail img:hover {
  transform: scale(1.03);
}

/* =========================
   PRODUCT INFO
========================= */
.product-detail {
  background: #fff;
}

.title-pro-detail {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.price-detail {
  margin-top: 0.5rem;
}

.price-new-pro-detail {
  color: #c8102e;
}

/* =========================
   BUTTONS
========================= */
.btn-quote-detail,
.btn-phone-detail {
  width: 100%;
  margin-top: 0.75rem;
  transition: all 0.25s ease;
}

.btn-quote-detail:hover,
.btn-phone-detail:hover {
  background: #a50d25;
  border-color: #a50d25;
}

.btn-zalo-detail {
  width: 100%;
  text-align: center;
  font-weight: 500;
  transition: background 0.25s ease;
}

.btn-zalo-detail:hover {
  background: #bbb;
}

/* =========================
   RIGHT INFO BOX
========================= */
.desc-pro-detail {
  background: #fafafa;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.desc-pro-detail ul {
  padding-left: 1rem;
}

.desc-pro-detail li {
  margin-bottom: 0.4rem;
  font-size: 14px;
}

/* =========================
   ARTICLE CONTENT
========================= */
#news-bodyhtml {
  font-size: 15px;
  line-height: 1.7;
}

#news-bodyhtml img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}

/* =========================
   OTHER NEWS
========================= */
.other-news ul.related li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed #ddd;
}

.other-news ul.related li h4 {
  font-size: 15px;
  margin: 0;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 991px) {

  .grid-pro-detail {
    padding: 1rem 0.5rem;
  }

  .grid-pro-detail .row {
    flex-direction: column;
  }

  .grid-pro-detail .col-md-3,
  .grid-pro-detail .col-md-6 {
    width: 100% !important;
    flex: 0 0 100%;
    margin-bottom: 1rem;
  }

  .title-pro-detail {
    font-size: 22px;
    text-align: center;
  }

  .price-detail,
  .price-detail-paid {
    text-align: center;
  }

  .left-pro-detail {
    padding: 0.75rem;
  }

  .left-pro-detail img {
    max-height: 300px;
  }

  .btn-quote-detail,
  .btn-phone-detail,
  .btn-zalo-detail {
    font-size: 14px;
    padding: 12px;
  }

  .desc-pro-detail {
    font-size: 14px;
  }
  
  /* Menu top responsive for mobile */
  .menu-detail-top-flex a {
    font-size: 20px;
    padding: 5px;
  }
  
  .menu-detail-top-flex a i {
    font-size: 18px;
  }
  
  .menu-detail-top-flex {
    gap: 5px;
  }

}

/* Mobile extra small devices */
@media (max-width: 767px) {
  .menu-detail-top {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .menu-detail-top .wrap-content {
    width: 100%;
    max-width: 100%;
  }
  
  .menu-detail-top-flex a {
    font-size: 18px;
    padding: 3px;
  }
  
  .menu-detail-top-flex a i {
    font-size: 16px;
  }
}

