:root {
    --color-base-rgb: 42, 36, 36;
}

.pointer-cursor {
    cursor: pointer;
}

.header-nav {
    /* border: 1px solid #000; */
}

.header-nav a,
.header-nav button {
    text-decoration: none;
    color: inherit;
    display: flex;
}

.primary-nav {
    width: 100vw;
    position: fixed;
    top: 0;
    display: flex;
    /* z-index: 1; */
    z-index: 2;
    background: #FFF;
    transition: background 400ms ease-in, position 200ms ease-out, top 5s ease, all 300ms ease;
}

.primary-nav:hover {
    background: #fff;
    color: #000;
}

.on_said_element {
    position: absolute;
    transform: translateY(-10vh);
}

.primary-nav:hover .brand {
    text-shadow: none;
}

.primary-nav:hover .nav-item-link-text {
    font-weight: 400;
    text-shadow: none;
}

.primary-nav:hover .bars::after,
.primary-nav:hover .bars::before,
.primary-nav:hover .bar1 {
    background-color: #000 !important;
    background-color: currentColor !important;
}

.nav-bar {
    /* border: 1px solid red; */
    display: flex;
    justify-content: space-between;
    width: inherit;
    /* padding: 0 10px; */
    padding: 8px 10px;
}

.brand {
    font-family: "Futura PT", Poppins, sans-serif;
    font-size: 1.7rem;
    width: fit-content;
    padding: 5px 10px 0 10px;
    margin: 1% 0 0.7%;
    font-weight: 400;
    text-transform: uppercase;
}

.left-part {
    display: flex;
    flex-direction: row;
    /* width: -webkit-fill-available; */
}

.nav-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
    font-size: 12px;
    font-weight: 500;
    transition: transform 0.075s linear 0s;
}

.nav-item:hover {
    transform: scale(1.02);
}

.nav-item form {
    display: flex;
}

.search-icon,
.nav-item form button {
    background-color: inherit;
    border: inherit;
}

.nav-item span {
    margin-inline-end: 5px;
    /* display: flex; */
}

.nav-item span svg {
    width: 18px;
    height: auto;
}

.primary-nav:hover .nav-item span svg {
    fill: var(--gold-color-ht, #000);
}

.nav-item-link-text {
    /* overflow-x: hidden; */
    transition: max-width 0.7s ease 0s, visibility 0s linear 0s;
    /* line-height: 21px; */
    line-height: 1.5rem;
    white-space: nowrap;
    /* last modification */
    text-transform: uppercase;
    font-family: "Barlow Condensed", sans-serif;
    /* font-size: 14px; */
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: 700ms ease-out 0ms;
}

.user-sign-in span svg {
    width: 22px;
}

/* right bar */
.right-part {
    display: flex;
    flex-direction: row;
}

.right-part .nav-item {
    /* margin: 0 5px; */
    /* border: 1px solid; */
}

#search-items {
    width: 0;
    visibility: collapse;
}

.btn-fill-black {
    /* background: #000; */
    /* background: rgba(var(--color-base-rgb), 0.75); */
    border: 2px solid rgba(var(--color-base-rgb), 0.75);
    padding: 7px 11px 5px 6px;
    /* color: #fff !important; */
    font-weight: 700;
    border-radius: 5px;
}

/* this is for when the nav bar is transparent, we use a lighter color for border */
.primary-nav.reverse-nav-color .btn-fill-black {
    border: 2px solid hsl(38deg 2% 43% / 52%);
}

