/*
Template: primrose
Theme Name: Primrose Child
Theme URI: http://underscores.me/
Author: SingleStroke
Author URI: http://singlestroke.io/
Description: A Responsive WordPress Blog & WooCommerce Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: primrose
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

.header-cart {
	display: none;
}

.woocommerce .page-title {
	text-align: left!important;
}	


.woocommerce .page-title:after {
	left: 3%;
}

.product-categories  a {
	font-weight: bold;
	font-size: 16px;
}

ul.product-categories ul.children {
	margin-bottom: 20px;
}

.product_meta a {
	color: #8F204E!important;
}

.header-navigation .current_page_item > a, .header-navigation .current-menu-item > a, .header-navigation .current_page_ancestor > a {
	color: #8F204E;
}

.navigation-section a:hover, .navigation-section a:focus {
	color: #8F204E;
}

#lct-widget-product_brand li a {
	color: #333;
}


.widget-title {
	text-align: LEFT!important;
}

ul.product-categories ul.children a {
		font-weight: normal;
}
		

body {
    margin-bottom: 53px;    
}	

.woocommerce .widget_product_search input {
    width: auto!important;
    margin-top: -1px;
    padding-right: 0px;
}

	.woocommerce .widget_product_search .woocommerce-product-search {
	    max-width: 300px;
	}


	.woocommerce .widget_product_search .woocommerce-product-search:after {
		content: none;
	}

.age-gate-form {
     max-width: 531px;
}

	ol.age-gate-form-elements {
	    margin-bottom: 26px;
	}

	p.age-gate-message {
	    margin: 21px 0 26px 0;
	}	

	p.age-gate-error-message {
	    margin: 0 0 25px;
	}	



#cookie-law-info-bar {    
    text-align: left !important;
    padding: 30px 40px !important;
}	


.cli-plugin-button, .cli-plugin-button:visited {
	margin-left: 11px;
}

/* Mostrar 4 logos por fila en el shortcode de marcas */
/*.brand-thumbnails.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-thumbnails.columns-4 li img {
    width: 500%;
    height: auto;
    display: block;
}

.brand-thumbnails::before {
    display: none !important;
    content: none !important;
} */

/* Parte responsive para móviles */

/*@media screen and (max-width: 767px) {
  .brand-thumbnails.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }

 .brand-thumbnails img {
    max-width: 100%;
    height: flex;
  }

  .brand-thumbnails li {
    justify-content: center;
  }
} */

ul.brand-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

ul.brand-thumbnails li {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Hace el li cuadrado */
  overflow: hidden;
}

ul.brand-thumbnails li a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.brand-thumbnails li img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  display: block;
}

/* Móvil: 2 columnas */
@media (max-width: 768px) {
  ul.brand-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
}
.brand-thumbnails::before {
    display: none !important;
    content: none !important;
}
