.landing-page .navbar .navbar-brand {
    padding: 0
}

.navbar .navbar-brand {
    height: auto
}

.guest-banner {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    /* cover fullwidth; hover làm mờ lớp phủ để ảnh hiện rõ */
    background-size: cover !important;
    background-color: #14231a !important;
    min-height: 420px
}

.guest-banner .overlay {
    background-color: rgba(0, 0, 0, 0.39);
    min-height: 420px;
    transition: background-color .5s ease;
}
.guest-banner:hover .overlay {
    background-color: rgba(0, 0, 0, 0.08);
}

.guest-banner .title {
    top: 110px
}

.guest-banner .title h1 {
    font-size: 2.9em
}

.header-top {
    padding: 6px 0;
    color: #fff;
    font-size: 16px
}

.footer .text-foot {
    font-size: 15px
}

.header.hor-header {
    position: sticky
}

.contact-iframe iframe {
    width: 100%
}

@media (min-width: 992px) {
    .horizontal .side-menu {
        overflow: unset
    }

    .horizontal .main-sidemenu {
        overflow: unset
    }
}

.max-height {
    max-height: 85px;
    overflow: hidden;
    object-fit: cover
}

.text-summary {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.cursor-pointer {
    cursor: pointer
}

.w-content {
    max-height: 450px;
    overflow: auto
}

.invalid-feedback {
    color: grey !important
}

.is-invalid {
    border-style: solid !important;
    border-color: grey !important
}

#slide-right {
    overflow: hidden !important;
    display: none
}

#slide-left {
    overflow: hidden !important;
    display: none
}

.max-width-150 {
    max-width: 150px
}

.ql-align-justify {
    text-align: justify
}

.ql-align-right {
    text-align: right
}

.ql-align-center {
    text-align: center
}

.img-product {
    object-fit: cover;
    max-height: 300px;
    min-height: 300px;
}

.object-contain {
    object-fit: contain;
}


.hidden {
    display: none;
}

.app-content {
    margin-left: 0px;
}

.landing-page .main-features .bg-img img {
    width: 60px;
    height: 60px;
}

/* 
.app-sidebar {
    width: 0px;
} */
.btn-facebook:hover {
    background-color: #355eb8;
}

.btn-gplus {
    color: white;
    background-color: #dd4b39;
}

.btn-gplus:hover {
    color: white;
    background-color: #be3f2f;

}

.btn-twitter {
    color: white;

    background-color: #55acee;
}

/* .btn-pinterest {} */

.btn-linkedin {
    color: white;
    background-color: #0077b5;
}

.btn-linkedin:hover {
    color: white;
    background-color: #015e91;
}

@media only screen and (max-width: 768px) {
    .landing-page .main-features .bg-img img {
        height: 40px;
    }
}

