/*
Theme Name: Semailles Boutique 2026 (child thème de EOS)
Description: Theme enfant de EnvoThemes
Author: emma.satti
Author URI: https://emmasatti.fr/
Template: envo-online-store
Version: 4.9.26
*/

/*-------------------------------------------*/
/* CLASSES
/*-------------------------------------------*/
.blocfix {
	position: relative;
	width:90%;
	max-width:1200px;
	margin:auto;
}

.socialbar {
    display: block;
    position: fixed;
    padding: 10px;
    right: 10px;
    top: 380px;
    width: 70px;
    height: auto;
    z-index: 1000;
    background: var(--rose);
    border-radius: 35px;
    text-align: center
}
.socialbar img { display: block; width: 44px; margin: 0 auto 5px auto }
.socialbar a {
    display: block;
    position: relative;
    margin: 10px 0;
    color: white !important;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
	line-height:  14px;
    text-decoration: none;
}
.socialbar a:first-child {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--vertf)
}
/*-------------------------------------------*/
.prater { font-family: "prater_sans_bold" }
.chevron ul {
	list-style: none;
    padding-left: 25px;
    text-indent: -36px;
	margin: 0 0 10px 0;
}
.chevron li:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 26px;
    margin-right: 15px;
    vertical-align: -6px;
    background: url("img/chevron-li.svg") no-repeat center / contain;
}
/*-------------------------------------------*/
.foot i { background: var(--jaune) }
/*-------------------------------------------*/
.infoliv {
    width: 755px;
    margin: 30px auto;
    padding-left: 10px;
}
/*-------------------------------------------*/
.main-menu a { position: relative; color: #fff }
a.cart-contents { text-decoration: none !important }
.widget_shopping_cart a { color: var(--vert) }
a.return  {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--jaune);
    text-decoration: none;
    
}
a.return:hover { color: white }

