/* HomeGlo — Rewards & Referrals */
.hg-rewards{color:#2b2622}
.hg-rewards-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:end;
  padding:28px;
  border-radius:14px;
  background:#2b2622;
  color:#fff;
}
.hg-rewards-hero-copy>p{
  margin:0 0 8px!important;
  color:#cdb79f!important;
  font:700 8px/1.3 "Manrope",sans-serif!important;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hg-rewards-hero h2{
  margin:0!important;
  max-width:600px;
  color:#fff!important;
  font:500 clamp(38px,5vw,58px)/.92 "Cormorant Garamond",serif!important;
  letter-spacing:-.04em;
}
.hg-rewards-hero-copy>span{
  display:block;
  max-width:590px;
  margin-top:14px;
  color:rgba(255,255,255,.65);
  font:400 10px/1.65 "Manrope",sans-serif;
}
.hg-rewards-balance{
  min-width:160px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(255,255,255,.045);
  text-align:right;
}
.hg-rewards-balance small{display:block;color:rgba(255,255,255,.58);font:600 7.5px/1.3 "Manrope",sans-serif;text-transform:uppercase;letter-spacing:.08em}
.hg-rewards-balance strong{display:block;margin-top:5px;color:#fff;font:500 48px/.85 "Cormorant Garamond",serif}
.hg-rewards-balance span{display:block;margin-top:4px;color:#cdb79f;font:700 8px/1.3 "Manrope",sans-serif;text-transform:uppercase;letter-spacing:.08em}

.hg-rewards-message{
  display:grid;
  gap:3px;
  margin-top:12px;
  padding:12px 14px;
  border:1px solid #cdd7c5;
  border-radius:8px;
  background:#fbfdf9;
}
.hg-rewards-message.is-error{border-color:#eccfc5;background:#fff7f4}
.hg-rewards-message strong{font:700 10px/1.4 "Manrope",sans-serif}
.hg-rewards-message span{color:#746d64;font:400 9px/1.5 "Manrope",sans-serif}

.hg-rewards-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.hg-rewards-card{
  padding:20px;
  border:1px solid #e0d8ce;
  border-radius:12px;
  background:#faf6f0;
}
.hg-rewards-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.hg-rewards-card-head p{margin:0 0 4px!important;color:#5c6b4f!important;font:700 7.5px/1.3 "Manrope",sans-serif!important;letter-spacing:.12em;text-transform:uppercase}
.hg-rewards-card-head h3{margin:0!important;color:#2b2622!important;font:600 25px/1 "Cormorant Garamond",serif!important}
.hg-rewards-card-head>span{flex:0 0 auto;padding:7px 9px;border-radius:999px;background:#fff;color:#c4693b;font:700 8px/1 "Manrope",sans-serif;border:1px solid #e1d8ce}

.hg-rewards-progress{margin:20px 0 16px}
.hg-rewards-progress>div{height:5px;border-radius:999px;background:#e3dcd3;overflow:hidden}
.hg-rewards-progress>div>span{display:block;height:100%;border-radius:inherit;background:#c4693b}
.hg-rewards-progress p{margin:7px 0 0!important;color:#746d64!important;font:500 8.5px/1.45 "Manrope",sans-serif!important}
.hg-rewards-redeem form button{
  width:100%;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 14px;
  border:1px solid #2b2622;
  border-radius:7px;
  background:#2b2622;
  color:#fff;
  cursor:pointer;
  font:700 8px/1 "Manrope",sans-serif;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.hg-rewards-redeem form button:disabled{opacity:.38;cursor:not-allowed}
.hg-rewards-code{margin-top:12px;padding:11px;border:1px dashed #cfc4b7;border-radius:8px;background:#fff}
.hg-rewards-code>small{display:block;margin-bottom:6px;color:#8a8378;font:600 7.5px/1.3 "Manrope",sans-serif;text-transform:uppercase;letter-spacing:.06em}
.hg-rewards-code>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hg-rewards-code code{color:#2b2622;font:700 10px/1.3 "Manrope",sans-serif}
.hg-rewards-code button{padding:0;border:0;background:transparent;color:#5c6b4f;font:700 8px/1 "Manrope",sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

.hg-rewards-referral-copy{margin:18px 0 14px!important;color:#746d64!important;font:400 9.5px/1.6 "Manrope",sans-serif!important}
.hg-rewards-referral-link{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.hg-rewards-referral-link input{
  width:100%!important;
  height:42px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #d8d0c5!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#746d64!important;
  box-shadow:none!important;
  font:500 8.5px/1 "Manrope",sans-serif!important;
}
.hg-rewards-referral-link button{
  min-height:42px;
  padding:0 12px;
  border:1px solid #2b2622;
  border-radius:7px;
  background:#2b2622;
  color:#fff;
  cursor:pointer;
  font:700 7.5px/1 "Manrope",sans-serif;
  text-transform:uppercase;
}
.hg-rewards-referral-note{display:grid;grid-template-columns:auto 1fr;gap:7px;align-items:start;margin-top:12px;padding-top:11px;border-top:1px solid #e4ded3}
.hg-rewards-referral-note svg{width:14px;height:14px;fill:none;stroke:#8a8378;stroke-width:1.45;margin-top:1px}
.hg-rewards-referral-note p{margin:0!important;color:#8a8378!important;font:400 7.8px/1.5 "Manrope",sans-serif!important}

.hg-rewards-how{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:12px;
  border:1px solid #e0d8ce;
  border-radius:11px;
  background:#fff;
  overflow:hidden;
}
.hg-rewards-how>div{padding:16px;border-right:1px solid #e9e3db}
.hg-rewards-how>div:last-child{border-right:0}
.hg-rewards-how span{display:block;color:#c4693b;font:700 8px/1 "Manrope",sans-serif}
.hg-rewards-how strong{display:block;margin-top:7px;color:#2b2622;font:600 18px/1 "Cormorant Garamond",serif}
.hg-rewards-how p{margin:4px 0 0!important;color:#8a8378!important;font:400 8px/1.45 "Manrope",sans-serif!important}

.hg-rewards-history{margin-top:12px;border:1px solid #e0d8ce;border-radius:11px;background:#fff;overflow:hidden}
.hg-rewards-history-head{padding:15px 17px;border-bottom:1px solid #e9e3db}
.hg-rewards-history-head h3{margin:0!important;color:#2b2622!important;font:600 22px/1 "Cormorant Garamond",serif!important}
.hg-rewards-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 17px;border-bottom:1px solid #eee8e0}
.hg-rewards-history-row:last-child{border-bottom:0}
.hg-rewards-history-row strong{display:block;color:#2b2622;font:700 8.5px/1.4 "Manrope",sans-serif}
.hg-rewards-history-row span{display:block;margin-top:2px;color:#8a8378;font:500 7.5px/1.3 "Manrope",sans-serif}
.hg-rewards-history-row b{font:700 9px/1.3 "Manrope",sans-serif}
.hg-rewards-history-row b.is-positive{color:#5c6b4f}
.hg-rewards-history-row b.is-negative{color:#a5563c}
.hg-rewards-terms{margin-top:12px;padding:0 3px}
.hg-rewards-terms p{margin:0!important;color:#8a8378!important;font:400 7.7px/1.55 "Manrope",sans-serif!important}

.hg-rewards-dashboard-teaser{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  margin:18px 0!important;
  padding:14px!important;
  border:1px solid #e0d8ce;
  border-radius:9px;
  background:#faf6f0;
  color:#2b2622!important;
  text-decoration:none!important;
}
.hg-rewards-dashboard-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:#c4693b}
.hg-rewards-dashboard-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
.hg-rewards-dashboard-teaser small{display:block;color:#5c6b4f;font:700 7px/1.3 "Manrope",sans-serif;text-transform:uppercase;letter-spacing:.08em}
.hg-rewards-dashboard-teaser strong{display:block;margin-top:2px;font:600 17px/1 "Cormorant Garamond",serif}
.hg-rewards-dashboard-teaser b{font:700 7.5px/1 "Manrope",sans-serif;text-transform:uppercase}

.hg-rewards-toast{position:fixed;z-index:90;left:50%;bottom:28px;transform:translateX(-50%);padding:10px 13px;border-radius:8px;background:#2b2622;color:#fff;font:600 9px/1.4 "Manrope",sans-serif;box-shadow:0 12px 34px rgba(0,0,0,.18)}
.hg-rewards-toast[hidden]{display:none!important}

@media(max-width:760px){
  .hg-rewards-hero{grid-template-columns:1fr;padding:22px}
  .hg-rewards-balance{text-align:left}
  .hg-rewards-grid{grid-template-columns:1fr}
  .hg-rewards-how{grid-template-columns:1fr}
  .hg-rewards-how>div{border-right:0;border-bottom:1px solid #e9e3db}
  .hg-rewards-how>div:last-child{border-bottom:0}
}
@media(max-width:480px){
  .hg-rewards-referral-link{grid-template-columns:1fr}
  .hg-rewards-card{padding:16px}
  .hg-rewards-card-head{flex-direction:column}
  .hg-rewards-dashboard-teaser{grid-template-columns:auto 1fr}
  .hg-rewards-dashboard-teaser b{grid-column:1/-1;margin-left:49px}
}
