/*!
Theme Name: arome
Theme URI: http://underscores.me/
Author: illis
Author URI: https://illis-digital.fr
Description: custom theme for arome et gourmandises
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: arome
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	background-color: #fafafa;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	background-color: #fafafa;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

input:focus-visible, textarea:focus-visible, button:focus-visible {
	outline: 1px solid #3b6733 !important;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px solid #3b6733;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
	font-size: 1rem;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

.justify {
	text-align: justify;
}

@media (max-width: 768px) {
	.justify {
		text-align: left;
	}
}

.pr-5 {
	padding-right: 10%;
	padding-left: 3%;
	line-height: 1.7rem;
}

.concept {
	padding-left: 3%;
	text-transform: uppercase;
	position: relative;
}

.concept::after {
	content: "";
	position: absolute;
	width: 15%;
	height: 2px;
	background-color: #3b6733;
	bottom: -10%;
	left: 3%;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #3b6733;
	border-radius: 3px;
	background: #3b6733;
	color: white;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post{
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	margin-top: 12px;
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* CUSTOM AROME*/

@media (max-width: 768px) {
	p, h1, h2, h3, h4, h5, h6 {
		max-width: 96%;
		margin: auto 12px;
	}
}

#masthead {
	font-family: "Roboto", sans-serif;
	padding: 12px 0;
	background: #F4F3F1;
	text-transform: uppercase;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	height: 80px;
}

#masthead img {
	max-width: 120px;
}

#masthead nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 24px;
}

#masthead nav ul a{
	color: #3B6733;
	font-weight: bold;
	font-size: 18px;
	text-decoration: none;
}

#hamburger-menu {
	display: none;
	font-size: 30px;
	background: none;
	border: none;
	color: #3B6733;
	cursor: pointer;
	padding: 12px;
}

#masthead .mobile-nav {
	display: none;
}

@media (max-width: 768px) {
	#hamburger-menu {
		display: block;
	}

	#masthead img {
		max-width: 90px;
	}

	#masthead nav {
		display: none;
		position: absolute;
		top: 80px;
		left: 0;
		width: 100%;
		background: #F4F3F1;
		text-align: center;
		padding: 15px 0;
		z-index: 99999;
	}


	#masthead nav ul {
		width: 100%;
		flex-direction: column;
		justify-self: center;
	}

	#nav-links li {
		display: block;
		padding: 10px 0;
	}

	#masthead.show .mobile-nav {
		display: flex;
	}
}

#masthead .icon-header .dashicons {
	width: 30px;
	height: 30px;
	font-size: 30px;
	color: black;
	cursor: pointer;
}

#masthead  .icon-header a {
	position: relative;
	display: inline-block;
	color: black;
	text-decoration: none;
	width: 30px;
	height: 30px;
}

#masthead .header-panier .amount {
	position: absolute;
	right: 0;
	width: 15px;
	height: 15px;
	color: white;
	background: #3b6733;
	font-size: 8px;
	text-align: center;
	border-radius: 50%;
}

#search-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.search-popup-content {
	background: white;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	width: 90%;
	max-width: 400px;
	position: relative;
}

#close-search {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
}

/* GENERAL */
.hero-banner {
	height: calc(100vh - 80px);
	color: #3b6733;
}

h1, h2, h3, h4, h5, h6 {
	color: #3B6733;
	font-family: "Roboto", sans-serif;
	font-weight: bold;
}


