/*
Theme Name: Chaos Abbigliamento
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.header-nav-main.nav-pills > li > a.nav-top-link:hover,
.header-nav-main.nav-pills > li.active > a.nav-top-link {
	color: #000 !important;
}
.header-nav-main.nav-pills > li.active > a.nav-top-link {font-weight: bold;}

.search_categories {
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
.search-field {
	border-bottom-left-radius: 0 !important;
	border-top-left-radius: 0 !important;
}

h1.product-title {
	color:#000;
}

.product-small .product-title {
	font-weight: bold;
	margin-bottom: .5em;
}

.product-small p.box-excerpt {
	margin-bottom: 1em;
}

.featured-title .page-title-inner {
	padding-top: 30px;
	padding-bottom: 30px;
}

.section-title b {
	display: none;
}

.section-title-center span {
	flex: 1;
}

.sticky-add-to-cart .product-accordion {
	display: none;
}
/**
 * PERSONALIZZAZIONE FORM PRODOTTO SINGOLO
 */

.form-minimal {
	select {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background-color: #FDF9E3;
		border: 0;
		padding: 15px;
		height: auto;
		border-radius: 30px;
		font-weight: bold;
		color: var(--primary-color);
	}
	&.quantity .qty,
	&.quantity .button {
		background: #C7DADA;
		color: var(--primary-color);
		border: 0;
		font-weight: bold;
	}
}

/**
 * PERSONALIZZAZIONE GALLERY PRODOTTO
 */

.box-image,
.woocommerce-product-gallery .flickity-viewport,
.product-thumbnails img {
	border-radius: 25px;
}

.product-thumbnails a {
	border: 0 !important;
}
.product-thumbnails img {
	border: 0 !important;
	margin: 0 !important;
	transform: none !important;
}

/**
 * PERSONALIZZAZIONE INFORMAZIONI PRODOTTO
 */

.product-page-sections {
	display: grid;
	grid-template-columns: 1fr 5fr 6fr;
	gap: 30px;
}
.product-section {
	& { border: 0 }
	&.description {order: 2; grid-column:3/4}
	&.additional_information {order: 1; grid-column:2/3}
	&.reviews {
		order: 3;
		grid-column: 2 / 4;
		position: relative;
	}
	&.reviews::before,
	&.reviews::after {
		content: '';
		position: absolute;
		height: 20px;
		width: 300vw;
		left: -100%;
	}
	&.reviews::before {
		top: -10px;
		background: #faeaeb;
	}

	&.reviews::after {
		bottom: -10px;
		background: #f7eba3;
	}
}

.product-info .accordion-item {
	background: #FAEAEB;
	margin-bottom: 10px;
	border-radius: 25px;
	overflow: hidden;
	padding-top: 0px;
	padding-bottom: 0;
}
.product-info .accordion-item a {
	border: 0;
	font-size: 0.9em;
}

.price-wrapper {
	& {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	
	.colors {
		display: flex;
	}
	
	& .color-badge {
		width: 18px;
		display: inline-block;
		border-radius: 100%;
		height: 18px;
		border: 2px solid white;
	}
	
	& .color-badge:hover {
		border-color: #ccc;
	}
}

.commentlist {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.comment-list li, .commentlist li {
	border: 0 !important;
}

.philosophy {position:relative;}
		
.erica-photo {
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	top: 50%;
	border-radius: 25px;
	overflow: hidden;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

.commentlist {
	grid-template-columns: 1fr;
}
.product-section {
	&.description {grid-column:1/4}
	&.additional_information {grid-column:1/4}
	&.reviews {grid-column: 1 / 4;}
}

}