/*
 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
*/

/*stili pre scheda prodotto fatta da zero*/
.single-product .summary .product_meta {
	display:none!important;
}

.single-product .woocommerce-tabs {
	border: none;
}

/*.woocommerce-tabs .wc-tabs .active {
	background-color: var(--bricks-color-cplvem);
	color:white;
}*/
.woocommerce-tabs .wc-tabs .active {
	background-color: transparent;
}
.woocommerce-tabs .wc-tabs .active > a{
	padding:16px 32px 16px 32px;
	background-color: #FAEAF1;
	border-radius: 25px;
}

.woocommerce-Tabs-panel {
    border-radius: 25px;
	padding: 2rem!important;
}



.single-product .site-main>.product>section.products:nth-child(even):after{
	background-color:transparent!important;
}
.related.products{
	margin-bottom:0!important;
}

.related.products h2{
	text-align:center;
}

.woocommerce-page-header .page-description, .woocommerce-page-header .term-description{
	max-width:100%;
}

.woocommerce-Tabs-panel{
	background-color:#FAEAF1;
	padding:2rem;
	border-bottom-left-radius:8px;
	border-bottom-right-radius:8px;
	box-shadow:0px 10px 15px  hsla(0,1%,64%,0.2);
}
.tabs{
	margin-bottom:0!important;
	border: none!important;
}

/*fine stili pre scheda prodotto fatta da zero*/

/*immagini prodotti*/
.woocommerce-LoopProduct-link  > img {
	border-radius:8px;
}
/*fine immagini prodotti categorie*/

/*pagina login*/

.woocommerce-form {
	border-radius:8px;
}

.input-text{
	border-radius: 8px;
}

/*fine pagina login*/

/*stella stellina*/
.star-rating span:before{
	color: #c3aa65!important;
}
/*fine*/

/*pagina account*/

.woocommerce-MyAccount-navigation {
	background-color: white!important;
}
.woocommerce-MyAccount-navigation-link.is-active{
	background-color: #FAEAF1;
}

/*fine*/

/*pagina carrello*/
.quantity > input {
    margin-inline: 1rem;
}

.woocommerce-shipping-totals.shipping td {
    padding-left: 5px;
}
/*fine*/
/*pagina checkout*/
.woocommerce-info {
    background-color: #FAEAF1 !important;
    color: black !important;
    border-radius: 8px;
}

.checkout_coupon > p {
    padding-bottom: 5px;
}
/*fine*/

/* thank you page*/
.woocommerce-table--order-details tfoot tr:last-of-type {
    display: none;
}
/*fine*/
@media (max-width: 478px){
	.brxe-woocommerce-mini-cart .cart-detail .woocommerce-mini-cart__buttons.buttons {
    grid-auto-flow: row;
}
}
/*mini-cart*/

/*fine*/

		
@media (max-width: 1024px) {
  .woocommerce main.site-main,
	#brx-content.wordpress {
    max-width: 90%!important;
  }
}
article#brx-content h1 {
    display: none;
}

.scalapay-widget-area-cart{
	margin-bottom:1rem;
	text-align:right;
}

.price del .scalapay-widget-area-product{
	opacity:0;
}

.scalapay-widget-area-product{
	font-size:1rem!important;
	margin-top:1rem;
}
.mejs-mediaelement{
	box-shadow:2px 2px 5px hsla(0,1%,64%,0.6)
			;
}





.mejs-controls{
	display:none!important;
}


.yikes-custom-woo-tab-title{
	display:none;
}

.footer-widget{
	text-align:center;
}

.wpsc-tff-label{
	color:black;
}
.extra-info{
	color:black;
}
.checkbox-container{
	color:black;
}
#wpsc-ct-submit,
.wpsc-ct-attach {
	background-color:#B05A8F!important;
	border-color:#B05A8F!important;
	color: white!important;
	border-radius: 5px!important;
	padding: 5px 10px!important;
}
/*pagina influbeauty*/
.influbeauty-container {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 2px 2px 5px hsla(0,1%,64%,0.6);
    width: 90%;
    margin: 3rem auto 1.5rem;
    overflow: hidden;
    max-width: 75%;
}
.influbeauty-header {
    width: 100%;
    height: 10rem;
    background-color: hsl(324, 34%, 56%);
    position: relative;
}

.influbeauty-avatar-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.influbeauty-avatar {
    border-radius: 50%;
    max-width: 12rem;
    max-height: 12rem;
    border: 4px solid white!important;
}

