/* ======================================================================
   PupVibes 8.9.86 — DEFINITIVE account sidebar override
   Loaded LAST in the stylesheets block.
   Normal item = compact transparent.
   Current item = orange.
   ====================================================================== */

body.page-customer-account .pv-account-sidebar-nav,
body#my-account .pv-account-sidebar-nav{
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.page-customer-account .pv-account-sidebar-nav .account-menu__nav,
body#my-account .pv-account-sidebar-nav .account-menu__nav,
body.page-customer-account .pv-account-sidebar-nav .pv-account-hook-links,
body#my-account .pv-account-sidebar-nav .pv-account-hook-links{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* Module wrappers must be invisible */
body.page-customer-account .pv-account-sidebar-nav .pv-account-hook-links > *,
body#my-account .pv-account-sidebar-nav .pv-account-hook-links > *{
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* ALL normal menu entries */
body.page-customer-account .pv-account-sidebar-nav a.account-menu__link,
body#my-account .pv-account-sidebar-nav a.account-menu__link,
body.page-customer-account .pv-account-sidebar-nav .pv-account-hook-links a,
body#my-account .pv-account-sidebar-nav .pv-account-hook-links a{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  min-height:38px!important;
  height:auto!important;
  margin:0!important;
  padding:0 12px!important;
  border:0!important;
  outline:0!important;
  border-radius:6px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#b3540d!important;
  text-decoration:none!important;
  text-transform:none!important;
  transform:none!important;
  font:500 10px/1.15 'DM Sans',sans-serif!important;
}

body.page-customer-account .pv-account-sidebar-nav a.account-menu__link:hover,
body#my-account .pv-account-sidebar-nav a.account-menu__link:hover,
body.page-customer-account .pv-account-sidebar-nav .pv-account-hook-links a:hover,
body#my-account .pv-account-sidebar-nav .pv-account-hook-links a:hover{
  background:#fff0cf!important;
  border:0!important;
  transform:none!important;
}

/* Icon dimensions */
body.page-customer-account .pv-account-sidebar-nav .account-menu__icon,
body#my-account .pv-account-sidebar-nav .account-menu__icon,
body.page-customer-account .pv-account-sidebar-nav .pv-account-hook-links a i,
body.page-customer-account .pv-account-sidebar-nav .pv-account-hook-links a .material-icons,
body#my-account .pv-account-sidebar-nav .pv-account-hook-links a i,
body#my-account .pv-account-sidebar-nav .pv-account-hook-links a .material-icons{
  width:17px!important;
  min-width:17px!important;
  flex:0 0 17px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:currentColor!important;
  font-size:16px!important;
  line-height:1!important;
}

/* Only selected/current entry gets orange block */
body.page-customer-account .pv-account-sidebar-nav a.account-menu__link--active,
body#my-account .pv-account-sidebar-nav a.account-menu__link--active,
body.page-customer-account .pv-account-sidebar-nav a[aria-current="page"],
body#my-account .pv-account-sidebar-nav a[aria-current="page"],
body.page-customer-account .pv-account-sidebar-nav .pv-account-hook-links a.active,
body#my-account .pv-account-sidebar-nav .pv-account-hook-links a.active{
  background:#ff8100!important;
  color:#241608!important;
  border:0!important;
  box-shadow:none!important;
}

/* Dashboard screenshot expects Mes commandes selected */
body#my-account .pv-account-sidebar-nav #history_link{
  background:#ff8100!important;
  color:#241608!important;
}

/* Loyalty page: mark its module link */
body[id*="loyaltyambassador"] .pv-account-sidebar-nav .pv-account-hook-links a[href*="loyaltyambassador"]{
  background:#ff8100!important;
  color:#241608!important;
}

/* Logout is compact, red, not a white card */
body.page-customer-account .pv-account-sidebar-nav a.account-menu__link--signout,
body#my-account .pv-account-sidebar-nav a.account-menu__link--signout{
  margin-top:8px!important;
  background:transparent!important;
  color:#ed6c5f!important;
  border:0!important;
}
body.page-customer-account .pv-account-sidebar-nav a.account-menu__link--signout:hover,
body#my-account .pv-account-sidebar-nav a.account-menu__link--signout:hover{
  background:#fff0cf!important;
}

/* Profile remains compact/clickable on every account page */
body.page-customer-account .pv-customer-profile--link,
body#my-account .pv-customer-profile--link{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
  text-decoration:none!important;
}
body.page-customer-account .pv-customer-profile--link:hover,
body#my-account .pv-customer-profile--link:hover{
  background:transparent!important;
}