.formhidden { display: none }
.forminator-calculation { color: #000; font-weight: 700 }

/*-------------------------------------------*/
/* Head Menu
/*-------------------------------------------*/
.main-menu {
    display: block;
    position: fixed;
    width: 100%;
    height: 170px;
    margin: auto auto 40px auto;
    padding: 25px 0 0 0;
    background-image: url("img/semailles-fond-papier-vert.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
}
.main-menu .logo, .foot .logo {
    display: block;
    position:relative;
	margin: auto;
	width: 320px;
    z-index: 100;
}
.main-menu .logo {
    width: 80%;
	max-width: 180px;
}

.shophead {
    position: absolute;
    width: 200px;
    top: 15px;
    right: 0;
    z-index: 1000;
}
.shophead .container { width: 200px !important }

.header-my-account { padding-right: 10px !important }
.cart-button { position: relative }

.menu-menutop-container {
	position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 60px;
	margin: 30px auto -30px auto;
    padding: 0;
	z-index: 100;
	-webkit-transition: all 1s;
	transition: all 1s;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.4);
}
.menu-menutop-container ul {
	margin: 0;
	padding: 0 0 0 30px;
	width: 100%;
	display: flex;
}
.menu-menutop-container li {
    list-style: none;
    width: 270px;
}
li.lieu, li.abon { width: 230px; border-radius: 30px}
li.lieu { background: #f8f8e9 }
li.abon { background: #a3c55f; margin-left: -30px }

.menu-menutop-container li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    line-height: 1.2;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    text-align: center;
    word-wrap: break-word;
	font-family: "Encode Sans", sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: var(--vert);
	text-decoration:none;
}
li.abon a { font-weight: 600; color: white }
.menu-menutop-container a:hover {
	font-weight: 600;
}
.menu-menutop-container li.current-menu-item a { font-weight: bolder }

.semreturn, .menu-social-mobile { display: none; }

/*-------------------------------------------*/
.show-menu, .close-menu {
	position: fixed;
	top: 25px;
	left: 25px;
	width: 36px;
	line-height: 36px;
	padding: 0 5px;
	border-radius: 50%;
    font-size: 20px;
	color: #fff;
    text-align: center;
	background: var(--vertc);
    display: none;
    z-index: 1600;
}
/*Hide checkbox*/
.main-menu input[type=checkbox]{ display: none }
/*Show menu when invisible checkbox is checked*/
#show-menu:checked ~ .menu-menutop-container { left: 0px }
#show-menu:checked ~ .close-menu { display: block }
#show-menu:checked ~ .show-menu { display: none }
/*-------------------------------------------*/
.premcom {
    display: block;
    position: relative;
    float: right;
	width: 130px;
    top: 50px;
    right: -20px;
    z-index: 10;
	transition: transform 0.3s ease;
}
.premcom:hover { transform: scale(1.1) }

@media screen and (max-width: 980px) {
.premcom { position: absolute; top: -90px }
}
@media screen and (max-width: 580px) {
.premcom { position: absolute; top: -30px }
}

/*-------------------------------------------*/
/* Panier
/*-------------------------------------------*/
.semailles-panier {
    background: white;
    border-radius: 10px;
}
.semailles-panier p { margin: 0 }
.semailles-panier-image {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.semailles-panier-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 580 / 250;
    object-fit: cover;
}
.semailles-panier-corps { padding: 30px 60px; border-radius: 0 0 10px 10px }
.semailles-panier-titre { text-transform: uppercase }
.semailles-panier-titre span { font-size: 14px }
.semailles-panier-titre strong {
    font-size: 24px;
    font-weight: 800;
}
.semailles-panier-prix {
    font-size: 16px;
    font-weight: 700;
    color: var(--vertc);
}
.semailles-panier .variations th.label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.semailles-panier .variations select {
    padding: 0 20px;
    font-size: 17px;
    color: #000;
    border-radius: 30px;
}
.semailles-panier .variations select:has(option[value=""]:checked) { color: #999 }
.semailles-panier input.qty {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    text-align: center;
    font-size: 24px !important;
    font-weight: 400 !important;
    -moz-appearance: textfield;
    appearance: textfield;
}
.semailles-panier input.qty::-webkit-inner-spin-button,
.semailles-panier input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.semailles-panier .woocommerce-variation-price {
    margin: 0 0 15px 0;
    padding: 0;
}
.semailles-panier-accordeon summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
}
.semailles-panier-accordeon summary::-webkit-details-marker { display: none }
.semailles-panier-accordeon summary::after {
    content: "+";
    font-size: 36px;
    color: var(--vertc);
    font-weight: 300;
}
.semailles-panier-accordeon[open] summary::after { content: "−" }
.semailles-panier-contenu h3 { display: none }
.semailles-panier-contenu * {
    font-size: 14px;
    line-height: 1.5em;
}
.semailles-panier-contenu thead th {
    background: none;
    font-weight: 700;
    color: var(--vertc);
}
.semailles-compo-a-venir {
    font-style: italic;
    font-weight: 500;
    color: var(--vert);
}
/*-------------------------------------------*/
.single_add_to_cart_button, .add_to_cart_button {
    width: 200px;
    margin: auto;
    background: var(--vertc) !important;
    text-align: center;
}
.single_add_to_cart_button:hover, .add_to_cart_button:hover { background: var(--vert) !important }

.single_add_to_cart_button::before,
.add_to_cart_button::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
    background: url(/wp-content/themes/semaillesboutique-26/img/semailles-panier.svg) no-repeat center / contain;
}

/*-------------------------------------------*/
/* Grille articles
/*-------------------------------------------*/
.semailles-recettes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
}

.semailles-recette-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.semailles-recette-infos {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.semailles-recette-photo {
    flex-shrink: 0;
    display: block;
    width: 150px;
    height: 150px;
}

.semailles-recette-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.semailles-recette-date, .semailles-recette-lien {
    font-size: 16px;
    color: var(--vertc);
}
.semailles-recette-titre {
    font-family: "Encode Sans", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--vertf);
    text-transform: uppercase;
}
a.semailles-recette-lien {
    font-weight: 400;
    color: var(--vertf);
}
a.semailles-recette-lien:hover {
    color: var(--vertC);
}

@media (max-width: 1024px) {
    .semailles-recettes-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
}

