:root {
    --primary: #0a5e2a;
    --secondary: #6dad4f;
    --accent: #a5131d;
    --black: #0f0f0e;
    --grey: #67705c;
    --white: #efefe7;
    --pastel: #4ce504;
    --jne: #1e3278;
}

/* Navbar */
.navigation-icon {
    width: 50px;
    height: 50px;
}

.navigation-border-right {
    border-right: 1px solid var(--grey);
    height: 100%;
}

.navbar hr {
    margin-left: 3rem;
    margin-right: 3rem;
    border-top: 1px solid var(--grey);
}

.navbot-link {
    display: flex;
    align-items: center;
    justify-content: start;
}

.navbot-link h4 {
    margin-bottom: 0;
    transition: all 150ms ease-in;
}

.navbot-link a {
    margin-right: 1.5rem;
    text-decoration: none;
}

.navbot-link .active h4 {
    color: var(--primary);
}

.border-grey {
    border-color: var(--grey) !important;
}
.border-wrapper {
    border: 3px solid var(--secondary);
    border-radius: 5px;
}

.navtop-anchor span {
    transition: all 150ms ease-in;
}

.navbar-natuar {
    display: none;
    transition: all 500ms linear;
}

.navbar-natuar.navbar-scrolled {
    opacity: 1;
    display: block;
}

.card-product .card-img-wrapper {
    width: 250px;
    height: 250px;
}

.card-product .card-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
}

.card-product .button-preview {
    position: relative;
    top: -40px;
    opacity: 0;
    visibility: hidden;
    transition: all 300ms linear;
}

.card-product .card-header {
    border-bottom: 1px solid black;
}

.card-product .card-footer {
    border-top: 1px solid black;
}

.rounded-prepend {
    border-top-left-radius: 50rem;
    border-bottom-left-radius: 50rem;
}

.rounded-append {
    border-top-right-radius: 50rem;
    border-bottom-right-radius: 50rem;
}

.image-no-stock {
    filter: grayscale(100%);
}

.count-cart {
    background: var(--pastel);
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    color: var(--black) !important;
    display: inline-block;
    font-weight: bold;
    line-height: 25px;
    margin-right: 5px;
    text-align: center;
    width: 25px;
    position: absolute;
    top: 10px;
    right: 126px;
}

.background-footer {
    background: url(../../../images/flash-sale/background-footer.jpg) no-repeat center
        center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@media only screen and (min-width: 768px) and (max-width: 998px) {
    .navbar-top .row {
        width: 100%!important;
    }

    .form-inline .input-group, .form-inline .custom-select{
        width: 100% !important;
    }

    .card-product .card-img-wrapper {
        width: 190px !important;
        height: 200px !important;
    }
}

@media only screen and (max-width: 768px) {
    .count-cart {
        line-height: 15px;
        width: 15px;
        top: -4px;
        right: 5px;
        font-size: 0.75rem;
    }
    .navbar-top {
        border-bottom: 1px solid var(--grey);
    }
    .navbar-bottom {
        border-top: 1px solid var(--grey);
    }

    .navbar-mobile-search{
        width: 50%;
    }

    .navbar-natuar.navbar-scrolled {
        display: none;
    }

    #layoutDefault,
    #layoutDefault_footer {
        overflow-x: hidden;
    }

    .navbar-bottom-icon {
        width: 25px;
        height: 25px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-bottom a.active p {
        color: var(--primary);
    }

    .card-product .button-preview {
        visibility: visible;
        opacity: 1;
        top: -34px;
    }

    .card-product .card-img-wrapper {
        width: 150px;
        height: 155px;
    }

    .card-product .card-img-wrapper img{
        max-width: 100%;
        height: auto
    }

    .card-product-wrapper:nth-child(odd) {
        padding-right: 0.25rem;
    }

    .card-product-wrapper:nth-child(even) {
        padding-left: 0.25rem;
    }

    .card-product-wrapper-font,
    .card-header span {
        font-size: 0.75rem;
    }

    .card-img-wrapper .button-preview {
        width: 75%;
    }

    #whyUs img{
        max-width: 75px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .navbot-link a:hover h4 {
        color: var(--accent);
        transition: all 150ms ease-in;
    }
    .navtop-anchor:hover span {
        color: var(--accent);
        transition: all 150ms ease-in;
    }
    .card-product:hover .button-preview {
        visibility: visible;
        opacity: 1;
        transition: all 300ms linear;
    }
}
