:root,
[data-bs-theme=light] {
    --el-text: #000;
    --el-scroll-bg: rgb(239, 239, 239);
}

[data-bs-theme=dark] {
    --el-text: #fff;
    --el-scroll-bg: #212529;
}

.fill-text {
    fill: var(--el-text) !important;
}

.fill-danger {
    fill: #db0812 !important;
}

.fill-white {
    fill: #ffffff !important;
}

.fixedTopMenu {
    position: fixed;
    top: 0;
    z-index: 101;
    width: 100%;
}

.fixedTopMenuDiv {
    height: 80px;
}

#productCategories {
    top: 40px;
    height: calc((100vh - 160px) * 85 / 100);
    z-index: 10;
}

#productMenu:hover+#productCategories,
#productCategories:hover {
    display: block !important;
}

#searchInput:focus+#searchResult,
#searchResult:hover {
    display: block !important;
}

.sliderSize {
    height: calc(100vh - 119px);
}

.sliderFont {
    font-size: calc(1.375rem + 1vw);
}

.sliderSize-inside {
    height: calc(100% - 110px);
}

.main-slider-image {
    height: 65%;
}

.top-sticky {
    top: 96px;
}

@media (min-width: 768px) {
    .fixedTopMenuDiv {
        height: 121px;
    }

    .main-slider-image {
        height: 100%;
    }

    .sliderSize-inside {
        height: 100%;
    }

    .sliderSize {
        height: calc(100vh - 160px);
    }

    .top-sticky {
        top: 136px;
    }
}

.full-english {
    font-feature-settings: normal;
}

.history-item {
    max-height: 40px !important;
    margin-bottom: -8px !important;
    transition: margin-bottom 0.5s, max-height 0.25s;
}

.history-item:hover {
    max-height: 175px !important;
    margin-bottom: 0.25rem !important;
}

@media print {

    #header,
    #footer,
    #nav,
    .fixed-table-toolbar,
    .notPrint {
        display: none !important;
    }

    .container-print {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .print-75 {
        zoom: 75% !important;
    }

    .print-60 {
        zoom: 60% !important;
    }

    .container-print-fluid {
        margin: 0 !important;
        padding: 0 !important;
    }

    .print {
        display: flex !important;
    }

    .print-break {
        page-break-inside: avoid !important;
        page-break-after: auto !important
    }

    .text-sm-nowrap {
        white-space: normal !important;
    }
}

.product-item-imgaddi {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: 0;
    transition-duration: 700ms;
}

.product-item:hover .product-item-imgaddi {
    opacity: 1;
    transform: scale(1.05);
}

.product-item:hover .product-item-imgmain {
    opacity: 0;
    transition-duration: 500ms;
}

.product-item-like,
.product-item-compare,
.product-item-quickview {
    bottom: -60px;
    opacity: 0;
}

.product-item-like {
    left: 0.5rem;
    transition-duration: 400ms;
}

.product-item-compare {
    left: 3.5rem;
    transition-duration: 500ms;
}

.product-item-quickview {
    left: 6.5rem;
    transition-duration: 600ms;
}

.product-item-like .bi::before {
    content: "\f417";
}

.product-item-compare .bi::before {
    content: "\f207";
}

.product-item-quickview .bi::before {
    content: "\f18f";
}

.product-item-like:hover,
.product-item-compare:hover,
.product-item-quickview:hover {
    transform: scale(1.2);
    transition-duration: 250ms;
}

.product-item:hover .product-item-like,
.product-item:hover .product-item-compare,
.product-item:hover .product-item-quickview {
    bottom: 0px;
    opacity: 1;
}

.product-item-like.active {
    bottom: 0px !important;
    opacity: 1 !important;
}

.product-item-compare.active {
    bottom: 0px !important;
    opacity: 1 !important;
}

.product-item-quickview.active {
    bottom: 0px !important;
    opacity: 1 !important;
}

.product-item-like.active .bi::before {
    content: "\f415";
}

.product-item-compare.active .bi::before {
    content: "\f206";
}

.product-item-quickview.active .bi::before {
    content: "\f18e";
}

.quickView-item-img-main:hover,
.quickView-item-img-add-1:hover,
.quickView-item-img-add-2:hover,
.quickView-item-img-add-3:hover,
.quickView-item-img-add-4:hover {
    transform: scale(1.5);
    transition-duration: 250ms;
}

.over-shadow:hover {
    box-shadow: 0 .25rem 1.5rem rgba(33, 37, 41, .12);
    z-index: 3;
}

.link-hover:hover {
    color: rgb(192, 8, 18) !important;
}

.text-truncate-line-1 {
    line-height: 1.3em;
    height: 1.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.text-truncate-line-2 {
    line-height: 1.3em;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.text-truncate-line-3 {
    line-height: 1.3em;
    height: 3.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.text-truncate-line-4 {
    line-height: 1.3em;
    height: 5.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.text-truncate-line-3-shadow {
    line-height: 1.3em;
    height: 3.9em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0.1)));
}

.text-truncate-line-4-shadow {
    line-height: 1.3em;
    height: 5.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0.1)));
}

.headerMenuItem:hover .headerMenuIcon {
    color: rgb(219, 18, 8) !important;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--el-scroll-bg);
    border-radius: 5px;
    margin: 2px;
}

::-webkit-scrollbar-thumb {
    background: rgb(255, 8, 19);
    border-radius: 5px;
    border-style: solid;
    border-color: var(--el-scroll-bg);
    border-width: 3px;
    cursor: pointer;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(219, 8, 18);
}

input[type="range"]::-webkit-slider-thumb {
    background-color: rgb(219, 8, 18);
    border: 2px solid white;
    transition: .3s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background-color: white;
    border: 2px solid rgb(219, 8, 18);
}

