.category-item a, .subcategory-item a {
	font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.category-item:hover a, .subcategory-item:hover a {
color: #ffffff !important;
}

h2.woocommerce-loop-product__title {
  min-height: 80px !important;
}

.shop-container{
	margin-bottom: 40px;
}

.woocommerce-loop-product__link > img {
  width: auto !important;
  height: 150px !important;
  margin: auto !important;
}

.page-wrap{
  min-height: 90vh;
}
.category-item{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 5px 10px !important;
    cursor: pointer;
	border-color: #E8E8E8;
    transition-duration: 0.5s;
    padding: 5px 0px 5px 0px;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-radius: 0px 0px 0px 0px;
}

.category-item a{
	font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
}

.category-item:hover{
    background: #06358A;
    color: #FFFFFF !important;
    transition: all .3s ease;
}
.category-item:hover a{
	color: #ffffff;
}
.w-100{
    width: 100% !important;
}
.product-categories .active, subproduct-categories .active{
    background: #7387bd !important;
}

.product-categories .active a, subproduct-categories .active a{
    color: #FFFFFF !important;
}

.subproduct-categories{
    display: none;
}
.show{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.subcategory-item{
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #ededed;
    padding: 5px 10px;
    cursor: pointer;
}
.product-categories {
    list-style: none;
    padding: 0;
}
.product-categories li {
    margin: 10px 0;
}
.subcategory-list {
    margin-left: 20px;
    list-style: none;
}
.category-item a, .subcategory-item a{
    color: #000 !important;
}


/* Contêiner Geral */
.filter-container {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
  justify-content: space-around;
  margin-bottom: 10px;
  font-family: 'Montserrat';
}

/* Grupo de Filtro */
.filter-group {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.filter-group label {
  font-size: 12px;
  color: #555;
  margin-bottom: 0;
}

/* Botão Estilizado */
.filter-button {
  background: none;
  border: none;
  
  font-size: 14px;
  color: #0073aa;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  padding: 5px;
  transition: color 0.3s;
}

.filter-button:hover {
  color: #005880;
}

/* Popover */
.popover {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: max-content;
  padding: 10px;
}

.popover ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#carousel-products{
  margin-bottom: 20px;
}
.popover li {
  padding: 8px 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.3s, color 0.3s;
}

.popover li:hover {
  background: #f0f0f0;
}

.popover li.active {
  font-weight: bold;
  color: #0073aa;
}

/* Exibir Popover */
.filter-group.open .popover {
  display: block;
}

/* card  */
.card{
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.175);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.card-content h2{
    margin-top: 0 !important;

}

.card-img{
    padding: 3rem 1rem;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Add a semi-transparent overlay behind the spinner */
.loading-spinner::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: -1;
}

/* Ensure the main content is visible by default */
.shop-main {
    display: block;
}