/* TLMS - Trang chu toi gian: loi chao, san pham va tra cuu thiet bi */
:root {
    --home-gold: #d8aa00;
    --home-gold-dark: #8a6500;
    --home-ink: #121827;
    --home-muted: #667085;
    --home-border: #e1e5eb;
    --home-soft: #f5f7fa;
}

html {
    scroll-padding-top: 72px;
}

body {
    overflow-x: hidden;
    background: var(--home-soft);
}

#kiem-tra-imei {
    scroll-margin-top: 72px;
}

/* Dau trang gon tren may tinh */
.announcement {
    min-height: 30px;
    padding: 5px 16px;
    font-size: 9px;
    letter-spacing: .9px;
}

.navbar {
    min-height: 68px;
}

.navbar .brand-mark {
    width: 41px;
    height: 41px;
    border-radius: 12px;
    font-size: 15px;
}

.navbar .brand-name {
    font-size: 13px;
}

.navbar .brand-subtitle {
    margin-top: 3px;
    font-size: 8px;
}

.nav-contact {
    min-height: 38px;
    padding: 0 17px;
}

/* Loi chao va hai chuc nang */
.home-welcome {
    position: relative;
    overflow: hidden;
    padding: 42px 0 32px;
    border-bottom: 1px solid var(--home-border);
    background:
        radial-gradient(circle at 87% 13%, rgba(218, 173, 0, .17), transparent 26%),
        radial-gradient(circle at 8% 85%, rgba(218, 173, 0, .07), transparent 24%),
        linear-gradient(145deg, #ffffff 0%, #fffdf7 55%, #ffffff 100%);
}

.home-welcome::before {
    position: absolute;
    top: -255px;
    right: -250px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(184, 138, 0, .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 65px rgba(211, 164, 0, .025),
        0 0 0 130px rgba(211, 164, 0, .017);
    content: "";
    pointer-events: none;
}

.home-welcome-inner {
    position: relative;
    z-index: 2;
}

.home-welcome-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    align-items: center;
    gap: 46px;
}

.home-welcome-copy {
    min-width: 0;
}

.home-welcome-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: var(--home-gold-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.home-welcome-kicker::before {
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--home-gold));
    content: "";
}

.home-welcome h1 {
    max-width: 700px;
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(38px, 4.6vw, 57px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -2.1px;
}

.home-welcome h1 span {
    display: block;
    margin-top: 5px;
    color: #9d7500;
}

.home-welcome-description {
    max-width: 650px;
    margin: 14px 0 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.65;
}

.home-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    max-width: 720px;
    margin-top: 22px;
}

.home-choice-card {
    position: relative;
    min-width: 0;
    min-height: 88px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--home-ink);
    text-decoration: none;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .055);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home-choice-card::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 45%, rgba(234, 195, 48, .12), transparent 70%);
    content: "";
    opacity: 0;
    transform: translateX(-50%);
    transition: .35s ease;
}

.home-choice-card:hover {
    border-color: #dfc458;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .09);
    transform: translateY(-3px);
}

.home-choice-card:hover::before {
    opacity: 1;
    transform: translateX(35%);
}

.home-choice-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid #e5c75c;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff5c5, #ffffff);
    color: #8c6600;
}

.home-choice-icon svg {
    width: 25px;
    height: 25px;
}

.home-choice-content {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.home-choice-content strong,
.home-choice-content small {
    display: block;
}

.home-choice-content strong {
    font-size: 15px;
    line-height: 1.25;
}

.home-choice-content small {
    margin-top: 4px;
    color: var(--home-muted);
    font-size: 10px;
    line-height: 1.35;
}

.home-choice-arrow {
    position: relative;
    z-index: 1;
    color: #9b7200;
    font-size: 21px;
    font-weight: 800;
    text-align: center;
}

/* Minh hoa dien thoai vang den */
.home-phone-stage {
    position: relative;
    min-height: 405px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.home-phone-stage::before {
    position: absolute;
    z-index: -3;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 181, 0, .24), rgba(226, 181, 0, .06) 48%, transparent 70%);
    content: "";
    filter: blur(5px);
    animation: homePhoneGlow 4s ease-in-out infinite;
}

