/* ============================================================================
   LAVHOME ESPACE CLIENT - ISOLÉ DU FORMULAIRE ABONNÉ
   ============================================================================ */

:root {
  --lavhome-bg: #fffffd;
  --lavhome-card: #fffffd;
  --lavhome-border: #dedede;
  --lavhome-grisclair:#ededed;
  --lavhome-grisveryclair:#f5f5f5;
  --lavhome-text: #2a2a2a;
  --lavhome-gris:#494949;
  --lavhome-muted: #9aa0a6;
  --lavhome-accent: #F9E830;
  --lavhome-accent-soft: #ffe580;
  --lavhome-accent-pale: #fff5d6;
  --lavhome-accent-very-pale: #fcf5e2;
  --lavhome-accent2: #3a8c8e;
  --lavhome-accent2-08: rgba(58, 141, 142, 0.8);
  --lavhome-accent2-05: rgba(58, 141, 142, 0.5);
  --lavhome-accent2-005: rgba(58, 140, 142, 0.05);
  --lavhome-accent2-01: rgba(58, 140, 142, 0.1);
  --lavhome-accent2-015 : rgba(58, 140, 142, 0.15);
  --lavhome-accent2-03: rgba(58, 140, 142, 0.3);
  --lavhome-danger: rgb(255, 107, 107);
  --lavhome-danger-01:rgba(255, 107, 107, 0.1);
  --lavhome-radius: 10px;
  --lavhome-shadow-2: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  --lavhome-shadow: 0px 0px 5px 3px rgba(0,0,0,0.05);
  --titi:"Titillium Web", sans-serif;
  --anton: "Anton", sans-serif;


.e-con-inner  {
  padding-block-start: 0!important;
  padding-block-end:0!important;
}
.e-con  {
  padding-inline-start: 0 !important;
  padding-inline-end:0!important;
}

/* ============================================================================
   MASQUER HEADER/FOOTER THÈME SUR ESPACE CLIENT
   ============================================================================
.woocommerce-account #site-header,
.woocommerce-account .site-header,
.woocommerce-account header.header,
.woocommerce-account .elementor-location-header,
.woocommerce-account #masthead,
.woocommerce-account .site-footer,
.woocommerce-account footer.footer,
.woocommerce-account .elementor-location-footer,
.woocommerce-account .dynamic-header {
  display: none !important;
}*/

/* ============================================================================
   HEADER CUSTOM ESPACE CLIENT
   ============================================================================ */
.lavhome-account-header {
  background: var(--lavhome-accent);
  border-bottom: 1px solid var(--lavhome-border);
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.3s ease-in-out;
  transform: translateY(0);
}

/* Classe pour cacher le header au scroll vers le bas */
.lavhome-account-header.header-hidden {
  transform: translateY(-100%);
}

.lavhome-account-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  position: relative;
}

.lavhome-account-logo img {
  height: auto !important;
  width: 200px;
}

/* ============================================================================
   NAV DESKTOP INLINE
   ============================================================================ */
/* ============================================================================
   NAV DESKTOP - BANDE FLOTTANTE MODERNE (CENTREE)
   ============================================================================ */
.lavhome-nav-desktop {
  display: flex;
  background-color: var(--lavhome-card);
  align-items: center;
  gap:8px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px;
}

.lavhome-nav-desktop .nav-link {
  font-family: var(--titi) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--lavhome-text) !important;
  text-decoration: none !important;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  background: transparent;
}

.lavhome-nav-desktop .nav-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

.lavhome-nav-desktop .nav-link.active {
  background: var(--lavhome-accent);
  color: var(--lavhome-text) !important;
  font-weight: 600 !important;
}

/* User menu */
.lavhome-user-menu {
  position: relative;
}

.lavhome-user-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lavhome-accent) !important;
  color: var(--lavhome-text) !important;
  border: 1px solid var(--lavhome-text) !important;
  border-radius: 50px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--titi) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lavhome-user-trigger:hover {
  border-color: var(--lavhome-accent2);
  box-shadow: 0 4px 12px rgba(134, 134, 134, 0.15);
  transform: translateY(-2px);
}

.lavhome-user-trigger .user-icon {
  width: 20px;
  height: 20px;
  fill: var(--lavhome-text);
}

.lavhome-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--lavhome-card);
  border: 1px solid var(--lavhome-border);
  border-radius: 12px;
  box-shadow: var(--lavhome-shadow);
  min-width: 250px;
  z-index: 999900;
}


.lavhome-user-dropdown .user-info {
  padding: 16px;
  border-bottom: 1px solid var(--lavhome-border);
}

.lavhome-user-dropdown .user-info strong {
  display: block;
  font-family: var(--titi);
  font-size: 16px;
  font-weight: 600;
  color: var(--lavhome-text);
  margin-bottom: 4px;
}

.lavhome-user-dropdown .user-email {
  font-size: 14px;
  color: var(--lavhome-muted);
  font-family: var(--titi);
}

.lavhome-user-dropdown .user-links {
  padding: 8px;
}

.lavhome-user-dropdown .user-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--lavhome-text);
  text-decoration: none;
  font-family: var(--titi);
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.2s;
}

.lavhome-user-dropdown .user-links a:hover {
  background: var(--lavhome-accent2-005);
  text-decoration: none;
}

.lavhome-user-dropdown .user-links a svg {
  width: 16px;
  height: 16px;
  fill: var(--lavhome-accent2);
}

.lavhome-user-dropdown .logout-link {
  color: var(--lavhome-danger) !important;
}

.lavhome-user-dropdown .logout-link svg {
  fill: var(--lavhome-danger) !important;
  margin-bottom: 1px;
}

/* ============================================================================
   MENU CHIPS HORIZONTAL (MOBILE UNIQUEMENT)
   ============================================================================ */
.lavhome-account-nav {
  display: none; /* ✅ Caché sur desktop */
  position: relative;
}

