/*
Theme Name: Divi Child
Template: Divi
Author: Galeria La Insalata
Description: Tema filho personalizado da Galeria La Insalata para Divi.
Version: 1.0
*/

/* O Divi pai é carregado via functions.php; não precisa @import aqui */

/* Remover bordas arredondadas apenas na área de produtos */
.gla-filtros,
.gla-filtros * ,
.gla-produtos,
.gla-produtos * {
  border-radius: 0 !important;
}

/* ==========================
   ÁREA DE FILTROS
========================== */

.gla-filtros {
  max-width: 1780px;
  width: 80%;
  margin: 30px auto 25px;
  padding: 20px 20px 16px;
  background: #fff;
  border: 1px solid #ddd;
}

/* === GRID BASE 12 COLUNAS === */
.gla-filtros-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px 18px;
  align-items: end;
  margin-bottom: 20px;
  padding: 20px 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

/* === COLUNAS === */
.gla-filtros-grid-1  { grid-column: span 1; }
.gla-filtros-grid-2  { grid-column: span 2; }
.gla-filtros-grid-3  { grid-column: span 3; }
.gla-filtros-grid-4  { grid-column: span 4; }
.gla-filtros-grid-5  { grid-column: span 5; }
.gla-filtros-grid-6  { grid-column: span 6; }
.gla-filtros-grid-7  { grid-column: span 7; }
.gla-filtros-grid-8  { grid-column: span 8; }
.gla-filtros-grid-9  { grid-column: span 9; }
.gla-filtros-grid-10 { grid-column: span 10; }
.gla-filtros-grid-11 { grid-column: span 11; }
.gla-filtros-grid-12 { grid-column: span 12; }

/* === CAMPOS GERAIS === */
.gla-filtros-grid label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.gla-filtros-grid input[type="text"],
.gla-filtros-grid select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.gla-filtros-grid input[type="text"]:focus,
.gla-filtros-grid select:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

/* ===== BLOCO DE CORES ===== */
.gla-cores {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;  /* 🔥 mantém alinhado à esquerda sem cortar */
  gap: 10px;
  padding: 0 4px;             /* 🔥 adiciona leve respiro interno */
  box-sizing: border-box;       /* 🔥 garante cálculo correto da largura */
  overflow: visible;            /* 🔥 impede o corte das bolinhas nas bordas */
}

.gla-cor {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #fff;
  box-shadow: 0 0 0 2px #ccc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;               /* 🔥 evita compressão no final da linha */
}

.gla-cor:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px #000;
}

.gla-cor.active {
  box-shadow: 0 0 0 2px #000;
  transform: scale(1.1);
}

/* === BOTÃO FILTRAR === */
.gla-btn-filtrar {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    height: 34px;
    margin-top: 36px;
}

.gla-btn-filtrar:hover {
  background: #333;
}