@media (max-width: 600px) {
    .semailles-recettes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
    }
    .semailles-recette-item {
        flex-direction: column;
    }
    .semailles-recette-infos { text-align: center }
    h3.semailles-recette-titre { margin: 0 }
}
/*-------------------------------------------*/
.foot {
	position: relative;
	width:100%;
	padding: 60px 0 30px 0;
	overflow: auto;
    background: url("img/semailles-fond-papier-foot-vert.jpg");
    background-position: center top;
    background-size: cover; 
    font-size: 16px;
    line-height: 1.4em;
    color: #fff;
	z-index: 10;
}
.foot .blocfix, .foot1, .foot2 {
    display: flex;
    justify-content: space-between;
    column-gap: 40px;
}
.foot1, .foot2 {
    width: 50%;
}
.foot h3 {
    font-family: "Encode Sans", sans-serif;
    color: var(--jaune);
    font-size: 1em;
    font-weight: 700;
}
.foot h3, .foot li, .foot p { margin: 0 }
.foot .logo { width: 200px; margin-bottom: 25px }
.foot .social { width: 200px; text-align: center }
.foot .coladr {
    width: 300px;
    padding-right: 20px;
    border-right: 1px solid var(--vertc);
    white-space: nowrap;
}
.foot .col { width: 250px }
.foot ul { margin: 0; padding: 0 }
.foot li { list-style: none }
.foot a { color: #fff; text-decoration: none; font-weight: inherit }
.foot a:hover { color: var(--jaune) }
.foot i {
    position: relative;
	display: inline-block;
	text-align:center;
	width: 34px;
	line-height: 34px !important;
	margin: 0 5px;
	font-size: 22px !important;
	color: white;
	border-radius:50%;
}

.legal { display: block; margin-top: 30px; font-size: 0.8em; text-align: center }

/*-------------------------------------------*/
/* RESPONSIVE
/*-------------------------------------------*/
@media screen and (max-width: 1040px) {
.menu-menutop-container li a { font-size: 18px; padding: 0 }
}

@media screen and (max-width: 980px) {
a.return { display: none }
.menu-menutop-container, .menu-menutop-container ul { flex-direction: column;}
.main-menu { height: 120px; margin: auto; padding: 15px 0; background-size: 200% 100% }
.shophead { position: fixed; top: 30px; right: 25px }
.show-menu { display:block }
.menu-menutop-container { position: fixed; top: 0; left: -100%; right: auto; width: 100%; max-width: 450px; height: 100%; margin: 0 auto; border-radius: 0; z-index: 100 }
.menu-menutop-container ul { margin: 0; padding: 50px 0 0 0; background: none }
.menu-menutop-container li, .menu-menutop-container li:hover { width: 100%; /*border-bottom: 1px solid #ccc*/ }
.menu-menutop-container li a { width: 100%; height: 70px }
li.lieu, li.abon { width: 100%; border-radius: 0; margin: 0 }
.menu-menutop-container br { display: none }
.socialbar { display: none; }
.menu-menutop-container li.menu-social-mobile > a { display: none !important }
.semreturn { display: block }
.semreturn a { color: var(--taupe) !important; border-bottom: none !important }
.semreturn a:hover { color: var(--vert) !important }
.menu-social-mobile {
    display: block;
    width: 100%;
    border-bottom: none !important;
}
.menu-social-mobile > a {
    display: none; /* on masque le lien du parent, inutile */
}
.menu-social-mobile > .sub-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--rose);
}
.menu-social-mobile .sub-menu li {
    width: 50%;
    border-bottom: none !important;
}
.menu-social-mobile .sub-menu li:first-child {
    border-right: 1px solid var(--vertf);
}
.menu-social-mobile .sub-menu li a {
    height: auto;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
}
.menu-social-mobile .sub-menu img {
    width: 36px;
    height: 36px;
    margin-right: 8px;
}
.semailles-panier-corps { padding: 30px 40px }
.foot1, .foot2 { flex-direction: column; align-items: center }
.foot .coladr { width: auto; padding-right: 0; border-right: none  }
.foot .logo { margin: 0 auto 20px auto }
}

@media screen and (max-width: 560px) {
.main-menu { height: 100px }
.main-menu .logo { max-width: 135px }
.menu-menutop-container { z-index: 1500 }
.foot .blocfix {flex-direction: column; align-items: center }
.blocfix div { margin-bottom: 20px; text-align: center }
.semailles-panier-corps { padding: 25px }
.single_add_to_cart_button { width: auto }
.single_add_to_cart_button::before { display: none }
}