main nav {
    margin-left: 50px;
    display: flex;
    align-self: flex-start;
}

nav ol a {
    text-decoration: none;
    color: #030E4F;
    padding: 5px;
}

nav ol a:hover {
    background-color: #f49e1ca4;
    border-radius: 3px;
}

main {
    margin-top: 30px;
}

.card-produto {
    display: flex;
    width: 60%;
    border: 1px solid #030E4F;
    border-radius: 5px;
}

.card-produto-img {
    border-right: 1px solid #030E4F;
    padding: 15px;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-sub-img {
    width: 90%;
    display: flex;
}

.card-produto-img img {
    width: 90%;
    margin-bottom: 10px;
    margin-left: 8px;
    border: 1px solid #030E4F;
    border-radius: 10px;
}

.card-produto-info {
    width: 50%;
    padding-top: 15px;
    padding-left: 15px;
}

.quantidade {
    display: flex;
    width: 100%;
    justify-content: space-around;
}

.botao-quantidade {
    background-color: #F49F1C;
    color: #030E4F;
    width: 33px;
    height: 33px;
    border-radius: 10px;
}

main .btn-primary {
    background-color: #030E4F;
    border: 2px solid #F49F1C;
    color: #F49F1C;
    margin-bottom: 10px;
}

main .btn-primary:hover {
    border: 2px solid #030E4F;
    color: #030E4F;
}

main .btn-primary:focus {
    background-color: #030E4F;
    border: 2px solid #F49F1C;
    color: #F49F1C;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #F49F1C;
    color: #F49F1C;
}

.btn-secondary:hover {
    color: #030E4F;
    background-color: #F49F1C;
    border: 2px solid #030E4F;
}

#botao-add-carrinho {
    justify-content: center;
    align-items: center;
    display: flex;
}

.galeria-wrapper {
    overflow-x: auto;
}

.galeria-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.galeria-wrapper::-webkit-scrollbar {
    display: none;
}

.galeria {
    display: flex;
    flex-flow: row nowrap;
    gap: 30px;
}

.arrow-left,
.arrow-right {
    position: absolute;
    margin-top: 170px;
    top: 0;
    left: 0;
    right: auto;
    bottom: 1;
    cursor: pointer;
    background: transparent;
    border: none;
}

.arrow-right {
    position: absolute;
    margin-top: 150px;
    top: 0;
    left: auto;
    right: 0;
    bottom: 1;
}

.arrow-left i,
.arrow-right i {
    font-size: 25px;
}

.item {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 250px;
    height: 400px;
    flex-shrink: 0;
    padding: 15px;
}

.item img {
    width: 100%;
    height: 230px;
    margin-bottom: 10px;
    border: 1px solid #030E4F;
    border-radius: 5px;
}

#produtos-relacionados {
    display: flex;
    justify-content: center;
}

.item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
}

.item img:hover {
    transition: all 0.4s ease;
    transform: scale(1.05, 1.05);
}

@media screen and (max-width: 1349px) {
    .card-produto {
        width: 95%;
    }

    .card-produto-info {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .card-produto {
        width: 80%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .card-produto-img {
        border: none;
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .card-sub-img {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
}

@media screen and (max-width: 650px) {
    .card-produto {
        width: 90%;
    }

    .card-produto-img {
        flex-direction: column;
    }

    .card-sub-img {
        flex-direction: row;
    }

    .card-sub-img img {
        width: 29%;
    }
}

@media screen and (max-width: 575px) {
    .card-sub-img {
        display: none;
    }
}

.botao-modal-home {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.botao-modal-home button {
    border: 2px solid #F49F1C;
    background-color: transparent;
    color: #F49F1C;
    padding: 5px;
    border-radius: 5px;
}

.botao-modal-home button:hover {
    background-color: #030E4F;
    transition: all 0.5s ease;
}


.botao-modal-home p {
    color: green;
    margin-top: 10px;
}