/*
Theme Name: MatteoPatisse
Theme URI: https://matteopatisse.fr/
Author: Mattéo Zambeaux
Author URI: https://matteopatisse.fr/
Description: Thème custom pâtisserie moderne.
Version: 1.0
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: matteopatisse-theme
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: patisserie, e-commerce, custom
*/

html, body, .site-header {
  margin: 0; padding: 0;
  font-family: sans-serif;
  color: white;
  background: linear-gradient(
    to bottom,
    #2b4257 0px,
    #2b4257 350px,
    #f4f6f9 350px,
    #f4f6f9 100%
  );
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* NAVIGATION */

.nav-inner {
  max-width: 1200px; width: 100%;
  display: flex; justify-content: center; align-items: center;
}
.nav-links {
  display: flex; gap: 30px; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: white; text-decoration: none; font-weight: bold; font-size: 16px;
  transition: color 0.3s ease, transform 0.2s ease;
}
.nav-links a:hover { color: #ffc107; transform: scale(1.05); }

/* ==== BURGER toujours centré et beau ==== */
.main-nav {
  background: rgba(28,43,57,0.97);
  height: 60px;
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; justify-content: center; align-items: center;
  min-height: 60px;
}

.nav-inner {
  width: 100%;
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .main-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .mobile-nav-toggle {
  display: block;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7em;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 1.1;
  padding: 0;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1101;
}
.hero .logo {
  margin-top: 42px;
}


  .nav-inner {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #2b4257;
    width: 100%;
    position: absolute;
    left: 0;
    top: 60px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(30,40,80,0.04);
    z-index: 999;
    padding: 0 0 20px 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    gap: 0;
  }
  .nav-links.show {
    display: flex;
    animation: menuIn .27s cubic-bezier(.23,1.12,.64,1) both;
  }
  @keyframes menuIn {
    from { opacity: 0; transform: translateY(-30px);}
    to   { opacity: 1; transform: translateY(0);}
  }
  .nav-links li {
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    display: block;
    padding: 18px 0 14px 0;
    font-size: 1.28em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s, transform 0.2s;
  }
  .nav-links a:hover,
  .nav-links a:focus {
    background: #26384b;
    color: #ffc107;
    transform: scale(1.04);
  }
}
/* Version desktop inchangée */
@media (min-width: 900px) {
  .mobile-nav-toggle {
    display: none;
  }
  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    width: auto;
    box-shadow: none;
    border-radius: 0;
    gap: 30px;
    align-items: center;
  }
  .nav-links li {
    border-bottom: none;
  }
  .nav-links a {
    padding: 0;
    font-size: 16px;
    color: white;
  }
.hero .logo {
  margin-top: 42px;
}

}
/* HERO */
.hero {
  background: transparent;
  text-align: center;
  padding: 60px 20px 40px;
  margin: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  position: relative; z-index: 1;
}
.hero .logo { width: 180px; margin-bottom: 15px; }
.hero .slogan { font-size: 1.6em; font-weight: 300; animation: fadeIn 1.5s ease-out forwards; opacity: 0; margin-top: 10px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* SECTION */
.site-main > .section:first-of-type { background: transparent; padding-top: 0; margin-top: 0; }
.section {
  padding: 60px 20px 40px;
  text-align: center;
  background: #f4f6f9;
  color: #2b4257;
  margin: 0;
  border-top: none;
}
.section.alt { background: #ffffff; }
.section h2, .section p { margin: 0 0 0.8em 0; }

.testimonials { background: white; color: #2b4257; }
.testimonials-slider { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; }
.testimonial-card { min-width: 250px; background: #f9f9f9; border-radius: 15px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.testimonial-text { font-style: italic; margin-bottom: 15px; }
.testimonial-author { text-align: right; font-weight: bold; }

.featured-products .grid-products { gap: 30px; }
.grid-products { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.product-card {
  background: white; border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  width: 300px; padding: 20px; text-align: center; transition: transform 0.3s ease;
}
.product-card:hover { transform: translateY(-5px); }
.product-card img { width: 100%; height: auto; border-radius: 20px; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

.newsletter { background: #2b4257; color: white; padding: 60px 20px 40px; text-align: center; }
.newsletter form { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.newsletter input[type=\"email\"] { padding: 10px; border: none; border-radius: 5px; width: 250px; }
.newsletter input[type=\"submit\"] { padding: 10px 20px; border: none; border-radius: 5px; background: #ffc107; color: #2b4257; font-weight: bold; cursor: pointer; }

/* FOOTER */
.site-footer { text-align: center; padding: 40px 20px; background: #1c2b39; color: #ccc; }

/* RESPONSIVE */
@media (max-width: 768px) {
  html, body {
    background: linear-gradient(
      to bottom,
      #2b4257 0,
      #2b4257 280px,
      #f4f6f9 280px,
      #f4f6f9 100%
    );
  }
  .hero { padding: 40px 20px 20px; }
  .hero .slogan { font-size: 1.3em; animation: none; opacity: 1; transform: none; }
}
/* --------- Bloc philosophie en 2 colonnes --------- */
.about-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: linear-gradient(90deg, #2b4257 60%, #f4f6f9 100%);
  text-align: left;
  flex-wrap: wrap;
  border-radius: 26px;
  box-shadow: 0 6px 40px rgba(44,60,100,0.08);
  margin-bottom: 48px;
  min-height: 320px;
}
.about-text {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 220px;
  /* couleur foncée pour le texte sur fond clair */
  color: #2b4257;
  padding: 40px 0 40px 0;
  box-sizing: border-box;
}

.about-text-inner {
  max-width: 400px;   /* largeur max du texte */
  margin: 0 auto;
  padding-left: 30px;   /* espace à gauche */
  padding-right: 30px;  /* espace à droite */
}
.about-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 24px 24px 0;
}
.about-img img {
  border-radius: 18px;
  width: 100%;
  max-width: 330px;
  box-shadow: 0 10px 40px rgba(44,60,100,0.12);
  border: 4px solid #fff;
  background: #fff;
}
@media (max-width: 900px) {
  .about-flex { flex-direction: column; text-align: center; gap: 10px; padding: 0; }
  .about-text { padding: 24px 0; }
  .about-text-inner { padding: 0 10px; }
}
/* --------- Slider avis --------- */
.testimonials-slider {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 30px;
  margin-bottom: 20px;
}
.testimonial-card {
  background: #fff;
  color: #2b4257;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(44,60,100,0.07);
  padding: 30px 22px 22px 22px;
  min-width: 260px;
  max-width: 320px;
  flex: 0 0 280px;
  scroll-snap-align: center;
  text-align: center;
  position: relative;
}
.testimonial-stars {
  color: #ffc107;
  margin-bottom: 10px;
  font-size: 1.1em;
}
/* --------- Devis --------- */
.cta-devis {
  background: #2b4257;
  color: #fff;
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(44,60,100,0.10);
  padding: 64px 28px 54px;
  margin: 48px auto 0 auto;
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.cta-devis h2 {
  font-size: 2.2em;
  margin-bottom: 18px;
  color: #fff;
  letter-spacing: -1px;
}
.cta-devis p {
  font-size: 1.18em;
  margin-bottom: 35px;
  color: #fff;
}
.btn-large {
  font-size: 1.16em;
  padding: 18px 38px;
  border-radius: 8px;
  background: #ffc107;
  color: #2b4257 !important;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  box-shadow: 0 4px 22px rgba(44,60,100,0.13);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
}
.btn-large:hover, .btn-large:focus {
  background: #e4a800;
  color: #fff !important;
  transform: translateY(-2px) scale(1.05);
}
.section-separator {
  width: 80px;
  height: 5px;
  margin: 54px auto 40px auto;
  background: linear-gradient(90deg, #2b4257 40%, #ffc107 100%);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(44,60,100,0.09);
  opacity: 0.92;
}
/* --------- Newsletter --------- */
.newsletter {
  background: #2b4257;
  color: #fff;
}
.newsletter input[type="email"] {
  background: #fff;
  color: #222;
}
.newsletter input[type="submit"] {
  background: #ffc107;
  color: #2b4257;
  font-weight: bold;
}
.newsletter h2 {
  color: #fff !important;
  font-size: 2em;
  font-weight: 500;
  margin-bottom: 0.8em;
}
.newsletter p {
  color: #fff !important;
}

/* --------- Facebook --------- */
.facebook-section {
  background: #f4f6f9;
  color: #2b4257;
  padding-top: 48px;
  padding-bottom: 48px;
}
.facebook-section h2 {
  color: #2b4257;
  font-weight: 600;
  margin-bottom: 32px;
  font-size: 2em;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.facebook-card {
  display: flex;
  align-items: stretch; /* Pour la hauteur alignée */
  justify-content: center;
  gap: 38px;
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(44,60,100,0.11);
  padding: 28px 36px;
  min-height: 200px; /* Pour un meilleur centrage vertical */
}
.facebook-embed {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.facebook-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* Centrage vertical */
  align-items: center;       /* Centrage horizontal du texte */
  padding-left: 30px;
  height: 100%;
  min-height: 160px;
  box-sizing: border-box;
}
.facebook-side p {
  font-size: 1.1em;
  margin-bottom: 28px;
  color: #2b4257;
}
.facebook-side .btn {
  background: #1877f3;
  color: #fff;
  border-radius: 8px;
  font-size: 1.1em;
  transition: background 0.2s;
  border: none;
}
@media (min-width: 901px) {
  .fb-desktop .btn {
    display: none !important;
  }
}

.facebook-side .btn:hover {
  background: #145db2;
}
@media (max-width: 900px) {
  .facebook-card { flex-direction: column; padding: 18px 10px; gap: 18px; }
  .facebook-side { padding-left: 0; text-align: center; }
}
.site-footer {
  background: #1c2b39;
  color: #ccc;
  padding: 48px 12px 18px 12px;
  font-size: 1em;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
  max-width: 1200px;
  margin: 0 auto 24px auto;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 18px;
}
.footer-logo {
  width: 120px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(44,60,100,0.07);
}
.footer-col h4 {
  color: #ffc107;
  margin-bottom: 8px;
  font-size: 1.12em;
  letter-spacing: 1px;
}
.footer-link, .footer-col a {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-link:hover, .footer-col a:hover {
  color: #fff;
}
.footer-socials a {
  color: #fff;
  font-size: 1.45em;
  margin-right: 10px;
  transition: color 0.15s;
}
.footer-socials a:hover {
  color: #ffc107;
}
.footer-bottom {
  text-align: center;
  color: #aaa;
  font-size: 0.97em;
  border-top: 1px solid #243445;
  padding-top: 14px;
  margin-top: 8px;
}
@media (max-width: 820px) {
  .footer-grid { flex-direction: column; gap: 24px; }
  .footer-col { text-align: center; }
}
.site-footer,
.site-footer p,
.site-footer h4,
.site-footer a,
.footer-bottom span {
  color: #fff !important;
}
.footer-link {
  color: #ffc107 !important;
}
.footer-link:hover {
  color: #fff !important;
}
.footer-col h4 {
  color: #ffc107 !important;
}
.footer-logo {
  display: block;
  margin: 0 auto 18px auto;
  max-width: 110px;
  border-radius: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 220px;
  padding: 24px 12px;
}
@media (max-width: 700px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    text-align: center;
    gap: 18px;
  }
  .footer-col {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
    padding: 16px 6vw 0 6vw;
    margin: 0 auto;
  }
  .footer-logo {
    margin: 0 auto 14px auto;
    max-width: 90px;
  }
  .footer-bottom {
    text-align: center !important;
    padding-top: 16px;
  }
/* Facebook Responsive : n’affiche que le texte/bouton sur mobile */
@media (max-width: 900px) {
  .fb-desktop {
    display: none !important;
  }
  .fb-mobile-only {
    display: block !important;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    color: #2b4257;
    background: #fff;
    padding: 30px 18px 28px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(44,60,100,0.09);
  }
}
@media (min-width: 901px) {
  .fb-desktop {
    display: flex !important;
  }
  .fb-mobile-only {
    display: none !important;
  }
}
}





/* ========== VARIABLES THÉME ========== */
:root {
  --couleur-primaire: #2b4257;
  --couleur-accent: #ffc107;
  --couleur-fond: #f8fafc;
  --rayon: 8px;
  --ombre: 0 8px 28px rgba(44,60,100,0.10);
  --texte: #26384b;
}

/* ========== CONTENEUR PRINCIPAL ========== */
.devis-section {
  background: var(--couleur-fond);
  border-radius: 20px;
  box-shadow: var(--ombre);
  max-width: 540px;
  margin: 40px auto 60px auto;
  padding: 40px 26px 34px 26px;
  color: var(--couleur-primaire);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  position: relative;
}

/* Titres et textes */
.devis-section h1,
.devis-section h2 {
  margin: 0 0 12px;
  color: var(--couleur-primaire);
  font-weight: 600;
}
.devis-section p {
  margin: 0 0 16px;
  color: var(--texte);
  line-height: 1.45;
}

/* ========== FORMULAIRE ========== */
.devis-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.devis-form .form-group {
  margin-bottom: 0;
  width: 100%;
}

.devis-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--couleur-primaire);
  font-size: 0.95em;
}

/* Champs (texte, email, date, nombre, textarea, select) */
.devis-form input[type="text"],
.devis-form input[type="email"],
.devis-form input[type="date"],
.devis-form input[type="number"],
.devis-form select,
.devis-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--rayon);
  border: 1px solid #d7dee5;
  background: #fff;
  font-size: 1em;
  box-sizing: border-box;
  color: var(--couleur-primaire);
  transition: border .2s, box-shadow .2s;
  outline: none;
}

.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
  border-color: rgba(102,132,183,0.8);
  box-shadow: 0 0 10px rgba(102,132,183,0.2);
}

/* File input simple styling */
.devis-form input[type="file"] {
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #d7dee5;
  border-radius: var(--rayon);
  font-size: 0.95em;
}

/* Case à cocher RGPD */
.devis-form .checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}
.devis-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--couleur-accent);
}

/* ========== BOUTON ========== */
.devis-form input[type="submit"],
.devis-section .btn-devis-submit {
  width: 100%;
  padding: 16px 0;
  background: var(--couleur-accent);
  color: var(--couleur-primaire);
  border: none;
  border-radius: var(--rayon);
  font-size: 1.18em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(44,60,100,0.12);
  transition: background .18s, color .18s, transform .14s;
  text-align: center;
}
.devis-form input[type="submit"]:hover,
.devis-section .btn-devis-submit:hover {
  background: #e5a500;
  color: #fff;
  transform: scale(1.02);
}

/* ========== MESSAGES ========== */
.devis-section .devis-success {
  background: #dff7ed;
  color: #2b8f6f;
  padding: 16px;
  border-radius: 9px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid #2b8f6f;
  text-align: center;
}

.devis-section .devis-error,
.devis-section .devis-errors {
  background: #ffe6e6;
  color: #a33;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  border: 1px solid #d9534f;
}
.devis-section .devis-errors ul {
  margin: 8px 0 0 16px;
  padding: 0;
  list-style: disc inside;
}

/* ========== LIENS / PETITS TEXTES ========== */
.devis-section a {
  color: var(--couleur-primaire);
  text-decoration: underline;
}
.devis-section small {
  color: #5f6f87;
  font-size: 0.8em;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 720px) {
  .devis-section {
    padding: 32px 18px 30px 18px;
    margin: 30px auto 50px auto;
  }
  .devis-form input[type="submit"] {
    padding: 14px 0;
    font-size: 1.08em;
  }
}
/* === Override forcé pour que rien ne reste blanc dans la section devis === */
.devis-section,
.devis-section * {
  color: #2b4257 !important;
}

/* Inputs / selects / textarea : texte, placeholder, focus */
.devis-form input,
.devis-form select,
.devis-form textarea {
  color: #2b4257 !important;
  background: #fff !important;
}

.devis-form input::placeholder,
.devis-form textarea::placeholder {
  color: #6b7a8c !important;
}

/* Liens (si certains étaient blancs) */
.devis-section a {
  color: #2b4257 !important;
}

/* Bouton gardé visible */
.devis-form input[type="submit"] {
  color: #2b4257 !important;
}

/* Évite que des enfants avec color blanc l’imposent */
.devis-section .override-text {
  color: #2b4257 !important;
}

/*-------------Boutique-----------*/

.shop-main {
  background: #f4f6f9;
  padding: 0 0 60px 0;
}
.shop-header {
  text-align: center;
  padding: 80px 20px 30px 20px;
  background: #2b4257;
  color: #fff;
  border-radius: 0 0 36px 36px;
  margin-bottom: 40px;
  box-shadow: 0 10px 38px rgba(44,60,100,0.10);
}
.shop-header h1 {
  font-size: 2.7em;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
}
.shop-header p {
  font-size: 1.19em;
  opacity: 0.93;
  font-weight: 400;
  margin: 0 auto;
  max-width: 500px;
}
.shop-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin: 48px auto 0 auto;
  max-width: 1200px;
}
.shop-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(44,60,100,0.13);
  width: 310px;
  padding: 28px 20px 22px 20px;
  text-align: center;
  transition: transform 0.23s cubic-bezier(.22,.71,.51,1.13);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shop-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 18px 40px rgba(44,60,100,0.19);
}
.shop-card-img img {
  width: 95%;
  border-radius: 18px;
  margin-bottom: 17px;
  box-shadow: 0 4px 14px rgba(44,60,100,0.10);
  background: #fff;
}
.shop-card-title {
  color: #2b4257;
  font-size: 1.24em;
  margin: 0 0 10px 0;
  font-weight: 600;
  letter-spacing: -1px;
}
.shop-card-price {
  font-size: 1.16em;
  color: #ffc107;
  font-weight: 700;
  margin-bottom: 12px;
}
.shop-card-short {
  font-size: 1.04em;
  color: #425060;
  opacity: 0.93;
  min-height: 48px;
  margin-bottom: 16px;
}
.shop-addcart {
  margin-top: auto;
}
.shop-addcart .btn {
  background: #ffc107;
  color: #2b4257;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.06em;
  box-shadow: 0 2px 10px rgba(44,60,100,0.09);
  transition: background 0.17s, color 0.18s;
  padding: 12px 0;
  width: 100%;
  border: none;
}
.shop-addcart .btn:hover {
  background: #ffb100;
  color: #fff;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ffc107;
  color: #2b4257;
  font-weight: bold;
  border-radius: 10px;
  padding: 5px 16px;
  font-size: 1em;
  box-shadow: 0 2px 6px rgba(44,60,100,0.07);
  z-index: 2;
  letter-spacing: 1px;
}
.product-badge.best { background: #ffc107; color: #2b4257; }
.product-badge.new { background: #3eb1ff; color: #fff; }
@media (max-width: 900px) {
  .shop-grid { gap: 18px; }
  .shop-card { width: 94vw; max-width: 350px; }
}

.shop-cats {
  text-align: center;
  margin: 32px 0 18px 0;
}
.cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-list li {
  margin: 0;
}
.cat-list li a {
  display: inline-block;
  background: #fff;
  color: #2b4257;
  padding: 9px 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 1.08em;
  text-decoration: none;
  transition: background 0.16s, color 0.14s, box-shadow 0.13s;
  box-shadow: 0 2px 12px rgba(44,60,100,0.09);
  border: 2px solid #fff;
}
.cat-list li.active a,
.cat-list li a:hover {
  background: #ffc107;
  color: #2b4257;
  border-color: #ffc107;
  box-shadow: 0 4px 24px rgba(255,193,7,0.11);
}
.shop-header {
  text-align: center;
  padding: 80px 20px 30px 20px;
  background: #2b4257;
  color: #fff;
}
.catalogue-title {
  color: #fff !important;
  font-size: 2.6em;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
  text-align: center;
}
.catalogue-desc {
  font-size: 1.23em;
  opacity: 0.93;
  font-weight: 400;
  margin: 0 auto;
  max-width: 540px;
  color: #fff;
}




















/* ------------- PAGE PRODUIT MODERNE WooCommerce ------------- */

/* ====== FICHE PRODUIT MODERNE - IMAGE À GAUCHE, CARTE À DROITE ====== */

*, *::before, *::after {
  box-sizing: border-box;
}

.custom-single-product-container {
  max-width: 1120px;
  margin: 50px auto 80px auto;
  padding: 30px 24px 40px;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 14px 50px rgba(44,60,100,0.08);
}

.custom-single-product-flex {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.custom-single-product-image {
  flex: 0 0 380px;
  display: flex;
  justify-content: center;
}
.custom-single-product-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(44,60,100,0.08);
  background: #f4f6f9;
  object-fit: cover;
}

/* CARTE */
.custom-single-product-card {
  flex: 1;
  min-width: 300px;
  background: #f9f9f9;
  border-radius: 20px;
  padding: 32px 30px 28px 30px;
  box-shadow: 0 12px 40px rgba(44,60,100,0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.custom-single-product-title {
  font-size: 2.1em;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #2b4257;
  text-align: center;
}

.custom-single-product-price {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffc107;
  margin-bottom: 20px;
  text-align: center;
  display: block;
}

/* Variations / options */
.variations label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #2b4257;
  font-size: 1em;
}
.variations select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d7dee5;
  background: #fff;
  font-size: 1em;
  margin-bottom: 16px;
  appearance: none;
  color: #2b4257;
}

/* Quantité */
.quantity input.qty {
  width: 60px;
  padding: 8px;
  border-radius: 7px;
  border: 1px solid #d7dee5;
  background: #fff;
  text-align: center;
  font-size: 1em;
  margin: 0;
}

/* Bouton ajouter au panier */
.single_add_to_cart_button {
  background: #ffc107 !important;
  color: #2b4257 !important;
  border: none;
  border-radius: 9px;
  padding: 14px 36px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, background .15s;
  /* suppression du width:100% pour ne pas forcer l'étirement sur desktop */
  min-width: 160px;
  box-shadow: 0 6px 28px rgba(44,60,100,0.12);
  margin-top: 0;
}
.single_add_to_cart_button:hover {
  background: #e5a500 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Meta produit (catégorie, SKU...) */
.custom-product-meta,
.product_meta {
  margin-top: 16px;
  font-size: 0.9em;
  color: #647185;
  text-align: center;
}
.product_meta .posted_in {
  display: none;
}

/* Onglets en dessous */
.custom-product-tabs {
  margin-top: 34px;
}

/* Si tu veux styliser les onglets natifs WooCommerce */
.woocommerce-tabs {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 30px rgba(44,60,100,0.06);
  padding: 16px 18px 28px;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.woocommerce-tabs ul.tabs li {
  background: #e8ecf2;
  padding: 10px 26px;
  border-radius: 13px 13px 0 0;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  color: #2b4257;
}
.woocommerce-tabs ul.tabs li.active {
  background: #ffc107;
  color: #2b4257;
}
.woocommerce-tabs .panel {
  padding: 22px 2vw;
  font-size: 1em;
  color: #2b4257;
  border-radius: 0 0 13px 13px;
}

/* ====== Formulaire panier : alignement quantité + bouton ====== */
.custom-single-product-card form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center; /* centre les éléments */
  align-items: center;
  margin-top: 6px;
}
.custom-single-product-card .quantity {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.custom-single-product-card button.single_add_to_cart_button {
  flex: 0 0 auto;
  min-width: 160px;
}

/* Empile sur mobile */
@media (max-width: 900px) {
  .custom-single-product-flex {
    flex-direction: column;
    gap: 32px;
  }
  .custom-single-product-image {
    margin: 0 auto;
  }
  .custom-single-product-card {
    padding: 24px;
  }
  .custom-single-product-title {
    font-size: 1.9em;
  }
  .custom-single-product-price {
    font-size: 1.35em;
  }
  .custom-single-product-card form.cart {
    flex-direction: column;
    align-items: stretch;
  }
  .custom-single-product-card .quantity {
    width: 100%;
    margin-bottom: 8px;
  }
  .custom-single-product-card button.single_add_to_cart_button {
    width: 100%;
  }
}








/*---------PANIER--------------*/
/* ================== PANIER & MINI-PANIER — STYLE GLOBAL ================== */

/* ---------- ICÔNE PANIER / COMPTEUR DANS LE HEADER ---------- */
.header-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255,193,7,0.1);
  border-radius: 8px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  position: relative;
  transition: background .2s;
}
.cart-toggle .icon {
  font-size: 1em;
}
.cart-count {
  background: #ffc107;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.65em;
  font-weight: 700;
  color: #2b4257;
  display: inline-block;
  line-height: 1;
  min-width: 20px;
  text-align: center;
  margin-left: 2px;
  box-shadow: 0 4px 18px rgba(44,60,100,0.15);
}

/* ---------- MINI-PANIER DROPDOWN ---------- */
.mini-cart-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  width: 340px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 22px 64px rgba(44,60,100,0.16);
  padding: 18px 16px;
  z-index: 1200;
  display: none;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  color: #2b4257;
}

/* Affiche au survol ou focus parent (tu peux remplacer par JS pour clic si besoin) */
.header-cart-link:hover .mini-cart-dropdown,
.header-cart-link:focus-within .mini-cart-dropdown {
  display: block;
}

/* Contenu scrollable */
.widget_shopping_cart_content {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Ligne produit mini-cart */
.widget_shopping_cart .cart_list li {
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f4f6f9;
  margin-bottom: 12px;
  position: relative;
  align-items: flex-start;
}

/* Image produit */
.widget_shopping_cart .cart_list li img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(44,60,100,0.08);
}

/* Détails */
.widget_shopping_cart .cart_list li .product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.widget_shopping_cart .cart_list li .woocommerce-mini-cart-item__title,
.widget_shopping_cart .cart_list li .product-details a {
  font-weight: 600;
  font-size: 0.95em;
  margin: 0;
  color: #2b4257;
  text-decoration: none;
}
.widget_shopping_cart .cart_list li .variation,
.widget_shopping_cart .cart_list li .woocommerce-mini-cart-item__data {
  font-size: 0.75em;
  color: #556a85;
  margin-top: 2px;
  line-height: 1.2;
}

/* Quantité et prix ligne */
.widget_shopping_cart .cart_list li .quantity {
  font-size: 0.85em;
  margin-top: 6px;
  color: #2b4257;
}
.widget_shopping_cart .cart_list li .amount {
  font-weight: 700;
  color: #ffc107;
  margin-top: 4px;
}

/* Supprimer */
.widget_shopping_cart .cart_list li .remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  color: #647185;
  font-size: 1rem;
  padding: 0;
  line-height: 1;
  transition: color .2s;
}
.widget_shopping_cart .cart_list li .remove:hover {
  color: #ffb100;
}

/* Total mini-cart */
.woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 6px;
  border-top: 1px solid rgba(44,60,100,0.08);
  font-size: 1em;
  font-weight: 700;
  color: #2b4257;
  margin-bottom: 6px;
}

/* Boutons mini-cart */
.woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.widget_shopping_cart .buttons a.button {
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: filter .15s;
}
.widget_shopping_cart .buttons a.button.view-cart {
  background: #2b4257;
  color: #fff;
}
.widget_shopping_cart .buttons a.button.checkout {
  background: #ffc107;
  color: #2b4257;
}
.widget_shopping_cart .buttons a.button:hover {
  filter: brightness(1.05);
}

/* Panier vide */
.woocommerce-mini-cart__empty {
  padding: 36px 16px;
  text-align: center;
  font-size: 0.95em;
  color: #647185;
}

/* ---------- PAGE PANIER ---------- */
.woocommerce-cart {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Structure : tableau + totaux */
.woocommerce-cart form.cart,
.woocommerce-cart-form {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* Tableau principal */
.woocommerce-cart .shop_table_wrapper {
  flex: 2 1 600px;
  min-width: 280px;
}
.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: separate;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(44,60,100,0.08);
}
.woocommerce-cart table.shop_table thead {
  background: #f4f6f9;
}
.woocommerce-cart table.shop_table th {
  padding: 16px 12px;
  font-weight: 600;
  font-size: 0.9em;
  color: #2b4257;
  text-align: left;
  border-bottom: none;
}
.woocommerce-cart table.shop_table td {
  padding: 14px 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(44,60,100,0.07);
  font-size: 0.95em;
}
.woocommerce-cart table.shop_table tr:last-child td {
  border-bottom: none;
}
.woocommerce-cart .product-thumbnail img,
.woocommerce-cart .product-name img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(44,60,100,0.07);
  background: #fff;
}
.woocommerce-cart .product-name a {
  font-weight: 600;
  color: #2b4257;
  text-decoration: none;
}
.woocommerce-cart .product-name a:hover {
  text-decoration: underline;
}
.woocommerce-cart .variation {
  display: block;
  font-size: 0.77em;
  color: #556a85;
  margin-top: 4px;
}
.woocommerce-cart .quantity input.qty {
  width: 70px;
  padding: 8px;
  border: 1px solid #d7dee5;
  border-radius: 6px;
  background: #f4f6f9;
  text-align: center;
  font-size: 1em;
}
.woocommerce-cart .remove a {
  color: #647185;
  font-size: 0.75em;
  text-decoration: underline;
  transition: color .15s;
}
.woocommerce-cart .remove a:hover {
  color: #ffb100;
}
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
  font-weight: 700;
  color: #ffc107;
}

/* Coupon */
.woocommerce-cart form .coupon {
  background: #f4f6f9;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.woocommerce-cart form .coupon input.input-text {
  flex: 1 1 200px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #d7dee5;
  font-size: 1em;
}
.woocommerce-cart form .coupon .button {
  background: #2b4257;
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* Totaux */
.cart_totals {
  flex: 0 0 360px;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 18px 54px rgba(44,60,100,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart_totals h2 {
  margin: 0;
  font-size: 1.9em;
  font-weight: 700;
  color: #2b4257;
}
.cart_totals table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.cart_totals table tr {
  border-bottom: 1px solid rgba(44,60,100,0.08);
}
.cart_totals table tr:last-child {
  border-bottom: none;
}
.cart_totals table th,
.cart_totals table td {
  padding: 10px 0;
  font-size: 1em;
}
.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 1.2em;
  font-weight: 700;
}
.cart_totals .checkout-button {
  display: block;
  margin-top: 10px;
  background: #ffc107;
  color: #2b4257;
  padding: 14px 0;
  border-radius: 9px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05em;
  text-decoration: none;
  border: none;
  transition: filter .15s;
}
.cart_totals .checkout-button:hover {
  filter: brightness(1.05);
}

/* Boutons mise à jour panier */
.woocommerce-cart .actions .button {
  background: transparent;
  border: 2px solid #2b4257;
  color: #2b4257;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.woocommerce-cart .actions .button:hover {
  background: #2b4257;
  color: #fff;
}

/* Notifications */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 0.95em;
  margin: 14px 0;
  max-width: 1120px;
}
.woocommerce .woocommerce-message {
  background: #e8f7ed;
  color: #2b4257;
  border: 1px solid #b5e3c8;
}
.woocommerce .woocommerce-info {
  background: #eef5fc;
  color: #2b4257;
  border: 1px solid #c5d9f1;
}
.woocommerce .woocommerce-error {
  background: #ffecec;
  color: #a53f3f;
  border: 1px solid #f5c7c7;
}

/* Liens */
.woocommerce-cart a {
  color: #2b4257;
}
.woocommerce-cart a:hover {
  color: #ffc107;
}

/* Responsive */
@media (max-width: 1024px) {
  .woocommerce-cart form.cart,
  .woocommerce-cart-form {
    flex-direction: column;
  }
  .cart_totals {
    width: 100%;
    flex: none;
    margin-top: 24px;
  }
  .woocommerce-cart .shop_table thead {
    display: none;
  }
  .woocommerce-cart .shop_table tbody tr {
    display: block;
    margin-bottom: 20px;
    border: none;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 14px;
  }
  .woocommerce-cart .shop_table td {
    display: block;
    width: 100%;
    padding: 6px 0;
  }
  .woocommerce-cart .shop_table td .quantity {
    margin: 8px 0;
  }
  .woocommerce-cart .shop_table .product-price,
  .woocommerce-cart .shop_table .product-subtotal {
    display: block;
    margin-top: 6px;
  }
  .mini-cart-dropdown {
    width: 90vw;
    left: 5vw;
    right: auto;
    top: 100%;
  }
}
/* Conteneur principal du panier */
.woocommerce-cart,
.woocommerce-page .site-main,
.woocommerce {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* Zone centrale de WooCommerce (corrige les marges internes inutiles) */
.woocommerce-cart .entry-content,
.woocommerce .cart-collaterals {
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
}
.woocommerce-cart .woocommerce {
  padding: 0;
  margin: 0;
}

.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
}
/* Fixe la couleur du texte dans les totaux du panier */
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
  color: #2b4257; /* bleu foncé lisible */
  font-weight: 600;
}

/* Optionnel : harmonise le bouton de validation */
.woocommerce-cart .cart-collaterals .checkout-button {
  background-color: #ffc107;
  color: #2b4257;
  font-weight: bold;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1.1em;
  transition: background 0.2s ease;
}

.woocommerce-cart .cart-collaterals .checkout-button:hover {
  background-color: #e5a500;
  color: #fff;
}
/* Centrage global du message */
.woocommerce-notices-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

/* Boîte de notification */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  max-width: 700px;
  width: 90%;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-left: 5px solid;
  background-color: #eaf3ff;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

/* Icônes */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: inline-block;
  font-size: 1.2rem;
}

.woocommerce-message::before {
  content: "✔️";
  color: #34a853;
}
.woocommerce-info::before {
  content: "ℹ️";
  color: #1a73e8;
}
.woocommerce-error::before {
  content: "❌";
  color: #d93025;
}

/* Couleurs de fond */
.woocommerce-message {
  background-color: #e7f7e5;
  border-color: #34a853;
  color: #2e6337;
}
.woocommerce-info {
  background-color: #eaf3ff;
  border-color: #1a73e8;
  color: #2b4257;
}
.woocommerce-error {
  background-color: #ffe6e6;
  border-color: #d93025;
  color: #861414;
}





/* === Page commande - checkout === */





/* ==== CHECKOUT : mise en page deux colonnes + style cohérent ==== */
body.checkout-page .woocommerce-checkout {
  background: transparent;
  padding: 0;
}

/* Conteneur principal : centrage et largeur max */
body.checkout-page .woocommerce .woocommerce-checkout form.checkout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: nowrap;
  max-width: 1120px;
  margin: 0 auto 60px;
  padding: 0;
  box-sizing: border-box;
}

