.doi-tac {
    padding: 50px 0;
    background-color: #F2F3F5;
}

.doi-tac-slider .slick-slide {
    margin: 0 10px;
}

.doi-tac-slider .slick-list {
    margin: 0 -10px;
}

.doi-tac-slider .item img {
    /* max-width: 170px; */
    margin: 0 auto;
    background-color: #FFF;
    padding-inline: 10px;
}

.footer {
    background: #252a57;
    position: relative;
    z-index: 1;
}

.footer-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .05;
    z-index: -1;
}

.footer-shape img {
    width: 80%;
    max-width: 700px;
}

.footer-widget-box {
    margin-bottom: 20px;
}

.footer-widget {
    position: relative;
    z-index: 1;
    padding: 50px 0 30px;
}

.footer-logo img {
    width: 220px;
    margin-bottom: 25px;
}

.copyright {
    position: relative;
}

.copyright .copyright-wrapper {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.copyright .footer-menu {
    margin: 0;
    padding: 0;
    text-align: right;
}

.copyright .footer-menu li {
    display: inline-block;
    margin-left: 25px;
    font-size: 16px;
}

.copyright .footer-menu li a {
    color: #F5FAFF;
    transition: all .5s ease-in-out;
}

.copyright .footer-menu li a:hover {
    color: #FDA31B;
}

.copyright .copyright-text {
    color: #F5FAFF;
    margin-bottom: 0px;
    font-size: 16px;
}

.copyright .copyright-text strong {
    color: #FFF;
}

.footer-widget-box h3 {
    color: #FFF;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: 21px;
    z-index: 1;
    text-transform: uppercase;
}

.footer-widget-box h3::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.footer-widget-box h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #000;
    bottom: 0;
    left: 18px;
    z-index: -1;
}

.footer-widget-box ul {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    list-style: none;
}

.footer-widget-box ul li {
    position: relative;
}

.footer-widget-box ul li::before {
    content: "";
    /* position: absolute;
    left: 0; */
    display: inline-block;
    top: 8px;
    width: 0;
    height: 0;
    margin-right: 6px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

.footer-widget-box ul li a {
    color: #FFF;
    transition: all .5s ease-in-out;
    font-size: 14px;
}

.footer-widget-box ul li a i {
    margin-right: 5px;
    color: #FDA31B;
}

.footer-widget-box ul li a:hover {
    /* padding-left: 10px; */
    color: #9e9e9e;
}

.footer-widget-box p {
    color: #FFF;
    padding-right: 18px;
    margin-bottom: 20px;
}

.copyright-wrapper ul {
    display: flex;
    gap: 7px;
    justify-content: end;
    list-style: none;
}

.copyright-wrapper ul li a {
    height: 38px;
    width: 38px;
    border-radius: 5px;
    background: #FFF;
    color: #FDA31B;
    transition: all .5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright-wrapper ul li a img {
    width: 20px !important;
    height: 20px;
    object-fit: contain;
}

.footer-contact ul {
    gap: 0px;
}

.footer-contact li {
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    color: #F5FAFF;
    font-size: 14px;
    /* margin-bottom: 2px; */
    padding-left: 0 !important;
    flex-wrap: wrap;
}

.footer-contact li::before {
    display: none !important;
}

.footer-contact li a {
    color: #F5FAFF;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.footer-contact li img {
    width: 30px !important;
    padding: 5px;
    /* background: orange; */
    border-radius: 5px;
    display: block;
    height: 30px;
    object-fit: contain;
    margin-right: 3px;
}

.subscribe-form .form-control {
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: none;
    border: none;
    display: block;
    width: 100%;
}

.subscribe-form .btn-web {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    justify-content: center;
}

.text-center {
    align-items: center;
}

.subscribe-form .btn-web svg {
    margin-left: 5px;
}

.subscribe-form .btn-web svg path {
    fill: #FFF;
    stroke: #000;
}

@media all and (max-width: 1199px) {
    .footer-widget-box {
        margin-bottom: 50px;
    }
}

@media all and (max-width: 991px) {
    .footer-widget-wrapper {
        padding-bottom: 0px;
    }

    .copyright .footer-menu {
        float: left;
        margin-top: 20px;
        text-align: left;
    }

    .copyright .footer-menu li {
        margin-left: 0;
        margin-right: 15px;
    }

}

@media all and (max-width: 767px) {
    .footer-widget-wrapper {
        padding-bottom: 0px;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .copyright::before {
        width: 40%;
    }

    .doi-tac {
        padding: 30px 0;
    }

    .footer-widget {
        padding: 40px 0 0px;
    }

    .footer-widget-box {
        margin-bottom: 30px;
    }

    .copyright-wrapper ul {
        justify-content: center;
        margin-top: 10px;
    }

    .copyright .copyright-text {
        text-align: center;
        padding: 0 25px;
    }

    .footer-widget-box h3 {
        margin-bottom: 20px;
    }
}



.backtotop {
    cursor: pointer;
    background: #333867;
    bottom: 60px;
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    height: 40px;
    padding: 2px;
    position: fixed;
    right: 20px;
    text-align: center;
    text-transform: uppercase;
    width: 40px;
    z-index: 3;
    border-radius: 4px;
    height: 45px;
}

.backtotop svg {
    width: 22px;
    height: 22px;
    margin-bottom: -10px;
}

.backtotop svg path {
    stroke: #fff;
}


/* ===== WIDGET WRAPPER ===== */
#widget {
    position: fixed;
    bottom: 125px;
    right: 12px;
    z-index: 99;
}

/* ===== POPUP PANEL ===== */
#panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: none;
    animation: slideUp 0.25s ease;
}

#panel.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel Header */
.panel-header {
    background: #333867;
    padding: 12px 18px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.3px;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    /* cursor: pointer; */
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.15s;
    text-decoration: none;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background: #fafafa;
}

.contact-icon {
    display: flex;
    border-radius: 50%;
}

.contact-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    padding: 5px;
    border-radius: 50%;
}