.lavhome-nav-chips {
  max-width: 1200px;
  margin: 24px auto 14px auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  justify-content: flex-start;
}

.lavhome-nav-chips::-webkit-scrollbar {
  display: none;
}

.lavhome-chip {
  padding: 8px 16px;
  background:transparent;
  border-radius: 24px;
  white-space: nowrap;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--lavhome-text) !important;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--lavhome-border) !important;
  font-family: var(--titi) !important;
  flex-shrink: 0;
}


.lavhome-chip.active {
  transform: scale(1.03);
  background: var(--lavhome-accent);
  font-weight: 600 !important;
  border: 0px  !important;;
}

/* ============================================================================
   MASQUER MESSAGE WOOCOMMERCE (global OK)
   ============================================================================ */
.woocommerce-MyAccount-content > p:not(.lavhome-form-subscriber p) {
  display: none !important;
}

.lavhome-mon-abonnement p,
.lavhome-nouvelle-commande p:not(.lavhome-form-subscriber p):not(#collecteSubtitle):not(#livraisonSubtitle),
.lavhome-mes-informations p,
.lavhome-dashboard p {
  display: block !important;
}

/* ============================================================================
   LAYOUT GLOBAL + FOOTER STICKY
   ============================================================================ */
body.woocommerce-account {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.woocommerce-account .elementor-location-footer {
  margin-top: auto;
}

.woocommerce-account {
  display: flex;
  flex-direction: column;
}

.woocommerce-MyAccount-content {
  max-width: 1140px;
  width: 100% !important;
  margin: 0 auto;
  padding: 24px !important;
  float: none !important;
  margin-top: 80px !important;
}

/* ============================================================================
   COMPOSANTS ESPACE CLIENT (préfixés)
   ============================================================================ */

/* Mon abonnement */

.lavhome-mon-abonnement {
  max-width: 560px;
  margin: 0 auto; /* ✅ Centre tout le contenu */
}

.subscription-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--lavhome-shadow);
  max-width: 560px;
  margin: 0 auto 24px;
  border: 1px solid var(--lavhome-border);
}

/* Messages */
.lavhome-mon-abonnement .account-message,
.lavhome-mes-informations .account-message,
.lavhome-dashboard .account-message,
.lavhome-login-form .account-message,
.lavhome-register-form .account-message,
.lavhome-forgot-form .account-message,
.lavhome-reset-form .account-message {
  margin-top: 16px;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  font-family: "Titillium Web", sans-serif;
  display: none;
}

.account-message.success {
  background: rgba(58,140,142,0.1);
  border: 1px solid rgba(58,140,142,0.3);
  color: #3a8c8e;
  font-weight: 500;
}

.account-message.error {
  background: rgba(255,107,107,0.1);
  border: 1px solid rgba(255,107,107,0.3);
  color: #ff6b6b;
}

/* Boutons */
.lavhome-mon-abonnement .btn-subscribe,
.lavhome-mon-abonnement .btn-commander,
.lavhome-mon-abonnement .btn-cancel-subscription,
.lavhome-nouvelle-commande .btn-commander,
.lavhome-mes-informations .btn-stripe-portal,
.lavhome-mes-informations .btn-submit,
.lavhome-dashboard .btn-dashboard,
.lavhome-order-detail .btn-cancel-order,
.btn-commander-empty {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--lavhome-accent);
  color:var(--lavhome-text);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.2);
  border: 1px solid var(--lavhome-text);
  cursor: pointer;
}





.lavhome-mes-informations .btn-stripe-portal,
.lavhome-mes-informations .btn-submit {
    margin-top: 24px;
    width:50%
}

.lavhome-mes-informations .btn-add-stripe-portal {
  margin-top:-8px;
}

.lavhome-mon-abonnement .btn-subscribe:hover,
.lavhome-nouvelle-commande .btn-commander:hover,
.lavhome-mes-informations .btn-stripe-portal:hover,
.lavhome-mes-informations .btn-submit:hover,
.lavhome-dashboard .btn-dashboard:hover,
.btn-commander-empty:hover {
  background: transparent;
  transform: scale(1.03);
  transition: 0.2s ease;
  text-decoration: none;
  border:1px solid var(--lavhome-text);
  color:var(--lavhome-text);
}



.lavhome-mon-abonnement .btn-subscribe:focus,
.lavhome-nouvelle-commande .btn-commander:focus,
.lavhome-mes-informations .btn-stripe-portal:focus,
.lavhome-mes-informations .btn-submit:focus,
.lavhome-dashboard .btn-dashboard:focus,
.btn-commander-empty:focus {
  background: transparent;
  border:1px solid var(--lavhome-text);
  color:var(--lavhome-text);
}

.lavhome-nouvelle-commande .btn-commander-subscriber {
background: var(--lavhome-accent2);
color:#fff;
border:none;
}

.lavhome-nouvelle-commande .btn-commander-subscriber:hover {
background: transparent;
color:var(--lavhome-accent2);
  background: transparent;
  transform: scale(1.03);
  transition: 0.2s ease;
  border: 1px solid var(--lavhome-accent2);
}


.lavhome-nouvelle-commande .btn-commander-subscriber:focus {
color:var(--lavhome-accent2);
  background: transparent;
  border: 1px solid var(--lavhome-accent2);
}


.lavhome-mon-abonnement .btn-cancel-subscription,
.lavhome-order-detail .btn-cancel-order {
  background: #f8f8f8;
  border-color: var(--lavhome-border);
  color: var(--lavhome-gris);
  box-shadow: var(--lavhome-shadow);
  display: block;
  margin:24px 0 32px;
  font-weight: 500;
}

.lavhome-order-detail .btn-cancel-order {
  width:fit-content;
  text-align: center;
}


.lavhome-mon-abonnement .btn-cancel-subscription:hover,
.lavhome-order-detail .btn-cancel-order:hover {
  background: transparent;
  color: var(--lavhome-danger);
  border:1px solid var(--lavhome-danger);
  transform: scale(1.03);
  transition: 0.2s ease;
}

