/*
Site: 		
Url: 		
Autor: 		MonWebPro.com
Version: 	
*/

@font-face {
	font-family: 'icomoon';
	src:  url('./fonts/icomoon.eot?b2om2p');
	src:  url('./fonts/icomoon.eot?b2om2p#iefix') format('embedded-opentype'),
	url('./fonts/icomoon.ttf?b2om2p') format('truetype'),
	url('./fonts/icomoon.woff?b2om2p') format('woff'),
	url('./fonts/icomoon.svg?b2om2p#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
.icon {
	font-family: 'icomoon';
}

html, body {
	width: 100%;
	height: 100%;
}
div.clearboth {
	width: 100%; 
	height: 0;
	clear: both; 
	float: none;
}
body {
    background-image: url('/images/watercolor-texture.png');
    background-size: cover;          /* adapte à l’écran */
    background-position: center;     /* centré */
    background-repeat: no-repeat;    /* pas de répétition */
    background-attachment: fixed;    /* effet "fixe" */
}

header {
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    font-family: "Montserrat", sans-serif;
    position: relative;
}
header img#logo {
    width: 130px;
    height: 130px;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

header div.top {
    width: 100%;
    max-width: 1200px;
    height: 0;
    margin: 0 auto;
    position: relative;
}
header div.top ul.socials { 
    position: absolute; 
    top: 0; left: 0;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    width: auto;
}
header div.top ul.socials li a { 
    display: block;
    padding: 5px;
    color: #6B5896;
    transition: 0.5s;
    text-decoration: none;
}
header div.top a.cart { 
    position: absolute; 
    top: 0; right: 0;
    color: #6B5896;
    transition: 0.5s;
    text-decoration: none;
}
header div.top a.cart strong { 
    display: inline-block;
    background-color: #6B5896;
    color: #fff;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    font-size: 0.8em;
    text-align: center;
}
header div.top ul.socials li a:hover,
header div.top a.cart:hover { 
    color: #d837be;
    transition: 0.5s;
}

nav {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
nav.mini {
    max-width: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(216, 55, 190, 0.1);
}
nav ul {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li a {
    position: relative;
    display: block;
    padding: 10px 18px;
    border-radius: 25px;
    color: #6B5896;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
nav ul li a:hover {
    transform: translateY(-2px);
}
nav ul li a:hover {
    background: rgba(216, 55, 190, 0.08);
    color: #d837be;
}
nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0%;
    height: 2px;
    background: #d837be;
    transition: 0.3s;
    transform: translateX(-50%);
}
nav ul li a:hover::after {
    width: 60%;
}
nav ul li a.active {
    background: linear-gradient(135deg, #6B5896, #d837be);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(216, 55, 190, 0.3);
}

nav ul li a.active::after {
    display: none;
}
nav a.mini { display: none; }


/*** MAIN ***/
main {
    width: 100%;
    font-family: "Roboto Condensed", serif;
}
main.mini {
    margin: 80vh 0 0 0;
}

div.produits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin: 10px auto;
    grid-gap: 5px;
}
div.produit {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 5px;
    float: left;
    overflow: hidden;
    padding: 2px;
    cursor: pointer;
    transition: 0.5s;
}
div.produit div.image {
    width: 100%;
    height: 230px;
    background-size: cover;
    background-position: center center;
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
}
div.produit a {
    display: block;
    color:#d837be;
    font-size: 1em;
    height: auto;
    line-height: Z0px;
    margin: 5px 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    transition: 0.5s;
}
div.produit:hover a {
    color:#6B5896;
    transition: 0.5s;
}
div.produit p.prix {
    display: block;
    text-align: left;
    font-family: "Libre Caslon Text", serif;
    height: 20px;
    line-height: 20px;
    margin: 0;
    padding: 0;
}

/*** FOOTER ***/
footer {
	width: 100%;
    background: rgba(242, 234, 230, 0.7);
    background: rgba(242, 234, 248,0.7);

}
footer ul.social {
    background: rgb(242, 234, 248,1);
	width: 100%;
    height: 50px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
}
footer ul.social a {
    color: #000;
    text-decoration: none;
    padding: 0 15px;
}
footer div.footer {
    width: 100%;
    height: auto;
    text-align: center;
}

footer ul.footer {
	width: 100%;
    height: auto;
    display: flex;
    list-style: none;
    margin: 5px 0;
    padding: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
}
footer ul.footer a {
    color: #000;
    text-decoration: none;
    padding: 0 15px;
}

div.legal p {
    font-size: 0.8em;
    padding: 10px;
}
div.legal p, div.legal a {
    color: rgba(0, 0, 0, 0.5);
}

footer div.logo img {
    width: 100px;
    height: 100px;
    margin: 20px 0;
    cursor: pointer;
}
footer img.stripe {
    height:13px;
    width:auto;
    position:relative;
    top:-0.01em;
}

@media screen and (max-width: 900px) {
    div.content {
        padding: 0 10px;
    }
    div.produits {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 800px) {
    nav {
        padding: 0px;
        height: 0px;
        border: none;
    }

    header div.top a.cart {
        right: 50px;
    }
    nav a.mini {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 22px;
        height: 22px;
        padding: 20px;
        z-index: 999;
        align-items: center;
        justify-content: center;
        color: #6B5896;
        text-decoration: none;
        font-size: 1.5em;
        background: #fef7fe;
    }

    nav ul {
        display: none;
        width: 100%;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        right: 0;
        padding: 40px 0 0 0;
        background: #fef7fe;
    }
    nav ul li {
        width: 100%;
        float: none; 
        clear: both;
        height: 50px;
        line-height: 50px;
    }
    nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
        height: 50px;
        line-height: 50px;
    }
    nav ul li a.selected {
        border: 0;
    }
}
@media screen and (max-width: 900px) {
    div.content {
        padding: 0 10px;
    }
    div.produits {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 630px) {
    footer ul.footer {
        display: block;
    }
    footer ul.footer li {
        height: 50px; 
        margin: 10px 0;
    }
}
@media screen and (max-width: 500px) {
    div.produits {
        display: block;
    }
}
@media screen and (max-width: 350px) {
    header div.top ul.socials {
        display: none;
    }
    header div.top a.cart {
        left: 0;
        font-size: 1.5em;
    }
    header img#logo {
        width: 80px;
        height: auto;
    }
    footer ul.footer {
        display: none;
    }
}
