/* Gunshop-inspired storefront composition for the Happiness brand.
 * This file intentionally sits after the legacy theme and only changes
 * presentation; WebForms data binding, search, cart and category logic remain. */

:root {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:;
    --tw-pan-y:;
    --tw-pinch-zoom:;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:;
    --tw-gradient-via-position:;
    --tw-gradient-to-position:;
    --tw-ordinal:;
    --tw-slashed-zero:;
    --tw-numeric-figure:;
    --tw-numeric-spacing:;
    --tw-numeric-fraction:;
    --tw-ring-inset:;
    --tw-ring-offset-width: 0px;
    --gs-red: #e4002b;
    --gs-red-dark: #b90022;
    --gs-red-soft: #fff1f3;
    --gs-ink: #26272b;
    --gs-muted: #6d7078;
    --gs-page: #f2f4f7;
    --gs-line: #e4e7eb;
    --gs-white: #fff;
    --gs-yellow: #ffc400;
    --gs-radius: 12px;
    --gs-shadow: 0 5px 18px rgba(35, 36, 40, .08);
    --gs-fixed-menu-top: 78px;
    --gs-fixed-menu-left: 16px;
    --gs-fixed-menu-width: 250px;
    --gs-fixed-mega-width: 1030px;
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-scroll-snap-strictness: proximity;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:;
    --tw-brightness:;
    --tw-contrast:;
    --tw-grayscale:;
    --tw-hue-rotate:;
    --tw-invert:;
    --tw-saturate:;
    --tw-sepia:;
    --tw-drop-shadow:;
    --tw-backdrop-blur:;
    --tw-backdrop-brightness:;
    --tw-backdrop-contrast:;
    --tw-backdrop-grayscale:;
    --tw-backdrop-hue-rotate:;
    --tw-backdrop-invert:;
    --tw-backdrop-opacity:;
    --tw-backdrop-saturate:;
    --tw-backdrop-sepia:;
    --tw-contain-size:;
    --tw-contain-layout:;
    --tw-contain-paint:;
    --tw-contain-style:;
    --b-glass: 1rem;
    --c-glass: #bbbbbc;
    --c-light: #fff;
    --c-dark: #000;
    --c-content: #224;
    --c-action: #0052f5;
    --c-bg: #E8E8E9;
    --b-glass: 99em;
    --glass-reflex-dark: 1;
    --glass-reflex-light: 1;
    --saturation: 150%;
}

html,
body {
    background: var(--gs-page);
    color: var(--gs-ink);
}

body {
    overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
    font-family: pr, Arial, sans-serif;
}

.container {
    max-width: 1280px;
    width: calc(100% - 32px);
}

.invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

/* Compact red commerce header. */

.header {
    background: var(--gs-red-dark);
}

.header {
    position: relative;
    z-index: 70;
}

.relative-head-top,
.bottom-header {
    display: none;
}

.middle-header {
    background: linear-gradient(180deg, var(--gs-red-dark), #d00028);
    box-shadow: none;
    min-height: 78px;
}

    .middle-header .container {
        align-items: center;
        display: flex;
        gap: 18px;
        min-height: 78px;
    }

    .middle-header .logo {
        flex: 0 0 170px;
        margin: 0;
        padding: 0;
    }

        .middle-header .logo img {
            max-height: 78px !important;
            max-width: 170px !important;
            object-fit: contain;
        }

    .middle-header #ShowMenu {
        align-items: center;
        background: rgba(255, 255, 255, .15);
        border-radius: 11px;
        color: #fff;
        display: flex;
        font-family: psb;
        gap: 8px;
        height: 48px;
        justify-content: center;
        order: 2;
        padding: 0 16px;
        position: static;
        border: 1px solid transparent;
        cursor: pointer;
        min-width: 120px;
        white-space: nowrap;
        font-size: 15px;
    }

.r-hotline-h p {
    color: #fff;
    font-family: 'psb';
    font-size: 16px;
}

.middle-header #ShowMenu:hover,
.middle-header #ShowMenu:focus-visible,
html.gs-menu-open .middle-header #ShowMenu {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .22);
    outline: none;
}

.middle-header .left-header {
    flex: 1 1 auto;
    order: 3;
}

.middle-header .lbtim {
    max-width: none;
    width: 90%;
}

.middle-header .form-search-home {
    display: none !important;
}

.middle-header .searchbox {
    background: #fff;
    border: 0;
    border-radius: 999px;
    display: flex;
    height: 48px;
    overflow: hidden;
    width: 100%;
}

    .middle-header .searchbox .txt {
        background: transparent;
        border: 0;
        color: var(--gs-ink);
        flex: 1;
        height: 48px;
        padding: 0 22px;
    }

    .middle-header .searchbox .btn {
        align-items: center;
        background: transparent;
        display: flex;
        justify-content: center;
        width: 54px;
    }

        .middle-header .searchbox .btn svg path {
            fill: var(--gs-red);
        }

/* Gunshop-like search suggestions and live product lookup. */

.middle-header .left-header,
.middle-header .lbtim {
    overflow: visible;
    position: relative;
}

.middle-header .searchbox:focus-within {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .4);
}

.middle-header .searchbox .txt::placeholder {
    color: #98a0ae;
    font-style: normal;
    opacity: 1;
}

.middle-header #search-result {
    background: #fff;
    border: 1px solid #e3e7ed;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(25, 31, 40, .18);
    box-sizing: border-box;
    display: none;
    left: 0;
    max-height: min(620px, calc(100vh - 92px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
    right: 0;
    top: calc(100% + 7px);
    width: 100%;
    z-index: 100;
}

    .middle-header #search-result.is-open {
        display: block !important;
    }

.gs-search-trending,
.gs-search-products {
    display: none;
}

#search-result.is-trending .gs-search-trending,
#search-result.is-products .gs-search-products {
    display: block;
}

.gs-search-heading {
    color: #4c5058;
    font-family: psb, Arial, sans-serif;
    font-size: 16px;
    padding: 14px 14px 9px;
}

.gs-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 14px 15px;
}

    .gs-search-tags button {
        background: #fff;
        border: 1px solid #dfe3e9;
        border-radius: 999px;
        color: #1767dc;
        cursor: pointer;
        font: 14px pr, Arial, sans-serif;
        line-height: 20px;
        padding: 6px 12px;
    }

        .gs-search-tags button:hover,
        .gs-search-tags button:focus-visible {
            background: #eff5ff;
            border-color: #9ebff0;
            outline: none;
        }

.middle-header .list-pro-result {
    display: block;
}

.gs-search-product-item {
    align-items: center;
    border-bottom: 1px solid #e1e4e8;
    color: #4c5058;
    display: flex;
    gap: 10px;
    min-height: 66px;
    padding: 7px 12px;
    text-align: left;
    text-decoration: none;
}

    .gs-search-product-item:hover,
    .gs-search-product-item:focus-visible {
        background: #f6f8fb;
        color: #30343a;
        outline: none;
    }

.gs-search-product-image {
    align-items: center;
    display: flex;
    flex: 0 0 52px;
    height: 52px;
    justify-content: center;
}

    .gs-search-product-image img {
        height: 52px;
        max-width: 52px;
        object-fit: contain;
        width: 52px;
    }

.gs-search-product-info {
    display: block;
    min-width: 0;
}

.gs-search-product-title {
    display: -webkit-box;
    font-size: 15px;
    line-height: 20px;
    overflow: hidden;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gs-search-product-prices {
    align-items: baseline;
    display: flex;
    gap: 7px;
    margin-top: 3px;
}

.gs-search-price {
    color: var(--gs-red);
    font-family: psb, Arial, sans-serif;
    font-size: 16px;
}

.gs-search-product-prices del {
    color: #7a7f88;
    font-size: 13px;
}

.gs-search-loading,
.gs-search-empty {
    color: #777d87;
    display: none;
    padding: 22px;
    text-align: center;
}

#search-result.is-loading .gs-search-loading {
    display: block;
}

