/*
10 2026 - Nouveau design de la page d'accueil (maquettes Figma)

Chargé UNIQUEMENT sur l'accueil (voir index.php) et toutes les règles sont
préfixées par body.v2 : les autres pages ne sont pas touchées.
Version bureau seulement (> 800px). Le mobile garde le design actuel.

Couleurs : marron #835549 / fond #faf6f2 / jaune #fcbf14
*/

@media (min-width: 801px) {

body.v2 {
	background: #faf6f2;
	font-family: 'Montserrat', sans-serif;
}

/* ---------- En-tête ---------- */
body.v2 .page-wrapper {
	background: #faf6f2;
}

body.v2 #Header_site {
	position: relative;
	z-index: 3;
	background: #835549;
	height: 99px;
	border-bottom: 1px solid #6f463b;
}

body.v2 #Header_site .container {
	background: none;
}

body.v2 header #logo {
	width: 300px;
	top: 6px;
	z-index: 3;
}

/* Téléphone à droite du logo (le lien tel: existe déjà dans header.php) */
body.v2 #Commander_header {
	right: auto;
	left: calc(50% + 225px);
	top: 24px;
	text-transform: none;
	font-family: 'Montserrat', sans-serif;
	color: #fff;
}

body.v2 #Commander_header a,
body.v2 #Commander_header a:hover {
	display: block;
	background: none;
	padding: 0;
	color: #fff;
	text-decoration: none;
	line-height: 1.25;
}

body.v2 #Commander_header a br {
	display: none;
}

body.v2 #Commander_header a::before {
	content: "Service Livraison";
	display: block;
	font-size: 13px;
	font-weight: 400;
}

body.v2 #Commander_header a::after {
	content: "+377 97 70 30 30";
	display: block;
	font-size: 20px;
	font-weight: 700;
	white-space: nowrap;
}

/* ---------- Fond de page ---------- */
body.v2 #Site_contenu {
	background: #faf6f2;
}

/* ---------- Menu ---------- */
body.v2 #Ribbon_rouge_nav {
	background: #835549;
	width: 1145px;
	max-width: 100%;
	height: 76px;
	line-height: 76px;
	margin: 0 auto;
	top: 0;
	margin-top: 16px;
	z-index: 2;
}

/* Menu collé en haut quand on descend dans la page */
body.v2.fixed-header-on #Ribbon_rouge_nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
}

body.v2 #Ribbon_rouge_nav .container {
	width: 100%;
}

body.v2 #Ribbon_rouge_nav ul {
	float: none !important;
	text-align: center;
	text-transform: none;
	font-size: 18px;
}

body.v2 #Ribbon_rouge_nav li {
	float: none;
	display: inline-block;
	padding: 0 23px;
}

body.v2 #Ribbon_rouge_nav li a {
	display: inline-block;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	text-transform: lowercase;
	border: 0;
	border-radius: 0;
	padding: 0;
}

body.v2 #Ribbon_rouge_nav li a::first-letter {
	text-transform: uppercase;
}

body.v2 #Ribbon_rouge_nav li a:hover,
body.v2 #Ribbon_rouge_nav li a.Menu_carte:hover {
	background: none;
	color: #fcbf14;
	text-decoration: none;
}

body.v2 #Ribbon_rouge_nav li a.Menu_carte {
	border: 0;
	padding: 0;
	border-radius: 0;
}

/* Résumé du panier (apparait quand le panier n'est pas vide) */
body.v2 #Ribbon_rouge_nav table.pull-right {
	pointer-events: none;
	position: absolute;
	right: 20px;
	top: 0;
	color: #fff;
	line-height: 76px;
}

body.v2 #Site_contenu > .container,
body.v2 #Site_contenu .container {
	position: relative;
}

/* ---------- Slider ---------- */
body.home-v2 #Slogan {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

body.home-v2 #Slider_accueil {
	margin: 48px -15px 0;
	width: 975px;
}

body.home-v2 #Slider_accueil img {
	display: block;
	width: 100%;
}

/* ---------- Grille des 6 catégories ---------- */
body.home-v2 #Menu_grille {
	margin-top: 70px;
	margin-bottom: 104px;
}

/* 3 colonnes x 2 lignes : on "dissout" les colonnes du HTML et on range les
   articles avec flex (le HTML reste identique pour le mobile) */
body.home-v2 #Menu_grille {
	display: flex;
	flex-wrap: wrap;
}

