/*****************************
 * Header Fixed (After Scroll)
 *****************************/
header.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
    animation: scale 0.5s ease;
    background: var(--color-primary);
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    display: flex;
    will-change: transform;
}

body.has-fixed-header header .div-a,
body.has-fixed-header header .div-c {
    display: none;
}

body.has-fixed-header #main {
    margin-top: 200px;
}

/*****************************
 * Mobile menu
 *****************************/
.mobile-menu {
    top: 105px;
    height: 100vh;
    transition: top 0.3s ease;
}

body.has-fixed-header .mobile-menu {
    top: 65px;
}

/*****************************
 * Language menu
 *****************************/
body.has-fixed-header #language-menu {
    display: none;
}

/* ===== Header ===== */
header {
    width: 100%;
    z-index: 10;
    transition: all 0.5s ease;
}

/* Top Bar */
header .div-a {
    width: 100%;
    background: #010f1c;
    border-bottom: 1px solid #333;
    color: #fff;
    margin: auto;
    padding-left: 12px;
    z-index: 99999;
}

/* Left icons */
header .div-a .lf {
    float: left;
    height: 40px;
    border-right: 1px solid #333;
}

header .div-a .lf i {
    float: left;
    margin: 10px 10px 0;
    font-size: 20px;
    color: #fff;
    opacity: 0.9;
    transition: background-color 0.2s ease;
}

header .div-a .lf i:hover {
    opacity: 1;
}

/* Center text */
header .div-a .cn {
    float: left;
    height: 40px;
    overflow: hidden;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}

header .div-a .cn .changelang {
    width: auto;
    float: left;
    padding-left: 5px;
    border-right: 1px solid #333;
    text-align: left;
    position: relative;
    cursor: pointer;
}

header .div-a .cn .selected-b {
    width: 120px;
    height: auto;
    line-height: 40px;
    text-transform: uppercase;
    float: left;
}

header .div-a .cn .selected-b img {
    width: 25px;
    margin-top: 8px;
    float: left;
    margin-right: 5px;
}

#language-menu {
    width: auto;
    min-width: 127px;
    height: auto;
    max-height: 500px;
    overflow: auto;
    top: 0px;
    left: 271px;
    padding: 0px;
    text-align: left;
    background: #1b1b1b;
    border: 1px solid #000;
    border-radius: 0 0 6px 6px;
    display: none;
    position: absolute;
    z-index: 99999;
}

.language-option {
    height: 35px;
    line-height: 35px;
    padding-left: 8px;
    padding-right: 8px;
    cursor: pointer;
}

.language-option:hover {
    background: #010f1c;
}

.language-option img {
    width: 25px;
    margin-top: 5px;
    float: left;
    margin-right: 5px;
}

.language-option div {
    float: left;
    color: #ffffff;
}

header .div-a .cn p {
    width: 84px;
    line-height: 40px;
    float: left;
    color: #fff;
    padding: 0 8px;
    border-right: 1px solid #333;
}

.changecurrency {
    width: auto;
    height: 40px;
    float: left;
    background: #111;
    color: #ffffff;
    border: 0px;
    border-right: 1px solid #333;
}

header .div-a .cn a {
    background: #222222;
    display: flow-root;
    padding-left: 4px;
}

header .div-a .cn a p {
    padding-left: 4px;
}

header .div-a .cn a i {
    padding: 10px;
    color: red;
    border-right: 1px solid #333;
    font-size: 20px;
}

/* Right section */
header .div-a .rt {
    float: right;
    min-width: 240px;
    height: 40px;
    line-height: 40px;
    align-items: center;
    align-content: center;
    color: #fff;
    padding-right: 8px;
    text-align: left;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
}

header .div-a .rt i {
    float: left;
    width: 40px;
    height: 40px;
    align-content: center;
    font-size: 18px;
    margin-right: 10px;
    text-align: center;
    color: #fff;
    border-right: 1px solid #333;
}

/* ===== Drop-down Menu ===== */
.drop-down {
    width: 220px;
    float: left;
    position: relative;
    background: #010F1C;
    z-index: 9;
}