#search-result.is-loading .list-pro-result {
    display: none;
}

.middle-header #search-result .more-result {
    margin: 0;
    padding: 12px;
    text-align: center;
}

    .middle-header #search-result .more-result:empty {
        display: none;
    }

    .middle-header #search-result .more-result a {
        border: 0;
        color: #1767dc;
        font-family: pr, Arial, sans-serif;
        font-size: 15px;
        padding: 0;
        text-decoration: underline;
    }

        .middle-header #search-result .more-result a:hover {
            background: transparent;
            color: var(--gs-red);
        }

.middle-header .right-header {
    flex: 0 0 auto;
    margin: 0;
    order: 4;
}

.middle-header .flex-head {
    gap: 10px;
}

.middle-header .cart,
.middle-header .WdiscountProHeader,
.middle-header .WHotProHeader {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    min-width: 58px;
}

    .middle-header .WHotProHeader:last-child {
        display: none;
    }

    .middle-header .WdiscountProHeader a {
        background: transparent;
        padding: 0;
    }

.middle-header .decorIconSvgDiscount svg,
.middle-header .decorSvgCartHome svg {
    height: 28px;
    width: 28px;
}

    .middle-header .decorIconSvgDiscount svg path,
    .middle-header .decorSvgCartHome svg path {
        fill: #fff;
    }

.middle-header .RContentDisHeader span,
.middle-header .RContentDisHeader strong,
.middle-header .WdiscountProHeader span {
    color: #fff;
    font-size: 20px;
}

/* Hero: category rail, large banner and Gunshop-like shortcut strip. */

.w-banner-cate-home {
    background: var(--gs-page);
    padding: 16px 0 22px;
}

.gs-category-scrim {
    background: rgba(24, 16, 18, .52);
    inset: 78px 0 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity .18s ease, visibility .18s ease;
    visibility: hidden;
    z-index: 40;
}

html.gs-menu-open .gs-category-scrim {
    opacity: 1;
    visibility: visible;
}

html.gs-header-scrolled .gs-category-scrim {
    inset: var(--gs-fixed-menu-top) 0 0;
}

.widget-c-banner-cate-home {
    align-items: stretch;
    display: grid;
    gap: 14px;
    grid-template-columns: 250px minmax(0, 1fr);
    position: relative;
}

.cate-pro-list-home {
    background: #fff;
    border-radius: var(--gs-radius);
    box-shadow: var(--gs-shadow);
    left: 0;
    min-width: 250px;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    position: relative;
    top: 0;
    transform: none;
    transition: opacity .16s ease, transform .2s ease, visibility .16s ease;
    visibility: visible;
    width: 250px;
    z-index: 42;
}