.home-phone-orbit {
    position: absolute;
    z-index: -2;
    border: 1px solid rgba(184, 138, 0, .2);
    border-radius: 50%;
    animation: homePhoneOrbit 18s linear infinite;
}

.home-phone-orbit::after {
    position: absolute;
    top: 12%;
    left: 11%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e7bd25;
    box-shadow: 0 0 16px rgba(231, 189, 37, .8);
    content: "";
}

.home-phone-orbit-one {
    width: 310px;
    height: 310px;
}

.home-phone-orbit-two {
    width: 365px;
    height: 365px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 24s;
}

.home-luxury-phone {
    position: relative;
    z-index: 3;
    width: 190px;
    height: 382px;
    padding: 7px;
    border: 1px solid #836f37;
    border-radius: 39px;
    background:
        linear-gradient(145deg, #c8a942 0%, #413817 10%, #070707 23%, #050505 76%, #705d20 92%, #d9b94b 100%);
    box-shadow:
        0 35px 60px rgba(15, 16, 20, .28),
        0 0 0 1px rgba(255, 223, 109, .18),
        inset 0 0 0 1px rgba(255, 255, 255, .15);
    transform: rotate(4deg);
    animation: homePhoneFloat 5s ease-in-out infinite;
}

.home-phone-side-button {
    position: absolute;
    top: 92px;
    right: -4px;
    width: 3px;
    height: 48px;
    border-radius: 0 3px 3px 0;
    background: #8b742c;
}

.home-luxury-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 221, 111, .22);
    border-radius: 32px;
    background:
        radial-gradient(circle at 22% 16%, rgba(232, 199, 105, .27), transparent 28%),
        radial-gradient(circle at 84% 78%, rgba(166, 120, 0, .2), transparent 34%),
        linear-gradient(155deg, #262016 0%, #090909 54%, #181208 100%);
}

.home-phone-island {
    position: absolute;
    z-index: 4;
    top: 11px;
    left: 50%;
    width: 67px;
    height: 20px;
    border-radius: 999px;
    background: #000;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .12);
    transform: translateX(-50%);
}

.home-phone-shine {
    position: absolute;
    z-index: 2;
    top: -40%;
    left: -80%;
    width: 52%;
    height: 190%;
    background: linear-gradient(90deg, transparent, rgba(255, 238, 173, .2), transparent);
    transform: rotate(22deg);
    animation: homePhoneShine 4.8s ease-in-out infinite;
}

.home-phone-screen-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.home-phone-logo {
    width: 63px;
    height: 63px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border: 1px solid rgba(244, 209, 107, .5);
    border-radius: 19px;
    background: rgba(220, 175, 43, .1);
    color: #efd16d;
    font-size: 19px;
    font-style: normal;
    font-weight: 900;
    box-shadow: inset 0 0 24px rgba(236, 198, 76, .08);
}

.home-phone-screen-content strong {
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
}

.home-phone-screen-content small {
    margin-top: 5px;
    color: #c9b66f;
    font-size: 8px;
    letter-spacing: 1.6px;
}

.home-phone-screen-content b {
    width: 46px;
    height: 1px;
    margin: 17px 0;
    background: linear-gradient(90deg, transparent, #e2bc45, transparent);
}

.home-phone-screen-content em {
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    color: #a9a9a9;
    font-size: 6px;
    font-style: normal;
    letter-spacing: .9px;
}

.home-phone-status {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 11px;
    border: 1px solid rgba(222, 199, 116, .7);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    color: #34301f;
    font-size: 9px;
    font-weight: 850;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    backdrop-filter: blur(10px);
}

.home-phone-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28ae5f;
    box-shadow: 0 0 10px rgba(40, 174, 95, .7);
}

.home-phone-status > span {
    color: #a27800;
    font-size: 13px;
    font-weight: 900;
}

.home-phone-status-top {
    top: 75px;
    left: 2px;
    animation: homeStatusFloat 4.3s ease-in-out infinite;
}

.home-phone-status-bottom {
    right: -2px;
    bottom: 70px;
    animation: homeStatusFloat 4.3s 1.4s ease-in-out infinite;
}

@keyframes homePhoneFloat {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(2deg) translateY(-11px); }
}

