/*
Theme Name:   Novakom thème
Theme URI:    https://novakom.fr/
Description:  Agence de communication
Author:       Benoit ROMEO
Author URI:   https://www.agenceomega.fr/
Template:     Divi
*/

/* 
 * 
 * COULEURS 
 * 
 * Novakom : #45eba5
 * Arobase : #ED7F13
 * Boostercom : #f47322
 * 
 */

:root {
	--main-color: #FED16D;
	--createur-color: #45eba5;
}

/* -- MENU -- */
#top-menu-nav { margin-top:-15px !important }
.btn_contact, .et_mobile_menu > li.btn_contact > a {
	color: #000000;
	background-color: var(--main-color);
	padding: 0 !important;
	border-radius:50px;
	margin-left:11px !important;
}
body #et-top-navigation nav>ul>li.btn_contact>a, body .et-fixed-header #et-top-navigation nav>ul>li.btn_contact>a, .et_mobile_menu > li.btn_contact > a, body .et_pb_menu_0_tb_header.et_pb_menu ul li.btn_contact a{
	color: #000000 !important;
	padding-bottom:0 !important;
	padding: 15px 15px 15px 15px !important;
}


/* -- BLOG -- */
.display_wtitle .widgettitle { display:none; }

/* -- CONTACT --*/
.et-pb-contact-message { color:#fff !important; }

/* -- BOUTON HAUT DE PAGE -- */
.et_pb_scroll_top.et-pb-icon { background-color: var(--main-color) !important; }

/* -- FOOTER --*/
footer ul.et-menu>li { width:100% !important; margin:0; }
footer ul.et-menu>li>a { padding:0 !important; }
body .footer-link a { transition: color 300ms ease 0ms; }
body .footer-link a:hover { color:var(--main-color) !important; transition: color 300ms ease 0ms; }
body .footer-link a.link_createur { color:var(--createur-color) !important; }

/* -- DIVI MOBILE -- */
#dm-menu .sub-menu { margin-top:20px !important; padding:0 !important; }

/* -- FIX BUGS -- */
.et-fixed-header #et-top-navigation { min-height:0 !important; }
#cookie-notice .cn-button:not(.cn-button-custom) { background:var(--main-color) !important } 
header>div.container { width:90%; }

/* -- TIPS DIVI -- */
.align-last-module { display:flex; flex-flow:column nowrap; }
.align-last-module>div:last-child { margin-top:auto !important; padding-top:30px; }
.va-center { align-items:center !important; }
.cva-center { display:flex; flex-direction:column; justify-content:center; }
.blur-light { backdrop-filter:blur(2px); }
.blur-bold { backdrop-filter:blur(6px); }

/* TABLETS */
@media all and ( max-width: 980px) {
	.reverse-column { display:flex !important; flex-direction:column-reverse !important; }
	.reverse-column>div.et_pb_column:first-child { margin-bottom:0 !important; }
	.reverse-column>div.et_pb_column:last-child { margin-bottom:30px !important; }
	.special-reverse-column>div { display:flex !important; flex-direction:column-reverse !important; }
	.special-reverse-column>div>div.et_pb_column:first-child { margin-bottom:0 !important; }
	.special-reverse-column>div>div.et_pb_column:last-child { margin-bottom:30px !important; }
	
	/* FOOTER*/ 
	footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap { justify-content:flex-start;}
	footer .et-menu > li > a { color:lighter !important; }
	footer .et_pb_menu .et_pb_menu__menu { display:flex !important; justify-content:center !important; }
	footer .et_mobile_nav_menu { display:none !important; }
}

/* MOBILE */
@media all and ( max-width: 767px) {
	/* FOOTER */
	footer .et_pb_menu .et_pb_menu__wrap, footer .et_pb_menu .et_pb_menu__wrap .et_pb_menu__menu { width:100% !important; }
	footer .et_pb_menu .et_pb_menu__menu>nav>ul { justify-content:center !important; }
    footer .et_pb_menu .et_pb_menu__menu>nav>ul>li>a { margin:auto !important; }
}

/* ==========================================================
   CANISKAT
   Catalogue produits + filtre par marque
   ========================================================== */


/* ==========================================================
   BASE
   ========================================================== */

.caniskat-catalogue,
.caniskat-catalogue * {
	box-sizing: border-box;
}

.caniskat-catalogue {
	width: 100%;
}


/* ==========================================================
   FILTRE DES MARQUES
   ========================================================== */

.caniskat-brand-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;

	width: 100%;

	gap: 12px;

	margin: 0 0 38px 0;
	padding: 0;
}


/* 6 boutons par ligne sur ordinateur */

.caniskat-brand-button {
	flex: 0 0 calc((100% - 60px) / 6);

	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 0;
	min-height: 58px;

	margin: 0;
	padding: 12px 18px;

	border: 0;
	border-radius: 100px;

	background-color: #f5e3d3;
	color: #181411;

	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;

	text-align: center;

	cursor: pointer;

	appearance: none;
	-webkit-appearance: none;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}


/* Survol */

.caniskat-brand-button:hover {
	background-color: #edd4bf;

	transform: translateY(-1px);
}


