/* layout */
.titulo-linha {
    display: flex;
    justify-content: space-between;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
}
.titulo-linha h3 { margin: 0; font-size: 18px; }
.titulo-linha a { font-weight: bold; font-size: 14px; color: #000;text-decoration: underline; }

/* wrapper que segura o carrossel e os botões */
.carrossel-wrap {
    padding: 10px 40px;          /* espaço para botões laterais */
    box-sizing: border-box;
	width: 100%;
    max-width: 1200px; /* suporta até monitor grande */
    margin: 0 auto;   /* CENTRALIZA */
    position: relative;           /* necessário para posicionar os botões */
}
/* MOBILE – janela menor */
@media (max-width: 768px) {
    .carrossel-wrapper {
        max-width: 100%;
        padding: 0 5px;
    }
}

/* área rolável */
.carrossel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
	 width: 100%; /* MUITO IMPORTANTE */
    scrollbar-width: none; /* Firefox */
}
.carrossel::-webkit-scrollbar { display: none; }

/* MOBILE - ocupa a tela toda */
#carrossel {
    width: 100%;
}

/* TABLET */
@media (min-width: 768px) {
    #carrossel {
        width: 97%;
    }
}

/* DESKTOP */
@media (min-width: 1024px) {
    #carrossel {
        width: 100%;
    }
}

/* cartão */
.item {
    min-width: 160px;
    max-width: 160px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: Arial, Helvetica, sans-serif;
}
.item img { width: 100%; border-radius: 10px; display:block; }
.tempo { font-size: 12px; color: gray; margin:6px 0 2px; ; color: #aaa;}
.desc { font-size: 12px; height: 40px; overflow: hidden; margin:0; color: #333;}
.preco { margin-top: 5px; font-weight: 700; font-size: 16px; color: #0A95E2; }
.itemlink {text-decoration: none; color: inherit; display: block;}
/* botões */
.btn-left, .btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 0;
    font-size: 20px;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.btn-left { left: 6px; }
.btn-right { right: 6px; }

/* estilo quando desabilitado */
.btn-left[disabled], .btn-right[disabled] {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* responsividade pequena */
@media (max-width:480px) {
    .item { min-width: 140px; max-width: 140px; }
    .titulo-linha h3 { font-size: 16px; }
}