.lavhome-mon-abonnement .btn-cancel-subscription:active,
.lavhome-order-detaill .btn-cancel-order:active,
.lavhome-mon-abonnement .btn-cancel-subscription:focus,
.lavhome-order-detail .btn-cancel-order:focus {
  background: transparent;
  color: var(--lavhome-danger);
  border:1px solid var(--lavhome-danger);
}

.lavhome-dashboard .btn-dashboard.btn-secondary {
  background: white;
  color: var(--lavhome-accent2);
  border: 2px solid var(--lavhome-accent2);
  max-width: 560px;
}

/* Cards */
.subscription-card,
.no-subscription-card,
.quota-empty-card,
.no-subscription-command-card,
.lavhome-mes-informations .info-section,
.dashboard-card,
.usage-card,
.invoices-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--lavhome-shadow);
  max-width: 560px;
  margin: 0 auto 24px;
  border: 1px solid var(--lavhome-border);
}

/* Dashboard */
.lavhome-dashboard .dashboard-welcome {
  text-align: center;
  margin-bottom: 32px;
}

.lavhome-dashboard .dashboard-welcome h2 {
  font-family: "Titillium Web", sans-serif;
  text-transform: uppercase;
  font-weight:600;
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--lavhome-text);
  letter-spacing:0.5;
}

.lavhome-dashboard .dashboard-subtitle {
  color: var(--lavhome-muted);
  font-size: 16px;
}

.lavhome-dashboard .dashboard-card-icon {
  font-size: 48px;
  color: var(--lavhome-accent2);
  margin-bottom: 16px;
}

.lavhome-dashboard .dashboard-card-content {
  text-align: center;
  margin-bottom: 24px;
}

.lavhome-dashboard .dashboard-card-content h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: var(--titi);
}

.lavhome-dashboard .dashboard-service {
  font-size: 18px;
  font-weight: 600;
  color: var(--lavhome-accent2);
}

.lavhome-dashboard .dashboard-quota {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

.lavhome-dashboard .dashboard-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.lavhome-dashboard .dashboard-quick-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.lavhome-dashboard .quick-link {
  background: white;
  border: 1px solid var(--lavhome-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: var(--lavhome-text);
  transition: all 0.2s;
}

.lavhome-dashboard .quick-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--lavhome-shadow);
  text-decoration: none;
}

.lavhome-dashboard .quick-link i {
  font-size: 32px;
  color: var(--lavhome-accent2);
  margin-bottom: 12px;
  display: block;
}

/* Mon abonnement */
.subscription-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge-service {
  background: var(--lavhome-accent);
  color: var(--lavhome-text);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 14px;
padding: 8px 16px;
font-size: 16px;
}


.badge-status, 
.lavhome-order-detail .badge-status {
  background: var(--lavhome-accent2-015);
  color: var(--lavhome-accent2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-status svg {
  width: 13px;
  fill: currentColor;
}

/* Badge statut paiement en attente */
.badge-status.payment-pending {
  background: rgba(100, 116, 139, 0.15);
  color: #64748b;
}

/* Badge statut paiement échoué */
.badge-status.payment-failed {
  background: rgba(255, 107, 107, 0.15);
  color: var(--lavhome-danger);
}

/* ============================================================================
   BANNIÈRES D'ALERTE PAIEMENT
   ============================================================================ */
.payment-alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-family: var(--titi);
}

.payment-alert-error {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.payment-alert-warning {
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.4);
}

.payment-alert-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.payment-alert-error .payment-alert-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--lavhome-danger);
}

.payment-alert-warning .payment-alert-icon svg {
  width: 24px;
  height: 24px;
  fill: #64748b;
}

.payment-alert-content {
  flex: 1;
}

.payment-alert-content strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.payment-alert-error .payment-alert-content strong {
  color: var(--lavhome-danger);
}

.payment-alert-warning .payment-alert-content strong {
  color: #64748b;
}

.payment-alert-content p {
  font-size: 14px;
  color: var(--lavhome-gris);
  margin: 0;
  line-height: 1.4;
}

.payment-alert-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  align-self: center;
}

.payment-alert-error .payment-alert-btn {
  background: var(--lavhome-danger);
  color: white;
  border: 1px solid var(--lavhome-danger);
}

.payment-alert-error .payment-alert-btn:hover {
  background: transparent;
  color: var(--lavhome-danger);
}

.payment-alert-btn-secondary {
  background: transparent !important;
  color: #64748b !important;
  border: 1px solid #64748b !important;
}

.payment-alert-btn-secondary:hover {
  background: rgba(100, 116, 139, 0.15) !important;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .payment-alert {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .payment-alert-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================================
   CARTE PROBLÈME DE PAIEMENT (nouvelle-commande.php)
   ============================================================================ */
.payment-issue-icon {
  text-align: center;
  margin-bottom: 16px;
}

.payment-issue-desc {
  text-align: center;
  color: var(--lavhome-gris);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.payment-issue-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.payment-issue-actions .btn-commander {
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.payment-issue-actions .btn-primary {
  background: var(--lavhome-accent);
  color: var(--lavhome-text);
  border: 1px solid var(--lavhome-text);
}

.payment-issue-actions .btn-primary:hover {
  background: transparent;
  color: var(--lavhome-text);
  border: 1px solid var(--lavhome-text);
}

.payment-issue-actions .btn-secondary {
  background: transparent;
  color: var(--lavhome-gris);
  border: 1px solid #ddd;
}

.payment-issue-actions .btn-secondary:hover {
  border-color: var(--lavhome-gris);
}

.quota-circle-container {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 32px auto;
}

.quota-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: #ebebeb;
  stroke-width: 8;
}

.circle-progress {
  fill: none;
  stroke: var(--lavhome-accent);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 5s ease;
}

.quota-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}

.quota-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--lavhome-gris);
}

.quota-label {
  font-size: 14px;
  color: var(--lavhome-muted);
}

