.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);
}
.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);
}

.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;
}