.quadrado {
  width: 100%;
  /* Largura do quadrado */
  height: 70%;
  margin-top: -20px;
  margin-bottom: 10px;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* Para esconder partes da imagem que saem do quadrado */

}

.imagem {
  width: 130%;
  /* A imagem ocupa 100% da largura do quadrado */
  height: auto;
  /* Mantém a proporção da imagem */
}

.imgem-cat-div {
  flex: 0 0 auto;
  margin-right: 18px;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .imgem-cat-div {
    margin-right: 5px;
  }
}

.imgem-cat-div img {
  height: 90px;
  width: 100px;
  object-fit: cover;
  border-radius: 10px;
}


.quadrado_combo {
  width: 100%;
  max-height: 310px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* Para esconder partes da imagem que saem do quadrado */

}

.imag_combo {
  width: 100%;
  /* A imagem ocupa 100% da largura do quadrado */
  height: auto;
  /* Mantém a proporção da imagem */
}

.cabecario_banner {
  margin-top: -49px;
}


.category__title {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.1;
  color: var(--tp-heading-primary);
  margin-bottom: 0;
  font-family: "Jost", sans-serif;
}

.category__title a:hover {
  color: #252525;

}

.img_combo {
  width: 250px;
  /* Largura do quadro */
  height: 100%;
  /* Borda do quadro */
  padding: 5px;
  /* Espaçamento interno */
  display: flex;
  /* Usando flexbox para centralizar a imagem */
  justify-content: center;
  /* Centraliza horizontalmente */
  align-items: center;

}

.txt-titulo {
  font-size: 14px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px); /* Efeito de vidro moderno */
    border-bottom: 2px solid <?php echo $cor_principal ?> !important;
    padding: 10px 15px;
}

.navbar-brand small {
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-danger {
    border-radius: 20px; /* Botões arredondados são mais amigáveis */
    padding: 5px 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-danger:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.flexslider {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: none;
    margin: 10px;
}

.status-badge {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: bounce 2s infinite;
}

.status-aberto { background: #28a745; color: white; }
.status-fechado { background: #dc3545; color: white; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

body {
    background-color: #f8f9fa; /* Fundo levemente cinza destaca os cards brancos */
    font-family: 'Poppins', sans-serif; /* Fonte moderna */
}

/* Melhorando os títulos das seções */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: <?php echo $cor_principal ?>;
    bottom: 0;
    left: 25%;
    border-radius: 2px;
}

/* Container dos cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); /* Responsivo automático */
    gap: 15px;
    padding: 10px;
}

/* O Card Moderno */
.card-produto {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Imagem do Produto */
.card-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f8f8f8;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-produto:hover img {
    transform: scale(1.1);
}

/* Informações */
.card-info {
    padding: 12px;
    flex-grow: 1;
}

.card-titulo {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-preco {
    color: <?php echo $cor_principal ?>;
    font-weight: 700;
    font-size: 16px;
}

/* Botão Flutuante de Adicionar */
.btn-add-float {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: <?php echo $cor_principal ?>;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}

.categories-scroll {
    display: flex;
    overflow-x: auto;
    padding: 10px 5px;
    gap: 10px;
    -webkit-overflow-scrolling: touch; /* Scroll suave no iPhone */
    scrollbar-width: none; /* Esconde barra no Firefox */
}

.categories-scroll::-webkit-scrollbar {
    display: none; /* Esconde barra no Chrome/Safari */
}

.cat-card {
    background: #ffffff;
    padding: 8px 20px;
    border-radius: 50px; /* Formato de pílula */
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-weight: 600;
    font-size: 14px;
    color: #555;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.cat-card.active {
    background: var(--primary); /* Sua cor principal */
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.cat-card img {
    border-radius: 50%;
    object-fit: cover;
}

.search-input {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 15px; /* Bordas bem arredondadas */
    padding: 12px 15px 12px 45px; /* Espaço para o ícone à esquerda */
    font-size: 14px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    outline: none;
}

.search-icon-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    transition: color 0.3s;
}

.search-input:focus + .search-icon-btn {
    color: var(--primary);
}

/* Efeito para parecer um campo de busca do iOS/Android */
.search-input::placeholder {
    color: #bbb;
    font-weight: 400;
}