/* Colonne facturation (gauche) */
#customer_details {
  flex: 1 1 580px;
  min-width: 300px;
}

/* Colonne récap (droite), sticky pour rester visible */
#order_review {
  flex: 0 0 420px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

/* Masque le titre natif si tu en as un personnalisé ailleurs */
#order_review_heading {
  display: none;
}

/* Carte autour de la commande */
#order_review {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 12px 40px rgba(44,60,100,0.06);
  margin-top: 0;
}

/* Titre injecté dans la carte (si tu en veux un à l’intérieur) */
#order_review:before {
  content: "Votre commande";
  display: block;
  font-size: 1.55em;
  font-weight: 700;
  margin: -8px 0 16px;
  color: #2b4257;
  letter-spacing: 0.5px;
}

/* ==== TABLEAU RÉCAPITULATIF ==== */
.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
  margin-bottom: 0;
}

.woocommerce-checkout-review-order-table thead th {
  background: #f1f5fa;
  color: #2b4257;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #dfe4ea;
}

.woocommerce-checkout-review-order-table tbody td {
  padding: 12px 14px;
  vertical-align: top;
  color: #2b4257;
  border-bottom: 1px solid #f1f4f9;
}

.woocommerce-checkout-review-order-table .product-name {
  font-weight: 600;
}

