* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #ffffff;
    color: #1c1c1c;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.customer-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #e2e2e2;
    background:
        radial-gradient(
            circle at 80% 25%,
            rgba(210, 165, 0, 0.14),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #fafafa
        );
}

.customer-hero::before {
    content: "";
    position: absolute;
    top: -280px;
    right: -270px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(210, 165, 0, 0.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 70px rgba(210, 165, 0, 0.025),
        0 0 0 140px rgba(210, 165, 0, 0.018);
}

.customer-hero-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 75px;
    padding: 80px 0 100px;
}

.customer-eyebrow,
.customer-section-kicker {
    color: #967100;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.customer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.customer-eyebrow::before {
    content: "";
    width: 38px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            #d2a500
        );
}

.customer-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #171717;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 800;
    letter-spacing: -3.5px;
    line-height: 1.02;
}

.customer-hero-copy > p {
    max-width: 660px;
    margin: 25px 0 0;
    color: #626262;
    font-size: 16px;
    line-height: 1.85;
}

.customer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.customer-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    transition: 0.25s ease;
}

.customer-button:hover {
    transform: translateY(-3px);
}

.customer-button-primary {
    border: 1px solid #bd9200;
    background:
        linear-gradient(
            135deg,
            #f2d45d,
            #d2a500
        );
    color: #111111;
    box-shadow: 0 16px 40px rgba(189, 146, 0, 0.19);
}

.customer-button-secondary {
    border: 1px solid #d0d0d0;
    background: #ffffff;
    color: #292929;
}

.customer-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 21px;
    margin-top: 36px;
    color: #777777;
    font-size: 12px;
    font-weight: 650;
}

.customer-benefits span::first-letter {
    color: #b88b00;
}

.customer-device-stage {
    position: relative;
    min-height: 500px;
    display: grid;
    place-items: center;
}

.customer-device-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(210, 165, 0, 0.25),
            rgba(210, 165, 0, 0.05) 47%,
            transparent 68%
        );
    filter: blur(12px);
}

.customer-phone {
    position: relative;
    z-index: 4;
    width: 235px;
    height: 470px;
    padding: 8px;
    border: 1px solid #666666;
    border-radius: 47px;
    background:
        linear-gradient(
            145deg,
            #737373,
            #171717 18%,
            #050505 72%,
            #3d3d3d
        );
    box-shadow: 0 50px 90px rgba(0, 0, 0, 0.34);
    transform: rotate(5deg);
    animation: customerPhoneFloat 5s ease-in-out infinite;
}

@keyframes customerPhoneFloat {
    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-11px);
    }
}

.customer-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 39px;
    background:
        radial-gradient(
            circle at 20% 12%,
            rgba(240, 214, 156, 0.5),
            transparent 28%
        ),
        linear-gradient(
            150deg,
            #29231b,
            #090909 65%
        );
}

.customer-island {
    position: absolute;
    z-index: 5;
    top: 13px;
    left: 50%;
    width: 75px;
    height: 23px;
    border-radius: 999px;
    background: #000000;
    transform: translateX(-50%);
}

.customer-phone-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-align: center;
}

.customer-phone-logo {
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(240, 214, 156, 0.48);
    border-radius: 23px;
    background: rgba(216, 179, 106, 0.15);
    color: #f0d69c;
    font-size: 19px;
    font-weight: 900;
}

.customer-phone-content > strong {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 1px;
}

.customer-phone-content > span {
    margin-top: 8px;
    color: #999999;
    font-size: 9px;
    text-transform: uppercase;
}

.customer-phone-content hr {
    width: 55px;
    height: 1px;
    margin: 19px 0;
    border: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            #d8b36a,
            transparent
        );
}

.customer-phone-content > small {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #dddddd;
    font-size: 8px;
    text-transform: uppercase;
}

.customer-floating-card {
    position: absolute;
    z-index: 6;
    min-width: 145px;
    padding: 14px 16px;
    border: 1px solid #dedede;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
}

.customer-floating-card small {
    display: block;
    color: #8b8b8b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.customer-floating-card strong {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    color: #282828;
    font-size: 12px;
}

.customer-floating-card i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #46b96b;
    box-shadow: 0 0 14px rgba(70, 185, 107, 0.7);
}

.customer-floating-one {
    top: 105px;
    left: 0;
}

.customer-floating-two {
    right: -5px;
    bottom: 80px;
}

.customer-trust {
    position: relative;
    z-index: 10;
    margin-top: -43px;
}

.customer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 21px;
    background: #ffffff;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.09);
}