/* === RESPONSIVIDADE === */
@media (max-width: 992px) {
  .gla-filtros-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .gla-filtros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gla-filtros-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================
   GRID DE PRODUTOS
========================== */

.gla-produtos {
  max-width: 1780px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.gla-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.gla-desc {
  padding:15px
}

.gla-card h3 {
  font-size: 17px;
  margin: 0 0 4px;
  font-weight: 700;
}

.gla-card p {
  margin: 2px 0;
  font-size: 14px;
}

.gla-card .meta {
  font-size: 13px;
  color: #555;
}

.gla-card strong {
  margin-top: 8px;
  display: block;
  font-size: 15px;
}

.gla-card .gla-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border: 1px solid #000;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
}

.gla-card .gla-btn:hover {
  background: #000;
  color: #fff;
}

/* ==========================
   RESPONSIVO
========================== */

@media (max-width: 768px) {
  .gla-filtros {
    padding: 16px;
  }

  .gla-filtros-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gla-produtos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .gla-filtros-grid {
    grid-template-columns: 1fr;
  }

  .gla-produtos {
    grid-template-columns: 1fr;
  }
}

/* ==============================
  Linhas e Colunas
===============================*/

.row {
  margin-right: -15px;
  margin-left: -15px;
  display: table;
  width: 100%;
}
.row-no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row-no-gutters [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}
.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
  float: left;
}
.col-xs-12 {
  width: 100%;
}
.col-xs-11 {
  width: 91.66666667%;
}
.col-xs-10 {
  width: 83.33333333%;
}
.col-xs-9 {
  width: 75%;
}
.col-xs-8 {
  width: 66.66666667%;
}
.col-xs-7 {
  width: 58.33333333%;
}
.col-xs-6 {
  width: 50%;
}
.col-xs-5 {
  width: 41.66666667%;
}
.col-xs-4 {
  width: 33.33333333%;
}
.col-xs-3 {
  width: 25%;
}
.col-xs-2 {
  width: 16.66666667%;
}
.col-xs-1 {
  width: 8.33333333%;
}
.col-xs-pull-12 {
  right: 100%;
}
.col-xs-pull-11 {
  right: 91.66666667%;
}
.col-xs-pull-10 {
  right: 83.33333333%;
}
.col-xs-pull-9 {
  right: 75%;
}
.col-xs-pull-8 {
  right: 66.66666667%;
}
.col-xs-pull-7 {
  right: 58.33333333%;
}
.col-xs-pull-6 {
  right: 50%;
}
.col-xs-pull-5 {
  right: 41.66666667%;
}
.col-xs-pull-4 {
  right: 33.33333333%;
}
.col-xs-pull-3 {
  right: 25%;
}
.col-xs-pull-2 {
  right: 16.66666667%;
}
.col-xs-pull-1 {
  right: 8.33333333%;
}
.col-xs-pull-0 {
  right: auto;
}
.col-xs-push-12 {
  left: 100%;
}
.col-xs-push-11 {
  left: 91.66666667%;
}
.col-xs-push-10 {
  left: 83.33333333%;
}
.col-xs-push-9 {
  left: 75%;
}
.col-xs-push-8 {
  left: 66.66666667%;
}
.col-xs-push-7 {
  left: 58.33333333%;
}
.col-xs-push-6 {
  left: 50%;
}
.col-xs-push-5 {
  left: 41.66666667%;
}
.col-xs-push-4 {
  left: 33.33333333%;
}
.col-xs-push-3 {
  left: 25%;
}
.col-xs-push-2 {
  left: 16.66666667%;
}
.col-xs-push-1 {
  left: 8.33333333%;
}
.col-xs-push-0 {
  left: auto;
}
.col-xs-offset-12 {
  margin-left: 100%;
}
.col-xs-offset-11 {
  margin-left: 91.66666667%;
}
.col-xs-offset-10 {
  margin-left: 83.33333333%;
}
.col-xs-offset-9 {
  margin-left: 75%;
}
.col-xs-offset-8 {
  margin-left: 66.66666667%;
}
.col-xs-offset-7 {
  margin-left: 58.33333333%;
}
.col-xs-offset-6 {
  margin-left: 50%;
}
.col-xs-offset-5 {
  margin-left: 41.66666667%;
}
.col-xs-offset-4 {
  margin-left: 33.33333333%;
}
.col-xs-offset-3 {
  margin-left: 25%;
}
.col-xs-offset-2 {
  margin-left: 16.66666667%;
}
.col-xs-offset-1 {
  margin-left: 8.33333333%;
}
.col-xs-offset-0 {
  margin-left: 0%;
}
@media (min-width: 768px) {
  .col-sm-1,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }
  .col-sm-pull-12 {
    right: 100%;
  }
  .col-sm-pull-11 {
    right: 91.66666667%;
  }
  .col-sm-pull-10 {
    right: 83.33333333%;
  }
  .col-sm-pull-9 {
    right: 75%;
  }
  .col-sm-pull-8 {
    right: 66.66666667%;
  }
  .col-sm-pull-7 {
    right: 58.33333333%;
  }
  .col-sm-pull-6 {
    right: 50%;
  }
  .col-sm-pull-5 {
    right: 41.66666667%;
  }
  .col-sm-pull-4 {
    right: 33.33333333%;
  }
  .col-sm-pull-3 {
    right: 25%;
  }
  .col-sm-pull-2 {
    right: 16.66666667%;
  }
  .col-sm-pull-1 {
    right: 8.33333333%;
  }
  .col-sm-pull-0 {
    right: auto;
  }
  .col-sm-push-12 {
    left: 100%;
  }
  .col-sm-push-11 {
    left: 91.66666667%;
  }
  .col-sm-push-10 {
    left: 83.33333333%;
  }
  .col-sm-push-9 {
    left: 75%;
  }
  .col-sm-push-8 {
    left: 66.66666667%;
  }
  .col-sm-push-7 {
    left: 58.33333333%;
  }
  .col-sm-push-6 {
    left: 50%;
  }
  .col-sm-push-5 {
    left: 41.66666667%;
  }
  .col-sm-push-4 {
    left: 33.33333333%;
  }
  .col-sm-push-3 {
    left: 25%;
  }
  .col-sm-push-2 {
    left: 16.66666667%;
  }
  .col-sm-push-1 {
    left: 8.33333333%;
  }
  .col-sm-push-0 {
    left: auto;
  }
  .col-sm-offset-12 {
    margin-left: 100%;
  }
  .col-sm-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-sm-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-sm-offset-9 {
    margin-left: 75%;
  }
  .col-sm-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-sm-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-sm-offset-6 {
    margin-left: 50%;
  }
  .col-sm-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-sm-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-sm-offset-3 {
    margin-left: 25%;
  }
  .col-sm-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-sm-offset-0 {
    margin-left: 0%;
  }
}
@media (min-width: 992px) {
  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12 {
    float: left;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-11 {
    width: 91.66666667%;
  }
  .col-md-10 {
    width: 83.33333333%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .col-md-7 {
    width: 58.33333333%;
  }
  .col-md-6 {
    width: 48%;
  }
  .col-md-5 {
    width: 41.66666667%;
  }
  .col-md-4 {
    width: 31%;
  }
  .col-md-3 {
    width: 23%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-1 {
    width: 8.33333333%;
  }
  .col-md-pull-12 {
    right: 100%;
  }
  .col-md-pull-11 {
    right: 91.66666667%;
  }
  .col-md-pull-10 {
    right: 83.33333333%;
  }
  .col-md-pull-9 {
    right: 75%;
  }
  .col-md-pull-8 {
    right: 66.66666667%;
  }
  .col-md-pull-7 {
    right: 58.33333333%;
  }
  .col-md-pull-6 {
    right: 50%;
  }
  .col-md-pull-5 {
    right: 41.66666667%;
  }
  .col-md-pull-4 {
    right: 33.33333333%;
  }
  .col-md-pull-3 {
    right: 25%;
  }
  .col-md-pull-2 {
    right: 16.66666667%;
  }
  .col-md-pull-1 {
    right: 8.33333333%;
  }
  .col-md-pull-0 {
    right: auto;
  }
  .col-md-push-12 {
    left: 100%;
  }
  .col-md-push-11 {
    left: 91.66666667%;
  }
  .col-md-push-10 {
    left: 83.33333333%;
  }
  .col-md-push-9 {
    left: 75%;
  }
  .col-md-push-8 {
    left: 66.66666667%;
  }
  .col-md-push-7 {
    left: 58.33333333%;
  }
  .col-md-push-6 {
    left: 50%;
  }
  .col-md-push-5 {
    left: 41.66666667%;
  }
  .col-md-push-4 {
    left: 33.33333333%;
  }
  .col-md-push-3 {
    left: 25%;
  }
  .col-md-push-2 {
    left: 16.66666667%;
  }
  .col-md-push-1 {
    left: 8.33333333%;
  }
  .col-md-push-0 {
    left: auto;
  }
  .col-md-offset-12 {
    margin-left: 100%;
  }
  .col-md-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-md-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-md-offset-9 {
    margin-left: 75%;
  }
  .col-md-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-md-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-md-offset-6 {
    margin-left: 50%;
  }
  .col-md-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-md-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-md-offset-3 {
    margin-left: 25%;
  }
  .col-md-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-md-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-md-offset-0 {
    margin-left: 0%;
  }
}
@media (min-width: 1200px) {
  .col-lg-1,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12 {
    float: left;
  }
  .col-lg-12 {
    width: 100%;
  }
  .col-lg-11 {
    width: 91.66666667%;
  }
  .col-lg-10 {
    width: 83.33333333%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-8 {
    width: 66.66666667%;
  }
  .col-lg-7 {
    width: 58.33333333%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-5 {
    width: 41.66666667%;
  }
  .col-lg-4 {
    width: 33.33333333%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-2 {
    width: 16.66666667%;
  }
  .col-lg-1 {
    width: 8.33333333%;
  }
  .col-lg-pull-12 {
    right: 100%;
  }
  .col-lg-pull-11 {
    right: 91.66666667%;
  }
  .col-lg-pull-10 {
    right: 83.33333333%;
  }
  .col-lg-pull-9 {
    right: 75%;
  }
  .col-lg-pull-8 {
    right: 66.66666667%;
  }
  .col-lg-pull-7 {
    right: 58.33333333%;
  }
  .col-lg-pull-6 {
    right: 50%;
  }
  .col-lg-pull-5 {
    right: 41.66666667%;
  }
  .col-lg-pull-4 {
    right: 33.33333333%;
  }
  .col-lg-pull-3 {
    right: 25%;
  }
  .col-lg-pull-2 {
    right: 16.66666667%;
  }
  .col-lg-pull-1 {
    right: 8.33333333%;
  }
  .col-lg-pull-0 {
    right: auto;
  }
  .col-lg-push-12 {
    left: 100%;
  }
  .col-lg-push-11 {
    left: 91.66666667%;
  }
  .col-lg-push-10 {
    left: 83.33333333%;
  }
  .col-lg-push-9 {
    left: 75%;
  }
  .col-lg-push-8 {
    left: 66.66666667%;
  }
  .col-lg-push-7 {
    left: 58.33333333%;
  }
  .col-lg-push-6 {
    left: 50%;
  }
  .col-lg-push-5 {
    left: 41.66666667%;
  }
  .col-lg-push-4 {
    left: 33.33333333%;
  }
  .col-lg-push-3 {
    left: 25%;
  }
  .col-lg-push-2 {
    left: 16.66666667%;
  }
  .col-lg-push-1 {
    left: 8.33333333%;
  }
  .col-lg-push-0 {
    left: auto;
  }
  .col-lg-offset-12 {
    margin-left: 100%;
  }
  .col-lg-offset-11 {
    margin-left: 91.66666667%;
  }
  .col-lg-offset-10 {
    margin-left: 83.33333333%;
  }
  .col-lg-offset-9 {
    margin-left: 75%;
  }
  .col-lg-offset-8 {
    margin-left: 66.66666667%;
  }
  .col-lg-offset-7 {
    margin-left: 58.33333333%;
  }
  .col-lg-offset-6 {
    margin-left: 50%;
  }
  .col-lg-offset-5 {
    margin-left: 41.66666667%;
  }
  .col-lg-offset-4 {
    margin-left: 33.33333333%;
  }
  .col-lg-offset-3 {
    margin-left: 25%;
  }
  .col-lg-offset-2 {
    margin-left: 16.66666667%;
  }
  .col-lg-offset-1 {
    margin-left: 8.33333333%;
  }
  .col-lg-offset-0 {
    margin-left: 0%;
  }
}

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}
.form-control:focus, input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus {
  border-color: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999;
}
.form-control::-webkit-input-placeholder {
  color: #999;
}
.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #eeeeee;
  opacity: 1;
}
.form-control[disabled],
fieldset[disabled] .form-control {
  cursor: not-allowed;
}
textarea.form-control {
  height: auto;
}

label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

/*
Theme Name: Divi Child
Description: Layout minimalista Galeria La Insalata
*/

body {
  background: #fff;
  color: #111;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* CONTAINER PRINCIPAL */
.gla-container {
  display: flex;
  gap: 40px;
  max-width: 1780px;
  width: 90%;
  margin: 40px auto;
}

/* SIDEBAR DE FILTROS */
.gla-sidebar {
  width: 30%;
  background: #fff;
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.gla-sidebar h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.gla-filtro-bloco {
  margin-bottom: 20px;
}

.gla-filtro-bloco label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.gla-filtro-bloco input[type="text"], .gla-filtro-bloco select {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 0;
    background: #fff;
    transition: all 0.2s ease;
    border-bottom: 1px solid #000;
    border-top: none;
    border-left: none;
    border-right: none;
}

.gla-filtro-bloco input:focus,
.gla-filtro-bloco select:focus {
  border-color: #000;
  background: #fff;
}

/* CORES */
.gla-cores {
  display: flex;
  gap: 8px;
}

.gla-cor {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gla-cor:hover,
.gla-cor.active {
  border-color: #000;
  transform: scale(1.1);
}

/* BOTÃO FILTRAR */
.gla-btn-filtrar {
  display: inline-block;
  width: 100%;
  background: #000;
  color: #fff;
  border: none;
  padding: 10px 14px;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gla-btn-filtrar:hover {
  background: #333;
}

/* GRID DE PRODUTOS */
.gla-produtos {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.gla-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.gla-card:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.gla-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
}

.gla-desc {
    padding: 15px;
    background-color: #fff;
}

.gla-card h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 100;
  text-transform: uppercase;
}

.gla-card p {
  font-size: 15px;
  color: #666;
  margin: 0;
  font-weight: 100;
  text-transform: uppercase;
}

.gla-card .meta {
  font-size: 12px;
  color: #999;
  margin: 0;
  font-weight: 100;
  text-transform: uppercase;
}

.gla-card strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0;
  font-weight: 100;
  text-transform: uppercase;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .gla-container {
    flex-direction: column;
  }
  .gla-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .gla-container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .gla-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
  }

  .gla-produtos {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
  }

  .gla-card {
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
  }
}

/* CORREÇÃO GERAL MOBILE */
html, body {
  overflow-x: hidden;
}

/* CABEÇALHO DOS FILTROS */
.gla-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gla-sidebar-header h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.gla-toggle-filtros {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.3s ease;
}

.gla-toggle-filtros img {
  width: 20px;
  height: 20px;
  display: block;
}

.gla-toggle-filtros:hover {
  transform: rotate(15deg);
}

/* ANIMAÇÃO DE COLAPSAR FILTROS */
.gla-filtros-conteudo {
  overflow: hidden;
  max-height: 999px;
  transition: max-height 0.4s ease;
}

.gla-filtros-conteudo.is-collapsed {
  max-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

/* CABEÇALHO DOS FILTROS */
.gla-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.gla-sidebar-header h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.gla-toggle-filtros {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.gla-toggle-filtros:hover {
  transform: rotate(10deg);
  color: #555;
}

/* ANIMAÇÃO DE COLAPSAR FILTROS */
.gla-filtros-conteudo {
  overflow: hidden;
  max-height: 999px;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.gla-filtros-conteudo.is-collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.gla-toggle-filtros {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gla-toggle-filtros svg {
  transition: transform 0.3s ease, color 0.3s ease;
  transform: rotate(0deg);
}

/* quando o filtro estiver aberto (classe .is-active), o ícone gira */
.gla-toggle-filtros.is-active svg {
  transform: rotate(180deg);
  color: #555;
}

/* ===== CARD PRINCIPAL ===== */
.gla-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gla-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* ===== IMAGEM ===== */
.gla-img-wrapper {
  position: relative;
}

.gla-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== TAGS SOBRE A IMAGEM ===== */
.gla-card-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gla-tag {
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  border-radius: 30px;
  padding: 6px 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  white-space: nowrap;
}

/* ===== DESCRIÇÃO ===== */
.gla-desc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 13px;
  color: #555;
  text-transform: uppercase;
  font-weight: 400;
  border-top: 1px solid #f1f1f1;
}

.gla-meta-left {
  margin: 0;
  color: #666;
  letter-spacing: 0.5px;
}

.gla-meta-right {
  margin: 0;
  color: #999;
  font-size: 12px;
}

/* ===== CARD PRINCIPAL ===== */
.gla-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gla-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

/* ===== IMAGEM ===== */
.gla-img-wrapper {
  position: relative;
}

.gla-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== TAGS SOBRE A IMAGEM ===== */
.gla-card-info {
  position: absolute;
  bottom: 25px;
  left: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gla-tag {
    background: #fff;
    color: #000;
    font-weight: 100;
    border-radius: 30px !important;
    padding: 4px 12px 2px 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    text-transform: uppercase;
}

/* ===== DESCRIÇÃO ===== */
.gla-desc {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 🔥 garante alinhamento perfeito no centro vertical */
  padding: 14px 18px;
  font-size: 13px;
  color: #555;
  text-transform: uppercase;
  font-weight: 400;
  border-top: 1px solid #f1f1f1;
  line-height: 1.4; /* mantém altura de linha consistente */
}

.gla-desc p {
  margin: 0; /* 🔥 remove qualquer desnível de margem */
  padding: 0;
  line-height: 1.4; /* 🔥 iguala a altura de linha entre ambos */
}

.gla-meta-left {
  color: #666;
  letter-spacing: 0.5px;
}

.gla-meta-right {
  color: #999;
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* =======================
   DETALHES DO PRODUTO
======================= */

.gla-produto-detalhe {
    background: #fff;
    padding: 0;
    width: 80%;
    margin: 0 auto;
    max-width: 1780px;
}

/* ====== TÍTULO ====== */
.gla-produto-titulo {
    font-size: 48px;
    font-weight: 100;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
    padding: 50px;
}

/* ====== GRID PRINCIPAL ====== */
.gla-produto-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

/* ====== FOTO DO PRODUTO ====== */
.gla-foto-produto {
  display: flex;
  justify-content: center;
}
.gla-foto-produto img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ====== COLUNA DIREITA ====== */
.gla-col-direita {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ====== LINK 3D ====== */
.gla-link3d h3 {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gla-btn-3d {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}
.gla-btn-3d:hover {
  background: #333;
}

/* ====== TABELA ====== */
.gla-info-produto {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.gla-info-produto th {
  width: 35%;
  text-align: left;
  padding: 10px;
  text-transform: uppercase;
  color: #666;
  border-bottom: 1px solid #eee;
}
.gla-info-produto td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* ====== AMBIENTE ====== */
.gla-ambiente h3 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.gla-ambiente img {
    width: 100%;
    border-radius: 0;
    max-width: 800px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ====== CONHEÇA TAMBÉM ====== */
.gla-conheca h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.gla-conheca-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.gla-conheca-grid .gla-card {
  width: 180px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}
.gla-conheca-grid .gla-card:hover {
  transform: translateY(-4px);
}
.gla-conheca-grid img {
  width: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.gla-conheca-grid p {
  font-size: 13px;
  padding: 8px;
  color: #333;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 992px) {
  .gla-produto-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .gla-produto-titulo {
    font-size: 28px;
  }
  
  .gla-col-direita {
    align-items: center;
  }

  .gla-info-produto th {
    width: 40%;
  }
}

.gla-ambiente {
    text-align: center;
    background: #efefef;
}
.details-container {
    width: 80%;
    max-width: 1780px;
    margin: 0 auto;
    display: block;
}

/* 2 cards por linha no desktop */
#lista-produtos.gla-produtos {
    display: block;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px;
}

/* opcional: 1 card por linha no mobile */
@media (max-width: 768px) {
    #lista-produtos.gla-produtos {
        grid-template-columns: 1fr !important;
    }
}

/* área dos produtos com scroll só vertical */
#busca-dados {
    width: 100%;
    max-height: max-content;   
} 

.gla-btn-limpar {
    margin-top: 10px;
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    text-transform: uppercase;
    font-size: 12px;
    cursor: pointer;
}

.gla-btn-limpar:hover {
    background: #e9e9e9;
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    background: url('./page-loader.gif') 50% 50% no-repeat rgba(249, 249, 249, 0.5);
}

/* Grid de produtos (2 por linha) */
.gla-grid-produtos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* Paginação logo abaixo, ocupando toda a largura */
.gla-paginacao {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Botões da paginação */
.gla-paginacao .gla-page-link,
.gla-paginacao .gla-page-link:visited,
.gla-paginacao .gla-page-link:active,
.gla-paginacao .gla-page-link:hover,
.gla-paginacao span.gla-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    background: #fff;
    box-sizing: border-box;
}

/* Página atual */
.gla-paginacao .gla-current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Anterior/Próxima desabilitados */
.gla-paginacao .gla-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Opcional: em telas menores, centraliza e quebra linha bonitinho */
@media (max-width: 768px) {
    .gla-grid-produtos {
        grid-template-columns: 1fr;
    }

    .gla-paginacao {
        flex-wrap: wrap;
    }
}

.gla-paginacao {
    justify-content: flex-start;
}