/* ============================================================
   Shell Showroom Master: hero aurora, sóng, footer, layout chung
   Demo.Master — Showroom.aspx + ThemeDetail.aspx
   ============================================================ */

/* ===== Hero Aurora mềm + sóng đáy ===== */
.demo-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(145deg, #1e40af 0%, var(--brand-1) 22%, var(--brand-2) 58%, #5b21b6 100%);
    color: #fff;
    padding: 30px 0 0;
    text-align: center;
}

.demo-hero-bg {
    position: absolute;
    inset: 0;
    bottom: -20px;
    pointer-events: none;
    overflow: hidden;
}

.demo-hero-spotlight {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(760px, 92%);
    height: 78%;
    background: radial-gradient(ellipse 75% 65% at 50% 38%, rgba(255, 255, 255, .16) 0%, transparent 70%);
}

.demo-hero-aurora {
    position: absolute;
    inset: 0;
}

.demo-hero-aurora-band {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    animation: heroAuroraDrift 24s ease-in-out infinite;
}

.demo-hero-aurora-band--1 {
    width: 52%;
    height: 48%;
    min-width: 260px;
    min-height: 180px;
    background: radial-gradient(circle, rgba(96, 165, 250, .75) 0%, transparent 68%);
    top: -18%;
    left: -12%;
    animation-duration: 26s;
}

.demo-hero-aurora-band--2 {
    width: 46%;
    height: 42%;
    min-width: 220px;
    min-height: 160px;
    background: radial-gradient(circle, rgba(192, 132, 252, .7) 0%, transparent 68%);
    top: 8%;
    right: -14%;
    animation-delay: -9s;
    animation-duration: 30s;
}

.demo-hero-aurora-band--3 {
    width: 44%;
    height: 38%;
    min-width: 200px;
    min-height: 140px;
    background: radial-gradient(circle, rgba(45, 212, 191, .35) 0%, transparent 68%);
    bottom: 0;
    left: 22%;
    animation-delay: -15s;
    animation-duration: 22s;
}

@keyframes heroAuroraDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: .85;
    }

    33% {
        transform: translate(28px, -18px) scale(1.06);
        opacity: 1;
    }

    66% {
        transform: translate(-18px, 12px) scale(.94);
        opacity: .75;
    }
}

.demo-hero-bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to bottom, transparent 0%, rgba(49, 19, 110, .18) 100%);
}

.demo-hero-inner {
    position: relative;
    z-index: 1;
    padding: 0 min(6vw, 48px) 18px;
}

.demo-hero-wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    width: 100%;
    margin-bottom: -8px;
}

.demo-hero-wave-base {
    display: block;
    width: 100%;
    height: clamp(48px, 7vw, 76px);
    vertical-align: bottom;
}

    .demo-hero-wave-base path {
        fill: var(--bg);
        shape-rendering: geometricPrecision;
    }

.demo-hero-wave-anim {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(48px, 7vw, 76px);
    overflow: hidden;
    pointer-events: none;
}

    .demo-hero-wave-anim svg {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 200%;
        height: 100%;
        display: block;
        animation: heroWaveDrift 16s linear infinite;
    }

.demo-hero-wave-anim--2 svg {
    animation: heroWaveDrift 24s linear infinite reverse;
}

@keyframes heroWaveDrift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.demo-kicker {
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 11.5px;
    opacity: .85;
}

.demo-hero h1,
.demo-hero-title {
    margin: 8px 0 12px;
    font-size: clamp(22px, 3.2vw, 30px);
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
}
/*
 * Vệt sáng chữ — đúng kiểu DOMAIN trên Admin/Dashboard
 * (.diag-big-title a.diag-title-shine span — cam/vàng, dễ thấy)
 */
/* Typewriter: giữ chỗ sẵn (measure) — tránh giật layout khi gõ / hiện phần cam */
.demo-hero-title-type-wrap {
    position: relative;
    display: inline-block;
    color: #fff;
    vertical-align: baseline;
}

.demo-hero-title-type-measure {
    visibility: hidden;
    pointer-events: none;
    white-space: pre;
}

.demo-hero-title-typed-row {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    white-space: pre;
    color: #fff;
}

