/* ==========================================================================
   Liv Beauté & Spa — footer de la boutique
   --------------------------------------------------------------------------
   Copie du footer du site principal (/assets/includes/footer/footer2.php)
   pour l'installation WordPress/WooCommerce dans /boutique/.

   Toutes les règles sont limitées à .liv-footer afin de ne pas entrer en
   conflit avec le thème Iniya. Les valeurs proviennent du CSS du site
   principal (/assets/css/style.css).
   ========================================================================== */

.liv-footer {
	position: relative;
	/* Le thème flotte `#main` et applique `clear: both` à `.container`.
	   Sans contexte de formatage propre, les `.container` du footer sont
	   repoussés sous le float `#main` et le bloc noir recouvre la page.
	   `clear` + `flow-root` isolent complètement le footer. */
	clear: both;
	display: flow-root;
	/* Aucun fond sur le wrapper : il est mesuré 0 → bas de page à cause du
	   float `#main` du thème. Le noir est porté uniquement par le <footer>. */
	background-color: transparent;
	color: #e0dcad;
	font-family: 'Mitga Light', sans-serif;
	font-size: 16px;
	line-height: 2;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

.liv-footer *,
.liv-footer *::before,
.liv-footer *::after { box-sizing: border-box; }

.liv-footer ul,
.liv-footer ol { margin: 0; padding: 0; list-style: none; }

/* Le plugin « Side Cart » (xoo-wsc) imprime une règle globale fautive dans son
   style inline : `#main-menu ul,li{…padding:0 25px;line-height:100px;
   font-size:14px;text-transform:uppercase;position:relative}`.
   La virgule fait que `li` seul s'applique à TOUS les <li> du site : chaque
   élément de liste hérite de 100 px de interligne. Sans ce reset, les listes du
   footer font 100 px par lien et le bloc noir recouvre toute la page. */
.liv-footer li {
	line-height: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: normal;
	text-transform: none;
	position: static;
	padding: 0;
	margin: 0;
	list-style: none;
}

/* annule le `ul li{padding-bottom:10px}` du thème Iniya */
.liv-footer ul li { padding-bottom: 0; }

.liv-footer p { margin: 0 0 1rem; line-height: 2; }

.liv-footer a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease;
}