input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.6);
}

.text-shadow-white {
    text-shadow: #fff 1px 1px 2px;
}

.text-shadow-black {
    text-shadow: #000 1px 1px 2px;
}

.product-category-container,
.product-sub-category-container {
    width: 100% !important;
    overflow: auto !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
}

.product-category-container {
    flex-wrap: wrap;
}

/* 2 */
.product-category {
    min-width: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem)
}

/* 2 */
.product-category-sidepanel {
    min-width: calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem)
}

/* 2 */
.product-sub-category {
    min-width: calc(38% - 0.5rem);
    max-width: calc(38% - 0.5rem)
}

@media (min-width: 600px) {

    /* 4 */
    .product-category {
        min-width: calc(25% - 0.5rem);
        max-width: calc(25% - 0.5rem)
    }

    /* 3 */
    .product-category-sidepanel {
        min-width: calc(33.33% - 0.5rem);
        max-width: calc(33.33% - 0.5rem)
    }

    .product-sub-category {
        min-width: calc(22% - 0.5rem);
        max-width: calc(22% - 0.5rem)
    }
}

@media (min-width: 800px) {

    /* 5 */
    .product-category {
        min-width: calc(20% - 0.5rem);
        max-width: calc(20% - 0.5rem)
    }

    /* 4 */
    .product-category-sidepanel {
        min-width: calc(25% - 0.5rem);
        max-width: calc(25% - 0.5rem)
    }

    .product-sub-category {
        min-width: calc(18% - 0.5rem);
        max-width: calc(18% - 0.5rem)
    }
}

@media (min-width: 1000px) {

    /* 6 */
    .product-category {
        min-width: calc(16.66% - 0.5rem);
        max-width: calc(16.66% - 0.5rem)
    }

    /* 5 */
    .product-category-sidepanel {
        min-width: calc(20% - 0.5rem);
        max-width: calc(20% - 0.5rem)
    }

    .product-sub-category {
        min-width: calc(15.5% - 0.5rem);
        max-width: calc(15.5% - 0.5rem)
    }
}

@media (min-width: 1200px) {

    /* 8 */
    .product-category,
    .product-sub-category {
        min-width: calc(12.5% - 0.5rem);
        max-width: calc(12.5% - 0.5rem);
    }

    /* 6 */
    .product-category-sidepanel {
        min-width: calc(16.66% - 0.5rem);
        max-width: calc(16.66% - 0.5rem);
    }

    .product-category-container {
        overflow: visible !important;
    }

    .product-sub-category-container {
        overflow: visible !important;
        flex-wrap: wrap;
    }
}

.product-category:hover,
.product-sub-category:hover,
.product-category-sidepanel:hover {
    box-shadow: var(--bs-box-shadow) !important;
    z-index: 500 !important;
}

.product-detail-container {
    flex-direction: unset;
}

@media (min-width: 768px) {
    .product-detail-container {
        flex-direction: row-reverse;
    }
}

.product-detail-sticky {
    top: 90px;
}

@media (min-width: 768px) {
    .product-detail-sticky {
        top: 130px;
    }
}

.product-detail-container-div {
    position: fixed !important;
    box-shadow: var(--bs-box-shadow) !important;
    right: 0 !important;
    top: 120px;
    z-index: 102;
}

.product-detail-container-div2 {
    margin-top: 210px;
}

@media (min-width: 768px) {
    .product-detail-container-div {
        position: unset !important;
        box-shadow: unset !important;
        right: unset !important;
        top: unset !important;
        z-index: unset !important;
    }

    .product-detail-container-div2 {
        margin-top: unset;
    }
}

.CategoryHide,
.CategoryShow {
    transition: min-width 0.25s linear, max-width 0.25s linear, opacity 0.25s linear;
    -webkit-transition: min-width 0.25s linear, max-width 0.25s linear, opacity 0.25s linear;
    -moz-transition: min-width 0.25s linear, max-width 0.25s linear, opacity 0.25s linear;
    -o-transition: min-width 0.25s linear, max-width 0.25s linear, opacity 0.25s linear;
    -ms-transition: min-width 0.25s linear, max-width 0.25s linear, opacity 0.25s linear;
}

.CategoryHide {
    min-width: 0px !important;
    max-width: 0px !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.CategoryShow {
    opacity: 1;
}

.fs-smaller {
    font-size: smaller;
}

.fs-larger {
    font-size: larger;
}

.fs-small {
    font-size: small;
}

.fs-large {
    font-size: large;
}

.fs-x-small {
    font-size: x-small;
}

.fs-x-large {
    font-size: x-large;
}

.fs-xx-small {
    font-size: xx-small;
}

.fs-xx-large {
    font-size: xx-large;
}

.filter-icon-bg {
    fill: var(--bs-body-bg);
}

.filter-icon,
.filter-icon-ring {
    fill: var(--bs-tertiary-color);
}

.filter-icon:hover,
.filter-icon:hover .filter-icon-ring {
    fill: red;
}

.filter-icon.active {
    fill: white;
}

.filter-icon.active .filter-icon-ring,
.filter-icon.active .filter-icon-bg {
    fill: red;
}

.filter-icon-fav {
    fill: #CC9933;
    display: none;
}

.filter-icon.fav .filter-icon-fav {
    display: block;
}

.filter-icon.fav.active .filter-icon-fav {
    fill: white;
}

.filter-icon-grow {
    transition: transform 0.3s ease;
    transform-origin: center;
    transform: scale(0.9);
}

.filter-icon:hover .filter-icon-grow {
    transform: scale(1);
}