
/* =====================================================
   VẠN LỢI - PRODUCT ARCHIVE V1.6 COMPLETE
   PREMIUM AJAX SMART CATALOG

   01. Cấu hình thiết kế
   02. Ẩn giao diện Flatsome trùng lặp
   03. Banner danh mục
   04. Bố cục chính
   05. Sidebar Carbon
   06. Tiêu đề và đặt lại
   07. Tìm kiếm
   08. Danh mục sản phẩm
   09. Thương hiệu
   10. Hỗ trợ khách hàng
   11. Thanh kết quả
   12. Product Card
   13. Giá và nút chi tiết
   14. Zalo
   15. Phân trang
   16. Không có sản phẩm
   17. AJAX Loading
   18. Motorsport Motion
   19. Responsive
   20. Accessibility
===================================================== */


/* =====================================================
   01. CẤU HÌNH THIẾT KẾ

   Có thể thay đổi màu sắc, chiều rộng,
   kích thước sidebar tại khu vực này.
===================================================== */

.vl-pa {

    --pa-red: #C8102E;
    --pa-red-light: #FF5371;

    --pa-dark: #141414;
    --pa-carbon: #191B21;

    --pa-white: #FFFFFF;
    --pa-surface: #F5F6F8;
    --pa-border: #DFE4EB;

    --pa-text: #181B21;
    --pa-muted: #667080;
    --pa-zalo: #0068FF;

    /* Chiều rộng website */
    --pa-width: 1320px;

    /* Chiều rộng sidebar desktop */
    --pa-sidebar-width: 290px;

    /* Khoảng cách giữa các sản phẩm */
    --pa-grid-gap: 18px;

    /* Số cột sản phẩm trên desktop */
    --pa-columns: 3;

    /* JS sẽ tự cập nhật theo Header */
    --vl-archive-sticky-top: 210px;

    --pa-title: Montserrat, Arial, sans-serif;
    --pa-body: "Noto Sans", Arial, sans-serif;

    width: 100%;

    background: var(--pa-surface);

    color: var(--pa-text);

    font-family: var(--pa-body);
    font-size: 15px;
    line-height: 1.65;
}

.vl-pa,
.vl-pa *,
.vl-pa *::before,
.vl-pa *::after {
    box-sizing: border-box;
}

.vl-pa h1,
.vl-pa h2,
.vl-pa h3 {
    font-family: var(--pa-title);
    text-transform: none;
    letter-spacing: -.025em;
}

.vl-pa a {
    text-decoration: none;
}

.vl-pa button {
    margin: 0;
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.vl-pa :focus-visible {
    outline: 2px solid var(--pa-red-light);
    outline-offset: 3px;
}

.vl-pa .screen-reader-text,
.vl-pa-status {

    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0,0,0,0);

    white-space: nowrap;

    border: 0;
}


/* =====================================================
   02. ẨN GIAO DIỆN FLATSOME TRÙNG LẶP
===================================================== */

.shop-page-title,
.category-page-title {
    display: none !important;
}


/* =====================================================
   03. BANNER DANH MỤC
===================================================== */

.vl-pa-hero {

    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 85% 45%,
            rgba(200,16,46,.23),
            transparent 55%
        ),
        linear-gradient(
            125deg,
            #111317,
            #252831
        );

    color: #FFFFFF;
}

/* Lưới kỹ thuật */

.vl-pa-hero::before {

    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.022) 1px,
            transparent 1px
        );

    background-size: 48px 48px;
}

/* Vệt sáng Motorsport */

.vl-pa-hero::after {

    content: "";

    position: absolute;

    right: -40px;
    bottom: -100px;

    width: 320px;
    height: 450px;

    z-index: -1;

    background:
        repeating-linear-gradient(
            125deg,
            transparent 0 18px,
            rgba(255,255,255,.018)
            18px 21px
        );

    transform: rotate(-8deg);

    pointer-events: none;
}

