/********************************
*********** Header **************
*********************************/
header {
    position: relative;
    z-index: 99;
}
header .header-upper {
    background-color: var(--c-bkg);
    height: 63px;
    position: relative;
}
header .header-upper .filter-container input {
    background-color: var(--c-whitish);
}
header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
header .container-fluid {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .container-fluid > div {
    flex: 1;
}
/* header .container-fluid > .row {
    height: 100%;
    align-items: center;
} */
header .logo-container {
    position: initial;
}
header .logo {
    position: absolute;
    top: 0;
}
header .logo a {
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px 0px var(--radius) var(--radius);
    padding: 27px 18px;
}
header .logo img {
    width: 220px;
}
header .logo img.sm {
    display: none;
}
header .menu-upper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}
header .menu-upper li {
    position: relative;
}
header .menu-upper li:first-child {
    margin-left: 0;
}
header .menu-upper a {
    color: #fff;
    text-transform: capitalize;
    font-weight: 400;
    white-space: nowrap;
}
header .menu-upper a span {
    margin-left: 8px;
    line-height: 24px;
}
header .menu-upper .cart-count {
    background-color: var(--c-yellow);
    border-radius: 100px;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    font-weight: 600;
    color: #000000;
    position: absolute;
    top: 0;
    right: 0;
}

header .navbar {
    box-shadow: 0px 1.15px 2.31px 0px #00000026;
    background: linear-gradient(0deg, #f8f8f8 0%, #ffffff 100%);
    width: 91px;
    height: 32px;
    padding: 4px 8px;
    border-radius: 4px 12px 4px 4px;
    display: none;
}
header .navbar div {
    background: linear-gradient(273.08deg, rgba(14, 156, 81, 0.2) 0%, rgba(148, 213, 36, 0.2) 98.18%),
        linear-gradient(0deg, var(--c-bkg), var(--c-bkg));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    line-height: 21.79px;
}
header .navbar span {
}
header .navbar i {
    background: linear-gradient(273.08deg, rgba(14, 156, 81, 0.2) 0%, rgba(148, 213, 36, 0.2) 98.18%),
        linear-gradient(0deg, var(--c-bkg), var(--c-bkg));
    display: block;
    width: 18px;
    height: 3px;
    border-radius: 8px;
    margin-bottom: 3px;
}
header .navbar i:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    header .header-upper {
        height: auto;
    }
    header .header-upper .container-fluid {
        padding-top: 62px;
        padding-bottom: 12px;
    }
    header .logo a {
        padding: 60px 12px 13px;
    }
    header .logo img {
        width: 125px;
    }
    header .logo img.lg {
        display: none;
    }
    header .logo img.sm {
        display: block;
    }
    header .filter-container {
        display: none;
    }
    header .menu-upper a span {
        display: none;
    }
    header .menu-upper {
        gap: 8px;
    }
    header .navbar {
        display: block;
    }
}

/********************************
********** MENU LOWER ***********
*********************************/
header .header-lower {
    background: linear-gradient(90deg, #ffffff 10%, rgba(255, 255, 255, 0) 30%), linear-gradient(0deg, var(--c-whitish));
    height: 48px;
}
header .menu-lower {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
header .menu-lower > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
header .menu-lower > ul > li {
    color: var(--c-secondary);
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    position: relative;
}
header .menu-lower > ul > li > a {
    padding: 13px 12px;
    border-bottom: 2px solid transparent;
}
header .menu-lower > ul > li:hover a,
header .menu-lower > ul > li.active a,
header .menu-lower > ul > li a:hover,
header .menu-lower > ul > li a.active {
    font-weight: 700;
    border-bottom-color: var(--c-secondary);
}
header .menu-lower > ul > li > a::after {
    display: block;
    content: attr(title);
    font-weight: 700;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

@media (max-width: 768px) {
    header .header-lower {
        display: none;
    }
}

/********************************
**********  SUB MENU  ***********
*********************************/

header .sub-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.15);
    padding: 17px 25px;
    text-align: left;
    background-color: #fff;
    top: 100%;
    display: flex;
    gap: 58px;
    /* right: 50%; */
    transform: translateX(-22%);
    transition: all 0.2s;
    z-index: 9;
}

header .menu-lower > ul > li:hover .sub-menu,
header .menu-lower > ul > li.active .sub-menu {
    opacity: 1;
    visibility: visible;
}

header .sub-menu h4 {
    color: var(--c-secondary);
    font-weight: 700;
    font-size: 16px;
    margin: 0;
    margin-bottom: 18px;
}

header .sub-menu ul {
    color: #1f1f1f;
    width: 271px;
}
header .sub-menu ul li {
    padding-bottom: 11px;
    margin-bottom: 11px;
    border-bottom: 1px solid var(--c-gray-line);
}
header .sub-menu ul li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

header .sub-menu ul a {
    display: flex;
}

header .sub-menu img {
    margin-right: 8px;
    border-radius: var(--radius-xs);
    width: 47px;
    height: 47px;
    object-fit: cover;
}
header .sub-menu .title {
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
}
header .sub-menu .text {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}
header .sub-menu .link {
    font-weight: 700;
    color: var(--c-green);
    font-size: 14px;
    text-decoration: underline;
}
header .sub-menu ul.lg {
    width: 140px;
}
header .sub-menu ul.lg a {
    display: block;
}
header .sub-menu .lg img {
    margin-right: 0;
    width: 140px;
    height: 86px;
    object-fit: cover;
    margin-bottom: 16px;
}

/********************************
***********  REVIEW  ************
*********************************/

header .header-review {
    margin-top: 31px;
    margin-bottom: 8px;
    text-align: center;
}
header .header-review .list {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 400;
    color: var(--c-gray);
    text-align: center;
    gap: 20px;
}
header .header-review .list > div:first-child {
    text-align: left;
}
header .header-review .list > div:last-child {
    text-align: right;
}
header .header-review span {
    margin-right: 8px;
}
header .header-review .no-gap {
    margin-right: 0;
}
header .header-review .stars {
    width: 16px;
}

@media (max-width: 768px) {
    header .header-review {
        margin-top: 24px;
        overflow: hidden;
    }
    header .header-review .list {
        white-space: nowrap;
    }
}
