/*
 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.1
 Text Domain:  bricks
*/
.dgwt-wcas-search-wrapp{
    margin: unset !important;
}
/* Prezzo scontato grande e rosso */
.custom-price-sale {
    display: block;
    color: var(--remove-red);
    font-weight: 700;
    font-size: 1.3em;
}

/* Riga "Prima era" */
.custom-price-original {
    display: block;
    color: var(--remove-black);
    font-size: 0.85em;
    font-weight: 400;
}

.custom-price-original del {
    color: var(--remove-black);
}
.brxe-woocommerce-products-filter input{
    width: 20px !important;
    height: 20px !important;
    border-radius: 0 !important;
    border-color: #000;
    border-width: 2px;
}
.brxe-woocommerce-products-filter input:not(:checked){
    background-color: #fff;
}
.woocommerce-mini-cart__buttons{
  display: flex;
  flex-direction: column;
}
.woocommerce-mini-cart__buttons .button:not(.checkout){
  background-color: transparent;
}
.woocommerce-mini-cart__buttons .button.checkout{
  background-color: var(--remove-orange);
  color: #fff;
}

/* Swatches nelle card prodotto: piccoli e centrati, solo pa_colore */
.bricks-product-card-swatches {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 0.5em;
	padding: 0;
}

.bricks-product-card-swatches .bricks-variation-swatches {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}

.bricks-product-card-swatches .bricks-variation-swatches li {
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border: 1px solid #000;
	border-radius: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-sizing: border-box;
}

.bricks-product-card-swatches .bricks-variation-swatches li:hover {
	border-color: #333;
}

.bricks-product-card-swatches .bricks-variation-swatches li.bricks-swatch-selected {
	border-width: 2px;
	border-color: #000;
	outline: none;
}

/* Swatch colore */
.bricks-product-card-swatches .bricks-swatch-color li > div {
	width: 100%;
	height: 100%;
}

/* Swatch immagine */
.bricks-product-card-swatches .bricks-swatch-image li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Swatch label (testo) */
.bricks-product-card-swatches .bricks-swatch-label li {
	font-size: 11px;
	line-height: 1;
	padding: 0 4px;
	width: auto;
	min-width: 28px;
}
body.woocommerce-cart .wp-block-woocommerce-cart{
  margin: 0 !important;
}
body.woocommerce-cart .wc-block-components-button{
  background-color: var(--remove-black);
  color: #fff;
}
body.woocommerce-cart article,
body.woocommerce-checkout article{
    padding: 20px;
}
body.woocommerce-checkout article .wc-block-components-button{
    background-color: var(--remove-black);
    color: #fff;
}
.yith-wcwl-add-to-wishlist-button__label{
  font-size: 1.5rem;
}

.wpc-filters-section .wpc-filter-title,
.wpc-filters-section .wpc-wrap-icons{
    text-transform: uppercase;
    font-weight: 600;
}
.wpc-filters-section .wpc-checkbox-item input{
    width: 20px;
    height: 20px;
    border-radius: 0 !important;
    border-color: #000;
    border-width: 2px !important;
}
.wpc-filters-section .wpc-checkbox-item label{
    color: #000 !important;
}
a.reset_variations{
    display: block !important;
}