.influbeauty-text-container{
	margin-top: 9rem;
	margin-inline: 6rem;
}

.influbeauty-title {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

.influbeauty-paragraph {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

.influbeauty-contact-title, .influbeauty-social-title {
    text-align: center;
    font-size: 1.25rem;
    margin-top: 2rem;
}

.influbeauty-contact-icons, .influbeauty-social-icons {
    display: flex;
	  gap:1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.influbeauty-icon {
    font-size: 2rem;
    text-decoration: none;
}

.text-green, .text-green:visited {
    color: #25D366;
}


.text-blue, .text-blue:visited {
    color: #1E90FF;
}

.text-pink, .text-pink:visited {
    color: #E1306C;
}

.text-black, .text-black:visited {
    color: #000;
}

.text-red, .text-red:visited {
    color: #FF0000;
}
.influbeauty-cta{
	display:flex;
	justify-content:center;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
/*fine*/
/*pagina diventa influbeauty*/
.verify-tax-id-page {
		text-align: center;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.error-message {
    color: red;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid red;
    background: #fff5f5;
}

.form-group {
    margin-block: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
}
/*fine*/

/*.ois-wc-message{
	display:flex;
	align-items:center;
	gap:1rem;
	flex-wrap:wrap;
	border-radius:10px;
	background-color: rgba(255,255,255,0.5);
}*/

.ois-wc-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border-radius: 10px;
    background-color: rgba(255,0,0,0.15);
    justify-content: start;
    flex-direction: column;
    padding: 1rem;
}

@media only screen and (min-width: 764px) {
	.ois-wc-message {
		max-width: 250px;
	}
}
    

.wc_payment_methods > li > label > img,
.wc_payment_methods > li > label > span{
	margin-right: 1rem;
}

.woocommerce-account #customer_login{
	padding: 1rem;
}


.influbeauty-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--bt-paragraph-margin-bottom, 40px);
}


@media only screen and (max-width: 1024px) {
	.influbeauty-container{
		max-width:90%;
	}
	.influbeauty-avatar{
		max-width:10rem;
		max-height:10rem;
	}
	.influbeauty-header{
		height:7.5rem;
	}
	.influbeauty-text-container{
	margin-top: 7rem;
}
	.influbeauty-text-container{
	margin-inline: 0.5rem;
}

	/*.bhfb-header .bhfb-below_header_row .bhfb-column-1{
		justify-content:center!important;
	}*/
	/*.site-main{
		margin-inline:8px;
	}*/
	.woocommerce-Tabs-panel{
	padding:1rem;
	}
	.woocommerce-MyAccount-content {
	padding: 1rem!important;
	border-bottom-left-radius: 8px;
}
}

/*Dettagli pagine delle sezioni*/
.woocommerce-MyAccount-content {
	background-color: #FAEAF1;
	border-bottom-right-radius: 8px;
	padding: 1rem;
	box-shadow: 4px 2px 4px rgba(0, 0, 0, 0.1);
}
.entry-header{
	display: none;
}
.woocommerce-account.logged-in .entry-content>.woocommerce .woocommerce-MyAccount-navigation ul .is-active a{
	background-color:#FAEAF1;
}

/*Pagina azienda*/
.azienda-page{
	margin-top:4rem;
	display:flex;
	flex-wrap: wrap;
}
.azienda-page_card:nth-child(2){
	background-color:#FAEAF1;
	border-radius: 8px;
}
.azienda-page_card {
	padding-inline: 10px;
	box-sizing: border-box;
	flex: 1 1 33.333%; 
}

@media screen and (max-width: 1024px) {
	.azienda-page_card {
		flex: 1 1 50%;
	}
}

@media screen and (max-width: 600px) {
	.azienda-page_card {
		flex: 1 1 100%; 
	}
}

.azienda-page_card > h1 {
	font-size: 24px;
	text-align: center;
}

.azienda-page_image {
	border-radius: 50%;
}

.wb_cptb_title{
	display:none;
}

/*animated link*/

.animated-link {
  position: relative;
  display: inline-block;
  color: #010101;
  text-decoration: none;
  padding: 0.25rem 0;
  text-transform: uppercase;	
}

.animated-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
}

.animated-link:hover::after {
  width: 100%;
}

.menu-link-shortcode {
  width: auto !important;
  display: inline-block;
}
.animated-link_dropdown-mobile {
  position: relative;
  display: inline-block;
  color: #010101;
  text-decoration: none;
  padding: 0.25rem 0;
}

.merchant-wishlist-button{
	z-index:2!important;
}