.customer-trust article {
    position: relative;
    padding: 25px 18px;
    text-align: center;
}

.customer-trust article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    background: #e4e4e4;
}

.customer-trust strong {
    display: block;
    color: #967100;
    font-size: 20px;
}

.customer-trust span {
    display: block;
    margin-top: 5px;
    color: #747474;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.customer-feature-section {
    padding: 125px 0;
    background: #ffffff;
}

.customer-section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.customer-section-heading h2 {
    margin: 13px 0 0;
    color: #171717;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -2px;
    line-height: 1.08;
}

.customer-section-heading p {
    max-width: 620px;
    margin: 18px auto 0;
    color: #666666;
    font-size: 15px;
    line-height: 1.8;
}

.customer-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.customer-feature-card {
    min-height: 270px;
    padding: 27px;
    border: 1px solid #e1e1e1;
    border-radius: 21px;
    background: #ffffff;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.055);
    transition: 0.25s ease;
}

.customer-feature-card:hover {
    border-color: #d7bb55;
    transform: translateY(-7px);
}

.customer-feature-number {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid #ddc65d;
    border-radius: 13px;
    background: #fff7d6;
    color: #765900;
    font-size: 11px;
    font-weight: 900;
}

.customer-feature-card h3 {
    margin: 26px 0 10px;
    color: #242424;
    font-size: 18px;
    line-height: 1.4;
}

.customer-feature-card p {
    margin: 0;
    color: #727272;
    font-size: 13px;
    line-height: 1.75;
}

.customer-status-section {
    padding: 0 0 115px;
    background: #ffffff;
}

.customer-status-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 42px;
    border: 1px solid #ddc65f;
    border-radius: 25px;
    background:
        radial-gradient(
            circle at 88% 50%,
            rgba(210, 165, 0, 0.15),
            transparent 30%
        ),
        #fffaf0;
}

.customer-status-box h2 {
    margin: 10px 0 0;
    color: #1c1c1c;
    font-size: 31px;
}

.customer-status-box p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #6d6755;
    font-size: 14px;
    line-height: 1.7;
}

.customer-status-badge {
    flex-shrink: 0;
    padding: 10px 14px;
    border: 1px solid #b7d9c5;
    border-radius: 999px;
    background: #eaf8f0;
    color: #08783d;
    font-size: 11px;
    font-weight: 900;
}

.customer-preview-section {
    padding: 0 0 120px;
    background: #ffffff;
}

.customer-preview-box {
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.07);
}

.customer-preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 28px;
    border-bottom: 1px solid #e5e5e5;
}

.customer-preview-heading h2 {
    margin: 8px 0 0;
    color: #202020;
    font-size: 25px;
}

.customer-preview-heading > span {
    padding: 9px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #f7f7f7;
    color: #767676;
    font-size: 10px;
    font-weight: 850;
}

.customer-preview-content {
    padding: 32px;
}

.customer-preview-line {
    width: 65%;
    height: 13px;
    border-radius: 999px;
    background: #eeeeee;
}

.customer-preview-line.short {
    width: 42%;
    margin-top: 11px;
}

.customer-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-top: 29px;
}

.customer-preview-grid div {
    height: 145px;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    background: #fafafa;
}

