/*
Theme Name: GiftsShop Child
Theme URI: https://gifts.themeftc.com/
Author: ThemeFTC
Author URI: https://themeforest.net/user/themeftc
Description: Child theme for GiftsShop theme
Version: 2.2.6
Template: giftsshop
Text Domain: giftsshop
*/

/* Correction bandeau */
.woocommerce .product .conditions-box .onsale {
	position: absolute;
	right: -30px;
	left: auto;
	top: 25px;
	background-color: #e74c3c;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	font-size: 12px;
}

/* Correction bandeau */
.woocommerce .product .conditions-box .featured{
	position: absolute;
	margin-top: 25px;
	left: -37px;
	background-color: #000;
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	font-size: 12px;

    
}

/* Centre le bouton dans la carte produit */
.woocommerce ul.products li.product a.button {
    display: block;
    width: max-content;
    margin: 10px auto !important;
}

/* BLOC REASSURANCE ACCUEL */
.reassurance {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 40px 20px;
}

.card {
  background: #FFFFFF;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.card:nth-child(1) .icon {
  color: #B22222;
}

.card:nth-child(2) .icon {
  color: #D4AF37;
}

.card:nth-child(3) .icon {
  color: #2E8B57;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0;
  color: #333;
}

.line {
  width: 40px;
  height: 3px;
  background: #D4AF37;
  margin: 10px auto 0;
}
@media (max-width: 768px) {
  .reassurance {
    flex-direction: column;
  }
}

/* Couleur bouton */
.elementor-image .ftc-image-content a button.single-image-button {
    color: #fff;
    background-color: #b22222;
}

/* Cacher en stock sur fiche produit */
.single.single-product.woocommerce .product .details-img .images .conditions-box .onsale {
    right: -30px;
    top: 10px;
    display: none;
}

/* Ajustement bouton ajouter au panier */
.pp_inline div.product.product-type-external p.cart,
.woocommerce div.product div.summary p.cart a,
.woocommerce div.product form.cart .button {

    min-width: 220px;
    background-color: #e74c3c;
    border-radius: 6px;
    color: #fff;
    font-size: 15px !important;
    padding: 0 25px !important;
    white-space: nowrap;
    text-align: center;
}

.woocommerce .product .conditions-box .onsale {
    position: absolute;
    right: -30px;
    left: auto;
    top: 25px;
    background-color: #e74c3c;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    font-size: 12px;
    display: none;
}

span.featured{
    color:transparent !important;
    width:140px !important;
}

span.featured::before{
    content:"Sélection";
    color:#fff;
    position:relative;
    top:0px;
    left:-6px;
}