:root {
    --white-color: #fff;
    --black-color: #000;
    --blue-color: #0394ff;
    --dark-red-color: #841618;
    --red-color: #ed2024;
    --orange-color: #f57e20;
    --grey-color: #999;
    --main-font: 'Roboto';
    --transition: all .3s ease-in-out;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto.ttf');
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--white-600);
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: var(--white-600);
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: var(--primary-600);
}

ul,
ol {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--black-color);
    transition: var(--transition);
}
.post-detail-content figcaption {
    color: #a71713;
    font-weight: 600;
    text-align: center;
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 5px;
}
a:hover,
a:focus {
    text-decoration: none;
    color: var(--blue-color);
}

.form-control {
    border-radius: 5px;
}

.form-control:focus,
.form-control:active {
    outline: none;
    box-shadow: none;
    border-color: #dee2e6;
}

body {
    background-color: var(--white-color);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.618;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    font-family: var(--main-font);
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

p {
    margin: 0;
}

/* HEADER CSS */
header {
    position: relative;
    transition: var(--transition);
    z-index: 99;
}
header.fixed{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: var(--transition);
    margin-top: -111px;
    z-index: 90;
}
header .cart-contents {
    position: relative;
}

header .cart-count {
    position: absolute;
    top: -3px;
    right: -5px;
    font-size: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red-color);
    color: var(--white-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-top {
    background: var(--dark-red-color);
    padding: 20px 0;
    height: 111px;
}

.header-top .top-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.header-logo {
    max-width: 200px;
}

.header-search {
    position: relative;
}

.header-search .search-input {
    position: relative;
}

.header-search .search-input .form-control {
    border: 1px solid var(--white-color);
    border-radius: 30px;
    height: 40px;
    box-shadow: none;
    background: transparent;
    color: var(--white-color);
    overflow: hidden;
}

.header-search .search-input .form-control:focus+.search-input-icon {
    opacity: 1;
}

.header-search .search-input .form-control::placeholder {
    opacity: .5;
    color: var(--white-color);
}

.header-search .search-input .search-input-icon {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    opacity: .5;
}

.header-search-result {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white-color);
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    display: none;
    z-index: 99;
}

.header-search-result.open {
    display: block;
}

.header-search-result .search-result-item {
    display: flex;
    font-size: 12px;
    line-height: 16px;
    padding: 10px 8px;
    border-bottom: 1px solid #ccc;
}

.header-search-result .search-result-item:hover {
    background: #f5f5f5;
}

.header-search-result .search-result-item .item-image {
    width: 50px;
    margin-right: 10px;
}

.header-search-result .search-result-item .item-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.header-search-result .search-result-item .item-price {
    color: var(--black-color);
    padding: 2px 0;
}

.header-search-result .no-result {
    display: flex;
    font-size: 12px;
    line-height: 16px;
    padding: 10px 8px;
    transition: var(--transition);
}

.header-search-result .no-result:hover {
    background: #f5f5f5;
}

.header-bottom {
    position: sticky;
    top: 0;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
    background: var(--black-color);
}

.header-nav {
    position: relative;
    list-style-type: none;
    display: flex;
    align-items: center;
}

.header-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: var(--white-color);
}

.header-nav .nav-link span {
    display: flex;
    align-items: center;
}

.header-nav .nav-link span i {
    margin-left: 10px;
    font-size: 12px;
}

.header-nav .nav-item:hover .nav-link {
    color: var(--blue-color);
}

.header-nav .nav-item {
    flex: 1;
}

.header-nav .nav-link img {
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.has-dropdown .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    list-style-type: none;
    background: var(--black-color);
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 20px;
    min-width: 900px;
    border-radius: 0 0 15px 15px;
    display: none;
    transition: var(--transition);
    z-index: 2;
}

.has-dropdown:hover .nav-dropdown {
    display: grid;
}

.has-dropdown .nav-dropdown li ul li {
    margin-bottom: 5px;
    list-style-type: none;
}

.has-dropdown .nav-dropdown a {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white-color);
    font-size: 14px;
    line-height: 14px;
    padding: 6px 10px 6px 20px;
    width: fit-content;
}

.has-dropdown .nav-dropdown a i {
    font-size: 10px;
    margin-right: 10px;
}

.has-dropdown .nav-dropdown a:hover {
    color: var(--blue-color);
}

