/* Themes demo pack — gộp file, cùng thứ tự rule. Nguồn gốc giữ nguyên để rollback. */

/* ==== demo-shared.css ==== */
/* ============================================================
   CSS dùng chung cho khu vực Showroom (/demo): Showroom.aspx +
   ThemeDetail.aspx. Chỉ chứa các class lặp lại ở cả 2 trang
   (card, chip, nút, feature-grid...) để tránh trùng code.
   ============================================================ */
:root {
    --brand-1: #2563eb;
    --brand-2: #7c3aed;
    --accent: #0f766e;
    --ink: #172033;
    --muted: #5f6b7c;
    --border: #e3e9f2;
    --bg: white;
}
* { box-sizing: border-box; }
html {
    background: var(--bg);
}
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
}

/* ===================== Lưới thẻ mẫu ===================== */
/* Đúng 4 cột cố định, mỗi cột 1fr (chia đều hết chiều rộng hàng).
   - Đủ 4 mẫu trở lên: 4 card lấp đầy hàng, không còn khoảng trống.
   - Hàng cuối thiếu mẫu: card vẫn nằm đúng trong 1 cột (1fr),
     KHÔNG bị giãn to lấp hết hàng. */
.demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) {
    .demo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .demo-grid { grid-template-columns: minmax(0, 1fr); }
}

.demo-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--border); border-radius: 18px;
    box-shadow: 0 10px 28px rgba(24, 40, 72, .08);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    overflow: hidden;
}
.demo-card:hover {
    transform: translateY(-4px);
    border-color: #b9cdfb;
    box-shadow: 0 18px 38px rgba(24, 40, 72, .16);
}
.demo-card.is-hidden { display: none; }

/* Ảnh mẫu — viewport 3:4 trừ 50px, hover cuộn xem full giao diện dài */
.demo-card-media {
    position: relative; width: 100%;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    overflow: hidden;
}
.demo-card-media:not(.detail-hero-media) {
    aspect-ratio: unset;
    height: 0;
    padding-bottom: calc(133.333333% - 50px);
}
/* Click avatar → trang mô tả chi tiết (/themes/style/{GROUP}/{VERSION}) */
.demo-card-media:not(.detail-hero-media) .demo-card-avatar-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.demo-card-media:not(.detail-hero-media) .demo-thumb {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; display: block;
    object-fit: cover; object-position: top center;
    transform: translateY(0);
    will-change: transform;
}
.demo-card-media--can-scroll:not(.detail-hero-media) .demo-thumb {
    object-fit: unset;
    min-height: 100%;
}
.demo-card-media--looping .demo-thumb {
    transition: none !important;
}
.demo-card-media:not(.detail-hero-media)::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    height: 52px;
    background: linear-gradient(to top, rgba(15, 23, 42, .16), transparent);
    pointer-events: none;
    transition: opacity .35s;
}
.demo-card-media--no-scroll::after { display: none; }

/* Vệt sáng lần lượt — mềm/chậm kiểu Maxweb .btn-hover (pxl_btn_shine) */
.demo-card-media:not(.detail-hero-media)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background-image: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transform: skewX(-20deg);
    opacity: 0;
    will-change: left, opacity;
}
.demo-card-media:not(.detail-hero-media).is-shine::before {
    opacity: 1;
    animation: demoCardShineSweep 1.6s ease 0.08s 1 forwards;
}
@keyframes demoCardShineSweep {
    0% { left: -200%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}
/* Preview video/poster — phủ kín khung card (khác ảnh dài cuộn hover) */
.demo-card-media--video-preview:not(.detail-hero-media) .demo-thumb-video-poster {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%);
    will-change: auto;
}
.demo-card-media--video-preview:not(.detail-hero-media) .demo-thumb-video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
    will-change: auto;
}
.demo-card-media--video-preview:not(.detail-hero-media) {
    background: #0f172a;
}
.detail-hero-media.demo-card-media--video-preview .demo-thumb-video-poster {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: translate(-50%, -50%);
}
.detail-hero-media.demo-card-media--video-preview .demo-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none !important;
}
.demo-card:hover .demo-card-media:not(.detail-hero-media)::after,
.demo-card:focus-within .demo-card-media:not(.detail-hero-media)::after {
    opacity: 0;
}
/* Trang chi tiết — ảnh hero trong browser frame (cuộn hover như Showroom) */
.detail-hero-media:not(.detail-browser-viewport) {
    aspect-ratio: 9 / 16;
    max-width: 320px; margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(24, 40, 72, .14);
}
.detail-hero-media:not(.detail-browser-viewport) .demo-thumb {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    transform: none !important;
    transition: none !important;
}
.demo-thumb { display: block; }
.demo-icon-fallback {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 40px; font-weight: 800; color: #c7d2fe;
}
.demo-version-chip {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--brand-1);
    background: rgba(255,255,255,.95); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    pointer-events: none;
}
.demo-group-chip {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #fff;
    background: rgba(23, 32, 51, .65); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
    pointer-events: none;
}
.demo-video-badge {
    position: absolute; right: 10px; bottom: 10px; z-index: 4;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(15, 23, 42, .72); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; text-decoration: none; cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,.22); transition: .15s;
}
.demo-video-badge:hover { background: var(--brand-1); transform: scale(1.06); }

