/*
Theme Name: Halles Charly
Theme URI: https://leshallescharly.fr/
Description: Thème du site vitrine des Halles Charly (Seyssinet-Pariset), enfant de Twenty Twenty-Five. Couleurs et polices reprises du site de 2026.
Author: Octalp
Author URI: https://octalp.fr/
Template: twentytwentyfive
Version: 1.0.1
Requires at least: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: halles-charly
*/

/* Le reste du style est dans theme.json ; ici, seulement ce que theme.json ne sait pas exprimer. */

/* Bandeau d'informations au-dessus de l'en-tête */
.hc-bandeau a {
	color: inherit;
	text-decoration: none;
}

/* Prix des produits */
.woocommerce .price,
.wc-block-components-product-price {
	color: var(--wp--preset--color--accent-3);
	font-weight: 600;
}

/* Cartes des rayons et des produits : légère élévation au survol */
.hc-carte,
.wc-block-product {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hc-carte:hover,
.wc-block-product:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(27, 58, 10, 0.12);
}

/* Formulaire de contact */
.wpcf7 label {
	display: block;
	font-weight: 500;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	box-sizing: border-box;
	width: 100%;
	margin-top: 0.3rem;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--wp--preset--color--accent-2);
	border-radius: 4px;
	background: var(--wp--preset--color--accent-5);
	font: inherit;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus {
	outline: 2px solid var(--wp--preset--color--accent-1);
	outline-offset: 1px;
}
.wpcf7 input[type="submit"] {
	padding: 0.8rem 2rem;
	border: 0;
	border-radius: 4px;
	background: var(--wp--preset--color--accent-3);
	color: var(--wp--preset--color--accent-5);
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}
.wpcf7 input[type="submit"]:hover {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--contrast);
}

/* Horaires : jour à gauche, heures à droite */
.hc-horaires p {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
}