/* FOOTER */
.site-footer {
	background: #F4F3F1;
	padding: 40px 0;
	font-size: 14px;
	color: #333;
}
.site-footer .container {
	max-width: 1200px;
	margin: 0 auto;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
@media screen and (max-width: 768px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-logo {
		display: none;
	}

	.footer-column h3 {
		cursor: pointer;
		position: relative;
		padding-right: 30px;
	}

	.footer-column h3::after {
		content: "▼";
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 16px;
		transition: transform 0.3s ease;
	}

	.footer-column.active h3::after {
		transform: translateY(-50%) rotate(180deg);
	}

	.footer-column ul, .footer-column p {
		display: none;
		padding-top: 10px;
	}

	.footer-column.active ul, .footer-column.active p {
		display: block;
		width: 90%;
		margin: auto;
	}

	.social-icons {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: center;
		margin-top: 20px;
	}
}
.footer-logo img {
	max-width: 150px;
}
.footer-column h3 {
	font-size: 16px;
	margin-bottom: 15px;
	color: #3B6733;
}
.footer-menu {
	list-style: none;
	padding: 0;
}
.footer-menu li {
	margin-bottom: 8px;
}
.footer-menu a {
	text-decoration: none;
	font-weight: bold;
	color: #3B6733;
}
.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-column ul li {
	margin-bottom: 8px;
}
.footer-column ul li a {
	text-decoration: none;
	font-weight: bold;
	color: #3B6733;
}

.footer-column .text-muted {
	color: #333;
	font-size: 10px;
}
.footer-column p {
	font-size: 14px;
	margin: 5px 0;
	color: #3B6733;
}

.footer-column p a{
	text-decoration: none;
	font-weight: bold;
	color: #3B6733;
}
.footer-bottom {
	width: 100%;
	text-align: center;
	border-top: 1px solid #245027;
	padding-top: 10px;
	margin-top: 20px;
	font-size: 14px;
	color: black;
}
.social-icons {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}
.social-icons a {
	font-size: 18px;
	background: #245027;
	color: white;
	text-align: center;
	height: 24px;
	width: 24px;
	border-radius: 50%;
	padding: 2px;
	text-decoration: none;
}
/*END FOOTER*/

.wp-block-cover.hero-banner {
	justify-content: flex-start;

}

.hero-banner .wp-block-cover__inner-container {
	padding-left: 10%;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: fit-content;
}

.wp-block-button__link {
	background: #3B6733;
	font-family: "Roboto", sans-serif;
	color: white;
	border-radius: 10px;
	transition: background .2s ease-in-out;
}

.hero-banner h2 {
	text-align: center;
}

@media (max-width: 768px) {
	.hero-banner .wp-block-cover__inner-container {
		padding-left: 0;
		width: 100%;
	}
}

/* GENERAL */
.wp-block-button__link:hover {
	color: white;
	background: #284723;
}

.wp-block-button__link:visited {
	color: white;
}

body .bloc-txt-img {
	display: flex;
	gap: 0;
	max-height: 600px;
}

.bloc-txt-img>* {
	width: 50%;
}

.bloc-txt-img div div {
	padding: 0 5%;
}

.bloc-txt-img figure {
	overflow: hidden;
	/* Magic */
	display: flex;
	align-items: center; /* vertical */
	justify-content: center; /* horizontal */
	height: 100%;
}

.bloc-txt-img figure img {
	object-fit: cover;
	width: 100%;
	max-height: 600px;
}

@media (max-width: 768px) {
	body .bloc-txt-img {
		padding-left: 0;
		width: 100%;
		flex-direction: column;
		max-height: fit-content;
		padding-bottom: 12px;
	}

	.bloc-txt-img>* {
		width: 100%;
	}

	.bloc-txt-img h2 {
		margin: 18px auto;
	}

	.bloc-txt-img figure {
		display: none;
	}
}

ul.wc-block-product-template {
	margin: 0 auto 32px;
	width: 80%;
	grid-template-columns: repeat(auto-fill,minmax(max(150px,calc(20% - .9375em)),1fr))!important;
}

ul.wc-block-product-template li.wc-block-product {
	display: flex;
	flex-direction: column;
	background: white;
	border-radius: 8px;
	padding-bottom: 12px;
}

ul.wc-block-product-template li .wc-block-components-product-image {
	order: 0;
	min-height: 100px;
	border-radius: 8px 8px 0 0;
}

ul.wc-block-product-template li .wp-block-woocommerce-product-price {
	order: 1;
	font-size: 0.8em;
	margin-bottom: 0;
	color: black;
}

ul.wc-block-product-template li h3 {
	order: 2;
	min-height: 50px;
	font-size: 1em!important;
	font-weight: bold;
	text-align: center;
}

ul.wc-block-product-template li h3 a {
	color: #3b6733;
	padding: 0 0 0 8px;
}

ul.wc-block-product-template li .wc-block-components-product-button {
	order: 4;
}

ul.wc-block-product-template li .wc-block-components-product-button button {
	width: 80%;
	margin-bottom: 12px;
	background-color: white;
	border: 2px solid #3b6733 !important;
	color: #3b6733;
	text-transform: uppercase;
}

ul.wc-block-product-template li .wc-block-components-product-button button:hover {
	background-color: #3b6733;
	color: white;
}

ul.wc-block-product-template li .added_to_cart {
	display: none;
}

.editor-styles-wrapper .wp-block-woocommerce-product-button {
	display: none!important;
}

.home-selection {
	display: flex;
	align-items: center;
	width: 80%;
	margin: 24px auto;
}

.home-selection figure {
	width: 32%;
	height: 500px;
}

.home-selection figure img {
	width: 100%;
	height: 500px;
	object-fit: fill;
}

.home-selection div {
	width: 65%;
	height: 500px;
	display: flex;
	justify-content: center;
	padding-left: 2%;
	overflow: hidden;
}

@media (max-width: 768px) {
	.home-selection {
		display: flex;
		align-items: center;
		width: 80%;
		margin: 24px auto;
		flex-direction: column;
	}

	.home-selection figure {
		width: 100%;
	}

	.home-selection div {
		width: 100%;
		height: fit-content;
	}
}

.woocommerce-account article {
	width: 90%;
	margin: auto;
}

main .ti-widget.ti-goog {
	width: 90%;
	margin: auto;
}

main .ti-widget.ti-goog .ti-review-item>.ti-inner {
	border: 1px solid #D0D8CC!important;
}

.cookie {
	font-family: "Cookie", cursive;
	font-weight: 400;
	font-style: normal;
	font-size: 3rem!important;
	line-height: 2.8rem;
}

@media (max-width: 768px) {
	.cookie {
		font-size: 2rem!important;
		line-height: 1.5rem;
	}
	.hero-banner .cookie {
		font-size: 3rem!important;
		line-height: 2.8rem;
	}
}

.woocommerce-info {
	background-color: white!important;
}

/************************************************************
  BREADCRUMBS
************************************************************/
.woocommerce-breadcrumb {
	font-size: 0.875rem;
	padding: 12px;
}

.woocommerce-breadcrumb a {
	color: #3b6733;
	text-decoration: none;
	transition: color 0.3s;
}

.woocommerce-breadcrumb a:hover {
	color: #3b6733; /* Vert accent */
	text-decoration: underline;
}

/************************************************************
  STRUCTURE GLOBALE DU PRODUIT
  => Galerie à gauche / Résumé à droite
************************************************************/
.single-product .product {
	display: flex;
	flex-wrap: wrap; /* Pour s'adapter sur mobile */
	gap: 2rem;
}

/* GALLERIE PRODUIT (Colonne de gauche) */
.woocommerce-product-gallery {
	flex: 1 1 25%;
	min-width: 300px;
	padding: 1rem;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Thumbnails */
.flex-control-nav {
	display: flex;
	justify-content: center;
	list-style: none;
	margin-top: 1rem;
	gap: 0.5rem;
}
.flex-control-nav li {
	border: 2px solid transparent;
	transition: border-color 0.3s;
}
.flex-control-nav li img {
	width: 60px;
	height: auto;
	border-radius: 4px;
}
.flex-control-nav li:hover,
.flex-control-nav li .flex-active {
	border-color: #3b6733;
}

/* Raccourci pour l’icône loupe (🔍) */
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 1rem;
	right: 1rem;
	text-decoration: none;
	font-size: 1.5rem;
	color: #3b6733;
	background: #fff;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border: 1px solid #eee;
}

/* RESUME DU PRODUIT (Colonne de droite) */
.summary.entry-summary {
	flex: 1 1 45%;
	min-width: 300px;
	padding: 1rem 0;
}

/************************************************************
  TITRE, PRIX, DESCRIPTION COURTE
************************************************************/
.product_title.entry-title {
	font-size: 2rem;
	margin-bottom: 0.75rem;
	font-weight: 600;
	color: #333;
}

.price {
	color: #3b6733;
	margin-bottom: 1rem;
}

.woocommerce-product-details__short-description {
	margin-bottom: 1.5rem;
	font-size: 1rem;
	color: #555;
}

/************************************************************
  FORMULAIRE AJOUTER AU PANIER
************************************************************/
form.cart {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

form.variations_form.cart {
	flex-direction: column;
	align-items: flex-start;
}

form.cart .quantity {
	display: inline-block;
}

form.cart .quantity input.qty {
	width: 60px;
	padding: 0.5rem;
	font-size: 1rem;
	text-align: center;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.single_add_to_cart_button {
	background-color: #3b6733;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s;
	text-transform: uppercase;
}
.single_add_to_cart_button:hover {
	background-color: #5d933f;
}

/************************************************************
  META (Catégories, Étiquettes, etc.)
************************************************************/
.product_meta {
	font-size: 0.9rem;
	color: #777;
	margin-bottom: 1.5rem;
}
.product_meta a {
	color: #3b6733;
	text-decoration: none;
}
.product_meta a:hover {
	text-decoration: underline;
}

/************************************************************
  TABS : Description / Avis
************************************************************/
.woocommerce-tabs {
	width: 90%;
	margin: auto;
	border-top: 1px solid #eee;
}

.woocommerce-tabs ul.tabs {
	list-style: none;
	display: flex;
	border-bottom: 1px solid #eee;
	margin-bottom: 1rem;
	gap: 2rem;
}

.woocommerce-tabs ul.tabs li {
	margin: 0;
}

.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 1rem 0.5rem;
	font-size: 1rem;
	color: #777;
	text-decoration: none;
	transition: color 0.3s;
	border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
	color: #333;
	border-color: #3b6733;
}

.woocommerce-Tabs-panel {
	background-color: #fff;
	border: 1px solid #eee;
	padding: 1.5rem;
	font-size: 1rem;
	color: #555;
	margin-bottom: 2rem;
}

/************************************************************
  AVIS
************************************************************/
.woocommerce-Reviews {
	margin-top: 1rem;
}

.woocommerce-noreviews {
	font-style: italic;
	color: #777;
}

/************************************************************
  SECTIONS "UP-SELLS" ET "PRODUITS RELIÉS"
************************************************************/
.up-sells,
.related {
	padding-top: 2rem;
	border-top: 1px solid #eee;
	width: 90%;
	margin: auto;
}

.up-sells h2,
.related h2 {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.up-sells ul.products,
.related ul.products {
	display: flex;
	gap: 1.5rem;
	list-style: none;
}

@media (max-width: 768px) {
	.up-sells ul.products,
	.related ul.products {
		flex-direction: column;
	}
}

/* Carte produit */
.products li.product {
	border: 1px solid #eee;
	border-radius: 4px;
	padding: 1rem;
	background: #fff;
	text-align: center;
	transition: box-shadow 0.3s;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.products li.product:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.products li.product img {
	max-width: 100%;
	height: auto;
	margin-bottom: 0.75rem;
	border-radius: 4px;
}

.woocommerce-loop-product__title {
	font-size: 1rem;
	color: #333;
	margin: 0.75rem 0;
}

.products li.product .price {
	font-size: 1.1rem;
	color: #3b6733;
	margin-bottom: 0.75rem;
}

.woocommerce-LoopProduct-link {
	text-decoration: none;
}

.products li.product a.button {
	background-color: #3b6733;
	color: #fff;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	border-radius: 4px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.3s;
}
.products li.product a.button:hover {
	background-color: #5d933f;
}

/************************************************************
  RESPONSIVE
************************************************************/
@media (max-width: 768px) {
	.product {
		flex-direction: column;
	}
	.woocommerce-product-gallery,
	.summary.entry-summary {
		flex: 1 1 100%;
	}
	.woocommerce-tabs ul.tabs {
		flex-direction: column;
		gap: 0.5rem;
	}
}












/* ===========================
   CONTENEUR PRINCIPAL
=========================== */
.alignwide {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 0;
}

/* ===========================
   TITRES
=========================== */
h2 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

/* ===========================
   TABLEAU DU PANIER
=========================== */
table.wc-block-cart-items {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

table.wc-block-cart-items th,
table.wc-block-cart-items td {
	text-align: left;
	padding: 0.75rem;
	border-bottom: 1px solid #ddd;
}

table.wc-block-cart-items thead th {
	background: #f8f8f8;
	font-weight: bold;
}

.wc-block-cart-item__image img {
	width: 60px;
	height: auto;
	display: block;
	border: 1px solid #ddd;
	border-radius: 4px;
}

/* ===========================
   PRODUIT & DÉTAILS
=========================== */
.wc-block-cart-item__product {
	vertical-align: middle;
}

.wc-block-cart-item__wrap a.wc-block-components-product-name {
	color: #3b6733;
	text-decoration: none;
	font-weight: bold;
	margin-bottom: 0.5rem;
	display: inline-block;
}

.wc-block-cart-item__prices {
	margin: 0.5rem 0;
	font-size: 0.95rem;
	color: #555;
}

.wc-block-components-product-metadata__description p {
	font-size: 0.875rem;
	color: #777;
}

/* ===========================
   QUANTITÉ & BOUTON SUPPRIMER
=========================== */
.wc-block-cart-item__quantity {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 0.5rem;
}

.wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
}

.wc-block-components-quantity-selector__input {
	width: 50px;
	padding: 0.25rem;
	text-align: center;
	border: none;
	outline: none;
}

.wc-block-components-quantity-selector__button {
	background: #eee;
	border: none;
	padding: 0.25rem 0.5rem;
	cursor: pointer;
	font-size: 1rem;
}

.wc-block-components-quantity-selector__button:disabled {
	opacity: 0.5;
	cursor: default;
}

.wc-block-cart-item__remove-link {
	background: none;
	border: none;
	color: #c00;
	text-decoration: underline;
	cursor: pointer;
	font-size: 0.875rem;
}

/* ===========================
   CROSS-SELLS
=========================== */
.wp-block-woocommerce-cart-cross-sells-block {
	margin-bottom: 2rem;
}

.wp-block-woocommerce-cart-cross-sells-block h2 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.cross-sells-product {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.wp-block-cart-cross-sells-product__product-image img {
	width: 80px;
	height: auto;
	border-radius: 4px;
	border: 1px solid #ddd;
}

.wp-block-cart-cross-sells-product__product-title {
	font-size: 1rem;
	margin-bottom: 0.25rem;
}

.wp-block-cart-cross-sells-product__product-title a {
	text-decoration: none;
	color: #3b6733;
}

.wp-block-cart-cross-sells-product__product-price {
	font-weight: bold;
	color: #555;
}

.wp-block-cart-cross-sells-product__product-add-to-cart button {
	background: #3b6733;
	color: #fff;
	border: none;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	border-radius: 4px;
	cursor: pointer;
}

/* ===========================
   SIDEBAR (RÉCAPITULATIF)
=========================== */
.wc-block-components-sidebar {
	margin-top: 2rem;
	border: 1px solid #ddd;
	padding: 1rem;
	border-radius: 4px;
}

.wc-block-cart__totals-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.wc-block-components-totals-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.wc-block-components-totals-item__label {
	font-weight: 600;
	color: #3b6733;
}

.wc-block-components-totals-item__value {
	font-weight: 600;
	color: #3b6733;
}

/* ===========================
   BOUTON VALIDER LA COMMANDE
=========================== */
.wc-block-cart__submit-button {
	display: inline-block;
	background: #3b6733;
	color: #fff;
	text-decoration: none;
	padding: 0.75rem 1.25rem;
	border-radius: 4px;
	font-size: 1rem;
	text-align: center;
	cursor: pointer;
}

.wc-block-cart__submit-button:hover {
	background: #555;
}

/* ===========================
   RESPONSIVE (TRÈS BASIQUE)
=========================== */
@media (max-width: 768px) {
	.wc-block-cart-items__row {
		display: block;
	}

	.wc-block-cart-item__image {
		margin-bottom: 1rem;
	}

	.wc-block-components-sidebar {
		margin-top: 2rem;
	}

	table.wc-block-cart-items thead {
		display: none;
	}

	table.wc-block-cart-items td {
		border-bottom: 1px solid #ddd;
		display: block;
	}

	.wc-block-cart-item__product,
	.wc-block-cart-item__total {
		margin-bottom: 1rem;
	}
}

.wp-block-woocommerce-checkout {
	width: 90%;
	margin: auto!important;
}




/* ===========================
   CONTENEUR PRINCIPAL
=========================== */
.woocommerce-order {
	width: 90%;
	max-width: 1200px;
	margin: 2rem auto;
	padding: 1rem;
}

/* ===========================
   MESSAGE DE CONFIRMATION
=========================== */
.woocommerce-notice--success {
	background: #ecf7ec;
	border-left: 4px solid #3b6733;
	padding: 1rem;
	margin-bottom: 1.5rem;
	color: #3b6733;
	font-size: 1rem;
}

/* ===========================
   LISTE RÉCAPITULATIVE (N° DE COMMANDE, DATE, ETC.)
=========================== */
.woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.woocommerce-order-overview li {
	flex: 1 1 auto;
	font-size: 0.9rem;
}

.woocommerce-order-overview strong {
	color: #333;
}

/* ===========================
   TITRES
=========================== */
.woocommerce-order-details__title,
.woocommerce-column__title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	color: #3b6733;
	font-weight: 600;
}

/* ===========================
   TABLEAU DES DÉTAILS DE COMMANDE
=========================== */
.woocommerce-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
	font-size: 0.9rem;
}

.woocommerce-table thead {
	background: #f8f8f8;
}

.woocommerce-table th,
.woocommerce-table td {
	padding: 0.75rem;
	border-bottom: 1px solid #ddd;
	text-align: left;
}

.woocommerce-table__product-name a {
	color: #3b6733;
	text-decoration: none;
	transition: color 0.3s;
}

.woocommerce-table__product-name a:hover {
	text-decoration: underline;
}

.product-quantity {
	font-size: 0.8rem;
	color: #777;
}

.order-actions--heading {
	width: 100px;
}

.order-actions-button {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	background: #3b6733;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.8rem;
	transition: background 0.3s;
}
.order-actions-button:hover {
	background: #315328;
}

/* ===========================
   TABLEAU DES TOTAUX (TFOOT)
=========================== */
.woocommerce-table tfoot th {
	font-weight: 600;
	color: #333;
	width: 200px;
}
.woocommerce-table tfoot td {
	font-weight: 600;
	color: #333;
}

/* ===========================
   ADRESSE DE FACTURATION
=========================== */
.woocommerce-customer-details {
	margin-bottom: 2rem;
}

.woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.woocommerce-customer-details p {
	margin: 0.5rem 0;
}

/* ===========================
   NAVIGATION DU COMPTE
=========================== */
.woocommerce-MyAccount-navigation {
	padding-right: 1rem;
}

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	display: inline-flex;
}

@media (max-width: 768px) {
	.woocommerce-MyAccount-navigation ul {
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
	}
}

.woocommerce-MyAccount-navigation li {
	margin-bottom: 1rem;
}

.woocommerce-MyAccount-navigation a {
	text-decoration: none;
	color: #333;
	display: block;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	transition: background 0.3s;
}

/* Mise en avant de l’élément actif et hover */
.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation a:hover {
	background: #3b6733;
	color: #fff;
}

/* ===========================
   CONTENU DU COMPTE
=========================== */
.woocommerce-MyAccount-content {
	flex: 1;
}

.woocommerce-MyAccount-content p {
	margin-bottom: 1rem;
	font-size: 1rem;
}

.woocommerce-MyAccount-content a {
	color: #3b6733;
	text-decoration: none;
	transition: text-decoration 0.3s;
}

.woocommerce-MyAccount-content a:hover {
	text-decoration: underline;
}



.single-post main {
	width: 90%;
	max-width: 800px;
	margin: auto;
}

.single-post main article img {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
}

.single-post main article .post-thumbnail {
	margin: 12px 0;
}

.single-post main article .entry-footer {
	margin: 12px 0;
}

.single-post main .post-navigation .nav-links a {
	color: #3b6733;
	text-decoration: underline;
}


.search main {
	max-width: 90%;
	margin: auto;
}

.search main article {
	border: 1px solid gray;
	margin-bottom: 24px;
	padding: 8px 12px;
	border-radius: 10px;
}

.search main article img,
.search main article .entry-meta,
.search main article .entry-footer {
	display: none;
}

.search main article a {
	color: #3b6733;
	text-decoration: none;
}



/* Général */
.woocommerce-checkout main {
	max-width: 90%;
	margin: auto;
}

.woocommerce form.checkout {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

/* Colonnes pour les informations de facturation et de livraison */
.woocommerce-billing-fields,
.woocommerce-shipping-fields {
	flex: 1;
	min-width: 48%;
}

/* Champs de formulaire */
.woocommerce form .form-row {
	margin-bottom: 15px;
}

.woocommerce form .form-row label {
	font-weight: bold;
	color: #333;
	display: block;
	margin-bottom: 5px;
}

.woocommerce form .input-text {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 5px;
	transition: border-color 0.3s ease-in-out;
}

.woocommerce form .input-text:focus {
	border-color: #3b6733;
	outline: none;
}

/* Bouton de validation */
.woocommerce-checkout button#place_order {
	background: #3b6733;
	color: #fff;
	padding: 12px 20px;
	font-size: 16px;
	font-weight: bold;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
	width: 100%;
}

.woocommerce-checkout button#place_order:hover {
	background: #3b6733;
}

/* Résumé de commande */
.woocommerce-checkout-review-order {
	flex: 1;
	min-width: 48%;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 5px;
	border: 1px solid #ddd;
}

/* Champs spécifiques */
.woocommerce form .woocommerce-checkout-payment {
	margin-top: 20px;
}

.wp-block-woocommerce-cart li {
	background: white;
	border-radius: 10px;
	padding: 12px 8px !important;
	max-width: calc(25% - 24px)!important;
	margin: 12px;
}

.wp-block-woocommerce-cart li a {
	color: #3b6733;
	text-decoration: none;
}

.wp-block-woocommerce-cart li .ajax_add_to_cart {
	color: white;
}

/* Responsive */
@media (max-width: 768px) {
	.woocommerce form.checkout {
		flex-direction: column;
	}

	.woocommerce-billing-fields,
	.woocommerce-shipping-fields,
	.woocommerce-checkout-review-order {
		min-width: 100%;
	}

	.wp-block-woocommerce-cart li {
		max-width: calc(80% - 24px)!important;
	}
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: #3b6733;
}

.wp-block-woocommerce-single-product {
	background: white;
	border-radius: 8px;
	padding-right: 12px;
}

.wp-block-woocommerce-single-product .wc-block-components-product-image {
	margin: 0 0 0 0;
}