/*
 Theme Name:   Storefront Child
 Theme URI:    https://tonsite.com/
 Description:  Child theme pour Storefront
 Author:       Ton Nom
 Author URI:   https://tonsite.com/
 Template:     storefront
 Version:      1.0.0
 Text Domain:  storefront-child
*/

/* Tu peux ajouter ton CSS personnalisé ici */


.site-header {
  background-color: #2c2d33;
  padding-top: 0;
  padding-bottom: 0;
  color: #9aa0a7;
  background-position: center center;
  position: relative;
  z-index: 999;
  border-bottom: none;
  border-bottom-color: none;
}

.home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-header, .home.post-type-archive-product .site-header {
  margin-bottom: 20px;
}

#wpforms-8425{
	height: 100%;
}

#wpforms-confirmation-8425{
	top:25%;
	position: relative;
	color: #27AE60;
}

/* Wrapper */
.f-search-wrapper {
    position: relative;
    display: inline-block;
}

/* Bouton loupe */
.f-search-icon {
    background: none;
    border: none;
    font-size: 18px;
    color: #27ae60;
    cursor: pointer;
    padding:0;
}

/* Formulaire caché par défaut */
.f-search-form {
    display: none;
    position: absolute;
    top: 40px; /* ajuster si nécessaire */
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    padding: 5px;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Input et bouton */
.f-search-form input[type="text"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 150px;
}

.f-search-form button {
    background: #27ae60;
    color: #fff;
    border: none;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 5px;
}

.f-search-form button:hover {
    background: #219150;
}

#search-toggle:hover{
  background: none;
}

.moderncart-cart-item-product-name a {
    display: block;
    unicode-bidi: plaintext;
    direction: ltr;
}

.woocommerce-variation-price .woocommerce-Price-amount.amount{
    font-size: 30px;
    font-weight: bold;
    color: #27ae60;
}

.page-id-8746 .woocommerce-message{
  display: none;
}


.page-id-8746 .added_to_cart{
    display: none;
}

.single-product div.product p.price{
	margin-bottom: 0px;
}

.f-foot-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* MOBILE */
@media (max-width: 768px) {
    .f-foot-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .f-foot-links li {
        width: 100%;
        text-align: center;
    }
	.f-links{
		width:100%;
	}
	
	#wpfront-scroll-top-container {
	  bottom: 150px !important;
	}
}