.demo-hero-title-type {
    color: #fff;
}

.demo-hero-title-rest {
    color: #fff;
    transition: opacity .55s ease;
}

    .demo-hero-title-rest.is-waiting {
        opacity: 0;
        pointer-events: none;
    }

.demo-hero-title.is-fading {
    opacity: .22;
    transition: opacity .55s ease;
}

.demo-hero-title-sep {
    color: #fff;
}

.demo-hero-title-caret {
    display: inline-block;
    flex: none;
    width: .09em;
    height: .85em;
    margin-left: 2px;
    background: rgba(255, 255, 255, .92);
    border-radius: 1px;
    animation: demoHeroCaretBlink 1.05s steps(1, end) infinite;
    transition: opacity .3s ease;
}

    .demo-hero-title-caret.is-done {
        opacity: 0;
        animation: none;
    }

@keyframes demoHeroCaretBlink {
    0%, 48% {
        opacity: 1;
    }

    50%, 100% {
        opacity: 0;
    }
}

.demo-hero h1 .demo-hero-title-shine,
.demo-hero-title .demo-hero-title-shine {
    display: inline;
    font-weight: inherit;
    background-image: linear-gradient( 110deg, #ffb347 0%, #ff9500 38%, #fff3c4 46%, #ffcc00 50%, #fff8dc 54%, #ff9500 62%, #ffb347 100% );
    background-size: 300% 100%;
    background-position: 120% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
    /* Shine cam giữ nhịp cũ (không chậm) — độc lập với thời gian lặp gõ chữ */
    .demo-hero h1 .demo-hero-title-shine.is-ready,
    .demo-hero-title .demo-hero-title-shine.is-ready {
        animation: demoHeroTitleShine 7s ease-in-out infinite;
    }

@keyframes demoHeroTitleShine {
    0%, 58% {
        background-position: 120% center;
    }

    78% {
        background-position: -20% center;
    }

    100% {
        background-position: -20% center;
    }
}

.demo-hero .demo-trust-row {
    justify-content: center;
    margin-top: 14px;
    opacity: .95;
    font-size: 12px;
}

.demo-shell {
    width: min(1180px, calc(100% - 32px));
    margin: -28px auto 0;
    padding: 0 0 40px;
    position: relative;
    z-index: 5;
    overflow: visible;
}

/* Thanh filter — Showroom */
.demo-filter-bar {
    --demo-filter-ctrl-h: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 20px;
    position: relative;
    z-index: 6;
    overflow: visible;
}

.demo-filter-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    flex: 1;
    min-width: 0;
}

.demo-filter-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
}

.demo-filter-hotline {
    flex: none;
    margin-left: auto;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.demo-filter-search {
    flex: none;
    min-width: 0;
    display: flex;
    align-items: center;
    height: var(--demo-filter-ctrl-h);
}

.demo-filter-search-box {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    width: min(220px, 42vw);
    height: var(--demo-filter-ctrl-h);
    min-height: var(--demo-filter-ctrl-h);
    max-height: var(--demo-filter-ctrl-h);
    margin: 0;
    padding: 0 8px 0 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, .35);
    box-shadow: 0 2px 10px rgba(15, 23, 42, .04), inset 0 1px 0 #fff;
    transition: border-color .2s, box-shadow .2s, width .2s ease;
    cursor: text;
}

    .demo-filter-search-box:focus-within {
        border-color: rgba(59, 130, 246, .45);
        box-shadow: 0 4px 16px rgba(37, 99, 235, .1), inset 0 1px 0 #fff;
        width: min(260px, 56vw);
    }

