/*
Theme Name: Kasaïs
Author: Gregory Ruelle
Author URI: https://ruellegregory.be
Version: 1.0
Text Domain: kasais
*/


.single-meuble .breadcrumb{
	text-align: left !important;
	margin-top: 30px;
}

.single-meuble .fiche_produit{
	padding: 10px 0 50px;
}

.single-meuble .title_centered,
.single-meuble .subtitle_centered{
	text-align: left !important;
	margin: 0 !important;
}

.single-meuble .ref{
	margin-bottom: 5px !important;
}

.single-meuble h1{
	margin-bottom: 2rem !important;
}

.single-meuble .section_CTA{
	margin: 20px 0 !important;
}

.separateur_div{
	display: block;
	width: 100%;
	height: 5px;
	border-bottom: 5px dotted #2B2B2B;
	margin: 5px 0;
}

.product_infos_sticky {
	position: sticky;
	top: 30px;
	align-self: flex-start;
}


.prix_apd{
	font-weight: 700;
	font-size: 1.25rem;
}

/* Important si le parent est en flex */
.row,
.product_single_row {
	align-items: flex-start;
}

/* Mobile : on désactive le sticky */
@media screen and (max-width: 767px) {
	.product_infos_sticky {
		position: relative;
		top: auto;
	}
}


@media screen and (max-width: 639px) {
    .single-meuble .vignette_collection {
        margin-left: 0px !important;
    }
}


/* Tabs */

.product_tabs {
	width: 100%;
	margin-top: 30px;
}

.product_tabs_nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 25px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid #ddd;
}

.product_tabs_nav li {
	margin: 0;
	padding: 0;
}

.product_tab_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s ease, opacity .2s ease;
	text-transform: uppercase;
}

.product_tab_button:hover {
	opacity: .7;
}

.product_tab_button.active {
	border-bottom-color: currentColor;
}

.product_tabs_content {
	width: 100%;
}

.product_tab_panel {
	display: none;
	animation: productTabFade .25s ease;
}

.product_tab_panel.active {
	display: block;
}

@keyframes productTabFade {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.product_tab_panel .dimensions_item,
.product_tab_panel .finitions,
.product_tab_panel .section_atouts {
	margin-top: 0;
}

.dimensions_item h2,
.dimensions_item h3,
.dimensions_item h4{
	margin-bottom: 0.5rem;
}

.product_tab_panel .list_finitions {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.product_tab_panel .carre_finition {
	width: 90px;
	text-align: center;
}

.product_tab_panel .carre_finition a {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.product_tab_panel .carre_finition img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product_tab_panel .carre_finition small {
	display: block;
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.3;
}

.product_tab_panel .bloc_option_fichiers .text_option {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product_tab_panel .bloc_option_fichiers .text_option a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

@media screen and (max-width: 767px) {
	.product_tabs_nav {
		gap: 0;
		border-bottom: 0;
	}

	.product_tabs_nav li {
		width: 50%;
	}

	.product_tab_button {
		width: 100%;
		padding: 12px 10px;
		border: 1px solid #ddd;
	}

	.product_tab_button.active {
		border-bottom-color: #ddd;
		font-weight: 700;
	}

	.product_tab_panel .carre_finition {
		width: calc(50% - 8px);
	}
}


/* galerie meubles */

#fiche_produit_images {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
}

#fiche_produit_images .product_img_item {
	width: 100%;
	margin: 0;
	float: none;
	clear: both;
}

#fiche_produit_images .product_img_item a {
	display: block;
	width: 100%;
}

#fiche_produit_images .product_img_item img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

@media screen and (max-width: 639px) {
	#fiche_produit_images {
		display: block;
	}

	#fiche_produit_images .product_img_item {
		display: block;
	}

	#fiche_produit_images .slick-list {
		overflow: hidden;
	}

	#fiche_produit_images .slick-track {
		display: flex;
	}

	#fiche_produit_images .slick-slide {
		height: auto;
	}

	#fiche_produit_images .slick-slide > div {
		height: 100%;
	}

	#fiche_produit_images .slick-dots {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin: 15px 0 0;
		padding: 0;
		list-style: none;
	}

	#fiche_produit_images .slick-dots li {
		margin: 0;
		padding: 0;
	}

	#fiche_produit_images .slick-dots button {
		width: 9px;
		height: 9px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #ccc;
		font-size: 0;
		cursor: pointer;
	}

	#fiche_produit_images .slick-dots .slick-active button {
		background: #222;
	}
}

/*FAQ*/

.section_faq{
	padding: 75px 0;
}

.faq_container > h2{
	margin-bottom: 1rem;
}

.faq-question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	background: none;
	border: 0;
	text-align: left;
	font-size: 1.25em;
  font-weight: 500;
	transition: all 0.3s ease;
}

.faq-question:hover {
	color: #9ba;
}

.faq-heading{

	margin-bottom: 0.5rem;
}

.faq-icon {
	margin-left: 20px;
	font-weight: bold;
}

.faq-item{
	margin-bottom: 2rem;
}

/*avis clients*/

.avis-stars {
	color: #f5c518; /* jaune type étoiles */
	font-size: 18px;
	margin-bottom: 10px;
	letter-spacing: 2px;
}

.avis-item{
	margin-bottom: 2rem;
}