.vl-pa-hero-inner {

    position: relative;

    max-width: calc(var(--pa-width) + 40px);

    margin: 0 auto;

    padding: 30px 20px 48px;
}

.vl-pa-breadcrumb {

    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 10px;

    margin-bottom: 32px;

    color: #D1D5DD;
    font-size: 13px;
}

.vl-pa-breadcrumb a {
    color: #DDE1E8;
}

.vl-pa-breadcrumb a:hover {
    color: #FF7189;
}

.vl-pa-hero-content {
    max-width: 76%;
}

.vl-pa-kicker {

    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    color: #FF6983;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.vl-pa-kicker::before {

    content: "";

    width: 30px;
    height: 2px;

    background: var(--pa-red);
}

.vl-pa-hero h1 {

    margin: 0 0 16px;

    color: #FFFFFF !important;

    font-size: clamp(32px,4vw,54px);
    font-weight: 800;

    line-height: 1.2;
}

.vl-pa-hero p {

    max-width: 790px;

    margin: 0;

    color: #D8DCE4;

    font-size: 15px;
    line-height: 1.9;
}

.vl-pa-hero-stats {

    position: absolute;

    right: 20px;
    bottom: 48px;

    padding-left: 30px;

    border-left: 1px solid
        rgba(255,255,255,.17);

    text-align: right;
}

.vl-pa-hero-stats strong {

    display: block;

    color: #FFFFFF;

    font-family: var(--pa-title);
    font-size: 54px;
    font-weight: 800;

    line-height: 1.1;
}

.vl-pa-hero-stats span {
    color: #CFD4DD;
    font-size: 13px;
}


/* =====================================================
   04. BỐ CỤC CHÍNH
===================================================== */

.vl-pa-container {

    max-width: calc(var(--pa-width) + 40px);

    width: 100%;

    padding: 34px 20px 65px;

    margin: 0 auto;

    scroll-margin-top:
        var(--vl-archive-sticky-top);
}

.vl-pa-layout {

    display: grid;

    grid-template-columns:
        var(--pa-sidebar-width)
        minmax(0,1fr);

    align-items: start;

    gap: 24px;
}

.vl-pa-results {

    position: relative;

    min-width: 0;

    scroll-margin-top:
        var(--vl-archive-sticky-top);

    overflow-anchor: none;
}


/* =====================================================
   05. SIDEBAR CARBON

   Tiêu đề và tìm kiếm luôn cố định.
   Chỉ cuộn danh mục và thương hiệu.
===================================================== */

.vl-pa .vl-pa-sidebar {

    position: sticky;

    top: var(--vl-archive-sticky-top);

    align-self: start;

    display: flex;
    flex-direction: column;

    min-width: 0;

    max-height: calc(
        100vh -
        var(--vl-archive-sticky-top) -
        16px
    );

    max-height: calc(
        100dvh -
        var(--vl-archive-sticky-top) -
        16px
    );

    padding: 0;

    overflow: hidden;

    background:
        linear-gradient(
            155deg,
            #22252D,
            #14161B 60%
        );

    border: 1px solid #343841;
    border-radius: 15px;

    color: #FFFFFF;

    box-shadow:
        0 10px 30px rgba(0,0,0,.09);
}

/* Phần cố định phía trên */

.vl-pa-sidebar-fixed {

    position: relative;
    flex-shrink: 0;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            #22252D,
            #1A1C22
        );

    border-bottom: 1px solid
        rgba(255,255,255,.10);

    z-index: 2;
}

/* Phần cuộn danh mục */

.vl-pa-sidebar-scroll {

    flex: 1 1 auto;

    min-height: 0;

    padding: 0 20px 20px;

    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: #454A55 transparent;

    overscroll-behavior-y: contain;
}

.vl-pa-sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.vl-pa-sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.vl-pa-sidebar-scroll::-webkit-scrollbar-thumb {
    background: #454A55;
    border-radius: 20px;
}

.vl-pa-sidebar-scroll::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}


/* =====================================================
   06. TIÊU ĐỀ VÀ NÚT ĐẶT LẠI
===================================================== */

