* {
    font-family: "Michroma", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.font-secundaria {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}


body {
    background-color: #f8f7f2;
}


.container-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    box-shadow: #000000 0px 0px 20px 0px;
}

header {
    color: white;
    background-color: black;
    width: 100%;
    max-width: 1200px;
    height: 100px;
    display: flex;
    justify-content: space-around;
    overflow: hidden;
}

header nav {
    display: flex;
    align-items: center;
    gap: 27px;
    z-index: 100;
}

header nav a {
    text-decoration: none;
    color: rgb(180, 180, 180);
    font-size: 13px;
    position: relative;
}

header nav a::after,
header nav a::before {
    content: "";
    position: absolute;
    height: 3px;
    width: 0px;
    background-color: white;
    transition: 0.5s;
}

header nav a::after {
    left: 0px;
    bottom: -10px;
}

header nav a::before {
    right: 0px;
    top: -5px;
}

header nav a:hover {
    color: white;
}

header nav a:hover::after,
header nav a:hover::before {
    width: 100%;
}


header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 70px;
}



header .cart {
    display: flex;
    align-items: center;
    gap: 20px;
}

header .cart a {
    font-size: 20px;
    text-decoration: none;
    color: white;
}


.hidden,
.hiddenT {
    opacity: 0;
}

.show {
    opacity: 1;
}


.footer {
    background: #000;
    color: #fff;
    padding: 24px 18px;
    margin-top: 0px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a svg {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover svg {
    transform: scale(1.15);
    opacity: 0.85;
}





.menu-mobile {
    width: 100%;
    height: 100%;
    background-color: #000000;
    position: fixed;
    top: 0px;
    left: -100%;
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

.button-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
}


.menu-hamb {
    display: none;
}



.menu-mobile nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.menu-mobile nav a {
    text-decoration: none;
    color: white;
}

.open {
    left: 0px;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.button-close {
    cursor: pointer;
}





.container-cart-main {
    background-color: #00000096;
    width: 100%;
    height: 100vh;
    z-index: 590;
    position: fixed;
    top: 0px;
    opacity: 1;
    transition: all 0.4s;
}

.carrinho {
    color: black;
    position: fixed;
    display: none;
    top: 0px;
    right: 0px;
    transform: translateX(100%);
    width: 400px;
    height: 100%;
    background-color: white;
    z-index: 600;
    transition: transform 0.3s ease;
}


.container-carrinho {
    position: relative;
    height: 100%;
    width: 100%;
}


.header-carrinho {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px 5px 8px;
}

.div-close-carrinho {
    padding: 8px;
    cursor: pointer;
    transition: all 0.4s;
}

.div-close-carrinho:hover {
    transform: rotateZ(180deg);
}

.div-close-carrinho p {
    font-size: 30px;
}

.main-carrinho {
    height: 70%;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding-top: 20px;
}

.main-carrinho .produto-carrinho {
    display: flex;
    gap: 8px;
    position: relative;
}

.trash-produto {
    position: absolute;
    right: 20px;
    top: 10px;
}

.trash-produto a {
    text-decoration: none;
    color: black;
}

.trash-produto h1 {
    font-size: 20px;
    font-weight: bold;
}

.main-carrinho .produto-carrinho .img-produto-carrinho img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    object-position: center;
    padding-left: 8px;
}


.titulo-produto-carrinho h4 {
    font-weight: bold;
    width: 200px;
    font-size: 14px;
}

.preco-produto-carrinho p {
    padding-top: 5px;
    font-weight: bold;
    color: #555555;
    font-size: 13px;
}



.quantidade-produto-carrinho {
    padding-top: 8px;
    color: #555555;
}

.quantidade-produto-carrinho input {
    width: 70px;
    height: 30px;
    text-align: center;
    border: 1px solid rgb(153, 153, 153);
    outline: none;
    font-size: 16px;
    border-radius: 10px;
    color: #474747;
}

.quantidade-produto-carrinho label {
    font-size: 14px;
}

.botoes-carrinho {
    height: 140px;
    width: 100%;
    bottom: 0px;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.total-carrinho {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 8px 0px 8px;
}

.total-carrinho h1 {
    font-size: 14px;
}

.finalizar {
    width: 100%;
    text-align: center;
}

.finalizar a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    height: 40px;
    width: 96%;
    margin: auto;
    background-color: #333;
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.4s;
}

.finalizar a:hover {
    background-color: white;
    border: 1px solid black;
    color: black;
}


.continuar {
    padding: 8px;
    cursor: pointer;
}

.continuar p {
    font-size: 13px;
}

.oculto {
    display: none;
}

.cart-ap {
    transform: translateX(0);
}

/* Container da notificação */
.notification {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(111, 185, 108);
    /* vermelho de erro */
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    font-family: sans-serif;
    z-index: 1000;
    overflow: hidden;
}

/* Barra de progresso (fundo) */
.progress-bar {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    border-radius: 3px;
    overflow: hidden;
    position: absolute;
    bottom: 0px;
    left: 0px;
}

/* Barra de progresso (parte que enche) */
.progress {
    height: 100%;
    width: 0%;
    background-color: white;
    transition: width linear;
}










@media (max-width: 820px) {

    header nav {
        display: none;
    }

    .logo {
        position: relative;
        margin-left: 20px;
    }

    .menu-hamb {
        display: block;
        height: 40px;
        position: relative;
        top: 30px;
        font-size: 27px;
    }
}

@media (max-width: 403px) {
    .carrinho {
        width: 370px;
    }
}