.customer-preview-content > p {
    margin: 27px 0 0;
    color: #7c7c7c;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1000px) {
    .customer-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .customer-hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .customer-actions,
    .customer-benefits {
        justify-content: center;
    }

    .customer-device-stage {
        min-height: 520px;
    }

    .customer-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .customer-hero-grid {
        padding: 65px 0 90px;
    }

    .customer-hero h1 {
        font-size: 48px;
        letter-spacing: -2.4px;
    }

    .customer-benefits {
        gap: 12px;
    }

    .customer-phone {
        width: 210px;
        height: 425px;
    }

    .customer-floating-one {
        left: -5px;
    }

    .customer-floating-two {
        right: -5px;
    }

    .customer-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-trust article:nth-child(2)::after {
        display: none;
    }

    .customer-trust article:nth-child(-n+2) {
        border-bottom: 1px solid #e4e4e4;
    }

    .customer-feature-section {
        padding: 95px 0;
    }

    .customer-feature-grid,
    .customer-preview-grid {
        grid-template-columns: 1fr;
    }

    .customer-status-box,
    .customer-preview-heading {
        display: block;
    }

    .customer-status-badge,
    .customer-preview-heading > span {
        display: inline-flex;
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .customer-actions {
        display: grid;
    }

    .customer-button {
        width: 100%;
    }

    .customer-device-stage {
        min-height: 455px;
    }

    .customer-phone {
        width: 190px;
        height: 385px;
    }

    .customer-floating-card {
        min-width: 125px;
        padding: 11px 12px;
    }
}


/* TLMS MOBILE HOME PROFESSIONAL START */

@media (max-width: 700px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        background: #ffffff;
    }

    /*
    |--------------------------------------------------------------------------
    | Thanh thông báo phía trên
    |--------------------------------------------------------------------------
    */

    .announcement {
        min-height: auto;
        padding: 9px 18px;
        font-size: 10px;
        line-height: 1.4;
        letter-spacing: 1.15px;
        text-align: center;
    }

    /*
    |--------------------------------------------------------------------------
    | Header điện thoại
    |--------------------------------------------------------------------------
    */

    .storefront-header {
        position: sticky;
        top: 0;
        z-index: 900;
        background: rgba(255, 255, 255, .96);
        border-bottom: 1px solid rgba(15, 23, 42, .08);
        box-shadow: 0 5px 18px rgba(15, 23, 42, .06);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .storefront-header .container,
    .storefront-header .navbar {
        width: 100%;
        max-width: 100%;
    }

    .storefront-header .navbar {
        min-height: 76px;
        padding: 11px 18px;
        box-sizing: border-box;
    }

    .storefront-header .brand {
        min-width: 0;
        gap: 11px;
    }

    .storefront-header .brand-mark {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 16px;
        font-size: 20px;
        box-shadow: 0 5px 14px rgba(180, 132, 0, .12);
    }

    .storefront-header .brand-text {
        min-width: 0;
    }

    .storefront-header .brand-name {
        display: block;
        overflow: hidden;
        max-width: 210px;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 1.6px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-header .brand-subtitle {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        min-width: 50px;
        padding: 0;
        border: 1px solid #d7dce3;
        border-radius: 16px;
        background: #ffffff;
        color: #111827;
        font-size: 23px;
        box-shadow: 0 5px 14px rgba(15, 23, 42, .05);
    }

    /*
    |--------------------------------------------------------------------------
    | Khối giới thiệu trang chủ
    |--------------------------------------------------------------------------
    */

    .home-hero,
    .hero-section,
    .hero {
        position: relative;
        min-height: auto;
        padding: 42px 18px 28px;
        overflow: hidden;
        background:
            radial-gradient(
                circle at 90% 12%,
                rgba(232, 184, 0, .15),
                transparent 36%
            ),
            linear-gradient(
                180deg,
                #ffffff 0%,
                #fffdf6 54%,
                #ffffff 100%
            );
    }

    .home-hero::before,
    .hero-section::before,
    .hero::before {
        position: absolute;
        top: 20px;
        right: -120px;
        width: 300px;
        height: 300px;
        border: 1px solid rgba(199, 151, 0, .12);
        border-radius: 50%;
        content: "";
        pointer-events: none;
    }

    .home-hero-grid,
    .hero-grid,
    .hero-inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 24px;
    }

    .home-hero-content,
    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .home-hero-kicker,
    .hero-kicker,
    .hero-eyebrow {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
        color: #9a7000;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.35;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .home-hero-kicker::before,
    .hero-kicker::before,
    .hero-eyebrow::before {
        width: 34px;
        height: 2px;
        background: #d7a800;
        content: "";
    }

    .home-hero-title,
    .hero-title,
    .home-hero h1,
    .hero h1 {
        max-width: 620px;
        margin: 0 0 18px;
        color: #111111;
        font-size: clamp(38px, 11.5vw, 55px);
        font-weight: 900;
        line-height: .98;
        letter-spacing: -2.2px;
        text-align: left;
    }

    .home-hero-title strong,
    .hero-title strong,
    .home-hero-title span,
    .hero-title span {
        color: #a57900;
    }

    .home-hero-description,
    .hero-description,
    .home-hero-content > p,
    .hero-content > p {
        max-width: 590px;
        margin: 0 0 25px;
        color: #5f6672;
        font-size: 16px;
        line-height: 1.65;
        text-align: left;
    }

    /*
    |--------------------------------------------------------------------------
    | Nút hành động
    |--------------------------------------------------------------------------
    */

    .home-hero-actions,
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        margin-bottom: 22px;
    }

    .home-hero-actions a,
    .home-hero-actions button,
    .hero-actions a,
    .hero-actions button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        margin: 0;
        padding: 11px 12px;
        border-radius: 15px;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.2;
        text-align: center;
        box-sizing: border-box;
    }

    .home-hero-actions a:first-child,
    .hero-actions a:first-child {
        border: 1px solid #d7a800;
        background: linear-gradient(135deg, #f7c900, #dca800);
        color: #111827;
        box-shadow: 0 9px 22px rgba(211, 164, 0, .22);
    }

    .home-hero-actions a:last-child,
    .hero-actions a:last-child {
        border: 1px solid #d9dde3;
        background: #ffffff;
        color: #111827;
        box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
    }

    /*
    |--------------------------------------------------------------------------
    | Dòng lợi ích
    |--------------------------------------------------------------------------
    */

    .home-hero-trust,
    .hero-trust,
    .home-hero-benefits,
    .hero-benefits {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
        margin: 0;
    }

    .home-hero-trust > *,
    .hero-trust > *,
    .home-hero-benefits > *,
    .hero-benefits > * {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        min-width: 0;
        padding: 8px 5px;
        border: 1px solid rgba(15, 23, 42, .06);
        border-radius: 11px;
        background: rgba(255, 255, 255, .72);
        color: #5f6672;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.35;
        text-align: center;
    }

    .home-hero-trust strong,
    .hero-trust strong {
        color: #9a7000;
    }

    /*
    |--------------------------------------------------------------------------
    | Hình minh họa
    |--------------------------------------------------------------------------
    */

    .home-hero-visual,
    .hero-visual,
    .home-hero-media,
    .hero-media {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        max-height: 340px;
        margin-top: 0;
        overflow: hidden;
    }

    .home-hero-visual img,
    .hero-visual img,
    .home-hero-media img,
    .hero-media img {
        display: block;
        width: min(82vw, 390px);
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
        object-position: top center;
        transform: translateY(0);
        filter: drop-shadow(0 20px 25px rgba(15, 23, 42, .16));
    }

    /*
    |--------------------------------------------------------------------------
    | Các khu vực dưới trang chủ
    |--------------------------------------------------------------------------
    */

    .home-functions,
    .home-products,
    .home-section {
        padding: 34px 14px;
    }

    .home-function-grid,
    .home-functions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-function-card {
        min-height: auto;
        padding: 18px;
        border-radius: 15px;
    }

    /*
    |--------------------------------------------------------------------------
    | Nút liên hệ nổi
    |--------------------------------------------------------------------------
    */

    .floating-contact,
    .floating-contacts {
        right: 13px;
        bottom: 84px;
        gap: 9px;
    }

    .floating-contact a,
    .floating-contacts a,
    .floating-contact-button {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-width: 3px;
        box-shadow: 0 7px 18px rgba(15, 23, 42, .18);
    }
}

/*
|--------------------------------------------------------------------------
| Điện thoại màn hình rất nhỏ
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {
    .announcement {
        padding-inline: 12px;
        font-size: 9px;
        letter-spacing: .9px;
    }

    .storefront-header .navbar {
        padding-inline: 13px;
    }

    .storefront-header .brand-name {
        max-width: 185px;
        font-size: 14px;
    }

    .home-hero,
    .hero-section,
    .hero {
        padding-inline: 14px;
    }

    .home-hero-title,
    .hero-title,
    .home-hero h1,
    .hero h1 {
        font-size: 38px;
        letter-spacing: -1.7px;
    }

    .home-hero-description,
    .hero-description,
    .home-hero-content > p,
    .hero-content > p {
        font-size: 14px;
    }

    .home-hero-actions a,
    .hero-actions a {
        min-height: 47px;
        font-size: 12px;
    }

    .home-hero-trust > *,
    .hero-trust > *,
    .home-hero-benefits > *,
    .hero-benefits > * {
        font-size: 9px;
    }
}

/* TLMS MOBILE HOME PROFESSIONAL END */


/* TLMS MOBILE PROFESSIONAL V2 START */

/*
|--------------------------------------------------------------------------
| Nền tảng chung cho điện thoại
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {
    :root {
        --tlms-mobile-gold: #dcae00;
        --tlms-mobile-gold-dark: #9b7000;
        --tlms-mobile-ink: #111827;
        --tlms-mobile-muted: #64748b;
        --tlms-mobile-border: #e2e8f0;
        --tlms-mobile-surface: #ffffff;
        --tlms-mobile-bg: #f6f7f9;
        --tlms-mobile-radius: 15px;
        --tlms-mobile-shadow:
            0 8px 24px rgba(15, 23, 42, .07);
    }

    html {
        width: 100%;
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
        background: var(--tlms-mobile-bg);
        color: var(--tlms-mobile-ink);
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }

    img {
        max-width: 100%;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-right: 14px;
        padding-left: 14px;
        box-sizing: border-box;
    }

    /*
    |--------------------------------------------------------------------------
    | Thanh thông báo
    |--------------------------------------------------------------------------
    */

    .announcement {
        min-height: 0;
        padding:
            calc(8px + env(safe-area-inset-top) * .15)
            14px
            8px;
        background:
            linear-gradient(
                100deg,
                #b78300 0%,
                #efd173 48%,
                #b78300 100%
            );
        color: #111827;
        font-size: 9px;
        font-weight: 900;
        line-height: 1.35;
        letter-spacing: 1.05px;
        text-align: center;
        text-transform: uppercase;
    }

    /*
    |--------------------------------------------------------------------------
    | Header mobile
    |--------------------------------------------------------------------------
    */

    .storefront-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid rgba(15, 23, 42, .07);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 5px 20px rgba(15, 23, 42, .06);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .storefront-header .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 70px;
        padding: 9px 14px;
        box-sizing: border-box;
    }

    .storefront-header .brand {
        display: flex;
        align-items: center;
        min-width: 0;
        max-width: calc(100% - 62px);
        gap: 10px;
        text-decoration: none;
    }

    .storefront-header .brand-mark {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 47px;
        height: 47px;
        min-width: 47px;
        border: 1px solid #e3be44;
        border-radius: 15px;
        background:
            linear-gradient(145deg, #fffef8, #fff8d8);
        color: #9a7000;
        font-size: 20px;
        font-weight: 900;
        box-shadow:
            inset 0 0 0 4px rgba(220, 174, 0, .08),
            0 5px 14px rgba(157, 112, 0, .09);
    }

    .storefront-header .brand-text {
        display: block;
        min-width: 0;
    }

    .storefront-header .brand-name {
        display: block;
        overflow: hidden;
        max-width: 225px;
        color: #121212;
        font-size: 16px;
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: 1.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .storefront-header .brand-subtitle {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 47px;
        height: 47px;
        min-width: 47px;
        padding: 0;
        border: 1px solid #d8dde5;
        border-radius: 14px;
        background: #ffffff;
        color: #111827;
        font-size: 22px;
        box-shadow: 0 5px 14px rgba(15, 23, 42, .05);
        cursor: pointer;
    }

    .mobile-menu-button:active {
        transform: scale(.96);
    }

    /*
    |--------------------------------------------------------------------------
    | Menu mở trên điện thoại
    |--------------------------------------------------------------------------
    */

    .nav-links {
        overflow: hidden;
        border-radius: 0 0 15px 15px;
    }

    .nav-links.is-open,
    .nav-links.open,
    .nav-links.active {
        position: absolute;
        top: 100%;
        right: 10px;
        left: 10px;
        display: grid;
        gap: 5px;
        padding: 10px;
        border: 1px solid var(--tlms-mobile-border);
        border-radius: 15px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 14px 35px rgba(15, 23, 42, .14);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .nav-links.is-open a,
    .nav-links.open a,
    .nav-links.active a {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 0 13px;
        border-radius: 10px;
        color: #334155;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

    .nav-links.is-open a:hover,
    .nav-links.open a:hover,
    .nav-links.active a:hover,
    .nav-links.is-open a.active,
    .nav-links.open a.active,
    .nav-links.active a.active {
        background: #fff6cc;
        color: #8c6500;
    }

    /*
    |--------------------------------------------------------------------------
    | Hero trang chủ
    |--------------------------------------------------------------------------
    */

    .home-hero,
    .hero,
    .hero-section {
        position: relative;
        min-height: auto !important;
        padding: 32px 14px 24px !important;
        overflow: hidden;
        background:
            radial-gradient(
                circle at 90% 10%,
                rgba(227, 181, 0, .17),
                transparent 31%
            ),
            radial-gradient(
                circle at 10% 70%,
                rgba(227, 181, 0, .07),
                transparent 34%
            ),
            linear-gradient(
                180deg,
                #ffffff 0%,
                #fffdf7 55%,
                #ffffff 100%
            );
    }

    .home-hero::before,
    .hero::before,
    .hero-section::before {
        position: absolute;
        top: -40px;
        right: -130px;
        width: 300px;
        height: 300px;
        border: 1px solid rgba(187, 139, 0, .10);
        border-radius: 50%;
        content: "";
        pointer-events: none;
    }

    .home-hero-grid,
    .hero-grid,
    .hero-inner {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        gap: 20px !important;
    }

    .home-hero-content,
    .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        text-align: left !important;
    }

    .home-hero-kicker,
    .hero-kicker,
    .hero-eyebrow {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 9px;
        margin: 0 0 13px;
        color: var(--tlms-mobile-gold-dark);
        font-size: 10px;
        font-weight: 900;
        line-height: 1.3;
        letter-spacing: 1.7px;
        text-align: left;
        text-transform: uppercase;
    }

    .home-hero-kicker::before,
    .hero-kicker::before,
    .hero-eyebrow::before {
        width: 28px;
        height: 2px;
        flex: 0 0 auto;
        background: var(--tlms-mobile-gold);
        content: "";
    }

    .home-hero-title,
    .hero-title,
    .home-hero h1,
    .hero h1,
    .hero-section h1 {
        width: 100%;
        max-width: 100%;
        margin: 0 0 15px !important;
        color: #121212;
        font-size: clamp(37px, 10.5vw, 49px) !important;
        font-weight: 950;
        line-height: .98 !important;
        letter-spacing: -2px;
        text-align: left !important;
        text-wrap: balance;
    }

    .home-hero-title span,
    .home-hero-title strong,
    .hero-title span,
    .hero-title strong,
    .home-hero h1 span,
    .hero h1 span {
        color: #a57700;
    }

    .home-hero-description,
    .hero-description,
    .home-hero-content > p,
    .hero-content > p {
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px !important;
        color: #5f6672;
        font-size: 14px !important;
        line-height: 1.65 !important;
        text-align: left !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Nút hero
    |--------------------------------------------------------------------------
    */

    .home-hero-actions,
    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        width: 100%;
        gap: 9px !important;
        margin: 0 0 16px !important;
    }

    .home-hero-actions a,
    .home-hero-actions button,
    .hero-actions a,
    .hero-actions button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 47px !important;
        margin: 0 !important;
        padding: 9px 8px !important;
        border-radius: 14px !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        line-height: 1.2;
        text-align: center;
        box-sizing: border-box;
    }

    .home-hero-actions a:first-child,
    .hero-actions a:first-child {
        border: 1px solid #d5a700;
        background:
            linear-gradient(
                135deg,
                #f7cc12,
                #daa800
            );
        color: #111827;
        box-shadow: 0 8px 20px rgba(205, 157, 0, .20);
    }

    .home-hero-actions a:last-child,
    .hero-actions a:last-child {
        border: 1px solid #d8dde4;
        background: #ffffff;
        color: #111827;
        box-shadow: 0 6px 15px rgba(15, 23, 42, .05);
    }

    /*
    |--------------------------------------------------------------------------
    | Dòng lợi ích hero
    |--------------------------------------------------------------------------
    */

    .home-hero-trust,
    .hero-trust,
    .home-hero-benefits,
    .hero-benefits {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100%;
        gap: 6px !important;
        margin: 0 !important;
    }

    .home-hero-trust > *,
    .hero-trust > *,
    .home-hero-benefits > *,
    .hero-benefits > * {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 43px;
        padding: 6px 4px;
        border: 1px solid rgba(15, 23, 42, .06);
        border-radius: 10px;
        background: rgba(255, 255, 255, .82);
        color: #606875;
        font-size: 9px !important;
        font-weight: 800;
        line-height: 1.25;
        text-align: center;
        box-sizing: border-box;
    }

    /*
    |--------------------------------------------------------------------------
    | Ảnh hero
    |--------------------------------------------------------------------------
    */

    .home-hero-visual,
    .hero-visual,
    .home-hero-media,
    .hero-media {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        max-height: 280px;
        margin: 0 !important;
        overflow: hidden;
    }

    .home-hero-visual img,
    .hero-visual img,
    .home-hero-media img,
    .hero-media img {
        display: block;
        width: min(75vw, 325px) !important;
        max-width: 100%;
        height: auto !important;
        margin: 0 auto;
        object-fit: contain;
        object-position: center top;
        filter: drop-shadow(0 17px 22px rgba(15, 23, 42, .16));
    }

    /*
    |--------------------------------------------------------------------------
    | Các khu chức năng trang chủ
    |--------------------------------------------------------------------------
    */

    .home-functions,
    .home-products,
    .home-section,
    .section {
        padding: 28px 12px !important;
    }

    .home-function-grid,
    .home-functions-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 9px !important;
    }

    .home-function-card {
        min-height: 0 !important;
        padding: 14px !important;
        border: 1px solid var(--tlms-mobile-border);
        border-radius: 14px !important;
        background: #ffffff;
        box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
    }

    .home-function-card span {
        font-size: 11px;
    }

    .home-function-card h3 {
        margin: 7px 0 5px;
        font-size: 14px !important;
        line-height: 1.3;
    }

    .home-function-card p {
        margin: 0;
        color: var(--tlms-mobile-muted);
        font-size: 11px !important;
        line-height: 1.45;
    }

    .home-function-card strong {
        display: none;
    }

    /*
    |--------------------------------------------------------------------------
    | Trang sản phẩm mobile
    |--------------------------------------------------------------------------
    */

    .catalog-page {
        min-height: 100vh;
        padding: 17px 9px 82px !important;
        background: #f5f7fa;
    }

    .catalog-container {
        width: 100%;
        max-width: 100%;
    }

    .catalog-heading {
        margin-bottom: 12px !important;
        text-align: left !important;
    }

    .catalog-heading small,
    .catalog-eyebrow {
        display: none !important;
    }

    .catalog-heading h1 {
        margin: 0 0 4px !important;
        font-size: 22px !important;
        line-height: 1.25;
        text-align: left;
    }

    .catalog-heading p {
        display: none;
    }

    /*
    |--------------------------------------------------------------------------
    | Bộ lọc sản phẩm
    |--------------------------------------------------------------------------
    */

    .catalog-filter {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
        padding: 7px !important;
        border: 1px solid var(--tlms-mobile-border);
        border-radius: 12px !important;
        background: #ffffff;
        box-shadow: 0 5px 16px rgba(15, 23, 42, .05);
    }

    .catalog-filter input {
        grid-column: 1 / -1;
    }

    .catalog-filter input,
    .catalog-filter select {
        width: 100%;
        min-height: 37px !important;
        padding: 0 7px !important;
        border: 1px solid #ced5de;
        border-radius: 8px !important;
        background: #ffffff;
        color: #1f2937;
        font-size: 11px !important;
        box-sizing: border-box;
    }

    .catalog-filter button {
        grid-column: 1 / -1;
        min-height: 37px !important;
        padding: 0 10px !important;
        border: 0;
        border-radius: 8px !important;
        background: var(--tlms-mobile-gold);
        color: #111827;
        font-size: 12px !important;
        font-weight: 900;
    }

    .catalog-active,
    .catalog-summary {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
        margin-bottom: 9px !important;
        color: #64748b;
        font-size: 11px !important;
    }

    .catalog-chip {
        padding: 4px 6px !important;
        border-radius: 999px;
        background: #fff4c6;
        color: #805900;
        font-size: 9px !important;
        font-weight: 900;
    }

    .catalog-reset {
        margin-left: auto;
        color: #966900;
        font-size: 10px;
        font-weight: 800;
        text-decoration: none;
    }

    /*
    |--------------------------------------------------------------------------
    | Lưới sản phẩm 2 cột
    |--------------------------------------------------------------------------
    */

    .product-grid,
    .tlms-product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .product-card,
    .tlms-product-card {
        display: flex;
        overflow: hidden;
        flex-direction: column;
        min-width: 0;
        border: 1px solid #e1e6ec;
        border-radius: 12px !important;
        background: #ffffff;
        box-shadow: 0 5px 14px rgba(15, 23, 42, .06) !important;
    }

    .product-image,
    .product-placeholder,
    .tlms-product-image,
    .tlms-product-placeholder {
        width: 100%;
        height: 120px !important;
        aspect-ratio: auto !important;
        border-radius: 0 !important;
        background:
            linear-gradient(
                145deg,
                #fff9df,
                #f3f4ef
            );
    }

    .product-image,
    .tlms-product-image {
        display: block;
        object-fit: cover;
        object-position: center;
    }

    .product-placeholder,
    .tlms-product-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #a67600;
        font-size: 23px !important;
        font-weight: 900;
    }

    .product-body,
    .tlms-product-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 8px !important;
    }

    .product-badges {
        display: flex;
        overflow: hidden;
        gap: 3px !important;
        margin-bottom: 5px !important;
    }

    .product-badge {
        display: inline-block;
        overflow: hidden;
        max-width: 100%;
        padding: 3px 5px !important;
        border-radius: 999px;
        background: #fff2ba;
        color: #805900;
        font-size: 8px !important;
        font-weight: 900;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-badge.category {
        display: none !important;
    }

    .product-name,
    .tlms-product-name {
        display: -webkit-box;
        overflow: hidden;
        min-height: 34px;
        margin: 0 0 4px !important;
        color: #111827;
        font-size: 14px !important;
        font-weight: 900;
        line-height: 1.2 !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-price,
    .tlms-product-price {
        margin: 0 0 5px !important;
        color: #b98000;
        font-size: 17px !important;
        font-weight: 950;
        line-height: 1.2;
        white-space: nowrap;
    }

    .product-meta {
        display: block !important;
        margin-bottom: 3px !important;
        color: #687386;
        font-size: 9px !important;
        line-height: 1.35;
    }

    .product-meta span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-extra,
    .product-description,
    .tlms-product-description,
    .tlms-product-warranty {
        display: none !important;
    }

    .product-link,
    .tlms-product-link {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 31px;
        margin-top: auto !important;
        padding: 5px !important;
        border-radius: 7px !important;
        background: var(--tlms-mobile-gold);
        color: #111827;
        font-size: 10px !important;
        font-weight: 900;
        text-align: center;
        text-decoration: none;
    }

    .catalog-empty {
        padding: 30px 15px !important;
        border-radius: 13px;
        background: #ffffff;
        color: #64748b;
        font-size: 13px;
        text-align: center;
    }

    /*
    |--------------------------------------------------------------------------
    | Chi tiết sản phẩm
    |--------------------------------------------------------------------------
    */

    .detail-page,
    .tlms-detail-wrap {
        min-height: 100vh;
        padding: 17px 10px 82px !important;
        background: #f5f7fa;
    }

    .detail-card,
    .tlms-detail-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    .detail-image,
    .detail-placeholder,
    .tlms-detail-image,
    .tlms-detail-placeholder {
        width: 100%;
        max-height: 330px;
        aspect-ratio: 1 / 1;
        border-radius: 13px !important;
        object-fit: cover;
    }

    .detail-title,
    .tlms-detail-title {
        margin: 0 0 8px !important;
        font-size: 27px !important;
        line-height: 1.15;
    }

    .detail-price,
    .tlms-detail-price {
        margin-bottom: 12px !important;
        font-size: 25px !important;
    }

    .detail-info {
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
    }

    .detail-info-item {
        padding: 9px !important;
        border-radius: 9px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Footer mobile
    |--------------------------------------------------------------------------
    */

    .storefront-footer {
        padding: 28px 0 calc(24px + env(safe-area-inset-bottom));
    }

    .footer-main {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .footer-main .brand-mark {
        width: 43px;
        height: 43px;
    }

    .footer-brand-description {
        max-width: 100%;
        font-size: 12px;
        line-height: 1.55;
    }

    .footer-heading {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-bottom {
        margin-top: 20px;
        padding-top: 14px;
        font-size: 10px;
        text-align: center;
    }

    /*
    |--------------------------------------------------------------------------
    | Nút liên hệ nổi
    |--------------------------------------------------------------------------
    */

    .floating-contact,
    .floating-contacts {
        position: fixed;
        right: 8px !important;
        bottom: calc(68px + env(safe-area-inset-bottom)) !important;
        z-index: 950;
        display: flex;
        flex-direction: column;
        gap: 7px !important;
    }

    .floating-contact a,
    .floating-contacts a,
    .floating-contact-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 43px !important;
        height: 43px !important;
        min-width: 43px !important;
        min-height: 43px !important;
        border-width: 2px !important;
        border-radius: 50%;
        box-shadow: 0 5px 15px rgba(15, 23, 42, .18) !important;
    }
}

/*
|--------------------------------------------------------------------------
| Điện thoại rất nhỏ
|--------------------------------------------------------------------------
*/

@media (max-width: 374px) {
    .storefront-header .brand-name {
        max-width: 180px;
        font-size: 14px;
        letter-spacing: 1.15px;
    }

    .home-hero-title,
    .hero-title,
    .home-hero h1,
    .hero h1,
    .hero-section h1 {
        font-size: 35px !important;
        letter-spacing: -1.6px;
    }

    .home-hero-description,
    .hero-description,
    .home-hero-content > p,
    .hero-content > p {
        font-size: 13px !important;
    }

    .home-hero-actions a,
    .hero-actions a {
        font-size: 11px !important;
    }

    .product-image,
    .product-placeholder,
    .tlms-product-image,
    .tlms-product-placeholder {
        height: 105px !important;
    }

    .product-name,
    .tlms-product-name {
        font-size: 13px !important;
    }

    .product-price,
    .tlms-product-price {
        font-size: 15px !important;
    }
}

/*
|--------------------------------------------------------------------------
| Điện thoại lớn và tablet nhỏ
|--------------------------------------------------------------------------
*/

@media (min-width: 600px) and (max-width: 900px) {
    .product-grid,
    .tlms-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 11px !important;
    }

    .product-image,
    .product-placeholder,
    .tlms-product-image,
    .tlms-product-placeholder {
        height: 155px !important;
    }

    .home-function-grid,
    .home-functions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* TLMS MOBILE PROFESSIONAL V2 END */