html.gs-menu-open .cate-pro-list-home {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

html.gs-header-scrolled.gs-menu-open .cate-pro-list-home {
    border-radius: 0 0 var(--gs-radius) var(--gs-radius);
    left: var(--gs-fixed-menu-left);
    min-width: var(--gs-fixed-menu-width);
    position: fixed;
    top: var(--gs-fixed-menu-top);
    width: var(--gs-fixed-menu-width);
    z-index: 71;
}

html.gs-header-scrolled.gs-menu-open .gs-category-mega {
    width: var(--gs-fixed-mega-width);
}

.gs-header-category-layer {
    height: 0;
    position: relative;
    z-index: 72;
}

    .gs-header-category-layer > .container {
        height: 0;
        position: relative;
    }

.gs-header-category-menu {
    left: 0;
    min-height: 547px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateY(-8px);
    visibility: hidden;
}

html.gs-menu-open .gs-header-category-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.cate-pro-list-home .list-pro-home {
    background: #fff;
    border-radius: inherit;
    overflow: visible;
}

.cate-main-pro-home {
    background: var(--gs-red);
    border-radius: 12px 12px 0 0;
    color: #fff;
    min-height: 43px;
    padding: 0 15px;
}

.cate-pro-list-home .cate-main-pro-home {
    display: none;
}

.cate-main-pro-home svg path,
.cate-main-pro-home svg circle {
    stroke: #fff;
}

.cate-main-pro-home h3 {
    color: #fff;
    font-size: 15px;
    text-transform: none;
}

.cate-pro-list-home li.nav-item-pro {
    border-bottom: 1px solid #f0f1f3;
    min-height: 35px;
    position: static;
    list-style: none;
}

    .cate-pro-list-home li.nav-item-pro:last-child {
        border-bottom: 0;
    }

.cate-pro-list-home a.nav-link-pro {
    align-items: center;
    color: #34363b;
    display: flex;
    font-size: 14px;
    gap: 3px;
    height: 35px;
    min-height: 35px;
    padding: 6px 6px;
}

    .cate-pro-list-home a.nav-link-pro span {
        color: #34363b !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
        text-transform: capitalize;
    }

    .cate-pro-list-home a.nav-link-pro:hover span {
        color: var(--gs-red) !important;
    }

    .cate-pro-list-home a.nav-link-pro:after {
        color: #999;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-left: auto;
    }

    .cate-pro-list-home a.nav-link-pro:hover {
        background: var(--gs-red-soft);
        color: var(--gs-red);
    }

.cate-pro-list-home .menu-icon {
    height: 1.5rem;
    object-fit: contain;
    width: 1.5rem;
}

.cate-pro-list-home .btn {
    display: none;
}

.gs-category-mega {
    background: #f1f4f8;
    border: transparent;
    border-radius: 0 12px 12px 0;
    box-shadow: 8px 7px 18px rgba(34, 39, 46, .12);
    box-sizing: border-box;
    height: 547px;
    left: 100%;
    opacity: 0;
    overflow: hidden;
    padding: 16px;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translateX(-8px);
    transition: opacity .16s ease, transform .2s ease, visibility .16s ease;
    visibility: hidden;
    width: calc(1280px - 250px);
    z-index: 12;
}

.has-category-mega:hover > .gs-category-mega,
.has-category-mega:focus-within > .gs-category-mega,
.has-category-mega.is-active > .gs-category-mega,
html.gs-menu-open:not(.gs-has-active-category) .has-category-mega:first-child > .gs-category-mega {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
}

.has-category-mega:hover > .nav-link-pro,
.has-category-mega:focus-within > .nav-link-pro,
.has-category-mega.is-active > .nav-link-pro,
html.gs-menu-open:not(.gs-has-active-category) .has-category-mega:first-child > .nav-link-pro {
    background: #f1f4f8;
    color: var(--gs-red);
}

    .has-category-mega:hover > .nav-link-pro span,
    .has-category-mega:focus-within > .nav-link-pro span,
    .has-category-mega.is-active > .nav-link-pro span,
    html.gs-menu-open:not(.gs-has-active-category) .has-category-mega:first-child > .nav-link-pro span {
        color: var(--gs-red) !important;
    }

.gs-mega-categories {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 168px;
}

.gs-mega-category-card {
    align-items: center;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #41454d;
    display: flex;
    gap: 14px;
    height: 78px;
    min-width: 0;
    padding: 9px 18px;
}

    .gs-mega-category-card:hover {
        border-color: #f4a6b4;
        color: var(--gs-red);
        transform: translateY(-1px);
    }

.gs-mega-category-image {
    align-items: center;
    display: flex;
    flex: 0 0 58px;
    height: 58px;
    justify-content: center;
}

    .gs-mega-category-image img {
        width: 100% !important;
        height: 100% !important;
    }

    .gs-mega-category-image img {
        height: 56px;
        max-width: 56px;
        object-fit: contain;
    }

    .gs-mega-category-image > i {
        color: var(--gs-red);
        display: none;
        font-size: 24px;
    }

        .gs-mega-category-image > i:first-child {
            display: flex;
        }

.gs-mega-category-card strong {
    display: -webkit-box;
    font-family: pm;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gs-mega-more-icon {
    align-items: center;
    background: #f1f4f8;
    border-radius: 50%;
    color: #4e525a;
    display: flex;
    flex: 0 0 52px;
    height: 52px;
    justify-content: center;
}

    .gs-mega-more-icon i {
        font-size: 20px;
    }

.gs-mega-product-head {
    align-items: center;
    border-top: 1px solid #dce2e9;
    display: flex;
    gap: 10px;
    margin-top: 14px;
    min-height: 44px;
    padding-top: 8px;
}

    .gs-mega-product-head strong {
        color: #444850;
        font-family: psb;
        font-size: 15px;
    }

    .gs-mega-product-head a {
        border-left: 1px solid #cbd2da;
        color: #1673e6;
        font-size: 14px;
        padding-left: 10px;
    }

.gs-mega-products {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gs-mega-product {
    color: #41454d;
    display: grid;
    grid-template-columns: auto 1fr;
    min-width: 0;
    position: relative;
}

.gs-mega-product-image {
    background: #fff;
    border-radius: 12px;
    display: block;
    grid-column: 1 / -1;
    height: 160px;
    margin-bottom: 8px;
    overflow: hidden;
    padding: 7px;
}

    .gs-mega-product-image img {
        height: 100%;
        object-fit: contain;
        width: 100%;
    }

.gs-mega-product strong {
    display: -webkit-box;
    font-family: pm;
    font-size: 14px;
    font-weight: 500;
    grid-column: 1 / -1;
    line-height: 1.45;
    min-height: 41px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gs-mega-product:hover strong {
    color: var(--gs-red);
}

.gs-mega-price {
    color: var(--gs-red);
    font-family: psb;
    font-size: 15px;
    margin-top: 5px;
    white-space: nowrap;
}

.gs-mega-product del {
    color: #7b7e84;
    font-size: 13px;
    margin: 6px 0 0 8px;
    white-space: nowrap;
}

.gs-mega-discount {
    background: var(--gs-red);
    border-radius: 9px 0 8px 0;
    color: #fff;
    font-family: psb;
    font-size: 14px;
    left: 0;
    padding: 5px 7px;
    position: absolute;
    top: 0;
    z-index: 2;
}

.gs-mega-empty {
    color: var(--gs-muted);
    grid-column: 1 / -1;
    padding: 30px 0;
    text-align: center;
}

.side-banner-home {
    border-radius: var(--gs-radius);
    min-height: 547px;
    overflow: hidden;
    width: auto;
}

    .side-banner-home #slideshow,
    .side-banner-home .swiper-wrapper,
    .side-banner-home .swiper-slide,
    .side-banner-home .swiper-slide a {
        height: 100%;
    }

    .side-banner-home #slideshow {
        height: 580px !important;
    }

    .side-banner-home img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .side-banner-home .swiper-button-prev,
    .side-banner-home .swiper-button-next {
        background-color: rgba(255, 255, 255, .9);
        border-radius: 50%;
        height: 38px;
        width: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.banner-right-h {
    display: none;
}

.home-quick-links {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin-top: 14px;
}

    .home-quick-links a {
        align-items: center;
        background: #fff;
        border: 1px solid var(--gs-line);
        border-radius: 12px;
        color: #3d4046;
        display: flex;
        font-family: psb;
        font-size: 13px;
        gap: 10px;
        justify-content: center;
        min-height: 66px;
        padding: 10px;
        text-align: center;
    }

        .home-quick-links a:hover {
            border-color: var(--gs-red);
            color: var(--gs-red);
            transform: translateY(-2px);
        }

    .home-quick-links i {
        color: var(--gs-red);
        font-size: 23px;
    }

/* Homepage rhythm. */

.home-page {
    background: var(--gs-page);
}

    .home-page .home-section {
        padding: 22px 0;
    }

    .home-page .home-trust {
        display: none;
    }

    .home-page .home-best-seller {
        overflow: hidden;
        padding: 34px 0 40px;
        position: relative;
        padding-bottom: 0;
    }

        .home-page .home-best-seller:before {
            content: "";
            position: absolute;
            inset: 0px;
            background-position: top;
            background-image: url(https://cdn.hstatic.net/themes/1000343028/1001502073/14/preorder-bg.png?v=28);
            background-size: 100% 100%;
            width: 100%;
            height: 100%;
        }

        .home-page .home-best-seller .product-default {
            background: transparent;
            position: relative;
            z-index: 1;
        }

        .home-page .home-best-seller .title-big-seller {
            align-items: end;
            margin-bottom: 20px;
        }

        .home-page .home-best-seller .decorSvgProduct {
            display: none;
        }

        .home-page .home-best-seller .home-section-badge {
            color: #fff;
            opacity: .9;
        }

        .home-page .home-best-seller h2 {
            color: #fff;
            font-family: peb;
            font-size: 34px;
            letter-spacing: .5px;
            text-transform: uppercase;
        }

        .home-page .home-best-seller .home-seller-heading p {
            color: #fff;
            opacity: .9;
        }

        .home-page .home-best-seller .home-seller-assurances span {
            background: rgba(255, 255, 255, .16);
            color: #fff;
        }

        .home-page .home-best-seller .home-seller-view-all a {
            border-color: #fff;
            border: 1px solid #fff;
            border-radius: 999px;
            color: #fff;
            font-size: 14px;
            padding: 4px 13px;
            background: rgb(215 0 24 / 0.3);
            text-transform: uppercase;
            font-weight: 600;
            display: flex;
            align-items: center;
            padding-right: 5px;
            gap: 5px;
        }

        .home-page .home-best-seller .swiper-slide.product-seller {
            height: auto;
        }

        .home-page .home-best-seller .home-seller-card,
        .home-page .home-best-seller .WProItemSeller {
            background: #fff;
            border: 0;
            border-radius: 10px;
            box-shadow: 0 6px 16px rgba(91, 0, 17, .16);
            height: 100%;
            overflow: hidden;
        }

        .home-page .home-best-seller .home-seller-card-badge {
            background: var(--gs-red);
        }

        .home-page .home-best-seller .imgproduct {
            background: #fff;
        }

        .home-page .home-best-seller .cost-product span {
            color: var(--gs-red);
        }

        .home-page .home-best-seller .link-product-bests-eller a {
            background: var(--gs-red);
            border-radius: 999px;
        }

        /* Flash Sale cards follow the compact five-column Gunshop treatment. */

        .home-page .home-best-seller .mySwiperSellerFlase {
            padding: 2px 2px 32px;
        }

        .home-page .home-best-seller .home-seller-card {
            display: flex;
            flex-direction: column;
            position: relative;
        }

            .home-page .home-best-seller .home-seller-card .imgproduct {
                flex: 0 0 238px;
                height: 238px;
                overflow: hidden;
                padding: 8px;
                position: relative;
            }

                .home-page .home-best-seller .home-seller-card .imgproduct .imgpa,
                .home-page .home-best-seller .home-seller-card .imgproduct .imgpa img {
                    height: 100%;
                    width: 100%;
                }

                    .home-page .home-best-seller .home-seller-card .imgproduct .imgpa img {
                        object-fit: contain;
                        transition: transform .3s ease;
                    }

            .home-page .home-best-seller .home-seller-card:hover .imgproduct .imgpa img {
                transform: scale(1.035);
            }

        .home-page .home-best-seller .home-flash-ribbon {
            background: #bd0b25;
            border-radius: 0 0 0 8px;
            color: #fff;
            font-family: peb, Arial, sans-serif;
            font-size: 10px;
            line-height: 10px;
            padding: 5px 5px 4px;
            position: absolute;
            right: 0;
            text-align: center;
            top: 0;
            z-index: 5;
        }

        .home-page .home-best-seller .WSalePercentBestSeller {
            left: 0;
            position: absolute;
            top: 0;
            z-index: 6;
        }

            .home-page .home-best-seller .WSalePercentBestSeller .new {
                background: var(--gs-red);
                border-radius: 0 0 7px 0;
                color: #fff;
                padding: 5px 8px;
            }

            .home-page .home-best-seller .WSalePercentBestSeller .text-new {
                color: #fff;
                font-family: psb, Arial, sans-serif;
                font-size: 13px;
            }

        .home-page .home-best-seller .home-seller-card > .info-product {
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            padding: 10px 12px 12px;
        }

        .home-page .home-best-seller .home-seller-card h3.title-product {
            align-items: center;
            background: #f2acb6;
            border-radius: 999px;
            display: flex;
            justify-content: center;
            margin: 0 0 8px;
            min-height: 58px;
            padding: 7px 12px;
            text-align: center;
        }

            .home-page .home-best-seller .home-seller-card h3.title-product a {
                color: #41434a;
                display: -webkit-box;
                font-family: psb, Arial, sans-serif;
                font-size: 15px;
                line-height: 1.4;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }

        .home-page .home-best-seller .home-flash-description {
            background: #f1f2f4;
            border: 1px solid #dfe2e7;
            border-radius: 10px;
            color: #555960;
            display: -webkit-box;
            font-size: 13px;
            line-height: 1.45;
            min-height: 76px;
            overflow: hidden;
            padding: 7px 8px;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 4;
        }

            .home-page .home-best-seller .home-flash-description span {
                display: contents;
            }

        .home-page .home-best-seller .home-seller-card .bottom-pro {
            border: 0;
            margin-top: auto;
            padding-top: 13px;
        }

        .home-page .home-best-seller .home-seller-card .w-content-price-seller {
            align-items: baseline;
            display: flex;
            gap: 7px;
            min-height: 28px;
        }

        .home-page .home-best-seller .home-seller-card .cost-product span {
            font-family: pr, Arial, sans-serif;
            font-size: 19px;
        }

        .home-page .home-best-seller .home-seller-card .cost-product p {
            color: #737985;
            font-size: 14px;
            margin: 0;
            text-decoration: line-through;
        }

        .home-page .home-best-seller .home-seller-card .total-comment-num-seller {
            align-items: center;
            display: grid;
            gap: 6px 8px;
            grid-template-columns: auto minmax(0, 1fr);
            margin: 4px 0 0;
        }

        .home-page .home-best-seller .home-seller-card .WSellerStarProHome {
            grid-column: 1;
            grid-row: 1;
            padding: 0;
            white-space: nowrap;
            padding-right: 9px;
        }

            .home-page .home-best-seller .home-seller-card .WSellerStarProHome i {
                color: var(--gs-yellow);
                font-size: 13px;
                margin: 0 -1px;
            }

        .home-page .home-best-seller .home-seller-card .WNumOutProHome {
            color: #555960;
            font-size: 12px;
            grid-column: 2;
            grid-row: 1;
            white-space: nowrap;
        }

        .home-page .home-best-seller .home-seller-card .WSaleLinkNumOut {
            grid-column: 1 / -1;
            grid-row: 2;
            margin: 0;
        }

        .home-page .home-best-seller .home-seller-card .link-product-bests-eller a {
            color: #fff;
            gap: 6px;
            height: 38px;
            justify-content: center;
            padding: 0 12px;
            width: 100%;
            cursor: pointer;
        }

            .home-page .home-best-seller .home-seller-card .link-product-bests-eller a svg {
                display: none;
            }

            .home-page .home-best-seller .home-seller-card .link-product-bests-eller a:before {
                content: "\f055";
                font-family: "Font Awesome 5 Free";
                font-size: 17px;
                font-weight: 900;
            }

        .home-page .home-best-seller .home-seller-card .home-cart-label {
            color: #fff;
            display: inline;
            font-family: psb, Arial, sans-serif;
            font-size: 12px;
            text-transform: uppercase;
        }

        .home-page .home-best-seller .home-seller-prev,
        .home-page .home-best-seller .home-seller-next {
            background-color: rgba(255, 255, 255, .9);
            border: 1px solid #dadde3;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
            z-index: 7;
        }

        .home-page .home-best-seller .home-seller-prev {
            left: -16px;
        }

        .home-page .home-best-seller .home-seller-next {
            right: -16px;
        }

        .home-page .home-best-seller .home-seller-pagination .swiper-pagination-bullet {
            background: var(--brand-accent);
        }

/* Category and combo blocks inserted between Flash Sale and product rails. */

.home-featured-categories,
.home-combo-showcase {
    background: var(--gs-page);
    padding: 28px 0 8px;
}

.gunshop-section-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

    .gunshop-section-title h2 {
        color: #34363b;
        font-family: peb;
        font-size: 21px;
        margin: 0;
        text-transform: uppercase;
    }

        .gunshop-section-title h2 i {
            color: var(--gs-red);
            font-size: 1.75rem;
            margin-right: 5px;
        }

    .gunshop-section-title > a {
        border: 1px solid var(--gs-red);
        border-radius: 999px;
        color: var(--gs-red);
        font-size: 14px;
        padding: 4px 13px;
        background: rgb(215 0 24 / 0.3);
        text-transform: uppercase;
        font-weight: 600;
        display: flex;
        align-items: center;
        padding-right: 5px;
    }

        .gunshop-section-title > a:hover i {
            color: var(--gs-red);
        }

        .gunshop-section-title > a i {
            width: 1.5rem;
            height: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fff;
            border-radius: 9999px;
            margin-left: 8px;
        }

        .gunshop-section-title > a:hover {
            color: #fff;
            background: #d70018;
        }

.home-featured-category-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.home-featured-category {
    align-items: center;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--gs-ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    padding: 13px 8px 11px;
    text-align: center;
}

    .home-featured-category:hover {
        border-color: var(--gs-red);
        box-shadow: var(--gs-shadow);
        color: var(--gs-red);
        transform: translateY(-2px);
    }

.home-featured-category-icon {
    align-items: center;
    background: transparent;
    border-radius: 0;
    display: flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 10px;
    width: 52px;
}

    .home-featured-category-icon img {
        filter: brightness(0) saturate(100%) invert(13%) sepia(99%) saturate(5646%) hue-rotate(343deg) brightness(94%) contrast(106%);
        height: 44px;
        object-fit: contain;
        width: 44px;
    }

    .home-featured-category-icon i {
        color: var(--gs-red);
        display: none;
        font-size: 23px;
    }

.home-featured-category strong {
    font-family: psb;
    font-size: 15px;
    line-height: 1.35;
    min-height: 41px;
}

.home-featured-category small {
    color: var(--gs-muted);
    font-size: 13px;
    margin-top: 4px;
}

.home-combo-showcase {
    overflow: hidden;
    padding-bottom: 30px;
    position: relative;
}

    .home-combo-showcase:before {
        content: "";
        position: absolute;
        inset: 0px;
        background-position: bottom;
        background-image: url(//cdn.hstatic.net/themes/1000343028/1001502073/14/preorder-bg.png?v=28);
        --tw-rotate: 180deg;
        transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
        background-size: cover;
    }

    .home-combo-showcase > .container {
        position: relative;
        z-index: 1;
    }

.home-combo-slider-shell {
    position: relative;
}

.home-combo-slider {
    height: 612px;
    overflow: hidden;
    padding: 0 2px;
}

    .home-combo-slider .swiper-wrapper {
        align-content: flex-start;
    }

.home-combo-slide {
    height: 300px;
}

.home-combo-card {
    background: #fff;
    border-radius: 12px;
    color: #fff;
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

    .home-combo-card:after {
        background: linear-gradient(transparent 48%, rgba(0, 0, 0, .72));
        content: "";
        inset: 0;
        position: absolute;
    }

    .home-combo-card img {
        height: 100%;
        object-fit: cover;
        transition: transform .35s ease;
        width: 100%;
    }

    .home-combo-card:hover img {
        transform: scale(1.055);
    }

    .home-combo-card > span {
        background: rgba(57, 49, 52, .62);
        border: 1px solid rgba(255, 255, 255, .9);
        border-radius: 999px;
        bottom: 12px;
        color: #fff;
        font-family: psb;
        font-size: 13px;
        left: 12px;
        line-height: 18px;
        max-width: calc(100% - 24px);
        overflow: hidden;
        padding: 4px 9px;
        position: absolute;
        right: auto;
        text-overflow: ellipsis;
        white-space: nowrap;
        z-index: 2;
    }

.home-combo-discount {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 3;
}

    .home-combo-discount > span {
        background: var(--gs-red);
        border-radius: 0 0 7px 0;
        color: #fff;
        display: block;
        font-family: psb, Arial, sans-serif;
        font-size: 13px;
        padding: 5px 8px;
    }

.home-combo-prev,
.home-combo-next {
    background-color: rgba(255, 255, 255, .92);
    background-size: 9px 15px;
    border: 1px solid #d9dde3;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
    height: 46px;
    margin-top: -23px;
    width: 46px;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-combo-prev {
    left: -16px;
}

.home-combo-next {
    right: -16px;
}

    .home-combo-prev.swiper-button-disabled,
    .home-combo-next.swiper-button-disabled {
        opacity: .35;
    }

.home-discovery-tabs {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--gs-shadow);
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 20px;
    margin-top: 30px;
    padding: 7px;
}

/* Gunshop-style discovery rail: stay in the document flow, then pin below
   the fixed desktop header only after the rail reaches it. */

@media (min-width: 1024px) {
    article.wrapper:has(> .home-page),
    article.wrapper > .home-page {
        overflow: visible;
    }

    .home-discovery-tabs {
        position: -webkit-sticky;
        position: sticky;
        top: calc(var(--gs-fixed-menu-top, 78px) + 0px);
        z-index: 39;
    }
}

.home-discovery-tabs a {
    align-items: center;
    border-radius: 9px;
    color: #555960;
    display: flex;
    flex-direction: column;
    font-family: psb;
    font-size: 16px;
    gap: 6px;
    padding: 12px;
}

    .home-discovery-tabs a i {
        color: var(--gs-red);
        font-size: 23px;
    }

    .home-discovery-tabs a:hover,
    .home-discovery-tabs a.active {
        color: var(--gs-red);
        border-radius: 16px;
        background-color: color-mix(in srgb, var(--c-glass) 20%, transparent);
        z-index: -1;
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 10%), transparent), inset 2px 1px 0px -1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 90%), transparent), inset -1.5px -1px 0px -1px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 80%), transparent), inset -2px -6px 1px -5px color-mix(in srgb, var(--c-light) calc(var(--glass-reflex-light) * 60%), transparent), inset -1px 2px 3px -1px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 20%), transparent), inset 0px -4px 1px -2px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 10%), transparent), 0px 3px 6px 0px color-mix(in srgb, var(--c-dark) calc(var(--glass-reflex-dark) * 8%), transparent);
        transition: background-color 400ms cubic-bezier(1, 0.0, 0.4, 1), box-shadow 400ms cubic-bezier(1, 0.0, 0.4, 1), translate 400ms cubic-bezier(1, 0.0, 0.4, 1);
        -webkit-animation: scaleToggle3 440ms ease;
        animation: scaleToggle3 440ms ease;
    }