.subscription-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
}

.subscription-info-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dedede;
padding: 12px 0px;
}

.subscription-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0px;
}

.subscription-info-left {
    display: flex;
    flex-direction: row;
    gap:16px;
}
.subscription-info-label{
    font-family: var(--titi);
    font-size: 16px;
    color: var(--lavhome-gris);
}

.subscription-info-item-icon {
    width: 16px;
    fill:var(--lavhome-accent2-08);
  }

  .subscription-info-item-icon-formule  {
    width: 18px;
    fill:var(--lavhome-accent2-08);
  }

  .subscription-info-value{
    font-size:16px;
font-weight: 600;
font-family: var(--titi)  }

.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.detail-row i {
  color: var(--lavhome-accent2);
  width: 20px;
}

/* Modale */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  margin: 20px;
}

.lavhome-mon-abonnement .modal-content h3 {
  color: var(--lavhome-text);
  margin-bottom: 16px;
  font-weight: 600;
  font-family: var(--titi);
  font-size:16px;
}

.lavhome-mon-abonnement .modal-content p {
  color: var(--lavhome-text);
  font-size:16px;
  font-family: var(--titi);
}


.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-modal-cancel,
.btn-modal-confirm,
.btn-modal-confirm-cancel {
  flex: 1;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600!important;
    font-size: 14px !important;
  cursor: pointer;
  font-family: "Titillium Web", sans-serif;
}

.btn-modal-cancel:hover,
.btn-modal-confirm:hover,
.btn-modal-confirm-cancel:hover {
transform: scale(1.03);
transition: 0.2s ease;
}


.btn-modal-cancel {
  background: #e5e7eb !important;
  color: #374151 !important;
  border:1px solid var(--lavhome-gris)!important;
}

.btn-modal-confirm,
.btn-modal-confirm-cancel {
  background: var(--lavhome-danger-01) !important;
  color: var(--lavhome-danger) !important;
  border:1px solid var(--lavhome-danger)!important;
}
.lavhome-mon-abonnement .no-subscription-card h3 {
  font-family: var(--titi);
  font-size: 16px;
  font-weight: 600;
  margin-block-end: 8px;
}

.lavhome-mon-abonnement .no-subscription-card p {
  font-family: var(--titi);
  font-size: 16px;
  font-weight: 500;
  margin-block-end: 16px;
}
/* Nouvelle commande */
.lavhome-nouvelle-commande .quota-info-banner {
  background: rgba(58,140,142,0.1);
  border: 1px solid rgba(58,140,142,0.3);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color:var(--lavhome-gris);
  font-size: 16px;
}
.lavhome-nouvelle-commande .quota-info-banner svg{
  width: 18px;
  fill:var(--lavhome-accent2-08);
}
@media(max-width: 768px) {
.lavhome-nouvelle-commande .quota-info-banner {
  margin: 0px 16px;
}
}

/* ============================================================================
   ICÔNES ÉTATS VIDES (pas d'abonnement, quota épuisé, etc)
   ============================================================================ */
.empty-icon {
  width: 32px;
  fill: var(--lavhome-gris);
  margin-bottom: 24px;
  display: block;
}

.quota-empty-card,
.no-subscription-command-card {
  text-align: center;
  padding: 48px;
}

.lavhome-nouvelle-commande .quota-empty-card svg  {
  width: 32px;
  fill:var(--lavhome-texte);
  padding:auto;
}

.lavhome-nouvelle-commande .quota-empty-card h3,
.lavhome-nouvelle-commande .no-subscription-command-card h3  {
  font-size:16px;
  font-weight:600;
  font-family:var(--titi);
}

.lavhome-nouvelle-commande .quota-empty-card p  {
  font-size:16px;
  font-family:var(--titi);
}

.lavhome-nouvelle-commande .quota-empty-card .info-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  padding: 16px 16px;
  border-radius: 8px;
  border: 1px solid var(--lavhome-accent-soft);
  background: var(--lavhome-accent-very-pale);
  gap:16px;
  margin-bottom: 24px;
}

.lavhome-nouvelle-commande .quota-empty-card .info-banner svg {
  width: 14px;
  fill:var(--lavhome-gris);
  background-color: transparent;
}

.lavhome-nouvelle-commande .quota-empty-card .btn-commander {
  width: 248px
}
/* Mes informations */
.lavhome-mes-informations .info-section h3 {
  font-family: var(--titi);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--lavhome-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lavhome-mes-informations .info-section svg {
    height: 18px;
    width:18px;
    fill:var(--lavhome-gris);
}


.lavhome-mes-informations .lavhome-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lavhome-mes-informations .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lavhome-mes-informations .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.lavhome-mes-informations .form-field label {
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--lavhome-text);
}

.lavhome-mes-informations .form-field input[type="text"],
.lavhome-mes-informations .form-field input[type="email"],
.lavhome-mes-informations .form-field input[type="tel"],
.lavhome-mes-informations .form-field input[type="password"] {
  padding: 6px 6px;
  border: 1px solid var(--lavhome-border);
  border-radius: 10px;
  font-size: 16px;
  font-family: "Titillium Web", sans-serif;
  background: white;
  color: var(--lavhome-text);
}

.lavhome-mes-informations .form-field input:focus {
  border-color: rgba(58,140,142,0.3);
  outline: none;
}

.lavhome-mes-informations .payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
}

.lavhome-mes-informations .card-icon {
  font-size: 32px;
  color: var(--lavhome-accent2);
}

.lavhome-mes-informations .card-number {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--titi);
}

.lavhome-mes-informations .card-expiry {
  font-size: 14px;
  color: var(--lavhome-muted);
}

/* ============================================================================
   LOGOS CARTES BANCAIRES (Images Stripe officielles)
   ============================================================================ */

.card-brand-logo {
  width: 32px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 4px;
}

/* Icône générique si marque inconnue */
.card-icon {
  width: 40px;
  height: 40px;
  fill: var(--lavhome-accent2);
  flex-shrink: 0;
}