.vl-pa-sidebar-heading {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    margin-bottom: 22px;
}

.vl-pa .vl-pa-sidebar-heading h2 {

    min-width: 0;

    margin: 0;

    color: #FFFFFF !important;

    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.vl-pa .vl-pa-reset {

    display: inline-flex;

    flex-shrink: 0;

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

    gap: 6px;

    min-height: 35px;

    padding: 6px 9px;

    background: #FFFFFF09;

    border: 1px solid #FFFFFF25;
    border-radius: 6px;

    color: #FFFFFF !important;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background .25s ease,
        border-color .25s ease;
}

.vl-pa-reset span {

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

    transition: transform .4s ease;
}

.vl-pa .vl-pa-reset:hover {
    background: var(--pa-red);
    border-color: var(--pa-red);
}

.vl-pa-reset:hover span {
    transform: rotate(-180deg);
}


/* =====================================================
   07. TÌM KIẾM SẢN PHẨM
===================================================== */

.vl-pa .vl-pa-filter-form {
    margin: 0;
}

.vl-pa .vl-pa-filter-form label {

    display: block;

    margin-bottom: 10px;

    color: #FFFFFF !important;

    font-size: 15px;
    font-weight: 700;
}

.vl-pa .vl-pa-filter-form input[type="search"] {

    width: 100%;
    height: 46px;

    margin: 0 0 10px;
    padding: 10px 12px;

    background: #292D36;

    border: 1px solid #414650;
    border-radius: 7px;

    color: #FFFFFF !important;

    font-family: var(--pa-body);
    font-size: 14px;

    box-shadow: none;

    transition:
        background .25s ease,
        border-color .25s ease;
}

.vl-pa-filter-form input::placeholder {
    color: #B2B8C3;
}

.vl-pa .vl-pa-filter-form input:focus {

    background: #30343E;

    border-color: var(--pa-red);

    box-shadow: 0 0 0 3px #C8102E18;

    outline: none;
}

.vl-pa .vl-pa-search-btn {

    display: block;

    width: 100%;
    min-height: 46px;

    padding: 10px 8px;

    background:
        linear-gradient(
            120deg,
            #DF1539,
            #B80D2A
        );

    border: 1px solid #E32748;
    border-radius: 7px;

    color: #FFFFFF !important;

    font-size: 14px;
    font-weight: 700;

    transition:
        filter .25s ease,
        box-shadow .25s ease;
}

.vl-pa-search-btn:hover {

    filter: brightness(1.12);

    box-shadow:
        0 5px 20px #C8102E35;
}


/* =====================================================
   08. DANH MỤC SẢN PHẨM
===================================================== */

.vl-pa-filter-section {

    padding: 22px 0;

    border-bottom: 1px solid #FFFFFF14;
}

.vl-pa .vl-pa-filter-section h3 {

    margin: 0 0 14px;

    color: #FFFFFF !important;

    font-size: 16px;
    font-weight: 750;
}

.vl-pa-category-list {

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.vl-pa .vl-pa-category-list a {

    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    min-height: 44px;

    padding: 10px 12px;

    border: 1px solid transparent;
    border-radius: 7px;

    color: #D5DAE3;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;

    transition:
        color .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.vl-pa-category-list a:hover {

    color: #FFFFFF;

    background: #FFFFFF08;

    border-color: #FFFFFF15;
}

.vl-pa .vl-pa-category-list a.is-active {

    background:
        linear-gradient(
            90deg,
            #C8102E28,
            #C8102E0A
        );

    border-color: #C8102E70;

    color: #FFFFFF !important;

    font-weight: 700;
}

.vl-pa-category-list a.is-active::before {

    content: "";

    position: absolute;

    top: 9px;
    bottom: 9px;
    left: 0;

    width: 3px;

    background: #FF3457;

    border-radius: 3px;

    box-shadow: 0 0 8px #C8102E60;
}


/* =====================================================
   09. THƯƠNG HIỆU
===================================================== */

.vl-pa-brand-grid {

    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 8px;
}

.vl-pa .vl-pa-brand-filter {

    display: flex;
    flex-direction: column;

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

    gap: 6px;

    min-width: 0;
    min-height: 87px;

    padding: 10px 7px;

    background: #FFFFFF;

    border: 2px solid transparent;
    border-radius: 9px;

    color: #141414;

    text-align: center;

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease;
}

.vl-pa-brand-filter-image {

    display: flex;

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

    width: 100%;
    min-height: 34px;
}

.vl-pa-brand-filter-image img {

    display: block;

    width: 100%;
    height: 34px;

    object-fit: contain;
}

.vl-pa-brand-filter-image strong {

    color: #141414;

    font-size: 14px;
    font-weight: 800;

    overflow-wrap: anywhere;
}

.vl-pa-brand-filter > span {

    font-size: 12px;
    font-weight: 650;

    overflow-wrap: anywhere;
}

.vl-pa .vl-pa-brand-filter:hover {

    border-color: var(--pa-red);

    transform: translateY(-2px);
}

.vl-pa .vl-pa-brand-filter.is-active {

    background: #FFF1F4;

    border-color: var(--pa-red);

    color: var(--pa-red);
}


/* =====================================================
   10. HỖ TRỢ KHÁCH HÀNG
===================================================== */

.vl-pa-support {
    padding-top: 22px;
}

.vl-pa .vl-pa-support h3 {

    margin: 0 0 9px;

    color: #FFFFFF !important;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.5;
}

.vl-pa-support p {

    margin: 0 0 15px;

    color: #CDD2DC;

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


/* =====================================================
   11. THANH KẾT QUẢ
===================================================== */

.vl-pa-toolbar {

    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 14px;

    min-height: 64px;

    padding: 12px 18px;

    margin-bottom: 18px;

    background: #FFFFFF;

    border: 1px solid var(--pa-border);
    border-radius: 10px;
}

.vl-pa-result-count {

    color: var(--pa-muted);

    font-size: 15px;
}

.vl-pa-result-count strong {

    margin-right: 5px;

    color: var(--pa-text);

    font-family: var(--pa-title);
    font-size: 22px;
    font-weight: 800;
}

.vl-pa .woocommerce-ordering {
    float: none;
    margin: 0;
}

.vl-pa .woocommerce-ordering select {

    width: auto;
    min-width: 190px;
    height: 44px;

    margin: 0;

    background-color: #FFFFFF;

    border: 1px solid var(--pa-border);
    border-radius: 7px;

    color: var(--pa-text);

    font-size: 14px;

    box-shadow: none;
}

/* Bộ lọc đang được áp dụng */

.vl-pa-active-filter {

    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin: 0 0 18px;
    padding: 13px 15px;

    background: #FFFFFF;

    border: 1px solid var(--pa-border);
    border-radius: 9px;

    color: var(--pa-muted);

    font-size: 14px;
}

.vl-pa-active-filter strong {

    padding: 5px 10px;

    background: #FFF0F3;

    border-radius: 5px;

    color: var(--pa-red);

    font-size: 13px;
    font-weight: 700;
}

.vl-pa .vl-pa-clear-filter {

    margin-left: auto;

    color: var(--pa-red);

    font-size: 13px;
    font-weight: 700;
}

.vl-pa-mobile-filter {
    display: none;
}


/* =====================================================
   12. PRODUCT CARD PREMIUM
===================================================== */

.vl-pa-grid {

    display: grid;

    grid-template-columns:
        repeat(var(--pa-columns),minmax(0,1fr));

    align-items: stretch;

    gap: var(--pa-grid-gap);
}

.vl-pa-card {

    --pa-move-x: 0px;
    --pa-move-y: 0px;

    position: relative;

    display: flex;
    flex-direction: column;

    gap: 10px;

    min-width: 0;

    padding: 19px;

    background: #FFFFFF;

    border: 1px solid var(--pa-border);
    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(15,20,30,.035);

    transition:
        border-color .3s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

/* Vạch đỏ nhận diện trên card */

.vl-pa-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 19px;

    width: 38px;
    height: 3px;

    background: var(--pa-red);

    transition: width .4s ease;
}

/* Logo thương hiệu */

.vl-pa-brand {

    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    min-height: 48px;
}

.vl-pa .vl-pa-brand-logo {

    display: block;

    width: 155px;
    max-width: 100%;
    height: 44px;

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

.vl-pa-brand strong {

    color: #141414;

    font-size: 17px;
    font-weight: 800;
}

/* Hình ảnh sản phẩm */

.vl-pa-picture {

    position: relative;

    display: flex;

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

    aspect-ratio: 1;

    padding: 8px;

    background: #FFFFFF;

    border-radius: 9px;

    overflow: hidden;
}

.vl-pa-picture img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transform:
        translate3d(
            var(--pa-move-x),
            var(--pa-move-y),
            0
        );

    transition:
        transform .35s ease,
        filter .35s ease;
}

/* Thông tin sản phẩm */

.vl-pa-information {

    display: flex;
    flex-direction: column;

    gap: 8px;
}

/* Kích thước vỏ */

.vl-pa-size {

    color: #141414;

    font-family: var(--pa-title);
    font-size: clamp(23px,2.1vw,30px);
    font-weight: 800;

    letter-spacing: -.045em;
    line-height: 1.3;

    overflow-wrap: anywhere;
}

/* Tên sản phẩm */

.vl-pa .vl-pa-product-name {

    display: block;

    min-height: 48px;

    color: #252B34;

    font-size: 16px;
    font-weight: 650;
    line-height: 1.65;

    overflow-wrap: anywhere;
}

.vl-pa .vl-pa-product-name:hover {
    color: var(--pa-red);
}

/* Danh mục sản phẩm */

.vl-pa-category-tags {

    display: flex;
    flex-wrap: wrap;

    gap: 5px;
}

.vl-pa-category-tags a {

    display: inline-block;

    padding: 5px 9px;

    background: #EEF1F4;

    border-radius: 5px;

    color: #596270;

    font-size: 12px;
    font-weight: 600;
}


/* =====================================================
   13. GIÁ VÀ NÚT XEM CHI TIẾT
===================================================== */

.vl-pa-price {

    display: flex;

    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: auto;

    padding-top: 13px;

    border-top: 1px solid var(--pa-border);
}

.vl-pa-price > span {

    color: var(--pa-muted);

    font-size: 13px;
}

.vl-pa-price strong,
.vl-pa-price .amount {

    color: var(--pa-red);

    font-size: 16px;
    font-weight: 750;

    text-transform: none;
}

/* Nút xem chi tiết */

.vl-pa .vl-pa-detail {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    min-height: 48px;

    padding: 12px 15px;

    background: #17191E;

    border-radius: 8px;

    color: #FFFFFF !important;

    font-size: 15px;
    font-weight: 700;

    transition:
        background .25s ease,
        box-shadow .25s ease;
}

.vl-pa-detail span {

    font-size: 20px;

    transition: transform .25s ease;
}

.vl-pa .vl-pa-detail:hover {

    background: var(--pa-red);

    box-shadow:
        0 5px 18px #C8102E25;
}

.vl-pa-detail:hover span {
    transform: translate(3px,-2px);
}


/* =====================================================
   14. LIÊN HỆ ZALO

   Khoảng cách icon và số điện thoại:
   Điều chỉnh thuộc tính gap.
===================================================== */

.vl-pa .vl-pa-zalo-group {

    display: flex;
    flex-direction: column;

    padding: 4px 10px;

    background: #F0F6FF;

    border: 1px solid #D9E6FB;
    border-radius: 8px;
}

.vl-pa .vl-pa-zalo {

    display: grid !important;

    grid-template-columns:
        40px minmax(0,1fr) 14px;

    align-items: center;

    gap: 10px !important;

    width: 100%;
    min-height: 45px;

    padding: 7px 0;

    color: #14233C;

    text-align: left;
}

.vl-pa-zalo + .vl-pa-zalo {

    border-top: 1px solid #DCE8FB;
}

.vl-pa .vl-pa-zalo-icon {

    display: flex;

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

    width: 40px;
    height: 28px;

    background: var(--pa-zalo);

    border-radius: 6px;

    color: #FFFFFF !important;

    font-size: 11px;
    font-weight: 800;
}

.vl-pa .vl-pa-zalo strong {

    min-width: 0;

    margin: 0;

    color: #14233C !important;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0;

    font-variant-numeric: tabular-nums;

    overflow-wrap: anywhere;
}

.vl-pa-zalo-arrow {

    color: var(--pa-zalo);

    font-size: 16px;
}

.vl-pa .vl-pa-zalo:hover strong {
    color: var(--pa-zalo) !important;
}


/* =====================================================
   15. PHÂN TRANG
===================================================== */

.vl-pa-pagination {
    margin-top: 30px;
}

.vl-pa-pagination ul {

    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.vl-pa-pagination li {

    margin: 0 !important;
    padding: 0;

    list-style: none;
}

.vl-pa-pagination li > a,
.vl-pa-pagination li > span {

    display: inline-flex;

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

    min-width: 44px;
    height: 44px;

    padding: 8px;

    background: #FFFFFF;

    border: 1px solid var(--pa-border);
    border-radius: 8px;

    color: var(--pa-text);

    font-size: 15px;
    font-weight: 700;

    transition:
        color .25s ease,
        background .25s ease;
}

.vl-pa-pagination li > .current,
.vl-pa-pagination li > a:hover {

    background: var(--pa-red);

    border-color: var(--pa-red);

    color: #FFFFFF;
}


/* =====================================================
   16. KHÔNG CÓ SẢN PHẨM
===================================================== */

.vl-pa-empty {

    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 25px;

    padding: 34px;

    background: #FFFFFF;

    border: 1px solid var(--pa-border);
    border-top: 3px solid var(--pa-red);

    border-radius: 14px;

    box-shadow:
        0 8px 30px rgba(15,20,30,.035);
}

.vl-pa-empty-icon {

    display: flex;

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

    flex: 0 0 85px;

    width: 85px;
    height: 85px;

    background: #FFF0F3;

    border: 1px solid #F3D6DD;
    border-radius: 13px;

    color: var(--pa-red);
}

.vl-pa-empty-icon svg {
    width: 50px;
    height: 50px;
}

.vl-pa-empty-content {
    flex: 1;
    min-width: 0;
}

.vl-pa-empty-kicker {

    display: block;

    margin-bottom: 8px;

    color: var(--pa-red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .13em;
    text-transform: uppercase;
}

.vl-pa-empty h2 {

    margin: 0 0 14px;

    color: var(--pa-dark);

    font-size: 26px;
    font-weight: 800;

    line-height: 1.4;
}

.vl-pa-empty p {

    max-width: 680px;

    color: var(--pa-muted);

    font-size: 15px;
    line-height: 1.8;
}

.vl-pa-empty .vl-pa-zalo-group {

    max-width: 360px;

    margin: 20px 0;
}

.vl-pa-empty .vl-pa-detail {
    width: fit-content;
}


/* =====================================================
   17. AJAX LOADING

   Không thay đổi chiều cao nội dung khi đang tải.
   Hiệu ứng thanh đỏ chạy ngang danh sách.
===================================================== */

.vl-pa-loading {

    position: absolute;

    top: -7px;
    left: 0;
    right: 0;

    height: 3px;

    z-index: 5;

    overflow: hidden;

    background: #C8102E15;

    border-radius: 10px;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}

.vl-pa-loading > span {

    display: block;

    width: 38%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            #C8102E,
            #FF6983,
            #C8102E,
            transparent
        );

    border-radius: 10px;
}

.vl-pa.is-loading .vl-pa-loading {

    opacity: 1;
    visibility: visible;
}

.vl-pa.is-loading .vl-pa-loading > span {

    animation:
        vlPaRacingLoading
        .9s linear infinite;
}

/* Chỉ làm mờ kết quả, không làm mờ bộ lọc */

.vl-pa-grid,
.vl-pa-empty {

    transition: opacity .2s ease;
}

.vl-pa.is-loading .vl-pa-grid,
.vl-pa.is-loading .vl-pa-empty {

    opacity: .45;
}

@keyframes vlPaRacingLoading {

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

    to {
        transform: translateX(270%);
    }
}


/* =====================================================
   18. MOTORSPORT MOTION
===================================================== */

/* Hiệu ứng xuất hiện sản phẩm mới */

.vl-pa-card.vl-pa-enter {

    animation:
        vlPaProductReveal
        .55s cubic-bezier(.2,.75,.25,1)
        both;

    animation-delay:
        var(--pa-delay,0ms);
}

@keyframes vlPaProductReveal {

    from {

        opacity: 0;

        transform:
            translateY(17px)
            scale(.985);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

@media (hover:hover) and (pointer:fine) {

    .vl-pa-card:hover {

        transform: translateY(-5px);

        border-color: #CED3DD;

        box-shadow:
            0 17px 35px rgba(15,20,30,.10);
    }

    .vl-pa-card:hover::before {
        width: 100px;
    }

    .vl-pa-card:hover .vl-pa-picture img {

        transform:
            translate3d(
                var(--pa-move-x),
                var(--pa-move-y),
                0
            )
            scale(1.055);
    }
}


/* =====================================================
   19. RESPONSIVE
===================================================== */

/* Laptop */

@media (max-width:1200px) {

    .vl-pa {

        --pa-sidebar-width: 255px;
        --pa-grid-gap: 12px;
    }

    .vl-pa-layout {
        gap: 18px;
    }

    .vl-pa-sidebar-fixed {
        padding: 16px;
    }

    .vl-pa-sidebar-scroll {
        padding: 0 16px 16px;
    }

    .vl-pa .vl-pa-sidebar-heading h2 {
        font-size: 15px;
    }

    .vl-pa .vl-pa-category-list a {
        font-size: 14px;
    }

    .vl-pa-card {
        padding: 14px;
    }

    .vl-pa .vl-pa-product-name {
        font-size: 14px;
    }

    .vl-pa .vl-pa-zalo {

        grid-template-columns:
            34px minmax(0,1fr) 12px;

        gap: 8px !important;
    }

    .vl-pa .vl-pa-zalo-icon {
        width: 34px;
        font-size: 10px;
    }

    .vl-pa .vl-pa-zalo strong {
        font-size: 13px;
    }
}

/* Tablet */

@media (max-width:1024px) {

    .vl-pa {
        --pa-columns: 2;
    }

    .vl-pa-hero h1 {
        font-size: 40px;
    }
}

/* Màn hình thấp:
   không ép sidebar thành một hộp quá nhỏ */

@media (min-width:761px) {

    .vl-pa.vl-pa-short-viewport .vl-pa-sidebar {

        position: static;

        max-height: none;
    }

    .vl-pa.vl-pa-short-viewport
    .vl-pa-sidebar-scroll {

        overflow: visible;
    }
}

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

@media (max-width:760px) {

    .vl-pa {

        --pa-columns: 2;
        --pa-grid-gap: 10px;
    }

    .vl-pa-hero-inner {
        padding: 20px 15px 30px;
    }

    .vl-pa-breadcrumb {

        margin-bottom: 24px;

        font-size: 12px;
    }

    .vl-pa-hero-content {
        max-width: 100%;
    }

    .vl-pa-hero h1 {
        font-size: 32px;
    }

    .vl-pa-hero p {
        font-size: 14px;
    }

    .vl-pa-hero-stats {

        position: static;

        display: flex;

        align-items: center;

        gap: 10px;

        margin-top: 20px;
        padding: 0;

        border: 0;

        text-align: left;
    }

    .vl-pa-hero-stats strong {
        font-size: 28px;
    }

    .vl-pa-container {
        padding: 18px 12px 40px;
    }

    .vl-pa-layout {

        display: flex;
        flex-direction: column;

        gap: 14px;
    }

    .vl-pa .vl-pa-mobile-filter {

        display: flex;

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

        gap: 9px;

        width: 100%;
        min-height: 46px;

        margin-bottom: 14px;

        padding: 10px 15px;

        background: #191B21;

        border: 1px solid #30343D;
        border-radius: 8px;

        color: #FFFFFF;

        font-size: 14px;
        font-weight: 700;
    }

    .vl-pa-mobile-filter svg {
        width: 20px;
        height: 20px;
    }

    .vl-pa .vl-pa-sidebar {

        position: static;

        width: 100%;

        max-height: none;

        overflow: visible;
    }

    .vl-pa-sidebar-scroll {

        padding: 0 18px 18px;

        overflow: visible;
    }

    .vl-pa.vl-pa-js
    .vl-pa-sidebar:not(.is-open) {

        display: none;
    }

    .vl-pa .vl-pa-sidebar-heading h2 {
        font-size: 18px;
    }

    .vl-pa-results {
        width: 100%;
    }

    .vl-pa-toolbar {
        padding: 12px;
    }

    .vl-pa .woocommerce-ordering {
        width: 100%;
    }

    .vl-pa .woocommerce-ordering select {
        width: 100%;
    }

    .vl-pa-card {

        padding: 11px;

        gap: 8px;

        border-radius: 11px;
    }

    .vl-pa-brand {
        min-height: 34px;
    }

    .vl-pa .vl-pa-brand-logo {
        width: 115px;
        height: 32px;
    }

    .vl-pa-picture {
        padding: 3px;
    }

    .vl-pa-size {
        font-size: 22px;
    }

    .vl-pa .vl-pa-product-name {

        min-height: 45px;

        font-size: 13px;
    }

    .vl-pa-category-tags a {
        font-size: 11px;
    }

    .vl-pa-price {

        flex-direction: column;
        align-items: flex-start;
    }

    .vl-pa-price > span {
        font-size: 12px;
    }

    .vl-pa-price strong {
        font-size: 13px;
    }

    .vl-pa .vl-pa-detail {

        min-height: 42px;

        padding: 8px 10px;

        font-size: 13px;
    }

    .vl-pa .vl-pa-zalo-group {
        padding: 4px 6px;
    }

    .vl-pa .vl-pa-zalo {

        grid-template-columns:
            30px minmax(0,1fr);

        gap: 6px !important;

        min-height: 40px;
    }

    .vl-pa .vl-pa-zalo-icon {

        width: 30px;
        height: 24px;

        font-size: 10px;
    }

    .vl-pa .vl-pa-zalo strong {
        font-size: 12px;
    }

    .vl-pa-zalo-arrow {
        display: none;
    }

    .vl-pa-empty {

        flex-direction: column;

        gap: 18px;

        padding: 22px 18px;
    }

    .vl-pa-empty-icon {

        flex-basis: 65px;

        width: 65px;
        height: 65px;
    }

    .vl-pa-empty-icon svg {
        width: 38px;
        height: 38px;
    }

    .vl-pa-empty h2 {
        font-size: 23px;
    }
}

/* Điện thoại nhỏ */

@media (max-width:360px) {

    .vl-pa {
        --pa-columns: 1;
    }

    .vl-pa-card {
        padding: 16px;
    }
}


/* =====================================================
   20. ACCESSIBILITY
===================================================== */

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

    .vl-pa *,
    .vl-pa *::before,
    .vl-pa *::after {

        animation: none !important;
        transition: none !important;
    }

    .vl-pa-card,
    .vl-pa-picture img {

        opacity: 1 !important;

        transform: none !important;
    }
}