#fab img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    position: absolute;
    transition: opacity 0.25s, transform 0.25s;
    opacity: 0;
    transform: scale(0.7);
}

.contact-text {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.contact-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* ===== FLOATING BUTTON ===== */
#fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    outline: none;
    position: relative;
    background: #333867;
    box-shadow: 0 6px 20px rgb(36 40 84 / 50%);
}

#fab:hover {
    transform: scale(1.1);
}

#fab img {
    width: 26px;
    height: 26px;
    /* fill: white; */
    position: absolute;
    transition: opacity 0.25s, transform 0.25s;
}

.footer-widget-box ul li {
    color: #fff;
}

/* Pulse ring */
#fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 3px solid #393e6e;
    opacity: 0.4;
    animation: pulse 2s ease-out infinite;
}

.footer-widget .text-description {
    color: #fff;
    margin-bottom: 15px;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.4;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

/* Close X button style */
#fab.is-open::before {
    display: none;
}

#fab.is-open {
    transform: none;
}

#fab.is-open:hover {
    transform: rotate(90deg);
}

.fab-close {
    width: 24px;
    height: 24px;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

#fab.is-open .fab-close {
    display: flex;
}

.fab-close::before,
.fab-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2.5px;
    background-color: #fff;
    border-radius: 2px;
}

.fab-close::before {
    transform: rotate(45deg);
}

.fab-close::after {
    transform: rotate(-45deg);
}

/* Backdrop */
#backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 98;
}

#backdrop.active {
    display: block;
}

@media (max-width: 575px) {
    #fab {
        width: 45px;
        height: 45px;
    }

    .backtotop {
        right: 15px;
        bottom: 20px;
    }
}

/* ===== COMPARE WIDGET ===== */
#compare-widget {
    position: fixed;
    bottom: 20px;
    left: 12px;
    z-index: 10;
}

#compare-btn {
    gap: 10px;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 12px;
    background: #FFF;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    color: #000;
}

#compare-btn .compare-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #252a57;
    color: #FFF;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #FFF;
}

/* Pop-up Comparison */
#compare-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #FFF;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10003;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

#compare-popup.active {
    transform: translateY(0);
}

.compare-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #F0F0F0;
}

.compare-title {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.close-compare-popup {
    background: #F5F5F5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
}

.compare-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.close-compare-popup:hover {
    background: #EEF;
    color: #000;
}

.compare-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.compare-items-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.compare-items-list.compare-empty {
    display: flex;
    justify-content: center;
}

.compare-empty {
    text-align: center;
    padding: 10px 20px;
    color: #999;
}

.compare-item {
    background: #F9F9F9;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 15px;
    position: relative;
    border: 1px solid #EEE;
    transition: border-color 0.2s;
}

.compare-item:hover {
    border-color: #252a57;
}

.compare-item .item-img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: #FFF;
    flex-shrink: 0;
}

.compare-item .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compare-item .item-info {
    flex: 1;
}

.compare-item .info-category {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.compare-item .info-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 5px;
    line-height: 1.4;
}

.compare-item .info-code {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.compare-item .info-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.compare-item .info-price {
    font-size: 15px;
    font-weight: 700;
    color: #D70018;
}

.compare-item .info-price-wrap del {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.remove-compare-item {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #FFF;
    border: 1px solid #EEE;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    transition: all 0.2s;
}

.remove-compare-item:hover {
    background: #D70018;
    color: #FFF;
    border-color: #D70018;
}

.btn-clear-compare {
    padding: 8px 16px;
    border-radius: 8px;
    background: #F5F5F5;
    color: #666;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}

.btn-clear-compare:hover {
    background: #EEE;
    color: #000;
}

.btn-compare-now {
    background: #252a57;
    color: #FFF;
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 13px;
}

.btn-compare-now:hover {
    background: #000;
    color: #FFF;
}

/* Backdrop */
#compare-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: none;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s;
}

#compare-overlay.active {
    display: block;
}

/* Global width for comparison popup on Desktop */
@media (min-width: 992px) {
    #compare-popup {
        left: 0;
        margin-left: 0;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 767px) {
    .compare-items-list {
        grid-template-columns: 1fr;
    }

    .compare-item .item-img {
        width: 70px;
        height: 70px;
    }
  	#widget {
  	}
}

@media (max-width: 575px) {
    .compare-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .compare-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .copyright .copyright-wrapper {
        padding: 25px 0 90px;
    }
}