.demo-filter-search-submit {
    box-sizing: border-box;
    flex: none;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .15s, background .15s;
}

    .demo-filter-search-submit:hover {
        color: var(--brand-1, #2563eb);
        background: rgba(37, 99, 235, .08);
    }

.demo-filter-search-ico {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

    .demo-filter-search-ico svg {
        width: 16px;
        height: 16px;
        display: block;
    }

.demo-filter-search-box:focus-within .demo-filter-search-submit {
    color: var(--brand-1, #2563eb);
}

.demo-filter-search-input {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink, #0f172a);
    padding: 0;
    height: 100%;
    max-height: 100%;
}

    .demo-filter-search-input::placeholder {
        color: #94a3b8;
        font-weight: 500;
    }

    .demo-filter-search-input::-webkit-search-decoration,
    .demo-filter-search-input::-webkit-search-cancel-button {
        -webkit-appearance: none;
        appearance: none;
    }

.demo-filter-search-clear {
    flex: none;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    background: #e2e8f0;
    color: #475569;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
}

    .demo-filter-search-clear:hover {
        background: #cbd5e1;
        color: #0f172a;
    }

    .demo-filter-search-clear[hidden] {
        display: none !important;
    }

.demo-search-empty {
    margin: 8px 0 20px;
    padding: 22px 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    background: #fff;
    border: 1px dashed #c7d2e0;
    border-radius: 14px;
}

    .demo-search-empty[hidden] {
        display: none !important;
    }

.demo-filter-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 2px;
    white-space: nowrap;
}

.demo-filter-chip {
    box-sizing: border-box;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    height: var(--demo-filter-ctrl-h, 36px);
    min-height: var(--demo-filter-ctrl-h, 36px);
    padding: 0 17px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, background .2s, color .2s;
}

    .demo-filter-chip:hover {
        border-color: #b9cdfb;
        background: #eef2ff;
    }

    .demo-filter-chip.is-active {
        background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
        border-color: transparent;
        color: #fff;
    }

/* Border chạy vòng — không dùng border tĩnh */
@property --hotline-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.demo-toolbar-hotline {
    position: relative;
    z-index: 10;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    border: 0 !important;
    outline: none;
    border-radius: 0;
    padding: 4px 0 4px 4px;
    margin-top: 2px;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    transition: transform .22s ease;
    overflow: visible;
}
    /* Bỏ viền / nền pill (::before + ::after) */
    .demo-toolbar-hotline::before,
    .demo-toolbar-hotline::after {
        content: none !important;
        display: none !important;
    }

    .demo-toolbar-hotline:hover {
        transform: translateY(-2px);
    }
    /* Ép: chữ trái (1) · icon phải (2) — kể cả HTML cũ icon đứng trước */
    .demo-toolbar-hotline .demo-toolbar-hotline-text {
        order: 1;
    }

    .demo-toolbar-hotline .demo-phone-icon {
        order: 2;
        position: relative;
        z-index: 12;
        width: 42px;
        height: 42px;
        flex: none;
        background: linear-gradient(145deg, #60a5fa 0%, var(--brand-1) 50%, var(--brand-2) 100%);
        color: #fff;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
        animation: toolbarHotlinePulseSoft 2.2s ease-out infinite;
        overflow: visible;
    }

        .demo-toolbar-hotline .demo-phone-icon::before,
        .demo-toolbar-hotline .demo-phone-icon::after {
            content: '';
            position: absolute;
            left: 50%;
            top: 50%;
            width: 100%;
            height: 100%;
            margin: -50% 0 0 -50%;
            border-radius: 50%;
            border: 2px solid rgba(59, 130, 246, .55);
            box-sizing: border-box;
            pointer-events: none;
            animation: toolbarHotlineRingOut 2.2s cubic-bezier(0, 0, .2, 1) infinite;
        }

        .demo-toolbar-hotline .demo-phone-icon::after {
            animation-delay: 1.1s;
        }

        .demo-toolbar-hotline .demo-phone-icon svg {
            width: 19px;
            height: 19px;
            display: block;
            transform-origin: 50% 55%;
            animation: toolbarHotlineWiggle 3.6s ease-in-out infinite;
        }

@keyframes toolbarHotlineBorderSpin {
    to {
        --hotline-angle: 360deg;
    }
}

@keyframes toolbarHotlinePulseSoft {
    0% {
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3), 0 0 0 0 rgba(96, 165, 250, 0.45);
    }

    70% {
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3), 0 0 0 11px rgba(96, 165, 250, 0);
    }

    100% {
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3), 0 0 0 0 rgba(96, 165, 250, 0);
    }
}

