.section_wrap {
  display: flex;
  /* max-width: 900px;
  margin: 50px auto; */
  border: 2px solid #902C28;
  padding: 15px;
}

/* Estilo das abas à esquerda */
.tab_group {
  width: 200px;
  border-right: 2px solid #902C28;
}

.tab_list {
  list-style: none;
  padding: 0;
}

.tab_item {
  padding: 15px;
  cursor: pointer;
  background: black;
  color: #902C28;
  border-bottom: 1px solid #902C28;
  text-align: left;
}

.tab_item.selected {
  background: #902C28;
  color: black;
}

/* Estilo do conteúdo */
.prod_view {
  flex: 1;
  padding: 20px;
}

.prod_img {
  width: 150px; /* Imagem reduzida */
  display: block;
  margin-bottom: 15px;
}

.prod_title {
  margin-bottom: 10px;
}

.prod_specs {
  list-style: none;
  padding: 0;
}

.spec_item {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #902C28;
  padding-bottom: 5px;
}

.btn_action {
  display: inline-block;
  background: #902C28;
  color: black;
  padding: 10px 15px;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.btn_action:hover {
  background: darkred;
}

.prod_section {
  display: none;
}

.prod_section.visible {
  display: block;
}

.image-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.image-container img {
  width: 45%; /* controla o tamanho em telas grandes */
  height: auto;
  max-width: 100%; /* segurança para não ultrapassar o container */
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .image-container {
	flex-direction: column;
  }
  
  .image-container img {
    width: 100%; /* agora sim pode ocupar a largura total */
  }
  
  .image-container img:first-child {
	order: 2;
  }

  .image-container img:last-child {
	order: 1;
  }
}

/* Botão fixo no canto superior direito */
.btn-preco {
  all: unset; /* remove os estilos padrão */
  cursor: pointer;
	
  background: #B3302B;
  color: white;
  position: fixed;
  top: 120px;
  right: 20px;
  font-size: 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0;
  height: 0;
  padding: 30px;
  text-decoration: none;
  border-radius: 25%;
  outline: none;
  box-shadow: none;
}

.btn-preco:hover {
  transform: scale(1.1);
  color: #fff;
}

.btn-topo {
  position: fixed;
  bottom: 8rem;
  right: 4rem;
  display: none; /* escondido inicialmente */
  background-color: #B3302B;
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
  z-index: 1000;  
}

.btn-topo.show {
  display: block;
  opacity: 1;
}