/* VERSÃO MOBILE */

@media only screen and (max-width: 1024px) {
    /* Esconder o nav do desktop */
    .nav {
        display: none;
    }
	
	
	#carsome{
		display:flex;
	}
  
	

    /* Botão Home */
    #btn-home {
        display: block;
        margin: 0 10px;
        color: #fff;
        font-weight: 700;
    }

    /* Estilo do botão hamburguer */
    #menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 1000;
    }

    #menu-toggle span {
        width: 100%;
        height: 3px;
        background: #fff;
        transition: all 0.3s ease;
    }

    #menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Menu mobile */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #491953, #2c0c32);
        z-index: 999;
        padding-top: 60px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-menu ul li {
        margin: 15px 0;
    }

    .mobile-menu ul li a {
        color: #fff;
        font-size: 5vw;
        text-decoration: none;
        font-weight: 300;
    }

    .mobile-menu ul li a:hover {
        color: #fedc1b;
    }

    /* Dropdown no menu mobile */
    .mobile-menu .menu {
        position: relative;
    }

    .mobile-menu .dropdown-content {
        display: none;
        background: #f9f9f9;
        min-width: 160px;
        margin-top: 10px;
    }

    .mobile-menu .menu.active .dropdown-content {
        display: block;
    }

    .mobile-menu .dropdown-content a {
        color: #000;
        font-size: 4vw;
        padding: 10px;
        display: block;
    }

    .mobile-menu .dropdown-content a:hover {
        background: #fedc1b;
    }

    /* Carrinho no topo */
    .botao-carrinho {
        width: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 4vw;
        color: #fff;
        text-decoration: none;
    }

    .botao-carrinho i {
        margin-left: 5px;
        font-size: 4vw;
    }

    .contador-carrinho,
    #valor-total {
        background: red;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 3vw;
        margin-left: 5px;
    }

    /* Outros estilos do mobile */
    #b3 {
        display: none;
    }

    .border {
        width: 90%;
        margin: 10px 0;
    }

    .destaque {
        width: 90%;
        height: 40px;
        font-size: 3vw;
    }

    .destaque-bar {
        width: 5%;
        height: 40px;
    }

    .produtos-center {
        flex-wrap: wrap;
    }

    .produto {
        margin: 10vw 0;
    }

    .prod-price h2 {
        font-size: 7vw;
    }

    .prod-price p {
        font-size: 5vw;
        font-weight: 400;
    }

    .pay-btn {
        font-size: 5vw;
    }

    .foot-a, .foot-b, .foot-c, .foot-s {
        width: 100%;
        margin: 30px 0;
        justify-content: flex-start;
        font-size: 3vw;
    }

    .head-menu {
        font-size: 5vw;
    }

    .footer {
        height: auto;
    }

    .footer-center {
        flex-direction: column;
    }

    .foot-a li, .foot-b li {
        font-size: 4vw;
    }

    .foot-a ul {
        margin: 0;
        padding: 0;
    }

    .foot-a img {
        width: 50%;
    }

    .item-center {
        flex-direction: column;
    }

    .i-left, .i-right {
        width: 100%;
    }

    .i-left img {
        width: 100%;
    }

    .head-item {
        font-size: 4vw;
    }

    .name-item {
        margin: 1vw 0;
        font-size: 7vw;
        font-weight: 600;
        line-height: 8vw;
    }

    .price-item {
        font-size: 6vw;
        margin-bottom: 1vw;
    }

    .btn-item {
        font-size: 4vw;
        margin: 3vh 0;
    }

    .desc-item {
        font-size: 3vw;
        text-align: justify;
        line-height: 5vw;
    }

    label {
        font-size: 14px;
        display: block;
        margin-bottom: 8px;
    }

    .lista-produtos {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
        padding: 10px;
    }

    .produto-recomendado {
        width: 48% !important;
        box-sizing: border-box;
    }

    form input {
        width: 86%;
        padding: 20px;
        margin-top: 10px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }
}

/* Esconder menu mobile no desktop */
@media only screen and (min-width: 1025px) {
    #menu-toggle,
    .mobile-menu {
        display: none;
    }
}