.dropDown {
    width: 100%;
    height: 55px;
    padding: 0 22px;
    background: var(--color-button);
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 18px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.dropDown span {
    line-height: 52px;
}

.dropDown p {
    float: left;
}

.dropDown .fa-bars {
    float: left;
    margin: 14px 10px 0 0;
    font-size: 25px;
}

.dropDown .fa-chevron-down {
    display: inline;
}

.dropDown .fa-chevron-up {
    display: none;
}

.dropDown.active .fa-chevron-down {
    display: none;
}

.dropDown.active .fa-chevron-up {
    display: inline;
}

.dropDown .fa-chevron-down,
.dropDown .fa-chevron-up {
    float: right;
    margin-top: 19px;
    font-size: 15px;
}

/* Menu Box */
.menu-box {
    clear: both;
    position: relative;
    max-height: 365px;
    overflow: auto;
    top: -16px;
    margin: 0 12px;
    padding-bottom: 10px;
    background: #fff;
    border: 1px solid var(--color-button);
    border: 1px solid #bbbbbb;
    display: none;
    z-index: 99999;
    animation-duration: 0.35s;
    animation-fill-mode: both;
}

.menu-box.show-anim {
    animation-name: menuZoomIn;
}

@keyframes menuZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.menu-box .row>* {
    padding-right: 0;
}

.close-menu {
    display: none;
}

.menu-icon {
    display: none;
    padding: 5px 20px;
}

.menu-icon .row {
    padding: 0 13px 10px 0;
    overflow: auto;
}

.drop-down--active .menu-box {
    visibility: visible;
    opacity: 1;
}

/* Categories */
.categories .category-inner {
    width: 100%;
    padding: 15px;
    overflow: auto;
    background: #fbfbfb url("../img/groovepaper.webp");
    border-radius: 8px;
}

.categories .image {
    width: 80px;
    overflow: hidden;
}

.categories .image img {
    width: 80px;
    height: auto;
    object-fit: cover;
}

.categories .cat_name {
    display: flex;
    flex-grow: 1;
    text-align: left;
    direction: ltr;
    padding: 10px 5px 10px 10px;
}

.categories .cat_name i {
    font-size: 20px;
    margin-right: 5px;
}

.categories .cat_name .expand-icons {
    margin-right: 10px;
}

.categories .cat_name .fa-circle-minus {
    display: none;
}

.categories .cat_name .cat {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.categories .cat_name .cat:hover {
    color: #007bff;
}

.sub_cat {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cat_name:hover .sub_cat {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.categories .subcategory {
    height: 33px;
    padding-right: 5px;
    margin: 0 0 4px -3px;
    font-size: 16px;
    color: #010f1c;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

.categories .subcategory:hover {
    background: #f9f9f9;
    color: #007bff;
}

.categories .subcategory i {
    margin-right: 7px;
    font-size: 12px;
    color: #fff;
    background: #333;
    border-right: 1px solid #000;
    padding: 10px;
}

/* ===== Div-b Section ===== */
header .div-b {
    height: auto;
    position: relative;
}

header .div-b .logo {
    width: auto;
    height: 55px;
    display: inline;
}

header .div-b .menu {
    display: none;
}

.fixed .py-4 {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.fixed .div-b .search {
    outline: 1px solid var(--color-border);
    border-radius: 5px;
}

header .div-b .search {
    width: 100%;
    height: auto;
    direction: ltr;
    transition: all 0.3s;
}

header .div-b .search form {
    width: 100%;
    height: 55px;
    display: flex;
    background: #fff;
    border: 2px solid #010f1c;
    border-radius: 6px;
}

/* Search input */
header .div-b .search #search {
    flex-grow: 1;
    width: 42%;
    height: auto;
    border: none;
    background: #f8f8f8 url(../img/search.webp) no-repeat 2%;
    padding-left: 60px;
    border-radius: 6px 0 0 6px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

header .div-b .search #search:focus {
    background: #fff url(../img/search.webp) no-repeat 2%;
}

/* Select dropdown */
.search select {
    width: 200px;
    margin-left: 2px;
    padding-left: 8px;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    cursor: pointer;
    background: #002032;
    border: 1px solid #000;
    outline: none;
    font-family:
        "Segoe UI Semibold", "Segoe WP Semibold", "Segoe WP", "Segoe UI", Arial,
        Sans-Serif;
}

.search select #all_category {
    background: #010f1c;
    color: #eee;
}

.search select option {
    padding-left: 15px;
    font-weight: bold;
    font-size: 14px;
    color: #eee;
    background: #081b2e;
    transition: all 0.3s ease;
}

.search select .subcategory {
    padding: 15px 8px;
    font-weight: bold;
    font-size: 13px;
    background: #010f1c;
    transition: all 0.3s ease;
}

.search select .subcategory:hover {
    background: #1b1b1b;
    color: #555;
}

/* Submit button */
header .div-b .search .submit {
    width: 110px;
    height: 100%;
    text-align: center;
    background: #010f1c;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 0 4px 4px 0;
    font-family:
        "Segoe UI Semibold", "Segoe WP Semibold", "Segoe WP", "Segoe UI", Arial,
        Sans-Serif;
}

/* ===== Search Results ===== */
#search_results {
    top: 60px;
    width: 49.3%;
    height: 325px;
    margin-top: 22px;
    position: absolute;
    display: flex;
    z-index: 999999999;
    overflow: hidden;
    font-size: 16px;
    background: #fff;
    border: 2px solid #010f1c;
    border-radius: 6px;
    opacity: 0.9 !important;
    display: none;
}

#search_results:hover {
    opacity: 1 !important;
}

.fixed #search_results {
    margin-top: 8px;
}

#search_results:has(.search_empty) {
    height: auto;
    padding: 75px;
}