@keyframes toolbarHotlineRingOut {
    0% {
        transform: scale(1);
        opacity: .72;
    }

    80% {
        opacity: .12;
    }

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

@keyframes toolbarHotlineWiggle {
    0%, 78%, 100% {
        transform: rotate(0deg);
    }

    82% {
        transform: rotate(-14deg);
    }

    86% {
        transform: rotate(12deg);
    }

    90% {
        transform: rotate(-8deg);
    }

    94% {
        transform: rotate(5deg);
    }
}

.demo-toolbar-hotline-text {
    position: relative;
    z-index: 1;
    order: 1;
    text-align: right;
    line-height: 1.12;
}

.demo-toolbar-hotline-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #64748b;
}

.demo-toolbar-hotline-number {
    display: block;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: .04em;
    background: linear-gradient( 105deg, #312e81 0%, #1d4ed8 18%, #6366f1 36%, #ff9500 48%, #7c3aed 58%, #1d4ed8 78%, #312e81 100% );
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hotlineNumberShine 2.2s ease-in-out infinite;
}

@keyframes hotlineNumberShine {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.demo-toolbar-hotline:hover .demo-toolbar-hotline-number {
    animation-duration: 1.4s;
}

/* Sticky filter + hotline — chỉ ThemeDetail, desktop */
.demo-filter-sticky-sentinel {
    height: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.demo-filter-sticky-placeholder {
    width: 100%;
}

@media (min-width: 992px) {
    form.demo-page-detail-body .demo-filter-bar.is-stuck {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 220;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        gap: 8px 12px;
        padding: 8px max(16px, calc((100vw - 1180px) / 2)); /* +5px trên/dưới so với 5px cũ */
        background: rgba(255, 255, 255, .94);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(148, 163, 184, .28);
        box-shadow: 0 6px 20px rgba(15, 23, 42, .07);
        flex-wrap: nowrap;
        align-items: center;
    }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-chips {
            flex-wrap: nowrap;
            gap: 6px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

    form.demo-page-detail-body .demo-filter-bar.is-stuck {
        --demo-filter-ctrl-h: 32px;
    }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-chip {
            padding: 0 12px;
            font-size: 12px;
        }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-left {
            gap: 8px 10px;
        }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-search-box {
            width: min(180px, 28vw);
            padding: 0 6px 0 4px;
        }

            form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-search-box:focus-within {
                width: min(210px, 34vw);
            }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-search-input {
            font-size: 12px;
        }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-search-submit {
            width: 24px;
            height: 24px;
        }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-search-ico,
        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-filter-search-ico svg {
            width: 14px;
            height: 14px;
        }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline {
            gap: 8px;
            padding: 0px 0 8px 2px;
            margin-top: 0;
            border: 0 !important;
            background: transparent;
            box-shadow: none;
        }

            form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline:hover {
                transform: none;
            }

            form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline .demo-phone-icon {
                width: 30px;
                height: 30px;
                animation: toolbarHotlinePulseSoft 2.2s ease-out infinite;
            }

                form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline .demo-phone-icon::before,
                form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline .demo-phone-icon::after {
                    animation: toolbarHotlineRingOut 2.2s cubic-bezier(0, 0, .2, 1) infinite;
                }

                form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline .demo-phone-icon::after {
                    animation-delay: 1.1s;
                }

                form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline .demo-phone-icon svg {
                    width: 14px;
                    height: 14px;
                    animation: toolbarHotlineWiggle 3.6s ease-in-out infinite;
                }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline-label {
            font-size: 9px;
            letter-spacing: .05em;
        }

        form.demo-page-detail-body .demo-filter-bar.is-stuck .demo-toolbar-hotline-number {
            font-size: 17.5px;
            animation: hotlineNumberShine 2.2s ease-in-out infinite;
            letter-spacing: .02em;
        }
}

@media (max-width: 991px) {
    form.demo-page-detail-body .demo-filter-bar.is-stuck {
        position: static;
        box-shadow: none;
        backdrop-filter: none;
        border-bottom: 0;
        padding: 0 0 20px;
    }
}

.demo-footnote {
    margin-top: 8px;
}

/* ===== Footer: sóng trên + nội dung gọn (đối xứng header) — bản gọn đầu ===== */
.demo-footer {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, #1e40af 0%, var(--brand-1) 22%, var(--brand-2) 58%, #5b21b6 100%);
    color: #fff;
    padding: 0 0 22px;
    text-align: center;
}

.demo-footer-wave {
    position: relative;
    z-index: 2;
    line-height: 0;
    width: 100%;
    margin-top: -8px;
    transform: scaleY(-1);
}

.demo-footer-wave-base {
    display: block;
    width: 100%;
    height: clamp(48px, 7vw, 76px);
    vertical-align: bottom;
}

    .demo-footer-wave-base path {
        fill: var(--bg);
        shape-rendering: geometricPrecision;
    }

.demo-footer-wave-anim {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(48px, 7vw, 76px);
    overflow: hidden;
    pointer-events: none;
}

    .demo-footer-wave-anim svg {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 200%;
        height: 100%;
        display: block;
        animation: heroWaveDrift 16s linear infinite;
    }

.demo-footer-wave-anim--2 svg {
    animation: heroWaveDrift 24s linear infinite reverse;
}

.demo-footer-body {
    position: relative;
    z-index: 1;
    padding: 4px min(6vw, 48px) 0;
    text-align: center;
}

.demo-footer-inner {
    max-width: 720px;
    margin: 0 auto;
}

.demo-footer-brand {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
}

.demo-footer-tagline {
    margin: 0 0 10px;
    font-size: 12.5px;
    opacity: .88;
    font-weight: 600;
}

.demo-footer-meta {
    font-size: 12.5px;
    line-height: 1.55;
    opacity: .92;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
}

    .demo-footer-meta a {
        color: #fff;
        text-decoration: none;
        font-weight: 600;
    }

        .demo-footer-meta a:hover {
            text-decoration: underline;
        }

.demo-footer-sep {
    opacity: .45;
    user-select: none;
}

.demo-footer-copy {
    margin: 8px 0 0;
    font-size: 11px;
    opacity: .65;
}

@media (max-width: 720px) {
    .demo-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-bottom: 16px;
    }

    .demo-filter-left {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .demo-filter-chips {
        width: 100%;
    }

    .demo-filter-search {
        width: 100%;
        flex: none;
    }

    .demo-filter-search-box,
    .demo-filter-search-box:focus-within {
        width: 100%;
    }

    .demo-filter-hotline {
        margin-left: 0;
        text-align: center;
        flex: none;
        width: 100%;
    }

    .demo-toolbar-hotline {
        width: 100%;
        justify-content: center;
    }

    .demo-shell {
        margin-top: -20px;
    }
}

@media (max-width: 560px) {
    .demo-hero {
        padding-top: 24px;
    }

    .demo-hero-aurora-band {
        filter: blur(56px);
    }

    .demo-hero-aurora-band--1 {
        width: 70%;
        min-width: 0;
    }

    .demo-hero-aurora-band--2 {
        width: 60%;
        min-width: 0;
        right: -20%;
    }

    .demo-shell {
        margin-top: -16px;
    }

    .demo-footer-sep {
        display: none;
    }

    .demo-footer-meta {
        flex-direction: column;
        gap: 4px;
    }
}
/* ===== Đối tác & khách hàng tiêu biểu (Showroom) ===== */
.demo-partners {
    margin: 40px 0 8px;
    padding: 8px 0 4px;
}

.demo-partners-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 22px;
    padding: 0 min(4vw, 20px);
}

.demo-partners-kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-1, #2563eb);
}

.demo-partners-title {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    letter-spacing: -0.02em;
    transition: opacity .55s ease;
}

    .demo-partners-title.is-fading {
        opacity: .28;
    }

.demo-partners-type-wrap {
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    color: #0f172a;
}

.demo-partners-type-measure {
    visibility: hidden;
    pointer-events: none;
    white-space: pre;
}

.demo-partners-typed-row {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    white-space: pre;
    color: #0f172a;
}

.demo-partners-type {
    color: #0f172a;
}

.demo-partners-rest {
    transition: opacity .55s ease;
}

    .demo-partners-rest.is-waiting {
        opacity: 0;
        pointer-events: none;
    }

.demo-partners-caret {
    display: inline-block;
    flex: none;
    width: .09em;
    height: .85em;
    margin-left: 2px;
    background: var(--brand-2, #7c3aed);
    border-radius: 1px;
    animation: demoHeroCaretBlink 1.05s steps(1, end) infinite;
    transition: opacity .3s ease;
}

    .demo-partners-caret.is-done {
        opacity: 0;
        animation: none;
    }

.demo-partners-accent {
    color: var(--brand-2, #7c3aed);
    background-image: linear-gradient( 110deg, #7c3aed 0%, #6d28d9 36%, #ddd6fe 46%, #a78bfa 50%, #ede9fe 54%, #6d28d9 64%, #7c3aed 100% );
    background-size: 300% 100%;
    background-position: 120% center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

    .demo-partners-accent.is-ready {
        animation: demoPartnersAccentShine 7s ease-in-out infinite;
    }

@keyframes demoPartnersAccentShine {
    0%, 58% {
        background-position: 120% center;
    }

    78% {
        background-position: -20% center;
    }

    100% {
        background-position: -20% center;
    }
}

.demo-partners-desc {
    margin: 0 auto;
    max-width: 540px;
    font-size: 14.5px;
    line-height: 1.65;
    color: #64748b;
}

.demo-partners-marquee {
    position: relative;
    overflow: hidden;
    padding: 6px 0 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.demo-partners-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    will-change: transform;
    animation: demoPartnersScroll 36s linear infinite;
}

.demo-partners-marquee:hover .demo-partners-track {
    animation-play-state: paused;
}

.demo-partners-marquee.is-static .demo-partners-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 min(4vw, 20px);
}

@keyframes demoPartnersScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.demo-partner-card {
    flex: 0 0 auto;
    width: 148px;
    height: 72px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

    .demo-partner-card:hover {
        border-color: rgba(37, 99, 235, .35);
        box-shadow: 0 8px 20px rgba(37, 99, 235, .1);
        transform: translateY(-2px);
    }

.demo-partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    text-decoration: none;
    box-sizing: border-box;
}

.demo-partner-link--static {
    cursor: default;
}

.demo-partner-logo {
    display: block;
    max-width: 100%;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .78;
    transition: filter .25s, opacity .25s;
}

.demo-partner-card:hover .demo-partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 640px) {
    .demo-partners {
        margin-top: 28px;
    }

    .demo-partner-card {
        width: 128px;
        height: 64px;
    }

    .demo-partner-logo {
        max-height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-hero-aurora-band,
    .demo-toolbar-hotline::before,
    .demo-toolbar-hotline .demo-phone-icon,
    .demo-toolbar-hotline .demo-phone-icon::before,
    .demo-toolbar-hotline .demo-phone-icon::after,
    .demo-toolbar-hotline .demo-phone-icon svg,
    .demo-toolbar-hotline-number,
    .demo-hero-wave-anim svg,
    .demo-footer-wave-anim svg,
    .demo-partners-track {
        animation: none !important;
    }

    .demo-partners-caret {
        display: none !important;
    }

    .demo-partners-typed-row {
        position: static !important;
    }

    .demo-partners-type-measure {
        display: none !important;
    }

    .demo-partners-rest.is-waiting {
        opacity: 1 !important;
    }

    .demo-partners-title.is-fading {
        opacity: 1 !important;
    }

    .demo-partners-accent {
        animation: none !important;
        background: none !important;
        -webkit-text-fill-color: var(--brand-2, #7c3aed) !important;
        color: var(--brand-2, #7c3aed) !important;
    }

    .demo-hero-title-caret {
        display: none !important;
    }

    .demo-hero-title-typed-row {
        position: static !important;
    }

    .demo-hero-title-type-measure {
        display: none !important;
    }

    .demo-hero-title-rest.is-waiting {
        opacity: 1 !important;
    }

    .demo-hero-title.is-fading {
        opacity: 1 !important;
    }

    .demo-hero h1 .demo-hero-title-shine,
    .demo-hero-title .demo-hero-title-shine {
        animation: none !important;
        background: none !important;
        -webkit-text-fill-color: #ff9500 !important;
        color: #ff9500 !important;
    }

    .demo-toolbar-hotline-number {
        color: #3730a3;
        -webkit-text-fill-color: #3730a3;
        background: none;
    }
}
