/*
Theme Name: KM Beauty
Description: Thème sur-mesure KM Beauty - Press-on nails + configurateur sur-mesure intégré
Version: 3.4.0
Author: KM
Text Domain: km-beauty
*/

/* =================================================================
   1. VARIABLES & RESET
   =================================================================== */
:root {
  --rose-gold: #b76e79;
  --rose-gold-dark: #8e4a54;
  --rose-gold-light: #f7ebe8;
  --dark-text: #2c2c2c;
  --light-bg: #faf8f5;
  --white: #ffffff;
  --success: #22c55e;
  --success-light: #dcfce7;
  --error: #f04438;
  --error-dark: #b42318;
  --font-sans: 'Montserrat', Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.6;
}

body.km-popup-open { overflow: hidden; }

a { color: var(--rose-gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--dark-text);
  margin-top: 0;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =================================================================
   2. SKIP-LINK & UTILITAIRES A11Y
   =================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #8e4a54;
  color: #ffffff !important;
  padding: 12px 24px;
  z-index: 999999;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 8px 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #ffd700;
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main#main-content {
  display: block;
}

/* =================================================================
   3. BARRE D'ANNONCE
   =================================================================== */
.announcement-bar {
  background: #8e4a54;
  color: #ffffff;
  text-align: center;
  padding: 8px 15px;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* =================================================================
   4. HEADER
   =================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #f0e6e6;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 25px 0 20px;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-branding {
  text-align: center;
}

.site-branding a {
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-text);
  letter-spacing: 3px;
  display: block;
}

.logo-subtext {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8e4a54;
  margin-top: 6px;
  display: block;
  font-weight: 600;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.main-nav li {
  position: relative;
}

.main-nav li::after {
  content: "·";
  color: #b8a8a6;
  margin: 0 15px;
  font-weight: 700;
}

.main-nav li:last-child::after {
  display: none;
}

.main-nav a {
  text-decoration: none;
  color: var(--dark-text);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--rose-gold);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #8e4a54;
}

.main-nav a:hover::before {
  width: 100%;
}

.main-nav .cart-custom-link {
  color: #8e4a54 !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.main-nav .cart-custom-link:hover {
  color: var(--rose-gold) !important;
}

.main-nav .menu-item-cart-dropdown::after {
  display: none;
}

@media (max-width: 768px) {
  .site-header {
    padding: 15px 0 10px;
  }
  .header-container { gap: 12px; }
  .logo-text { font-size: 24px; letter-spacing: 2px; }
  .logo-subtext { font-size: 9px; letter-spacing: 2px; }
  .main-nav ul { gap: 0; flex-wrap: wrap; justify-content: center; }
  .main-nav li::after { margin: 0 8px; font-size: 10px; }
  .main-nav a { font-size: 10px; letter-spacing: 1px; }
}

@media (max-width: 480px) {
  .main-nav li::after { display: none; }
  .main-nav ul { gap: 15px; }
  .main-nav a { font-size: 11px; letter-spacing: 1px; }
}

/* =================================================================
   5. HERO
   =================================================================== */
.hero {
  background: linear-gradient(135deg, var(--rose-gold-light) 0%, #fff 100%);
  padding: 70px 20px;
  text-align: center;
}

.hero-content { max-width: 700px; margin: 0 auto; }

.hero h1 {
  font-size: 38px;
  margin-bottom: 15px;
  color: #8e4a54;
}

.hero p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #444;
}