.card-display {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid var(--lavhome-border);
  width: 50%;

}

.card-details {
  flex: 1;
}

.card-number {
  font-size: 16px;
  font-weight: 600;
  color: var(--lavhome-text);
  margin-bottom: 4px;
  font-family: "Courier New", monospace;
}

.card-expiry {
  font-size: 13px;
  color: #6c757d;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-stripe-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--lavhome-primary);
  color: var(--lavhome-text);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  border: 2px solid var(--lavhome-text);
}

.btn-stripe-portal:hover {
  background: var(--lavhome-text);
  color: var(--lavhome-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.lavhome-mes-informations .btn-stripe-portal svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
/* ============================================================================
   TOGGLE PASSWORD (Mes informations)
   ============================================================================ */
.password-input-wrapper {
  position: relative;
}

.password-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.password-field label {
  margin-bottom: 6px;
}

.password-field .password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width:50%;
}


.password-field input[type="password"],
.password-field input[type="text"] {
  width: 100%;
  padding: 12px 50px 12px 16px; 
  border: 1px solid #dedede;
  border-radius: 8px; 
  font-size: 16px;
  font-family: "Titillium Web", sans-serif;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.password-field input:focus {
  outline: none;
  border-color: #3a8c8e;
}

/* ✅ Uniformisé avec confirmation abonnement - Appliqué à TOUS les toggles */
.lavhome-mes-informations .password-field .toggle-password,
.password-field .toggle-password,
.lavhome-login-container .lavhome-toggle-password,
.lavhome-forgot-form .lavhome-toggle-password,
.lavhome-reset-form .lavhome-toggle-password {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  padding: 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s !important;
  width: auto !important;
  height: auto !important;
  min-width: unset !important;
  margin: 0 !important;
  box-shadow: none !important;
  line-height: 1 !important;
  z-index: 10 !important;
}

.lavhome-mes-informations .password-field .toggle-password:hover,
.password-field .toggle-password:hover,
.lavhome-login-container .lavhome-toggle-password:hover,
.lavhome-forgot-form .lavhome-toggle-password:hover,
.lavhome-reset-form .lavhome-toggle-password:hover {
  opacity: 0.7 !important;
  background: none !important;
  transform: translateY(-50%) !important;
}

.lavhome-mes-informations .password-field .toggle-password:focus,
.password-field .toggle-password:focus,
.lavhome-login-container .lavhome-toggle-password:focus,
.lavhome-forgot-form .lavhome-toggle-password:focus,
.lavhome-reset-form .lavhome-toggle-password:focus {
  outline: none !important;
  box-shadow: none !important;
}

.lavhome-mes-informations .password-field .toggle-password .eye-icon,
.password-field .toggle-password .eye-icon,
.lavhome-login-container .lavhome-toggle-password .eye-icon,
.lavhome-forgot-form .lavhome-toggle-password .eye-icon,
.lavhome-reset-form .lavhome-toggle-password .eye-icon {
  width: 20px !important;
  height: 20px !important;
  fill: #999 !important;
  transition: fill 0.2s !important;
  display: block !important;
}

.lavhome-mes-informations .password-field .toggle-password.active .eye-icon,
.password-field .toggle-password.active .eye-icon,
.lavhome-login-container .lavhome-toggle-password.active .eye-icon,
.lavhome-forgot-form .lavhome-toggle-password.active .eye-icon,
.lavhome-reset-form .lavhome-toggle-password.active .eye-icon {
  fill: #3a8c8e !important;
}

/* ============================================================================
   MASQUER MENU WOOCOMMERCE NATIF
   ============================================================================ */
.woocommerce-MyAccount-navigation {
  display: none !important;
}

/* ============================================================================
   MENU NAVIGATION (tabs horizontal)
   ============================================================================ */
@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation {
    display: flex;
    overflow-x: auto;
    border: none;
    margin-bottom: 24px;
    gap: 8px;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
  }
  
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .woocommerce-MyAccount-navigation li {
    margin: 0;
    white-space: nowrap;
  }
  
  .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
  }
  
  .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--lavhome-accent2);
    color: white;
    border-color: var(--lavhome-accent2);
  }
  
  .subscription-card,
  .no-subscription-card,
  .quota-empty-card,
  .no-subscription-command-card,
  .lavhome-mes-informations .info-section {
    padding: 24px;
  }
  
  .lavhome-mes-informations .form-grid {
    grid-template-columns: 1fr;
  }
  
  .lavhome-dashboard .dashboard-quick-links {
    grid-template-columns: 1fr;
  }

  .woocommerce-MyAccount-content {
    padding:0px;
  }

  .lavhome-mes-informations .btn-stripe-portal,
  .lavhome-mes-informations .btn-submit,
  .lavhome-mes-informations .card-display,
  .lavhome-mes-informations .password-input-wrapper {
    width: 100%;
  }
}

/* ============================================================================
   RESPONSIVE MOBILE (<= 768px)
   ============================================================================ */
@media (max-width: 768px) {
  /* Header mobile : logo centré + user droite */
  .lavhome-account-header {
    position: relative; /* ✅ PAS sticky */
    border:none;
    box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 5%);
  }
  
  .lavhome-account-header-inner {
    justify-content: center;
    gap: 0;
    position: relative;
  }
  
  .lavhome-account-logo {
    flex: 1;
  }
  
  .lavhome-account-logo img {
    width: 150px;
  }
  
  /* Cacher nav desktop */
  .lavhome-nav-desktop {
    display: none !important;
  }
  
  /* User menu en position absolute droite */
  .lavhome-user-menu {
    position: absolute;
    right: 20px;
  }
  
  /* Afficher chips mobile */
  .lavhome-account-nav {
    display: block !important;
    position: sticky !important; /* ✅ Sticky sur mobile */
    top: 0 !important;
    z-index: 9999 !important;
    background: white !important; /* ✅ Background blanc */
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%);
  }
  
  .lavhome-nav-chips {
    justify-content: flex-start;
    margin: 0;
    padding: 12px 16px;
  }
  
  /* Contenu */
  .woocommerce-MyAccount-content {
    margin-top: 0 !important;
    padding: 16px !important;
  }
}