body.home-v2 #Menu_grille::before,
body.home-v2 #Menu_grille::after {
	content: none;
}

body.home-v2 #Menu_grille .col-md-4 {
	display: contents;
}

body.home-v2 #Menu_grille article {
	flex: 0 0 33.3333%;
	box-sizing: border-box;
	padding: 0 30px;
	margin: 0 0 51px;
	width: auto;
	position: relative;
}

body.home-v2 #Menu_grille .col-md-4:nth-child(1) article:nth-child(1) { order: 1; } /* Verdure */
body.home-v2 #Menu_grille .col-md-4:nth-child(1) article:nth-child(2) { order: 2; } /* Burgés */
body.home-v2 #Menu_grille .col-md-4:nth-child(2) article:nth-child(2) { order: 3; } /* Grill */
body.home-v2 #Menu_grille .col-md-4:nth-child(2) article:nth-child(1) { order: 4; } /* Thaï */
body.home-v2 #Menu_grille .col-md-4:nth-child(3) article:nth-child(2) { order: 5; } /* Boissons */
body.home-v2 #Menu_grille .col-md-4:nth-child(3) article:nth-child(1) { order: 6; } /* Desserts */

body.home-v2 #Menu_grille article a {
	display: block;
	position: relative;
}

body.home-v2 #Menu_grille article img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #f3cf6b;
}

body.home-v2 #Menu_grille article .ribbon {
	background: #835549;
	left: -6px;
	bottom: 14px;
	padding: 6px 10px 5px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 13px;
	border-radius: 4px 4px 0 0;
	box-shadow: none;
}

body.home-v2 #Menu_grille article a:hover .ribbon {
	padding-left: 10px;
	background: #6f463b;
}

body.home-v2 #Menu_grille article a:hover img {
	opacity: .92;
}

/* ---------- Pied de page ---------- */
body.v2 footer {
	background: #835549;
	border-top: 0;
	font-size: 0;
	line-height: 0;
	padding: 24px 0 0;
}

body.v2 footer p {
	margin: 0;
}

body.v2 footer h6 {
	display: none;
}

body.v2 footer img {
	width: 250px;
	margin-bottom: 20px;
}

}

/* =====================================================================
   Version mobile (<= 800px) : même look, même structure qu'avant
   ===================================================================== */
@media (max-width: 800px) {

body.v2 {
	background: #faf6f2;
	font-family: 'Montserrat', sans-serif;
}

body.v2 .page-wrapper,
body.v2 #Site_contenu {
	background: #faf6f2;
}

body.v2 #Site_contenu {
	padding-top: 96px;
}

/* ---------- En-tête fixe ---------- */
body.v2 #Header_mobile {
	background: #835549;
	border-bottom: 1px solid #6f463b;
	height: 80px;
	padding: 0;
}

body.v2 #Header_mobile .header_fond_vert {
	height: 80px;
	background: none;
}

body.v2 #Header_mobile .navbar-brand {
	position: absolute;
	top: 6px;
	left: 0;
	width: auto;
	padding: 0;
	z-index: 3;
}

body.v2 #Header_mobile .navbar-brand img {
	width: 150px;
	margin: 0 0 0 14px;
	top: 0;
}

body.v2 #Commander_header_mobile {
	top: 0;
	right: 14px;
	text-transform: none;
	font-family: 'Montserrat', sans-serif;
}

body.v2 #Commander_header_mobile a {
	display: block;
	margin-top: 22px;
	color: #fff;
	text-align: right;
	text-decoration: none;
	line-height: 1.25;
}

body.v2 #Commander_header_mobile a img {
	display: none;
}

body.v2 #Commander_header_mobile a::before {
	content: "Service Livraison";
	display: block;
	font-size: 11px !important;
	font-weight: 400;
}

body.v2 #Commander_header_mobile a::after {
	content: "+377 97 70 30 30";
	display: block;
	font-size: 16px !important;
	font-weight: 700;
	white-space: nowrap;
}

/* ---------- Titre caché, slider ---------- */
body.home-v2 #Slogan {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

body.home-v2 #Slider_accueil,
body.home-v2 #Slider_accueil2 {
	width: 100%;
	margin: 6px 0 0;
}

/* mobile.css force .owl-wrapper à 100% (prévu pour 1 seule image).
   Avec 3 slides, le conteneur doit faire 3 x la largeur visible. */