.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
  font-weight: 700;
  padding: 12px 14px;
}

.woocommerce-checkout-review-order-table tfoot tr:first-child th,
.woocommerce-checkout-review-order-table tfoot tr:first-child td {
  border-top: 2px solid #e8ecf2;
}

.woocommerce-checkout-review-order-table tfoot tr:last-child td {
  color: #ffc107;
  font-size: 1.25em;
}

/* Assure que le label du total reste lisible */
.woocommerce-checkout-review-order-table tfoot tr:last-child th {
  color: #2b4257;
}

/* ==== CHAMPS DE FACTURATION / NOTES ==== */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 12px 40px rgba(44,60,100,0.06);
  margin-bottom: 30px;
}

/* Inputs modernisés */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d7dee5;
  background: #fff;
  font-size: 1em;
  box-sizing: border-box;
  color: #2b4257;
  transition: border .2s, box-shadow .2s;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  outline: none;
  border-color: #aac4e0;
  box-shadow: 0 0 8px rgba(102,132,183,0.2);
}

/* Labels & titres internes */
.woocommerce-checkout .woocommerce-billing-fields label,
.woocommerce-checkout .woocommerce-additional-fields label {
  font-weight: 600;
  color: #2b4257;
  margin-bottom: 6px;
  display: block;
  font-size: 0.95em;
}