.has-dropdown .nav-dropdown .dropdown-title {
    display: block;
    color: var(--white-color);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.header-actions-right a,
.header-actions-right .search-mb-btn {
    color: var(--white-color);
    font-size: 24px;
    margin-left: 15px;
    transition: var(--transition);
    line-height: normal;
}

.header-actions-right a:hover,
.header-actions-right .search-mb-btn:hover {
    color: var(--red-color);
}

.header-actions-right a.user {
    margin-left: 0;
    padding-right: 15px;
    border-right: 1px solid var(--white-color);
}

.menu-mb-btn {
    color: var(--white-color);
    transition: var(--transition);
    margin-left: 15px;
    font-size: 24px;
}

.menu-mb-btn:hover,
.header-mb-close:hover {
    color: var(--red-color);
}

.header-mb-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--white-color);
    transition: var(--transition);
    margin-left: 15px;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 24px;
    line-height: normal;
}

/* MAIN CSS */
.section {
    padding-top: 60px;
}

.banner .swiper .swiper-button-next::after,
.banner .swiper .swiper-button-prev::after {
    font-family: inherit;
    text-indent: -9999px;
}

.banner .swiper .swiper-button-next,
.banner .swiper .swiper-button-prev {
    background-image: url(../images/bg_direction_nav.png);
    background-repeat: no-repeat;
    opacity: 0;
    transition: var(--transition);
}

.banner .swiper .swiper-button-next {
    background-position: right 0;
    text-align: left;
}

.banner .swiper .swiper-button-prev {
    background-position: left 0;
    left: 10px;
}

.banner .swiper:hover .swiper-button-next,
.banner .swiper:hover .swiper-button-prev {
    opacity: 1;
}

.banner .container {
    position: relative;
}

.banner-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100px;
    z-index: 2;
}

.banner .btn {
    margin: unset;
}

.banner-content .banner-title {
    color: var(--white-color);
    background-color: var(--black-color);
    border-radius: 5px;
    font-size: 18px;
    padding: 15px 25px;
    width: 60%;
}

h2.title {
    font-size: 31px;
    padding-bottom: 30px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

h2.title.underline {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #BDBDBD;
}

.section.box-icon {
    padding-bottom: 60px;
    background: #efefef;
}

.section.box-icon .box-item {
    background: var(--white-color);
    border: 1px solid #dddddd;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 4fr;
}

.section.box-icon .box-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-color);
    color: var(--white-color);
    font-size: 18px;
}

.section.box-icon .box-item .title {
    font-size: 20px;
    margin-bottom: 15px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-bottom: 2px solid #dadada;
    margin-bottom: 30px;
}

.section-heading h2.title {
    position: relative;
    background: var(--dark-red-color);
    font-size: 18px;
    padding: 10px;
    color: var(--white-color);
}

.section-heading h2.title::before {
    content: '';
    position: absolute;
    left: 100%;
    border-bottom: 42px solid var(--dark-red-color);
    border-right: 42px solid transparent;
}

.section-heading .nav-tabs .nav-link {
    padding: 0;
    color: var(--black-color);
    border: none;
}

.section-heading .nav-tabs .nav-link.active,
.section-heading .nav-tabs .nav-link:hover {
    border: none;
    color: var(--blue-color);
}

.section-heading .nav-tabs .nav-item:not(:last-child) {
    position: relative;
    padding-right: 10px;
    margin-right: 10px;
}

.section-heading .nav-tabs .nav-item:not(:last-child)::before {
    content: '\2f';
    font-family: Font Awesome\ 6 Pro;
    font-weight: 400;
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    font-size: 12px;
}

h2.title img {
    margin-right: 5px;
    width: 40px;
}

.btn:active,
.btn.style-2:active,
.btn:first-child:active {
    border-color: unset;
    background: var(--black-color);
    color: var(--white-color);
}

.btn:focus,
.btn.style-2:focus {
    color: var(--white-color);
}

.product {
    position: relative;
    border: 1px solid #dee2e6;
    padding: 15px;
}

.product-content .tags {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.product-content .tags>div {
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    color: var(--white-color);
    padding: 2px 6px;
    line-height: normal;
}

.product-content .tags>div:not(:last-child) {
    margin-right: 10px;
}

.product-content .sale-tag {
    background: var(--red-color);
}

.product-content .installment-tag {
    background: var(--orange-color);
}

.product .new {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--white-color);
    background: var(--blue-color);
    padding: 6px 13px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: 700;
    line-height: normal;
}

.detail-section .new {
    display: inline-block;
    color: var(--white-color);
    background: var(--blue-color);
    padding: 6px 13px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 15px;
}

.detail-section .product-content .price {
    min-height: unset;
    font-size: 24px;
    color: var(--red-color);
    font-weight: 600;
    line-height: normal;
    margin-bottom: 15px;
}

.detail-section .product-content .price del {
    color: var(--black-color);
}

.detail-section .related-product .product-content .price {
    min-height: 45px;
    font-size: 16px;
    line-height: normal;
}

