/*
Theme Name:   Hello Elementor Child – Les Pierres de Claude
Theme URI:    https://lespierresdeclaude.fr
Description:  Thème enfant de Hello Elementor pour Les Pierres de Claude (CSS/JS de présentation, versionnés dans Git).
Author:       Agence La Lucarne
Author URI:   https://agence-lalucarne.com
Template:     hello-elementor
Version:      1.2.0
Text Domain:  hello-elementor-child
*/

/* ============================================================
   CSS global — repris du Customizer « CSS additionnel » (post #207 du thème parent)
   ============================================================ */
.jet-tabs__label-image{
	border-radius: 5px !important;
}

.popuhidden{
	display:hidden;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: transparent;

}

table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: transparent;

}

#pl-picker-modal{
	z-index:90000;
}

.jet-form-builder-choice--item{
	width: 150px;
}

/* ---------- Couleurs par défaut des liens et boutons ----------
   Hello Elementor (reset.css) colore en rose #cc3366 tous les liens et tous les <button> sans style propre,
   et leur donne un fond rose au survol. On reprend les mêmes sélecteurs avec le vert du thème. */
a { color: var(--lpc-green, #7A8663); }
[type="button"], [type="submit"], button { border-color: var(--lpc-green, #7A8663); color: var(--lpc-green, #7A8663); }
[type="button"]:focus, [type="button"]:hover,
[type="submit"]:focus, [type="submit"]:hover,
button:focus, button:hover { background-color: var(--lpc-green, #7A8663); color: #fff; }

/* Mobile : champs de saisie à 16 px minimum, sinon iOS Safari zoome la page au focus et ne revient pas en arrière. */
@media (max-width: 767px) {
  html body input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="search"], [type="password"], [type="url"]), html body select, html body textarea { font-size: 16px !important; }
}

/* Tunnel de commande, panier, compléments : voir assets/css/checkout-flow.css (chargé sur panier et commande). */
.lpc-hidden { display: none !important; }
.lpc-cart-item-edit { font-size: 12px; color: #6B6B65; margin-top: 2px; }
.lpc-cart-item-edit a { color: #7A8663; text-decoration: underline; }

/* Popup « produit ajouté » (#966) */
.lpc-last-added__image img { border-radius: 8px; width: 100%; height: auto; }
.lpc-last-added__name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.lpc-last-added__meta { font-size: 14px; color: #6B6B65; }
@media (max-width: 767px) {
  #jet-popup-966 .lpc-last-added__image img { max-width: 140px; margin: 0 auto; }
  #jet-popup-966 .jet-popup__container { max-height: calc(100vh - 110px); overflow: auto; }
}

/* ---------- Pages éditoriales (template « Page unique » #1285 : titre + contenu Gutenberg) ----------
   Hors pages WooCommerce (panier, commande, compte : body.woocommerce-page), qui ont leurs propres styles. */
body:not(.woocommerce-page) .elementor-widget-theme-post-content { font-size: 16px; line-height: 1.65; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content a:not(.wp-block-button__link) { color: #7A8663; text-decoration: underline; text-underline-offset: 2px; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content a:not(.wp-block-button__link):hover { color: #6A7555; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .lpc-lead { font-size: 18px; color: #505841; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content h2 { margin-top: 1.6em; font-size: 26px; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content ul { padding-left: 1.2em; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content li { margin-bottom: .45em; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .wp-block-table table { border-collapse: collapse; font-size: 15px; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .wp-block-table th, .elementor-widget-theme-post-content .wp-block-table td { border: 1px solid #E3DCCD; padding: 10px 12px; vertical-align: top; text-align: left; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .wp-block-table th { background: #FDF6EA; font-family: 'Sora', sans-serif; font-weight: 600; color: #505841; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .wp-block-buttons { gap: 10px; margin: 1.2em 0; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .wp-block-button__link { background: #7A8663; color: #fff; border: 1px solid #7A8663; border-radius: 6px; padding: 12px 20px; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .wp-block-button__link:hover { background: #6A7555; border-color: #6A7555; color: #fff; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .is-style-outline .wp-block-button__link { background: #fff; color: #7A8663; }
body:not(.woocommerce-page) .elementor-widget-theme-post-content .is-style-outline .wp-block-button__link:hover { background: #F7F2E8; color: #6A7555; }