/* Tiêu đề mẫu — overlay đáy ảnh (gradient đen + chữ trắng, kiểu SHOP)
   chừa cột phải cho icon video (~40px) để thẳng hàng 1 dòng với tên */
.demo-card-title-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 36px 44px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .42) 55%, transparent 100%);
    pointer-events: none;
}
.demo-card-title-overlay .demo-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.demo-card-body {
    display: flex; flex-direction: column;
    padding: 12px 14px 14px; flex: 1;
    min-height: 0;
    justify-content: flex-end;
}
.demo-card-row {
    --demo-card-ctrl-h: 25px;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-width: 0;
    margin-top: auto;
}
.demo-theme-code {
    box-sizing: border-box;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--demo-card-ctrl-h) !important;
    min-height: var(--demo-card-ctrl-h) !important;
    max-height: var(--demo-card-ctrl-h) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-1);
    background: #eef2ff;
    border: 0 !important;
    box-shadow: inset 0 0 0 1px #c7d2fe; /* viền không làm nhỏ chiều cao */
    border-radius: 999px;
    padding: 0 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
}
.demo-title {
    margin: 0; font-size: 15px; font-weight: 800; line-height: 1.35;
    color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.demo-card-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
}
.demo-price-row { flex: 1; min-width: 0; line-height: 1.2; }
.demo-price-text {
    font-size: 18px; font-weight: 800; color: #b45309; letter-spacing: -.01em;
}
.demo-price-text--muted { font-size: 14px; font-weight: 700; color: var(--muted); }

/* Pill hotline trên card — gọn, bo tròn icon + số */
.demo-price-hotline {
    display: inline-flex; align-items: center; gap: 6px;
    max-width: 100%;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff; font-weight: 700; font-size: 12.5px;
    padding: 4px 11px 4px 4px; border-radius: 999px;
    text-decoration: none; transition: opacity .15s, transform .15s;
}
.demo-price-hotline:hover { opacity: .94; transform: translateY(-1px); }
.demo-price-hotline-num { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.demo-price-hotline .demo-phone-icon {
    width: 28px; height: 28px;
    background: rgba(255, 255, 255, .22);
    animation: none;
}
.demo-price-hotline .demo-phone-icon svg { width: 13px; height: 13px; }

/* Nút card — cùng chiều cao tuyệt đối với mã mẫu (28px, cùng box-model border) */
.demo-card-actions {
    display: flex; flex-shrink: 0; align-items: center; gap: 6px;
    height: var(--demo-card-ctrl-h);
}
.demo-btn {
    box-sizing: border-box;
    font-family: inherit; cursor: pointer;
    border: 0;
    text-decoration: none; transition: filter .15s, background .15s, box-shadow .15s;
}
.demo-card-row .demo-btn-demo {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    height: var(--demo-card-ctrl-h) !important;
    min-height: var(--demo-card-ctrl-h) !important;
    max-height: var(--demo-card-ctrl-h) !important;
    padding: 0 10px 0 8px !important;
    border: 0 !important;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff; font-size: 10px; font-weight: 700; white-space: nowrap;
    line-height: 1;
    overflow: hidden;
    letter-spacing: -.01em;
}
.demo-card-row .demo-btn-demo:hover { filter: brightness(1.06); }
.demo-btn-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; flex: none;
}
.demo-btn-ico svg { width: 13px; height: 13px; display: block; }
.demo-card-row .demo-btn-square {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box;
    width: var(--demo-card-ctrl-h) !important;
    height: var(--demo-card-ctrl-h) !important;
    min-width: var(--demo-card-ctrl-h) !important;
    min-height: var(--demo-card-ctrl-h) !important;
    max-width: var(--demo-card-ctrl-h) !important;
    max-height: var(--demo-card-ctrl-h) !important;
    flex: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--brand-1);
    border: 0 !important;
    box-shadow: inset 0 0 0 1px #e2e8f0;
    padding: 0 !important;
    line-height: 1;
    overflow: hidden;
}
.demo-btn-square svg { width: 14px; height: 14px; display: block; }
.demo-card-row .demo-btn-square:hover {
    background: #eef2ff;
    box-shadow: inset 0 0 0 1px #c7d2fe;
}

