/*slide*/
.breadcrumb-wrapper {
    position: absolute;
    bottom: -125px;
    text-align: left;
    width:350px !important;
}

.ttm-page-title-row {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.ttm-page-title-row-inner{
    padding: 375px 0 125px !important;
}

@media (max-width: 790px) {
    .ttm-page-title-row-inner {
        margin-top: -21px !important;
        height: 150px !important;
    }
}


/*nội dung*/


/* Ảnh chính */
.main-image {
  text-align: center;
  margin-bottom: 15px;
}
.titletieude{
    font-size: 16px;
    color: #000000;
    text-align: left;
    font-weight: bold;
    padding: 10px 12px;
    height: 45px;
    line-height: 22px;
}
 .tieudetl{
    text-align: left;
    color: #c00;
    font-size: 17px;
    font-weight: bold;
    margin: 7px;
    padding: 0 2px;
        
    }

.zoom-img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Ảnh phụ */
.thumb-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.thumb-img {
  width: 21%;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, border 0.2s ease;
}

.thumb-img:hover,
.thumb-img.active {
  transform: scale(1.1);
  border: 2px solid #f37a20;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
  overflow: hidden;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80%;
  margin-top: 5%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px; right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  user-select: none;
  transition: 0.3s;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
}
    .related-products-inline {
        margin: 40px 0;
        padding: 20px;
        background: #fafafa;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
    }

    .section-heading {
        font-size: 18px;
        font-weight: 600;
        color: #333;
        margin-bottom: 16px;
        border-bottom: 2px solid #d4af37;
        display: inline-block;
        padding-bottom: 6px;
    }

    .products-inline-grid {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .product-inline-card {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        text-decoration: none;
        transition: transform 0.2s ease;
        flex: 1 1 48%;
        min-width: 280px;
        padding: 10px;
    }

    .product-inline-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .product-inline-card img {
        width: 64px;
        height: 64px;
        object-fit: cover;
        border-radius: 6px;
        margin-right: 12px;
    }

    .product-inline-info h4 {
        font-size: 15px;
        color: #111;
        font-weight: 500;
        line-height: 1.4;
        margin: 0;
    }

      .titleweb{
        margin-top: 110px;
    }
    @media (max-width: 768px) {
        .button-lien-he{
            font-size: 1.2em !important;
            margin-bottom: 20px !important;
        }
        .products-inline-grid {
            flex-direction: column;
        }

        .product-inline-card {
            flex: 1 1 100%;
        }

        .product-inline-card img {
            width: 60px;
            height: 60px;
        }

        .product-inline-info h4 {
            font-size: 14px;
        }
        
        .author_name span{
            font-size:16px!important;
        }
        
        .noi-dung-bai-viet{
            font-size:16px!important;
        }
    }

    .share-linknd {
        width: 100%;
        margin: 0px 0;
        border-radius: 4px;
        display: inline-block;

    }
    .titleweb{
        margin-top: 110px;
    }

     @media (max-width: 400px) {
        .products-inline-grid {
            flex-direction: column;
        }

        .product-inline-card {
            flex: 1 1 100%;
        }

        .product-inline-card img {
            width: 60px;
            height: 60px;
        }

        .product-inline-info h4 {
            font-size: 14px;
        }
    }

    .share-linknd {
        width: 100%;
        margin: 0px 0;
        border-radius: 4px;
        display: inline-block;

    }
    .titleweb{
        margin-top: 90px;
    }
    

/*//*/
.box-endow {
    margin-bottom: 16px;
    border: 1px solid #56d08a;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.endow-title {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background-color: #56d08a;
    color: #fff;
    gap: 10px;
    height: 42px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 10px;
}

.endow-global {
    padding: 0 17px;
    margin-bottom: 0;
}

.endow-global-item {
    display: flex;
    margin-bottom: 12px;
}


    /*.button-lien-he{*/
    /*    background: #163c68;*/
    /*    color: #fff;*/
    /*    font-size: 24px;*/
    /*    width: 100%;*/
    /*    padding: 10px;*/
    /*    border-radius: 5px;*/
    /*    font-weight: 900;*/
    /*}*/


/*hiệu ứng button*/

.button-lien-he{
  width:100%;
  border-radius: 5px;
  font-weight: 900;
  background:#163c68;
  color:#fff;
  border:none;
  position:relative;
  height:60px;
  font-size:1.6em;
  padding:0 2em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
.button-lien-he:hover{
  background:#fff;
  color:#163c68;
}
.button-lien-he:before,button:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #163c68;
  transition:400ms ease all;
}
.button-lien-he:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.button-lien-he:hover:before,button:hover:after{
  width:100%;
  transition:800ms ease all;
}

.san-pham-lien-quan{
    align-items: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease;
    padding: 10px;
    transform:translateY(0px);
}

.san-pham-lien-quan h3{
    font-size: 17px; 
    line-height: 23px; 
    padding: 10px; 
    font-weight: bold; 
    color:#005aaa;
    margin: 5px 0px 0 0;
    text-align:center;
}

.san-pham-lien-quan:hover{
    transform:translateY(-10px) scale(1.02);
}