/* ==== BOUTON COMMANDER ==== */
.woocommerce-checkout .woocommerce .place-order button.button {
  background: #ffc107;
  color: #2b4257;
  border: none;
  border-radius: 9px;
  padding: 14px 40px;
  font-size: 1.1em;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(44,60,100,0.12);
  transition: background .15s, transform .15s;
  margin-top: 12px;
}

.woocommerce-checkout .woocommerce .place-order button.button:hover {
  background: #e5a500;
  color: #fff;
  transform: translateY(-1px);
}

/* ==== NOTICES ==== */
.woocommerce-notices-wrapper,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
  background: #eef8ff;
  border-left: 4px solid #2b4257;
  padding: 14px 18px;
  border-radius: 8px;
  color: #2b4257;
  font-size: 0.95em;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(44,60,100,0.06);
}

/* ==== DIVERS ==== */
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  max-width: none;
}

/* Nettoyage : éviter “carte dans la carte” si un wrapper ajoute déjà fond */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout-review-order {
  background: none;
}
.woocommerce-checkout .woocommerce-billing-fields > .col-1,
.woocommerce-checkout .woocommerce-billing-fields > .col-2 {
  background: none;
}

/* RESPONSIVE : empilement sur petits écrans */
@media (max-width: 1024px) {
  body.checkout-page .woocommerce-checkout form.checkout {
    flex-direction: column;
    gap: 24px;
  }
  #order_review {
    position: relative;
    top: auto;
    width: 100%;
    flex: none;
  }
}
/* texte global dans le récap de commande */
.woocommerce-checkout-review-order-table thead th,
.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
  color: #1f324f; /* bleu foncé (lisible) */
}

