/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0
 Text Domain:  bricks
*/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #446a61;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #222; 
}

main#brx-content.layout-default {
    padding-bottom: 5rem;
}

.notice.notice-error.codeixer-notice {
    display: none!important;
}

html {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	overflow-x: hidden;
	scroll-behavior:smooth;
}

.bricks-404-wrapper {
	padding: 0 3rem;
}

.bricks-404-wrapper h1 {
	text-align:center;
	line-height:0.8;
}

body {
    min-height: 100vh;
}

.bricks-is-frontend:focus:not(.menu.mobile) {
    color: #000000;
    outline: none!important;
}

.sticky.scrolling .menu-button, .sticky.scrolling i.brxe-icon {
	color: #000!important;
}

.sticky.scrolling .menu-button .line {
	color: #000!important;
	border-left-color: #000!important;
}

.woocommerce-attribute-images-single-product-attribute-images {
    text-align: left;
}

.woocommerce-attribute-name-image {
    width: 40px;
	margin-right: 20px;
}

.shop_attributes>tbody {
	display: grid;
    grid-template-columns: repeat(2,1fr);
    list-style-type: none;
}

.shop_attributes tr td {
	min-width:80px;
}

.shop_attributes>tbody tr {
	margin-right: 20px;
	margin-top: 4px;
}

.wp-post-image {
	cursor: auto!important;
}

.woocommerce-attribute-image {
    margin-bottom: 9px;
}

a.woocommerce-attribute-images-variable-option.woocommerce-attribute-images-variable-option, .woocommerce-attribute-image {
    width: 80px;
	max-width: 80px;
}

.woocommerce-attribute-images-variable-options {
    display: flex;
	flex-wrap: wrap;
	max-width: 360px;
}

.bricks-before-shop-loop {
    display: none!important;
}

.brxe-woocommerce-products {
	padding-left:5px;
	padding-right:5px;
}

.search-results .brxe-posts>ul {
	grid-template-columns: unset!important;
	display:flex!important;
}

.search-results .brxe-posts>ul>li {
	flex: 1 0 25%;
}

.search-results .brxe-posts>ul>li .image-wrapper {
	padding-top: 100%;
}

.tax-product_cat #brx-content>.brxe-container {
	align-content: center;
}

@media screen and (max-width: 478px)
.brxe-woocommerce-products .products {
    grid-template-columns: repeat(2,1fr)!important;
}

.woocommerce .add_to_cart_button {
    width: 100%;
}

.brxe-woocommerce-products .add_to_cart_button, .brxe-woocommerce-products .added_to_cart, .brxe-woocommerce-products .button {
   	background-color: #ffffff!important;
	border: 2px solid #446a61!important;
}

p.stock.out-of-stock {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    background: #7b1f1f;
    text-align: center;
    margin-top: 1rem;
    padding: 0.2rem 1rem;
}

/* START Icono de basura para el boton de limpiar */

/* 1. Asegura algo de espacio para el icono */
form.cart table.variations .reset_variations {
  padding-left: 1.5em; /* ajusta según el tamaño del icono */
  line-height: 1;      /* para alinear bien el icono */
}

/* 2. Inserta el icono antes del texto */
form.cart table.variations .reset_variations::before {
  content: "";
  display: inline-block;
  width: 16px;   /* ancho del SVG */
  height: 16px;  /* alto del SVG */
  margin-right: 0.4em;
  vertical-align: bottom;
  background: url('/wp-content/uploads/2025/07/icon-trash-basura.svg') no-repeat center center;
  background-size: contain;
}
/* FINISH Icono de basura para el boton de limpiar */

.brxe-woocommerce-products .product {
	justify-content: space-between !important;
}