.text-summary p,
a {
    display: -webkit-box;
    line-height: 25px;
    overflow: hidden !important;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.img-new {
    object-fit: cover;
    height: 230px;
}

.img-product-detail {
    object-fit: cover;
    max-height: 450px;
    min-height: 450px;
}

.position {
    top: 0;
    right: 0;
}

.counter-status--min__height {
    min-height: 170px;
}
.tox-tinymce-aux {
	z-index: 9999!important
}
.section {
    padding: 40px 0;
}
.blog-detail .card-img-top {
    height: 400px;
    object-fit: contain;
}
@media (max-width: 992px) {
    .blog-detail .card-img-top {
        height: 200px;
    }
}
.item-image {
    height: 150px;
    object-fit: contain; 
}

/* ===== Nút phone-ring góc phải bên dưới (mỗi SĐT 1 nút tròn) ===== */
.phone-ring-wrap {
    position: fixed;
    right: 18px;
    bottom: 90px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}
.phone-ring {
    display: block;
    text-decoration: none;
    border-radius: 50%;
    /* theme nào đó ép overflow:hidden lên thẻ a sẽ cắt vòng sáng -> ép hiện */
    overflow: visible !important;
}
.phone-ring-circle {
    overflow: visible !important;
}
.phone-ring-circle {
    position: relative;
    display: block;
    width: 58px;
    height: 58px;
}
.phone-ring-shake {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22b14c;
    color: #fff;
    font-size: 25px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34,177,76,.55), 0 4px 14px rgba(0,0,0,.25);
    -webkit-animation: phone-shake 1.6s ease-in-out infinite, phone-glow 1.6s ease-out infinite;
    animation: phone-shake 1.6s ease-in-out infinite, phone-glow 1.6s ease-out infinite;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
.phone-ring:hover .phone-ring-shake {
    background: #15803d;
}
/* 2 vòng sáng lan tỏa liên tục */
.phone-ring-wave {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    border: 4px solid rgba(34,177,76,.9);
    background: rgba(34,177,76,.10);
    opacity: 0;
    pointer-events: none;
    -webkit-animation: phone-wave 2s ease-out infinite;
    animation: phone-wave 2s ease-out infinite;
}
.phone-ring-wave.w2 {
    animation-delay: 1s;
}
@-webkit-keyframes phone-shake {
    0%, 100% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    5% { -webkit-transform: rotate(16deg); transform: rotate(16deg); }
    10% { -webkit-transform: rotate(-14deg); transform: rotate(-14deg); }
    15% { -webkit-transform: rotate(12deg); transform: rotate(12deg); }
    20% { -webkit-transform: rotate(-10deg); transform: rotate(-10deg); }
    25% { -webkit-transform: rotate(8deg); transform: rotate(8deg); }
    30%, 60% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    65% { -webkit-transform: rotate(10deg); transform: rotate(10deg); }
    70% { -webkit-transform: rotate(-8deg); transform: rotate(-8deg); }
    75% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
}
@keyframes phone-shake {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(16deg); }
    10% { transform: rotate(-14deg); }
    15% { transform: rotate(12deg); }
    20% { transform: rotate(-10deg); }
    25% { transform: rotate(8deg); }
    30%, 60% { transform: rotate(0deg); }
    65% { transform: rotate(10deg); }
    70% { transform: rotate(-8deg); }
    75% { transform: rotate(0deg); }
}
@-webkit-keyframes phone-wave {
    0% { -webkit-transform: scale(1); transform: scale(1); opacity: .9; }
    100% { -webkit-transform: scale(1.9); transform: scale(1.9); opacity: 0; }
}
@keyframes phone-wave {
    0% { transform: scale(1); opacity: .9; }
    100% { transform: scale(1.9); opacity: 0; }
}
@-webkit-keyframes phone-glow {
    0% { box-shadow: 0 0 0 0 rgba(34,177,76,.55), 0 4px 14px rgba(0,0,0,.25); }
    70% { box-shadow: 0 0 0 16px rgba(34,177,76,0), 0 4px 14px rgba(0,0,0,.25); }
    100% { box-shadow: 0 0 0 0 rgba(34,177,76,0), 0 4px 14px rgba(0,0,0,.25); }
}
@keyframes phone-glow {
    0% { box-shadow: 0 0 0 0 rgba(34,177,76,.55), 0 4px 14px rgba(0,0,0,.25); }
    70% { box-shadow: 0 0 0 16px rgba(34,177,76,0), 0 4px 14px rgba(0,0,0,.25); }
    100% { box-shadow: 0 0 0 0 rgba(34,177,76,0), 0 4px 14px rgba(0,0,0,.25); }
}
@media (prefers-reduced-motion: reduce) {
    .phone-ring-shake, .phone-ring-wave {
        animation: none;
    }
    .phone-ring-wave {
        display: none;
    }
}

/* ===== Nền phone-ring chuyển động (gradient xoay) ===== */
.phone-ring-shake {
    background: linear-gradient(135deg, #16a34a, #4ade80, #22b14c, #15803d, #16a34a) !important;
    background-size: 300% 300% !important;
    -webkit-animation: phone-shake 1.6s ease-in-out infinite, phone-glow 1.6s ease-out infinite, phone-bg 5s ease infinite !important;
    animation: phone-shake 1.6s ease-in-out infinite, phone-glow 1.6s ease-out infinite, phone-bg 5s ease infinite !important;
}
.phone-ring:hover .phone-ring-shake {
    background: #15803d !important;
    -webkit-animation: phone-shake 1.6s ease-in-out infinite !important;
    animation: phone-shake 1.6s ease-in-out infinite !important;
}
@-webkit-keyframes phone-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes phone-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== Ảnh tin tức full cột trái, sát viền ===== */
.news-card > .card-body {
    padding: 0 !important;
}
.news-thumb {
    width: 38%;
    -ms-flex: 0 0 38%;
    flex: 0 0 38%;
    min-width: 0;
    min-height: 200px;
    align-self: stretch;
    border-radius: .5rem 0 0 .5rem;
}
@media (max-width: 575.98px) {
    .news-thumb {
        width: 34%;
        -ms-flex-basis: 34%;
        flex-basis: 34%;
        min-height: 150px;
    }
}
.product-grid6 .product-image6 {
    overflow: hidden;
    border-radius: 7px;
}
.product-grid6 .product-image6 img.img-product {
    transition: transform .45s ease;
    will-change: transform;
}
.product-grid6:hover .product-image6 img.img-product {
    transform: scale(1.08);
}
.product-grid6 .product-image6 .icons {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}
.product-grid6:hover .product-image6 .icons {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive trang chủ ===== */
@media (max-width: 575.98px) {
    .guest-banner {
        min-height: 300px;
    }
    .guest-banner .overlay {
        min-height: 300px;
    }
    .guest-banner .title {
        top: 60px;
    }
    .guest-banner .title h1 {
        font-size: 1.6em;
    }
    .section {
        padding: 28px 0;
    }
    .phone-ring-wrap {
        right: 12px;
        bottom: 76px;
        gap: 10px;
    }
    .phone-ring-circle {
        width: 48px;
        height: 48px;
    }
    .phone-ring-shake {
        font-size: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .phone-ring-shake {
        -webkit-animation: none !important;
        animation: none !important;
        background: #22b14c !important;
    }
    .phone-ring-wave {
        display: none !important;
    }
}