/* en-têtes de colonnes un peu plus contrastés */
.woocommerce-checkout-review-order-table thead th {
  background: #e8ecf2;
  font-weight: 600;
  color: #1f324f;
}

/* total final en jaune mais label en foncé */
.woocommerce-checkout-review-order-table tfoot tr:last-child td {
  color: #ffc107;
}
.woocommerce-checkout-review-order-table tfoot tr:last-child th {
  color: #1f324f;
}
/* === Texte de la confidentialité / “Vos données personnelles seront utilisées…” === */
.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: #2b4257;
  font-size: 0.9em;
  line-height: 1.4;
  margin-top: 12px;
}

/* Les liens dans ce texte */
.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: #1f324f;
  text-decoration: underline;
}

/* Si par hasard le texte est trop pâle à cause d’héritage, forcer un peu */
.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .woocommerce-privacy-policy-text * {
  color: #2b4257 !important;
}

/* Éventuel petit texte de consentement / notice sous le bouton */
.woocommerce-checkout .form-row.woocommerce-terms-and-conditions-wrapper {
  color: #2b4257;
  font-size: 0.85em;
}
.woocommerce-checkout .form-row.woocommerce-terms-and-conditions-wrapper a {
  color: #1f324f;
  text-decoration: underline;
}
/* === MÉTHODES DE PAIEMENT : version améliorée === */
.woocommerce-checkout .wc_payment_methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

/* Carte par méthode */
.woocommerce-checkout .wc_payment_method {
  position: relative;
  background: #f9f9f9;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 14px 50px rgba(44,60,100,0.04);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border .2s, box-shadow .2s;
  cursor: pointer;
}

/* Hover */
.woocommerce-checkout .wc_payment_method:hover {
  border-color: #a8c7e8;
  box-shadow: 0 18px 60px rgba(44,60,100,0.08);
}

/* Radio cachée mais conservée pour accessibilité */
.woocommerce-checkout .wc_payment_method input.input-radio {
  position: absolute;
  top: 18px;
  right: 18px;
  opacity: 0;
  pointer-events: none;
}

/* Label : alignement propre, pas de retour à la ligne intempestif */
.woocommerce-checkout .wc_payment_method label {
  flex: 1;
  margin: 0;
  font-weight: 600;
  color: #2b4257;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
  white-space: nowrap;
  position: relative;
  padding-right: 28px; /* espace pour cercle si besoin */
}

/* Cercle custom (non coché) */
.woocommerce-checkout .wc_payment_method label:before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  border: 2px solid #2b4257;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s, background .2s;
}

