/* =========================================================
   CHỐNG THẤM BUTYL - GLOBAL CSS
   File: butyl-global.css
   Chỉ chứa CSS dùng chung toàn website
========================================================= */


/* =========================================================
   1. BASE / GLOBAL LAYOUT
========================================================= */

.page-wrapper {
    padding: 20px 0;
}

.col,
.columns,
.gallery-item {
    padding: 0 15px !important;
}

/*
 * Giữ nguyên hành vi hiện tại của website.
 * Rule này đang tác động toàn bộ site.
 */
body {
    line-height: 1.9;
}


/* =========================================================
   2. FOOTER
========================================================= */

.absolute-footer {
    display: none;
}

.copyright {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #d2d2d282;
    font-weight: 300;
}

.top-bar-nav {
    font-size: 14px;
}

.tooltip span {
    text-transform: lowercase;
}


/* =========================================================
   3. BREADCRUMB DÙNG CHUNG
========================================================= */

.group-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 30px;

    font-size: 14px;
    line-height: 1.4;
}


/* Icon Home */
.group-breadcrumbs i {
    margin-right: 4px;

    color: #5F6C72;

    font-size: 14px;
    line-height: 1;
}


/* Link */
.group-breadcrumbs a {
    color: #d00000;
    text-decoration: none;

    transition: color 0.2s ease;
}

.group-breadcrumbs a:hover {
    color: #000000;
}


/* Separator */
.group-breadcrumbs .separator {
    margin: 0 4px;
    opacity: 0.6;
}


/* Breadcrumb tự động */
#auto-breadcrumbs {
    margin-top: 15px !important;
}


/* =========================================================
   4. PRIMARY BUTTON
========================================================= */

@keyframes galaxy-move {

    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }

}


@keyframes pulse-zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

}


@keyframes digital-glow-pulse {

    0%,
    100% {
        box-shadow:
            0 0 12px #FBBD23,
            inset 0 0 6px #FBBD23;
    }

    50% {
        box-shadow:
            0 0 24px #fcd462,
            inset 0 0 12px #ffe699;
    }

}


.button.primary {
    position: relative;
    z-index: 1;

    overflow: hidden;

    border: 2px solid #FBBD23;
    border-radius: 15px;

    background: linear-gradient(
        90deg,
        #FBBD23,
        #f59e0b
    );

    color: #ffffff;

    cursor: pointer;

    letter-spacing: 1px;

    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.1);

    animation:
        pulse-zoom 2s infinite ease-in-out,
        digital-glow-pulse 3s ease-in-out infinite;

    transition: all 0.4s ease;
}


/* Galaxy background */
.button.primary::before {
    content: "";

    position: absolute;
    top: -50%;
    left: -50%;

    z-index: 0;

    width: 200%;
    height: 200%;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 10%,
        transparent 70%
    );

    animation: galaxy-move 10s linear infinite;
}