.nav-item .sub-menu {
    line-height: 21px;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-item .sub-menu .btn {
    text-transform: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 7px 10px 5px 7px;
}

.nav-item .sub-menu .btn svg {
    width: 10px;
    height: 10px;
}

.acct-verified-icon>svg {
    width: unset !important;
    height: 20px !important;
}

.acct-label-btn-text {
    margin-left: 4px;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
}

.nav-item .sub-menu .content-sub a {
    font-family: inherit;
    padding: 7px 18px 8px 24px;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.nav-item .sub-menu .content-sub:not(:last-child) {
    border-bottom: 2px solid #eee;
}

.nav-item .sub-menu:hover .content-sub-wrapper {
    width: 150px;
}

.nav-item .sub-menu:hover .btn>svg {
    transform: rotate(180deg);
}

.nav-item .sub-menu:hover {
    background-color: initial;
    color: initial;
}

/* sidebar */
.side-bar-init {
    /* border: 1px solid; */
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 0 0 10px;
}


.side-bar-icon {
    margin-right: 0.75rem;
    width: 22px;
}

.bars {
    display: flex;
    flex-direction: column;
}

.bars .bar1,
.bars .bar2,
.bars .bar3 {}


.bar1,
.bars::before,
.bars::after {
    content: "";
    height: 2px;
    width: 22px;
    background-color: currentColor !important;
    border-radius: 20px;
    animation-name: loading-sidebar-menu;
    animation-duration: 700ms;
    animation-delay: 500ms;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.bar1 {
    /* margin-left: 4px; */
    /* width: 20px; */
    max-width: 7px;
    animation-delay: 500ms;
    animation-duration: 350ms;
}

.bars::before {
    max-width: 22px;
    margin: 2px 0 6px;
}

.bars::after {
    max-width: 12px;
    margin: 6px 0 2px;
    animation-delay: 550ms;
}

/* sidebar */
.sidebar {
    /* position: relative; */
    /* z-index: 1; */
    /* border: 1px solid; */
    /* min-width: max(calc(100vw * 0.35), 300px);
    max-width: min(100vw, 390px);
    background: #fff; */
    height: 100vh;
    /* position: sticky; */
    /* position: absolute; */
    position: fixed;
    top: 0;
    /* overflow-y: auto; */
    /* padding: 4% 1% 1% 4%; */
    /* initial condition */
    z-index: -1;
    transform: translateX(-100vw);
    visibility: hidden;
    transition: transform 700ms ease-out;
}

.sidebar-active {
    /* z-index: 1; */
    z-index: 7;
    visibility: visible;
    transform: translateX(0vw);

}

.sidebar-wrapper {
    min-width: max(calc(100vw * 0.25), min(100vw,390px));
    max-width: min(100vw, 390px);
    background: #fff;
    height: 100vh;
    overflow-y: auto;
}

.sidebar::-webkit-scrollbar,
.sidebar-wrapper::-webkit-scrollbar {
    /* width: 2px; */
    width: 0px;
    margin-right: 2px;
}

.sidebar-main {
    min-height: 87.3vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.side-item a {
    text-decoration: none;
    color: initial;
    display: block;
    width: 100%;
    font-family: 'Barlow Condensed', sans-serif;
    /* font-size: initial; */
    font-weight: 400;
    color: hsl(38deg, 33%, 23%);
    padding: 5px 0 2% 10px;
}

.side-item.accordion {
    font-size: 20px !important;
}

.side-item {
    font-size: 18px;
    /* padding: 2.5% 0 2% 10%; */
    padding: 2.5% 0% 0 10%;
    line-height: 23px;
    /* background-color: #fff; */
    background-color: inherit;
}

.side-item a:hover {
    background-color: var(--hover-color-accordion);
}

.expand_panel .side-item {
    padding-top: 4%;
    padding-bottom: 1%;
    font-size: 16px;
}

.acc-btns {
    margin-top: 10vh;
    position: relative;
    width: -webkit-fill-available;
    bottom: 0;
}

.acc-btns::before {
    content: "";
    width: 100%;
    display: block;
    height: 2px;
    background: linear-gradient(0deg, #4e4027, transparent);
    margin-bottom: 4px;
}

.acc-btns::after {
    content: "You have reached the END.";
    font-family: Poppins, sans-serif;
    font-size: 80%;
    font-weight: inherit;
    text-transform: uppercase;
    display: block;
    height: 7vh;
    color: #5c5c5c;
    /* background-color: #000; */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -4rem;
}

.side-item-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow: hidden;
    /* margin: 0 0 0 9px; */
}

.side-item-title_wrapper {
    display: flex;
    flex-direction: column;
    font-family: inherit;
}

.side-item-title_wrapper::after {
    content: "";
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--hover-color-accordion) 18%, transparent 100%);
    margin-top: 6px;
}

/* sidebar nav */
.brand-nav {
    /* border: 1px solid; */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.brand-logo {
    padding-left: 11%;
    transform: skewX(0deg) scale(0.8);
}

.right-side-nav {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}

.right-side-nav a {
    font-family: inherit;
}

.right-side-nav .nav-item a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.sidebar a {
    text-decoration: none;
    color: inherit;
}

button.collapse-sidebar {
    border: none;
    background: inherit;
    margin-inline-end: 0.7rem;
    margin-inline-start: 0.3rem;
}

.collapse-sidebar .bars::before {
    content: none;
}

.collapse-sidebar .bar1 {
    margin-left: 4px;
}


/* now for cart */

@keyframes loading-sidebar-menu {
    from {
        width: 0;
        opacity: 0;
        background-color: transparent;
    }

    to {
        width: 20px;
        opacity: 1;
        background-color: #000;
    }
}

.bars .bar2 {}

.bars .bar3 {}

/* screen queries */
@media screen and (min-height: 759px) {
    .acc-btns {
        margin-top: 20vh;
    }
}

@media screen and (min-width: 1500px) {
    .side-item {
        font-size: 20px;
    }

    .side-item-title {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 21px;
    }

    .nav-item .sub-menu {
        font-size: 16px;
    }

    .expand_panel .side-item {
       font-size: 18px;
    }
}

@media screen and (min-width: 970px) {
    .nav-bar {
        padding: 0 10px;
    }
}

@media screen and (max-width: 836px) {
    #about-us {
        display: none;
    }

    #ready-to-ship {
        display: none;
    }

    .brand {
        position: relative;
        /* left: calc(50vw - 45%); */
    }
}

@media screen and (max-width: 736px) {
    .nav-item-link-text {
        visibility: hidden;
        overflow: hidden;
        transform: translateX(15px);
        /* width: 0; */
        /* as transition doesn't work when width or height is made auto later, hence using max-width */
        max-width: 0;
        /* display: none; */
    }

    .user-sign-in:hover>.nav-item-link-text {
        visibility: visible;
        overflow: hidden;
        max-width: 100px;
    }

    .user-liked-items,
    .user-sign-in {
        /* background-color: #fff;
        color: #000 !important;
        align-items: center; */
        background-color: inherit;
        color: inherit !important;
        align-items: center;

    }

    .user-sign-in {
        height: 42px;
        width: 41px;
        padding: 7px 6px 5px 6px;
        border: 0;
        /* border-radius: 21px; */
    }

    .user-sign-in span {
        margin: 0;
        margin: auto;
    }

    .nav-item a:hover>.nav-item-link-text {
        visibility: visible;
        overflow: hidden;
        transform: translateX(0px);
        /* width: auto; */
        max-width: 100px;
    }

    .user-sign-in:hover {
        width: auto;
        height: auto;
        padding: 7px 11px 5px 6px;
    }

    .brand {
        font-size: 23px;
        margin: 0.7% 0 1%;
        font-weight: 300;
        letter-spacing: -0.5px;
    }

    .acct-label-btn-text {
        display: none;
    }
}

@media screen and (max-width: 540px) {
    .nav-item-link-text {
        display: none;
    }

    .nav-item a:hover>.nav-item-link-text {
        visibility: hidden;
        max-width: 0px;
    }

    .side-bar-init {
        margin-left: 0;
    }

    .side-bar-init .nav-item {
        margin-left: 0;
    }

    .brand {
        font-size: 1.25rem;
        font-weight: 500;
        margin: 1% 0;
    }

    .user-sign-in,
    .user-sign-in:hover {
        box-shadow: none;
    }

    .right-part .nav-item {
        margin: 0 5px;
    }

    .nav-item span {
        margin-inline-end: 0px;
    }

    .user-sign-in~.nav-item {
        margin: 0;
    }

    .user-liked-wrapper {
        display: none;
    }

    .nav-item .sub-menu .content {
        left: -18vw;
    }
}

@media screen and (max-width: 440px) {
    .side-bar-init .nav-item {
        display: none;
    }

    .right-part button {
        padding: 0;
    }
}