/* Marque sélectionnée */

.caniskat-brand-button.is-active {
	background-color: #d96266;
	color: #ffffff;
}

.caniskat-brand-button.is-active:hover {
	background-color: #d96266;
	color: #ffffff;
}


/* ==========================================================
   GRILLE DES PRODUITS
   ========================================================== */

.caniskat-products-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;

	width: 100%;

	gap: 30px;
}


/* ==========================================================
   CARTE PRODUIT
   4 produits par ligne sur ordinateur
   ========================================================== */

.caniskat-product-card {
	flex: 0 0 calc((100% - 90px) / 4);

	display: flex;
	flex-direction: column;

	min-width: 0;

	margin: 0;

	overflow: hidden;

	background-color: #d96266;

	border: 10px solid #d96266;
	border-radius: 20px;
}


/* Produit masqué lors du filtrage */

.caniskat-product-card.is-hidden {
	display: none !important;
}


/* ==========================================================
   IMAGE PRODUIT
   ========================================================== */

.caniskat-product-image {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;

	aspect-ratio: 1 / 1;

	overflow: hidden;

	background-color: #ffffff;

	text-decoration: none;
}


/* Image réelle */

.caniskat-product-image img {
	display: block;

	width: 100%;
	height: 100%;

	margin: 0;
	padding: 10px;

	object-fit: contain;
	object-position: center;
}


/* ==========================================================
   CONTENU DE LA CARTE
   ========================================================== */

.caniskat-product-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;

	width: 100%;

	padding: 16px 14px 12px 14px;

	text-align: center;
}


/* ==========================================================
   TITRE PRODUIT
   ========================================================== */

.caniskat-product-title {
	width: 100%;

	margin: 0 0 18px 0 !important;
	padding: 0 !important;

	color: #ffffff;

	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;

	text-align: center;
}


/* Lien du titre */

.caniskat-product-title a {
	color: #ffffff !important;

	text-decoration: none !important;
}


/* ==========================================================
   BOUTON "VOIR LE PRODUIT"
   ========================================================== */

.caniskat-product-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	margin-top: auto;

	padding: 10px 22px;

	border: 0;
	border-radius: 100px;

	background-color: #ffd166;
	color: #17120e !important;

	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;

	text-align: center;
	text-decoration: none !important;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}


/* Survol du bouton */

.caniskat-product-button:hover {
	background-color: #ffca45;
	color: #17120e !important;

	transform: translateY(-2px);
}


/* ==========================================================
   MESSAGE AUCUN PRODUIT
   ========================================================== */

.caniskat-no-products {
	width: 100%;

	margin: 20px 0;

	text-align: center;
}

/* ==========================================================
   SELECT MARQUES MOBILE
   Caché par défaut sur desktop
   ========================================================== */

.caniskat-brand-select-wrapper {
	display: none;
	width: 100%;
	margin: 0 0 25px 0;
}

.caniskat-brand-select-label {
	position: absolute;

	width: 1px;
	height: 1px;

	padding: 0;
	margin: -1px;

	overflow: hidden;

	clip: rect(0, 0, 0, 0);

	white-space: nowrap;

	border: 0;
}

.caniskat-brand-select {
	width: 100%;
	height: 52px;

	padding: 0 50px 0 20px;

	border: 0;
	border-radius: 100px;

	background-color: #d96266;
	color: #ffffff;

	font-family: inherit;
	font-size: 16px;
	font-weight: 500;

	cursor: pointer;

	appearance: auto;
	-webkit-appearance: auto;
}

/* ==========================================================
   TABLETTE
   ========================================================== */

@media screen and (max-width: 980px) {

	/*
	 * 3 marques par ligne
	 */

	.caniskat-brand-filter {
		gap: 10px;

		margin-bottom: 30px;
	}

	.caniskat-brand-button {
		flex: 0 0 calc((100% - 20px) / 3);

		min-height: 54px;

		padding: 10px 14px;

		font-size: 15px;
	}


	/*
	 * 2 produits par ligne
	 */

	.caniskat-products-grid {
		gap: 20px;
	}

	.caniskat-product-card {
		flex: 0 0 calc((100% - 20px) / 2);
	}

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 600px) {
		/* On masque les boutons */
	.caniskat-brand-filter {
		display: none;
	}

	/* On affiche le menu déroulant */
	.caniskat-brand-select-wrapper {
		display: block;
	}
	
	/*
	 * 2 marques par ligne
	 */

	.caniskat-brand-filter {
		gap: 8px;

		margin-bottom: 25px;
	}

	.caniskat-brand-button {
		flex: 0 0 calc((100% - 8px) / 2);

		min-height: 48px;

		padding: 9px 10px;

		font-size: 14px;
	}


	/*
	 * 1 produit par ligne
	 */

	.caniskat-products-grid {
		gap: 20px;
	}

	.caniskat-product-card {
		flex: 0 0 100%;
	}


	/*
	 * Taille des contenus mobile
	 */

	.caniskat-product-title {
		font-size: 18px;
	}

	.caniskat-product-button {
		padding: 9px 18px;

		font-size: 15px;
	}

}
