/* Auto-generated by scripts/build-css-bundles.php — bundle: home */

/* --- asset/css/home.css --- */
/* ********************GLOBAL SRYLE******************************** */
body {
    overflow-x: hidden;
    background-color: #f5f5f5;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 18px;
}

/* Change color for hoverimage.css*/
[class*=" imghvr-shutter-in-"]:after,
[class*=" imghvr-shutter-in-"]:before,
[class^=imghvr-shutter-in-]:after,
[class^=imghvr-shutter-in-]:before {
    background-color: rgba(250, 235, 215, 0.9) !important;
}

/* ********************NAVBAR STYLE HERE******************************** */
.mt-n1 {
    margin-top: -0.25rem !important;
}

.mt-n2 {
    margin-top: -1rem !important;
}

.fs-7 {
    font-size: 0.9rem !important;
}

.text-dark-blue {
    color: #002ab0;
}

.text-dark-soft-blue {
    color: #0036e6;
}

.btn-dark-blue {
    --bs-btn-font-weight: 600;
    --bs-btn-color: white;
    --bs-btn-bg: #002ab0;
    --bs-btn-border-color: #002ab0;
    --bs-btn-hover-color: white;
    --bs-btn-hover-bg: #002ab0;
    --bs-btn-hover-border-color: #002ab0;
    --bs-btn-active-bg: #0036e6;
    --bs-btn-active-border-color: #0036e6;
}

.breadcrumb .no-active {
    color: rgba(0, 0, 0, 0.65);
    text-decoration: none;
}

.offcanvas .nav-link {
    font-size: 18px;
    color: #002ab0;
}

.dropdown-menu[data-bs-popper] {
    left: unset;
    right: 0;
    border-radius: unset;
    top: 45px;
}

.offcanvas .nav-link:focus span,
.offcanvas .nav-link:hover span {
    color: #002ab0;
    border-bottom: 3px solid;
}

.offcanvas .nav-link:focus,
.nav-link:hover,
.offcanvas .navbar-nav .nav-link.show,
.breadcrumb .no-active:hover {
    color: #002ab0;
    font-weight: bold;
}

.modal-title {
    color: #002ab0;
}

.form-control:focus {
    border-color: unset;
    box-shadow: unset;
}


.item-menu {
    /* display: none; */
    height: 26rem;
    position: absolute;
    background-color: white;
    overflow-y: auto;
    z-index: 10;
}

/* .item-menu .navbar-nav {
    display: unset;
} */

/* .nav-link.rounded-circle:hover,
.nav-link.rounded-pill:hover,
.nav-link.rounded-pill:focus {
    background-color: #002ab0;
    color: #FFF !important;
} */

/* ********************HERO IMAGE STYLE HERE******************************** */

#prevArrow {
    color: white;
    background: #002ab0;
    position: absolute;
    top: 17rem;
    margin-left: -35px;
    transition: margin-left 0.3s ease;
}

#nextArrow {
    color: white;
    background: #002ab0;
    position: absolute;
    top: 17rem;
    right: 0;
    margin-right: -35px;
    transition: margin-right 0.3s ease;
}

/* ********************HERO IMAGE STYLE END******************************** */

/* ********************MAIN ITEM STYLE HERE******************************** */


.image {
    height: 12.5rem !important;
}

.imghvr-slide-down {
    width: 100%;
}

/* #item-slides > .slick-list > .slick-track .slick-slide {
    height: 30rem;
} */

figure:hover {
    outline: #002ab0 2px solid;
}

.image>figure>figcaption {
    background-color: rgba(250, 235, 215, 0.9) !important;
}

.test-btn {
    background-color: #002ab0;
    color: white;
    border: none;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-left: 4rem;
    margin-right: 4rem;
}

/* ********************MAIN ITEM STYLE END******************************** */

/* ********************EVENT SECTION STYLE HERE******************************** */


.figcaption-event {
    background-color: rgba(250, 235, 215, 0.5) !important;
}

.imghvr-shutter-in-out-diag-1 {
    width: 100%;
}


#eventPrevBtn:hover {
    color: white;
    background-color: #002ab0;
}

#eventNextBtn:hover {
    color: white;
    background-color: #002ab0;
}

/* ********************EVENT SECTION STYLE END******************************** */

/* ********************GOOGLE MAP STYLE HERE******************************** */


.location-btn {
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.location-btn:hover {
    color: white;
    background-color: #002ab0;
}

#specific-location-list {
    width: 70rem;
    height: 25rem;
    overflow-y: auto;
}

.find-location-btn {
    font-weight: 600;
    color: white;
    background-color: #002ab0;
}

.find-location-btn:hover {
    background-color: #1e44c1;
}


/* ********************GOOGLE MAP STYLE END******************************** */
.visually-hidden {
    transition: all .5s ease-in-out;
}

.hidden {
    display: none;
}

.footer .nav-link:hover {
    color: unset;
    font-weight: unset;
    text-decoration: underline;
}

/* .product-menu>.nav-link:hover+.item-menu,
.item-menu:hover {
    display: block;
} */

.hand {
    cursor: pointer;
}

.bg-main {
    background-color: #002ab0;
}

.height-banner {
    height: 470px;
}

.scrollspy-example .border-bottom {
    border-bottom: var(--bs-border-width) var(--bs-border-style) #002ab0 !important;
    border-width: 3px !important;
}

.text-color {
    color: #002ab0;
}

/* home */
.box-image {
    overflow: hidden;
    background: #000;

    img {
        width: 100%;
        transition: 0.3s ease all;
    }

    span {
        z-index: 100;
        position: absolute;
        left: 0;
        bottom: -40px;
        display: block;
        background: #002ab0;
        width: 100%;
        text-align: center;
        line-height: 40px;
        transition: 0.3s ease all;
    }

    &:hover {
        cursor: pointer;
        border: #002ab0 solid;

        img {
            opacity: 0.5;
            transform: scale(1);
        }

        span {
            bottom: 0;
        }
    }
}

