.egc-dashboard{--egc-border:#e8e8ee;--egc-soft:#f7f7fa;--egc-text:#17171c;--egc-muted:#70707b;color:var(--egc-text);display:grid;gap:18px}.egc-hero{border:1px solid var(--egc-border);border-radius:20px;padding:28px;background:linear-gradient(135deg,#fff 0%,#faf8f1 100%);display:flex;justify-content:space-between;gap:24px;align-items:center;box-shadow:0 8px 30px rgba(20,20,30,.05)}.egc-eyebrow{font-size:12px;letter-spacing:.14em;font-weight:700;color:var(--egc-muted)}.egc-hero h2{font-size:36px;margin:7px 0 4px;line-height:1.05}.egc-hero h2 small{font-size:15px;font-weight:600;color:var(--egc-muted)}.egc-hero p{margin:0;color:var(--egc-muted)}.egc-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(95px,1fr));gap:10px}.egc-hero-stats div{background:#fff;border:1px solid var(--egc-border);border-radius:14px;padding:14px;min-width:105px}.egc-hero-stats strong,.egc-hero-stats span{display:block}.egc-hero-stats strong{font-size:19px}.egc-hero-stats span{font-size:11px;color:var(--egc-muted);margin-top:4px}.egc-card{border:1px solid var(--egc-border);border-radius:18px;padding:22px;background:#fff;box-shadow:0 6px 20px rgba(20,20,30,.035)}.egc-card h3{margin:0 0 10px;font-size:18px}.egc-card p{color:var(--egc-muted)}.egc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.egc-ref-box{display:flex;gap:10px;margin-top:15px}.egc-ref-box input{flex:1;min-width:0;background:var(--egc-soft);border:1px solid var(--egc-border);border-radius:10px;padding:12px}.egc-progress{height:8px;background:#ececf1;border-radius:99px;overflow:hidden;margin:8px 0}.egc-progress i{display:block;height:100%;background:currentColor;border-radius:inherit}.egc-mission,.egc-milestone{padding:12px 0;border-bottom:1px solid var(--egc-border)}.egc-mission:last-child,.egc-milestone:last-child{border-bottom:0}.egc-mission>div:first-child,.egc-milestone>div:first-child{display:flex;justify-content:space-between;gap:12px}.egc-mission span,.egc-milestone span,.egc-milestone small{color:var(--egc-muted)}.egc-table-wrap{overflow:auto}.egc-table{width:100%;border-collapse:collapse}.egc-table th,.egc-table td{padding:12px 9px;border-bottom:1px solid var(--egc-border);text-align:left;vertical-align:top}.egc-table th{font-size:12px;color:var(--egc-muted)}.egc-table td small{display:block;color:var(--egc-muted);margin-top:3px}.egc-plus{font-weight:700}.egc-minus{font-weight:700}.egc-product-share,.egc-checkout-box{border:1px solid #e7e7ec;background:#fafafd;border-radius:14px;padding:16px;margin:16px 0}.egc-product-share p,.egc-checkout-box p{margin:7px 0;color:#70707b;font-size:13px}.egc-share-row{display:flex;gap:7px;flex-wrap:wrap}.egc-share-btn{border:1px solid #d9d9e0!important;background:#fff!important;border-radius:9px!important;padding:8px 10px!important;line-height:1.1!important;cursor:pointer}.egc-checkout-title{display:flex;gap:8px;align-items:center}.egc-balance{margin-left:auto;font-size:12px;color:#6c6c77}.egc-redeem-control{display:flex;gap:8px}.egc-redeem-control input{max-width:150px}.egc-note{font-weight:600}.egc-rules ul{padding-left:20px}@media(max-width:760px){.egc-hero{display:block;padding:20px}.egc-hero-stats{margin-top:18px;grid-template-columns:1fr 1fr}.egc-grid{grid-template-columns:1fr}.egc-ref-box{display:block}.egc-ref-box input,.egc-ref-box button{width:100%;margin:0 0 8px}.egc-hero h2{font-size:30px}.egc-card{padding:17px}.egc-table{min-width:620px}}

/* Product Share & Earn — minimal icon design (v1.0.2) */
.egc-product-share{
  margin:18px 0 10px!important;
  padding:13px 14px!important;
  border:1px solid #ececf0!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.egc-product-share-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.egc-product-share-title{display:flex;align-items:center;gap:7px;color:#2b2b31;font-size:14px;line-height:1.3}
.egc-product-share-title strong{font-size:14px!important;font-weight:650!important;letter-spacing:0!important}
.egc-product-share-coin{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:15px}
.egc-product-share .egc-product-share-copy{
  margin:4px 0 10px!important;
  color:#7a7a84!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}
.egc-product-share .egc-share-row{display:flex!important;align-items:center!important;gap:15px!important;flex-wrap:wrap!important}
.egc-product-share .egc-share-btn{
  appearance:none!important;-webkit-appearance:none!important;
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:28px!important;height:30px!important;min-width:28px!important;min-height:30px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;line-height:1!important;
  cursor:pointer!important;transition:transform .15s ease,opacity .15s ease,color .15s ease!important;
}
.egc-product-share .egc-share-btn:hover{transform:translateY(-1px) scale(1.08)!important;background:transparent!important;opacity:.82!important}
.egc-product-share .egc-share-btn:focus,.egc-product-share .egc-share-btn:active{background:transparent!important;box-shadow:none!important}
.egc-product-share .egc-share-btn:focus-visible{outline:2px solid currentColor!important;outline-offset:4px!important;border-radius:3px!important}
.egc-product-share .egc-share-icon{display:flex!important;width:25px!important;height:25px!important;align-items:center!important;justify-content:center!important}
.egc-product-share .egc-share-icon svg{display:block!important;width:25px!important;height:25px!important;fill:currentColor!important;stroke:none!important}
.egc-product-share .egc-share-copy .egc-share-icon svg,.egc-product-share .egc-share-icon svg path[fill="none"]{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.egc-product-share .egc-share-label{
  position:absolute!important;left:50%!important;bottom:calc(100% + 9px)!important;z-index:20!important;
  transform:translate(-50%,4px)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  width:max-content!important;max-width:160px!important;padding:5px 7px!important;border-radius:6px!important;
  background:#25262b!important;color:#fff!important;font-size:11px!important;font-weight:500!important;line-height:1.2!important;
  white-space:nowrap!important;transition:opacity .14s ease,transform .14s ease,visibility .14s ease!important;
}
.egc-product-share .egc-share-label:after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:4px solid transparent;border-top-color:#25262b}
.egc-product-share .egc-share-btn:hover .egc-share-label,.egc-product-share .egc-share-btn:focus-visible .egc-share-label,.egc-product-share .egc-share-btn.is-copied .egc-share-label{opacity:1!important;visibility:visible!important;transform:translate(-50%,0)!important}
.egc-product-share .egc-share-whatsapp{color:#178f57!important}
.egc-product-share .egc-share-facebook{color:#316bc7!important}
.egc-product-share .egc-share-x{color:#1f2024!important}
.egc-product-share .egc-share-telegram{color:#248ac0!important}
.egc-product-share .egc-share-copy{color:#676975!important}
.egc-product-share .egc-share-btn.is-copied{color:#16824f!important;background:transparent!important}
@media(max-width:480px){
  .egc-product-share{padding:12px 13px!important;border-radius:10px!important}
  .egc-product-share .egc-product-share-copy{margin-bottom:9px!important;font-size:12px!important}
  .egc-product-share .egc-share-row{gap:14px!important}
  .egc-product-share .egc-share-btn{width:27px!important;height:29px!important;min-width:27px!important;min-height:29px!important}
  .egc-product-share .egc-share-icon,.egc-product-share .egc-share-icon svg{width:24px!important;height:24px!important}
}

/* Uploaded Gold Coin icon */
img.egc-coin-icon{display:inline-block!important;width:1.15em!important;height:1.15em!important;max-width:none!important;object-fit:contain!important;vertical-align:-.18em!important;margin:0 .14em 0 0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.egc-coin-icon-text{display:inline-block;line-height:1}.egc-hero h2 img.egc-coin-icon-hero{width:38px!important;height:38px!important;vertical-align:-7px!important;margin-right:7px!important}.egc-mission img.egc-coin-icon-inline,.egc-milestone img.egc-coin-icon-inline{width:16px!important;height:16px!important;vertical-align:-3px!important;margin-right:3px!important}.egc-checkout-icon{display:inline-flex;align-items:center;justify-content:center}.egc-checkout-icon img.egc-coin-icon-checkout{width:21px!important;height:21px!important;margin:0!important;vertical-align:0!important}.egc-product-share-coin img.egc-coin-icon-share{width:17px!important;height:17px!important;margin:0!important;vertical-align:0!important}.egc-product-share-coin{min-width:17px;min-height:17px}


/* Checkout coin redemption — compact ecommerce layout (v1.0.5) */
.egc-checkout-box{
  padding:15px 16px!important;
  border:1px solid #e6e7eb!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.egc-checkout-box .egc-checkout-title{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin:0 0 8px!important;
  line-height:1.3!important;
}
.egc-checkout-box .egc-checkout-title strong{
  font-size:15px!important;
  font-weight:650!important;
  color:#2b2d31!important;
}
.egc-checkout-box .egc-balance{
  margin-left:auto!important;
  color:#777b84!important;
  font-size:12px!important;
  font-weight:400!important;
  white-space:nowrap!important;
}
.egc-checkout-box p{
  margin:5px 0!important;
  color:#777b84!important;
  font-size:12.5px!important;
  line-height:1.45!important;
}
.egc-checkout-box .egc-redeem-control{
  display:flex!important;
  align-items:stretch!important;
  gap:8px!important;
  width:100%!important;
  margin-top:9px!important;
}
.egc-checkout-box .egc-redeem-control #egc_redeem_input{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 12px!important;
  border:1px solid #dcdfe4!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#25272b!important;
  box-shadow:none!important;
  font-size:14px!important;
  line-height:40px!important;
  box-sizing:border-box!important;
}
.egc-checkout-box .egc-redeem-control #egc_redeem_input:focus{
  border-color:#9aa0a8!important;
  outline:0!important;
  box-shadow:0 0 0 2px rgba(30,34,40,.06)!important;
}
.egc-checkout-box .egc-redeem-control #egc_apply_redeem,
.egc-checkout-box .egc-redeem-control button#egc_apply_redeem.button{
  appearance:none!important;
  -webkit-appearance:none!important;
  flex:0 0 auto!important;
  width:auto!important;
  min-width:88px!important;
  max-width:none!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
  padding:0 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  border:0!important;
  border-radius:6px!important;
  background:#2c5f8f!important;
  color:#fff!important;
  box-shadow:none!important;
  text-transform:none!important;
  letter-spacing:0!important;
  font-size:13.5px!important;
  font-weight:600!important;
  line-height:1!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
  transition:opacity .15s ease,transform .15s ease!important;
}
.egc-checkout-box .egc-redeem-control #egc_apply_redeem:hover{
  opacity:.9!important;
  transform:none!important;
}
.egc-checkout-box .egc-redeem-control #egc_apply_redeem:focus-visible{
  outline:2px solid #2c5f8f!important;
  outline-offset:2px!important;
}
.egc-checkout-box #egc_redeem_msg{
  min-height:0!important;
  margin-top:8px!important;
  color:#696d75!important;
  font-size:12.5px!important;
  line-height:1.4!important;
}
@media(max-width:480px){
  .egc-checkout-box{padding:13px!important;border-radius:10px!important}
  .egc-checkout-box .egc-redeem-control{gap:7px!important}
  .egc-checkout-box .egc-redeem-control #egc_redeem_input{height:40px!important;min-height:40px!important}
  .egc-checkout-box .egc-redeem-control #egc_apply_redeem,
  .egc-checkout-box .egc-redeem-control button#egc_apply_redeem.button{
    min-width:78px!important;height:40px!important;min-height:40px!important;padding:0 14px!important;font-size:13px!important
  }
}


/* Coin activity pagination — 10 rows per page (v1.0.7) */
.egc-pagination{display:flex;justify-content:center;align-items:center;margin-top:18px;padding-top:4px}.egc-pagination-desktop{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}.egc-pagination .egc-page-item{display:inline-flex}.egc-pagination .page-numbers{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:36px!important;height:36px!important;margin:0!important;padding:0 10px!important;border:1px solid #e3e4e9!important;border-radius:8px!important;background:#fff!important;color:#42454d!important;text-decoration:none!important;box-shadow:none!important;font-size:13px!important;font-weight:500!important;line-height:1!important;transition:border-color .15s ease,background .15s ease,color .15s ease!important}.egc-pagination .page-numbers:hover{border-color:#b9bcc4!important;background:#f8f8fa!important;color:#1f2228!important}.egc-pagination .page-numbers.current{border-color:#2c5f8f!important;background:#2c5f8f!important;color:#fff!important;font-weight:650!important}.egc-pagination .page-numbers.dots{border-color:transparent!important;background:transparent!important;min-width:24px!important;padding:0!important}.egc-pagination-mobile{display:none;align-items:center;justify-content:center;gap:14px}.egc-pagination-mobile .egc-page-nav{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #e3e4e9;border-radius:8px;background:#fff;color:#2d3036;text-decoration:none;font-size:22px;line-height:1}.egc-pagination-mobile .egc-page-nav.is-disabled{opacity:.35}.egc-pagination-mobile .egc-page-status{min-width:58px;text-align:center;color:#676b74;font-size:13px;font-weight:600}@media(max-width:600px){.egc-pagination{margin-top:14px}.egc-pagination-desktop{display:none}.egc-pagination-mobile{display:flex}}

/* My Account > Gold Coins — mobile ecommerce redesign (v1.1.0) */
.egc-dashboard,
.egc-dashboard *{box-sizing:border-box}
.egc-dashboard{min-width:0;max-width:100%}
.egc-dashboard>*,.egc-hero>*,.egc-card>*,.egc-grid>*,.egc-ref-box>*{min-width:0;max-width:100%}

@media(max-width:760px){
  .woocommerce-MyAccount-content .egc-dashboard,
  .egc-dashboard{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:12px!important;
    overflow:visible!important;
  }
  .egc-dashboard section,
  .egc-dashboard .egc-card,
  .egc-dashboard .egc-hero,
  .egc-dashboard .egc-grid{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  /* Rewards summary */
  .egc-hero{
    display:block!important;
    padding:18px!important;
    border-radius:16px!important;
    box-shadow:0 4px 18px rgba(20,20,30,.035)!important;
    overflow:hidden!important;
  }
  .egc-eyebrow{font-size:11px!important;letter-spacing:.13em!important}
  .egc-hero h2{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:0 5px!important;
    margin:8px 0 4px!important;
    font-size:31px!important;
    line-height:1.08!important;
  }
  .egc-hero h2 small{
    font-size:14px!important;
    line-height:1.2!important;
    margin-left:1px!important;
  }
  .egc-hero p{font-size:13px!important;line-height:1.45!important}
  .egc-hero h2 img.egc-coin-icon-hero{
    width:34px!important;height:34px!important;vertical-align:0!important;margin:0 4px 0 0!important
  }
  .egc-hero-stats{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    margin-top:16px!important;
  }
  .egc-hero-stats div{
    min-width:0!important;
    padding:11px 10px!important;
    border-radius:12px!important;
  }
  .egc-hero-stats strong{font-size:17px!important;line-height:1.15!important}
  .egc-hero-stats span{
    margin-top:4px!important;
    font-size:10.5px!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
  }

  /* General cards */
  .egc-card{
    padding:17px!important;
    border-radius:15px!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .egc-card h3{margin:0 0 8px!important;font-size:17px!important;line-height:1.3!important}
  .egc-card p{
    margin:0!important;
    font-size:13.5px!important;
    line-height:1.55!important;
    overflow-wrap:anywhere!important;
  }

  /* Invite link */
  .egc-ref-box{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
    width:100%!important;
    margin-top:14px!important;
  }
  .egc-ref-box input{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:44px!important;
    margin:0!important;
    padding:0 12px!important;
    border-radius:9px!important;
    font-size:13px!important;
    line-height:42px!important;
    box-sizing:border-box!important;
  }
  .egc-ref-box .egc-copy-ref,
  .egc-ref-box button.egc-copy-ref,
  .egc-ref-box button.button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    padding:0 14px!important;
    border-radius:9px!important;
    white-space:nowrap!important;
    font-size:13px!important;
    line-height:1!important;
    box-sizing:border-box!important;
  }

  /* Missions + milestones */
  .egc-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
  .egc-mission,.egc-milestone{padding:11px 0!important}
  .egc-mission>div:first-child,.egc-milestone>div:first-child{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-width:0!important;
  }
  .egc-mission strong,.egc-milestone strong{
    min-width:0!important;
    font-size:13.5px!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }
  .egc-mission span,.egc-milestone span{
    flex:0 0 auto!important;
    white-space:nowrap!important;
    font-size:12.5px!important;
  }
  .egc-progress{height:7px!important;margin:8px 0!important}
  .egc-milestone small{font-size:11px!important}

  /* Rules */
  .egc-rules,.egc-rules *{max-width:100%!important;overflow-wrap:anywhere!important}
  .egc-rules ul,.egc-rules ol{margin:8px 0 0!important;padding-left:19px!important}
  .egc-rules li{margin:5px 0!important;font-size:13px!important;line-height:1.5!important}

  /* Coin activity becomes a compact transaction list instead of a squeezed table. */
  #egc-coin-activity .egc-table-wrap{overflow:visible!important;width:100%!important;max-width:100%!important}
  #egc-coin-activity .egc-table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    border:0!important;
  }
  #egc-coin-activity .egc-table thead{display:none!important}
  #egc-coin-activity .egc-table tbody{display:block!important;width:100%!important}
  #egc-coin-activity .egc-table tr{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-areas:"activity coins" "date balance"!important;
    gap:5px 12px!important;
    width:100%!important;
    padding:13px 0!important;
    border-bottom:1px solid var(--egc-border)!important;
    background:transparent!important;
  }
  #egc-coin-activity .egc-table tr:last-child{border-bottom:0!important}
  #egc-coin-activity .egc-table td{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    font-size:12.5px!important;
    line-height:1.4!important;
  }
  #egc-coin-activity .egc-table td:nth-child(1){grid-area:date;color:var(--egc-muted)!important;font-size:11.5px!important}
  #egc-coin-activity .egc-table td:nth-child(2){grid-area:activity}
  #egc-coin-activity .egc-table td:nth-child(2) strong{font-size:13.5px!important;line-height:1.3!important}
  #egc-coin-activity .egc-table td:nth-child(2) small{margin-top:2px!important;font-size:11.5px!important;line-height:1.35!important}
  #egc-coin-activity .egc-table td:nth-child(3){grid-area:coins;text-align:right!important;white-space:nowrap!important;font-size:14px!important}
  #egc-coin-activity .egc-table td:nth-child(4){grid-area:balance;text-align:right!important;color:var(--egc-muted)!important;font-size:11.5px!important;white-space:nowrap!important}
  #egc-coin-activity .egc-table td:nth-child(4)::before{content:attr(data-label) ": ";font-weight:400!important}
  #egc-coin-activity .egc-table .egc-empty-row{display:block!important;padding:14px 0!important}
  #egc-coin-activity .egc-table .egc-empty-row td{display:block!important;text-align:center!important;color:var(--egc-muted)!important}

  .egc-pagination{margin-top:12px!important;padding-top:0!important}
}

@media(max-width:380px){
  .egc-hero{padding:16px!important}
  .egc-hero h2{font-size:28px!important}
  .egc-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .egc-hero-stats div:nth-child(3){grid-column:1/-1!important}
  .egc-card{padding:15px!important}
}

