:root{--rcs-club-accent:var(--wd-primary-color,#b31b1f);--rcs-club-ink:#171717;--rcs-club-muted:#6b6b6b;--rcs-club-line:#e7e7e9;--rcs-club-soft:#f7f7f8;--rcs-club-radius:14px}
.rcs-club{direction:rtl;text-align:right;display:grid;gap:16px;color:var(--rcs-club-ink);font-family:inherit}
.rcs-club *{box-sizing:border-box}
.rcs-club h2,.rcs-club h3{font-family:inherit;margin:0 0 10px;line-height:1.4}
.rcs-club h3{font-size:16px;font-weight:800}
.rcs-club p{margin:0 0 8px;line-height:1.9}
.rcs-club-muted{color:var(--rcs-club-muted)!important;font-size:12.5px}

/* Hero */
.rcs-club-hero{--rcs-tier:#a0693b;position:relative;overflow:hidden;border-radius:20px;padding:24px 24px 20px;color:#fff;background:linear-gradient(135deg,color-mix(in srgb,var(--rcs-tier) 88%,#000) 0%,var(--rcs-tier) 55%,color-mix(in srgb,var(--rcs-tier) 65%,#fff) 100%);box-shadow:0 14px 40px color-mix(in srgb,var(--rcs-tier) 30%,transparent)}
.rcs-club-hero:after{content:"";position:absolute;inset:auto -60px -80px auto;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.12)}
.rcs-club-hero p{color:rgba(255,255,255,.92)}
.rcs-club-hero-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.rcs-club-hero-name{font-weight:700;font-size:14px;opacity:.95}
.rcs-club-hero .rcs-club-tier{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.45)}
.rcs-club-balance{display:flex;align-items:baseline;gap:8px;font-weight:700}
.rcs-club-balance-num{font-size:44px;font-weight:900;line-height:1.1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.rcs-club-balance-value{font-size:13.5px}
.rcs-club-chip{display:inline-block;margin:6px 0 0 6px!important;padding:5px 11px;border-radius:99px;background:rgba(255,255,255,.18);font-size:12.5px;line-height:1.7!important}
.rcs-club-chip.is-warn{background:#fff4d6;color:#7a5100!important}
.rcs-club-progress{position:relative;z-index:1;height:10px;margin:16px 0 6px;border-radius:99px;background:rgba(255,255,255,.28);overflow:hidden}
.rcs-club-progress span{display:block;height:100%;border-radius:99px;background:#fff}
.rcs-club-progress-text{font-size:13px;position:relative;z-index:1}
.rcs-club-tier{--rcs-tier:#888;display:inline-block;padding:3px 12px;border-radius:99px;background:var(--rcs-tier);color:#fff;font-size:12px;font-weight:800;white-space:nowrap}

/* Cards */
.rcs-club-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rcs-club-card{background:#fff;border:1px solid var(--rcs-club-line);border-radius:var(--rcs-club-radius);padding:18px 20px}
.rcs-club-missions{list-style:none;margin:0;padding:0}
.rcs-club-missions li{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-top:1px solid var(--rcs-club-line);line-height:1.7}
.rcs-club-missions li:first-child{border-top:0}
.rcs-club-missions small{color:var(--rcs-club-muted)}
.rcs-club-check{flex:0 0 24px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--rcs-club-soft);color:#999;font-weight:800;font-size:13px}
.rcs-club-missions li.is-done .rcs-club-check{background:#edf9ef;color:#126d27}
.rcs-club-missions li.is-done strong{color:#126d27}
.rcs-club-code{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;margin:10px 0;border:2px dashed color-mix(in srgb,var(--rcs-club-accent) 45%,#ddd);border-radius:12px;background:color-mix(in srgb,var(--rcs-club-accent) 5%,#fff)}
.rcs-club-code span{color:var(--rcs-club-muted);font-size:12.5px}
.rcs-club-code strong{font-size:20px;letter-spacing:.12em}
.rcs-club-share{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.rcs-club-share input{flex:1 1 200px;min-width:0;height:42px;padding:0 10px;border:1px solid #d9d9d9;border-radius:10px;font-size:13px;background:var(--rcs-club-soft)}

/* Buttons */
.rcs-club .rcs-club-btn,.rcs-club-box .rcs-club-btn,.rcs-club-badge .rcs-club-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;padding:8px 16px!important;border:1px solid var(--rcs-club-accent)!important;border-radius:10px!important;background:var(--rcs-club-accent)!important;color:#fff!important;font-family:inherit!important;font-size:13.5px!important;font-weight:700!important;line-height:1.4!important;text-decoration:none!important;cursor:pointer;box-shadow:none!important;text-transform:none!important}
.rcs-club .rcs-club-btn.is-ghost{background:#fff!important;color:var(--rcs-club-accent)!important}
.rcs-club .rcs-club-btn:hover,.rcs-club-box .rcs-club-btn:hover{filter:brightness(.95)}
.rcs-club-hero .rcs-club-btn{background:#fff!important;color:var(--rcs-club-ink)!important;border-color:#fff!important;margin-top:8px}
.rcs-club-link{appearance:none;border:0!important;background:none!important;padding:2px 4px!important;color:var(--rcs-club-accent)!important;font:inherit;font-size:12.5px!important;font-weight:700!important;cursor:pointer;min-height:0!important;box-shadow:none!important;text-transform:none!important}
.rcs-club-btn:disabled,.rcs-club-link:disabled{opacity:.55;cursor:progress}

/* Forms */
.rcs-club-form-row{margin-bottom:12px}
.rcs-club-form-row>label{display:block;font-weight:700;font-size:13px;margin-bottom:6px}
.rcs-club-form select,.rcs-club-form input[type=text]{height:42px;border:1px solid #d6d6d6;border-radius:10px;padding:0 10px;background:#fff;font-family:inherit}
.rcs-club-date{display:flex;gap:8px;flex-wrap:wrap}

/* Tiers */
.rcs-club-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.rcs-club-tier-card{--rcs-tier:#888;position:relative;padding:14px;border:1px solid var(--rcs-club-line);border-top:4px solid var(--rcs-tier);border-radius:12px;background:#fff}
.rcs-club-tier-card.is-current{box-shadow:0 0 0 2px var(--rcs-tier);background:color-mix(in srgb,var(--rcs-tier) 5%,#fff)}
.rcs-club-tier-card ul{margin:8px 0 0;padding:0 18px 0 0;font-size:13px;line-height:1.9}
.rcs-club-tier-min{font-size:12.5px;color:var(--rcs-club-muted);margin:8px 0 0!important}
.rcs-club-you{display:inline-block;margin-top:8px;font-size:11.5px;font-weight:800;color:var(--rcs-tier)}

/* History */
.rcs-club-table-wrap{overflow-x:auto}
.rcs-club-table{width:100%;border-collapse:collapse;font-size:13px}
.rcs-club-table th,.rcs-club-table td{padding:9px 8px;border-bottom:1px solid var(--rcs-club-line);text-align:right;vertical-align:top}
.rcs-club-table th{font-weight:700;color:var(--rcs-club-muted);font-size:12px}
.rcs-club-table .is-plus{color:#126d27;font-weight:800}
.rcs-club-table .is-minus{color:#b32d2e;font-weight:800}
.rcs-club-pager{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.rcs-club-pager a,.rcs-club-pager span{min-width:32px;padding:4px 8px;border:1px solid var(--rcs-club-line);border-radius:8px;text-align:center;text-decoration:none}
.rcs-club-pager span{background:var(--rcs-club-accent);color:#fff;border-color:var(--rcs-club-accent)}
.rcs-club-faq details{border-top:1px solid var(--rcs-club-line);padding:10px 0}
.rcs-club-faq details:first-child{border-top:0}
.rcs-club-faq summary{cursor:pointer;font-weight:700}
.rcs-club-faq p{margin:8px 0 0;color:#444;font-size:13.5px}

/* Product badge, teaser, pill */
.rcs-club-badge{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;padding:10px 14px;border-radius:12px;background:color-mix(in srgb,var(--rcs-club-accent) 6%,#fff);border:1px solid color-mix(in srgb,var(--rcs-club-accent) 22%,#eee);font-size:13.5px;line-height:1.8;direction:rtl}
.rcs-club-badge-icon{font-size:18px}
.rcs-club-badge .rcs-club-btn{min-height:34px;padding:4px 12px!important;font-size:12.5px!important}
.rcs-club-teaser{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px;padding:12px 16px;border:1px solid var(--rcs-club-line);border-radius:12px;background:var(--rcs-club-soft);color:inherit!important;text-decoration:none!important}
.rcs-club-teaser-go{margin-inline-start:auto;color:var(--rcs-club-accent);font-weight:700;font-size:13px}
.rcs-club-pill{display:inline-block;padding:3px 12px;border-radius:99px;background:color-mix(in srgb,var(--rcs-club-accent) 10%,#fff);color:var(--rcs-club-accent)!important;font-weight:800;font-size:12.5px;text-decoration:none!important}

/* Cart / checkout box */
.rcs-club-box{direction:rtl;text-align:right;margin:0 0 16px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--rcs-club-accent) 25%,#e5e5e5);border-radius:12px;background:color-mix(in srgb,var(--rcs-club-accent) 4%,#fff);font-size:13.5px;line-height:1.8}
.rcs-club-box p{margin:6px 0!important}
.rcs-club-box-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:4px}
.rcs-club-box-head span{color:var(--rcs-club-muted);font-size:12.5px}
.rcs-club-redeem{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}
.rcs-club-redeem input{width:130px;height:42px;padding:0 10px;border:1px solid #d6d6d6;border-radius:10px;font-size:15px;direction:ltr;text-align:center;background:#fff}
.rcs-club-applied{color:#126d27;font-weight:700}
.rcs-club-earn strong{color:var(--rcs-club-accent)}
.rcs-club-msg{font-size:12.5px;color:#126d27}
.rcs-club-msg.is-error{color:#8d2017}
.rcs-club-box.is-busy{opacity:.7;cursor:progress}
.rcs-club-earn-row th,.rcs-club-earn-row td{color:var(--rcs-club-accent);font-weight:700}
.rcs-club-blocks-slot{max-width:1200px;margin:0 auto 12px}

/* Landing */
.rcs-club-landing-hero h2{font-size:clamp(22px,4vw,32px);font-weight:900;color:#fff;margin:6px 0 10px}
.rcs-club-landing-hero{padding:32px 28px}
.rcs-club-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rcs-club-steps>div{background:#fff;border:1px solid var(--rcs-club-line);border-radius:var(--rcs-club-radius);padding:16px}
.rcs-club-steps b{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--rcs-club-accent);color:#fff;margin-bottom:8px}

@media(max-width:720px){
  .rcs-club-grid,.rcs-club-steps{grid-template-columns:1fr}
  .rcs-club-balance-num{font-size:36px}
  .rcs-club-hero{padding:20px 18px}
}
@media(prefers-reduced-motion:no-preference){.rcs-club-progress span{transition:width .6s ease}}