/* ========================================== */
/* LOGIN / REGISTER PAGE */
/* ========================================== */

.lavhome-login-container {
    max-width: 448px;
    width:100%;
    margin: 60px auto;
    padding: 20px;
}

.lavhome-login-container .lavhome-login-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--lavhome-shadow);
    border: 1px solid var(--lavhome-border);
    padding: 40px;
}

.lavhome-login-container .lavhome-login-title {
    font-family: var(--titi);
    font-size: 24px;
    margin-bottom: 32px;
    text-align: center;
    color: var(--lavhome-text);
    font-weight: 600;
}

.lavhome-login-container .lavhome-form-group {
    margin-bottom: 20px;
}

.lavhome-login-container .lavhome-form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    color: var(--lavhome-text);
    font-weight: 500;
}

.lavhome-login-container .lavhome-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.lavhome-login-container .lavhome-input:focus {
    outline: none;
    border-color: #3A8C8E;
}

.lavhome-login-container .lavhome-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.lavhome-login-container .lavhome-password-input {
    padding-right: 40px;
}

.lavhome-login-container .lavhome-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.3s;
    background: transparent;

}

.lavhome-login-container .lavhome-toggle-password :active {
    color: var(--lavhome-accent2);
    background: transparent;
}

.lavhome-login-container .lavhome-toggle-password:focus {
    color: var(--lavhome-accent2);
    background: transparent;
}

.lavhome-login-container .lavhome-toggle-password:hover {
    color: #666;
    background: transparent;
    border:none
}

.lavhome-login-container .lavhome-toggle-password .eye-icon {
    width: 18px;
    height: 18px;
}

.lavhome-login-container .lavhome-form-checkbox {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.lavhome-login-container .lavhome-form-checkbox input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 14px;
    height: 14px;
    accent-color:var(--lavhome-accent2);
}

.lavhome-login-container .lavhome-form-checkbox label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--titi);
    color:var(--lavhome-text);
}


.lavhome-login-container .lavhome-btn-primary {
    background-color: var(--lavhome-accent2);
    color: #fff;
    font-weight: 600;
    font-family:var(--titi);
    font-size:16px;
    border: 1px solid var(--lavhome-accent2);
    box-shadow: var(--lavhome-shadow-2);
    text-transform: none;
    cursor: pointer;
    border-radius:10px;
    width: 100%;
    padding:8px;
}

.lavhome-login-container .lavhome-btn-primary:hover {
    background-color: #fff;
    color:var(--lavhome-accent2);
    transform: scale(1.02);
    transition: 0.2s ease;
}
.lavhome-login-container .lavhome-btn-primary:focus {
    background-color: #fff;
}

.lavhome-login-container .lavhome-lost-password {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.lavhome-login-container .lavhome-lost-password a {
    color: var(--lavhome-gris);
    text-decoration: none;
    font-size: 14px;
}

.lavhome-login-container .lavhome-lost-password a:hover {
    text-decoration: underline;
}

.lavhome-login-container .lavhome-form-switch {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.lavhome-login-container .lavhome-form-switch a {
    color: var(--lavhome-gris);
    text-decoration: none;
    font-weight: 600;
    font-size:14px;
}

.lavhome-login-container .lavhome-form-switch a:hover {
    text-decoration: underline;
}

.lavhome-form-switch .retour {
    display: flex;
    align-items: center;  /* ← ✅ Alignement vertical */
    gap: 8px;
    justify-content: center;
}


.lavhome-form-switch svg {
    width: 14px;
    fill: currentColor;
}

@media (max-width: 768px) {

    .lavhome-login-container {
    margin:16px auto;
    padding:16px;
  }

  .lavhome-login-container .lavhome-login-card {
    box-shadow: none;
    border:none;
    padding:0px;
  }
}

/* ========================================== */
/* MES COMMANDES PAGE */
/* ========================================== */

.lavhome-mes-commandes {
  max-width: 1140px;
  margin: 42px auto;
}

.lavhome-mes-commandes .lavhome-section-title {
  font-family: var(--anton);
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 100;
  color: var(--lavhome-text);
  margin-bottom: 24px;
  text-align: center;
  display: none;
}

/* TABLE DESKTOP */
.commandes-table-wrapper {
  display: block;
  overflow-x: hidden;
  background: white;
  border-radius: 12px;
  box-shadow: var(--lavhome-shadow);
  border: 1px solid var(--lavhome-border);
}

.commandes-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--titi);
  margin:0px;
}

.commandes-table thead {
  background: var(--lavhome-grisveryclair);
  border-bottom: 1px solid var(--lavhome-border);
}

.lavhome-mes-commandes .commandes-table th {
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gris);
  background-color: transparent;
  border:none;
}

.commandes-table-wrapper table tbody tr td,
.commandes-table-wrapper table tbody tr th {
    background-color: transparent !important;
}

.commandes-table tbody tr {
  border-bottom: 1px solid var(--lavhome-border);
  transition: all 0.2s ease;
  position: relative;
}

.commandes-table tbody tr.clickable-row {
  cursor: pointer;
}

.commandes-table tbody tr.clickable-row:hover {
  background: var(--lavhome-accent2-005);
}

.commandes-table tbody tr.clickable-row:hover td {
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

.commandes-table tbody tr.clickable-row:hover::after {
  content: '→';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lavhome-gris);
  font-size: 18px;
  font-weight: 600;
  opacity: 0.7;
  animation: slideInRight 0.2s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    right: 8px;
  }
  to {
    opacity: 0.7;
    right: 16px;
  }
}

.commandes-table tbody tr:last-child {
  border-bottom: none;
}

.commandes-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--lavhome-text);
  vertical-align: middle;
  border:none;
}