.hero-salon {
  background: linear-gradient(135deg, #fdf9f8 0%, #fceee9 50%, #fff 100%);
  padding: 90px 20px;
}

.hero-tagline {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8e4a54;
  margin: 0 0 15px 0;
  padding: 6px 16px;
  background: rgba(142, 74, 84, 0.12);
  border-radius: 20px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.btn-primary {
  display: inline-block;
  background: #8e4a54;
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.25s;
}

.btn-primary:hover { background: #b76e79; }

.btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #8e4a54 !important;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #8e4a54;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--rose-gold-light);
  color: #8e4a54 !important;
  transform: translateY(-2px);
}

/* =================================================================
   6. SECTIONS & SERVICES
   =================================================================== */
.section-title {
  text-align: center;
  font-size: 28px;
  margin: 50px 0 5px;
}

.section-subtitle {
  text-align: center;
  color: #8e4a54;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 35px;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.service-card {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 30px 25px;
  border: 1px solid #f0e6e6;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(183, 110, 121, 0.12);
}

.service-card h3 {
  color: #8e4a54;
  margin-bottom: 10px;
  font-size: 20px;
}

/* =================================================================
   7. FOOTER
   =================================================================== */
.site-footer {
  background: #1a1a1a;
  color: #d4d4d4;
  margin-top: 60px;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-col h3 {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-col p { font-size: 13px; margin: 6px 0; color: #d4d4d4; }
.footer-col a { color: #e0e0e0; text-decoration: none; }
.footer-col a:hover { color: #b76e79; }

.copyright {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 35px;
  padding-top: 20px;
  font-size: 12px;
  color: #a8a8a8;
}
.copyright a { color: #a8a8a8; }

/* =================================================================
   8. GUIDE DES TAILLES
   =================================================================== */
.guide-tailles-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 13px;
}

.size-table th,
.size-table td {
  border: 1px solid #eee;
  padding: 10px;
  text-align: center;
}

.size-table th {
  background: #f7ebe8;
  color: #8e4a54;
  font-weight: 700;
}

.size-table tr:nth-child(even) { background: #fdfafa; }

/* =================================================================
   9. CONTACT
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.contact-info-card {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #f0e6e6;
}

.contact-info-card h3 {
  color: #8e4a54;
  font-size: 18px;
  margin-bottom: 12px;
}

/* =================================================================
   10. RÉSERVATION
   =================================================================== */
.reservation-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 30px;
  align-items: flex-start;
}

.reservation-sidebar .services-summary-card {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #f0e6e6;
}

.reservation-info h3,
.policy-notice h3 {
  color: #8e4a54;
  font-size: 16px;
  margin-top: 20px;
}

.policy-notice {
  border-top: 1px solid #e6d6d6;
  margin-top: 20px;
  padding-top: 15px;
}

/* =================================================================
   11. FILTRES CATÉGORIES
   =================================================================== */
.km-category-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 25px 0;
  flex-wrap: wrap;
}

.km-category-filters .button {
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 25px;
  border: 1px solid #8e4a54;
  background: #fff;
  color: var(--dark-text);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.25s;
}

.km-category-filters .button.active,
.km-category-filters .button:hover {
  background: #8e4a54;
  color: #fff;
}

/* =================================================================
   12. CONFIGURATEUR
   =================================================================== */
.km-builder-wrapper,
.sm-builder-container {
  font-family: var(--font-sans);
  margin: 30px auto;
  background: var(--white);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f2e8e8;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body .km-main-preview-box,
body .sm-main-preview-box { display: none; }

.km-builder-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.km-builder-header h2 {
  margin: 0;
  font-size: 24px;
  color: #8e4a54;
}

.km-base-price {
  background: var(--rose-gold-light);
  color: #8e4a54;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.km-mode-switcher,
.sm-mode-switcher,
.km-switcher-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.km-mode-switcher a,
.km-mode-switcher button,
.sm-mode-switcher a,
.sm-mode-switcher button,
.km-switch-btn,
.press-on-btn {
  background-color: var(--white);
  color: var(--dark-text);
  border: 1px solid #8e4a54;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.km-mode-switcher a:hover,
.km-mode-switcher button:hover,
.km-switch-btn:hover,
.press-on-btn:hover {
  background-color: var(--rose-gold-light);
  color: #8e4a54;
  border-color: #8e4a54;
}

.km-mode-switcher a.active,
.km-mode-switcher button.active,
.km-switch-btn.active,
.press-on-btn.active {
  background-color: #8e4a54;
  color: var(--white);
  border-color: #8e4a54;
}

.km-builder-body,
.sm-main-layout {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

.km-sidebar-categories,
.sm-sidebar-categories {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.km-cat-tab,
.sm-cat-item {
  background: var(--white);
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #f2e8e8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  color: var(--dark-text);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  line-height: normal;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.km-cat-tab img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.km-cat-tab.active,
.km-cat-tab:hover,
.sm-cat-item.active {
  background: var(--rose-gold-light);
  color: #8e4a54;
  border-color: #8e4a54;
}

.km-catalog-content,
.sm-content-area {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.km-search-wrapper { margin-bottom: 15px; }

.km-catalog-content input[type="text"],
.sm-content-area input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e2bcbf;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.km-catalog-content input[type="text"]:focus,
.sm-content-area input[type="text"]:focus {
  border-color: #8e4a54;
  box-shadow: 0 0 5px rgba(142, 74, 84, 0.2);
}

.km-catalog-grids { display: block; width: 100%; }

.km-category-grid { display: none; }
.km-category-grid.active { display: block; }

.km-designs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
  width: 100%;
}

.km-design-card,
.sm-card {
  background: var(--white);
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #f2e8e8;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 160px;
  overflow: hidden;
}

.km-design-card:hover,
.sm-card:hover {
  transform: translateY(-3px);
  border-color: #8e4a54;
  box-shadow: 0 5px 15px rgba(142, 74, 84, 0.15);
}

.km-design-card.active,
.km-design-card.selected {
  border: 2px solid #8e4a54;
  background: var(--rose-gold-light);
}

.km-card-img {
  width: 100%;
  height: 110px;
  background: linear-gradient(135deg, var(--rose-gold-light) 0%, #fff 100%);
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.km-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.km-card-img:empty::before {
  content: "💅";
  font-size: 32px;
  opacity: 0.5;
}

.km-card-info { padding: 4px 2px; }

.km-design-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-text);
}

.km-design-price {
  font-size: 10px;
  color: #8e4a54;
  margin-top: 3px;
}

/* =================================================================
   13. PAGE SUR-MESURE PLEINE LARGEUR
   =================================================================== */
.km-full-width-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 30px 60px;
  box-sizing: border-box;
}

.km-full-width-page .page-title {
  text-align: center;
  margin-bottom: 30px;
}

/* =================================================================
   14. RONDS DE DOIGTS
   =================================================================== */
.km-progress-bar {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: 1px solid #f2e8e8;
}

.km-progress-text {
  font-size: 13px;
  font-weight: 600;
  color: #8e4a54;
  margin-bottom: 8px;
}

.km-progress-text #km-progress-count {
  font-size: 16px;
  font-weight: 700;
}

.km-progress-track {
  height: 8px;
  background: #f0e6e6;
  border-radius: 10px;
  overflow: hidden;
}

.km-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-gold-light), #8e4a54);
  width: 0%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.km-hands-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 16px;
  border: 1px solid #f2e8e8;
}

.km-hand {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.km-hand-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8e4a54;
  margin-bottom: 12px;
}

.km-fingers-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.km-finger-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 60px;
  flex-shrink: 0;
  position: relative;
}

.km-finger-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #e2bcbf;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.km-finger-placeholder {
  font-size: 20px;
  color: #b89a9d;
  font-weight: 300;
}

.km-finger-label {
  font-size: 10px;
  color: #6b6b6b;
  margin-top: 6px;
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.km-finger-circle:hover .km-finger-inner {
  border-color: #8e4a54;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 74, 84, 0.2);
}

.km-finger-circle.active .km-finger-inner {
  border-color: #8e4a54;
  background: var(--rose-gold-light);
  box-shadow: 0 0 0 3px rgba(142, 74, 84, 0.15);
}

.km-finger-circle.filled .km-finger-inner {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.km-finger-circle.filled .km-finger-label {
  color: #15803d;
  font-weight: 600;
}

.km-finger-circle.active.filled .km-finger-inner {
  border-color: #8e4a54;
  box-shadow: 0 0 0 3px rgba(142, 74, 84, 0.25), 0 0 0 6px rgba(34, 197, 94, 0.1);
}

.km-finger-svg-wrapper {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
}

.km-finger-circle.filled .km-finger-svg-wrapper {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.km-finger-circle.filled .km-finger-svg-wrapper svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.km-finger-circle.filled .km-finger-placeholder {
  display: none !important;
}

/* =================================================================
   15. BOUTON SUPPRIMER
   =================================================================== */
.km-finger-remove {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  left: auto !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: var(--error) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 2px 6px rgba(240, 68, 56, 0.4) !important;
  transition: all 0.2s ease !important;
  z-index: 100 !important;
  opacity: 0 !important;
}

.km-finger-circle.filled:hover .km-finger-remove,
.km-finger-remove:focus {
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

.km-finger-remove:hover {
  background: var(--error-dark) !important;
  transform: scale(1.25) !important;
}

/* =================================================================
   16. BANDEAU INFO + TOUT EFFACER
   =================================================================== */
.km-active-finger-info {
  text-align: center;
  font-size: 13px;
  color: var(--dark-text);
  margin-bottom: 20px;
  padding: 10px 15px;
  background: var(--rose-gold-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  gap: 10px;
  flex-wrap: wrap;
}

.km-active-finger-info strong { color: #8e4a54; }

.km-clear-all-btn {
  background: transparent !important;
  border: 1px solid var(--error) !important;
  color: var(--error) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: all 0.2s ease !important;
  margin-left: auto !important;
  white-space: nowrap !important;
}

.km-clear-all-btn:hover {
  background: var(--error) !important;
  color: #ffffff !important;
}

.km-builder-footer {
  margin-top: 30px;
  text-align: center;
}

.km-btn-final {
  background: #d4d4d4;
  color: #666;
  border: none;
  border-radius: 30px;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: not-allowed;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-family: inherit;
  min-width: 320px;
  justify-content: center;
}

.km-btn-final.ready {
  background: #8e4a54;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(142, 74, 84, 0.3);
}

.km-btn-final.ready:hover {
  background: #b76e79;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 74, 84, 0.4);
}

.km-btn-lock { font-size: 18px; }

/* =================================================================
   17. POP-UP DE CONFIGURATION
   =================================================================== */
.km-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.km-popup {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: kmPopupFadeIn 0.25s ease;
}

@keyframes kmPopupFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.km-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid #f0e6e6;
}

.km-popup-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--dark-text);
}

.km-popup-close {
  background: none;
  border: none;
  font-size: 26px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0 5px;
  transition: color 0.2s;
}

.km-popup-close:hover { color: #8e4a54; }

.km-popup-body {
  padding: 20px 25px;
  overflow-y: auto;
  flex: 1;
}

.km-popup-section { margin-bottom: 25px; }

.km-popup-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.km-required { color: #be123c; }

.km-shapes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}

.km-shape-option {
  background: var(--white);
  border: 2px solid #f2e8e8;
  border-radius: 12px;
  padding: 10px 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.km-shape-option:hover {
  border-color: #8e4a54;
  transform: translateY(-2px);
}

.km-shape-option.active {
  border-color: #8e4a54;
  background: var(--rose-gold-light);
}

.km-shape-img {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 6px;
}

.km-shape-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.km-shape-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark-text);
}

.km-size-info {
  background: #fff5f6;
  border-left: 3px solid #8e4a54;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 12px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.5;
}

.km-size-question {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-text);
}

.km-size-toggle {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.km-size-btn {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  border: 2px solid #e2bcbf;
  background: var(--white);
  color: var(--dark-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.km-size-btn:hover { border-color: #8e4a54; }

.km-size-btn.active {
  background: #0e7490;
  border-color: #0e7490;
  color: var(--white);
}

.km-size-block { margin-top: 15px; }

.km-measures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.km-measure-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.km-measure-item label {
  font-size: 11px;
  font-weight: 600;
  color: #444;
}

.km-measure-input {
  padding: 8px 10px;
  border: 1px solid #e2bcbf;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  width: 100%;
}

.km-measure-input:focus {
  outline: none;
  border-color: #8e4a54;
  box-shadow: 0 0 0 2px rgba(142, 74, 84, 0.15);
}

.km-size-kit-info {
  background: #e8f5fb;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.km-kit-icon {
  font-size: 28px;
  line-height: 1;
}

.km-kit-text {
  font-size: 13px;
  color: #1e5a7a;
  line-height: 1.5;
}

.km-kit-link {
  display: inline-block;
  margin-top: 8px;
  color: #8e4a54;
  font-weight: 700;
  text-decoration: underline;
}

.km-popup-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  padding: 12px;
  background: var(--light-bg);
  border-radius: 10px;
  border: 1px solid #f2e8e8;
}

.km-popup-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #8e4a54;
  cursor: pointer;
}

.km-popup-footer {
  padding: 20px 25px;
  border-top: 1px solid #f0e6e6;
  background: var(--light-bg);
}

.km-popup-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.km-total-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-text);
}

.km-total-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-text);
}

.km-btn-add-cart {
  width: 100%;
  padding: 15px;
  background: #8e4a54;
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.km-btn-add-cart:hover {
  background: #b76e79;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 74, 84, 0.4);
}

/* =================================================================
   18. FAQ
   =================================================================== */
.faq-sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #f0e6e6;
    margin-top: 25px;
}

.faq-sidebar-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: #8e4a54;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0e6e6;
}

.faq-guide {
    max-width: 800px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.faq-guide h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: #8e4a54;
    text-align: center;
    margin: 0 0 30px 0;
}

.faq-item {
    background: #fdf9f8;
    border: 1px solid #f0e6e6;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.25s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #e2bcbf;
}

.faq-item[open] {
    background: #fff;
    border-color: #8e4a54;
    box-shadow: 0 4px 15px rgba(142, 74, 84, 0.1);
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 14px;
    color: #2c2c2c;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', Arial, sans-serif;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 22px;
    color: #8e4a54;
    font-weight: 300;
    margin-left: 15px;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary:hover {
    color: #8e4a54;
}

.faq-item p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #444;
}

.faq-item p a {
    color: #8e4a54;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .faq-guide {
        margin: 40px auto 30px;
        padding: 0 15px;
    }
    .faq-guide h2 {
        font-size: 20px;
    }
    .faq-item summary {
        font-size: 13px;
        padding: 14px 16px;
    }
    .faq-item p {
        padding: 0 16px 14px;
        font-size: 12px;
    }
    .faq-sidebar-card {
        padding: 20px;
    }
    .faq-sidebar-card h3 {
        font-size: 16px;
    }
}

/* =================================================================
   19. TITRES DE PAGE
   =================================================================== */
.page-title {
  text-align: center;
  font-size: 38px;
  color: #8e4a54;
  margin: 40px 0 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

/* =================================================================
   20. PAGE GUIDE DES TAILLES
   =================================================================== */
.guide-tailles-wrapper {
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.guide-tailles-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: #8e4a54;
  margin: 40px 0 20px;
  text-align: left;
}

.guide-tailles-wrapper p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.guide-tailles-wrapper > div[style*="background"] {
  background: var(--rose-gold-light) !important;
  border-left: 4px solid #8e4a54 !important;
  padding: 25px !important;
  border-radius: 12px !important;
  margin-top: 40px !important;
}

.guide-tailles-wrapper > div[style*="background"] h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #8e4a54;
  margin: 0 0 12px 0;
}

.guide-tailles-wrapper > div[style*="background"] p {
  margin: 0;
  color: #6e3540;
}

/* =================================================================
   21. PAGE RÉSERVATION
   =================================================================== */
.reservation-page {
  padding: 40px 0 80px;
  background: linear-gradient(135deg, #fdf9f8 0%, #ffffff 100%);
}

.reservation-page .page-header {
  text-align: center;
  margin-bottom: 50px;
}

.reservation-page .page-title {
  margin: 0 0 10px 0;
}

.reservation-page .page-subtitle {
  font-size: 14px;
  color: #8e4a54;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 600;
}

.reservation-booking {
  background: #ffffff;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(142, 74, 84, 0.08);
  border: 1px solid #f0e6e6;
  overflow: hidden;
}

/* =================================================================
   22. RESPONSIVE
   =================================================================== */
@media (max-width: 768px) {
  .page-title { font-size: 28px; margin: 30px 0 8px; }
  .guide-tailles-wrapper { padding: 0 15px; }
  .guide-tailles-wrapper h2 { font-size: 22px; margin: 30px 0 15px; }
  .reservation-page { padding: 30px 0 60px; }
  .reservation-page .page-header { margin-bottom: 30px; }
}

@media (max-width: 480px) {
  .page-title { font-size: 24px; margin: 25px 0 5px; }
  .guide-tailles-wrapper h2 { font-size: 20px; }
}

/* =================================================================
   23. EASYPEASY BOOKING — STYLES
   =================================================================== */
.ebi-progress-step.active .ebi-progress-num,
.ebi-progress-step.is-active .ebi-progress-num,
.ebi-progress-step[class*="active"] .ebi-progress-num,
.ebi-progress-num.active,
.ebi-progress-num.is-active {
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    background-color: #8e4a54 !important;
    color: #ffffff !important;
    border-color: #8e4a54 !important;
    box-shadow: 0 4px 12px rgba(142, 74, 84, 0.35) !important;
}

.ebi-progress-num {
    background: #f0e5e3 !important;
    background-color: #f0e5e3 !important;
    color: #8e4a54 !important;
    border-color: #f0e5e3 !important;
}

.ebi-progress-step .ebi-progress-label,
.ebi-progress-label,
.ebi-progress-step span:not(.ebi-progress-num) {
    color: #8e4a54 !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.ebi-summary,
.ebi-booking-summary,
.ebi-service-summary,
.ebi-selected-service {
    background: linear-gradient(135deg, #f7ebe8 0%, #fdf9f8 100%) !important;
    border: 2px solid #8e4a54 !important;
    border-radius: 12px !important;
}

.ebi-summary-name,
.ebi-service-name,
.ebi-summary strong {
    color: #8e4a54 !important;
    font-weight: 700 !important;
}

.ebi-service-price,
.ebi-price,
.ebi-price-value,
.ebi-service-card .ebi-price {
    color: #8e4a54 !important;
    font-weight: 700 !important;
}

.ebi-service-title,
.ebi-service-name,
.ebi-service-card h3,
.ebi-service-card h4 {
    color: #2c2c2c !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}

.ebi-service-card,
.ebi-service-item,
.ebi-service-list > li {
    background: #ffffff !important;
    border: 2px solid #f0e5e3 !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    padding: 22px 26px !important;
}

.ebi-service-card:hover,
.ebi-service-item:hover,
.ebi-service-list > li:hover {
    border-color: #8e4a54 !important;
    background: #fdf9f8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(142, 74, 84, 0.15) !important;
}

.ebi-service-card.selected,
.ebi-service-card.active,
.ebi-service-item.selected {
    border-color: #8e4a54 !important;
    background: #f7ebe8 !important;
    box-shadow: 0 0 0 3px rgba(142, 74, 84, 0.15) !important;
}

.ebi-btn,
.ebi-btn-primary,
.ebi-button,
button.ebi-btn,
.ebi-booking button[type="submit"] {
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    background-color: #8e4a54 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 40px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(142, 74, 84, 0.35) !important;
    cursor: pointer !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.ebi-btn:hover,
.ebi-btn-primary:hover,
.ebi-button:hover {
    background: linear-gradient(135deg, #6e3540 0%, #8e4a54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(142, 74, 84, 0.45) !important;
}

.ebi-btn-back,
.ebi-back,
.ebi-btn-secondary,
a.ebi-back {
    background: transparent !important;
    color: #8e4a54 !important;
    border: 1px solid #f0e5e3 !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
}

.ebi-btn-back:hover,
.ebi-back:hover {
    background: #f7ebe8 !important;
    border-color: #8e4a54 !important;
    color: #8e4a54 !important;
}

.ebi-time-slot,
.ebi-slot,
.ebi-time-btn {
    background: #ffffff !important;
    border: 2px solid #e2d5d3 !important;
    border-radius: 10px !important;
    color: #2c2c2c !important;
    padding: 14px 20px !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.ebi-time-slot:hover,
.ebi-slot:hover {
    border-color: #8e4a54 !important;
    background: #fdf9f8 !important;
    color: #8e4a54 !important;
    transform: translateY(-2px) !important;
}

.ebi-time-slot.selected,
.ebi-time-slot.active {
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    border-color: #8e4a54 !important;
    color: #ffffff !important;
}

.ebi-calendar-day.available,
.ebi-day.available {
    background: #f7ebe8 !important;
    color: #8e4a54 !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.ebi-calendar-day.available:hover,
.ebi-day.available:hover {
    background: #fceee9 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(142, 74, 84, 0.2) !important;
}

.ebi-calendar-day.selected,
.ebi-day.selected {
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(142, 74, 84, 0.4) !important;
}

.ebi-calendar-header,
.ebi-month {
    color: #2c2c2c !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
}

.ebi-calendar-weekday,
.ebi-weekday {
    color: #8e4a54 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.ebi-booking label,
.ebi-form label {
    color: #2c2c2c !important;
    font-weight: 600 !important;
}

.ebi-booking input[type="text"],
.ebi-booking input[type="email"],
.ebi-booking input[type="tel"],
.ebi-booking input[type="number"],
.ebi-booking textarea,
.ebi-form input {
    background: #ffffff !important;
    border: 2px solid #e2d5d3 !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    color: #2c2c2c !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ebi-booking input:focus,
.ebi-booking textarea:focus {
    border-color: #8e4a54 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(142, 74, 84, 0.12) !important;
}

.ebi-booking h1,
.ebi-booking h2,
.ebi-booking h3 {
    color: #8e4a54 !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* =================================================================
   24. BALISE MAIN
   =================================================================== */
main#main-content {
  display: block;
}

/* =================================================================
   25. PAGES LÉGALES
   =================================================================== */
.legal-content-wrapper {
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.legal-content-wrapper h1,
.legal-content-wrapper h2,
.legal-content-wrapper p {
  max-width: 100%;
}

@media (max-width: 768px) {
  .legal-content-wrapper {
    padding: 20px !important;
  }
}

/* =================================================================
   26. BANDEAU PROMO (animation performante)
   =================================================================== */
.km-promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #8e4a54 0%, #b76e79 100%) !important;
  color: #ffffff !important;
  text-align: center;
  padding: 12px 50px 12px 20px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  letter-spacing: 0.3px;
  line-height: 1.4;
  z-index: 200;
}

.km-promo-banner:hover {
  background: linear-gradient(90deg, #b76e79 0%, #8e4a54 100%) !important;
}

/* =================================================================
   27. HEADER STICKY UNIVERSEL
   =================================================================== */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: var(--white, #ffffff) !important;
  will-change: transform;
}

body,
.site-wrapper,
#page,
#content {
  overflow-x: visible !important;
}

@media (max-width: 768px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
  }
}

/* =================================================================
   28. WOOCOMMERCE BLOCKS — CODES PROMO (CHIPS)
   =================================================================== */

.wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wc-block-components-totals-coupon,
.wc-block-components-totals-coupon__form {
    background: #fdf9f8 !important;
    border: 1px solid #f0e6e6 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: flex-end !important;
}

.wc-block-components-totals-coupon__input,
.wc-block-components-totals-coupon input[type="text"],
.wc-block-components-text-input input {
    border: 2px solid #e2d5d3 !important;
    border-radius: 30px !important;
    padding: 14px 20px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
    color: #2c2c2c !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
    flex: 1 !important;
    min-width: 200px !important;
    height: 50px !important;
    min-height: 50px !important;
}

.wc-block-components-totals-coupon__input:focus,
.wc-block-components-totals-coupon input:focus {
    border-color: #b76e79 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12) !important;
}

.wc-block-components-totals-coupon__input[aria-invalid="false"],
.wc-block-components-totals-coupon input[aria-invalid="false"] {
    border-color: #e2d5d3 !important;
}

.wc-block-components-totals-coupon__input[aria-invalid="true"] {
    border-color: #f04438 !important;
}

.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon button[type="submit"],
.wc-block-components-totals-coupon .wc-block-components-button {
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 0 30px !important;
    height: 50px !important;
    min-height: 50px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(142, 74, 84, 0.25) !important;
    margin-left: 0 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.wc-block-components-totals-coupon__button:hover,
.wc-block-components-totals-coupon button[type="submit"]:hover {
    background: linear-gradient(135deg, #b76e79 0%, #8e4a54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(142, 74, 84, 0.35) !important;
}

.wc-block-components-totals-coupon__button:disabled {
    background: #e5e5e5 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.wc-block-components-chip,
.wc-block-components-totals-discount__coupon-list-item,
.wc-block-components-totals-discount__coupon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #f7ebe8 !important;
    border: 2px solid #b76e79 !important;
    border-radius: 30px !important;
    padding: 6px 8px 6px 16px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #8e4a54 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    height: auto !important;
    min-height: 36px !important;
    max-width: 100% !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

.wc-block-components-chip__text {
    color: #8e4a54 !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-block !important;
    white-space: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wc-block-components-chip__remove,
.wc-block-components-chip__remove-icon,
.wc-block-components-chip button.wc-block-components-chip__remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    background: #8e4a54 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.wc-block-components-chip__remove:hover,
.wc-block-components-chip__remove:focus {
    background: #6e3540 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.wc-block-components-chip__remove::before,
.wc-block-components-chip__remove::after {
    display: none !important;
}

.wc-block-components-chip,
.wc-block-components-chip:active,
.wc-block-components-chip:focus,
.wc-block-components-chip:hover {
    border-color: #b76e79 !important;
    background-color: #f7ebe8 !important;
    color: #8e4a54 !important;
}

/* VERSION CLASSIQUE WOOCOMMERCE */
.woocommerce-form-coupon,
.woocommerce-form-coupon-toggle {
    background: #fdf9f8 !important;
    border: 1px solid #f0e6e6 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.woocommerce-form-coupon input[type="text"],
.woocommerce-form-coupon input.input-text {
    border: 2px solid #e2d5d3 !important;
    border-radius: 30px !important;
    padding: 14px 20px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
    color: #2c2c2c !important;
    background: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-form-coupon input[type="text"]:focus {
    border-color: #b76e79 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12) !important;
}

.woocommerce-form-coupon button[type="submit"],
.woocommerce-form-coupon .button,
button[name="apply_coupon"] {
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 14px 28px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(142, 74, 84, 0.25) !important;
    margin-left: 10px !important;
    white-space: nowrap !important;
}

.woocommerce-form-coupon button[type="submit"]:hover,
button[name="apply_coupon"]:hover {
    background: linear-gradient(135deg, #b76e79 0%, #8e4a54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(142, 74, 84, 0.35) !important;
}

.woocommerce-form-coupon .form-row {
    display: flex !important;
    gap: 10px !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
}

.woocommerce-form-coupon .form-row-first,
.woocommerce-form-coupon .form-row-last {
    flex: 1 !important;
    min-width: 200px !important;
}

.cart-discount,
.woocommerce-cart .cart-discount {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 0 !important;
    gap: 10px !important;
}

.cart-discount .coupon-name,
.woocommerce-cart .cart-discount__code {
    display: inline-flex !important;
    align-items: center !important;
    background: #f7ebe8 !important;
    color: #8e4a54 !important;
    border: 2px solid #b76e79 !important;
    border-radius: 25px !important;
    padding: 6px 14px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cart-discount a.remove,
.woocommerce-cart .cart-discount__remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    background: #8e4a54 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-left: 8px !important;
    flex-shrink: 0 !important;
}

.cart-discount a.remove:hover {
    background: #6e3540 !important;
    transform: scale(1.1) !important;
}

@media (max-width: 600px) {
    .wc-block-components-totals-coupon,
    .wc-block-components-totals-coupon__form,
    .woocommerce-form-coupon .form-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .wc-block-components-totals-coupon__button,
    .woocommerce-form-coupon button[type="submit"],
    button[name="apply_coupon"] {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .wc-block-components-totals-coupon__input,
    .woocommerce-form-coupon input[type="text"] {
        width: 100% !important;
    }
}

/* =================================================================
   29. WOOCOMMERCE BLOCKS — FORCER LE TEXTE BLANC SUR LES BOUTONS
   =================================================================== */
.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon button[type="submit"],
.wc-block-components-totals-coupon .wc-block-components-button,
.wc-block-components-button.wc-block-components-totals-coupon__button {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
}

.wc-block-components-totals-coupon__button *,
.wc-block-components-totals-coupon button[type="submit"] *,
.wc-block-components-totals-coupon .wc-block-components-button * {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
}

.wc-block-components-totals-coupon__button:hover,
.wc-block-components-totals-coupon button[type="submit"]:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #b76e79 0%, #8e4a54 100%) !important;
}

.wc-block-components-totals-coupon__button:disabled,
.wc-block-components-totals-coupon button[type="submit"]:disabled {
    color: #666 !important;
    background: #e5e5e5 !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.wc-block-components-totals-coupon__button:disabled *,
.wc-block-components-totals-coupon button[type="submit"]:disabled * {
    color: #666 !important;
}

/* =================================================================
   31. MASQUER LE BOUTON PACKLINK UNIQUEMENT SUR LA PAGE DE CONFIRMATION
   =================================================================== */
body.woocommerce-order-received .packlink-pickup-button,
body.woocommerce-order-received .packlink-select-pickup,
body.woocommerce-order-received .plk-pickup-button,
body.woocommerce-order-received button[class*="packlink"],
body.woocommerce-order-received button[class*="pickup"],
body.woocommerce-order-received button[class*="dropoff"],
body.woocommerce-order-received .dplr-pickup-button,
body.woocommerce-order-received .mondial-relay-pickup-button,
body.woocommerce-order-received .mr-pickup-button,
body.woocommerce-order-received #packlink-pickup,
body.woocommerce-order-received .plk-select-dropoff,
body.woocommerce-order-received .plk-btn,
body.woocommerce-order-received [class*="plk-"] button,
body.woocommerce-order-received [id*="packlink"],
body.woocommerce-order-received [class*="packlink"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* =================================================================
   33. PAGE DE CONFIRMATION DE COMMANDE (thankyou)
   =================================================================== */
.km-thankyou-wrapper {
    max-width: 900px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.km-thankyou-hero {
    background: linear-gradient(135deg, #fdf6f5 0%, #ffffff 100%);
    border: 2px solid #f0e6e6;
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(183, 110, 121, 0.08);
}

.km-thankyou-icon {
    font-size: 60px;
    line-height: 1;
    margin-bottom: 15px;
    animation: kmPop 0.5s ease;
}

@keyframes kmPop {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.km-thankyou-title {
    font-family: var(--font-serif);
    font-size: 32px;
    color: #8e4a54;
    margin: 0 0 12px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.km-thankyou-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.km-thankyou-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.km-thankyou-card {
    background: #ffffff;
    border: 1px solid #f0e6e6;
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
    transition: all 0.25s ease;
}

.km-thankyou-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(183, 110, 121, 0.12);
    border-color: #b76e79;
}

.km-card-icon {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 8px;
}

.km-card-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8e4a54;
    font-weight: 600;
    margin-bottom: 6px;
}

.km-card-value {
    font-size: 16px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.3;
}

.km-card-total .km-card-value {
    color: #8e4a54;
    font-size: 20px;
}

.km-thankyou-section {
    background: #ffffff;
    border: 1px solid #f0e6e6;
    border-radius: 20px;
    padding: 28px 26px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.km-section-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: #8e4a54;
    margin: 0 0 22px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f7ebe8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.km-section-icon {
    font-size: 22px;
    line-height: 1;
}

.km-order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.km-order-item {
    background: #fdf9f8;
    border-radius: 14px;
    padding: 18px 20px;
    border-left: 4px solid #b76e79;
    transition: all 0.2s ease;
}

.km-order-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.08);
}

.km-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e5d5d3;
    margin-bottom: 12px;
}

.km-item-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.3;
}

.km-item-qty {
    display: inline-block;
    background: #f7ebe8;
    color: #8e4a54;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
    font-family: var(--font-sans);
}

.km-item-total {
    font-size: 18px;
    font-weight: 700;
    color: #8e4a54;
    white-space: nowrap;
}

.km-item-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.km-meta-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.6;
}

.km-meta-key {
    font-weight: 700;
    color: #8e4a54;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 2px;
}

.km-meta-value {
    color: #2c2c2c;
    font-weight: 500;
}

.km-meta-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 4px;
}

.km-meta-list li {
    position: relative;
    padding-left: 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #2c2c2c;
}

.km-meta-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b76e79;
    font-weight: 700;
}

.km-order-totals {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f7ebe8;
}

.km-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

.km-total-row .km-total-label {
    font-weight: 500;
}

.km-total-row .km-total-value {
    font-weight: 700;
    color: #2c2c2c;
}

.km-total-final {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #f7ebe8;
    font-size: 18px;
}

.km-total-final .km-total-label {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: #8e4a54;
}

.km-total-final .km-total-value {
    font-size: 22px;
    color: #8e4a54;
}

.km-addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.km-address-card {
    background: #fdf9f8;
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid #f0e6e6;
}

.km-address-title {
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8e4a54;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0e6e6;
    font-weight: 700;
}

.km-address-content {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: #2c2c2c;
}

.km-address-content a {
    color: #8e4a54;
    text-decoration: none;
    word-break: break-word;
}

.km-address-content a:hover {
    text-decoration: underline;
}

.km-thankyou-next {
    background: linear-gradient(135deg, #f7ebe8 0%, #fdf9f8 100%);
    border-radius: 20px;
    padding: 25px 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 25px;
    border: 2px solid #f0e6e6;
}

.km-next-icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}

.km-next-content h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: #8e4a54;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.km-next-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.km-next-content strong {
    color: #8e4a54;
    font-weight: 700;
}

.km-thankyou-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.km-btn-primary-thankyou,
.km-btn-secondary-thankyou {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    min-width: 220px;
}

.km-btn-primary-thankyou {
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(142, 74, 84, 0.3);
}

.km-btn-primary-thankyou:hover {
    background: linear-gradient(135deg, #b76e79 0%, #8e4a54 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(142, 74, 84, 0.4);
}

.km-btn-secondary-thankyou {
    background: #ffffff;
    color: #8e4a54 !important;
    border: 2px solid #8e4a54;
}

.km-btn-secondary-thankyou:hover {
    background: #f7ebe8;
    transform: translateY(-2px);
}

.woocommerce-order > .woocommerce-notice,
.woocommerce-order > .woocommerce-order-overview,
.woocommerce-order > .woocommerce-order-details,
.woocommerce-order > .woocommerce-customer-details {
    display: none !important;
}

@media (max-width: 768px) {
    .km-thankyou-wrapper {
        padding: 0 15px;
        margin: 20px auto 40px;
    }

    .km-thankyou-hero {
        padding: 30px 20px;
        border-radius: 18px;
    }

    .km-thankyou-icon { font-size: 45px; }
    .km-thankyou-title { font-size: 24px; }
    .km-thankyou-subtitle { font-size: 14px; }

    .km-thankyou-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .km-thankyou-card {
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: left;
    }

    .km-card-icon { font-size: 22px; margin: 0; }
    .km-card-label { margin: 0; flex: 1; }
    .km-card-value { text-align: right; }

    .km-thankyou-section {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .km-section-title { font-size: 18px; }

    .km-order-item { padding: 15px; }
    .km-item-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .km-item-name { font-size: 15px; }
    .km-item-total { font-size: 16px; }

    .km-meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .km-meta-list { grid-template-columns: 1fr; }

    .km-addresses-grid { grid-template-columns: 1fr; }

    .km-thankyou-next {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
    }

    .km-next-icon { font-size: 32px; }

    .km-btn-primary-thankyou,
    .km-btn-secondary-thankyou {
        width: 100%;
        min-width: auto;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .km-thankyou-title { font-size: 22px; }
    .km-total-final .km-total-value { font-size: 20px; }
    .km-total-final .km-total-label { font-size: 16px; }
}

/* =================================================================
   34. BOUTON TÉLÉCHARGER FACTURE (page de confirmation)
   =================================================================== */
.km-btn-invoice-thankyou {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
    min-width: 220px;
    background: linear-gradient(135deg, #f7ebe8 0%, #ffffff 100%);
    color: #8e4a54 !important;
    border: 2px solid #b76e79;
    box-shadow: 0 2px 8px rgba(183, 110, 121, 0.15);
    position: relative;
}

.km-btn-invoice-thankyou:hover {
    background: linear-gradient(135deg, #b76e79 0%, #8e4a54 100%);
    color: #ffffff !important;
    border-color: #8e4a54;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 110, 121, 0.35);
}

.km-btn-invoice-thankyou::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
}

@media (max-width: 768px) {
    .km-btn-invoice-thankyou {
        width: 100%;
        min-width: auto;
        padding: 14px 24px;
    }
}

/* =================================================================
   35. MENU MOBILE HAMBURGER
   =================================================================== */
.km-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 10002;
  position: relative;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.km-menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text, #2c2c2c);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.km-menu-toggle.is-open .km-menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #8e4a54;
}
.km-menu-toggle.is-open .km-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.km-menu-toggle.is-open .km-menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #8e4a54;
}

.km-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.km-mobile-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.km-menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .site-branding {
    text-align: left !important;
    flex: 1;
  }

  .km-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: #ffffff;
    padding: 80px 25px 30px;
    box-sizing: border-box;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
    display: block !important;
  }

  .main-nav.is-open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100%;
    flex-wrap: nowrap !important;
  }

  .main-nav li {
    width: 100%;
    border-bottom: 1px solid #f0e6e6;
  }

  .main-nav li::after {
    display: none !important;
  }

  .main-nav li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 18px 8px !important;
    font-size: 14px !important;
    text-align: left;
    letter-spacing: 1.5px !important;
    color: var(--dark-text, #2c2c2c) !important;
  }

  .main-nav a::before {
    display: none;
  }

  .main-nav a:hover {
    color: #8e4a54 !important;
    padding-left: 14px !important;
    transition: padding 0.2s ease, color 0.2s ease;
  }

  .main-nav .menu-item-cart-dropdown {
    margin-left: 0 !important;
    width: 100%;
  }

  .main-nav .menu-item-cart-dropdown > a {
    font-size: 14px !important;
    color: #8e4a54 !important;
  }

  .main-nav .cart-dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 8px !important;
    box-shadow: none !important;
    border: 1px solid #f0e6e6 !important;
  }

  .main-nav .menu-item-cart-dropdown:hover .cart-dropdown-menu,
  .main-nav .menu-item-cart-dropdown:focus-within .cart-dropdown-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .main-nav {
    width: 88%;
    padding: 70px 20px 25px;
  }

  .main-nav a {
    font-size: 13px !important;
    padding: 16px 6px !important;
  }
}

/* =================================================================
   36. RÉCAP PANIER / CHECKOUT / EMAILS — MÉTADONNÉES SUR-MESURE
   =================================================================== */

/* --- PANIER (page panier) --- */
.km-cart-item-meta {
    margin-top: 10px;
    padding: 10px 12px;
    background: #fdf9f8;
    border-left: 3px solid #b76e79;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.5;
}

.km-cart-meta-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    padding: 4px 0;
    align-items: flex-start;
}

.km-cart-meta-key {
    font-weight: 700;
    color: #8e4a54;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 2px;
}

.km-cart-meta-value {
    color: #2c2c2c;
    font-weight: 500;
}

.km-cart-meta-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.km-cart-meta-list li {
    position: relative;
    padding-left: 14px;
    font-size: 12.5px;
    line-height: 1.6;
}

.km-cart-meta-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b76e79;
    font-weight: 700;
}

/* Force l'affichage des métadonnées dans la colonne produit */
.woocommerce-cart-form .product-name dl.variation,
.woocommerce-cart-form .product-name .wc-item-meta {
    display: none !important;
}

/* --- CHECKOUT (récap commande) --- */
.km-checkout-item-name {
    font-weight: 600;
    color: #2c2c2c;
}

.km-checkout-item-meta {
    margin-top: 10px;
    padding: 10px 12px;
    background: #fdf9f8;
    border-left: 3px solid #b76e79;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.km-checkout-meta-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 8px;
    padding: 3px 0;
    align-items: flex-start;
}

.km-checkout-meta-key {
    font-weight: 700;
    color: #8e4a54;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 2px;
}

.km-checkout-meta-value {
    color: #2c2c2c;
    font-weight: 500;
}

.km-checkout-meta-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.km-checkout-meta-list li {
    position: relative;
    padding-left: 12px;
    font-size: 12px;
    line-height: 1.55;
}

.km-checkout-meta-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b76e79;
    font-weight: 700;
}

/* --- EMAILS --- */
.km-email-item-name {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 15px;
    margin-bottom: 4px;
}

.km-email-item-qty {
    color: #888;
    font-weight: 400;
    margin-left: 6px;
}

.km-email-item-meta {
    margin-top: 12px;
    padding: 12px 14px;
    background: #fdf9f8;
    border-left: 3px solid #b76e79;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.km-email-meta-row {
    padding: 4px 0;
}

.km-email-meta-key {
    color: #8e4a54;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
    font-weight: 700;
}

.km-email-meta-value {
    color: #2c2c2c;
    font-weight: 500;
}

.km-email-meta-list {
    margin: 6px 0 0 0;
    padding: 0;
    list-style: none;
}

.km-email-meta-list li {
    position: relative;
    padding-left: 14px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #2c2c2c;
}

.km-email-meta-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b76e79;
    font-weight: 700;
}

.km-email-purchase-note {
    margin: 10px 0 0 0;
    padding: 10px 12px;
    background: #fff5f6;
    border-left: 3px solid #b76e79;
    border-radius: 6px;
    font-size: 12.5px;
    color: #8e4a54;
    font-style: italic;
}

@media (max-width: 600px) {
    .km-cart-meta-row,
    .km-checkout-meta-row {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 6px 0;
    }

    .km-cart-meta-key,
    .km-checkout-meta-key {
        padding-top: 0;
    }

    .km-cart-item-meta,
    .km-checkout-item-meta {
        padding: 10px;
        font-size: 12px;
    }
}

/* =================================================================
   37. PAGE PANIER — REFONTE COMPLÈTE
   =================================================================== */

/* ─── Conteneur global ─── */
.woocommerce-cart-form {
    margin-bottom: 30px;
}

.woocommerce-cart-form .shop_table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #f0e6e6 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(183, 110, 121, 0.06) !important;
}

/* ─── En-têtes de colonnes ─── */
.woocommerce-cart-form .shop_table thead th {
    background: linear-gradient(135deg, #fdf6f5 0%, #f7ebe8 100%) !important;
    color: #8e4a54 !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 18px 15px !important;
    border: none !important;
    border-bottom: 2px solid #e2bcbf !important;
    text-align: left !important;
}

.woocommerce-cart-form .shop_table thead th.product-thumbnail,
.woocommerce-cart-form .shop_table thead th.product-remove {
    width: 50px !important;
}

.woocommerce-cart-form .shop_table thead th.product-price,
.woocommerce-cart-form .shop_table thead th.product-quantity,
.woocommerce-cart-form .shop_table thead th.product-subtotal {
    text-align: center !important;
    width: 110px !important;
}

/* ─── Corps du tableau ─── */
.woocommerce-cart-form .shop_table tbody tr {
    background: #fff !important;
    transition: background 0.2s ease;
}

.woocommerce-cart-form .shop_table tbody tr:hover {
    background: #fdfafa !important;
}

.woocommerce-cart-form .shop_table tbody td {
    padding: 22px 15px !important;
    border: none !important;
    border-bottom: 1px solid #f8f0ef !important;
    vertical-align: middle !important;
    color: #2c2c2c !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
}

.woocommerce-cart-form .shop_table tbody tr:last-child td {
    border-bottom: none !important;
}

/* ─── Bouton supprimer (croix) ─── */
.woocommerce-cart-form .product-remove {
    text-align: center !important;
    width: 50px !important;
}

.woocommerce-cart-form .product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #fdf6f5 !important;
    color: #b76e79 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: 1px solid #f0e6e6 !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart-form .product-remove a.remove:hover {
    background: #b76e79 !important;
    color: #fff !important;
    border-color: #b76e79 !important;
    transform: rotate(90deg);
}

/* ─── Vignette produit ─── */
.woocommerce-cart-form .product-thumbnail {
    width: 90px !important;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #f0e6e6 !important;
    display: block !important;
}

/* ─── Nom du produit ─── */
.woocommerce-cart-form .product-name a {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
    transition: color 0.2s ease;
}

.woocommerce-cart-form .product-name a:hover {
    color: #b76e79 !important;
}

/* ─── Encadré métadonnées (mon bloc rosé) ─── */
.woocommerce-cart-form .product-name .km-cart-item-meta {
    margin-top: 12px !important;
    padding: 14px 16px !important;
    background: #fdf9f8 !important;
    border-left: 3px solid #b76e79 !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
}

.woocommerce-cart-form .product-name .km-cart-meta-row {
    display: grid !important;
    grid-template-columns: 130px 1fr !important;
    gap: 10px !important;
    padding: 6px 0 !important;
    align-items: start !important;
    border-bottom: 1px dashed #f0e6e6 !important;
}

.woocommerce-cart-form .product-name .km-cart-meta-row:last-child {
    border-bottom: none !important;
}

.woocommerce-cart-form .product-name .km-cart-meta-key {
    font-weight: 700 !important;
    color: #8e4a54 !important;
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding-top: 2px !important;
}

.woocommerce-cart-form .product-name .km-cart-meta-value {
    color: #2c2c2c !important;
    font-weight: 500 !important;
    word-break: break-word !important;
}

/* ─── Découpe automatique des doigts (Designs/Mesures) ─── */
.woocommerce-cart-form .product-name .km-cart-meta-value {
    white-space: normal !important;
}

/* ─── Prix unitaire ─── */
.woocommerce-cart-form .product-price {
    text-align: center !important;
    font-weight: 600 !important;
    color: #555 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
}

/* ─── Champ quantité ─── */
.woocommerce-cart-form .product-quantity {
    text-align: center !important;
}

.woocommerce-cart-form .quantity {
    display: inline-block !important;
    position: relative !important;
}

.woocommerce-cart-form .quantity input.qty {
    width: 70px !important;
    height: 42px !important;
    padding: 8px 10px !important;
    border: 2px solid #f0e6e6 !important;
    border-radius: 30px !important;
    background: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important;
    text-align: center !important;
    transition: border-color 0.2s ease !important;
    -moz-appearance: textfield !important;
}

.woocommerce-cart-form .quantity input.qty:focus {
    border-color: #b76e79 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.12) !important;
}

.woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ─── Sous-total ─── */
.woocommerce-cart-form .product-subtotal {
    text-align: center !important;
    font-weight: 700 !important;
    color: #8e4a54 !important;
    font-size: 16px !important;
    white-space: nowrap !important;
}

/* ─── Ligne "Actions" (code promo + bouton mise à jour) ─── */
.woocommerce-cart-form .actions {
    background: #fdfafa !important;
    padding: 18px 15px !important;
    border-top: 1px solid #f0e6e6 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.woocommerce-cart-form .coupon {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.woocommerce-cart-form .coupon input[type="text"] {
    width: 200px !important;
    height: 44px !important;
    padding: 0 18px !important;
    border: 2px solid #f0e6e6 !important;
    border-radius: 30px !important;
    background: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 13px !important;
    color: #2c2c2c !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-cart-form .coupon input[type="text"]:focus {
    border-color: #b76e79 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1) !important;
}

.woocommerce-cart-form .coupon button.button {
    height: 44px !important;
    padding: 0 26px !important;
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(142, 74, 84, 0.25) !important;
    white-space: nowrap !important;
}

.woocommerce-cart-form .coupon button.button:hover {
    background: linear-gradient(135deg, #b76e79 0%, #8e4a54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(142, 74, 84, 0.35) !important;
}

.woocommerce-cart-form button[name="update_cart"] {
    height: 44px !important;
    padding: 0 26px !important;
    background: #fff !important;
    color: #8e4a54 !important;
    border: 2px solid #f0e6e6 !important;
    border-radius: 30px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}

.woocommerce-cart-form button[name="update_cart"]:hover {
    background: #fdf6f5 !important;
    border-color: #b76e79 !important;
}

/* =================================================================
   38. TOTAL PANIER (cart-collaterals)
   =================================================================== */

.cart-collaterals {
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: 30px !important;
}

.cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
}

.cart-collaterals .cart_totals h2 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 22px !important;
    color: #8e4a54 !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 14px !important;
    border-bottom: 2px solid #f7ebe8 !important;
    font-weight: 700 !important;
}

.cart-collaterals .shop_table {
    border: 1px solid #f0e6e6 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(183, 110, 121, 0.06) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.cart-collaterals .shop_table tr {
    background: #fff !important;
}

.cart-collaterals .shop_table tr.cart-subtotal {
    background: #fdfafa !important;
}

.cart-collaterals .shop_table tr.order-total {
    background: linear-gradient(135deg, #fdf6f5 0%, #f7ebe8 100%) !important;
}

.cart-collaterals .shop_table th {
    padding: 16px 22px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #555 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid #f8f0ef !important;
    width: 40% !important;
    vertical-align: middle !important;
}

.cart-collaterals .shop_table td {
    padding: 16px 22px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important;
    text-align: right !important;
    border: none !important;
    border-bottom: 1px solid #f8f0ef !important;
    vertical-align: middle !important;
}

.cart-collaterals .shop_table tr:last-child th,
.cart-collaterals .shop_table tr:last-child td {
    border-bottom: none !important;
}

/* Total final */
.cart-collaterals .shop_table tr.order-total th {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #8e4a54 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.cart-collaterals .shop_table tr.order-total td {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #8e4a54 !important;
}

.cart-collaterals .shop_table tr.order-total td .amount {
    color: #8e4a54 !important;
}

/* Frais de livraison : plus discrets */
.cart-collaterals .shop_table tr.cart-subtotal th,
.cart-collaterals .shop_table tr.cart-subtotal td {
    font-size: 14px !important;
    color: #555 !important;
}

/* ─── Section "Expédition" (options, code postal, etc.) ─── */
.cart-collaterals .woocommerce-shipping-totals {
    background: #fdfafa !important;
}

.cart-collaterals .woocommerce-shipping-totals td {
    text-align: left !important;
    padding: 18px 22px !important;
}

.cart-collaterals .woocommerce-shipping-totals ul {
    margin: 8px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.cart-collaterals .woocommerce-shipping-totals li {
    padding: 8px 0 !important;
    font-size: 13px !important;
    color: #555 !important;
    line-height: 1.5 !important;
}

/* ─── Bouton "Valider la commande" ─── */
.cart-collaterals .wc-proceed-to-checkout {
    padding: 20px 0 0 !important;
    margin: 0 !important;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 18px 30px !important;
    background: linear-gradient(135deg, #8e4a54 0%, #6e3540 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 30px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-decoration: none !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 6px 20px rgba(142, 74, 84, 0.3) !important;
}

.cart-collaterals .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, #b76e79 0%, #8e4a54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(142, 74, 84, 0.4) !important;
    color: #ffffff !important;
}

/* =================================================================
   39. RESPONSIVE PANIER (≤ 768px)
   =================================================================== */

@media (max-width: 768px) {

    /* Le tableau se transforme en "cartes" */
    .woocommerce-cart-form .shop_table thead {
        display: none !important;
    }

    .woocommerce-cart-form .shop_table,
    .woocommerce-cart-form .shop_table tbody,
    .woocommerce-cart-form .shop_table tr,
    .woocommerce-cart-form .shop_table td {
        display: block !important;
        width: 100% !important;
    }

    .woocommerce-cart-form .shop_table {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .woocommerce-cart-form .shop_table tbody tr {
        background: #fff !important;
        border: 1px solid #f0e6e6 !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
        padding: 20px 16px !important;
        position: relative !important;
        box-shadow: 0 4px 15px rgba(183, 110, 121, 0.05) !important;
    }

    .woocommerce-cart-form .shop_table td {
        padding: 8px 0 !important;
        border: none !important;
        text-align: left !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 13px !important;
    }

    .woocommerce-cart-form .shop_table td::before {
        content: attr(data-title) !important;
        font-weight: 700 !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.8px !important;
        color: #8e4a54 !important;
        flex-shrink: 0 !important;
    }

    /* Le bouton remove reste en haut à droite */
    .woocommerce-cart-form .product-remove {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: auto !important;
        padding: 0 !important;
    }

    .woocommerce-cart-form .product-remove::before {
        display: none !important;
    }

    /* Vignette + nom côte à côte */
    .woocommerce-cart-form .product-thumbnail {
        width: auto !important;
        justify-content: flex-start !important;
    }

    .woocommerce-cart-form .product-thumbnail::before {
        display: none !important;
    }

    .woocommerce-cart-form .product-thumbnail img {
        width: 60px !important;
        height: 60px !important;
    }

    .woocommerce-cart-form .product-name {
        display: block !important;
        text-align: left !important;
    }

    .woocommerce-cart-form .product-name::before {
        display: none !important;
    }

    .woocommerce-cart-form .product-name a {
        font-size: 16px !important;
    }

    .woocommerce-cart-form .product-price,
    .woocommerce-cart-form .product-quantity,
    .woocommerce-cart-form .product-subtotal {
        text-align: left !important;
    }

    .woocommerce-cart-form .product-subtotal {
        font-size: 16px !important;
        padding-top: 12px !important;
        border-top: 1px dashed #f0e6e6 !important;
        margin-top: 8px !important;
    }

    /* Meta en pleine largeur */
    .woocommerce-cart-form .product-name .km-cart-item-meta {
        margin-top: 14px !important;
        padding: 12px 14px !important;
    }

    .woocommerce-cart-form .product-name .km-cart-meta-row {
        grid-template-columns: 1fr !important;
        gap: 4px !important;
        padding: 8px 0 !important;
    }

    /* Actions en colonne */
    .woocommerce-cart-form .actions {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px !important;
        border: 1px solid #f0e6e6 !important;
        border-radius: 16px !important;
    }

    .woocommerce-cart-form .coupon {
        flex-direction: column !important;
        width: 100% !important;
    }

    .woocommerce-cart-form .coupon input[type="text"],
    .woocommerce-cart-form .coupon button.button,
    .woocommerce-cart-form button[name="update_cart"] {
        width: 100% !important;
        margin: 0 !important;
    }

    /* Total panier pleine largeur */
    .cart-collaterals {
        max-width: 100% !important;
        margin-top: 24px !important;
    }

    .cart-collaterals .shop_table th,
    .cart-collaterals .shop_table td {
        padding: 14px 16px !important;
        font-size: 13px !important;
    }

    .cart-collaterals .shop_table tr.order-total td {
        font-size: 20px !important;
    }

    .cart-collaterals .shop_table tr.order-total th {
        font-size: 14px !important;
    }
}

/* =================================================================
   40. MASQUER LE DOUBLON DE NOM PRODUIT (km-sur-mesure)
   =================================================================== */
/* Masque le 2e titre "Press-on sur-mesure" ajouté par le plugin */
.woocommerce-cart-form .product-name + .product-name,
.woocommerce-cart-form .km-cart-item-meta ~ .product-name,
.woocommerce-cart-form td.product-name > p.product-name {
    display: none !important;
}

/* =================================================================
   41. CORRECTIONS FINALES PANIER
   =================================================================== */

/* Retirer le fond rosé autour du tableau */
.woocommerce-cart-form,
.woocommerce-cart-form .shop_table,
.woocommerce-cart-form .shop_table tbody,
.woocommerce-cart-form .shop_table tbody tr,
.woocommerce-cart-form .shop_table tbody td {
    background-color: #ffffff !important;
}

.woocommerce-cart-form .shop_table thead {
    background: transparent !important;
}

.woocommerce-cart-form .shop_table thead tr,
.woocommerce-cart-form .shop_table thead th {
    background: linear-gradient(135deg, #fdf6f5 0%, #f7ebe8 100%) !important;
}

/* Retirer la bordure externe si elle est trop marquée */
.woocommerce-cart-form .shop_table {
    border: 1px solid #f0e6e6 !important;
    box-shadow: 0 4px 20px rgba(183, 110, 121, 0.06) !important;
}

/* Masquer le doublon "Press-on sur-mesure" injecté par le plugin */
.woocommerce-cart-form__cart-item td.product-name > strong,
.woocommerce-cart-form__cart-item td.product-name > b,
.woocommerce-cart-form__cart-item td.product-name > h3,
.woocommerce-cart-form__cart-item td.product-name > h4,
.woocommerce-cart-form__cart-item td.product-name p:first-child:not(.km-cart-item-meta) + p:not(.km-cart-item-meta) {
    display: none !important;
}

/* Force le nom du produit en premier, propre */
.woocommerce-cart-form__cart-item td.product-name > a:first-child {
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 1.1rem !important;
}

/* Découper les doigts dans les métadonnées (designs + mesures) */
.woocommerce-cart-form .km-cart-meta-value {
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

/* =================================================================
   42. FOND BLANC POUR LE PANIER (annule le fond rosé)
   =================================================================== */

/* Fond général de la page panier */
.woocommerce-cart,
.woocommerce-cart .woocommerce,
.woocommerce-cart #main-content,
.woocommerce-cart main#main-content,
.woocommerce-cart .entry-content,
.woocommerce-cart .woocommerce-cart-form {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Conteneur principal */
.woocommerce-cart .container,
.woocommerce-cart .km-custom-shop-container {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Tableau panier */
.woocommerce-cart .shop_table,
.woocommerce-cart .shop_table tbody,
.woocommerce-cart .shop_table tbody tr,
.woocommerce-cart .shop_table tbody td {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Section Total panier */
.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart_totals,
.woocommerce-cart .cart_totals .shop_table,
.woocommerce-cart .cart_totals .shop_table tbody,
.woocommerce-cart .cart_totals .shop_table tr,
.woocommerce-cart .cart_totals .shop_table td,
.woocommerce-cart .cart_totals .shop_table th {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Garde uniquement le fond rosé pour la ligne de total final */
.woocommerce-cart .cart_totals .shop_table tr.order-total {
    background: linear-gradient(135deg, #fdf6f5 0%, #f7ebe8 100%) !important;
}

/* Ligne d'actions (code promo + mettre à jour) */
.woocommerce-cart .woocommerce-cart-form .actions {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Tableau des en-têtes (PRODUIT, PRIX, etc.) — on garde le fond rosé pâle */
.woocommerce-cart .shop_table thead th {
    background: linear-gradient(135deg, #fdf6f5 0%, #f7ebe8 100%) !important;
}

/* Body : on enlève le fond rosé global du body si présent */
body.woocommerce-cart,
body.woocommerce-cart .site-wrapper,
body.woocommerce-cart #page,
body.woocommerce-cart #content {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* =================================================================
   44. MENU DÉROULANT POUR LES DÉTAILS DU SET (panier)
   =================================================================== */

/* Conteneur principal des infos */
.woocommerce-cart-form .km-cart-item-meta {
    margin-top: 12px !important;
    padding: 12px 14px !important;
    background: #fdf9f8 !important;
    border-left: 3px solid #b76e79 !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

/* Lignes d'infos principales */
.woocommerce-cart-form .km-cart-meta-row {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    gap: 10px !important;
    padding: 4px 0 !important;
    align-items: start !important;
}

.woocommerce-cart-form .km-cart-meta-key {
    font-weight: 700 !important;
    color: #8e4a54 !important;
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding-top: 2px !important;
}

.woocommerce-cart-form .km-cart-meta-value {
    color: #2c2c2c !important;
    font-weight: 500 !important;
}

/* ─── Menu déroulant ─── */
.woocommerce-cart-form .km-cart-details {
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 1px dashed #f0e6e6 !important;
}

.woocommerce-cart-form .km-cart-details-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    list-style: none !important;
    padding: 8px 10px !important;
    background: #ffffff !important;
    border: 1px solid #f0e6e6 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #8e4a54 !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.woocommerce-cart-form .km-cart-details-toggle::-webkit-details-marker {
    display: none !important;
}

.woocommerce-cart-form .km-cart-details-toggle:hover {
    background: #fdf6f5 !important;
    border-color: #b76e79 !important;
}

.woocommerce-cart-form .km-cart-details-label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.woocommerce-cart-form .km-cart-details-count {
    font-size: 10px !important;
    color: #b76e79 !important;
    font-weight: 500 !important;
}

.woocommerce-cart-form .km-cart-details-arrow {
    font-size: 10px !important;
    color: #b76e79 !important;
    transition: transform 0.25s ease !important;
    display: inline-block !important;
}

/* Rotation de la flèche quand ouvert */
.woocommerce-cart-form .km-cart-details[open] .km-cart-details-arrow {
    transform: rotate(180deg) !important;
}

/* Contenu du menu déroulant */
.woocommerce-cart-form .km-cart-details-content {
    padding: 12px 4px 4px !important;
    animation: kmSlideDown 0.25s ease !important;
}

@keyframes kmSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Bloc individuel (designs, mesures) */
.woocommerce-cart-form .km-cart-detail-block {
    margin-bottom: 14px !important;
}

.woocommerce-cart-form .km-cart-detail-block:last-child {
    margin-bottom: 0 !important;
}

.woocommerce-cart-form .km-cart-detail-title {
    font-weight: 700 !important;
    color: #8e4a54 !important;
    font-size: 10.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
    border-bottom: 1px solid #f0e6e6 !important;
}

.woocommerce-cart-form .km-cart-detail-text {
    margin: 0 !important;
    color: #2c2c2c !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

/* Liste des doigts (designs/mesures) */
.woocommerce-cart-form .km-cart-meta-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-cart-form .km-cart-meta-list li {
    position: relative !important;
    padding: 2px 0 2px 14px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #2c2c2c !important;
}

.woocommerce-cart-form .km-cart-meta-list li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: #b76e79 !important;
    font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 600px) {
    .woocommerce-cart-form .km-cart-meta-row {
        grid-template-columns: 90px 1fr !important;
    }

    .woocommerce-cart-form .km-cart-details-toggle {
        font-size: 11px !important;
        padding: 7px 8px !important;
    }
}

/* =================================================================
   45. PANIER — INSPIRATION SITES PRESS-ON NAILS PREMIUM
   =================================================================== */

/* ─── Carte produit (le row entier) ─── */
.woocommerce-cart-form .shop_table tbody tr {
    background: #ffffff !important;
    border-bottom: 1px solid #f5ebe9 !important;
    transition: background 0.2s ease !important;
}

.woocommerce-cart-form .shop_table tbody tr:hover {
    background: #fefcfb !important;
}

.woocommerce-cart-form .shop_table tbody td {
    padding: 28px 20px !important;
    vertical-align: top !important;
}

/* ─── Vignette produit (plus grande) ─── */
.woocommerce-cart-form .product-thumbnail {
    width: 120px !important;
    min-width: 120px !important;
    padding-right: 20px !important;
    vertical-align: top !important;
}

.woocommerce-cart-form .product-thumbnail img {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
    border: 1px solid #f0e6e6 !important;
    background: #fdf9f8 !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(183, 110, 121, 0.08) !important;
}

/* ─── Colonne produit ─── */
.woocommerce-cart-form .product-name {
    min-width: 320px !important;
    vertical-align: top !important;
    padding-left: 4px !important;
}

/* Nom du produit — style serif premium */
.woocommerce-cart-form .product-name > a {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2c2c2c !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 12px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px !important;
    transition: color 0.2s ease !important;
}

.woocommerce-cart-form .product-name > a:hover {
    color: #b76e79 !important;
}

/* ─── Encadré meta — style "carte config" ─── */
.woocommerce-cart-form .km-cart-item-meta {
    margin-top: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Lignes d'infos principales — plus aérées */
.woocommerce-cart-form .km-cart-meta-row {
    display: grid !important;
    grid-template-columns: 95px 1fr !important;
    gap: 10px !important;
    padding: 5px 0 !important;
    align-items: baseline !important;
}

.woocommerce-cart-form .km-cart-meta-key {
    font-weight: 600 !important;
    color: #a88b8f !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding-top: 1px !important;
}

.woocommerce-cart-form .km-cart-meta-value {
    color: #2c2c2c !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* ─── Toggle "Voir le détail" ─── */
.woocommerce-cart-form .km-cart-details {
    margin-top: 10px !important;
    padding-top: 0 !important;
    border-top: none !important;
}

.woocommerce-cart-form .km-cart-details-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: #fdf9f8 !important;
    border: 1px solid #f0e6e6 !important;
    border-radius: 30px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #8e4a54 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    user-select: none !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    list-style: none !important;
}

.woocommerce-cart-form .km-cart-details-toggle::-webkit-details-marker {
    display: none !important;
}

.woocommerce-cart-form .km-cart-details-toggle:hover {
    background: #fdf6f5 !important;
    border-color: #b76e79 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(183, 110, 121, 0.1) !important;
}

.woocommerce-cart-form .km-cart-details-count {
    font-size: 10px !important;
    color: #b76e79 !important;
    font-weight: 500 !important;
    opacity: 0.7 !important;
}

.woocommerce-cart-form .km-cart-details-arrow {
    font-size: 8px !important;
    color: #b76e79 !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.woocommerce-cart-form .km-cart-details[open] .km-cart-details-arrow {
    transform: rotate(180deg) !important;
}

/* ─── Contenu déroulant ─── */
.woocommerce-cart-form .km-cart-details-content {
    margin-top: 12px !important;
    padding: 16px 18px !important;
    background: #fdf9f8 !important;
    border-radius: 12px !important;
    border: 1px solid #f5ebe9 !important;
    animation: kmSlideDown 0.3s ease !important;
}

@keyframes kmSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.woocommerce-cart-form .km-cart-detail-block {
    margin-bottom: 16px !important;
}

.woocommerce-cart-form .km-cart-detail-block:last-child {
    margin-bottom: 0 !important;
}

.woocommerce-cart-form .km-cart-detail-title {
    font-weight: 700 !important;
    color: #a88b8f !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid #f0e6e6 !important;
}

/* Liste des doigts — 2 colonnes sur desktop */
.woocommerce-cart-form .km-cart-meta-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px 20px !important;
}

.woocommerce-cart-form .km-cart-meta-list li {
    position: relative !important;
    padding: 3px 0 3px 14px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    color: #2c2c2c !important;
}

.woocommerce-cart-form .km-cart-meta-list li::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    color: #b76e79 !important;
    font-weight: 700 !important;
    font-size: 10px !important;
}

/* ─── Prix & Quantité ─── */
.woocommerce-cart-form .product-price {
    text-align: center !important;
    font-weight: 500 !important;
    color: #888 !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    vertical-align: top !important;
    padding-top: 30px !important;
}

.woocommerce-cart-form .product-quantity {
    text-align: center !important;
    vertical-align: top !important;
    padding-top: 28px !important;
}

.woocommerce-cart-form .quantity input.qty {
    width: 64px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 1.5px solid #f0e6e6 !important;
    border-radius: 30px !important;
    background: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important;
    text-align: center !important;
    transition: border-color 0.2s ease !important;
    -moz-appearance: textfield !important;
}

.woocommerce-cart-form .quantity input.qty:focus {
    border-color: #b76e79 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1) !important;
}

.woocommerce-cart-form .product-subtotal {
    text-align: right !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 700 !important;
    color: #8e4a54 !important;
    font-size: 20px !important;
    white-space: nowrap !important;
    vertical-align: top !important;
    padding-top: 28px !important;
}

/* ─── Bouton supprimer (croix) ─── */
.woocommerce-cart-form .product-remove {
    width: 36px !important;
    min-width: 36px !important;
    text-align: center !important;
    vertical-align: top !important;
    padding-top: 30px !important;
}

.woocommerce-cart-form .product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #cbb3b6 !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    border: 1px solid #f0e6e6 !important;
    transition: all 0.2s ease !important;
}

.woocommerce-cart-form .product-remove a.remove:hover {
    background: #8e4a54 !important;
    color: #fff !important;
    border-color: #8e4a54 !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* ─── Barre d'actions (code promo) ─── */
.woocommerce-cart-form .actions {
    background: #fefcfb !important;
    padding: 20px 24px !important;
    border-top: 1px solid #f5ebe9 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.woocommerce-cart-form .coupon input[type="text"] {
    width: 200px !important;
    height: 44px !important;
    padding: 0 20px !important;
    border: 1.5px solid #f0e6e6 !important;
    border-radius: 30px !important;
    background: #fff !important;
    font-size: 13px !important;
    color: #2c2c2c !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-cart-form .coupon input[type="text"]::placeholder {
    color: #cbb3b6 !important;
}

.woocommerce-cart-form .coupon input[type="text"]:focus {
    border-color: #b76e79 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.08) !important;
}

.woocommerce-cart-form .coupon button.button {
    height: 44px !important;
    padding: 0 28px !important;
    background: #2c2c2c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart-form .coupon button.button:hover {
    background: #8e4a54 !important;
    transform: translateY(-1px) !important;
}

.woocommerce-cart-form button[name="update_cart"] {
    height: 44px !important;
    padding: 0 28px !important;
    background: transparent !important;
    color: #a88b8f !important;
    border: 1.5px solid #f0e6e6 !important;
    border-radius: 30px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.woocommerce-cart-form button[name="update_cart"]:hover {
    background: #fdf9f8 !important;
    border-color: #b76e79 !important;
    color: #8e4a54 !important;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .woocommerce-cart-form .product-thumbnail {
        width: 90px !important;
        min-width: 90px !important;
        padding-right: 12px !important;
    }

    .woocommerce-cart-form .product-thumbnail img {
        width: 80px !important;
        height: 80px !important;
    }

    .woocommerce-cart-form .product-name > a {
        font-size: 17px !important;
    }

    .woocommerce-cart-form .km-cart-meta-list {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-cart-form .product-subtotal {
        font-size: 17px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-cart-form .product-thumbnail {
        width: 70px !important;
        min-width: 70px !important;
    }

    .woocommerce-cart-form .product-thumbnail img {
        width: 65px !important;
        height: 65px !important;
    }

    .woocommerce-cart-form .product-name > a {
        font-size: 15px !important;
    }
}

/* =================================================================
   46. LIEU DE FABRICATION (LOI AGEC)
   =================================================================== */

.km-fabrication-location {
    display: inline-block !important;
    margin: 10px 0 15px !important;
    padding: 8px 14px !important;
    background: #fdf9f8 !important;
    border-left: 3px solid #b76e79 !important;
    border-radius: 6px !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #2c2c2c !important;
    line-height: 1.4 !important;
}

.km-fabrication-label {
    color: #8e4a54 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 11px !important;
}

.km-fabrication-value {
    color: #2c2c2c !important;
    font-weight: 600 !important;
}