.liv-footer a:hover,
.liv-footer a:focus { color: #fff; }

.liv-footer img { border: 0; max-width: 100%; }
.liv-footer .responsive-img { max-width: 100%; height: auto; }

/* logo cliquable → retour à l'accueil */
.liv-footer .liv-logo {
	display: inline-block;
	line-height: 0;
	max-width: 100%;
	transition: opacity .2s ease;
}

.liv-footer .liv-logo:hover,
.liv-footer .liv-logo:focus { opacity: .8; }
.liv-footer .block-mobile { display: block; }

.liv-footer i { font-style: normal; }

.liv-footer hr {
	border: 0;
	border-top: 1px solid #e0dcad;
	margin: 1rem 0;
	opacity: .35;
}

.liv-footer footer { line-height: 2; background-color: #000; }

/* --------------------------------------------------------------- Grille -- */

.liv-footer .container {
	margin: 0 auto;
	max-width: 1280px;
	width: 90%;
	padding-left: 0;
	padding-right: 0;
}

.liv-footer .container-fluid {
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;
}

.liv-footer .row {
	margin: 0 -.75rem 20px;
}

.liv-footer .row::after { content: ""; display: table; clear: both; }

.liv-footer .col { padding: 0 .75rem; min-height: 1px; }

@media only screen and (min-width: 601px) {
	.liv-footer .container { width: 85%; }
}

@media only screen and (min-width: 993px) {
	.liv-footer .container { width: 70%; }
	.liv-footer .col.l4 { width: 33.3333333333%; float: left; }
}

@media only screen and (max-width: 1024px) {
	.liv-footer .container-fluid { max-width: 768px; }
}

@media only screen and (max-width: 767px) {
	.liv-footer .col.l4 { width: 100%; float: none; }
}

/* ------------------------------------------------------------ Typographie -- */

.liv-footer .font-bold {
	font-family: 'Mitga Black', sans-serif !important;
	font-weight: 900 !important;
	letter-spacing: .01em;
}

.liv-footer .font-light { font-family: 'Mitga Light', sans-serif; }

.liv-footer .bigger { font-size: 1.4em; }
.liv-footer .smaller { font-size: .85em; }
.liv-footer .font-20 { font-size: 20px; }
.liv-footer .font-30 { font-size: 30px; }
.liv-footer .nowrap { white-space: nowrap; }

.liv-footer .h50 { height: 50px; width: auto; }
.liv-footer .h120 { height: 120px; width: auto; }

@media only screen and (max-width: 1024px) {
	.liv-footer .h120 { height: 102px; }
}

/* --------------------------------------------------------------- Couleurs -- */

.liv-footer .black { background-color: #000 !important; }
.liv-footer .black-text { color: #000 !important; }
.liv-footer .white-text { color: #fff !important; }
.liv-footer .amber-text { color: #e0dcad !important; }
.liv-footer .purple { background-color: #9c27b0 !important; }

/* -------------------------------------------------------- Alignements -- */

.liv-footer .center-align { text-align: center; }
.liv-footer .left { float: left !important; }
.liv-footer .right { float: right !important; }

.liv-footer .list-inline { padding-left: 0; margin-left: -5px; list-style: none; }
.liv-footer .list-inline > li { display: inline-block; padding-left: 5px; padding-right: 5px; }

/* clearfix : les icônes sociales sont flottantes */
.liv-footer .list-inline::after { content: ""; display: table; clear: both; }

/* ------------------------------------------- Affichage responsive (Materialize) -- */

@media only screen and (max-width: 600px) {
	.liv-footer .hide-on-small-only { display: none !important; }
}

@media only screen and (min-width: 601px) {
	.liv-footer .hide-on-med-and-up { display: none !important; }
}

@media only screen and (max-width: 992px) {
	.liv-footer .hide-on-med-and-down { display: none !important; }
}

@media only screen and (max-width: 479px) {
	.liv-footer .list-inline.block-mobile > li,
	.liv-footer .list-inline > li.block-mobile-li { display: block; }
	.liv-footer .center-mobile { text-align: center; }
}

/* ------------------------------------------------------ Espacements (SCSS) -- */

.liv-footer .mt-xs { margin-top: 4px; }
.liv-footer .mr-xs { margin-right: 4px; }
.liv-footer .mb-xs { margin-bottom: 4px; }
.liv-footer .ml-xs { margin-left: 4px; }
.liv-footer .mt-sm { margin-top: 8px; }
.liv-footer .mr-sm { margin-right: 8px; }
.liv-footer .mb-sm { margin-bottom: 8px; }
.liv-footer .ml-sm { margin-left: 8px; }
.liv-footer .mt-md { margin-top: 11px; }
.liv-footer .mr-md { margin-right: 11px; }
.liv-footer .mb-md { margin-bottom: 11px; }
.liv-footer .ml-md { margin-left: 11px; }
.liv-footer .mt-lg { margin-top: 23px; }
.liv-footer .mr-lg { margin-right: 23px; }
.liv-footer .mb-lg { margin-bottom: 23px; }
.liv-footer .ml-lg { margin-left: 23px; }
.liv-footer .mt-xl { margin-top: 38px; }
.liv-footer .mr-xl { margin-right: 38px; }
.liv-footer .mb-xl { margin-bottom: 38px; }
.liv-footer .ml-xl { margin-left: 38px; }

.liv-footer .pt-xs { padding-top: 4px; }
.liv-footer .pr-xs { padding-right: 4px; }
.liv-footer .pb-xs { padding-bottom: 4px; }
.liv-footer .pl-xs { padding-left: 4px; }
.liv-footer .pt-sm { padding-top: 8px; }
.liv-footer .pr-sm { padding-right: 8px; }
.liv-footer .pb-sm { padding-bottom: 8px; }
.liv-footer .pl-sm { padding-left: 8px; }
.liv-footer .pt-md { padding-top: 11px; }
.liv-footer .pr-md { padding-right: 11px; }
.liv-footer .pb-md { padding-bottom: 11px; }
.liv-footer .pl-md { padding-left: 11px; }
.liv-footer .pt-lg { padding-top: 23px; }
.liv-footer .pr-lg { padding-right: 23px; }
.liv-footer .pb-lg { padding-bottom: 23px; }
.liv-footer .pl-lg { padding-left: 23px; }
.liv-footer .pt-xl { padding-top: 38px; }
.liv-footer .pr-xl { padding-right: 38px; }
.liv-footer .pb-xl { padding-bottom: 38px; }
.liv-footer .pl-xl { padding-left: 38px; }

.liv-footer .m-0 { margin: 0; }
.liv-footer .mt-0 { margin-top: 0; }
.liv-footer .mb-0 { margin-bottom: 0; }
.liv-footer .pb-0 { padding-bottom: 0; }
.liv-footer .pt-0 { padding-top: 0; }
.liv-footer .p-0 { padding: 0; }
.liv-footer .ml-auto { margin-left: auto; }
.liv-footer .pt-15-mobile { padding-top: 15px; }

/* les valeurs d'espacement augmentent avec la taille de l'écran */
@media only screen and (min-width: 992px) {
	.liv-footer .mt-xs { margin-top: 5px; }
	.liv-footer .mr-xs { margin-right: 5px; }
	.liv-footer .mb-xs { margin-bottom: 5px; }
	.liv-footer .ml-xs { margin-left: 5px; }
	.liv-footer .mt-sm { margin-top: 10px; }
	.liv-footer .mr-sm { margin-right: 10px; }
	.liv-footer .mb-sm { margin-bottom: 10px; }
	.liv-footer .ml-sm { margin-left: 10px; }
	.liv-footer .mt-md { margin-top: 15px; }
	.liv-footer .mr-md { margin-right: 15px; }
	.liv-footer .mb-md { margin-bottom: 15px; }
	.liv-footer .ml-md { margin-left: 15px; }
	.liv-footer .mt-lg { margin-top: 30px; }
	.liv-footer .mr-lg { margin-right: 30px; }
	.liv-footer .mb-lg { margin-bottom: 30px; }
	.liv-footer .ml-lg { margin-left: 30px; }
	.liv-footer .mt-xl { margin-top: 50px; }
	.liv-footer .mr-xl { margin-right: 50px; }
	.liv-footer .mb-xl { margin-bottom: 50px; }
	.liv-footer .ml-xl { margin-left: 50px; }

	.liv-footer .pt-xs { padding-top: 5px; }
	.liv-footer .pr-xs { padding-right: 5px; }
	.liv-footer .pb-xs { padding-bottom: 5px; }
	.liv-footer .pl-xs { padding-left: 5px; }
	.liv-footer .pt-sm { padding-top: 10px; }
	.liv-footer .pr-sm { padding-right: 10px; }
	.liv-footer .pb-sm { padding-bottom: 10px; }
	.liv-footer .pl-sm { padding-left: 10px; }
	.liv-footer .pt-md { padding-top: 15px; }
	.liv-footer .pr-md { padding-right: 15px; }
	.liv-footer .pb-md { padding-bottom: 15px; }
	.liv-footer .pl-md { padding-left: 15px; }
	.liv-footer .pt-lg { padding-top: 30px; }
	.liv-footer .pr-lg { padding-right: 30px; }
	.liv-footer .pb-lg { padding-bottom: 30px; }
	.liv-footer .pl-lg { padding-left: 30px; }
	.liv-footer .pt-xl { padding-top: 50px; }
	.liv-footer .pr-xl { padding-right: 50px; }
	.liv-footer .pb-xl { padding-bottom: 50px; }
	.liv-footer .pl-xl { padding-left: 50px; }
}

@media only screen and (min-width: 1200px) {
	.liv-footer .mt-xs { margin-top: 8px; }
	.liv-footer .mr-xs { margin-right: 8px; }
	.liv-footer .mb-xs { margin-bottom: 8px; }
	.liv-footer .ml-xs { margin-left: 8px; }
	.liv-footer .mt-sm { margin-top: 15px; }
	.liv-footer .mr-sm { margin-right: 15px; }
	.liv-footer .mb-sm { margin-bottom: 15px; }
	.liv-footer .ml-sm { margin-left: 15px; }
	.liv-footer .mt-md { margin-top: 23px; }
	.liv-footer .mr-md { margin-right: 23px; }
	.liv-footer .mb-md { margin-bottom: 23px; }
	.liv-footer .ml-md { margin-left: 23px; }
	.liv-footer .mt-lg { margin-top: 45px; }
	.liv-footer .mr-lg { margin-right: 45px; }
	.liv-footer .mb-lg { margin-bottom: 45px; }
	.liv-footer .ml-lg { margin-left: 45px; }
	.liv-footer .mt-xl { margin-top: 75px; }
	.liv-footer .mr-xl { margin-right: 75px; }
	.liv-footer .mb-xl { margin-bottom: 75px; }
	.liv-footer .ml-xl { margin-left: 75px; }

	.liv-footer .pt-xs { padding-top: 8px; }
	.liv-footer .pr-xs { padding-right: 8px; }
	.liv-footer .pb-xs { padding-bottom: 8px; }
	.liv-footer .pl-xs { padding-left: 8px; }
	.liv-footer .pt-sm { padding-top: 15px; }
	.liv-footer .pr-sm { padding-right: 15px; }
	.liv-footer .pb-sm { padding-bottom: 15px; }
	.liv-footer .pl-sm { padding-left: 15px; }
	.liv-footer .pt-md { padding-top: 23px; }
	.liv-footer .pr-md { padding-right: 23px; }
	.liv-footer .pb-md { padding-bottom: 23px; }
	.liv-footer .pl-md { padding-left: 23px; }
	.liv-footer .pt-lg { padding-top: 45px; }
	.liv-footer .pr-lg { padding-right: 45px; }
	.liv-footer .pb-lg { padding-bottom: 45px; }
	.liv-footer .pl-lg { padding-left: 45px; }
	.liv-footer .pt-xl { padding-top: 75px; }
	.liv-footer .pr-xl { padding-right: 75px; }
	.liv-footer .pb-xl { padding-bottom: 75px; }
	.liv-footer .pl-xl { padding-left: 75px; }
}

/* ------------------------------------------------- Accents déroulants (mobile) -- */

.liv-footer .collapsible {
	margin: .5rem 0 1rem;
	border: 0;
	box-shadow: none;
}

.liv-footer .collapsible.popout {
	border: none;
	box-shadow: none;
}

.liv-footer .collapsible.popout > li {
	box-shadow: none;
	margin: 0;
}

.liv-footer .collapsible-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	line-height: 1.5;
	cursor: pointer;
	background-color: transparent;
	border: 0;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	user-select: none;
}

.liv-footer .collapsible-header .fa-plus {
	font-size: .7em;
	transition: transform .25s ease;
}

.liv-footer .collapsible > li.active > .collapsible-header .fa-plus { transform: rotate(45deg); }

.liv-footer .collapsible-body {
	display: none;
	box-sizing: border-box;
	padding: 2rem;
	border: 0;
}

.liv-footer .collapsible > li.active > .collapsible-body { display: block; }

/* la flèche reste collée à droite du titre */
.liv-footer .collapsible-header .ml-auto { margin-left: auto; }

/* ------------------------------------------------------- Bas du footer -- */

.liv-footer #bottom-footer {
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
}

.liv-footer #bottom-footer .list-inline > li { vertical-align: top; }

.liv-footer #bottom-footer .font-20 i,
.liv-footer #bottom-footer .fa-lg { vertical-align: middle; }

.liv-footer #liv-social ul {
	margin-bottom: 0;
	padding-top: .35rem;
	padding-bottom: .35rem;
}

.liv-footer #liv-social a { display: inline-block; line-height: 1; }

/* sans le bloc infolettre, les icônes restent alignées avec les colonnes du footer */
@media only screen and (min-width: 993px) {
	.liv-footer #liv-social {
		width: 70%;
		max-width: 1280px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
		padding-right: 0;
	}
}

@media only screen and (max-width: 600px) {
	.liv-footer #liv-social { padding-left: 0; padding-right: 0; }
}

/* le titre « beauté & spa » sous le logo mobile */
.liv-footer .font-30.font-light { line-height: 1.4; }

/* les utilitaires d'espacement doivent primer sur le padding par défaut
   du corps déroulant (même spécificité : l'ordre décide) */
.liv-footer .collapsible-body.pt-xs { padding-top: 4px; }

@media only screen and (min-width: 992px) {
	.liv-footer .collapsible-body.pt-xs { padding-top: 5px; }
}

@media only screen and (min-width: 1200px) {
	.liv-footer .collapsible-body.pt-xs { padding-top: 8px; }
}