/* Point central quand sélectionné */
.woocommerce-checkout .wc_payment_method input.input-radio:checked + label:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #2b4257;
  border-radius: 50%;
}

/* Changement visuel bordure méthode sélectionnée */
.woocommerce-checkout .wc_payment_method input.input-radio:checked ~ .payment_box,
.woocommerce-checkout .wc_payment_method input.input-radio:checked + label {
  /* label reste en couleur normale, la boîte a accent */
}
.woocommerce-checkout .wc_payment_method input.input-radio:checked + label:before {
  border-color: #ffc107;
  background: #fff;
}

/* Boîte descriptive (payment_box) */
.woocommerce-checkout .wc_payment_method .payment_box {
  margin-top: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #d7dee5;
  border-radius: 10px;
  font-size: 0.94em;
  color: #4a5666;
  width: 100%;
  box-sizing: border-box;
  transition: border .2s, box-shadow .2s;
}

/* Accent sur la méthode active */
.woocommerce-checkout .wc_payment_method input.input-radio:checked ~ .payment_box {
  border-color: #ffc107;
  box-shadow: 0 10px 36px rgba(255,193,7,0.15);
}

/* Icônes éventuelles */
.woocommerce-checkout .wc_payment_method img {
  max-height: 24px;
  margin-right: 6px;
  vertical-align: middle;
}

/* Description secondaire */
.woocommerce-checkout .wc_payment_method .description {
  font-size: 0.85em;
  color: #647185;
  margin-top: 6px;
}

/* Erreurs / messages spécifiques aux paiements */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
  background: #fff5f0;
  border-left: 4px solid #d9534f;
  color: #5a1f1f;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95em;
  margin-bottom: 16px;
  box-shadow: 0 6px 24px rgba(44,60,100,0.04);
}

/* === RÉCAPITULATIF (Votre commande) : en-têtes lisibles === */
.woocommerce-checkout-review-order-table thead th {
  background: #f1f4f8;
  color: #2b4257;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
}
.woocommerce-checkout-review-order-table tbody td {
  padding: 12px 16px;
  color: #2b4257;
}
.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
  font-weight: 700;
  padding: 12px 16px;
}
.woocommerce-checkout-review-order-table tfoot tr:last-child td {
  color: #ffc107;
  font-size: 1.25em;
}

/* Responsive pour les méthodes */
@media (max-width: 1024px) {
  .woocommerce-checkout .wc_payment_method {
    flex-direction: column;
  }
  .woocommerce-checkout .wc_payment_method label {
    white-space: normal;
  }
}






/*----------thank-you-page-----------------*/

/* === VARIABLES DE COULEURS === */
:root {
  --color-bg: #ffffff;
  --color-card: #f9f9f9;
  --color-primary: #2b4257; /* bleu foncé */
  --color-accent: #ffc107;  /* jaune */
  --color-muted: #4a5666;   /* gris-bleu clair pour sous-texte */
  --radius: 20px;
  --shadow: 0 14px 50px rgba(44,60,100,0.06);
  --transition: .15s ease;
  --ff: system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}

/* === CONTENEUR GLOBAL === */
.order-confirmation-container {
  max-width: 1120px;
  margin: 60px auto 100px;
  padding: 0 16px;
  box-sizing: border-box;
  font-family: var(--ff);
  color: var(--color-primary);
  line-height: 1.45;
}

/* === SECTION EN-TÊTE === */
.order-header-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  position: relative;
}