/* Search values */
.search_value {
    width: 100%;
    height: 20%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #eee;
    color: #969faf;
    cursor: pointer;
}

.search_value:hover {
    background: #f9f9f9;
}

.search_value img {
    width: auto;
    max-height: 58px;
    margin-left: 2px;
    margin-right: 2px;
}

.search_value .right {
    flex: 1;
    padding: 0 30px 0 10px;
    border-left: 1px solid #eee;
}

.search_value .right .name {
    text-align: left;
}

.search_value .right .price {
    text-align: left;
    display: inline;
}

/* Empty search */
.search_empty {
    font-size: 20px;
    text-align: center;
}

.search_empty i {
    font-size: 40px;
    color: #555;
}

/* ===== User Section ===== */
header .div-b .user {
    width: auto;
    height: 53px;
    line-height: 20px;
    float: right;
    animation: scale 0.5s ease;
    display: flex;
}

.fixed .div-b .user {
    background: none;
    border: none;
    box-shadow: none;
}

header .div-b .user a {
    width: auto;
    height: auto;
    float: left;
    direction: ltr;
}

.fixed .div-b .user a {
    height: 50px;
    margin-top: 0;
}

header .div-b .user a i {
    font-size: 20px;
    margin-top: 7px;
}

header .div-b .user a:hover i {
    color: #1b1b1b;
}

.fixed .div-b .user a:hover i {
    color: #ffffff;
}

header .div-b .user a p {
    width: 100%;
    text-align: center;
}

/* Login button */
header .div-b .user a .login {
    width: auto;
    height: 53px;
    padding-left: 10px;
    padding-right: 10px;
    float: right;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
    text-shadow: 0 1px rgba(255, 255, 255, 0.8);
    border-right: 1px solid #eeeeee;
}

.fixed .div-b .user a .login {
    border-right: none;
    line-height: 15px;
    border-right: 0px;
    color: #ffffff;
    text-shadow: none;
}

/* Register button */
header .div-b .user a .register {
    width: auto;
    height: 53px;
    padding-left: 10px;
    padding-right: 10px;
    float: left;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
    text-shadow: 0 1px rgba(255, 255, 255, 0.8);
    border-right: 1px solid #eeeeee;
}

.fixed .div-b .user a .register {
    border-right: none;
    line-height: 15px;
    border-right: 0px;
    color: #ffffff;
    text-shadow: none;
}

.fixed .div-b .user a i {
    margin-top: 5px;
    margin-bottom: 8px;
    color: #ffffff;
}

/* Search button */
header .div-b .user a .search_icon {
    display: none;
    width: 80px;
    height: 53px;
    float: left;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
    text-shadow: 0 1px rgba(255, 255, 255, 0.8);
}

.search_close {
    display: none;
    width: 65px;
    height: 100%;
    float: right;
    text-align: center;
    align-items: center;
    align-content: center;
    font-size: 35px;
    color: red;
}

