/* Pot de fleurs déco, every page (direction B « Le petit jardin »): palette, header, footer, cart, checkout, content
   pages, 404. Charte : vert #049f82 pour les traits et icônes, #047a64 pour le texte vert et les fonds sous texte blanc. */

/* Kadence's palette 1 (#049f82) colours links, buttons and green boxes under white text: 3.3:1 on white, below AA.
   The charte's accessible green takes its place; Kadence's own setting stays untouched. */
:root { --global-palette1: #047a64; }

/* ---------- Header ---------- */
/* Search bar: a wide soft pill in the middle of the header */
.site-header .header-search-bar { width: min(520px, 42vw); }
.site-header .header-search-bar form { position: relative; width: 100%; }
.site-header .header-search-bar input.search-field {
	width: 100%; height: 46px; padding: 0 52px 0 20px; border: 1.5px solid #d6d6d6; border-radius: 999px;
	background: #f7f7f7; font: 400 15px "Inter", system-ui, sans-serif; color: #222222; box-shadow: none;
	transition: border-color .2s, background-color .2s;
}
.site-header .header-search-bar input.search-field::placeholder { color: #676767; opacity: 1; }
.site-header .header-search-bar input.search-field:focus { outline: none; border-color: #047a64; background: #ffffff; box-shadow: 0 0 0 3px rgb(4 159 130 / .25); }
.site-header .header-search-bar .kadence-search-icon-wrap { right: 16px; color: #047a64; }

/* Active category: the hatched underline of the site (as under « Notre sélection ») */
.site-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.site-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a { color: #047a64; font-weight: 600; position: relative; }
.site-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a::after,
.site-header .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a::after {
	content: ""; position: absolute; left: calc(var(--global-gap, .8em) / 1); right: calc(var(--global-gap, .8em) / 1); bottom: 6px; height: 6px;
	background: repeating-linear-gradient(-55deg, #049f82 0 2px, transparent 2px 5px); border-radius: 2px;
}
.site-header .main-navigation .primary-menu-container > ul > li > a:hover { color: #047a64; }

/* Bottom row hairline */
.site-header .site-bottom-header-wrap { border-top: 1px solid #eeeeee; }
.site-header .site-bottom-header-wrap .site-header-row-container-inner { border-bottom: 1px solid #eeeeee; }

/* Cart count: brand green with a white ring */
.site-header .header-cart-total { background: #047a64; color: #ffffff; box-shadow: 0 0 0 2px #ffffff; }

/* ---------- Footer: white and light, as in the B mockup ---------- */
.site-footer .site-middle-footer-wrap, .site-footer .site-bottom-footer-wrap,
.site-footer .site-footer-row-container-inner { background: #ffffff !important; }
.site-footer .site-middle-footer-wrap { border-top: 1px solid #eeeeee; }
.site-footer .site-middle-footer-inner-wrap { padding-top: 48px !important; padding-bottom: 36px !important; }
.site-footer .site-middle-footer-inner-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) !important; }
.site-footer .site-footer-middle-section-4:empty, .site-footer .site-footer-middle-section-4.footer-section-inner-items-0 { display: none; }
.site-footer .footer-widget1 img { width: 96px !important; height: auto !important; }
.site-footer .footer-widget1 .wp-block-image { margin: 0 0 6px !important; text-align: left !important; }
.site-footer .footer-widget1 p { margin: 0; font: 400 26px/1.2 "Shadows Into Light", cursive !important; color: #047a64 !important; text-align: left !important; }
.site-footer .widget-title, .site-footer .widget .widget-title {
	margin: 0 0 12px; font: 600 16px/1.3 "Poppins", system-ui, sans-serif !important; color: #222222 !important;
	text-transform: none !important; letter-spacing: 0 !important;
}
.site-footer .widget_nav_menu ul.menu { display: grid; gap: 2px; }
.site-footer .widget_nav_menu ul.menu a {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0; font: 400 15px/1.35 "Inter", system-ui, sans-serif;
	color: #454545; text-decoration: none;
}
.site-footer .widget_nav_menu ul.menu a:hover { color: #047a64; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .site-bottom-footer-wrap .site-footer-row-container-inner { border-top: 1px solid #eeeeee; }
.site-footer .site-bottom-footer-inner-wrap { padding-top: 18px !important; padding-bottom: 22px !important; }
.site-footer .site-info, .site-footer .site-info-inner { font: 400 13.5px "Inter", system-ui, sans-serif; color: #676767; }

/* ---------- Shop pages run by WooCommerce (cart, checkout, account) ---------- */
.woocommerce-cart .content-area, .woocommerce-checkout .content-area, .woocommerce-account .content-area { margin-top: 32px; }
.woocommerce-cart .woocommerce h2, .woocommerce-checkout .woocommerce h3, .woocommerce-checkout .woocommerce h2,
.woocommerce-account .woocommerce h2 {
	font: 600 26px/1.25 "Poppins", system-ui, sans-serif; color: #222222; text-transform: none; letter-spacing: -.01em;
}
.woocommerce-cart .woocommerce .button, .woocommerce-checkout .woocommerce .button, .woocommerce-account .woocommerce .button {
	border-radius: 10px; text-transform: none; letter-spacing: 0;
}
.woocommerce-cart .woocommerce input.input-text, .woocommerce-checkout .woocommerce input.input-text,
.woocommerce-checkout .woocommerce textarea, .woocommerce-account .woocommerce input.input-text,
.woocommerce-checkout .select2-container .select2-selection--single {
	min-height: 48px; border: 1.5px solid #d6d6d6; border-radius: 10px; background: #ffffff; box-shadow: none;
	font: 400 15.5px "Inter", system-ui, sans-serif; color: #222222;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 45px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 45px; }
.woocommerce-cart .woocommerce input.input-text:focus, .woocommerce-checkout .woocommerce input.input-text:focus,
.woocommerce-checkout .woocommerce textarea:focus, .woocommerce-account .woocommerce input.input-text:focus {
	outline: none; border-color: #047a64; box-shadow: 0 0 0 3px rgb(4 159 130 / .25);
}
.woocommerce-cart .woocommerce label, .woocommerce-checkout .woocommerce label { font: 600 14px "Inter", system-ui, sans-serif; color: #222222; }

/* Cart: free delivery gauge */
.pdfj-panier-livraison { margin: 0 0 28px; padding: 16px 20px 18px; border-radius: 14px; background: #e7f5f1; }
.pdfj-panier-livraison p { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font: 400 15.5px/1.4 "Inter", system-ui, sans-serif; color: #222222; }
.pdfj-panier-livraison b { color: #047a64; font-weight: 700; }
.pdfj-panier-livraison .pdfj-ico { width: 24px; height: 24px; flex: none; fill: none; stroke: #047a64; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdfj-panier-livraison .pdfj-jauge { height: 8px; border-radius: 99px; background: #ffffff; overflow: hidden; }
.pdfj-panier-livraison .pdfj-jauge i { display: block; height: 100%; border-radius: inherit; background: #049f82; }

/* Cart table and totals */
.woocommerce-cart table.shop_table { border: 0; border-radius: 0; }
.woocommerce-cart table.shop_table th { font: 600 13.5px "Inter", system-ui, sans-serif; color: #676767; text-transform: none; }
.woocommerce-cart table.shop_table td { border-top: 1px solid #eeeeee; font: 400 15px "Inter", system-ui, sans-serif; color: #222222; }
.woocommerce-cart table.shop_table td.product-name a { color: #222222; text-decoration: none; font-weight: 500; }
.woocommerce-cart table.shop_table td.product-name a:hover { color: #047a64; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-cart table.shop_table td.product-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.woocommerce-cart table.shop_table td.product-subtotal { font-weight: 700; }
.woocommerce-cart table.shop_table a.remove { color: #676767 !important; font-weight: 400; }
.woocommerce-cart table.shop_table a.remove:hover { background: #e7f5f1 !important; color: #047a64 !important; }
.woocommerce-cart table.shop_table td.actions .coupon .button,
.woocommerce-cart table.shop_table td.actions > .button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px !important; line-height: 1 !important;
	background: #ffffff !important; color: #047a64 !important; box-shadow: inset 0 0 0 1.5px #047a64;
}
.woocommerce-cart table.shop_table td.actions .coupon input.input-text { min-height: 48px; padding: 0 14px; }
.woocommerce-cart table.shop_table td.actions .button:disabled { opacity: .45; }
.woocommerce-cart .cart-collaterals .cart_totals { padding: 24px 26px 26px; border-radius: 18px; background: #e7f5f1; }
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td { border-top-color: #cfe7df; background: none; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 12px; font: 600 17px "Inter", system-ui, sans-serif;
}

/* Checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
	border: 0; border-radius: 12px; background: #e7f5f1; color: #222222; font: 400 15px "Inter", system-ui, sans-serif;
}
.woocommerce-checkout #order_review, .woocommerce-checkout .woocommerce-checkout-review-order {
	border-radius: 18px;
}
.woocommerce-checkout #order_review_heading { margin-top: 0; }
.woocommerce-checkout #payment { border-radius: 18px; background: #e7f5f1; }
.woocommerce-checkout #payment #place_order {
	width: 100%; min-height: 56px; border-radius: 12px; font: 600 17px "Inter", system-ui, sans-serif; text-transform: none;
}

/* ---------- Content pages built with Kadence blocks (FAQ, contact, about) ---------- */
.kt-blocks-accordion-header, .kt-blocks-accordion-title {
	font-family: "Inter", system-ui, sans-serif !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important;
}

/* ---------- 404 (template in templates/404.php, jardin tokens from jardin.css) ---------- */
.pdfj-404 .pdfj-404-tete { padding: 48px 0 64px; margin-bottom: 0; }
.pdfj-404 .pdfj-404-note { margin: 0 0 8px; font-size: 32px; transform: rotate(-2deg); transform-origin: 0 50%; }
.pdfj-404 .pdfj-404-tete h1 { max-width: none; }
.pdfj-404 .pdfj-etiquettes { flex-wrap: wrap; padding-top: 26px; }
.pdfj-404 .pdfj-etiquettes li { flex: 0 1 auto; }
.pdfj-404 .pdfj-404-recherche { max-width: 560px; margin-top: 22px; }
.pdfj-404 .pdfj-404-recherche p { margin: 0 0 8px; font: 600 15px var(--f-texte); color: var(--encre); }
.pdfj-404 .pdfj-404-recherche input.search-field {
	width: 100%; height: 50px; padding: 0 52px 0 20px; border: 1.5px solid #d6d6d6; border-radius: 999px; background: #ffffff;
	font: 400 15.5px var(--f-texte);
}
.pdfj-404 .pdfj-404-suite { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 56px 0 72px; }
.pdfj-404 .pdfj-404-lien { font: 600 15px var(--f-texte); color: var(--vert-texte); text-underline-offset: 3px; }

/* ---------- Phone ---------- */
@media (max-width: 899px) {
	.site-footer .site-middle-footer-inner-wrap { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; padding-top: 36px !important; }
	.site-footer .footer-widget1 { text-align: left; }
	.site-footer .widget-area { text-align: left !important; }
	.pdfj-panier-livraison { margin-bottom: 20px; padding: 14px 16px 16px; }
	.pdfj-panier-livraison p { font-size: 14.5px; }
	.woocommerce-cart .cart-collaterals .cart_totals { padding: 18px 18px 20px; }
	.pdfj-404 .pdfj-404-tete { padding: 24px 0 44px; }
	.pdfj-404 .pdfj-404-note { font-size: 26px; }
	.pdfj-404 .pdfj-etiquettes { flex-wrap: nowrap; }
}
