.crwd-account{--cr-orange:#ff7a00}.crwd-hero,.crwd-card{background:#fff;border:1px solid #eee;border-radius:16px;padding:24px;margin-bottom:22px;box-shadow:0 8px 30px rgba(0,0,0,.04)}.crwd-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#151515,#2a1708);color:#fff}.crwd-hero h2{color:#fff}.crwd-hero small{display:block;margin-top:8px;color:#bbb}.crwd-kicker{color:var(--cr-orange);font-weight:800;letter-spacing:.13em;font-size:11px}.crwd-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.crwd-dog{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #eee}.crwd-dog small{display:block;color:#777}.crwd-dog-form{margin-top:16px;border-top:1px solid #eee;padding-top:14px}.crwd-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:15px}.crwd-amb{background:#171717;color:#eee;border-color:#2a2a2a}.crwd-amb h3{color:#fff}.crwd-code{font-size:28px;font-weight:900;letter-spacing:.08em;color:var(--cr-orange);margin:18px 0}.crwd-redeem-wallet{margin-top:18px}@media(max-width:768px){.crwd-grid{grid-template-columns:1fr}.crwd-hero{align-items:flex-start;flex-direction:column}.crwd-form-grid{grid-template-columns:1fr}}
.crwd-product-points{display:flex;align-items:center;gap:9px;margin:14px 0;padding:11px 13px;border:1px solid #ffe2c3;background:#fff8f1;border-radius:10px;color:#333}
.crwd-points-icon{color:#ff7a00;font-size:18px}
.crwd-cart-points{margin:18px 0;padding:18px;border:1px solid #ffe2c3;background:#fff8f1;border-radius:12px}
.crwd-cart-points-total{font-size:16px;display:flex;align-items:center;gap:8px}
.crwd-cart-points-lines{margin-top:10px;border-top:1px solid #f0dcc7;padding-top:8px}
.crwd-cart-points-lines>div{display:flex;justify-content:space-between;gap:20px;padding:4px 0;font-size:13px}
.crwd-amb-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.crwd-amb-stats>div{background:#222;border:1px solid #333;border-radius:10px;padding:12px;text-align:center}
.crwd-amb-stats strong,.crwd-amb-stats span{display:block}.crwd-amb-stats span{font-size:12px;color:#aaa;margin-top:3px}

.crwd-product-points{display:flex;align-items:center;gap:9px;margin:14px 0;padding:11px 13px;border:1px solid #ffe0bd;background:#fff7ee;border-radius:10px;color:#222}
.crwd-points-icon{color:#ff7a00;font-size:18px}
.crwd-cart-points{margin:18px 0;padding:18px;border:1px solid #ffe0bd;background:#fff7ee;border-radius:12px;color:#222}
.crwd-cart-points-total{display:flex;align-items:center;gap:8px;font-size:16px}
.crwd-cart-points-lines{margin-top:10px;padding-top:8px;border-top:1px solid #f0d7bc}
.crwd-cart-points-lines>div{display:flex;justify-content:space-between;gap:16px;padding:4px 0;font-size:13px}
.crwd-line-points{font-size:12px;color:#b85a00;margin-top:4px}

.crwd-redeem-wallet{margin:18px 0;padding:18px;border:1px solid #333;border-radius:12px;background:#181818;color:#fff}
.crwd-redeem-wallet h3{margin-top:0;color:#fff}
.crwd-redeem-wallet .crwd-muted{color:#aaa;margin-bottom:0}

.crwd-loyalty-wallet{background:#171717;color:#eee;border-color:#2a2a2a}
.crwd-loyalty-wallet h2{color:#fff;margin:.3rem 0 1rem}
.crwd-loyalty-values{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0}
.crwd-loyalty-values>div{min-width:140px;background:#222;border:1px solid #333;border-radius:12px;padding:14px 18px}
.crwd-loyalty-values strong{display:block;color:#fff;font-size:26px;line-height:1.1}
.crwd-loyalty-values span{display:block;margin-top:4px;color:#aaa;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.crwd-wallet-action{min-width:300px}
.crwd-wallet-action .btn{width:100%;font-weight:700}
.crwd-wallet-action small{display:block;margin-top:8px;color:#bbb}
.crwd-grid-single{grid-template-columns:1fr}
@media(max-width:768px){.crwd-wallet-action{min-width:0;width:100%}}


/* v1.4.2 — two equal wallet cards */
.crwd-wallet-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-bottom:22px;
}
.crwd-wallet-grid-single{grid-template-columns:minmax(0,1fr)}
.crwd-wallet-grid-single .crwd-wallet-card{max-width:560px}
.crwd-wallet-card{
  min-height:390px;
  background:#171717;
  color:#eee;
  border:1px solid #2a2a2a;
  border-radius:18px;
  padding:26px;
  box-shadow:0 8px 30px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.crwd-wallet-card h2{color:#fff;margin:.35rem 0 1rem;font-size:24px}
.crwd-wallet-card p{color:#aaa;line-height:1.45}
.crwd-loyalty-card{background:linear-gradient(145deg,#171717,#2b1809)}
.crwd-ambassador-card{background:linear-gradient(145deg,#171717,#121212)}
.crwd-wallet-amounts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:18px 0;
}
.crwd-wallet-amounts>div{
  background:#222;
  border:1px solid #333;
  border-radius:12px;
  padding:15px;
}
.crwd-wallet-amounts strong{
  display:block;
  color:#fff;
  font-size:26px;
  line-height:1.1;
}
.crwd-wallet-amounts span{
  display:block;
  margin-top:5px;
  color:#999;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.crwd-wallet-bottom{margin-top:20px}
.crwd-wallet-button{width:100%;font-weight:700}
.crwd-wallet-bottom small{display:block;margin-top:8px;color:#aaa}
.crwd-amb-link{margin-top:6px}
.crwd-wallet-card .crwd-code{margin:15px 0;font-size:26px}
@media(max-width:900px){
  .crwd-wallet-grid{grid-template-columns:1fr}
  .crwd-wallet-card{min-height:0}
  .crwd-wallet-grid-single .crwd-wallet-card{max-width:none}
}


/* =========================================================
   v1.4.5 — Premium loyalty / ambassador account layout
   Scoped strongly to override previous module revisions.
   ========================================================= */
.crwd-account .crwd-wallet-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
  margin:0 0 28px !important;
}
.crwd-account .crwd-wallet-grid.crwd-wallet-grid-single{
  grid-template-columns:minmax(0,560px) !important;
}

.crwd-account .crwd-premium-card{
  position:relative;
  min-height:430px;
  padding:28px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  color:#f5f5f5;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
  overflow:hidden;
  display:flex !important;
  flex-direction:column !important;
  justify-content:space-between !important;
}
.crwd-account .crwd-premium-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.8;
}
.crwd-account .crwd-premium-loyalty{
  background:
    radial-gradient(circle at 100% 0%,rgba(255,122,0,.12),transparent 34%),
    linear-gradient(145deg,#121212,#21150d 72%,#28180d);
}
.crwd-account .crwd-premium-ambassador{
  background:
    radial-gradient(circle at 100% 0%,rgba(255,122,0,.10),transparent 34%),
    linear-gradient(145deg,#121212,#181818 72%,#101010);
}
.crwd-account .crwd-premium-top,
.crwd-account .crwd-premium-bottom{
  position:relative;
  z-index:1;
}
.crwd-account .crwd-premium-heading{
  margin-bottom:20px;
}
.crwd-account .crwd-kicker{
  display:block;
  margin-bottom:5px;
  color:#ff7a00 !important;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.crwd-account .crwd-premium-card h2{
  margin:0 !important;
  color:#fff !important;
  font-size:24px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}
.crwd-account .crwd-premium-values{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:12px !important;
  margin:0 0 20px !important;
}
.crwd-account .crwd-value-box{
  padding:16px 17px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
}
.crwd-account .crwd-value-label,
.crwd-account .crwd-value-unit{
  display:block;
  color:#aaa !important;
  font-size:11px;
  line-height:1.3;
}
.crwd-account .crwd-value-label{
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.crwd-account .crwd-value-box strong{
  display:block;
  color:#fff !important;
  font-size:28px !important;
  line-height:1 !important;
  font-weight:800 !important;
}
.crwd-account .crwd-value-unit{
  margin-top:7px;
}
.crwd-account .crwd-premium-description{
  margin:0 !important;
  color:#b7b7b7 !important;
  font-size:14px !important;
  line-height:1.5 !important;
}
.crwd-account .crwd-premium-description strong{
  color:#fff;
}
.crwd-account .crwd-code-wrap{
  margin-top:22px;
}
.crwd-account .crwd-code-label{
  display:block;
  margin-bottom:5px;
  color:#8c8c8c;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.055em;
}
.crwd-account .crwd-code{
  margin:0 !important;
  color:#ff7a00 !important;
  font-size:30px !important;
  line-height:1.15;
  letter-spacing:.07em;
  font-weight:900;
}
.crwd-account .crwd-link-wrap{
  margin-top:18px;
}
.crwd-account .crwd-link-wrap label{
  display:block;
  margin-bottom:7px;
  color:#c5c5c5;
  font-size:12px;
}
.crwd-account .crwd-amb-link{
  height:43px;
  padding:10px 12px;
  border:1px solid #333 !important;
  border-radius:9px !important;
  background:#fff !important;
  color:#555 !important;
  box-shadow:none !important;
}
.crwd-account .crwd-premium-bottom{
  padding-top:26px;
}
.crwd-account .crwd-action-btn{
  display:block;
  width:100%;
  min-height:46px;
  border:0;
  border-radius:10px;
  padding:12px 16px;
  color:#fff;
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .15s ease,opacity .15s ease,box-shadow .15s ease;
}
.crwd-account .crwd-action-btn:not(:disabled):hover{
  transform:translateY(-1px);
}
.crwd-account .crwd-action-loyalty{
  background:linear-gradient(135deg,#ff7a00,#e85f00);
  box-shadow:0 8px 22px rgba(255,122,0,.20);
}
.crwd-account .crwd-action-ambassador{
  background:linear-gradient(135deg,#208d4d,#2fb665);
  box-shadow:0 8px 22px rgba(47,182,101,.18);
}
.crwd-account .crwd-action-ambassador:disabled,
.crwd-account .crwd-action-disabled{
  background:#343434 !important;
  color:#8d8d8d !important;
  cursor:not-allowed !important;
  box-shadow:none !important;
}
.crwd-account .crwd-status-info,
.crwd-account .crwd-status-ok{
  display:block;
  margin-top:9px;
  color:#aaa !important;
  font-size:12px;
  line-height:1.4;
}
.crwd-account .crwd-status-ok{
  color:#7fd59b !important;
}

/* Keep lower account content cleaner as cards too. */
.crwd-account > .crwd-card{
  margin-bottom:22px !important;
  padding:24px !important;
  border:1px solid #e6e6e6 !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 8px 28px rgba(0,0,0,.035) !important;
}

/* Responsive */
@media (max-width: 900px){
  .crwd-account .crwd-wallet-grid,
  .crwd-account .crwd-wallet-grid.crwd-wallet-grid-single{
    grid-template-columns:1fr !important;
  }
  .crwd-account .crwd-premium-card{
    min-height:0;
  }
}
@media (max-width: 520px){
  .crwd-account .crwd-premium-card{
    padding:21px;
    border-radius:16px;
  }
  .crwd-account .crwd-premium-values{
    grid-template-columns:1fr !important;
  }
  .crwd-account .crwd-value-box strong{
    font-size:24px !important;
  }
}


/* v1.5.0 — personalized greeting */
.crwd-account .crwd-greeting{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 18px;
  padding:0 2px;
  color:#222;
  font-size:20px;
  line-height:1.3;
}
.crwd-account .crwd-greeting strong{
  font-weight:800;
}
.crwd-account .crwd-greeting-emoji{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:23px;
  transform:translateY(-1px);
}
@media(max-width:520px){
  .crwd-account .crwd-greeting{
    font-size:18px;
  }
  .crwd-account .crwd-greeting-emoji{
    font-size:21px;
  }
}


/* v1.5.2 — greeting on customer profile/account */
.crwd-profile-greeting{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 20px;
  padding:16px 18px;
  border:1px solid #ececec;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.035);
  color:#222;
  font-size:21px;
  line-height:1.3;
}
.crwd-profile-greeting strong{
  font-weight:800;
}
.crwd-profile-greeting-emoji{
  font-size:24px;
}
@media(max-width:520px){
  .crwd-profile-greeting{
    font-size:18px;
    padding:14px 15px;
  }
}


/* v1.5.3 — refined welcome banner */
.crwd-profile-greeting{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  margin:4px 0 22px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#1b1b1b !important;
}
.crwd-profile-greeting-copy{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 13px 9px 14px;
  border-left:3px solid #ff7a00;
  border-radius:0 10px 10px 0;
  background:linear-gradient(90deg,rgba(255,122,0,.08),rgba(255,122,0,0));
}
.crwd-profile-greeting-prefix{
  font-size:17px;
  font-weight:500;
  color:#555;
  letter-spacing:-.01em;
}
.crwd-profile-greeting-name{
  font-size:20px;
  font-weight:800;
  color:#111;
  letter-spacing:-.02em;
}
.crwd-profile-greeting-emoji{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  line-height:1;
  transform:translateY(1px);
}
@media(max-width:520px){
  .crwd-profile-greeting{
    margin-bottom:18px !important;
  }
  .crwd-profile-greeting-copy{
    gap:6px;
    padding:8px 11px 8px 12px;
  }
  .crwd-profile-greeting-prefix{
    font-size:16px;
  }
  .crwd-profile-greeting-name{
    font-size:18px;
  }
  .crwd-profile-greeting-emoji{
    font-size:18px;
  }
}


/* v1.0.3 — affichage cadeau fidélité */
.crwd-line-gift{
  font-weight:600;
  opacity:.78;
}
.crwd-cart-gift-note{
  margin-top:5px;
  font-size:12px;
  opacity:.72;
}
.crwd-cart-gift-note span{
  font-weight:400 !important;
}


/* =========================================================
   1.0.10 — PupVibes customer-area layout matching supplied video
   ========================================================= */
body#module-loyaltyambassador-account .crwd-account--pupvibes{
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
}
body#module-loyaltyambassador-account .crwd-loyalty-dashboard{
  border:1px solid #d8d0c7!important;
  border-radius:20px!important;
  background:#fff!important;
  padding:22px!important;
}
body#module-loyaltyambassador-account .crwd-loyalty-stats{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:0!important;
  margin-bottom:18px!important;
}
body#module-loyaltyambassador-account .crwd-loyalty-stat{
  min-height:88px!important;
  position:relative!important;
  padding:18px 20px!important;
  background:#fff9ed!important;
  overflow:hidden!important;
}
body#module-loyaltyambassador-account .crwd-loyalty-stat:first-child{border-radius:14px 0 0 14px!important}
body#module-loyaltyambassador-account .crwd-loyalty-stat:last-child{border-radius:0 14px 14px 0!important}
body#module-loyaltyambassador-account .crwd-loyalty-stat strong{
  display:block!important;color:#a14c0b!important;font:700 24px/1 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-loyalty-stat span{
  display:block!important;margin-top:7px!important;color:#241608!important;font:400 11px/1.2 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-loyalty-stat i,
body#module-loyaltyambassador-account .crwd-loyalty-stat b{
  position:absolute!important;right:14px!important;bottom:10px!important;color:#ff8100!important;font-size:42px!important;font-style:normal!important;
}
body#module-loyaltyambassador-account .crwd-loyalty-copy{
  margin:0 0 18px!important;color:#241608!important;font:400 11px/1.45 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-main-action{
  width:100%!important;min-height:40px!important;border:0!important;border-radius:6px!important;
  background:#ff8100!important;color:#241608!important;font:500 11px/1 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-main-action.is-disabled,
body#module-loyaltyambassador-account .crwd-main-action:disabled{opacity:.65!important}
body#module-loyaltyambassador-account .crwd-main-help{
  display:block!important;margin-top:8px!important;color:#999!important;font-size:9px!important;
}

body#module-loyaltyambassador-account .crwd-ambassador-dashboard{
  border-radius:20px!important;background:#000!important;color:#fff!important;padding:22px!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-dashboard h2{
  margin:0 0 18px!important;color:#fff!important;font:500 18px/1.2 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-stats{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-bottom:22px!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-stats>div{
  position:relative!important;min-height:86px!important;padding:17px 18px!important;border-radius:14px!important;background:#fff9ed!important;color:#241608!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-stats strong{
  display:block!important;color:#a14c0b!important;font:700 23px/1 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-stats span{
  display:block!important;margin-top:8px!important;color:#241608!important;font:400 10px/1.2 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-stats b{
  position:absolute!important;right:17px!important;bottom:14px!important;color:#ff8100!important;font-size:39px!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-code{
  display:flex!important;align-items:end!important;justify-content:space-between!important;margin-bottom:16px!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-code span{
  display:block!important;color:#fff!important;font-size:10px!important;margin-bottom:6px!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-code strong{
  color:#ff8100!important;font:700 24px/1.1 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-link label{
  display:block!important;margin-bottom:5px!important;color:#fff!important;font-size:10px!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-link>div{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:0!important;margin-bottom:16px!important;
}
body#module-loyaltyambassador-account .crwd-ambassador-link input{
  height:38px!important;border-radius:6px 0 0 6px!important;border:0!important;
}
body#module-loyaltyambassador-account .crwd-copy-link{
  padding:0 13px!important;border:1px solid #fff!important;border-radius:0 6px 6px 0!important;background:#fff!important;color:#241608!important;font-size:10px!important;
}
body#module-loyaltyambassador-account .crwd-main-help--dark{color:#777!important}
body#module-loyaltyambassador-account .crwd-history-card{
  border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;margin:0!important;
}
body#module-loyaltyambassador-account .crwd-history-card h3{
  margin:0 0 10px!important;color:#241608!important;font:500 18px/1.2 'DM Sans',sans-serif!important;
}
body#module-loyaltyambassador-account .crwd-history-card table{
  background:#fff!important;border-radius:10px!important;overflow:hidden!important;font-size:10px!important;
}
body#module-loyaltyambassador-account .crwd-history-card thead{
  background:#ffe39a!important;
}

@media(max-width:700px){
  body#module-loyaltyambassador-account .crwd-loyalty-stats,
  body#module-loyaltyambassador-account .crwd-ambassador-stats{
    grid-template-columns:1fr!important;
  }
  body#module-loyaltyambassador-account .crwd-loyalty-stat:first-child,
  body#module-loyaltyambassador-account .crwd-loyalty-stat:last-child{
    border-radius:14px!important;
  }
}