.fixed .div-b .user a .search_icon {
    line-height: 15px;
    border-right: 0px;
    color: #ffffff;
    text-shadow: none;
}

.fixed .div-b .user a .search_icon i {
    margin-top: 4px;
}

.fixed .register p,
.fixed .login p,
.fixed .search_icon p {
    color: #ffffff;
    text-shadow: none;
}

/* User logged in */
header .div-b .user_logined {
    width: auto;
    overflow: hidden;
}

.fixed .div-b .user_logined {
    margin-top: 0;
}

/* User left icon */
header .div-b .user .rt {
    float: right;
    width: 60px;
    text-align: center;
    font-size: 30px;
    background: #333;
    border: 3px solid #000;
    border-radius: 6px 0 0 6px;
}

.fixed .div-b .user .rt {
    height: 53px;
    align-content: center;
    align-items: center;
    border: 3px solid #fefefe;
    border-right: 0px;
}

header .div-b .user .rt i {
    height: 52px;
    margin-top: 8px;
    font-size: 30px;
    color: #fff;
}

/* User right info */
.user .lf {
    width: auto;
    min-width: 70px;
    height: 53px;
    float: right;
    margin-left: 0px;
    font-size: 14px;
    background: var(--color-white);
    border: 1px solid #cccccc;
    border-radius: 0 6px 6px 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease-out;
}

.fixed .user .lf {
    border: none;
}

header .div-b .user .lf .name {
    width: auto;
    height: 50%;
    align-content: center;
    text-align: left;
    padding-left: 4px;
    padding-right: 4px;
    color: #010f1c;
    border-bottom: 1px solid #bbb;
}

.fixed .div-b .user .lf .name {
    height: 50%;
}

header .div-b .user .lf a {
    width: auto;
    height: 50%;
    align-content: center;
    padding-left: 4px;
    padding-right: 4px;
    color: #010f1c;
    text-decoration: none;
}

.fixed .div-b .user .lf a {
    height: 50%;
    align-content: center;
}

header .div-c {
    height: 57px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

/* ===== Icons Section ===== */
header .div-c .icon {
    float: right;
    width: 200px;
    height: 55px;
    display: flex;
    flex-wrap: wrap;
    background: #fafafa;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

header .div-c .icon div {
    flex: 1;
    height: 100%;
    padding: 0 7px;
    border-left: 1px solid #eee;
}

header .div-c .icon div:first-child {
    border-left: none;
}

header .div-c .icon div a {
    text-decoration: none;
}

header .div-c .icon i {
    font-size: 25px;
    margin-top: 18px;
    color: #010f1c;
    z-index: 8;
}

header .div-c .icon p {
    width: 22px;
    height: 22px;
    margin-top: 8px;
    font-size: 11px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(to bottom, rgb(255, 0, 0), rgb(194, 59, 59));
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
}

/* Specific icons */
header .div-c .icon .wishlist {
    float: left;
}

header .div-c .icon .cart {
    float: left;
}

header .div-c .icon .compare {
    float: left;
}

/* ===== Navigation ===== */
.navigation {
    float: left;
    width: auto;
    height: 55px;
    list-style: none;
    direction: ltr;
    padding: 0;
}

.navigation li {
    height: 55px;
    float: left;
    background: #fff;
    border-right: 1px solid #eee;
}

.navigation li:hover {
    background: #fbfbfb;
}

.navigation li a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #010f1c;
    text-shadow: 0 0 1px #bbb;
    font-family:
        "Segoe UI Semibold", "Segoe WP Semibold", "Segoe WP", "Segoe UI", Arial,
        Sans-Serif;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    align-items: center;
    align-content: center;
}

.navigation li a:hover {
    color: #111;
}

.navigation li a i {
    float: left;
    padding: 16px 10px;
    font-size: 22px;
    color: #010f1c;
}

.navigation li a p {
    float: right;
    line-height: 50px;
    padding-right: 10px;
}

/* Submenu */
.navigation ul {
    display: none;
    position: absolute;
    list-style: none;
    padding: 0;
    overflow: hidden;
    z-index: 999;
}

.navigation ul li {
    float: none;
}

.mobile-menu {
    display: none;
}