.box-news {
    overflow: hidden;

    img {
        width: 100%;
        transition: 0.3s ease all;
    }

    &:hover {
        cursor: pointer;

        img {
            transform: scale(1.03);
        }
    }
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, -8px);
}

.border-title {
    border-left: 5px solid #002ab0;
}

.counter_wrapper .count_box {
    border-left: 2px solid #002ab0;
    border-right: 2px solid #002ab0;
    border-bottom: 2px solid #002ab0;
    position: relative;
    padding-top: 60px;
    background-position: center 0;
    background-size: cover;
}

.count_box h1 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
    margin-top: -25px;
}

.count_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50% - 50px);
    height: 2px;
    background-color: #002ab0;
}

.count_box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: calc(50% - 50px);
    height: 2px;
    background-color: #002ab0;
}

.st-box::before {
    width: calc(40% - 40px);
}

.nd-box::before {
    width: calc(30% - 30px);
}

.th-box::before {
    width: calc(40% - 40px);
}

.st-box::after {
    width: calc(40% - 40px);
}

.nd-box::after {
    width: calc(30% - 30px);
}

.th-box::after {
    width: calc(40% - 40px);
}

.product-summary-wrap {
    grid-gap: 20px;
    display: grid;
    grid-template-columns: minmax(auto, 40%) 1fr;
}

.see-more {
    display: none;
}

/* .list-group-item::before {
    content: "+ ";
    color: #000;
} */

.nav-tabs {
    --bs-nav-tabs-border-width: unset;
}

.nav-tabs .nav-link.active {
    background-color: unset;
    font-weight: bold;
}

.nav-tabs .nav-link.active span {
    border-bottom: 3px solid #002ab0;
}

.nav-tabs .nav-link:hover span {
    color: #000;
    border-bottom: 3px solid #002ab0;
}

.nav-tabs .nav-link {
    color: unset;
}

.list-group {
    --bs-list-group-bg: unset;
}

.swiper {
    width: 100%;
    height: 500px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    text-align: center;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
}

.mySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    /* opacity: 0.4; */
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.product-related {
    height: 450px;
}

.mt-6 {
    margin-top: 6rem !important;
}

.category-menu {
    transition: top 2s ease;
    visibility: hidden;
    transition-delay: 0.5s;
}

.category-menu-nav:hover .category-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.sub-category-menu::-webkit-scrollbar {
    display: none;
}

.main-content-image {
    transition: transform .4s ease-in-out;
    -webkit-transition: transform .4s ease-in-out;
}

.main-content:hover .main-content-image{
    transform: scale(1.2);
}

.text-justify {
    text-align:justify;
}

.danh-muc-con {
    font-weight: 400;
    font-size: 0.9rem;
}

.danh-muc-con:hover {
    color: #002ab0;
    font-weight: 600;
}

.danh-muc-title {
    font-weight: 400;
    font-size: 0.9rem;
}

.danh-muc-title:hover {
    color: #002ab0;
    font-weight: 600;
}
svg:hover + .danh-muc-title {
    color: #002ab0;
}

/* --- asset/css/fix.css --- */
@media (max-width: 768px) {
    .editor-content img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .editor-content p{
        padding-left: 0 !important;
    }
}

#hero-image {
    background-image: url('asset/images/category_empty.jfif');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 90vh;
}

.nav-link:hover span {
    color: #002ab0;
    border-bottom: 3px solid;
}

@media (max-width: 576px) {
    .breadcrumb li {
        font-size: 16px;
    }

    .action span, .contact-bg {
        display: none
    }

    .contact-title {
        font-size: 18px !important
    }

    .text-introduce {
        font-size: 18px !important
    }

    .introduce-top {
        text-align: center;
    }

    .scrollspy-example .border-bottom {
        border-width: 1px !important;
    }

    .img-introduce {
        display: none;
    }
}

.int{
    color:blue;
    font-weight: bold;
}
.text-red{
    color:red;
}