body.home-v2 #Slider_accueil .owl-wrapper,
body.home-v2 #Slider_accueil2 .owl-wrapper {
	width: 300% !important;
}

body.home-v2 #Slider_accueil img,
body.home-v2 #Slider_accueil2 img {
	display: block;
	width: 100%;
}

/* flèches plus discrètes pour ne pas couvrir le texte des slides */
body.home-v2 #Slider_accueil2 .owl-buttons div {
	opacity: .55;
	transform: scale(.7);
}

/* ---------- Grille : 2 colonnes comme avant ---------- */
body.home-v2 #Menu_grille {
	margin-top: 26px;
}

body.home-v2 #Menu_grille article {
	margin: 0 0 22px;
}

body.home-v2 #Menu_grille article a {
	display: block;
	position: relative;
}

body.home-v2 #Menu_grille article img {
	display: block;
	border: 1px solid #f3cf6b;
}

body.home-v2 #Menu_grille article .ribbon {
	background: #835549;
	bottom: 8px;
	padding: 5px 8px 4px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 11px;
	line-height: 1.2;
	border-radius: 4px 4px 0 0;
	box-shadow: none;
}

/* ---------- Pied de page + barre du bas ---------- */
body.v2 footer {
	background: #835549;
	border-top: 0;
	font-size: 0;
	line-height: 0;
	padding: 22px 0 57px;
}

body.v2 footer p {
	margin: 0;
}

body.v2 footer h6 {
	display: none;
}

body.v2 footer img {
	width: 190px;
	margin-bottom: 22px;
}

body.v2 #Nav_Mobile {
	background: rgba(131, 85, 73, 0.97);
	border-top: 3px solid #fcbf14;
	font-family: 'Montserrat', sans-serif;
}

}

/* =====================================================================
   Contenu des pages (carte, panier, compte, commande...) - bureau + mobile
   Palette : marron #835549 / marron foncé #6f463b / jaune #fcbf14 / crème #faf6f2
   ===================================================================== */

body.v2 {
	color: #4a3a35;
}

body.v2 a,
body.v2 .text-default {
	color: #835549;
}

body.v2 a:hover,
body.v2 a:focus {
	color: #6f463b;
}

body.v2 h1, body.v2 h2, body.v2 h3, body.v2 h4, body.v2 h5, body.v2 h6 {
	font-family: 'Montserrat', sans-serif;
}

/* ---------- Bandeau titre rouge -> marron ---------- */
body.v2 .ribbon {
	background: #835549;
}

/* ---------- Onglets de la carte ---------- */
body.v2 #Carte_onglets {
	border-bottom: 2px solid #835549;
}

body.v2 #Carte_onglets li {
	background: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 12px;
	border-radius: 6px 6px 0 0;
}

body.v2 #Carte_onglets li a {
	color: #835549;
}

body.v2 #Carte_onglets li.active {
	background: #835549;
}

body.v2 #Carte_onglets li.active a {
	color: #fff;
}

body.v2 #Carte_onglets li:not(.active):hover {
	background: #f3e9e4;
}

/* ---------- Fiches produit ---------- */
body.v2 .Cartes_onglets_section .Liste_produits article {
	background: #fff;
	border: 1px solid #eadfd9;
	border-bottom: 1px solid #eadfd9;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(131, 85, 73, .08);
}

body.v2 .Cartes_onglets_section .Liste_produits article:nth-child(2n+1) {
	background: #fff;
	border-bottom: 1px solid #eadfd9;
}

body.v2 .Cartes_onglets_section .Liste_produits figure img {
	border: 0;
	border-radius: 6px;
	box-shadow: none;
}

body.v2 .Cartes_onglets_section .Liste_produits h4 {
	color: #835549;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
}

body.v2 .Cartes_onglets_section .Liste_produits .prix,
body.v2 .prix_personnalise,
body.v2 .prix_personnalise2,
body.v2 .prix_vert,
body.v2 .vert,
body.v2 h1.titre .txt_jaune,
body.v2 .txt_jaune {
	color: #835549;
}

/* ---------- Boutons ---------- */
body.v2 .btn-rose,
body.v2 .btn-vert,
body.v2 .btn-success,
body.v2 .btn-warning,
body.v2 .btn-primary,
body.v2 .btn-qte {
	background: #fcbf14;
	border: 1px solid #fcbf14;
	border-radius: 6px;
	color: #835549;
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}