/* Animation retirée temporairement - causait lignes blanches */

.order-number {
  font-weight: 600;
  color: var(--lavhome-accent2);
}

.order-quantity {
  text-align: center;
}

.order-total {
  font-weight: 600;
}

/* BADGES TYPE DE COMMANDE */
.type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.type-unique {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.type-subscriber {
  background:#dbeafebe;
  color: #1e40af
}

.type-abonnement {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}

/* BADGES FORMULE - Proposition 1: Palette douce harmonisée avec jaune/bleu-vert */
.formule-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== OPTION C: Tons bleu-vert sobres (ACTIVE) ===== */
.formule-lavage,
.formule-lavage-express {
  background: rgba(58, 140, 142, 0.08);  /* Bleu-vert très clair */
  color: #2c6b6d;
}

.formule-pliage {
  background: rgba(58, 140, 142, 0.15);  /* Bleu-vert moyen */
  color: #1e4d4e;
}

.formule-repassage {
  background: rgba(58, 140, 142, 0.25);  /* Bleu-vert intense */
  color: #134041;
}

/* ===== OPTION A: Palette tons froids + chaud =====
.formule-lavage,
.formule-lavage-express {
  background: rgba(96, 165, 250, 0.12);
  color: #1e40af;
}

.formule-pliage {
  background: rgba(134, 179, 158, 0.15);
  color: #2f5f4a;
}

.formule-repassage {
  background: rgba(251, 146, 120, 0.12);
  color: #c2410c;
}
*/

/* ===== OPTION B: Tons chauds terre =====
.formule-lavage,
.formule-lavage-express {
  background: rgba(252, 213, 206, 0.5);
  color: #9a3412;
}

.formule-pliage {
  background: rgba(232, 180, 160, 0.5);
  color: #7c2d12;
}

.formule-repassage {
  background: rgba(212, 163, 115, 0.5);
  color: #78350f;
}
*/

/* BADGES STATUT */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.status-collecte-scheduled {
  background: rgba(250, 204, 21, 0.15);
  color: #ca8a04;
}

.status-in-progress {
  background: rgba(58, 140, 142, 0.15);
  color: #2c6b6d;
}

.status-delivered {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
}

.status-pending,
.status-cancelled {
  background: rgba(149, 149, 149, 0.1);
  color: #6c757d;
}

.btn-voir {
  /*display: block;*/
  /*width:100%;*/
  display:flex;
  justify-content: flex-start;
  /*padding: 8px 16px;*/
  /*background: var(--lavhome-grisveryclair);*/
  /*border-color: var(--lavhome-border);*/
  color: var(--lavhome-gris);
  /*box-shadow: var(--lavhome-shadow-2);*/
  /*border-radius: 10px;*/
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

 /*.btn-voir:hover {
  background: transparent;
  transform: scale(1.05);
  text-decoration: none;
}*/

/* CARDS MOBILE */
.commandes-cards {
  display: none;
}

.commande-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--lavhome-shadow);
  border: 1px solid var(--lavhome-border);
  margin-bottom: 16px;
  overflow: hidden;
}

.commande-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: var(--lavhome-grisveryclair);
}

.commande-number {
  font-weight: 600;
  font-size: 16px;
  color: var(--lavhome-text);
  font-family: var(--titi);
}

.commande-date {
  font-size: 14px;
  color: var(--lavhome-text);
  font-family: var(--titi);
}

.commande-card-body {
  padding: 16px;
}

.commande-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  font-family: var(--titi);
}

.commande-info .type-badge,
.commande-info .formule-badge,
.commande-info .status-badge {
  flex-shrink: 0;
  white-space: nowrap;
}

.commande-info:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 14px;
  color: var(--lavhome-gris);
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: var(--lavhome-text);
  font-weight: 600;
}

.commande-card-footer {
  padding: 0px 16px 16px 16px;
  text-align: center;
}


/* ÉTAT VIDE - Design moderne */
.no-commandes-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--lavhome-shadow);
  border: 1px solid var(--lavhome-border);
  padding: 64px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.no-commandes-card .empty-icon-basket {
  width: 64px;
  height: 64px;
  fill: var(--lavhome-accent2);
  margin-bottom: 24px;
  opacity: 0.8;
}

.no-commandes-card h3 {
  font-family: var(--titi);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--lavhome-text);
}

.no-commandes-card p {
  font-family: var(--titi);
  font-size: 16px;
  color: var(--lavhome-gris);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Timeline état vide */
.empty-timeline  {
        display: flex;
        align-items: flex-start;
        justify-content: space-evenly;
        margin-bottom: 40px;
        flex-wrap: wrap;

}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--lavhome-accent);
  color: var(--lavhome-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.step-text {
  font-size: 13px;
  color: var(--lavhome-text);
  font-weight: 500;
  line-height: 1.3;
}

.timeline-arrow {
  color: var(--lavhome-gris);
  font-size: 24px;
  font-weight: 600;
  margin: 0 8px;
}


/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .lavhome-mes-commandes {
    margin:16px auto;
  }
  .commandes-table-wrapper {
    display: none;
  }

  .commandes-cards {
    display: block;
  }

  .lavhome-section-title {
    display:none;
  }

  .no-commandes-card {
    padding: 32px 24px;
  }

.formule-lavage,
.formule-lavage-express,
.formule-pliage,
.formule-repassage {
  background: rgba(58, 140, 142, 0.08);  /* Bleu-vert très clair */
  color: #2c6b6d;
}
}
}

/* ========================================== */
/* ORDER DETAIL PAGE */
/* ========================================== */

.lavhome-order-detail {
  max-width: 560px;
  margin: 0 auto;
  margin-bottom:32px;
}

.order-detail-header {
  margin-bottom: 24px;
  margin-left: 16px;
  
}

.lavhome-order-detail .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lavhome-gris);
  text-decoration: none;
  font-family: var(--titi);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.lavhome-order-detail .back-link:hover {
  color: var(--lavhome-accent2);
  transform: translateX(-2px);
}

