/*
Theme Name: Loja da Cama Hospitalar
Theme URI: https://exemplo.com
Author: Patrick
Author URI: https://exemplo.com
Description: Tema WordPress para aluguel e venda de camas e equipamentos hospitalares.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loja-hospitalar
*/
/* ===========================
   Base
   =========================== */
body { font-family: 'Roboto', sans-serif; }
footer p { margin: 0; }

/* ===========================
   Header / Navbar
   =========================== */
.minha-navbar {
  background-color: #009688;
  padding: 8px 0; /* header mais baixo */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



.minha-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo à esquerda, menu ocupa centro */
  gap: 16px;
}

.minha-navbar .navbar-brand img {
  width: 80px;
  height: 80px;
}

#navbarNav {
  flex: 1; /* ocupa o espaço entre logo e borda direita */
  display: flex;
  justify-content: center; /* centraliza os links */
}


/* Links como botões arredondados */
.navbar-nav .nav-link {
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 30px;
  background-color: rgba(255,255,255,0.1);
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  color: #fff;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255,255,255,0.3);
  text-decoration: none;
}

/* Ícones alinhados */
.navbar-nav .nav-link i {
  margin-right: 6px;
}

@media (max-width: 991.98px) {
  #navbarNav { justify-content: center; }
  #navbarNav .navbar-nav { flex-wrap: wrap; gap: 12px; }
  .minha-navbar .navbar-brand img { width: 64px; height: 64px; }
}


/* ===========================
   Categorias
   =========================== */
.bg-categorias {
  background-color: #f4f4f4;
  border-bottom: 1px solid #ddd;
}
.categoria-btn {
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 20px;
  transition: background-color .3s ease, color .3s ease;
}
.categoria-btn:hover {
  background-color: #009688;
  color: #fff;
  border-color: #009688;
}
.categorias-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
@media (min-width: 992px) {
  #categorias-venda,
  #categorias-aluguel {
    position: relative;
    left: -32px;  /* ajuste fino: aumente/diminua se quiser */
  }
}


/* ===========================
   Banner
   =========================== */
.banner-loja {
  background-image: url("./imgs/banner3.jpeg");
  background-size: cover;
  background-position: center;
  height: 300px;
}
.banner-text {
  background-color: rgba(0,0,0,.5);
  padding: 40px;
  border-radius: 10px;
}
.banner-text h1 { font-size: 2.5rem; font-weight: bold; }
.banner-text p  { font-size: 1.3rem; }

@media (max-width: 600px) { .banner-loja { height: 400px; } }
@media (max-width: 600px) { .banner-text {
  
  background-color: rgba(0,0,0,.5);
  padding: 14px;
  border-radius: 10px; } }



/* ===========================
   Cards de Produto
   =========================== */
.produto-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform .2s;
}
.produto-card:hover { transform: scale(1.02); }
.produto-card .card-img-top {
  height: 300px;
  object-fit: contain;
  padding: 15px;
  background-color: #f9f9f927;
}
.produto-card .card-body { padding: 15px; }
.produto-card .card-title { font-size: 1rem; font-weight: 600; color: #333; }
.produto-card .card-text  { font-size: .9rem; color: #555; }
.produto-card .preco-produto { font-weight: bold; color: #004d40; font-size: 1.1rem; margin: 4px 0; }
.produto-card .btn-outline-success { border-color: #4CAF50; color: #4CAF50; font-size: .9rem; }
.produto-card .btn-outline-success:hover { background-color: #4CAF50; color: #fff; }

/* ===========================
   Carrossel
   =========================== */
.carousel-item .card { flex: 0 0 23%; }
@media (max-width: 991px) { .carousel-item .card { flex: 0 0 45%; } }
@media (max-width: 576px) { .carousel-item .card { flex: 0 0 90%; } }

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #009688;
  border-radius: 50%;
  padding: 10px;
  filter: none;
}
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}
@media (max-width: 767.98px) {
  .carousel-control-prev,
  .carousel-control-next {
    top: auto;
    bottom: -70px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
  }
  .carousel-inner { margin-bottom: 3rem; }
}

/* ===========================
   WhatsApp Float
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  text-decoration: none;
  transition: transform .3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 40px; height: 40px; }

.tooltip {
  position: absolute;
  right: 70px;
  background-color: #fff;
  color: #333;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}
.whatsapp-float:hover .tooltip { opacity: 1; }

/* ===========================
   Footer
   =========================== */
.footer-custom {
  background-color: #00796b;
  color: #fff;
  text-align: center;
  padding: 30px 15px;
  font-family: Arial, sans-serif;
}
.footer-top { margin-bottom: 20px; }
.footer-top .telefones { font-size: 1.2rem; font-weight: bold; margin-bottom: 5px; }
.footer-top small { font-size: .8rem; }

.footer-locais {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}
.footer-locais .loja { min-width: 150px; }
.footer-locais .loja strong { display: block; font-size: 1rem; margin-bottom: 5px; }
.footer-locais .loja p { font-size: .9rem; margin: 0; }

/* Mantém as categorias centralizadas em relação ao header */
.categorias-menu .container {
  max-width: 800px;        /* limite de largura p/ centralizar simetricamente */
  margin: 0 auto;          /* garante centralização */
  display: flex;
  justify-content: center; /* centraliza horizontal */
  gap: 20px;
}

/* Deixa todos os botões do mesmo tamanho visual */
.categoria-btn {
  min-width: 130px;        /* largura mínima igual */
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 30px;
}


/* ===========================
   Ajuste NAVBAR no Mobile
   =========================== */
/* Ajuste de botões para telas pequenas (a partir de 400px) */
@media (max-width: 496px) {
  #navbarNav .nav-link {
    font-size: 1.0rem;    /* texto menor */
    padding: 10px 16px;    /* menos altura e largura */
    border-radius: 40px;  /* arredondado proporcional */
  }

  #navbarNav .navbar-nav {
    gap: 8px;             /* diminui espaço entre botões */
    flex-wrap: nowrap;    /* evita quebrar linha */
  }
}


@media (min-width: 992px) {
  #navbarNav {
    position: relative;
    left: -80px; /* ajuste fino: mova para a esquerda */
  }
}