@keyframes homePhoneGlow {
    0%, 100% { opacity: .72; transform: scale(.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes homePhoneOrbit {
    to { transform: rotate(360deg); }
}

@keyframes homePhoneShine {
    0%, 25% { left: -80%; opacity: 0; }
    48% { opacity: 1; }
    72%, 100% { left: 135%; opacity: 0; }
}

@keyframes homeStatusFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Khu tra cuu */
.home-lookup {
    padding: 28px 0 50px;
    background: var(--home-soft);
}

.home-lookup-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid var(--home-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.home-lookup-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.home-lookup-heading span {
    display: block;
    margin-bottom: 3px;
    color: var(--home-gold-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.home-lookup-heading h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: 23px;
    line-height: 1.2;
}

.home-lookup-heading > small {
    padding: 6px 9px;
    border: 1px solid #ead275;
    border-radius: 999px;
    background: #fff8d9;
    color: #785900;
    font-size: 8px;
    font-weight: 850;
    white-space: nowrap;
}

.home-lookup-form {
    display: grid !important;
    grid-template-columns: minmax(210px, .95fr) minmax(230px, 1.05fr) auto !important;
    align-items: end;
    gap: 10px !important;
}

.phone-imei-field {
    min-width: 0;
}

.phone-imei-field label {
    display: block;
    margin-bottom: 5px;
    color: #344054;
    font-size: 10px;
    font-weight: 800;
}

.phone-imei-input {
    position: relative;
}

.phone-imei-input > span {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 13px;
    color: #9b7200;
    font-size: 14px;
    font-weight: 900;
    transform: translateY(-50%);
}

.phone-imei-input input {
    width: 100%;
    min-height: 48px;
    padding: 0 11px 0 37px;
    border: 1px solid #ccd2da;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #1d2939;
    font-size: 14px;
}

.phone-imei-input input:focus {
    border-color: #d7aa00;
    box-shadow: 0 0 0 3px rgba(215, 170, 0, .11);
}

.home-lookup-form button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border: 1px solid #bd9200;
    border-radius: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #f1d159, #d5a600);
    color: #111;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.home-lookup-form button:disabled {
    cursor: wait;
    opacity: .7;
}

.home-lookup-note {
    margin: 9px 0 0;
    color: #7b8494;
    font-size: 9px;
}

.phone-imei-result {
    display: none;
    margin-top: 13px;
}

.phone-imei-result.error {
    display: block;
    padding: 11px 12px;
    border: 1px solid #efb4ae;
    border-radius: 9px;
    background: #fff1ef;
    color: #a52b21;
    font-size: 11px;
    font-weight: 750;
}

.phone-imei-result.success {
    display: block;
}

.verification-success {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    padding: 9px 11px;
    border: 1px solid #a8d8bc;
    border-radius: 9px;
    background: #eaf8f0;
    color: #08783d;
    font-size: 12px;
    font-weight: 750;
}

.verification-success span,
.verified-device-top > span,
.public-ticket-heading > span {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.verified-device-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.verified-device {
    padding: 12px;
    border: 1px solid var(--home-border);
    border-radius: 11px;
    background: #fff;
}

.verified-device-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
}

.verified-device-top h3 {
    margin: 0;
    font-size: 14px;
}

.verified-device-top p {
    margin: 3px 0 0;
    color: #7b8494;
    font-size: 9px;
}

.verified-device-top > span.active,
.public-ticket-heading > span.done {
    background: #dcfce7;
    color: #08783e;
}

.verified-device-top > span.expired,
.public-ticket-heading > span.cancelled {
    background: #fee2e2;
    color: #b42318;
}

.verified-device-top > span.unknown,
.public-ticket-heading > span.processing {
    background: #fff1bf;
    color: #8a6100;
}

.verified-device-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.verified-device-details > div {
    padding: 8px;
    border-radius: 7px;
    background: #f7f8fa;
}

.verified-device-details small,
.verified-device-details strong {
    display: block;
}

.verified-device-details small {
    color: #7b8494;
    font-size: 7px;
    text-transform: uppercase;
}

.verified-device-details strong {
    margin-top: 2px;
    font-size: 10px;
}

.verification-contact {
    margin-top: 8px;
    padding: 8px 9px;
    border: 1px solid #efd27b;
    border-radius: 7px;
    background: #fffaf0;
    color: #694f00;
    font-size: 10px;
    line-height: 1.4;
}

/* Tien do bao hanh trong ket qua */
.public-ticket-empty,
.public-ticket-tracking {
    margin-top: 9px;
    border-radius: 10px;
}

.public-ticket-empty {
    padding: 10px;
    border: 1px dashed #d8dee9;
    background: #f8fafc;
    color: #526176;
    font-size: 10px;
}

.public-ticket-tracking {
    padding: 11px;
    border: 1px solid #ead58e;
    background: linear-gradient(180deg, #fffdf7, #fff);
}

.public-ticket-heading,
.public-ticket-log-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.public-ticket-heading small {
    display: block;
    margin-bottom: 2px;
    color: #9a6b00;
    font-size: 8px;
    font-weight: 800;
}

.public-ticket-heading h4 {
    margin: 0;
    font-size: 14px;
}

.public-ticket-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 9px;
}

.public-ticket-summary > div {
    min-width: 0;
    padding: 8px;
    border: 1px solid #eceff4;
    border-radius: 7px;
    background: #fff;
}

.public-ticket-summary small,
.public-ticket-summary strong {
    display: block;
}

.public-ticket-summary small {
    margin-bottom: 2px;
    color: #778399;
    font-size: 7px;
    text-transform: uppercase;
}

.public-ticket-summary strong {
    font-size: 10px;
    overflow-wrap: anywhere;
}

.public-ticket-note {
    margin-top: 8px;
    padding: 8px 9px;
    border-left: 3px solid #e2ad00;
    border-radius: 7px;
    background: #fff8dc;
    font-size: 10px;
}

.public-ticket-note p {
    margin: 3px 0 0;
    line-height: 1.4;
}

.public-ticket-history-title {
    margin: 10px 0 6px;
    font-size: 11px;
    font-weight: 850;
}

.public-ticket-timeline {
    display: grid;
    gap: 5px;
}

.public-ticket-log {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 6px;
}

.public-ticket-log > i {
    width: 7px;
    height: 7px;
    margin-top: 5px;
    border-radius: 50%;
    background: #e2ad00;
    box-shadow: 0 0 0 2px #f1d36d;
}

.public-ticket-log > div {
    padding: 7px 8px;
    border-radius: 7px;
    background: #f7f8fa;
}

.public-ticket-log-heading strong,
.public-ticket-log-heading time,
.public-ticket-log p {
    font-size: 9px;
}

.public-ticket-log-heading time {
    color: #7b8799;
}

.public-ticket-log p {
    margin: 3px 0 0;
    color: #4e5a6c;
    line-height: 1.4;
}

/* Chan trang gon tren Trang chu */
.footer-main {
    gap: 40px;
    padding: 35px 0;
}

.footer-brand-description {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.55;
}

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

.footer-links {
    gap: 7px;
}

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

.footer-bottom {
    min-height: 48px;
    font-size: 9px;
}

/* Tablet */
@media (max-width: 980px) {
    .home-welcome-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 22px;
    }

    .home-phone-stage {
        transform: scale(.88);
    }

    .home-choice-content small {
        display: none;
    }

    .home-choice-card {
        min-height: 72px;
    }
}

/* Dien thoai */
@media (max-width: 700px) {
    html {
        scroll-padding-top: 58px;
    }

    #kiem-tra-imei {
        scroll-margin-top: 58px;
    }

    .container {
        width: calc(100% - 18px) !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .announcement {
        display: none !important;
    }

    .storefront-header .navbar {
        width: 100% !important;
        min-height: 56px !important;
        gap: 7px !important;
        padding: 7px 9px !important;
    }

    .storefront-header .brand {
        min-width: 0 !important;
        max-width: calc(100% - 44px) !important;
        gap: 7px !important;
    }

    .storefront-header .brand-mark {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        box-shadow: none !important;
    }

    .storefront-header .brand-name {
        max-width: 190px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        letter-spacing: .6px !important;
    }

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

    .mobile-menu-button {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        border-radius: 9px !important;
        font-size: 18px !important;
        box-shadow: none !important;
    }

    .nav-links,
    .nav-links.open,
    .nav-links.is-open,
    .nav-links.active {
        top: 56px !important;
        right: 8px !important;
        left: 8px !important;
        gap: 3px !important;
        padding: 7px !important;
        border-radius: 10px !important;
    }

    .nav-links a,
    .nav-links.open a,
    .nav-links.is-open a,
    .nav-links.active a {
        min-height: 36px !important;
        padding: 0 10px !important;
        border-radius: 7px !important;
        font-size: 11px !important;
    }

    .home-welcome {
        padding: 16px 0 9px;
    }

    .home-welcome::before {
        top: -155px;
        right: -185px;
        width: 370px;
        height: 370px;
        box-shadow: none;
    }

    .home-welcome-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .home-welcome-copy {
        text-align: left;
    }

    .home-welcome-kicker {
        gap: 6px;
        margin-bottom: 5px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .home-welcome-kicker::before {
        width: 19px;
    }

    .home-welcome h1 {
        font-size: clamp(26px, 7.8vw, 31px);
        line-height: 1.05;
        letter-spacing: -.9px;
    }

    .home-welcome h1 span {
        margin-top: 2px;
    }

    .home-welcome-description {
        margin-top: 7px;
        font-size: 11px;
        line-height: 1.45;
    }

    .home-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }

    .home-choice-card {
        min-height: 72px;
        grid-template-columns: 34px minmax(0, 1fr) 13px;
        gap: 6px;
        padding: 8px;
        border-radius: 9px;
        box-shadow: 0 3px 11px rgba(15, 23, 42, .045);
    }

    .home-choice-card:hover {
        transform: none;
    }

    .home-choice-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .home-choice-icon svg {
        width: 19px;
        height: 19px;
    }

    .home-choice-content strong {
        font-size: 11px;
        line-height: 1.2;
    }

    .home-choice-content small {
        display: none;
    }

    .home-choice-arrow {
        font-size: 15px;
    }

    /* Dien thoai minh hoa thu nho */
    .home-phone-stage {
        min-height: 255px;
        transform: none;
    }

    .home-phone-stage::before {
        width: 215px;
        height: 215px;
    }

    .home-phone-orbit-one {
        width: 195px;
        height: 195px;
    }

    .home-phone-orbit-two {
        width: 230px;
        height: 230px;
    }

    .home-phone-orbit::after {
        width: 5px;
        height: 5px;
    }

    .home-luxury-phone {
        width: 119px;
        height: 238px;
        padding: 4px;
        border-radius: 25px;
        box-shadow:
            0 22px 35px rgba(15, 16, 20, .26),
            0 0 0 1px rgba(255, 223, 109, .16);
    }

    .home-luxury-screen {
        border-radius: 21px;
    }

    .home-phone-island {
        top: 7px;
        width: 43px;
        height: 13px;
    }

    .home-phone-side-button {
        top: 58px;
        right: -3px;
        height: 31px;
    }

    .home-phone-screen-content {
        padding: 12px;
    }

    .home-phone-logo {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
        border-radius: 12px;
        font-size: 13px;
    }

    .home-phone-screen-content strong {
        font-size: 7px;
        letter-spacing: .6px;
    }

    .home-phone-screen-content small {
        margin-top: 3px;
        font-size: 5px;
        letter-spacing: .8px;
    }

    .home-phone-screen-content b {
        width: 29px;
        margin: 10px 0;
    }

    .home-phone-screen-content em {
        padding: 3px 4px;
        font-size: 4px;
        letter-spacing: .4px;
    }

    .home-phone-status {
        gap: 4px;
        padding: 5px 6px;
        border-radius: 7px;
        font-size: 6px;
    }

    .home-phone-status i {
        width: 5px;
        height: 5px;
    }

    .home-phone-status > span {
        font-size: 8px;
    }

    .home-phone-status-top {
        top: 49px;
        left: calc(50% - 116px);
    }

    .home-phone-status-bottom {
        right: calc(50% - 121px);
        bottom: 45px;
    }

    /* Form tra cuu */
    .home-lookup {
        padding: 10px 0 20px;
    }

    .home-lookup-card {
        padding: 10px;
        border-radius: 11px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    }

    .home-lookup-heading {
        gap: 7px;
        margin-bottom: 8px;
    }

    .home-lookup-heading span {
        margin-bottom: 1px;
        font-size: 7px;
    }

    .home-lookup-heading h2 {
        font-size: 16px;
    }

    .home-lookup-heading > small {
        padding: 4px 6px;
        font-size: 6px;
    }

    .home-lookup-form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .phone-imei-field label {
        min-height: 23px;
        margin-bottom: 2px;
        font-size: 8px;
        line-height: 1.25;
    }

    .phone-imei-input > span {
        left: 9px;
        font-size: 12px;
    }

    .phone-imei-input input {
        min-height: 42px;
        padding: 0 6px 0 27px;
        border-radius: 8px;
        font-size: 16px;
    }

    .phone-imei-input input::placeholder {
        font-size: 9px;
    }

    .home-lookup-form button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 40px;
        padding: 0 9px;
        border-radius: 8px;
        font-size: 10px;
    }

    .home-lookup-note {
        margin-top: 6px;
        font-size: 8px;
        line-height: 1.35;
    }

    .phone-imei-result {
        margin-top: 8px;
    }

    .phone-imei-result.error {
        padding: 8px 9px;
        font-size: 10px;
    }

    .verification-success {
        gap: 6px;
        margin-bottom: 7px;
        padding: 7px 8px;
        font-size: 10px;
    }

    .verification-success span,
    .verified-device-top > span,
    .public-ticket-heading > span {
        padding: 4px 6px;
        font-size: 7px;
    }

    .verified-device-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .verified-device {
        padding: 9px;
        border-radius: 9px;
    }

    .public-ticket-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Footer */
    .storefront-footer {
        padding: 0 0 calc(8px + env(safe-area-inset-bottom)) !important;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 14px 0 9px !important;
    }

    .footer-main > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-main .brand-mark {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 13px !important;
    }

    .footer-main .brand-name {
        font-size: 10px !important;
    }

    .footer-main .brand-subtitle,
    .footer-brand-description {
        display: none !important;
    }

    .footer-heading {
        margin-bottom: 4px !important;
        font-size: 8px !important;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 3px !important;
    }

    .footer-links a,
    .footer-links span {
        font-size: 8px !important;
    }

    .footer-bottom {
        min-height: 34px !important;
        flex-direction: column !important;
        gap: 2px !important;
        padding: 6px 0 !important;
        font-size: 7px !important;
        text-align: center !important;
    }

    /* Zalo va Messenger: tang gap doi tu 36px len 72px */
    .floating-contact {
        right: 9px !important;
        bottom: calc(14px + env(safe-area-inset-bottom)) !important;
        gap: 10px !important;
    }

    .floating-contact-item,
    .floating-contact a,
    .floating-contact-button {
        width: 72px !important;
        height: 72px !important;
        min-width: 72px !important;
        min-height: 72px !important;
    }

    .floating-contact-button {
        border-width: 3px !important;
        box-shadow: 0 8px 23px rgba(15, 23, 42, .25) !important;
    }

    .floating-contact-button svg {
        width: 38px !important;
        height: 38px !important;
    }

    .floating-contact-label {
        display: none !important;
    }

    .floating-contact-ring {
        inset: -6px !important;
    }
}

@media (max-width: 350px) {
    .storefront-header .brand-name {
        max-width: 145px !important;
        font-size: 10px !important;
    }

    .home-welcome h1 {
        font-size: 25px;
    }

    .home-choice-card {
        grid-template-columns: 31px minmax(0, 1fr) 10px;
        gap: 4px;
        padding: 6px;
    }

    .home-choice-icon {
        width: 31px;
        height: 31px;
    }

    .home-choice-content strong {
        font-size: 10px;
    }

    .home-lookup-form {
        grid-template-columns: 1fr !important;
    }

    .home-lookup-form button {
        grid-column: auto;
    }

    .phone-imei-field label {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-luxury-phone,
    .home-phone-orbit,
    .home-phone-stage::before,
    .home-phone-shine,
    .home-phone-status {
        animation: none !important;
    }
}