.thankyou-title {
  font-size: 2.3em;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.order-info {
  margin: 6px 0 16px;
  font-size: 0.95em;
  color: var(--color-muted);
}

.order-summary-top {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 14px 0 22px;
}
.summary-item {
  font-size: 1em;
  font-weight: 600;
  display: flex;
  gap: 6px;
}
.summary-item strong {
  color: var(--color-primary);
}

/* === BOUTONS D'ACTION === */
.next-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.next-actions .button {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 9px;
  padding: 14px 36px;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.next-actions .button:hover {
  background: #e5a500;
  color: #fff;
  transform: translateY(-1px);
}
.next-actions .view-account {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.next-actions .view-account:hover {
  background: var(--color-primary);
  color: #fff;
}

/* === GRILLE DÉTAILS / RÉCAP === */
.order-details-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Carte détails de commande + client */
.order-items-card,
.customer-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 36px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 300px;
  box-sizing: border-box;
}

/* TITRES INTERNE */
.card-section h2 {
  margin-top: 0;
  font-size: 1.55em;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

/* === TABLE DE DÉTAILS DE COMMANDE === */
.woocommerce-order-details {
  width: 100%;
  margin-bottom: 0;
}
.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}
.woocommerce-table--order-details thead th {
  background: #f1f4f8;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: none;
}
.woocommerce-table--order-details tbody td {
  padding: 14px 18px;
  vertical-align: top;
  border-top: 1px solid #e9edf3;
  color: var(--color-primary);
}
.woocommerce-table--order-details tfoot tr th,
.woocommerce-table--order-details tfoot tr td {
  padding: 14px 18px;
  font-weight: 700;
  border-top: 1px solid #e9edf3;
}
.woocommerce-table--order-details tfoot tr:last-child td {
  color: var(--color-accent);
  font-size: 1.2em;
}

/* === ADRESSES ET NOTE CLIENT === */
.address-block {
  font-size: 0.95em;
  color: var(--color-muted);
}
.address-block p {
  margin: 4px 0;
}
.customer-note {
  background: #f1f4f8;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 6px 0 0;
  font-size: 0.95em;
  color: var(--color-primary);
}

/* === MESSAGES NOTICE / ERREUR / INFO === */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-notices-wrapper {
  background: #eef8ff;
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 0.95em;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(44,60,100,0.06);
}
.woocommerce-error p,
.woocommerce-message p,
.woocommerce-info p {
  margin: 0;
}

/* === LIENS === */
a {
  color: var(--color-primary);
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

/* === RÉCAP TOTAL / ENCADRÉ === */
.order-summary-top .summary-item:first-child {
  flex: 1;
}
.order-summary-top .summary-item:last-child {
  color: var(--color-accent);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .order-details-grid {
    flex-direction: column;
  }
  .next-actions {
    flex-direction: column;
  }
}

/* === PETITS DÉTAILS SUPPLÉMENTAIRES === */
.order-header-card .order-summary-top {
  gap: 16px;
}
.order-items-card .woocommerce-order-details,
.customer-info-card .card-section {
  margin-bottom: 20px;
}
:root {
  --color-bg: #ffffff;
  --color-card: #f9f9f9;
  --color-primary: #2b4257;
  --color-accent: #ffc107;
  --color-muted: #647185;
  --radius: 20px;
  --shadow: 0 14px 50px rgba(44,60,100,0.06);
  --transition: .15s ease;
  --ff: system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}

/* ---------- CONTAINER GÉNÉRAL ---------- */
.woocommerce-order-received,
.order-confirmation-container {
  font-family: var(--ff);
  color: var(--color-primary);
  background: var(--color-bg);
}
.order-confirmation-container {
  max-width: 1120px;
  margin: 60px auto 100px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* === EN-TÊTE / MERCI + INFO COMMANDE === */
.order-header-card {
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  position: relative;
}
.thankyou-title {
  font-size: 2.3em;
  font-weight: 700;
  margin: 0;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}
.order-meta-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.meta-item {
  flex: 1;
  min-width: 220px;
}
.meta-item label {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #4a5666;
}
.meta-item .value {
  font-size: 1.05em;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 2px;
}

/* === ACTIONS SUIVANTES (boutons) === */
.next-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.next-actions .button {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 9px;
  padding: 14px 32px;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.next-actions .button:hover {
  background: #e5a500;
  color: #fff;
  transform: translateY(-1px);
}
.next-actions .alt {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.next-actions .alt:hover {
  background: var(--color-primary);
  color: #fff;
}

/* === GRID DÉTAILS / RÉCAP === */
.order-details-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* CARTES */
.order-items-card,
.customer-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 36px;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 300px;
  box-sizing: border-box;
}
.card-section {
  margin-bottom: 24px;
}
.card-section h2 {
  font-size: 1.55em;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
  color: var(--color-primary);
}

/* === TABLE DES ARTICLES DE LA COMMANDE === */
.woocommerce-order-details {
  width: 100%;
}
.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}
.woocommerce-table--order-details thead th {
  background: #f1f4f8;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: none;
}
.woocommerce-table--order-details tbody td {
  padding: 14px 18px;
  vertical-align: top;
  border-top: 1px solid #e9edf3;
  color: var(--color-primary);
}
.woocommerce-table--order-details tfoot tr th,
.woocommerce-table--order-details tfoot tr td {
  padding: 14px 18px;
  font-weight: 700;
  border-top: 1px solid #e9edf3;
}
.woocommerce-table--order-details tfoot tr:last-child td {
  color: var(--color-accent);
  font-size: 1.2em;
}

/* === ADRESSES === */
.address-block {
  font-size: 0.95em;
  color: var(--color-primary);
}
.address-block .title {
  font-weight: 600;
  margin-bottom: 6px;
}
.address-block p {
  margin: 3px 0;
}

/* NOTE CLIENT */
.customer-note {
  background: #f1f4f8;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 8px;
  font-size: 0.95em;
  color: var(--color-primary);
}

/* === NOTICES / MESSAGES === */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-notices-wrapper {
  background: #eef8ff;
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 0.95em;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(44,60,100,0.06);
}
.woocommerce-error p,
.woocommerce-message p,
.woocommerce-info p {
  margin: 0;
}

/* === LIENS === */
.order-confirmation-container a {
  color: var(--color-primary);
  text-decoration: underline;
}
.order-confirmation-container a:hover {
  text-decoration: none;
}

/* === DÉTAILS SUPPLÉMENTAIRES (ex: “vos données personnelles” etc.) === */
.order-confirmation-small {
  font-size: 0.9em;
  color: var(--color-primary);
  margin-top: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .order-details-grid {
    flex-direction: column;
  }
  .order-meta-grid {
    flex-direction: column;
  }
  .next-actions {
    flex-direction: column;
  }
}




/*-----------page-mon-compte-------------*/


/* ====== PAGE MON COMPTE & CONNEXION - STYLE GLOBAL ====== */

/* Conteneur principal */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-form-login {
  max-width: 1120px;
  margin: 0 auto 60px;
  padding: 0;
  box-sizing: border-box;
}

/* Fond en tête de page "Mon compte" */
.woocommerce-account .account-hero {
  background: #1f2f45; /* couleur sombre de l'entête */
  padding: 60px 24px 40px;
  position: relative;
  color: #fff;
}
.woocommerce-account .account-hero h1,
.woocommerce-account .woocommerce-MyAccount-content > h2:first-of-type {
  font-size: 2.8em;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
  color: #fff;
  position: relative;
}
.woocommerce-account .account-hero h1:after,
.woocommerce-account .woocommerce-MyAccount-content > h2:first-of-type:after {
  content: "";
  display: block;
  width: 80px;
  height: 6px;
  background: #ffc107;
  border-radius: 3px;
  margin-top: 8px;
}

/* Petit sous-titre / bienvenue */
.woocommerce-account .welcome-message {
  font-size: 1.05em;
  margin-top: 12px;
  color: #dce6f0;
}

/* ====== ONGLETS / NAVIGATION MON COMPTE ====== */
.woocommerce-account .woocommerce-MyAccount-navigation {
  margin: 30px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
  background: #e8ecf2;
  padding: 10px 20px;
  border-radius: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #2b4257;
  position: relative;
  transition: background .2s, color .2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation a.is-active,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: #ffc107;
  color: #2b4257;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
  outline: 2px solid #2b4257;
  outline-offset: 2px;
}

/* ====== CARTES (connexion, poste commandes, détails) ====== */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-MyAccount-content-inner,
.woocommerce-account .woocommerce-Orders,
.woocommerce-account .woocommerce-MyAccount-content form {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 14px 50px rgba(44,60,100,0.08);
  margin-bottom: 30px;
  position: relative;
}

/* Formulaires : inputs modernisés */
.woocommerce-account input.input-text,
.woocommerce-account input[type="password"],
.woocommerce-account select,
.woocommerce-account textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d7dee5;
  background: #fff;
  font-size: 1em;
  box-sizing: border-box;
  color: #2b4257;
  transition: border .2s, box-shadow .2s;
}
.woocommerce-account input.input-text:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
  outline: none;
  border-color: #aac4e0;
  box-shadow: 0 0 10px rgba(102,132,183,0.25);
}

/* Labels */
.woocommerce-account label {
  display: block;
  font-weight: 600;
  color: #2b4257;
  margin-bottom: 6px;
  font-size: 0.95em;
}

/* Boutons */
.woocommerce-account .button, 
.woocommerce-account button.button {
  background: #ffc107;
  color: #2b4257;
  border: none;
  border-radius: 9px;
  padding: 14px 40px;
  font-size: 1.05em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(44,60,100,0.12);
  transition: background .15s, transform .15s;
  display: inline-block;
  text-align: center;
}
.woocommerce-account .button:hover,
.woocommerce-account button.button:hover {
  background: #e5a500;
  color: #fff;
  transform: translateY(-1px);
}

/* Checkbox “Se souvenir de moi” et petits liens */
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.woocommerce-account .woocommerce-form-login .lost_password a {
  color: #2b4257;
  text-decoration: underline;
}
.woocommerce-account .woocommerce-form-login .lost_password a:hover {
  color: #ffc107;
}

/* Notices (erreurs / infos) */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce-form-login .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
  background: #eef8ff;
  border-left: 4px solid #2b4257;
  padding: 14px 18px;
  border-radius: 8px;
  color: #2b4257;
  font-size: 0.95em;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(44,60,100,0.06);
}

/* ====== ORDRES / TABLEAU DES COMMANDES ====== */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table thead th {
  text-align: left;
  padding: 14px 16px;
  background: #e8ecf2;
  font-weight: 600;
  border-bottom: none;
  color: #2b4257;
  font-size: 1em;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #f1f3f7;
  vertical-align: top;
  color: #2b4257;
  font-size: 0.95em;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tfoot td {
  font-weight: 700;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table a {
  color: #2b4257;
  text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table a:hover {
  color: #ffc107;
}

/* Carte récap des détails d'une commande (page order received) */
.woocommerce-order-details {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 14px 50px rgba(44,60,100,0.08);
  margin-bottom: 30px;
}
.woocommerce-order-details .order {
  margin-top: 0;
}
.woocommerce-order-details h2 {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2b4257;
}
.woocommerce-order-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.woocommerce-order-overview .woocommerce-order-overview__title {
  font-weight: 600;
  margin-bottom: 6px;
}

/* ====== TITRES / TEXTE SPÉCIFIQUE ====== */
/* “Mon compte” en gros, si rendu comme h1 ou h2 */
.woocommerce-account .woocommerce-MyAccount-content > h2 {
  font-size: 2.8em;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
  position: relative;
  padding-left: 4px;
}
.woocommerce-account .woocommerce-MyAccount-content > h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 80px;
  height: 6px;
  background: #ffc107;
  border-radius: 3px;
}

/* “Se connecter” en blanc */
.woocommerce-account .woocommerce-form-login h2,
.woocommerce-account .woocommerce-form-login legend,
.woocommerce-account .woocommerce-form-login .woocommerce-title,
.woocommerce-account .woocommerce-form-login .woocommerce-form-login__title {
  color: #fff !important;
  font-size: 2.4em;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 6px;
}

/* Sous-titres / sections dans l’espace client */
.woocommerce-account .woocommerce-MyAccount-content h3 {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 14px;
  color: #2b4257;
}

/* ====== DIVERS ====== */
/* Lien “Déconnexion”, “Modifier”, etc. */
.woocommerce-account .woocommerce-MyAccount-navigation a.logout-link,
.woocommerce-account .woocommerce-MyAccount-navigation a.edit-link {
  font-style: normal;
}

/* Force les éléments dans les cartes à être bien espacés */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-account .woocommerce-form-login .form-row {
  margin-bottom: 16px;
}

/* Responsive petits écrans */
@media (max-width: 1024px) {
  .woocommerce-account .woocommerce-MyAccount-navigation {
    flex-direction: column;
    gap: 8px;
  }
  .woocommerce-account .woocommerce-MyAccount-content > h2 {
    font-size: 2.4em;
  }
  .woocommerce-account .woocommerce-form-login h2,
  .woocommerce-account .woocommerce-form-login legend {
    font-size: 2em;
  }
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table thead {
    display: none;
  }
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody td {
    display: block;
    width: 100%;
  }
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-orders-table tbody tr {
    margin-bottom: 22px;
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
  }
}

/* ====== ACCESSIBILITÉ / CONTRASTE ====== */
.woocommerce-account a {
  transition: color .2s;
}
.woocommerce-account a:focus {
  outline: 2px dashed #ffc107;
  outline-offset: 3px;
}
/* ------ CORRECTIONS RAPIDES MON COMPTE / CONNEXION ------ */

/* Masque un titre ou bandeur redondant trop grand si ton thème en injecte un */
.woocommerce-account .page-title,
.woocommerce-account h1.page-title {
  display: none;
}

/* Hero / en-tête "Mon compte" : compact, fond sombre, titre blanc avec soulignement jaune */
.woocommerce-account .account-hero {
  background: #1f2f45;
  padding: 40px 24px 20px;
  position: relative;
  color: #fff;
}
.woocommerce-account .account-hero h1,
.woocommerce-account .woocommerce-MyAccount-content > h2 {
  color: #fff !important;
  font-size: 2.6rem;
  font-weight: 700;
  margin: 0 0 8px;
  position: relative;
  line-height: 1.1;
}
.woocommerce-account .account-hero h1:after,
.woocommerce-account .woocommerce-MyAccount-content > h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 6px;
  background: #ffc107;
  border-radius: 3px;
  margin-top: 8px;
}

/* "Se connecter" (login) : titre forcé en blanc */
.woocommerce-form-login h2,
.woocommerce-form-login legend,
.woocommerce-form-login .woocommerce-title {
  color: #fff !important;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 8px;
}

/* Masquer toute barre / bande vide non voulue (ex: grosse barre claire sous le titre) */
.woocommerce-account .account-hero + * {
  margin-top: 0;
}
.woocommerce-account .hero-bar,
.woocommerce-account .some-blank-banner,
.woocommerce-account .woocommerce-MyAccount-content > .empty-wrapper {
  display: none !important;
}

/* Navigation onglets : rendue propre sur fond clair (si tu veux qu’elle ressorte sur fond sombre, wrapper autour) */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
  background: #e8ecf2;
  color: #2b4257;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation a.is-active,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: #ffc107;
  color: #2b4257;
}

/* Carte / formulaire connexion et espace client : éclairci + bord arrondi */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-MyAccount-content-inner,
.woocommerce-account .woocommerce-MyAccount-content form,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Orders {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 14px 50px rgba(44,60,100,0.08);
  margin-bottom: 30px;
  color: #2b4257;
}

/* Inputs / selects / textarea modernisés et lisibles */
.woocommerce-account input.input-text,
.woocommerce-account input[type="password"],
.woocommerce-account select,
.woocommerce-account textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d7dee5;
  background: #fff;
  color: #2b4257;
  font-size: 1em;
  box-sizing: border-box;
  transition: border .2s, box-shadow .2s;
}
.woocommerce-account input.input-text:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
  outline: none;
  border-color: #aac4e0;
  box-shadow: 0 0 10px rgba(102,132,183,0.25);
}

