/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3rem;

    /*========== Colors ==========*/
    --hue: 174;
    --sat: 63%;
    --first-color: #f47d12;
    --first-color-alt: #d17623;
    --title-color: hsl(var(--hue), 12%, 15%);
    --text-color: hsl(var(--hue), 8%, 35%);
    --body-color: hsl(var(--hue), 100%, 99%);
    --container-color: #FFF;

    /*========== Font and typography ==========*/
    --body-font: 'Open Sans', sans-serif;
    --h1-font-size: 1.5rem;
    --normal-font-size: .938rem;
    --tiny-font-size: .625rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --h1-font-size: 2.25rem;
        --normal-font-size: 1rem;
    }
}

/*=============== BASE ===============*/
header ul {
    list-style: none;
}

header a {
    text-decoration: none;
}

header img {
    max-width: 100%;
    height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
header .section {
    padding: 4.5rem 0 2rem;
}

header .section__title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

header .section__height {
    height: 100vh;
}

/*=============== LAYOUT ===============*/
/* header .container {
    max-width: 968px;
    margin-left: 1rem;
    margin-right: 1rem;
} */

/*=============== HEADER ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--container-color);
    z-index: var(--z-fixed);
    transition: .4s;
}

/*=============== NAV ===============*/
header .nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .nav__img {
    width: 32px;
    border-radius: 50%;
}

header .nav__logo {
    color: var(--title-color);
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    header .nav__menu {
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: var(--container-color);
        box-shadow: 0 -1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
        width: 100%;
        height: 4rem;
        padding: 0 1rem;
        display: grid;
        align-content: center;
        border-radius: 1.25rem 1.25rem 0 0;
        transition: .4s;
    }

    .nav__logo {
        text-align: center;
    }

    .nav.container {
        justify-content: center;
    }
}

header .nav__list, 
header .nav__link {
    display: flex;
}

header .nav__link {
    flex-direction: column;
    align-items: center;
    row-gap: 4px;
    color: var(--title-color);
    font-weight: 600;
}

header .nav__list {
    justify-content: space-around;
}

header .nav__name {
    font-size: var(--tiny-font-size);
    /* display: none;*/ /* Minimalist design, hidden labels */
}

header .nav__icon {
    font-size: 1.5rem;
}

/*Active link*/
header .active-link {
    position: relative;
    color: var(--first-color);
    transition: .3s;
}

/* Minimalist design, active link */
/* header .active-link::before{
content: '';
position: absolute;
bottom: -.5rem;
width: 4px;
height: 4px;
background-color: var(--first-color);
border-radius: 50%;
} */

/* Change background header */
header .scroll-header {
    box-shadow: 0 1px 12px hsla(var(--hue), var(--sat), 15%, 0.15);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
    header .nav__name {
        display: none;
    }
}

/* For medium devices */
@media screen and (min-width: 576px) {
    header .nav__list {
        justify-content: center;
        column-gap: 3rem;
    }
}

@media screen and (min-width: 767px) {
    header .section {
        padding: 7rem 0 2rem;
    }
    header .nav {
        height: calc(var(--header-height) + 1.5rem); /* 4.5rem */
    }
    header .nav__img {
        display: none;
    }
    /* header .nav__icon {
        display: none;
    } */
    header .nav__name {
        font-size: var(--normal-font-size);
        /* display: block; */ /* Minimalist design, visible labels */
    }
    header .nav__link:hover {
        color: var(--first-color);
    }

    /* First design, remove if you choose the minimalist design */
    header .active-link::before {
        content: '';
        position: absolute;
        bottom: -.75rem;
        width: 4px;
        height: 4px;
        background-color: var(--first-color);
        border-radius: 50%;
    }

    /* Minimalist design */
    /* header .active-link::before{
        bottom: -.75rem;
    } */
}

/* For large devices */
/* @media screen and (min-width: 1024px) {
    header .container {
        margin-left: auto;
        margin-right: auto;
    }
} */

/*  */

.table-image thead td,
.table-image thead th {
    border: 0;
    color: #666;
    font-size: 0.8rem;
}
.table-image td,
.table-image th {
    vertical-align: middle;
    text-align: center;
}
.table-image td.qty,
.table-image th.qty {
    max-width: 2rem;
}
.price {
    margin-left: 1rem;
}
.modal-footer {
    padding-top: 0rem;
}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

.btn-group-sm>.btn, .btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}
.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger .fa-times {
    margin-left: 0;
}

thead, tbody, tfoot, tr, td, th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

#cartModal thead {
    border-bottom: 1px solid #dee2e6;
}

.border-bottom-0 {
    border-bottom: 0!important;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

@media only screen and (max-width: 575px) {
    .modal .modal-dialog {
        max-width: 98%;
        margin: 0 auto;
    }

    .modal td img {
        min-width: 50px;
    }
}

.nav__item {
    position: relative;
}

.nav__item .nav-count {
    position: absolute;
    top: -5px;
    right: 2px;
    font-size: 6px;
    padding: 3px 6px;
    background-color: red;
    color: white;
    border-radius: 50%;
}