.product-content {
    margin-top: 15px;
}

.product-content .price {
    position: relative;
    font-size: 16px;
    min-height: 45px;
}

.product-content .price span {
    font-size: 19px;
    font-weight: 700;
    color: var(--red-color);
    display: block;
    line-height: normal;
}

.product-content .price del {
    font-size: 14px;
}

.product-content .price span.sale {
    color: #b7b7b7;
    text-decoration: line-through;
    margin-top: -5px;
    display: block;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 20px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.grid-5.style-2 {
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.product.large-product {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.product.large-product .product-image img {
    height: 100%;
}

.product.large-product .product-content {
    margin-top: 0;
}

.product .group-sale p {
    color: var(--red-color);
    font-style: italic;
    margin-bottom: 10px;
    font-weight: 600;
}

.product .group-sale p i {
    font-size: 12px;
    margin-left: 10px;
}

.product .group-sale ul {
    list-style-position: inside;
    padding-left: 30px;
}

.product .group-info ul {
    list-style-type: none;
    font-style: italic;
}

.product .group-info ul li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.product .group-info ul li::before {
    content: '\f00c';
    font-family: Font Awesome\ 6 Pro;
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 12px;
}

.product-image {
    text-align: center;
}

.product-image img {
    height: 200px;
    object-fit: contain;
}

.product-content .title h3 {
    font-size: 16px;
    font-weight: 700;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    margin-top: 40px;
    background: var(--dark-red-color);
    border-radius: 3px;
    padding: 10px 25px;
    color: var(--white-color);
    transition: var(--transition);
    line-height: normal;
}

.btn.style-2 {
    background: var(--orange-color);
}

.btn:hover,
.btn.style-2:hover {
    background: var(--black-color);
    color: var(--white-color);
}

.btn i {
    margin-right: 10px;
}

.brands .swiper-slide {
    text-align: center;
}

.brands .swiper-slide img {
    width: auto;
}

.brands .swiper-button-next:after,
.brands .swiper-button-prev:after {
    font-size: 12px;
}

.brands .swiper-button-next,
.brands .swiper-button-prev {
    top: 50%;
    width: 20px;
    height: 100%;
    transform: translateY(-50%);
    color: var(--black-color);
    font-weight: 700;
    background: var(--white-color);
    margin-top: 0;
}

.brands .swiper-button-next:hover,
.brands .swiper-button-prev:hover {
    color: var(--blue-color);
}

.brands .swiper-button-prev {
    left: 0;
}

.brands .swiper-button-next {
    right: 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 25px;
    row-gap: 25px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 25px;
    row-gap: 25px;
}

.post-item {
    position: relative;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.post-meta {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #a1a1a1;
}

.post-meta>div:not(:last-child) {
    margin-right: 15px;
}

.post-meta i {
    font-size: 12px;
    margin-right: 2px;
}

.post-thumb {
    border-radius: 3px;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-thumb img {
    transition: var(--transition);
}

.post-thumb:hover img {
    transform: scale(1.2);
}

.post-section .post-title {
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.post-section .post-title:hover,
.post-section .post-title:focus {
    color: var(--blue-color);
}

.post-section .post-title h3 {
    margin-bottom: 0;
    font-size: 20px;
}
.post-section .post-desc{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}
.recommened-tags {
    margin-top: 40px;
    padding: 20px 30px;
    background: #f7f7f7;
}

.recommened-tags a {
    margin-left: 15px;
    position: relative;
}

.recommened-tags a::before {
    content: '\2f';
    font-family: Font Awesome\ 6 Pro;
    font-weight: 400;
    position: absolute;
    left: -13px;
    top: 0;
    font-size: 12px;
}

.recommened-tags strong {
    margin-right: 15px;
}

.fixed-hotline {
    position: fixed;
    left: 30px;
    bottom: 50px;
    z-index: 80;
}

.no-gap {
    column-gap: unset;
    row-gap: unset;
}

@keyframes pulse1 {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse2 {
    50% {
        transform: scale(0.9);
        opacity: .7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse3 {

    10%,
    20% {
        transform: scale(0.9) rotate(-3deg);
    }

    30%,
    50%,
    70%,
    90% {
        transform: scale(1.1) rotate(3deg);
    }

    40%,
    60%,
    80% {
        transform: scale(1.1) rotate(-3deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.fixed-hotline .pulse1 {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -40px;
    margin-left: -40px;
    border-radius: 50%;
    border: 2px solid #ffcd02;
    animation-name: pulse1;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}

.fixed-hotline .pulse2 {
    width: 60px;
    height: 60px;
    background: rgba(255, 205, 2, 0.4);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    animation-name: pulse2;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

.fixed-hotline a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--white-color);
}

.fixed-hotline a::before {
    content: '';
    background: #ffcd02;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    animation-name: pulse3;
    animation-duration: .5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.fixed-hotline a i {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    padding: 10px 0;
    margin: 0;
    background: #f6f6f6;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    flex-wrap: wrap;
}

.breadcrumb ul li {
    position: relative;
}

.breadcrumb ul li:not(:last-child) {
    margin-right: 20px;
}

.breadcrumb ul li a i {
    font-size: 13px;
}

.breadcrumb ul li a {
    color: var(--black-color);
}

.breadcrumb ul li a:hover {
    color: var(--blue-color);
}

.breadcrumb ul li span.active {
    color: var(--blue-color);
}

.breadcrumb ul li:not(:last-child)::before {
    content: '\f054';
    font-family: Font Awesome\ 6 Pro;
    font-weight: 400;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--black-color);
}

.product-header {
    margin-bottom: 20px;
}

.product-filter {
    padding: 20px;
    border: 1px solid #ddd;
}

.product-filter .filter-item {
    margin-bottom: 30px;
}
.product-filter .filter-item .brand-grid{
    display: grid;
    grid-template-columns: repeat(7,1fr);
    column-gap: 10px;
    row-gap: 10px;
}
.product-filter .filter-item .brand-grid .brand-item{
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    padding: 10px;
    border: 1px solid transparent;
}
.product-filter .filter-item .brand-grid .brand-item img{
    width: 100px;
}
.product-filter .filter-item .brand-grid .brand-item:hover,
.product-filter .filter-item .brand-grid .brand-item.active{
    color: var(--dark-red-color);
    border-color: var(--dark-red-color);
}
.product-filter .filter-title {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 18px;
}
.detail-section .product-content .color-option{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.detail-section .product-content .color-option .item{
    width: fit-content;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 5px 30px 5px 10px;
    cursor: pointer;
    transition: var(--transition);
}
.detail-section .product-content .color-option .item:hover,
.detail-section .product-content .color-option .item.active{
    border-color: var(--red-color);
}
.detail-section .product-content .color-option .item:not(:last-child){
    margin-right: 10px;
}
.detail-section .product-content .color-option .item span{
    font-size: 14px;
    display: block;
    line-height: normal;
    margin-bottom: 0;
}
.select2-container {
    width: 100% !important;
}

.product-filter .select2-container .select2-selection--single {
    height: 35px;
}

.product-filter .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 35px;
}

.product-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 35px;
}

.product-filter .color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}

.product-filter .color-item {
    position: relative;
}

.product-filter .color-item input {
    position: absolute;
    left: 100%;
    opacity: 0;
    visibility: hidden;
}

.product-filter .color-square {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #dee2e6;
}

.product-filter .color-square::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border: 1px solid var(--red-color);
    opacity: 0;
    visibility: hidden;
}

.product-filter .color-square.active::before {
    opacity: 1;
    visibility: visible;
}

.product-filter .color-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: fit-content;
}

.product-filter .range-value input {
    padding: 0;
    border: none;
    margin-bottom: 25px;
}
.product-filter .btn{
    margin: 15px 0 0 0;
}
.ui-slider .ui-slider-handle {
    border-radius: 50%;
    background: var(--blue-color);
    top: 50%;
    transform: translateY(-50%);
}

.ui-slider-horizontal .ui-slider-range {
    background: var(--blue-color);
}

.ui-slider .ui-slider-handle:focus-visible {
    outline: none;
    box-shadow: none;
}

.ui-widget.ui-widget-content {
    height: 8px;
    border: 1px solid #dee2e6;
}

.close-filter {
    font-size: 18px;
    width: fit-content;
    margin-left: auto;
}

.product-filter-mb {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 25px;
}

.product-filter-mb .open-filter-btn {
    padding: 5px 10px;
    background: var(--dark-red-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    cursor: pointer;
    width: fit-content;
    transition: all .3s ease-in-out;
}

.product-filter-mb .open-filter-btn:hover {
    background: var(--black-color);
}

.product-filter-mb .open-filter-btn i {
    margin-right: 5px;
}

.detail-section .product-preview {
    position: relative;
    border: 2px solid #ccc;
}

.detail-section .product-preview .zoom-in {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 2;
}

.detail-section .product-preview .zoom-in:hover {
    color: var(--blue-color);
}

.detail-section .swiper-button-next {
    right: -40px;
}

.detail-section .swiper-button-prev {
    left: -40px;
}

.product-preview:hover .swiper-button-next {
    right: 0;
}

.product-preview:hover .swiper-button-prev {
    left: 0;
}

.related-product:hover .swiper-button-next,
.related-post:hover .swiper-button-next {
    right: 0;
}

.related-product:hover .swiper-button-prev,
.related-post:hover .swiper-button-prev {
    left: 0;
}

.detail-section .swiper-button-next,
.detail-section .swiper-button-prev {
    color: var(--white-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    transition: all .2s ease-in-out;
}

.detail-section .swiper-button-next::after,
.detail-section .swiper-button-prev::after {
    font-size: 18px;
}

.detail-section .swiper-button-next:hover,
.detail-section .swiper-button-prev:hover {
    background: var(--black-color);
}

.detail-section .product-quantity {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.detail-section .product-quantity input {
    width: 100px;
    margin-right: 15px;
}

.detail-section .product-quantity .btn {
    margin: 0;
}

.detail-section .product-desc {
    margin-top: 15px;
}

.detail-section .product-desc .label {
    font-weight: 600;
}

.detail-section ul {
    list-style-position: inside;
}

.detail-section .product-actions a {
    margin: 0;
    width: 100%;
}

.detail-section .product-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15px;
    column-gap: 15px;
    margin-top: 15px;
}

.product-info-left,
.product-info-right {
    margin-top: 50px;
}

.product-info-left>*,
.product-info-right>* {
    margin-bottom: 15px;
}

figure img {
    aspect-ratio: 16/9;
    object-fit: cover;
}
figure{
    margin-bottom: 15px;
}
.product-info-left .title,
.product-info-right .title {
    background: #f1f1f1;
    font-size: 20px;
    font-weight: 700;
    padding: 20px;
}

.product-info-left {
    max-height: 600px;
    overflow: hidden;
}

.product-info-left.open {
    max-height: unset;
}

.product-info-left.open+.read-more {
    display: none;
}

.read-more .btn {
    margin-top: 0;
}

.read-more {
    position: relative;
    padding-top: 20px;
}

.read-more::before {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 50px;
    content: -webkit-gradient(linear, 0% 100%, 0% 0%, from(#fff), color-stop(.2, #fff), to(rgba(255, 255, 255, 0)));
    display: block;
    z-index: 2;
}

.rating-box {
    display: grid;
    grid-template-columns: 1fr 2fr;
    row-gap: 15px;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.rating-box ul {
    list-style-type: none;
}

.rating-box ul li {
    display: flex;
    align-items: center;
}

.rating-box .progress {
    position: relative;
    width: 320px;
    height: 8px;
    margin: 0 20px;
}

.rating-box .progress span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--red-color);
    border-radius: 0.375rem;
    z-index: 2;
}

.rating-box .average-rating {
    font-size: 30px;
    text-align: center;
}

.rating-box i {
    color: #ffd200;
}

.rating-box .rating-bars {
    border-left: 1px solid #ddd;
    padding-left: 30px;
}

.rating-box .count {
    color: var(--blue-color);
}

.rating-form {
    margin-top: 20px;
}

.rating-form-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-form-title .star {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.rating-form-title .star li {
    margin-right: 3px;
    color: #ffd200;
    opacity: .3;
    cursor: pointer;
}

.rating-form-title .star:hover li,
.rating-form-title .star li.active {
    opacity: 1;
}

.rating-form-title .star:hover li:hover~li {
    opacity: .4;
}

form .form-control {
    border-radius: 0;
    background: #f2f2f2;
}

form .form-control:focus {
    background: #ededed;
}

.form-group {
    margin-bottom: 20px;
}

form .btn {
    margin: 0;
}

form label {
    cursor: pointer;
}

.post-category {
    background: #f9f9fa;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.post-category ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    width: max-content;
}

.post-category ul li:not(:last-child) {
    position: relative;
    padding-right: 20px;
}

.post-category ul li:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.post-category a {
    color: var(--blue-color);
    font-weight: 600;
}
.post-category a.active{
    color: var(--black-color);
}
.post-category a:hover {
    text-decoration: underline;
}
.page-link:focus{
    box-shadow: none;
}
.pagination{
    margin-top: 30px;
    margin-bottom: 30px;
}
.page-item:not(:last-child){
    margin-right: 5px;
}
.page-link{
    border-radius: 0;
    line-height: normal;
    color: var(--black-color);
    padding: 10px 15px;
    background: rgba(0,0,0,.025);
}
.page-link:hover,.page-link.active{
    background: var(--blue-color);
    color: var(--white-color);
}
.page-item:last-child .page-link,
.page-item:first-child .page-link{
    border-radius: 0;
}
.post-sidebar:not(:last-child){
    margin-bottom: 30px;
}
.sidebar-title{
    padding: 10px 15px;
    font-size: 18px;
    background: var(--blue-color);
    color: var(--white-color);
    margin-bottom: 0;
}
.post-sidebar .post-list{
    padding: 15px;
    background: #f9f9f9;
    list-style-type: none;
}
.post-list .post-item{
    display: flex;
    padding: 5px;
}
.post-list .post-meta{
    margin: 0;
    font-size: 12px;
}
.post-list .post-item:not(:last-child){
    margin-bottom: 15px;
}
.post-list .post-thumb{
    width: 30%;
}
.post-list .post-content{
    width: 70%;
    padding-left: 15px;
}
.post-list .post-thumb img{
    height: 100%;
    object-fit: cover;
}
.post-list .post-title{
    margin-bottom: 0;
}
.post-detail-content h3.title{
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #BDBDBD;
}
.detail-section .post-tag{
    list-style-type: none;
    display: flex;
    align-items: center;
    color: #808080;
    font-size: 14px;
}
.detail-section .post-tag li:first-child{
    margin-right: 5px;
}
.detail-section .post-navigtion{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-top: 30px;
}
.detail-section .post-navigtion .next-post{
    text-align: right;
}
.cart-table{
    margin-bottom: 20px;
}
.cart-table .table-item{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}
.cart-table .table-item .product-quantity{
    max-width: 100px;
    margin: 0 auto;
}
.cart-table .table-item .product-title{
    text-align: left;
    line-height: normal;
    font-size: 14px;
}
.cart-table .table-item .product-thumb img{
    max-width: 60px;
}
.cart-table .table-item .product-remove span{
    cursor: pointer;
    color: var(--red-color);
}
.cart-table .table-item .product-price span{
    color: var(--red-color);
    font-weight: 600;
}
.cart-section .cart-footer{
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.cart-section .cart-footer .btn{
    margin: 0;
}
.cart-section .cart-footer .right-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cart-section .cart-footer .right-top strong{
    color: var(--red-color);
}
.cart-section .cart-footer .right-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-section .cart-footer .right-bottom a:first-child{
    margin-right: 10px;
}
.alert{
    font-weight: 600;
    border-radius: 0;
    border-left: 4px solid transparent;
}
.alert.success{
    background: #d1e7dd;
    color: #0a3622;
    border-left-color: #0a3622;
}
.alert.info{
    background: #cff4fc;
    color: #055160;
    border-left-color: #9eeaf9;
}
.alert.info a{
    color: #055160;
}
.alert.info a:hover{
    text-decoration: underline;
}
.checkout-section form label{
    font-weight: 600;
}
.checkout-section form label span{
    color: var(--red-color);
}
.checkout-section .form-group{
    display: grid;
    grid-template-columns: 1fr 4fr;
    align-items: center;
}
.checkout-section h3.title{
    font-size: 20px;
    margin-bottom: 25px;
}
.checkout-section .customer-info,.checkout-section .order-info{
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}
.checkout-section .order-info .product-info img{
    width: 60px;
}
.checkout-section .order-info .product-info span{
    font-weight: 600;
}
.checkout-section .order-info .product-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}
.checkout-section .order-info .product-price{
    text-align: right;
}
.checkout-section .price-total{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 18px;
}
.checkout-section .price-total .price{
    color: var(--red-color);
    font-weight: 600;
}
.checkout-section .order-info .btn{
    width: 100%;
}
.checkout-section .sale-code{
    margin-bottom: 30px;
    display: none;
}
.checkout-section .sale-code .btn{
    margin: 10px 0 0 0;
}
/* FOOTER CSS */
.footer-top {
    background: var(--dark-red-color);
    padding-top: 50px;
    margin-top: 60px;
}

.footer-logo {
    display: block;
    width: 210px;
    margin-bottom: 20px;
}

.footer-widget {
    margin-bottom: 30px;
}

footer {
    color: var(--white-color);
}

footer a {
    position: relative;
    color: var(--white-color);
    opacity: .8;
}

footer a:hover {
    opacity: 1;
    color: var(--white-color);
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-widget h3.title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    position: relative;
    margin-bottom: 15px;
}

footer ul:not(.widget-list) li:not(:first-child) {
    opacity: .8;
}

footer ul:not(.widget-list) li a:hover {
    color: #0394ff;
}

.widget-list li {
    position: relative;
    margin-bottom: 10px;
}

.widget-list a {
    padding-left: 15px;
}

.widget-list a::before {
    content: '\f0da';
    font-family: Font Awesome\ 6 Pro;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
}

footer .social {
    display: flex;
    align-items: center;
}

footer .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--white-color);
    border-radius: 50%;
    padding: 0;
    font-size: 13px;
}

footer .social li:not(:last-child) {
    margin-right: 10px;
}

footer a.bct img {
    width: 140px;
}

.footer-bottom {
    padding: 10px 0;
    background: var(--black-color);
    text-align: center;
    font-weight: 600;
}
.post-detail-content p{
    margin-bottom: 15px;
}
.post-detail-content ul{
    list-style-position: inside;
    margin-bottom: 15px;
}
.contact-form .form-group {
    display: grid;
    grid-template-columns: 1fr 4fr;
}
.contact-section ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.contact-section .showroom .item-title{
    font-size: 19px;
    margin-bottom: 15px;
}
.contact-section .showroom .item:not(:last-child) {
    margin-bottom: 30px;
}
.contact-section .showroom h3.title{
    margin-bottom: 40px;
}
/* RESPONSIVE */
@media only screen and (min-width: 992px){
    .product-filter{
        margin-bottom: 30px;
    }
    .grid-lg-3{
        display: grid;
        grid-template-columns: 2fr 1fr;
        column-gap: 30px;
    }
}
@media only screen and (max-width: 1390px) {
    .container {
        max-width: 100%;
    }

    .header-nav .nav-link {
        font-size: 14px;
    }

    .banner .container {
        margin: 0 50px;
    }
}

@media only screen and (max-width: 1199.98px) {
    body {
        font-size: 14px;
    }

    .product-content .title h3 {
        font-size: 14px;
    }

    .product-content .price span {
        font-size: 16px;
    }

    .product-content .price {
        font-size: 14px;
    }

    .btn {
        padding: 11px 15px;
        font-size: 14px;
    }

    .header-nav .nav-link {
        font-size: 11px;
    }

    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-filter .filter-item .brand-grid{
        grid-template-columns: repeat(6,1fr);
    }
}

@media only screen and (max-width: 991.98px) {
    .header-top {
        padding: 10px 0;
        height: auto;
    }
    .product-filter .filter-item .brand-grid{
        grid-template-columns: repeat(2,1fr);
    }
    .header-logo {
        max-width: 100px;
    }
    .footer-top {
        margin-top: 30px;
    }
    .contact-section .showroom{
        margin-top: 30px;
    }
    .header-top .top-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-search {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white-color);
        padding: 25px;
        display: none;
        z-index: 999;
    }

    .header-search.open {
        display: block;
    }

    .header-search-result {
        position: static;
    }

    .header-search .search-input {
        margin-top: 50px;
    }

    .header-search-close {
        position: absolute;
        top: 15px;
        right: 25px;
        font-size: 20px;
    }

    .header-bottom {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        background: var(--black-color);
        overflow: auto;
        transition: var(--transition);
        transform: translateX(-100%);
        z-index: 999;
    }

    .header-bottom.open {
        transform: translateX(0);
    }

    .header-nav .nav-link img {
        display: none;
    }

    .header-nav .nav-link {
        display: block;
        width: fit-content;
        font-size: 14px;
    }

    .header-nav {
        display: block;
        margin: 50px 0 25px 0;
    }

    .header-nav .nav-item:last-child:hover .nav-link {
        color: var(--blue-color);
    }

    .has-dropdown::after {
        content: '\f078';
        position: absolute;
        font-family: Font Awesome\ 6 Pro;
        font-weight: 400;
        right: 0;
        top: 3px;
        color: var(--white-color);
        padding: 8px 12px;
        transition: var(--transition);
    }

    .has-dropdown.active .nav-link {
        color: var(--blue-color);
    }

    .header-nav .nav-link span i {
        display: none;
    }

    .header-nav .nav-item {
        position: relative;
    }

    .has-dropdown.active::after {
        transform: rotate3d(1, 0, 0, 180deg);
        color: var(--blue-color);
    }

    .header-mb-footer span {
        margin-bottom: 15px;
    }

    .has-dropdown .nav-dropdown {
        position: static;
        min-width: 100%;
        grid-template-columns: 100%;
        background: rgba(255, 255, 255, .2);
    }

    .has-dropdown:hover .nav-dropdown {
        display: none;
    }

    .has-dropdown .nav-dropdown.open {
        display: grid;
    }

    .header-actions-right {
        width: auto;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    section.section {
        padding-top: 30px;
    }

    .section.box-icon {
        padding-bottom: 30px;
    }

    .header-search .search-input .form-control {
        border-color: var(--black-color);
        color: var(--black-color);
    }

    .header-search .search-input .form-control::placeholder {
        color: var(--black-color);
    }

    .header-search .search-input .search-input-icon {
        color: var(--black-color);
    }

    .btn {
        margin-top: 20px;
    }

    .section-heading h2.title {
        font-size: 16px;
        padding: 5px;
        width: fit-content;
        margin-bottom: 20px;
    }

    .section-heading h2.title::before {
        border-bottom-width: 29px;
        border-right-width: 29px;
    }

    .section-heading {
        display: block;
    }

    .grid-5.style-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .group-sale ul {
        padding-left: 15px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner img {
        aspect-ratio: 6/7;
        object-fit: cover;
    }

    .banner.small-banner img {
        aspect-ratio: 16/9;
    }

    .banner .container {
        margin: 0;
        position: static;
    }

    .banner-content {
        bottom: unset;
        top: 50%;
        left: 15px;
        right: 15px;
        transform: translateY(-50%);
    }

    .banner-content .banner-title {
        width: 100%;
    }

    .product-filter {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        background: var(--white-color);
        border-left: none;
        width: 320px;
        padding: 15px;
        transform: translateX(-100%);
        overflow: auto;
        transition: all .3s ease-in-out;
        z-index: 999;
    }

    .product-filter.open {
        transform: translateX(0);
    }

    .rating-box .progress {
        width: 280px;
    }
    .post-section .post-title h3{
        font-size: 18px;
    }
    .grid-2{
        column-gap: 15px;
        row-gap: 15px;
    }
    .post-section .post-title{
        min-height: 43px;
    }
    .checkout-section .customer-info{
        margin-bottom: 30px;
    }
    .product-filter .color-grid{
        grid-template-columns: repeat(3,1fr);
    }
}

@media only screen and (max-width: 767.98px) {
    .header-search {
        padding: 15px;
    }

    .header-search-close {
        right: 15px;
    }

    .header-actions-right a,
    .header-actions-right .search-mb-btn {
        font-size: 18px;
        margin-left: 10px;
    }

    .menu-mb-btn {
        margin-left: 10px;
        font-size: 18px;
    }

    .header-mb-close {
        font-size: 18px;
    }

    header .cart-count {
        top: -5px;
    }

    h2.title {
        font-size: 24px;
    }
    .post-detail-content h3.title{
        font-size: 18px;
    }
    .section.box-icon .box-item {
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .section.box-icon .box-item .icon {
        margin-bottom: 15px;
    }

    .section.box-icon .box-item .title {
        font-size: 18px;
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .rating-box {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .rating-box .rating-bars {
        padding-left: 0;
        border-left: none;
    }

    .rating-box ul li {
        justify-content: center;
    }
    .cart-table .table-item .product-title{
        text-align: center;
    }
    .cart-table .table-item{
        grid-template-columns: 1fr;
        row-gap: 15px;
    }
    .cart-table .product-remove{
        position: absolute;
        top: 0;
        right: 20px;
    }
    .product.large-product {
        grid-template-columns: 1fr;
    }
    .product-content .group-info{
        display: none;
    }
    .product.large-product .product-image img {
        height: 200px;
    }
}

@media only screen and (max-width: 575.98px) {
    .grid-3 {
        row-gap: 15px;
        column-gap: 15px;
    }

    .product {
        padding: 5px;
    }

    .product .new {
        top: 5px;
        left: 5px;
        padding: 6px;
    }

    .detail-section .new {
        padding: 6px;
    }
    .section.box-icon .box-item p{
        display: none;
    }
    .section.box-icon .box-item{
        display: flex;
        align-items: center;
    }
    .section.box-icon .box-item .title{
        margin-bottom: 0;
        margin-left: 10px;
    }
    .section.box-icon .box-item .icon{
        margin-bottom: 0;
    }

    .product.large-product .product-content {
        margin-top: 15px;
    }

    .banner-content .banner-title {
        font-size: 16px;
        padding: 10px;
    }

    .product-filter {
        width: 100%;
    }

    .rating-box .progress {
        width: 200px;
    }
    .grid-2{
        grid-template-columns: 1fr;
    }
    .post-list .post-content{
        padding-left: 10px;
        width: 75%;
    }
    .post-list .post-thumb{
        width: 25%;
    }
    .detail-section .post-navigtion{
        grid-template-columns: 1fr;
        row-gap: 15px;
    }
    .cart-section .cart-footer{
        flex-direction: column;
    }
    .cart-section .cart-footer .right{
        margin-bottom: 20px;
        order: 1;
        width: 100%;
    }
    .cart-section .cart-footer .left{
        order: 2;
    }
    .checkout-section .form-group{
        grid-template-columns: repeat(1,1fr);
    }
    .product-image img,
    .product.large-product .product-image img{
        height: 150px;
    }
}

@media only screen and (max-width: 480px) {
    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }
    .post-section .grid-4{
        grid-template-columns: repeat(1,1fr);
    }
    .contact-form .form-group{
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 420px) {
    .rating-box .progress {
        width: 130px;
    }
}