﻿.imgFloat {
    display: flex;
    justify-content: space-between;
}

.hotline-text{
    height: 35px;
}

.text-center {
    align-items: center;
}

.phone_hot{
    height: 35px;
}

.header_col{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.navbar-expand-lg.top-nav .navbar-nav .nav-link {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.noti-item {
    margin-left: 5px !important;
}


.btn-secondary {
    background-image: linear-gradient(to right, #24aeb1 0, #24aeb1 100%);
    border:none !important;
    color: white; /* Màu chữ */
    border-radius: 8px; /* Bo góc */
    font-weight: bold;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    transition: background-color 0.3s ease-in-out;
}

    .btn-secondary:active {
        background-color: white !important;
        border: none !important;
        color: #24aeb1 !important; /* Màu chữ */
        border-radius: 8px; /* Bo góc */
        font-weight: bold;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60%;
        transition: background-color 0.3s ease-in-out;
    }

    .btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-secondary.dropdown-toggle:focus
    .add-cart-btn {
        box-shadow: none !important;
        border: solid 1px #24aeb1 !important;
    }

    .btn.focus, .btn:focus {
        outline: 0;
        box-shadow: none !important;
        border: solid 1px #24aeb1 !important;
    }

    a.btn-secondary{
        background-color: #fff;
    }
    a.btn-secondary:hover {
        background-color: #fff;
    }

    .add-cart-btn:hover {
        background-color: #e2e6ea;
    }

.sp_hover:hover {
    background-color: #fff;
    box-shadow: 0 0 13px rgba(0, 0, 0, .1);
    border-radius: 6px;
}

.add_cart {
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewAll {
    color: #000 !important;
    border: solid 1px #24aeb1 !important;
    background-color: #fff !important;
    font-weight: 600;
}

    .viewAll:hover {
        color: #fff !important;
        background-image: linear-gradient(to right, #24aeb1 0, #24aeb1 100%) !important;
    }

.prev:hover, .next:hover {
    background-image: linear-gradient(to right, #24aeb1 0, #24aeb1 100%) !important;
    border-radius: 100%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff !important; /* Màu của mũi tên */
    font-size: 18px; /* Điều chỉnh kích thước mũi tên */
}

.prev, .next {
    color: #24aeb1 !important;
    background-color: #fff !important;
    border-radius: 100%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px; /* Điều chỉnh kích thước mũi tên */
}

.myProducts {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.container {
    margin: auto;
    padding: 20px;
}

.portfolio-main {
    display: flex;
    justify-content: space-between; /* Căn đều về hai phía */
    flex-wrap: wrap; /* Đảm bảo hiển thị tốt trên màn hình nhỏ */
    gap: 20px;
}

.widget-container {
    flex: 1; /* Chia đều khoảng trống */
    max-width: 48%; /* Để tránh tràn màn hình */
    display: flex;
    justify-content: center;
}

.cta {
    position: relative;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
}

.cta__bg-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.cta__bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Làm tối nền */
    cursor:pointer;
}

.cta__content {
    position: absolute;
    top: 50%;
    left: 26%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    padding: 20px;
}

.cta__status-text {
    font-size: 18px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
}

.cta__title {
    font-size: 36px;
    font-weight: 700;
    margin-top: 10px;
}

.cta__button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff6b6b;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

    .cta__button:hover {
        background-color: #e63946;
    }


/* Container tổng */
.portfolio-main-introduce {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Dàn đều khoảng cách */
    gap: 20px;
}

/* Mỗi khối hình ảnh */
.widget-container {
    width: 100%;
    max-width: 32%; /* Mặc định trên desktop, hiển thị 3 ảnh trên 1 dòng */
}

/* Hình ảnh trong card */
.cta__bg {
    width: 100%;
    background-size: cover;
    background-position: center;
}

@media (max-width: 1023px) {
    .portfolio-main-introduce {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .widget-container {
        width: 48% !important; /* Đảm bảo chỉ có 2 ảnh trên 1 dòng */
        max-width: 48% !important;
        flex: 0 0 48%; /* Đảm bảo không bị co giãn */
    }
}




/* Responsive cho iPhone & màn hình nhỏ (hiển thị 1 ảnh trên 1 dòng) */
@media (max-width: 768px) {
    .portfolio-main-introduce {
        flex-direction: column;
        align-items: center;
    }

    .widget-container {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    .page-title-bar .page-title-bar-inner {
        justify-content: space-between;
        flex-direction: unset;
        align-items: center;
    }
}

.page-title-bar .page-title-bar-inner {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    flex-grow: 1;
}

.content {
    background: #fff;
    margin-top: 0;
}

.cart_new:active {
    background-color: #1c8687;
    border-color: #1c8687;
    color: #fff
}


.content .content_2 .left_content2 {
    padding-top: 20px;
    padding-left: 10px;
    background: none;
}

.content .content_2 .right_content2 {
   background: none;
    margin-top: 30px;
}

    .content .content_2 .right_content2 .bottom-add-cart {
        background-color: #1c8687;
        border-color: #1c8687;
        color: #fff;
        border-radius: 30px;
        margin-left: 0;
    }

.buy-now {
    font-weight: 600;
}

.content .content_2 .right_content2 .bottom-add-cart a {
    padding: 15px 15px !important;
}

.nav1 .active a {
    background-color: #fff !important;
    border-top: unset !important;
    border-left: unset !important;
    border-right: unset !important;
    color: #24aeb1 !important;
    border-bottom: 2px solid #24aeb1;
}

.navbar-expand-lg.top-nav .navbar-nav .nav-link:before {
    background: #2e9047 !important;
}


.navbar-expand-lg.top-nav .navbar-nav .nav-link:after {
    background: #2e9047 !important;
}

.pdtop0 {
    padding-bottom: 0;
}

    @media (min-width: 1600px) {
        .myProducts {
            width: 1400px;
        }
    }


    @media (max-width: 768px) {
        .mw-85 {
            max-width: 85% !important;
        }
    }

.icon-box-description {
    color: #7d879c;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.list_menu_ft .title-menu-ft h5 {
    font-size: 16px !important;
}

.mg-32 {
    margin: 10px 0 15px;
}

.icon-box-wrapper {
    display: flex;
    align-items: center; /* Căn giữa theo chiều dọc */
}

    .icon-box-wrapper .col-2 {
        display: flex;
        justify-content: center; /* Căn giữa icon theo chiều ngang */
        align-items: center; /* Căn giữa icon theo chiều dọc */
    }
        .icon-box-wrapper .col-2 i {
            font-size: 24px; /* Kích thước icon */
            color: #000; /* Màu icon */
            background-color: #aacbe1; /* Màu nền vòng tròn */
            width: 50px; /* Độ rộng vòng tròn */
            height: 50px; /* Độ cao vòng tròn */
            border-radius: 50%; /* Biến nó thành hình tròn */
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .icon-box-wrapper i {
        font-size: 24px; /* Điều chỉnh kích thước icon nếu cần */
        color: #333; /* Màu sắc icon */
    }

.icon-box-content {
    display: flex;
    flex-direction: column; /* Nội dung (tiêu đề + mô tả) xếp theo cột */
    justify-content: center; /* Căn giữa nội dung theo chiều dọc */
}


.icon-box-title {
    color: #000; /* Màu chữ tiêu đề mặc định */
    transition: color 0.3s ease-in-out;
    line-height: 35px;
    font-size: 1.45rem;
}

/* Hover effect */
.icon-box-wrapper:hover i {
    background-color: #2e9047; /* Màu nền icon khi hover */
    color: #fff; /* Màu icon khi hover */
}

.icon-box-wrapper:hover .icon-box-title {
    color: #2e9047; /* Giữ nguyên màu chữ khi hover */
}

.column-gap-no {
    display: flex;
    min-height: 1px;
    position: relative;
}

.populated {
    margin: 21px 130px 0 0;
}


/* Khi ở chế độ PC (màn hình lớn hơn 768px) */
.legal {
    display: flex;
    align-items: center;
}

.text-section {
    width: 50%;
}

.icon-box {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    margin: 21px 71px 0 0;
}

.icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    border-radius: 50%;
    font-size: 20px;
}

.icon-box:hover .icon {
    background-color: #2e9047;
    color: #fff;
}

.icon-box:hover .icon-box-title {
    color: #2e9047;
}



.content {
    flex: 1;
    padding-left: 15px;
}

.image-section {
    width: 500px;
    text-align: center;
}

    .image-section img {
        width: 100%;
        border-radius: 8px;
    }


@media (max-width: 991px) {
    .legal {
        flex-direction: row; /* Xếp ngang thay vì dọc */
        align-items: flex-start;
        justify-content: space-between;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .icon-box{
        margin: 0;
    }

    .text-section {
        width: 100%; /* Chiếm 100% màn hình */
    }

    .image-section {
        width: 100%; /* Chiếm 45% màn hình */
        text-align: center;
    }

        .image-section img {
            width: 100%;
            max-width: 400px; /* Giữ kích thước hợp lý */
            border-radius: 8px;
        }
}

.nav1 .active a {
    color: #2e9047 !important;
    border-bottom: 2px solid #2e9047;
}

.catKey span {
    color: #333333 !important;
    font-weight: bold;
}

@keyframes bounceTwice {
    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-10px);
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(-5px);
    }

    80% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}

.icon-cart {
    color: #d82d71; /* Màu mặc định */
    transition: transform 0.3s ease, color 0.3s ease;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #e3f2fd;
    border-radius: 50% !important;
    font-size: 25px !important;
}

    .icon-cart:hover {
        color: #fff;
        background-color: #d82d71;
        animation: bounceTwice 0.6s ease-in-out; /* Kích hoạt animation */
    }


.icon-cart-2 {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
}

.icon-cart-2:hover {
    color: #fff;
    background-color: #d82d71;
    animation: bounceTwice 0.6s ease-in-out; /* Kích hoạt animation */
}

@media (min-width: 768px) {
    .middle-section {
        display: none; /* Ẩn phần tử ở màn hình PC */
    }

}

@media (max-width: 991px) {
    .middle-section {
        display: block; /* Hiển thị phần tử ở màn hình mobile */
    }
    .head-top-user {
        display: none;
    }

    .header1 {
        display: none;
    }
}

body header .head-top .top_right .logo_mb img{
    height:auto !important;
}


@media (min-width: 768px) and (max-width: 991px) {
    .footer-top .ft1 .row1 .infor_web {
        width: 50%;
    }
    .footer-top .ft1 .row1 .mobile_bot {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .border-modern {
        font-size: 32px;
        padding-left: 50px;
        line-height: 45px;
    }
}

/* Màn hình từ 768px đến 1023px (Tablet) */
@media (max-width: 768px) {
    .border-modern {
        text-align: left;
        font-size: 20px;
        max-width: 400px;
        padding-left: 50px;
        line-height: 40px;
    }
}

/* Màn hình nhỏ hơn 480px (Mobile) */
@media (max-width: 480px) {
    .border-modern {
        text-align: left;
        font-size: 14px;
        max-width: 400px;
        padding-left: 50px;
        line-height: 35px;
    }
}

.text-color {
    color: #d82d71 !important;
}

a.btn-primary {
    background-color: #2e9047;
    border-color: #2e9047;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;

}

    a.btn-primary:hover {
        background-color: #fff;
        border-color: #fff;
        color: #2e9047;
    }

    a.btn-primary:active {
        background-color: #fff !important;
        border-color: #fff !important;
        color: #2e9047 !important;
    }

.text_banner {
    float: right;
    margin-right: 70px
}

/* Màn hình nhỏ hơn 480px (Mobile) */
@media (max-width: 480px) {
    .text_banner {
        float: right;
        margin-right: 0px;
    }

    .text-color {
        width: 180px;
    }
}

.text-thin {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}