body.v2 .btn-rose:hover,
body.v2 .btn-vert:hover,
body.v2 .btn-success:hover,
body.v2 .btn-warning:hover,
body.v2 .btn-primary:hover,
body.v2 .btn-qte:hover,
body.v2 .btn-rose:focus,
body.v2 .btn-vert:focus,
body.v2 .btn-success:focus,
body.v2 .btn-warning:focus,
body.v2 .btn-primary:focus {
	background: #e9ae0b;
	border-color: #e9ae0b;
	color: #6f463b;
}

body.v2 .btn-vert-clair,
body.v2 .btn-default,
body.v2 .btn-light,
body.v2 .btn-noir {
	background: #835549;
	border: 1px solid #835549;
	border-radius: 6px;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
}

body.v2 .btn-vert-clair:hover,
body.v2 .btn-default:hover,
body.v2 .btn-light:hover,
body.v2 .btn-noir:hover {
	background: #6f463b;
	border-color: #6f463b;
	color: #fff;
}

body.v2 #Panier_contenu a.btn-success,
body.v2 #Panier_contenu a.btn-warning {
	color: #835549;
}

/* ---------- Étapes de commande, tableaux ---------- */
body.v2 #Checkout_panier ul li.active {
	background: #835549;
}

body.v2 .table > thead > tr > th {
	background: #835549;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
}

/* ---------- Formulaires ---------- */
body.v2 .form-control {
	border-radius: 6px;
	border-color: #dccfc8;
	color: #4a3a35;
}

body.v2 .form-control:focus {
	border-color: #fcbf14;
	box-shadow: 0 0 0 3px rgba(252, 191, 20, .25);
}

body.v2 .Info_personelle {
	background: #f5ece7;
	border: 1px solid #e3d3ca;
	color: #835549;
}

/* ---------- Fenêtres de confirmation ---------- */
body.v2 .esbc_modal-title {
	color: #835549;
}

body.v2 .esbc_btn-confirmer {
	color: #835549;
}

body.v2 .esbc_btn-confirmer:hover {
	background-color: #835549;
	color: #fff;
}

/* listes déroulantes (noires dans l'ancien thème) */
body.v2 select,
body.v2 select.form-control {
	background-color: #fff;
	color: #4a3a35;
	border: 1px solid #dccfc8;
	border-radius: 6px;
}

body.v2 .select select,
body.v2 .select select:hover,
body.v2 .select select:focus {
	background: #fff;
	color: #4a3a35;
	border: 1px solid #dccfc8;
	border-radius: 6px;
}

body.v2 .select select:focus {
	border-color: #fcbf14;
}

body.v2 .select_arrow {
	border-color: #835549 transparent transparent transparent;
}

/* ---------- Panier / étapes de commande ---------- */
body.v2 #Checkout_panier ul {
	background: #eadfd9;
}

body.v2 #Checkout_panier ul li {
	color: #835549;
	border-bottom: 1px dashed #d4c3ba;
}

body.v2 #Checkout_panier ul li a {
	color: #835549;
}

body.v2 #Checkout_panier ul li.active,
body.v2 #Checkout_panier ul li.active a {
	color: #fff;
}

body.v2 #Aides {
	background: #f5ece7;
	color: #835549;
	border-top: 3px solid #eadfd9;
}

body.v2 mark,
body.v2 .mark {
	background-color: #835549;
	color: #fff;
	border-radius: 4px;
	padding: 3px 8px;
}

body.v2 .btn-black,
body.v2 .btn-group.btn-black {
	background: #835549;
	border: 1px solid #835549;
	border-radius: 6px;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
}

body.v2 .btn-black:hover,
body.v2 .btn-black:focus {
	background: #6f463b;
	border-color: #6f463b;
	color: #fff;
}

body.v2 .btn-light-gray {
	background: #fff;
	border: 1px solid #835549;
	border-radius: 6px;
	color: #835549;
	font-family: 'Montserrat', sans-serif;
}

body.v2 .btn-light-gray:hover,
body.v2 .btn-light-gray:focus {
	background: #835549;
	border-color: #835549;
	color: #fff;
}

body.v2 .remove .fa-plus-circle,
body.v2 .text-success,
body.v2 .fa-plus.text-success,
body.v2 .fa-check-circle.text-success {
	color: #835549;
}

/* ---------- Connexion / création de compte ---------- */
body.v2 #Login,
body.v2 #Enregister {
	color: #4a3a35;
}