/* Nút dùng chung trang chi tiết */
.demo-btn-outline {
    flex: 1; text-align: center; border-radius: 10px; padding: 10px 14px;
    font-size: 13.5px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.demo-btn-outline { background: #fff; color: var(--brand-1); border: 1.5px solid #dbe4fd; }
.demo-btn-outline:hover { background: #eef2ff; }
.demo-btn-solid {
    flex: 1; text-align: center; border-radius: 10px; padding: 10px 14px;
    font-size: 13.5px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.demo-btn-solid { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: #fff; }
.demo-btn-solid:hover { filter: brightness(1.06); }

.demo-price-hotline-icon,
.demo-phone-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; flex: none;
    background: rgba(255, 255, 255, .28); color: #fff; border-radius: 50%;
}
.demo-price-hotline-icon svg,
.demo-phone-icon svg { width: 14px; height: 14px; display: block; }
@keyframes priceHotlinePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
    70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.demo-empty {
    padding: 32px; background: #fff; border: 1px dashed #b9c5d6; border-radius: 16px;
    color: var(--muted); text-align: center;
}
.demo-footnote { margin-top: 28px; text-align: center; font-size: 12.5px; color: #94a1b5; }

/* ===================== Trust row (Demo chạy thật, Responsive...) ===================== */
.demo-trust-row {
    display: flex; flex-wrap: wrap; gap: 20px;
    font-size: 13px; font-weight: 600;
}
.demo-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.demo-trust-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }

/* ===================== Nút nổi "Tư vấn ngay" ===================== */
.demo-float-consult {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: #fff;
    border-radius: 999px; padding: 14px 22px; font-size: 14px; font-weight: 800;
    text-decoration: none; box-shadow: 0 12px 28px rgba(37, 99, 235, .35);
    animation: demoPulse 2.4s infinite;
}
@keyframes demoPulse {
    0%, 100% { box-shadow: 0 12px 28px rgba(37, 99, 235, .35); }
    50% { box-shadow: 0 12px 28px rgba(37, 99, 235, .6); }
}

/* ===================== Lưới "Tính năng nổi bật" (từ ContentBlocks) ===================== */
.demo-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.demo-feature-card {
    border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center;
    background: #f8fafc;
}
.demo-feature-icon { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; margin: 0 auto 8px; display: block; }
.demo-feature-icon-fallback {
    width: 44px; height: 44px; border-radius: 50%; background: #dcfce7; color: #16a34a;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: 18px; font-weight: 800;
}
.demo-feature-title { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.demo-feature-desc { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* ===================== Lưới thư viện ảnh (Gallery, mở lightbox Fancybox) ===================== */
.demo-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.demo-gallery-grid a { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.demo-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
    .demo-card-media:not(.detail-hero-media) .demo-thumb {
        transition: none !important;
        transform: none !important;
    }
    .demo-card-media:not(.detail-hero-media)::before,
    .demo-card-media:not(.detail-hero-media).is-shine::before {
        display: none !important;
        animation: none !important;
    }
}

@media (max-width: 560px) {
    .demo-card-row { gap: 6px; }
    .demo-card-title-overlay { padding: 28px 40px 10px 10px; }
    .demo-card-title-overlay .demo-title { font-size: 13px; }
    .demo-video-badge { width: 28px; height: 28px; bottom: 9px; right: 9px; font-size: 10px; }
    .demo-card-row { --demo-card-ctrl-h: 25px; }
    .demo-btn-demo { padding: 0 10px 0 8px; font-size: 10.5px; }
    .demo-float-consult { right: 14px; bottom: 14px; padding: 12px 18px; font-size: 13px; }
}


/* ==== demo-showroom-shell.css ==== */
/* ============================================================
   Shell Showroom Master: hero aurora, sóng, footer, layout chung
   Themes.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;
    }
}