.lavhome-order-detail .order-detail-title {
  font-family: var(--titi);
  font-size: 24px;
  font-weight: 600;
  color: var(--lavhome-text);
  margin: 0;
}

.lavhome-order-detail .order-detail-card {
  background: white;
  border: 1px solid var(--lavhome-border);
  border-radius: var(--lavhome-radius);
  box-shadow: var(--lavhome-shadow);
  padding: 32px;
}

.lavhome-order-detail .order-detail-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--lavhome-border);
  margin-bottom: 24px;
}

.lavhome-order-detail .order-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lavhome-order-detail .order-info-row .type-badge,
.lavhome-order-detail .order-info-row .status-badge {
  align-self: flex-start;
}

.lavhome-order-detail .order-info-label {
  font-size: 13px;
  color: var(--lavhome-muted);
  font-weight: 500;
  font-family: var(--titi);
}

.lavhome-order-detail .order-info-value {
  font-size: 16px;
  color: var(--lavhome-text);
  font-weight: 600;
  font-family: var(--titi);
}

.lavhome-order-detail .order-detail-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--lavhome-border);
}

.lavhome-order-detail .order-detail-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.lavhome-order-detail .section-title {
  font-family: var(--titi);
  font-size: 16px;
  font-weight: 600;
  color: var(--lavhome-text);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.lavhome-order-detail .order-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.lavhome-order-detail .order-detail-row:last-child {
  border-bottom: none;
}

.lavhome-order-detail .order-detail-row.delicate-items {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.lavhome-order-detail .order-detail-label {
  font-size: 14px;
  color: var(--lavhome-gris);
  font-weight: 500;
  font-family: var(--titi);
}

.lavhome-order-detail .order-detail-value {
  font-size: 14px;
  color: var(--lavhome-text);
  font-weight: 600;
  font-family: var(--titi);
}

.lavhome-order-detail .order-detail-adress {
  font-weight: 500;
    font-size: 14px;
}

.lavhome-order-detail .delicate-text {
  font-weight: 500;
  font-style: italic;
  color: var(--lavhome-muted);
}

.lavhome-order-detail .order-detail-row.order-total {
  border-top: 1px solid var(--lavhome-border);
  padding-top: 24px;
}

.lavhome-order-detail .order-detail-row.order-total .order-detail-label,
.lavhome-order-detail .order-detail-row.order-total .order-detail-value {
  font-size: 16px;
  font-weight: 600;
}

.lavhome-order-detail .order-detail-value.discount {
  color: var(--lavhome-accent2);
}

.lavhome-order-detail .montant-total{
  color:var(--lavhome-text);
}

/* Créneaux - Réutilisation du style confirmation */
.lavhome-order-detail .schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.lavhome-order-detail .schedule-card {
  background: #f8f9fa;
  border: 1px solid var(--lavhome-border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.lavhome-order-detail .schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--titi);
  font-size: 16px;
  font-weight: 600;
  color: var(--lavhome-text);
}

.lavhome-order-detail .schedule-card-icon {
  width: 16px;
  height: 16px;
  fill: var(--lavhome-text);
}

.lavhome-order-detail .schedule-card-date {
  font-family: var(--titi);
  font-size: 16px;
  font-weight: 600;
  color: var(--lavhome-text);
  margin-bottom: 4px;
}

.lavhome-order-detail .schedule-card-time {
  font-family: var(--titi);
  font-size: 14px;
  color: var(--lavhome-gris);
}

.lavhome-order-detail .btn-add-calendar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 50%;
  padding: 8px 16px;
  background: var(--lavhome-accent);
  color: var(--lavhome-text);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--titi);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: var(--lavhome-shadow-2);
  border: 1px solid var(--lavhome-text);
}

.lavhome-order-detail .btn-add-calendar:hover {
  background: transparent;
  transform: scale(1.02);
  text-decoration: none;
}

.lavhome-order-detail .btn-add-calendar svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lavhome-order-detail .creneaux-modif {
  background-color: var(--lavhome-accent-pale);
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 4px;
}

.lavhome-order-detail .creneaux-modif-title {
  font-family: var(--titi);
  font-size: 16px;
  font-weight : 600;
  color:var(--lavhome-gris);
}

.lavhome-order-detail .creneaux-modif-card {
  background-color: rgba(58, 140, 142, 0.05);
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}

.lavhome-order-detail .creneaux-modif-card-title {
  font-size:12px;
  font-weight:600;
  color:var(--lavhome-gris);
  font-family: var(--titi);
  margin-bottom: 2px;
}

.lavhome-order-detail .creneaux-modif-card .schedule-card-date {
  margin-bottom:0 !important;
}

.lavhome-order-detail .modif-request {
  color:var(--lavhome-gris);
  font-size: 14px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  line-height: 1rem;
  padding-top: 16px;
}

.lavhome-order-detail .modif-request .contact-modif-request {
 font-size: 14px;
 color:var(--lavhome-gris);
  
}


.lavhome-order-detail .modif-request .contact-modif-request:hover {
  color:var(--lavhome-accent2);
  text-decoration: underline;
  transform: translateX(3px);
  transition: 0.2s ease;
  cursor: pointer;
  
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .lavhome-order-detail {
    margin-bottom: 32px;
  }
  .lavhome-order-detail .btn-add-calendar {
    width: 100%;
  }

  .lavhome-order-detail .order-detail-card {
    padding: 20px;
  }

  .lavhome-order-detail .order-detail-info {
    flex-direction: column;
    gap: 12px;
  }

  .lavhome-order-detail .schedule-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   FIX ZOOM AUTO SUR MOBILE (LOGIN/REGISTER/RESET PASSWORD)
   iOS zoom automatiquement sur les inputs avec font-size < 16px
   ============================================================================ */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select,
  .woocommerce-Input,
  .input-text {
    font-size: 16px !important;
  }
}