/* pied de page toujours en bas de l'écran, même sur les pages courtes */
body.v2 .page-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.v2 #Site_contenu {
	flex: 1 0 auto;
}

body.v2 footer {
	flex-shrink: 0;
}

/* =====================================================================
   Mobile : menu des catégories de la carte, panier, formulaires
   ===================================================================== */
@media (max-width: 800px) {

body.v2 #Menu_onglet {
	top: 80px;
	background: #6f463b;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

body.v2 #Menu_onglet .navbar-header {
	float: none;
}

body.v2 #Menu_onglet .navbar-toggle {
	display: block;
	float: none;
	margin: 0;
	padding: 14px 20px;
	background: #6f463b;
	border: 0;
	border-radius: 0;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 14px;
}

body.v2 #Carte_onglets_mobile li a {
	background: #faf6f2;
	color: #835549;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	border-bottom: 1px solid #eadfd9;
}

body.v2 #Carte_onglets_mobile li.active a {
	background: #835549;
	color: #fff;
}

body.v2 #Carte_tabs {
	padding-top: 52px;
}

}

/* ---------- Corrections panier (styles écrits en dur dans les pages) ---------- */
body.v2 a.btn-black,
body.v2 #Panier_contenu a.btn-black {
	background: #835549 !important;
	border-color: #835549 !important;
	color: #fff !important;
}

body.v2 .btn-light-grey,
body.v2 .code-promo-mobile td .btn-light-grey {
	background: #835549;
	border: 1px solid #835549;
	border-radius: 6px;
	color: #fff;
}

body.v2 h3.text-white {
	background: #835549;
	border-radius: 6px;
	padding: 8px 12px;
	font-family: 'Montserrat', sans-serif;
}

body.v2 .FontGreen {
	color: #835549;
}

body.v2 .FontRed {
	color: #b3261e;
}

body.v2 .table-striped > tbody > tr:nth-of-type(odd),
body.v2 .table > tbody > tr > td.product,
body.v2 .table > tbody > tr > td.price {
	background-color: #faf6f2;
}

body.v2 button:not(.btn):not(.close):not(.navbar-toggle) {
	border-radius: 6px;
}

/* ---------- Page de connexion / mot de passe oublié (lock.php) ---------- */
body.v2#Lock {
	background: #faf6f2;
}

body.v2#Lock .page-wrapper {
	background: transparent;
	display: block;
	min-height: 0;
}

body.v2#Lock .btn-white,
body.v2#Lock input[type="submit"] {
	background: #fcbf14;
	border: 1px solid #fcbf14;
	border-radius: 6px;
	color: #835549;
	font-weight: 700;
	text-transform: uppercase;
}

/* le résumé du panier ne doit pas recouvrir les liens du menu : seuls ses propres liens restent cliquables */
body.v2 #Ribbon_rouge_nav table.pull-right a,
body.v2 #Ribbon_rouge_nav table.pull-right button,
body.v2 #Ribbon_rouge_nav table.pull-right input {
	pointer-events: auto;
}

/* résumé du panier / "Bonjour <prénom>" : compact, à droite, sans recouvrir les liens du menu */
body.v2 #Ribbon_rouge_nav table.pull-right,
body.v2 #Ribbon_rouge_nav table.pull-right td {
	width: auto !important;
	white-space: nowrap;
	font-size: 12px;
	font-family: 'Montserrat', sans-serif;
}

body.v2 #Ribbon_rouge_nav table.pull-right td {
	padding: 0 6px;
}

body.v2 #Ribbon_rouge_nav #Resume_panier {
	width: auto !important;
	min-width: 0;
	float: none;
	margin: 0;
}

/* résumé du panier / "Bonjour <prénom>" : petit bloc sur 2 lignes tout à droite, jamais sur le menu */
body.v2 #Ribbon_rouge_nav table.pull-right,
body.v2 #Ribbon_rouge_nav table.pull-right tbody,
body.v2 #Ribbon_rouge_nav table.pull-right tr {
	display: block;
}

body.v2 #Ribbon_rouge_nav table.pull-right {
	width: 190px !important;
	top: 14px;
	right: 14px;
	text-align: right;
	line-height: 1.45;
	white-space: normal;
}

body.v2 #Ribbon_rouge_nav table.pull-right td {
	display: inline;
	padding: 0;
	line-height: 1.45;
}

body.v2 #Ribbon_rouge_nav #Resume_panier {
	display: block;
}