.mailpoet_confirm_unsubscribe a {
    background-color: var(--bricks-color-cplvem);
    padding-block: 0.5rem;
    padding-inline: 1rem;
    margin-left: 2rem;
    color: white;
    font-size: large;
}

.merchant-product-labels__regular {
	z-index:10!important;
}

/*aggiustamenti per la barra spedizione gratis*/

.merchant-freespb-text > span {
    font-weight: 600;
}

.brxe-container.before-checkout > .merchant-freespb-wrapper {
	margin-top: 2rem;
}

.brxe-container.before-checkout > .merchant-freespb-wrapper > .merchant-freespb-text > span {
	font-weight: 600;
}

.woocommerce-info {
    border-radius: 25px!important;
}

/*button carrello*/

.wc-block-cart__submit-button {
    background-color: #d47d9c;
    border-radius: 25px;
	color: white;
}

/*uppercase nei menu
#brxe-ufmquk > *,
#brxe-xtkzkf > * {
	text-transform: uppercase!important;
}*/

/*sottotitoli descrizione prodotti*/
.woocommerce-Tabs-panel > h2,h3 {
    font-size: 1.5rem;
	margin-bottom:1rem;
}

/*accordion descrizioni*/

.product-accordion {
  max-width: 100%;
  margin: 20px 0;
}

.accordion-item {
  border-bottom: 1px solid #ffffff;
}

.accordion-header {
  cursor: pointer;
  padding: 15px 40px 15px 0;
  position: relative;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  color: #666;
}

.accordion-header h2 {
  margin: 0;
  font-size: 1.2em;
}

.accordion-header::after {
  content: '›';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.6s ease;
}

.accordion-header.active::after {
  transform: translateY(-50%) rotate(-90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  padding: 0 0;
}

.accordion-content.active {
  max-height: 2000px;
  padding: 0 0 20px 0;
}

.accordion-content p,
.accordion-content ul {
  margin: 10px 0;
}

/*descrizione breve nel prodotto, segue lo stesso ma nella categoria, anche il nome prodotto*/
.summary.entry-summary > .woocommerce-product-details__short-description > p {
	font-weight: 700;
	margin-top: 30px;
}

.product_title {
    text-transform: uppercase;
    margin-top: 1rem;
}

.woocommerce-LoopProduct-link.woocommerce-loop-product__link > .woocommerce-loop-product__short-description > p {
	font-weight: 600;
	overflow: hidden;
  	display: -webkit-box;
  	-webkit-box-orient: vertical;
  	-webkit-line-clamp: 2; 
  	line-clamp: 2;  
  	text-overflow: ellipsis;
}
.woocommerce-LoopProduct-link.woocommerce-loop-product__link > h2 {
	text-transform: uppercase;
}

/*spazio tra le info nel checkout*/

.woocommerce-form-coupon-toggle {
    margin-top: 1rem;
}
/*elementi del carrello*/
.wc-block-components-product-details__wdr-free-product {
    display: none;
}

.wc-block-components-totals-coupon__button {
    background-color: var(--bricks-color-cplvem);
	border-radius: 25px;
	color: white;
}
.wc-block-components-totals-coupon__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*disabilita pulsanti nella vista ordini dell'account*/
.woocommerce-orders-table__cell-order-actions > .cancel {
    display: none;
}

.woocommerce-orders-table__cell-order-actions > .pay {
    display: none;
}

/*divisione nelle tabelle corriere, subtotal, metodi di pagamento etc..*/

.woocommerce-checkout-review-order-table > tfoot > tr {
    border: 1px solid #d47d9c;
}

.woocommerce-checkout-review-order-table > tbody > tr {
    border: 1px solid #d47d9c;
}

.wc_payment_methods > li {
	border-bottom: 1px solid #d47d9c;
}

/*Pulsante visualizza carrello dopo aver aggiungo prodotto a carrello*/

.added_to_cart.wc-forward {
    background-color: #d47d9c;
    color: white;
    font-weight: 700;
    border-radius: 25px;
    margin-top: 1.5rem;
	display:block;
	text-align:center;
}

/*barra del codice promozionale nel checkout*/

.woocommerce-info {
    flex-direction: column;
    text-align: center;
}

/*badge 1+1 o altre promo*/

.badge.badge-one-plus-one {
    color: white;
    background-color: black;
}

/*gift card*/

#pwgc-redeem-gift-card-number {
    border-radius: 8px;
}

#pwgc-redeem-button {
    background-color: #d47d9c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}