/* Labels */
.woocommerce-account label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2b4257;
  font-size: .95em;
}

/* Boutons */
.woocommerce-account .button,
.woocommerce-account button.button {
  background: #ffc107;
  color: #2b4257;
  border: none;
  border-radius: 9px;
  padding: 14px 36px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(44,60,100,0.12);
  transition: background .15s, transform .15s;
  text-align: center;
}
.woocommerce-account .button:hover,
.woocommerce-account button.button:hover {
  background: #e5a500;
  color: #fff;
  transform: translateY(-1px);
}

/* Notices / messages d’erreur */
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
  background: #eef8ff;
  border-left: 4px solid #2b4257;
  padding: 14px 18px;
  border-radius: 8px;
  color: #2b4257;
  font-size: .95em;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(44,60,100,0.06);
}

/* Commandes : tableau simplifié */
.woocommerce-account .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.woocommerce-account .woocommerce-orders-table thead th {
  background: #e8ecf2;
  padding: 14px 16px;
  font-weight: 600;
  color: #2b4257;
  text-align: left;
  border-bottom: none;
}
.woocommerce-account .woocommerce-orders-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #f1f3f7;
  color: #2b4257;
  vertical-align: top;
}
.woocommerce-account .woocommerce-orders-table a {
  color: #2b4257;
  text-decoration: none;
}
.woocommerce-account .woocommerce-orders-table a:hover {
  color: #ffc107;
}

/* Responsive mini */
@media (max-width: 1024px){
  .woocommerce-account .woocommerce-MyAccount-navigation {
    flex-direction: column;
  }
}
/* === MON COMPTE : TITRES EN BLANC === */
body.woocommerce-account {
  background: #f4f6f9;
}
.woocommerce-account h1.entry-title {
  color: #fff !important;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 40px 0 8px;
  letter-spacing: 0.3px;
  position: relative;
  line-height: 1.1;
}
.woocommerce-form-login h2,
.woocommerce-form-login legend,
.woocommerce-form-login .woocommerce-title {
  color: #fff !important;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 12px;
}

/* barre décorative sous “Mon compte” */
.woocommerce-account h1.entry-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 5px;
  background: #ffc107;
  border-radius: 3px;
  margin-top: 8px;
}

/* === ONGLETS / NAVIGATION === */
.woocommerce-MyAccount-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 12px;
  margin: 24px 0 32px;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(44,60,100,0.06);
}
.woocommerce-MyAccount-navigation li {
  margin: 0;
}
.woocommerce-MyAccount-navigation a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 12px;
  background: #e8ecf2;
  color: #2b4257;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.woocommerce-MyAccount-navigation a.is-active,
.woocommerce-MyAccount-navigation a:hover {
  background: #ffc107;
  color: #2b4257;
}

/* === CONTENU DES ONGLETS === */
.woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-form-login {
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 14px 50px rgba(44,60,100,0.08);
  margin-bottom: 30px;
  color: #2b4257;
}

/* === FORMULAIRES / CHAMPS === */
.woocommerce-account input.input-text,
.woocommerce-account input[type="password"],
.woocommerce-account select,
.woocommerce-account textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #d7dee5;
  background: #f4f6f9;
  font-size: 1em;
  color: #2b4257;
  box-sizing: border-box;
  margin-bottom: 16px;
  transition: border .2s, box-shadow .2s;
}
.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
  outline: none;
  border-color: #aac4e0;
  box-shadow: 0 0 10px rgba(102,132,183,0.25);
}
.woocommerce-account label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2b4257;
  font-size: 0.95em;
}

/* === BOUTONS === */
.woocommerce-account .button,
.woocommerce-account button.button {
  background: #ffc107;
  color: #2b4257;
  border: none;
  border-radius: 9px;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1.05em;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(44,60,100,0.12);
  transition: background .15s, transform .15s;
  text-align: center;
}
.woocommerce-account .button:hover,
.woocommerce-account button.button:hover {
  background: #e5a500;
  color: #fff;
  transform: translateY(-1px);
}

/* === NOTICES / MESSAGES === */
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
  background: #eef8ff;
  border-left: 4px solid #2b4257;
  padding: 14px 18px;
  border-radius: 8px;
  color: #2b4257;
  font-size: 0.95em;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(44,60,100,0.06);
}

/* === TABLEAUX DES COMMANDES === */
.woocommerce-account .woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.woocommerce-account .woocommerce-orders-table thead th {
  background: #e8ecf2;
  padding: 14px 16px;
  font-weight: 600;
  color: #2b4257;
  text-align: left;
  border-bottom: none;
}
.woocommerce-account .woocommerce-orders-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #f1f3f7;
  color: #2b4257;
  vertical-align: top;
}
.woocommerce-account .woocommerce-orders-table a {
  color: #2b4257;
  text-decoration: none;
}
.woocommerce-account .woocommerce-orders-table a:hover {
  color: #ffc107;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .woocommerce-MyAccount-navigation {
    flex-direction: column;
  }
  body.woocommerce-account h1.entry-title {
    font-size: 2.4rem;
  }
  .woocommerce-account .woocommerce-form-login h2 {
    font-size: 2rem;
  }
  .woocommerce-account .woocommerce-orders-table thead {
    display: none;
  }
  .woocommerce-account .woocommerce-orders-table tbody td {
    display: block;
    width: 100%;
  }
  .woocommerce-account .woocommerce-orders-table tbody tr {
    margin-bottom: 22px;
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
  }
}