/* Product rails: slim headings, five equal commerce cards. */

.home-page .home-product-section {
    background: var(--gs-page) !important;
    padding: 14px 0 22px;
}

.home-page .product-combo-home {
    background: transparent;
    padding: 0;
}

.home-page .title-tab-menu-side {
    background: transparent;
}

.home-page .title-full-decor-menu {
    align-items: center;
    justify-content: flex-start;
}

    .home-page .title-full-decor-menu .decor-l-menu,
    .home-page .title-full-decor-menu .decor-r-menu {
        display: none;
    }

    .home-page .title-full-decor-menu h2,
    .home-page .title-full-decor-menu h4 {
        color: #34363b;
        font-family: peb;
        font-size: 20px;
        margin: 0;
        text-align: left;
        text-transform: uppercase;
    }

        .home-page .title-full-decor-menu h2:before,
        .home-page .title-full-decor-menu h4:before {
            content: none;
        }

.home-page .home-product-title-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    width: 40px;
}

    .home-page .home-product-title-icon img {
        height: 40px;
        object-fit: contain;
        width: 40px;
    }

    .home-page .home-product-title-icon:not(:has(img)):before {
        color: var(--gs-red);
        content: "\f3cd";
        font-family: "Font Awesome 5 Free";
        font-size: 20px;
        font-weight: 900;
    }