/* Glow ngoài */
.button.primary::after {
    content: "";

    position: absolute;
    top: -6px;
    left: -6px;

    z-index: -1;

    width: calc(100% + 12px);
    height: calc(100% + 12px);

    border-radius: 20px;

    background: rgba(251, 189, 35, 0.25);

    box-shadow:
        0 0 15px 4px rgba(251, 189, 35, 0.5);

    transform: scale(1);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.button.primary:hover::after {
    transform: scale(1.12);

    box-shadow:
        0 0 35px 10px rgba(251, 189, 35, 0.8);
}


.button.primary span {
    position: relative;
    z-index: 2;
}


/* =========================================================
   5. E-BROCHURE BUTTON
========================================================= */

a.e-brochure-btn {
    display: inline-flex !important;

    align-items: center !important;

    gap: 6px !important;

    padding: 5px !important;

    border-radius: 5px !important;

    background-color: #CA202A !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;

    transition: background-color 0.3s ease !important;
}


a.e-brochure-btn:hover {
    background-color: #0056b3 !important;
    color: #ffffff !important;
}


.e-brochure-btn .e-brochure-icon {
    display: inline-block !important;

    width: 18px !important;
    height: 18px !important;

    object-fit: contain !important;
}


.e-brochure-btn .e-brochure-text {
    font-size: 13px !important;
    line-height: 1 !important;
}


/* =========================================================
   6. LEGACY GLOBAL BEHAVIOUR
   Giữ để giao diện không thay đổi sau migration
========================================================= */

.is-divider {
    display: none;
}


/* =========================================================
   7. ACCESSIBILITY - REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .button.primary {
        animation: none;
    }

    .button.primary::before {
        animation: none;
    }

}
/* =====================================================
   MAXELL CONTACT BUTTON
   Desktop: 3 nút dọc bên phải
   Mobile: thanh 3 nút ngang phía dưới
===================================================== */


/* =====================================================
   1. CẤU HÌNH CHUNG
===================================================== */

.mxct-contact,
.mxct-contact * {
    box-sizing: border-box;
}

.mxct-contact {
    --mxct-orange: #ff9800;
    --mxct-orange-light: #ffb300;
    --mxct-dark: #292929;
    --mxct-grey: #f2f2f2;
    --mxct-white: #ffffff;

    position: fixed;
    z-index: 9997;

    display: flex;

    margin: 0;
    padding: 0;

    font-family: inherit;
}

.mxct-contact a {
    display: block;

    margin: 0;
    padding: 0;

    color: inherit;
    text-decoration: none !important;

    border: 0;
    outline: 0;

    -webkit-tap-highlight-color: transparent;
}

.mxct-contact__wrap {
    position: relative;

    width: 100%;
    height: 100%;

    cursor: pointer;
}

.mxct-contact__box {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background: var(--mxct-white);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease;
}

.mxct-contact__label {
    display: none;
}


/* =====================================================
   2. ICON ĐIỆN THOẠI
===================================================== */

.mxct-contact__phone-icon {
    display: block;
    flex: 0 0 auto;

    width: 29px;
    height: 29px;

    background-color: #ffffff;

    -webkit-mask-image:
        url("https://chongthambutyl.com/wp-content/uploads/2026/07/phone.svg");

    mask-image:
        url("https://chongthambutyl.com/wp-content/uploads/2026/07/phone.svg");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;
}


/* =====================================================
   3. ICON ZALO / MESSENGER
===================================================== */

.mxct-contact__image {
    display: block;
    flex: 0 0 auto;

    width: 29px;
    height: 29px;

    object-fit: contain;
    object-position: center;
}


/* =====================================================
   4. HIỆU ỨNG SÓNG
===================================================== */

.mxct-contact__wave {
    position: absolute;
    inset: 0;
    z-index: 1;

    width: 100%;
    height: 100%;

    background: rgba(255, 174, 0, 0.78);
    border-radius: 13px;

    pointer-events: none;

    animation: mxct-contact-wave 1.6s ease-out infinite;
}

@keyframes mxct-contact-wave {

    0% {
        opacity: 0.82;
        transform: scale(1);
    }

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

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


/* =====================================================
   5. DESKTOP
===================================================== */

@media screen and (min-width: 550px) {

    .mxct-contact {
        right: 13px;
        bottom: 72px;

        flex-direction: column;
        gap: 15px;
    }

    .mxct-contact > a {
        width: 60px;
        height: 60px;
    }

    .mxct-contact__box {
        border-radius: 13px;

        box-shadow:
            0 5px 16px rgba(0, 0, 0, 0.2);
    }


    /* Phone */
    .mxct-contact__item--phone .mxct-contact__box {
        background: linear-gradient(
            135deg,
            var(--mxct-orange-light) 0%,
            var(--mxct-orange) 100%
        );
    }


    /* Zalo + Messenger */
    .mxct-contact__item--zalo .mxct-contact__box,
    .mxct-contact__item--messenger .mxct-contact__box {
        background: var(--mxct-white);
    }

    .mxct-contact__item--zalo .mxct-contact__image,
    .mxct-contact__item--messenger .mxct-contact__image {
        width: 48px;
        height: 48px;
    }


    /* Hover */
    .mxct-contact__wrap:hover .mxct-contact__box {
        transform: translateY(-3px) scale(1.06);

        box-shadow:
            0 9px 23px rgba(0, 0, 0, 0.24);
    }
}


/* =====================================================
   6. MOBILE
===================================================== */

@media screen and (max-width: 549px) {

    .mxct-contact {
        left: 50%;
        bottom: max(9px, env(safe-area-inset-bottom));

        width: calc(100% - 20px);
        max-width: 430px;

        flex-direction: row;
        align-items: stretch;
        gap: 6px;

        padding: 6px;

        background: rgba(255, 255, 255, 0.98);

        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;

        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.2),
            0 2px 7px rgba(0, 0, 0, 0.1);

        transform: translateX(-50%);

        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .mxct-contact > a {
        flex: 1 1 0;
        min-width: 0;
    }

    .mxct-contact__wrap {
        height: 48px;
    }


    /* Mobile tắt sóng */
    .mxct-contact__wave {
        display: none;
    }

    .mxct-contact__box {
        flex-direction: row;
        gap: 6px;

        height: 48px;

        padding: 6px 8px;

        background: var(--mxct-grey);

        border: 1px solid rgba(0, 0, 0, 0.035);
        border-radius: 7px;

        box-shadow: none;
    }

    .mxct-contact__label {
        display: block;
        min-width: 0;

        overflow: hidden;

        color: var(--mxct-dark);

        font-size: 12px;
        font-weight: 700;
        line-height: 1;

        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mxct-contact__phone-icon,
    .mxct-contact__image {
        width: 23px;
        height: 23px;
    }


    /* Phone Mobile */
    .mxct-contact__item--phone .mxct-contact__box {
        background: linear-gradient(
            135deg,
            var(--mxct-orange-light) 0%,
            var(--mxct-orange) 100%
        );

        border-color: rgba(202, 111, 0, 0.18);

        box-shadow:
            0 4px 10px rgba(255, 152, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    .mxct-contact__item--phone .mxct-contact__label {
        color: #ffffff;
    }

    .mxct-contact__item--phone .mxct-contact__phone-icon {
        background-color: #ffffff;
    }


    /* Zalo + Messenger Mobile */
    .mxct-contact__item--zalo .mxct-contact__box,
    .mxct-contact__item--messenger .mxct-contact__box {
        background: #f2f2f2;
    }


    /* Touch */
    .mxct-contact a:active .mxct-contact__box {
        transform: scale(0.96);
    }
}


/* =====================================================
   7. MOBILE NHỎ
===================================================== */

@media screen and (max-width: 360px) {

    .mxct-contact {
        width: calc(100% - 12px);

        gap: 4px;

        padding: 5px;
    }

    .mxct-contact__wrap,
    .mxct-contact__box {
        height: 46px;
    }

    .mxct-contact__box {
        gap: 4px;

        padding: 5px;
    }

    .mxct-contact__phone-icon,
    .mxct-contact__image {
        width: 21px;
        height: 21px;
    }

    .mxct-contact__label {
        font-size: 10.5px;
    }
}


/* =====================================================
   8. BACK TO TOP FLATSOME
===================================================== */

@media screen and (max-width: 549px) {

    #top-link,
    .back-to-top,
    .scroll-to-top {
        right: 12px !important;

        bottom:
            calc(
                78px + env(safe-area-inset-bottom)
            ) !important;

        z-index: 9999 !important;
    }
}

@media screen and (min-width: 550px) {

    #top-link,
    .back-to-top,
    .scroll-to-top {
        right: 15px !important;
        bottom: 12px !important;

        z-index: 9999 !important;
    }
}


/* =====================================================
   9. REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .mxct-contact__wave {
        animation: none;
    }

    .mxct-contact__box {
        transition: none;
    }
}
/* =====================================================
   MAXELL LIBRARY MENU
   Dùng cho Flatsome
===================================================== */

.maxell-library {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #e5e5e5;
    border-radius: 5px;

    overflow: hidden;

    font-family: inherit;
}


/* =====================================================
   RESET
===================================================== */

.maxell-library ul,
.maxell-library li {
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/* =====================================================
   CẤP 1
===================================================== */

.maxell-library-parent {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 7px !important;

    margin: 0 !important;

    background: #a61923;

    color: #ffffff !important;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;

    text-decoration: none !important;

    border: none;

    transition: 0.2s ease;
}


/* Hover cấp 1 */

.maxell-library-parent:hover {
    background: #8e151e;

    color: #ffffff !important;
}


/* Mũi tên */

.maxell-library-parent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 14px;

    font-size: 13px;
    line-height: 1;

    color: #ffffff;
}


/* =====================================================
   CẤP 2
===================================================== */

.maxell-library-submenu {
    position: relative;

    margin: 0 !important;

    padding: 5px 0 !important;

    background: #ffffff;
}


/* Đường dọc */

.maxell-library-submenu::before {
    content: "";

    position: absolute;

    left: 17px;
    top: 7px;
    bottom: 7px;

    width: 1px;

    background: #dddddd;
}


/* =====================================================
   ITEM CẤP 2
===================================================== */

.maxell-library-submenu li {
    position: relative;

    margin: 0 !important;
    padding: 0 !important;
}


/* Link */

.maxell-library-submenu li > a {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    margin: 0 !important;

    padding: 6px 7px 6px 32px !important;

    background: transparent;

    color: #333333 !important;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;

    text-decoration: none !important;

    border: none;

    transition: 0.2s ease;
}


/* =====================================================
   ĐƯỜNG NGANG CÂY DANH MỤC
===================================================== */

.maxell-library-line {
    position: absolute;

    left: 17px;
    top: 50%;

    width: 8px;
    height: 1px;

    background: #dddddd;

    transform: translateY(-50%);
}


/* Chấm nhỏ */

.maxell-library-line::after {
    content: "";

    position: absolute;

    right: -2px;
    top: -2px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #bdbdbd;
}


/* =====================================================
   HOVER
===================================================== */

.maxell-library-submenu li > a:hover {
    background: #fafafa;

    color: #a61923 !important;

    padding-left: 35px !important;
}


/* =====================================================
   ACTIVE
===================================================== */

.maxell-library-submenu li.active > a {
    background: #fff5f5;

    color: #a61923 !important;

    font-weight: 700;

    border-right: 3px solid #a61923;
}


/* Chấm active */

.maxell-library-submenu li.active .maxell-library-line::after {
    width: 7px;
    height: 7px;

    top: -3px;
    right: -3px;

    background: #a61923;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 849px) {

    .maxell-library-parent {
        gap: 5px;

        padding: 6px 7px !important;

        font-size: 14px;
    }

    .maxell-library-submenu {
        padding: 5px 0 !important;
    }

    .maxell-library-submenu li > a {
        padding: 8px 7px 6px 32px !important;

        font-size: 13px;
    }

}
.eng-lucide-icon {
  display: inline-block;
  flex: 0 0 auto;
  height: 1em;
  line-height: 1;
  overflow: visible;
  vertical-align: -0.125em;
  width: 1em;
}

.eng-lucide-icon * {
  vector-effect: non-scaling-stroke;
}