.title-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}
.title-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 33.333333%;
    height: 5px;
    background: linear-gradient(135deg, #05a742, #f80303 , #05a742);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: moveGradient 3s infinite linear;
}
.post-title h1:hover{
    color: #ad6603 !important;
    cursor: pointer;
}
@keyframes moveGradient {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.post-body {
    border-right: 1px solid #eee;
}
#post-detail h2{
    color: var(--tcg-bg-primary-color);
    font-size: 1.75rem;
}
#post-detail h3{
    color: var(--tcg-bg-primary-color);
    font-size: 1.5rem;
}
#post-detail h4{
    color: var(--tcg-bg-primary-color);
    font-size: 1.25rem;
}
#post-detail h5{
    color: var(--tcg-bg-primary-color);
    font-size: 1rem;
}
#post-detail h5 a{
    color: var(--tcg-bg-primary-color);
    font-size: 1rem;
}
#post-detail h5:hover a{
    color: yellowgreen;
    font-size: 1rem;
}
#post-detail ul{
  padding-left: 2rem;
}
.box-right h3{
  margin-bottom: 0;
}
.box-right {
  background: #f0f0f1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 3px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

.box-header {
  background-color: var(--tcg-bg-primary-color);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 20px 10px;
  border-radius: 10px 10px 0 0;
}

.featured-post {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* padding: 10px 0; */
   
}

.post-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid #00853f;
    transition: all 3s ease;
}
.post-item:hover{
    background-color: #cda061;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
     background-color: rgba(5, 167, 66, 0.85);
    transition: all 1s ease;
    cursor: pointer;
}
.post-item:hover a{
    color: yellow !important;
    transition: all 2s ease;
    cursor: pointer;
}
.post-item:last-child {
  border-bottom: none;
}

.thumb {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 8px;
}

.thumb img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 3s ease;
}

.thumb img:hover {
  transform: scale(1.5);
  cursor: pointer;
}

.post-item h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.post-item a {
  color: #00853f;
  text-decoration: none;
  text-align: justify;
  display: inline-block;
}

.post-item a:hover {
  color:var(--tcg-bg-primary-color);
}
.post-sideBar {
    margin-bottom: 0;
}

.share-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.share-social span {
  font-size: .9rem !important;
}
.social-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-btn.facebook { background-color: #3b5998; }
.social-btn.twitter  { background-color: #1da1f2; }
.social-btn.linkedin { background-color: #0077b5; }
.social-btn.zalo     { background-color: #0068ff; }

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.share-social a{
  overflow: hidden;
}
.zalo-icon {
  width: 25px;
  height: 25px;
}

.fb-comments {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

/* product detail  */
.image-wrapper {
  border-radius: 10px;
  overflow: hidden;
  background-color: #0ca60c; /* mÃ u ná»n xanh lÃ¡ */
  max-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper .img {
  display: block;
  overflow: hidden;
  margin: 1rem !important;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  max-height: 520px;
  border-radius: 8px;
}


.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-image:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Ảnh con gallery — hover */
.product-gallery-thumbs {
  align-items: center;
}

.product-gallery-thumb-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.product-gallery-thumb-img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-gallery-thumb-link:hover {
  border-color: rgba(255, 246, 0, 0.95);
  box-shadow: 0 8px 20px rgba(5, 167, 66, 0.4);
  transform: translateY(-4px);
}

.product-gallery-thumb-link:hover .product-gallery-thumb-img {
  transform: scale(1.1);
  filter: brightness(1.06) saturate(1.05);
}

.product-gallery-thumb-link:focus-visible {
  outline: 2px solid #fff600;
  outline-offset: 3px;
  border-color: rgba(255, 246, 0, 0.95);
}

.achievement-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.achievement-gallery__item {
  height: 100%;
}

.achievement-gallery__link {
  display: block;
  height: 170px;
  overflow: hidden;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: #f8f9fa;
  line-height: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.achievement-gallery__link:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 167, 66, 0.45);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.achievement-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.achievement-gallery__link:hover .achievement-gallery__image {
  transform: scale(1.04);
}

.achievement-gallery__caption {
  text-align: center;
}

@media (min-width: 768px) {
  .achievement-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.category-label .label-text {
  background: linear-gradient(90deg, #28a745, #0ca60c);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* action  */

.buy-consult-btns {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-action {
  flex: 1;
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
  text-align: center;
  min-width: 220px;
}

.btn-buy {
  background-color: #e60000; /* Äá» */
}

.btn-consult {
  background-color: #0ca60c; /* Xanh lÃ¡ */
}

.btn-action i {
  font-size: 1.5rem;
}

.btn-action .text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-action .text .title {
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-action small {
  font-size: 0.8rem;
  opacity: 0.95;
}

.btn-action:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Hàng dưới: cùng bo góc nhỏ với .btn-action (6px), không dùng pill */
.btn-call-hotline {
  background: linear-gradient(160deg, #1e88e5 0%, #1565c0 55%, #0d47a1 100%);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
}

.btn-call-hotline:hover {
  color: #fff;
  filter: brightness(1.06);
}

.btn-zalo-chat {
  background: linear-gradient(160deg, #ef5350 0%, #d32f2f 55%, #b71c1c 100%);
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
}

.btn-zalo-chat:hover {
  color: #fff;
  filter: brightness(1.06);
}

.btn-quote-pill {
  flex: 1 1 220px;
  min-width: min(100%, 220px);
  padding: 16px 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, #05a742 0%, #0ca60c 45%, #088a38 100%);
  color: #fff !important;
  border: none;
  box-shadow:
    0 4px 18px rgba(5, 167, 66, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.25s ease;
}

/* Chỉ hiển thị (không phải liên kết): không hover như nút */
.product-cta-row div.btn-quote-pill {
  cursor: default;
}

.product-cta-row div.btn-action.btn-quote-pill:hover {
  transform: none;
  opacity: 1;
  filter: none;
}

.btn-quote-pill__title {
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.btn-quote-pill__sub {
  margin-top: 6px;
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.35;
  color: #fff;
}

@media (min-width: 992px) {
  .product-cta-row .btn-quote-pill {
    flex: 1 1 260px;
  }
}

.product-header {
  /* border-top: 1px solid #eee;
  border-bottom: 1px solid #eee; */
  padding: 10px 0;
  margin: 10px 0;
}

/* Tráº¡ng thÃ¡i */
.product-status {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.status {
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}

.status.in-stock {
  background-color: #d4edda;
  color: #0ca60c;
  border: 1px solid #a6e4a6;
}

.status.out-stock {
  background-color: #f8d7da;
  color: #e60000;
  border: 1px solid #f5b5b5;
}

/* GiÃ¡ */
.product-price .price-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e60000;
  font-family: "Arial", sans-serif;
  line-height: 1;
}

.product-price .currency {
  font-size: 1.2rem;
  font-weight: 600;
  margin-left: 2px;
  position: relative;
  top: -2px;
}



.description {
    transition: all 3s ease;
}


.description:hover{
    cursor: pointer;
    color: rgb(21, 144, 71);
    background-color: rgb(255, 246, 0);
    transition: all 3s ease;
}