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

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

.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;
  width: calc(100% - 30px);
}

.grid-pro-detail .wrap-content {
  max-width: 1250px;
  margin: auto;
  width: calc(100% - 30px);
}

.grid-pro-detail .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -.5);
  margin-left: calc(var(--bs-gutter-x) * -.5);
}

/* ===== COLUMNS ===== */
.grid-pro-detail .col-md-3 {
  flex: 0 0 auto;
  width: 25%;
}

.grid-pro-detail .col-md-6 {
  flex: 0 0 auto;
  width: 50%;
}

/* ===== 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;
  }
}