.home-page .title-tab-menu-side > span:not(.product-section-kicker) {
    display: none;
}

.home-page .product-section-kicker {
    color: var(--gs-red);
    font-size: 12px;
}

.home-page ul.list-tab-menu-item {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 8px;
    height: auto !important;
    margin: 12px 0 !important;
    overflow-x: auto;
    padding-bottom: 2px;
}

    .home-page ul.list-tab-menu-item li {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    .home-page ul.list-tab-menu-item a {
        align-items: center;
        background: #fff;
        border: 1px solid var(--gs-line);
        border-radius: 999px;
        color: #555960;
        box-sizing: border-box;
        display: inline-flex !important;
        font-size: 16px;
        height: 32px !important;
        line-height: 16px !important;
        min-height: 32px !important;
        overflow: hidden;
        padding: 7px 12px !important;
        position: relative;
        width: auto !important;
    }

        .home-page ul.list-tab-menu-item a:hover {
            background: #fff3f5;
            border-color: var(--gs-red);
            color: var(--gs-red);
        }

    .home-page ul.list-tab-menu-item li.show a {
        background: #fff;
        border-color: var(--gs-red);
        color: var(--gs-ink);
        padding-right: 25px !important;
    }

        .home-page ul.list-tab-menu-item li.show a:before {
            border-left: 25px solid transparent;
            border-top: 25px solid var(--gs-red);
            content: "";
            position: absolute;
            right: 0;
            top: 0;
        }

        .home-page ul.list-tab-menu-item li.show a:after {
            color: #fff;
            content: "\2713";
            font-size: 9px;
            font-weight: 800;
            position: absolute;
            right: 3px;
            top: 1px;
        }

.home-page .product-list-tab-menu {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-page .home-category-slider-shell {
    position: relative;
}

.home-page .home-category-products {
    overflow: hidden;
    padding: 3px 1px 12px;
}

    .home-page .home-category-products .product-list-tab-menu {
        display: flex !important;
        gap: 0 !important;
        grid-template-columns: none;
    }

    .home-page .home-category-products .product-item-show {
        height: auto;
    }

.home-page .home-category-prev,
.home-page .home-category-next {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(31, 38, 50, .14);
    height: 40px;
    margin-top: -20px;
    top: 42%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .home-category-prev {
    left: -18px;
}

.home-page .home-category-next {
    right: -18px;
}

    .home-page .home-category-prev:after,
    .home-page .home-category-next:after {
        color: var(--gs-red);
        font-size: 14px;
        font-weight: 800;
    }

    .home-page .home-category-prev.swiper-button-disabled,
    .home-page .home-category-next.swiper-button-disabled {
        opacity: 0;
        pointer-events: none;
    }

.home-page .product-item-show {
    margin: 0;
    width: auto;
}

    .home-page .product-item-show .WProItemSeller {
        background: #fff;
        border: 1px solid var(--gs-line);
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        height: 100%;
        overflow: hidden;
        padding: 0;
    }

        .home-page .product-item-show .WProItemSeller:hover {
            border-color: #ff9daf;
            box-shadow: var(--gs-shadow);
            transform: translateY(-2px);
        }

    .home-page .product-item-show .imgproduct {
        aspect-ratio: 1;
        background: #fff;
        padding: 10px;
        position: relative;
    }

    .home-page .product-item-show .home-product-discount {
        background: var(--gs-red);
        border-radius: 10px 0 10px 0;
        color: #fff;
        font-family: peb;
        font-size: 13px;
        left: -1px;
        line-height: 26px;
        min-width: 48px;
        padding: 0 8px;
        position: absolute;
        text-align: center;
        top: -1px;
        z-index: 3;
    }

    .home-page .product-item-show .imgproduct img {
        height: 100%;
        object-fit: contain;
        width: 100%;
    }

    .home-page .product-item-show .info-product {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 10px 12px 12px;
    }

    .home-page .product-item-show .title-product {
        min-height: 40px;
    }

        .home-page .product-item-show .title-product a {
            color: var(--gs-ink);
            display: -webkit-box;
            font-size: 16px;
            font-family: psb;
            line-height: 1.45;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

    .home-page .product-item-show .title-height-product {
        background: #f5f6f7;
        border: 1px solid #eceef1;
        border-radius: 8px;
        color: var(--gs-muted);
        font-size: 11px;
        line-height: 1.4;
        margin: 6px 0 8px;
        min-height: 34px;
        padding: 6px 7px;
    }

.home-page .home-category-products .title-height-product {
    display: block !important;
}

    .home-page .home-category-products .title-height-product:has(span:empty) {
        display: none !important;
    }

.home-page .product-item-show .cost-product span {
    color: var(--gs-red);
    font-family: peb;
}

.home-page .product-item-show .bottom-pro {
    margin-top: auto;
}

.home-page .product-item-show .cost-product {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

    .home-page .product-item-show .cost-product p {
        color: #858990;
        font-size: 12px;
        margin: 0;
        text-decoration: line-through;
    }

.home-page .product-item-show .WSellerStarProHome i {
    color: var(--gs-yellow);
}

.home-page .product-item-show .link-product-bests-eller a {
    border-radius: 50%;
}

.home-page .btn-detail-seller a {
    border-color: var(--gs-red);
    color: var(--gs-red);
}

.home-page .product-tabs-layout,
.home-page .full-product-home-tab {
    position: relative;
}

    .home-page .product-tabs-layout .btn-detail-seller {
        height: auto !important;
        margin: 0;
        padding: 0;
        position: absolute;
        right: 0;
        top: -120px;
        width: auto !important;
        z-index: 3;
    }

        .home-page .product-tabs-layout .btn-detail-seller a {
            border: 1px solid var(--gs-red);
            border-radius: 999px;
            color: var(--gs-red);
            font-size: 14px;
            padding: 4px 13px;
            background: rgb(215 0 24 / 0.3);
            text-transform: uppercase;
            font-weight: 600;
            display: flex;
            align-items: center;
            padding-right: 5px;
        }

            .home-page .product-tabs-layout .btn-detail-seller a:hover {
                background: var(--gs-red);
                color: #fff;
            }

.home-page .home-knowledge .list-child-link a {
    background: var(--gs-red);
    color: #fff;
}

.home-page .product-tabs-layout .btn-detail-seller a:hover i {
    color: var(--gs-red);
}

.btn-detail-seller a i {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 9999px;
    margin-left: 8px;
}
/* Promotional artwork and editorial/footer treatment. */

.home-page .home-promo-banners {
    background: var(--gs-page) !important;
    padding: 14px 0;
}

    .home-page .home-promo-banners .ListBannerTopHome,
    .home-page .home-promo-banners .ListBannerTopHome-full {
        gap: 14px;
    }

    .home-page .home-promo-banners a {
        border-radius: 12px;
        box-shadow: none;
        overflow: hidden;
    }

    .home-page .home-promo-banners img {
        width: 100%;
    }

.home-page .home-consultation {
    display: none;
}

.home-page .home-knowledge {
    background: var(--gs-page);
    margin-top: 20px;
    padding: 22px 0 34px;
}

    .home-page .home-knowledge .title-category-home {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        padding: 0;
    }

.home-page .home-knowledge-heading {
    align-items: center;
    display: flex;
    gap: 8px;
}

    .home-page .home-knowledge-heading i {
        color: var(--gs-red);
        font-size: 25px;
    }

.home-page .home-knowledge h2 {
    color: var(--gs-ink);
    font-family: peb;
    font-size: 19px;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

.home-page .home-knowledge .list-child-link a {
    border: 1px solid var(--gs-red);
    border-radius: 999px;
    color: var(--gs-red);
    font-size: 14px;
    padding: 4px 13px;
    background: rgb(215 0 24 / 0.3);
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding-right: 5px;
    gap: 5px;
}

    .home-page .home-knowledge .list-child-link a:hover {
        background: var(--gs-red);
        color: #fff;
    }

        .home-page .home-knowledge .list-child-link a:hover span {
            color: var(--gs-red);
        }

    .home-page .home-knowledge .list-child-link a span {
        width: 1.5rem;
        height: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 9999px;
        font-size: 15px;
        line-height: normal;
    }

.home-page .home-knowledge-slider-shell {
    position: relative;
}

.home-page .home-knowledge-slider {
    overflow: hidden;
    padding: 2px 1px 10px;
}

.home-page .home-knowledge .list-news.swiper-wrapper {
    display: flex !important;
    gap: 0 !important;
    grid-template-columns: none !important;
}

.home-page .home-knowledge-slider:not(.swiper-container-initialized) .list-news {
    visibility: hidden;
}

.home-page .home-knowledge .home-knowledge-card {
    background: #fff;
    border: 1px solid var(--gs-line) !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column;
    height: auto;
    overflow: hidden;
    padding: 0 !important;
    padding-bottom: 10px !important;
}

.home-page .home-knowledge .news1 > a {
    color: inherit;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.home-page .home-knowledge .news1-image,
.home-page .home-knowledge .newsnth-image {
    aspect-ratio: 2 / 1.4;
    border-radius: 0;
    height: auto !important;
    order: 1;
    overflow: hidden;
    width: 100% !important;
}

    .home-page .home-knowledge .newsnth-image a {
        display: block;
        height: 100%;
    }

    .home-page .home-knowledge .news1-image img,
    .home-page .home-knowledge .newsnth-image img {
        height: 100% !important;
        object-fit: cover;
        transition: transform .3s ease;
        width: 100% !important;
    }

.home-page .home-knowledge .home-knowledge-card:hover img {
    transform: scale(1.035);
}

.home-page .home-knowledge .news1-name,
.home-page .home-knowledge .newsnth-name {
    min-height: 50px;
    order: 2;
    padding: 10px 12px 0;
}

    .home-page .home-knowledge .news1-name h3,
    .home-page .home-knowledge .newsnth-name a {
        color: var(--gs-ink);
        display: -webkit-box;
        font-family: psb;
        font-size: 16px;
        line-height: 1.45;
        margin: 0;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

.home-page .home-knowledge .WDateViewNewHome {
    align-items: center;
    color: #777c84;
    display: flex !important;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 7px;
    margin: 0 !important;
    min-height: 22px;
    order: 3;
    padding: 4px 12px 0;
}

    .home-page .home-knowledge .WDateViewNewHome:before {
        color: var(--gs-red);
        content: 'Chia sẻ - Tư vấn';
        font-family: psb;
    }

    .home-page .home-knowledge .WDateViewNewHome .WDateNewItem:first-of-type:before {
        color: #b8bbc0;
        content: "|";
        margin-right: 7px;
    }

    .home-page .home-knowledge .WDateViewNewHome .decorSvgNewItem,
    .home-page .home-knowledge .WDateViewNewHome .WDateNewItem:nth-of-type(2) {
        display: none !important;
    }

    .home-page .home-knowledge .WDateViewNewHome .WDateNewItem:first-of-type {
        align-items: center;
        display: flex;
    }

.home-page .home-knowledge .desNewItemHome,
.home-page .home-knowledge .desNewItemHomeR {
    color: #646970;
    display: -webkit-box !important;
    font-size: 15px;
    line-height: 1.45;
    margin: 0 !important;
    min-height: 64px;
    order: 4;
    overflow: hidden;
    padding: 5px 12px 0px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

    .home-page .home-knowledge .desNewItemHome span,
    .home-page .home-knowledge .desNewItemHomeR p {
        color: inherit;
        font-size: inherit;
        line-height: inherit;
        margin: 0;
    }

.home-page .home-knowledge .link-new-l-home {
    display: none;
}

.home-page .home-knowledge-prev,
.home-page .home-knowledge-next {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(31, 38, 50, .14);
    height: 40px;
    margin-top: -20px;
    top: 43%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .home-knowledge-prev {
    left: -18px;
}

.home-page .home-knowledge-next {
    right: -18px;
}

    .home-page .home-knowledge-prev:after,
    .home-page .home-knowledge-next:after {
        color: var(--gs-red);
        font-size: 14px;
        font-weight: 800;
    }

    .home-page .home-knowledge-prev.swiper-button-disabled,
    .home-page .home-knowledge-next.swiper-button-disabled {
        opacity: 0;
        pointer-events: none;
    }

footer .middle {
    background: #fff;
    color: #51545a;
}

footer .foot {
    background: #f7f7f8;
    color: #777;
}

footer,
footer p,
footer span,
footer .text-footer,
footer .text-footer p,
footer .title-footer-compa h2,
footer .menu-footer .title-footer {
    color: #51545a;
}

    footer .title-footer-compa h2,
    footer .menu-footer .title-footer {
        font-family: peb;
        text-transform: uppercase;
    }

    footer .text-footer li a {
        color: #63666c;
    }

        footer .text-footer li a:hover {
            color: var(--gs-red);
        }

/* Gunshop-style footer. Content remains bound to the current WebForms data. */
.gs-footer {
    background: #fff;
    color: #343a40;
    font-family: InterR, Arial, sans-serif;
    box-shadow: 0 -3px 15px rgba(30, 41, 59, .08);
}

    .gs-footer .container {
        overflow: visible;
    }

.gs-footer-store {
    background: var(--gs-red);
    color: #fff;
    padding: 16px 0;
    display: none;
}

.gs-footer-store-inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 44px;
}

.gs-footer-store strong {
    color: #fff;
    font-family: InterSB, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.gs-footer-store a {
    align-items: center;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 999px;
    color: var(--gs-red);
    display: inline-flex;
    font-family: InterSB, Arial, sans-serif;
    font-size: 15px;
    gap: 10px;
    min-height: 42px;
    padding: 0 20px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

    .gs-footer-store a:hover {
        background: transparent;
        color: #fff;
        transform: translateX(3px);
    }

.gs-footer .gs-footer-main {
    background: #fff;
    border: 0;
    color: #343a40;
    font-size: 15px;
    padding: 16px 0;
}

    .gs-footer .gs-footer-main:before {
        content: none;
    }

.gs-footer-grid {
    display: flex;
    gap: 16px;
}

.gs-footer-column {
    box-sizing: border-box;
    padding: 0 8px;
}

    .gs-footer-column:nth-child(1) {
        width: 385px;
    }

    .gs-footer-column:nth-child(2) {
        width: 200px;
    }

.gs-footer .title-footer,
.gs-footer-subtitle {
    color: #343a40;
    font-family: InterSB, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin: 8px 0;
    overflow: visible;
    padding: 0;
    text-transform: uppercase;
}

    .gs-footer .title-footer:after {
        content: none;
    }

.gs-footer-subtitle {
    margin-top: 40px;
}

.gs-footer .text-footer {
    display: block;
    line-height: 1.55;
    margin: 0;
    padding-left: 18px;
}

.gs-footer-links li {
    padding: 0;
    transition: none;
}

    .gs-footer-links li:before {
        content: none;
    }

    .gs-footer-links li:hover {
        transform: none;
    }

.gs-footer .gs-footer-links a {
    color: #51545a;
    display: inline-block;
    font-family: InterR, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    padding: 2px 0;
}

    .gs-footer .gs-footer-links a:hover {
        color: var(--gs-red);
        text-decoration: underline;
    }

.gs-footer-contact-line {
    align-items: flex-start;
    color: #51545a;
    display: flex;
    gap: 8px;
    line-height: 1.5;
    margin-bottom: 5px;
}

    .gs-footer-contact-line i {
        color: var(--gs-red);
        flex: 0 0 16px;
        margin-top: 4px;
        text-align: center;
    }

.gs-footer-hotline a {
    color: var(--gs-red);
    font-family: InterSB, Arial, sans-serif;
    font-weight: 600;
}

.gs-footer .w-bocongthuong {
    margin: 14px 0 0;
}

    .gs-footer .w-bocongthuong img {
        display: block;
        height: auto;
        max-width: 148px;
    }

.gs-footer-payment {
    max-width: 304px;
    overflow: hidden;
}

    .gs-footer-payment img {
        display: block;
        height: 44px;
        max-width: 100%;
        object-fit: contain;
        object-position: left center;
        width: auto;
    }

.gs-footer .gs-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .gs-footer .gs-footer-social a {
        align-items: center;
        background: #f1f3f5;
        border: 1px solid #e2e5e9;
        border-radius: 50%;
        color: var(--gs-red);
        display: inline-flex;
        font-size: 17px;
        height: 38px;
        justify-content: center;
        line-height: 1;
        margin: 0;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
        width: 38px;
    }

        .gs-footer .gs-footer-social a:hover {
            background: var(--gs-red);
            color: #fff;
            transform: translateY(-2px);
        }

.gs-footer-shipping {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

    .gs-footer-shipping span {
        align-items: center;
        background: #fff;
        border: 1px solid #e2e5e9;
        border-radius: 6px;
        color: #51545a;
        display: flex;
        font-size: 13px;
        gap: 7px;
        min-height: 42px;
        padding: 5px 8px;
    }

    .gs-footer-shipping i {
        color: var(--gs-red);
        font-size: 18px;
    }

.gs-footer .gs-footer-legal {
    background: #f8f8f8;
    border-top: 1px solid #eceef0;
    color: #51545a;
    font-family: InterR, Arial, sans-serif;
    font-size: 12px;
    padding: 16px 0;
}

.gs-footer-company h2 {
    color: #343a40;
    font-family: InterSB, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.gs-footer-company .text-footer,
.gs-footer-company .text-footer * {
    color: #51545a;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    display: inline-block;
    text-align: center;
}

    .gs-footer-company .text-footer p {
        margin: 0 5px;
    }

    .gs-footer-company .text-footer div:before {
        content: none;
    }

.gs-footer-bottom-row {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 14px;
}

.gs-footer .text-coppyright a {
    color: var(--gs-red);
}

.gs-footer-statistics {
    display: flex;
    gap: 18px;
}

    .gs-footer-statistics span,
    .gs-footer-statistics i {
        color: #777;
    }

    .gs-footer-statistics i {
        margin-right: 4px;
    }

.gs-footer .sr-only {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media (max-width: 1000px) {
    .gs-footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }
}

@media (max-width: 600px) {
    .gs-footer-store {
        padding: 14px 0;
    }

    .home-page .home-product-section {
        padding-bottom: 0;
    }

    .gs-footer-company .text-footer, .gs-footer-company .text-footer * {
        font-size: 13px;
    }

    .home-page .home-knowledge .WDateViewNewHome {
        flex-wrap: nowrap;
        font-size: 11px;
        padding-right: 0;
    }

    .home-page .home-best-seller .home-seller-card h3.title-product a {
        font-size: 14px;
    }

    .home-page .home-knowledge {
        padding-top: 0;
        padding-bottom: 0;
    }

    .gs-footer-store-inner {
        align-items: center;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .gs-footer-store strong {
        font-size: 16px;
    }

    .gs-footer-store a {
        min-height: 38px;
        padding: 0 16px;
    }

    .gs-footer .gs-footer-main {
        padding: 16px 0;
    }

    .gs-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
    }

    .gs-footer-column {
        border-bottom: 1px solid #eceef0;
        padding: 0 0 18px;
    }

        .gs-footer-column:nth-child(1) {
            width: 100%;
        }

        .gs-footer-column:nth-child(2) {
            width: 100%;
        }

        .gs-footer-column:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

    .gs-footer .title-footer,
    .gs-footer-subtitle {
        font-size: 15px;
    }

    .gs-footer-bottom-row,
    .gs-footer-statistics {
        align-items: center;
        flex-direction: column;
    }

    .gs-footer-statistics {
        gap: 5px;
        margin-top: 8px;
    }
}

.cd-top,
.contact-fixed .icon {
    background-color: var(--gs-red);
}

@media (max-width: 1100px) {
    .middle-header .WHotProHeader {
        display: none;
    }

    .home-page .home-best-seller .home-seller-card .link-product-bests-eller a {
        height: 32px;
    }

    .home-page .home-best-seller .home-seller-card .cost-product span {
        font-size: 13px;
    }

    .home-page .home-best-seller .home-seller-card .cost-product p {
        font-size: 13px;
    }

    .cate-pro-list-home {
        min-width: 220px;
        width: 220px;
    }

    .widget-c-banner-cate-home {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .side-banner-home {
        min-height: 547px;
    }

    .gs-category-mega {
        width: calc(100vw - 220px - 32px);
    }

    .home-quick-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-featured-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-page .product-list-tab-menu {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        width: calc(100% - 20px);
    }

    .home-page .title-full-decor-menu h2, .home-page .title-full-decor-menu h4 {
        font-size: 18px;
    }

    .gs-footer .text-footer {
        display: flex;
        line-height: 1.55;
        margin: 0;
        padding-left: 18px;
        flex-wrap: wrap;
        gap: 0 14px;
        list-style: circle;
    }

    .home-page .home-knowledge .news1-name h3, .home-page .home-knowledge .newsnth-name a {
        font-size: 14px;
    }

    .home-page .home-product-title-icon {
        align-items: center;
        display: inline-flex;
        flex: 0 0 32px;
        height: 32px;
        justify-content: center;
        width: 32px;
    }

        .home-page .home-product-title-icon img {
            height: 32px;
            object-fit: contain;
            width: 32px;
        }

    .home-page .home-best-seller .home-seller-card .home-cart-label {
        font-size: 10px;
    }

    .header {
        display: none;
    }

    .home-page .home-best-seller:before {
        content: "";
        position: absolute;
        inset: 0px;
        background-position: top;
        background-image: url(https://cdn.hstatic.net/themes/1000343028/1001502073/14/preorder-bg.png?v=28);
        background-size: cover;
        width: 100%;
        height: 82%;
        background-repeat: no-repeat;
    }

    .gs-category-scrim {
        display: none;
    }

    .header-mobile,
    .relative-head-top-mobile {
        background: var(--gs-red-dark);
    }

        .header-mobile .WHeaderContentTop-mobile {
            min-height: 62px;
        }

        .header-mobile .logo img {
            max-height: 44px;
        }

    .bottom-header-mobile {
        background: var(--gs-red);
    }

    .w-banner-cate-home {
        padding: 10px 0 14px;
    }

        .w-banner-cate-home .container {
            width: 100%;
        }

    .widget-c-banner-cate-home {
        display: block;
    }

    .cate-pro-list-home {
        display: none;
    }

    .gs-category-mega {
        display: none;
    }

    .side-banner-home {
        border-radius: 9px;
        min-height: 0;
    }

        .side-banner-home #slideshow,
        .side-banner-home .swiper-wrapper,
        .side-banner-home .swiper-slide,
        .side-banner-home .swiper-slide a {
            height: auto;
        }

        .side-banner-home #slideshow {
            height: auto !important;
        }

        .side-banner-home img {
            height: auto;
            object-fit: cover;
        }

    .home-quick-links {
        gap: 8px;
        grid-template-columns: repeat(4, 1fr);
        margin-top: 10px;
    }

        .home-quick-links a {
            flex-direction: column;
            font-size: 10px;
            gap: 5px;
            min-height: 68px;
            padding: 7px 3px;
        }

        .home-quick-links i {
            font-size: 19px;
        }

    .home-page .home-best-seller {
        padding: 24px 0 30px;
    }

        .home-page .home-best-seller h2 {
            font-size: 25px;
        }

        .home-page .home-best-seller .home-seller-view-all a {
            font-size: 12px;
            width: max-content !important;
        }

    .home-featured-categories,
    .home-combo-showcase {
        padding-top: 22px;
    }

    .gunshop-section-title h2 {
        font-size: 17px;
    }

    .home-featured-category-grid {
        gap: 8px;
        grid-template-columns: repeat(4, 1fr);
    }

    .gunshop-section-title > a {
        font-size: 12px;
        padding: 3px 13px;
        padding-right: 3px;
    }

    .home-featured-category {
        min-height: 118px;
        padding: 10px 5px;
    }

    .home-featured-category-icon {
        height: 46px;
        width: 46px;
    }

    .home-featured-category strong {
        font-size: 11px;
        min-height: auto;
    }

    .home-featured-category small {
        font-size: 12px;
    }

    .home-combo-slider {
        height: 488px;
    }

    .home-combo-slide {
        height: 240px;
    }

    .home-discovery-tabs {
        overflow-x: auto;
    }

        .home-discovery-tabs a {
            font-size: 12px;
            min-width: 85px;
            padding: 8px 3px;
        }

    .home-page .product-list-tab-menu {
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
    }

    .home-discovery-tabs a:hover, .home-discovery-tabs a.active {
        z-index: 0;
    }

    .home-page .home-category-products .product-list-tab-menu {
        gap: 0;
    }

    .home-page .home-category-prev,
    .home-page .home-category-next {
    }

    .home-page .WProItemSeller .link-product-bests-eller a {
        width: 1.4rem;
        height: 1.2rem;
    }

    .home-page .product-tabs-layout .btn-detail-seller {
        display: flex;
        justify-content: flex-end;
        margin-top: 0 !important;
        top: -99px;
    }

        .home-page .product-tabs-layout .btn-detail-seller a {
            padding: 3px 3px 3px 11px;
        }

    .home-page .home-best-seller .home-seller-card .imgproduct {
        flex: 0 0 210px;
        height: 210px;
        overflow: hidden;
        padding: 8px;
        position: relative;
    }

    .home-page .product-item-show .info-product {
        padding: 8px;
    }

    .home-page .product-item-show .title-product a {
        font-size: 15px;
        line-height: 1.5;
    }

    .home-page .home-promo-banners .ListBannerTopHome {
        grid-template-columns: 1fr;
    }

    .home-page .home-knowledge h2 {
        font-size: 17px;
    }

    .home-page .home-knowledge-heading i {
        font-size: 22px;
    }

    .home-page .home-knowledge-prev,
    .home-page .home-knowledge-next {
    }
}

@media (max-width: 390px) {
    .home-quick-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .home-page .home-best-seller .home-seller-card h3.title-product a {
        font-size: 14px;
    }

    .home-page .home-best-seller .home-seller-card h3.title-product {
        min-height: 45px;
    }

    .home-featured-category small {
        font-size: 13px;
    }

    .home-featured-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-featured-category strong {
        font-size: 13px;
    }

    .home-discovery-tabs {
        grid-template-columns: repeat(5, 100px);
    }
}