.uk-container{
    width:1200px;
}
.uk-container-center{
    margin:0 auto;
}
.uk-list{
    list-style: none;
}
.uk-list li{
    list-style: none;
}
.uk-flex{
   display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
.uk-flex-center {
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.uk-flex-middle {
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.uk-flex-space-between {
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.mr10{
    margin-right:10px;
}
.cart-container{
    padding:30px 0;
}


/* CART PAGE */
.cart-container{
    border-bottom:1px solid #d9d9d9;
}
.panel-cart{
    padding-top:25px;
    padding-bottom:25px;
}
.panel-cart .cart-heading{
    text-transform: uppercase;
    font-weight: 900;
    font-size: 24px;
    line-height:28px;
}
.panel-cart .panel-head .has-account{
    font-size:13px;
    font-weight: 500;
}
.panel-cart .panel-head .has-account a{
    color:blue;
    display: inline-block;
    text-transform: capitalize;
}
.panel-cart .panel-body .form-row .input-text{
    width:100% !important;
    border-radius: 6px;
    height: 45px;
    background: #fff;
    border:1px solid #d9d9d9;
    padding:5px 20px;
}
.panel-cart .nice-select{
    width:100% !important;
    border-radius: 100px;
    height:45px;
}
.panel-cart input[type=text]{
    color:#000;
}
.panel-cart input[type=text]::-webkit-input-placeholder{
    color:#000;
    font-size:14px;
}
.method-item{
    align-items: center;
    border:1px solid #d9d9d9;
    border-radius: 8px;
    padding:15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* opacity: 0.6; */
    font-size:14px;
    margin-bottom:10px;
}
.method-item .image{
    margin:0 20px;
}
.method-item .image img{
    min-width:35px;
    max-height:35px;
    max-width:55px;
}
.cart-checkout{
    border-radius: 8px;
    background: #28a745;
    height:40px;
    width:100%;
    padding:15px 20px;
    text-align: center;
    cursor: pointer;
    font-size:14px;
    color:#fff;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    width: 220px;
    margin-bottom: 25px;
}
.cart-checkout:hover{
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}
.cart-return{
    font-size:13px;
}
.cart-item{
    position: relative;
}
.cart-item:not(:last-child){
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid #d9d9d9;
}
.cart-item .cart-item-image{
    position: relative;
}
.cart-item .cart-item-number{
    position: absolute;
    top:-5px;
    right:0;
    background: #000;
    border-radius: 50%;
    color:#fff;
    font-size:13px;
    width:20px;
    height:20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}
.cart-item .image img{
    border-radius: 10px;
}

.cart-item .cart-item-info .cart-item-remove{
    position: absolute;
    top:0;
    right:0;
    cursor: pointer;
}
.cart-item .cart-item-info .title{
    font-weight: 500;
    font-size:14px;
}
.cart-item .cart-item-qty{
    position: relative;
}
.cart-item .cart-item-qty input[type=text]{
    background: #fff;
    height: 32px;
    font-size:14px;
    display: inline-block;
    border:0;
    padding:0 30px;
    text-align: center;
    width:110px;
    border:1px solid #000;
    border-radius: 10px;
}
.cart-item .cart-item-qty .btn-qty{
    border:0;
    background: transparent;
    position: absolute;
    top:50%;
    transform:translate(0, -50%);
    left:0;
    font-size:16px;
    cursor: pointer;
    width: 32px;
    height: 32px;
}
.cart-item .cart-item-qty .plus{
    right:0;
    left:initial;
}
.cart-item-price{
    color:blue;
    font-weight: 500;
}

.voucher-item{
    display: flex;
    border:2px solid black;
    background: #f1f1f1;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width:200px;
    max-width:200px;
    opacity: 0.5;
}
.voucher-left{
    flex:1;
    border-right:2px dashed black;
    min-width:20px;
    max-width: 20px;
    position: relative;
}
.voucher-left:before{
    content:'';
    display: block;
    width:20px;
    height:20px;
    background: #fff;
    top:50%;
    left:-2px;
    transform: translate(-50%, -50%) rotate(45deg);
    position: absolute;
    border-top:2px solid #000;
    border-right:2px solid #000;
    border-bottom: 2px solid #0000;
    border-left:2px solid #0000;
    border-radius: 100em;
}
.voucher-right{
    flex:2;
    padding:8px 16px;
    position: relative;
}
.voucher-right:before{
    content:'';
    display: block;
    width:20px;
    height:20px;
    background: #fff;
    top:50%;
    right:-2px;
    transform: translate(48.5%, -50%) rotate(45deg);
    position: absolute;
    border-top:2px solid #0000;
    border-right:2px solid #0000;
    border-left:2px solid #000;
    border-bottom:2px solid #000;
    border-radius: 100em;
}
.voucher-right .voucher-title{
    font-size:13px;
    font-weight: bold;
    margin-bottom:2px;
}
.voucher-right .voucher-title span{
    font-weight: normal;
    font-size:10px;
    color:blue;
}
.voucher-right .voucher-description{
    color: #999;
    font-size:12px;
}

.panel-voucher{
    margin-top:20px;
    padding-top:20px;
    border-top:1px solid #d9d9d9;
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid #d9d9d9;
}
.voucher-form{
    margin-top:15px;
    position: relative;
    height:39px
}
.voucher-form input[type=text]{
    width:70%;
    position: absolute;
    height:100%;
    border-radius: 16px;
    z-index: 3;
    top:0;
    left:0;
    padding:5px 20px;
}
.voucher-form button{
    font-family: 'Arimo', sans-serif !important;
    width:35%;
    height:100%;
    padding:5px 20px 5px calc(20px + 3%);
    border-radius: 0 16px 16px 0;
    border:1px solid #000;
    position: absolute;
    top:0;
    right:0;
    cursor: pointer;
    line-height: 25px;
    font-size:13px;
    color:#fff;
    background: #000;
}
.voucher-list{
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    overflow-x: scroll;
    scrollbar-width: thin;
}
.voucher-item:not(:last-child){
    margin-right:10px;
}

.voucher-item.active{
    background: #f1f1f1;
    color: rgba(0, 0, 0, .7);
    opacity: 1;
}
.voucher-item.active  .voucher-title{
    color: #000;
}
.voucher-item.active .voucher-description{
    color: #000;
}
.voucher-item.active .voucher-title span{
    color:#000;
}
.cart-summary-item{
    margin-bottom:10px;
}

.summary-title.bold{
    font-weight:bold;
}
.cart-total{
    font-size:24px;
    font-weight:bold;
    color: #212529;
}

.cart-container .select2-container{
   width:100% !important;
  
}


.select2-container--default .select2-selection--single{
    height:45px !important;
    border-radius: 6px !important;
    border-color:#d9d9d9 !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height:43px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height:45px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered{
    padding-right:20px !important;
    padding-left:20px !important;
}

.cart-price-old{
    color:#777;
    font-size:12px;
    text-decoration: line-through;
}
.cart-container .form{
    margin-block-end: 0 !important;
}
.discount-voucher,
.discount-value{
    color:red;
}

.cart-success{
    padding: 30px 10px;
}

.cart-success .cart-heading{
    text-align: center;
    margin-bottom:30px;
}
.cart-success .cart-heading > span{
    text-transform: uppercase;
    font-weight: 700;
}
.discover-text > *{
    display: inline-block;
    padding:10px 25px;
    background: #2f5acf;
    border-radius: 16px;
    cursor:pointer;
    color:#fff;
}
.discover-text{
    text-align: center;
}
.checkout-box{
    border:1px solid #000;
    padding:15px 20px;
    border-radius: 16px;
}
.cart-success .panel-body{
    margin-bottom:40px;
}
.checkout-box-head{
    margin-bottom:30px;
}

.checkout-box-head .order-title{
    border:1px solid #000;
    border-radius: 16px;
    padding:10px 15px;
    font-weight: 700;
    font-size:16px;
}
.checkout-box-head .order-date{
    display: flex;
    align-items: center;
    font-size:16px;
    font-weight: bold;
    text-align: center;
}
.cart-success .table{
    width:100%;
    border-spacing: 0;
    background: #d9d9d9;
    border-collapse: inherit;
}
.cart-success .table thead>tr th{
    color:#fff;
    background: #2f5acf;
    font-weight: 500;
    font-size:14px;
    vertical-align: middle;
    border-bottom: 2px solid #dee2e6;
    text-align: center;
    border:none;
    padding:12px 15px;
}
.cart-success tbody tr td{
    padding:12px 15px;
    vertical-align: middle;
    font-size: 14px;
    color:#000;
    border-bottom:1px solid #ccc;
}
.cart-success tfoot{
    background: #fff;
}
.cart-success tfoot tr td{
    padding:8px;
}

.cart-success .table td:last-child{
    text-align: right;
}
.cart-success .table tbody tr:nth-child(2n) td {
    background-color: #d9d9d9;
}
.total_payment{
    font-weight: bold;
    font-size:24px;
}
.panel-foot .checkout-box div{
    margin-bottom:15px;
    font-weight: 500;
}


/* EXTEND */
.cat-title{
    margin-bottom:20px;
    font-size:16px;
}
.spec{
    color:var(--primary-color);
    font-size:50px;
    font-weight: bold;
    line-height:50px;
    margin-bottom:8px;
}
.spec-2{
    font-size:40px;
    line-height:40px;
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom:20px;
}
.cart-container h2.heading-1{
    text-align: center;
    padding-top: 20px;
    margin-bottom: 20px;
}
.cart-container h2.heading-1 > *{
    font-size: 20px;
    text-transform: uppercase;
    line-height: 30px;
    font-weight: bold;
    color: #da2229;
}
.cart-container .panel-foot h2.cart-heading{
    font-size: 16px;
    line-height: 25px;
    font-weight: bold;
    padding: 10px 15px;
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #ddd;
    background: #f5f5f5;
}
.cart-container .panel-foot{
    border: 1px solid #ddd;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 20px;
}
.cart-container .panel-foot .cart-method,
.cart-container .panel-foot .cart-return
{
    padding-left: 15px;
    padding-right: 15px;
}
.panel-cart .panel-head{
    padding: 10px 15px;
    white-space: nowrap;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.cart-container .panel-cart .panel-body{
    padding: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
    border: 1px solid #ddd;
    border-top: 0;
}
.panel-cart .panel-head h2.cart-heading{
    margin-bottom: 0;
}
.panel-cart .panel-head span{
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 16px;
    line-height: 25px;
    font-weight: bold;
}
.panel-cart .table_ordered tr th {
    padding: 10px;
    font-weight: 600;
    text-align: left;
}
.panel-cart .pay{
    padding: 0 !important;
}
.panel-cart .table_ordered tr {
    border-bottom: 1px dotted #ddd;
}
.panel-cart .cart-item-image .image{
    height: 60px !important;
    width: 60px;
    margin-right: 10px;
}
.panel-cart .cart-item-image .image img{
    border-radius: 6px;
}
.panel-cart .cart-item-image .title{
    font-size: 13px;
}
.panel-cart .cart-item-image{
    display: flex;
    align-items: center;
    padding-left: 15px;
}
.panel-cart .cart-item-image .title{
    width: calc(100% - 70px);
}
.panel-cart .cart-summary{
    padding: 15px;
}
.panel-cart .panel-foot.pay{
    margin-top: 0;
    margin-bottom: 0;
    border-top-right-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
    background: #f5f5f5;
    margin-bottom: 25px;
}
.panel-cart .cart-summary-item > * {
    font-weight: 600;
}
.panel-cart .box-title {
    font-size: 16px;
    line-height: 25px;
    font-weight: bold;
    padding: 10px 15px;
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid #ddd;
    background: #f5f5f5;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.panel-cart .box-info .info{
    padding: 15px;
    border: 1px solid #ddd;
    border-top: 0;
}
.uk-grid{
    display: grid;
}
.uk-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.uk-grid-medium > * {
    padding-left: 15px;
    padding-right: 15px;
}

.uk-grid-small > * {
    padding-left: 8px;
    padding-right: 8px;
}

/* ======= Width Utilities ======= */
[class*='uk-width-'] {
    box-sizing: border-box;
    flex: 0 0 auto;
}

/* Large breakpoint */
.uk-width-large-1-2 { width: 50%; }
.uk-width-large-1-3 { width: 33.3333%; }
.uk-width-large-2-5 { width: 40%; }
.uk-width-large-3-5 { width: 60%; }
.uk-width-large-1-1 { width: 100%; }

/* Medium breakpoint */
@media (max-width: 992px) {
    .uk-width-large-1-2,
    .uk-width-large-1-3,
    .uk-width-large-2-5,
    .uk-width-large-3-5 {
        width: 100%;
    }
}

/* ======= Flex Helpers ======= */
.uk-flex {
    display: flex;
    align-items: center;
}

.uk-flex-middle { align-items: center; }
.uk-flex-center { justify-content: center; }
.uk-flex-space-between { justify-content: space-between; }

/* ======= List Reset ======= */
.uk-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uk-clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ======= Alerts ======= */
.uk-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.uk-alert-danger {
    background-color: #ffe5e5;
    border: 1px solid #ffcccc;
    color: #b30000;
}

/* ======= Buttons / Forms ======= */
.input-text {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 15px;
    margin-bottom: 10px;
}

.input-text:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

.cart-checkout {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-checkout:hover {
    background-color: #004099;
}

/* ======= Misc Helpers ======= */
.mr10 { margin-right: 10px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }

.heading-1 span {
    font-size: 22px;
    font-weight: 600;
    border-bottom: 3px solid #0056b3;
    padding-bottom: 5px;
}

.panel-cart {
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: 20px;
}

.panel-head {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.panel-body { padding-top: 10px; }

.cart-heading span {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.panel-cart .panel-body{
    font-size:13px;
}

.panel-cart .panel-foot a{
    font-size:14px;
}

.img-responsive img {display: block;width: 100%;height: auto;}
.img-fit { position: relative; display: block; text-align: center}
.img-fit > img { max-width: 100%; max-height: 100%; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%); -o-transform: translate(-50%,-50%);-moz-transform: translate(-50%,-50%); transform: translate(-50%,-50%)}
.img-cover {display: block;width: 100%;height: 100%}
.img-cover img {display: block;width: 100%;height: 100%;object-fit: cover}
.img-fit-fill {display: block;width: 100%;height: 100%}
.img-fit-fill img {display: block;width: inherit;height: inherit;object-fit: fill}
.img-contain {display: block;width: 100%;height: 100%}
.img-contain img {display: block;width: 100%;height: 100%;object-fit: contain}
.img-scaledown {display: block;width: 100%;height: 100%}
.img-scaledown img {display: block;width: 100%;height: 100%;object-fit: scale-down}


/* 🌟 Container */
.order-success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

/* 💎 Card */
.order-success-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 50px;
    max-width: 750px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* ✅ Icon */
.success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.check-icon {
    width: 80px;
    height: 80px;
    animation: bounceIn 1s ease;
}

/* 🏷️ Title & message */
.success-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 600;
}
.success-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

/* 📋 Order info */
.order-info {
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 10px;
}
.order-info h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}
.order-info ul {
    list-style: none;
    padding: 0;
}
.order-info li {
    margin-bottom: 6px;
    color: #555;
    font-size: 15px;
}
.order-info .total {
    color: #E53935;
    font-weight: bold;
}
.order-info .status {
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
}
.status.pending {
    background: #FFF3CD;
    color: #856404;
}

/* 🛍️ Product table */
.order-products {
    margin-top: 25px;
}
.order-products h2 {
    text-align: left;
    color: #333;
    margin-bottom: 10px;
}
.order-products table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.order-products th, .order-products td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}
.order-products th {
    background-color: #f6f6f6;
    color: #333;
    text-align: left;
}
.order-products td:last-child,
.order-products th:last-child {
    text-align: right;
}

/* 🔙 Button */
.back-to-home {
    margin-top: 35px;
}
.back-to-home a {
    background: #fbc02d;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.back-to-home a:hover {
    background: #f9a825;
}

/* ✨ Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}
@keyframes bounceIn {
    0% {transform: scale(0.3); opacity: 0;}
    50% {transform: scale(1.1); opacity: 1;}
    70% {transform: scale(0.9);}
    100% {transform: scale(1);}
}

.table-of-contents {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin: 20px 0;
    transition: all 0.3s ease;
}
.table-of-contents h2,
.table-of-contents h2 *{
    font-size:16px !important;
    color:#000 !important;
    font-weight: 600;
}
.table-of-contents h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: normal;
    color:#000 !important;
}

.table-of-contents h3  > *{
    color:#000 !important;
}

.table-of-contents button#toggle-toc {
    background: none;
    border: none;
    font-size: 0.9rem;
    color: #2563eb;
    cursor: pointer;
    transition: color 0.2s;
}
.table-of-contents button#toggle-toc:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.table-of-contents ul {
    margin: 0;
    padding-left: 1rem;
    list-style-type: none;
    list-style: none;
    padding-left:0;
}

.table-of-contents li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 10px;
    list-style: none;
}

.table-of-contents li::before {
    content: "";
    color: #2563eb;
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.table-of-contents a {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s, text-decoration 0.2s;
}

.table-of-contents a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.table-of-contents li.level-3 a {
    font-weight: 500;
}

.table-of-contents li.level-4 {
    margin-left: 10px;
    font-size: 0.9rem;
}

.table-of-contents li.level-4 a {
    color: #374151;
}
.table-of-contents li.level-4 a:hover {
    color: #111827;
}

/* Hiệu ứng ẩn/hiện */
#toc-list {
    transition: all 0.3s ease-in-out;
}
.table-of-contents .toc-link {
    text-decoration: none;
    line-height: 1.6;
    display: inline-block;
}

.table-of-contents .toc-link.depth-1,
.table-of-contents li.depth-1 > a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.table-of-contents .toc-link.depth-2,
.table-of-contents .toc-link.depth-3,
.table-of-contents .toc-link.depth-4,
.table-of-contents li.depth-2 > a,
.table-of-contents li.depth-3 > a,
.table-of-contents li.depth-4 > a {
    font-weight: normal !important;
    font-size: 14px !important;
    color: #374151 !important;
}

.table-of-contents .toc-link:hover {
    color: #2563eb !important;
    text-decoration: underline;
}

h2.toc-heading,
h3.toc-heading,
.toc-heading {
    font-size: 14px !important;
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}

.toc-heading > * {
    color: #000 !important;
}

@media (max-width: 768px){
    /* .tab-content .tab-pane > .p-5{
        height:250px !important;
        padding:10px !important;
    } */
}


/** BACKEND */
.ibox {
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
}
.box .ibox {
    box-shadow: 0 2px 4px #0000001a;
}
.ibox-title {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #fff;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 2px 0 0;
    color: inherit;
    margin-bottom: 0;
    padding: 15px 15px 7px;
    min-height: 48px;
}
.ibox-title h5 {
    display: inline-block;
    font-size: 14px;
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: none;
    margin-bottom:0;
    
}
.ibox-content {
    background-color: #fff;
    color: inherit;
    padding: 15px 20px 20px;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 0;
    clear:both;
}

.click-to-upload {
    text-align: center;
    padding: 20px;
    border: 1px dashed #b8b2b2;
}

.sortui {
    list-style: none;
    padding-left: 0;
}

.sortui .ui-state-default .thumb {
    border: 1px solid #ddd;
    height: 150px;
    background: #fafbfc;
}
.sortui .thumb {
    position: relative;
}
.img-scaledown img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.sortui .variant-delete-image, .sortui .delete-image {
    position: absolute;
    background: linear-gradient(to bottom, #fff, #f9fafb);
    color: red;
    right: 10px;
    top: 10px;
    border: 0;
    box-shadow: #63636333 0 2px 8px;
    display: inline-block;
    width: 25px;
    height: 25px;
}


.sortui .ui-state-default {
    width: calc(20% - 2px);
    float: left;
    padding-left: 10px;
    margin: 0 0 10px;
    cursor: move;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: #F9F9F9;
    border: 1px solid #DDDDDD;
    line-height: 15px;
    font-weight: 700;
    color: #676a6c;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

.hidden{
    display: none;
}

.product-gallery .swiper-container{
    overflow: hidden;
}

.product-gallery .big-pic .image {
    height: auto !important;
}

.swiper-container-thumbs .image {
    border: 1px solid #DDE4F0;
    border-radius: 4px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 108px;
    cursor: pointer;
    height: 68px !important;
}
.swiper-container-thumbs{
    overflow: hidden;
}
.product-gallery .swiper-pagination{
    display: none;
}

.map-item .office-name{
    font-weight: bold;
    color: #002ab0;
    margin-bottom:25px;
    text-transform: uppercase;
    margin-top:30px;
}

.map-item p{
    margin-bottom:10px;
    color: #002ab0;
}

.map-container iframe{
    width:100% !important;
    height:500px !important;
}

figure {
    display: block;
    margin: 20px auto;
    text-align: center;
    max-width: 80%;
    background: #eaeaea;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.05); */
    transition: all 0.3s ease;
}

figure:hover {
    background: #fff;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}

figure img {
    display: block;
    max-width: 100%;
    height: auto;
    width:100%;
    border-bottom: 1px solid #eee;
}

figure figcaption {
    padding: 10px 15px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #666;
    background: #f9f9f9;
    font-style: italic;
    text-align: center;
    border-top: 1px solid #eee;
}

figure figcaption::before {
    content: "🖼️ ";
    opacity: 0.7;
    font-size: 0.9em;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 30px 0;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    background-color: #999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    opacity: 1;
}

.social-icons a svg {
    width: 18px;
    height: 18px;
}

/* 🌈 Màu thương hiệu */
.social-icons a.facebook  { background-color: #3b5998; }
.social-icons a.twitter   { background-color: #1da1f2; }
.social-icons a.pinterest { background-color: #bd081c; }
.social-icons a.linkedin  { background-color: #0077b5; }
.social-icons a.tumblr    { background-color: #35465c; }

/* ✨ Hiệu ứng hover */
.social-icons a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    opacity: 0.9;
}

/* 💫 Hiệu ứng khi click */
.social-icons a:active {
    transform: scale(0.95);
}

.wrapper-content{
    padding: 50px 30px;
}

.wrapper-content .panel-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.mb15{
    margin-bottom:15px;
}

.price-old{
    font-weight: normal;
    text-decoration: line-through;
    color:#999;
    font-size:14px;
    margin-left:20px;
}

.product-detail-left{
    position: relative;
}

.product-detail-left .percent{
   width: 40px;
    height: 40px;
    background: url(https://dienmayphusy.com/wp-content/uploads/2024/03/bg-sale.png) 0 0 / 100% no-repeat;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.8;
}

.ml15{
    margin-left:20px;
}

#content{
    position: relative;
}

.table-of-contents {
    transition: all 0.3s ease;
}

/* Nút 3 gạch nhỏ */
.toc-toggle-btn{
    position: fixed;
    top: 30%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    background: #002ab0;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 1.3rem;
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.toc-toggle-btn:hover {
    opacity: 1;
}

/* TOC Sidebar */
.toc-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    transition: right 0.3s ease;
    padding:10px;
    background: #eaeaea;
    z-index: 10000;
}
.toc-sidebar.open {
    right: 0;
}

/* Ẩn nút khi chưa scroll qua TOC */
.hidden {
    display: none !important;
}

.toc-sidebar .table-of-contents{
    background: transparent !important;
    box-shadow: none !important;
    padding:0 !important;
    border:0 !important;
}

.toc-sidebar .toc-list{
    padding:0;
}

@media (max-width: 500px){
    .toc-toggle-btn{
        display: block !important;
        right:0 !important;
        opacity: 0.5;
        background: #eaeaea;
        color:#000000;
    }
}

.post-container h1{
    font-weight: 600;
    font-size: 24px;
}
.entry-content h2,
.entry-content h3{
    font-weight: 600;
}
@media (min-width: 1220px){
    .entry-content h2,
    .entry-content h2 *{
        font-size:24px !important;
        font-weight: 600 !important;
    }
    
    .entry-content h3,
    .entry-content h3 *{
        font-size:18px !important;
        font-weight: 600 !important;
    }
}

#toc-sidebar #toggle-toc{
    display: none !important;
}

@media (max-width: 768px){
    .embed-responsive-item,
    .entry-content iframe{
        width: 100% !important;
        height: auto !important;
        display: block !important;
        aspect-ratio: 16 / 9 !important;
        position: static !important;
    }
}
.embed-responsive-item{
    width:80% !important;
    position: static !important;
    aspect-ratio: 16/9;
}

.fix-padding{
    padding:10px !important;
    text-align: center;
}

@media (max-width: 768px) {
/* Bảng trong nội dung: vuốt ngang trên màn hình hẹp, không tràn trang */
.content-body table,
.tab-content table,
.entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.content-body table th, .content-body table td,
.tab-content table th, .tab-content table td,
.entry-content table th, .entry-content table td {
  min-width: 110px;
}

/* Video nhúng: luôn vừa khung, đúng tỉ lệ 16:9 */
.content-body iframe,
.tab-content iframe,
.entry-content iframe {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  display: block;
}

  .content-body figure,
  .tab-content figure,
  .entry-content figure {
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 !important;
  }
  .category-long-content { padding: 16px 12px !important; }
  .editor-content.p-5 { padding: 16px 4px !important; }
}

@media (max-width: 767.98px) {
  #google_translate_element {
    display: none !important;
  }
}

/* FIX-45: YouTube facade dạng bấm mới tải (không đè CSS cũ). */
.dts-yt {
  position: relative;
  width: 100%;
  max-width: 100%;
  background-color: #000;
  overflow: hidden;
  border-radius: 8px;
}
.dts-yt__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.dts-yt__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dts-yt__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: rgba(255, 0, 0, 0.88);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.dts-yt__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent #fff;
}
.dts-yt__btn:hover::before,
.dts-yt__btn:focus-visible::before {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.06);
}
.dts-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FIX-49: Giữ cố định khung gallery sản phẩm trước và sau khi Swiper khởi tạo để tránh CLS. */
.product-gallery {
  position: relative;
  width: 100%;
}
.product-gallery .swiper-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-gallery .big-pic {
  display: flex;
  height: 100%;
  align-items: stretch;
}
.product-gallery .big-pic > .swiper-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.product-gallery .big-pic .image,
.product-gallery .big-pic .slide-video,
.product-gallery .big-pic .dts-yt {
  width: 100%;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
}
.product-gallery .big-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-gallery .swiper-container-thumbs {
  height: 84px;
  overflow: hidden;
  margin-top: 8px;
}
.product-gallery .swiper-container-thumbs .pic-list {
  display: flex;
  gap: 10px;
  height: 68px;
}
.product-gallery .swiper-container-thumbs .swiper-slide {
  flex: 0 0 calc((100% - 40px) / 5);
  height: 68px;
}

/* --- asset/css/hero.css --- */
/* Slider trang chủ; không đổi slider trang khác. */
.dts-home-hero, .dts-home-hero .carousel, .dts-home-hero .carousel-inner, .dts-home-hero .carousel-item { height: min(38vw, 520px); max-height: 520px; }
.dts-home-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.dts-category-hero__toggle { color: #fff; background: transparent; border: 1px solid #fff; border-radius: 4px; padding: 4px 12px; margin-top: 8px; font-size: 14px; line-height: 21px; }
.dts-category-hero__toggle[hidden] { display: none; }
.dts-category-hero__controls { display: none; }
@media (max-width: 768px) {
    .dts-home-hero, .dts-home-hero .carousel, .dts-home-hero .carousel-inner, .dts-home-hero .carousel-item { height: auto; max-height: none; aspect-ratio: 4 / 3; }
}

/* Khung picture giữ ảnh responsive trong đúng chiều cao slider trang chủ hiện có. */
.dts-home-hero .dts-home-hero__picture { display: block; width: 100%; height: 100%; }

/* N: chữ giữa banner, ảnh img phía dưới; khung co giãn theo nội dung để không cắt chữ. */
.dts-category-hero__shell { margin-top: 20px; }
#hero-image.dts-category-hero { position: relative; display: grid; align-items: center; min-height: 360px; height: auto; border-radius: 12px; overflow: hidden; background: #eff8ff; background-image: none; }
/* Ô giữ tỷ lệ cùng hàng với chữ: nội dung dài được tăng chiều cao thay vì bị aspect-ratio ép cắt. */
.dts-category-hero::after { content: ""; grid-area: 1 / 1; width: 100%; aspect-ratio: 2.75 / 1; pointer-events: none; }
.dts-category-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dts-category-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .55); }
.dts-category-hero__copy { position: relative; z-index: 2; grid-area: 1 / 1; width: 100%; padding: 24px 16px; color: #fff; text-align: center; min-width: 0; overflow-wrap: anywhere; }
#hero-image.dts-category-hero h1 { font-size: 2.25rem; font-weight: 700; }
.dts-category-hero .category-short-desc { max-width: 850px; margin-left: auto; margin-right: auto; color: #fff; font-size: 1.1rem; line-height: 1.6; opacity: 1; }
.dts-category-hero .category-short-desc :is(p, span, a, strong, em) { color: inherit !important; }
.dts-category-hero .category-short-desc > :last-child { margin-bottom: 0; }
#hero-image.dts-category-hero--text-only { min-height: 0; }
.dts-category-hero--text-only::before, .dts-category-hero--text-only::after { display: none; }
.dts-category-hero--text-only .dts-category-hero__copy, .dts-category-hero--text-only .category-short-desc { color: #17334a; }
.dts-category-hero--text-only .dts-category-hero__toggle { color: #002ab0; border-color: #002ab0; }
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero-image.dts-category-hero:not(.dts-category-hero--text-only) { min-height: 320px; }
    .dts-category-hero::after { aspect-ratio: 2.2 / 1; }
}
@media (max-width: 767.98px) {
    #hero-image.dts-category-hero { min-height: 0; }
    .dts-category-hero::after { display: none; }
    #hero-image.dts-category-hero h1 { font-size: 1.5rem; }
    .dts-category-hero .category-short-desc { font-size: 15px; line-height: 1.6; }
    .dts-category-hero__summary--collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
    /* Chừa sẵn chỗ cho nút, tránh nhảy bố cục khi defer JS chạy. */
    .dts-category-hero__controls { display: block; min-height: 45px; }
}

/* K: slider trong khung nội dung, ảnh hiện trọn và chấm điều hướng nằm bên dưới. */
.dts-home-slider-shell { margin-top: 20px; margin-bottom: 20px; }
.dts-home-hero, .dts-home-hero .carousel { height: auto; max-height: none; aspect-ratio: auto; }
.dts-home-hero { border-radius: 12px; overflow: hidden; }
.dts-home-hero .carousel-inner, .dts-home-hero .carousel-item { height: auto; max-height: none; aspect-ratio: 2738 / 1115; }
.dts-home-hero .dts-home-hero__picture { height: auto; }
.dts-home-hero .dts-home-hero__image { display: block; width: 100%; height: auto; object-fit: contain; }
.dts-home-hero .dts-home-hero__indicators { position: static; height: 24px; margin: 4px 0; gap: 8px; align-items: center; }
.dts-home-hero .dts-home-hero__indicators button { width: 8px; height: 8px; border: 0; border-radius: 50%; background-color: #002ab0; margin: 0; }
.dts-home-hero .carousel-control-prev, .dts-home-hero .carousel-control-next { top: auto; bottom: 44px; width: 32px; height: 32px; opacity: .85; background: rgba(0, 20, 80, .45); border-radius: 50%; }
.dts-home-hero .carousel-control-prev { left: 8px; }
.dts-home-hero .carousel-control-next { right: 8px; }
.dts-home-hero .carousel-control-prev-icon, .dts-home-hero .carousel-control-next-icon { width: 20px; height: 20px; background-color: transparent !important; }
@media (max-width: 768px) {
    .dts-home-hero .carousel-inner, .dts-home-hero .carousel-item { aspect-ratio: 4 / 3; }
}

/* P: nút theo giữa khung ảnh, độc lập với hàng chấm chỉ số bên dưới. */
.dts-home-hero .carousel-control-prev, .dts-home-hero .carousel-control-next { position: absolute; top: 50%; bottom: auto; transform: translateY(-50%); width: 40px; height: 40px; z-index: 3; }
.dts-home-hero .carousel-control-prev { left: 16px; }
.dts-home-hero .carousel-control-next { right: 16px; }
.dts-home-hero .carousel-control-prev:hover, .dts-home-hero .carousel-control-next:hover,
.dts-home-hero .carousel-control-prev:focus-visible, .dts-home-hero .carousel-control-next:focus-visible { opacity: 1; background-color: rgba(0, 20, 80, .8); }
.dts-home-hero .carousel-control-prev:focus-visible, .dts-home-hero .carousel-control-next:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #002ab0; }
@media (max-width: 768px) {
    .dts-home-hero .carousel-control-prev, .dts-home-hero .carousel-control-next { width: 32px; height: 32px; }
    .dts-home-hero .carousel-control-prev { left: 8px; }
    .dts-home-hero .carousel-control-next { right: 8px; }
}

/* R: liên hệ dùng cùng banner, chỉ giảm chiều cao để form hiện ngay màn đầu. */
#hero-image.dts-category-hero--compact { min-height: 240px; }
.dts-category-hero--compact::after { aspect-ratio: 4 / 1; }
.dts-contact-page { padding-top: 16px !important; }
.dts-contact-page .contact-title { margin-bottom: 16px !important; }
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero-image.dts-category-hero--compact { min-height: 220px; }
    .dts-category-hero--compact::after { aspect-ratio: 3 / 1; }
}
@media (max-width: 767.98px) {
    #hero-image.dts-category-hero--compact { min-height: 0; }
    .dts-category-hero--compact .dts-category-hero__copy { padding: 20px 16px; }
}

/* Giữ chân dung giới thiệu trong khung mobile, không đổi kích thước desktop. */
@media (max-width: 767.98px) {
    .dts-introduce-page .directors { flex-wrap: wrap; }
    .dts-introduce-page .director, .dts-introduce-page .director img { max-width: 100%; }
}

/* --- asset/css/home-headings.css --- */
/* Giữ hình thức bộ đếm cũ khi đổi h1 thành p trên trang chủ. */
.dts-home-statistic { line-height: 1.2; margin-bottom: .5rem; }
.dts-home-heading { font-size: 1.5rem; line-height: 1.4; }
/* Giữ tỷ lệ khung ảnh trang chủ trước khi ảnh tải để loại bỏ CLS. */
.dts-home-category-card { aspect-ratio: 4 / 3; }
.dts-home-category-card .main-content-image { object-fit: cover; }
.dts-home-partner-logo { height: auto; }
.dts-home-partner-logo--fallback { aspect-ratio: 3 / 2; object-fit: contain; }
.dts-home-news-image { aspect-ratio: 16 / 10; object-fit: cover; height: auto; }
