/*
Theme Name: generatepress-child
Description: Thème enfant créé par Éole Digital
Author: Éole Digital
Author URI: 
Template: generatepress 
Version: 0.1.0
*/

/* font headings */
/* poppins-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/generatepress-child/fonts/poppins-v22-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* font corps de texte */
  /* nunito-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* nunito-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* nunito-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* nunito-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 500;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* nunito-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* nunito-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 600;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* nunito-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* nunito-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/generatepress-child/fonts/nunito-v26-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
/* === Ombres Générales === */
.shadow {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
}

.btn-shadow {
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.2);
}

/* Cacher certains éléments sur mobile */
@media screen and (max-width: 480px){
    .mobile-display-none {
        display: none !important;
    }
}

/* ajustement barre supérieure */  
@media (max-width: 768px) {
    .top-bar .inside-top-bar {
			        justify-content: right;
        padding-right: 1px;
        padding-left: 1px;
    }
}

/* ajustement taille logo */
.navigation-branding img, .site-logo.mobile-header-logo img {
    height: 55px;
    width: auto;
}

/* taille de caractère col. latérale */
.widget, .inner-padding, .widget_nav_menu {
font-size: 1rem;
}

/* masquer le burger qui s'affiche dans l'entête sur desk (pages WC) */
@media (min-width: 769px) {
    .menu-toggle[aria-controls="generate-slideout-menu"] {
        display: none !important;
    }
}

/* cartouche tél barre sup */
.tel-topbar {
    height: 3.5vh !important;
    width: auto !important;
}

/* Feedback au survol cartes cliquables */
.js-card { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.js-card:hover { transform: translateY(-5px); }

/* fil d'ariane WC */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
font-size: .9rem;
}

/* FAQ */
.schema-faq-answer {
  border: 1px solid #3a6ea5;
  border-radius: 4px;
  background-color: #fff;
  padding: 0.7em;
  margin-bottom: 1.5em;
}


/* ajustement du 13px dans le panier et checkout */
:root {
    --wp--preset--font-size--small: 1rem;
}

/* validation de commande : "Résumé de la commande" */
.woob2b-shipping-choice, .wp-block-woocommerce-checkout-order-summary-block, .wc-block-components-address-card, .wc-block-components-quantity-selector, .quantity, .buttons-added {
	background-color: #ffffff;
}


/* Utilitaire: image carrée responsive
classe : animate-backInRight img-square 

Réglage de la durée dans → .animate-backInRight : 
--dur: 1s; --delay: 150ms;
*/
.img-square {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;           /* pour les balises img */
  object-fit: cover;
  display: block;
}

/* Animation backInRight (type Animate.css) */
.animate-backInRight {
  --dur: 1s;
  --delay: 150ms;
  animation: backInRight var(--dur) cubic-bezier(.34,1.56,.64,1) var(--delay) both;
}

@keyframes backInRight {
  0%   { transform: translateX(120px) scale(0.85); opacity: 0; }
  60%  { transform: translateX(-10px)  scale(0.98); opacity: 1; }
  100% { transform: translateX(0)      scale(1);    opacity: 1; }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .animate-backInRight { animation: none !important; }
}


/**
 * ----------------------------------------
 * animation scale-in-center
 * ----------------------------------------
 */
.scale-in-center {
	-webkit-animation: scale-in-center 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: scale-in-center 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes scale-in-center {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
