/* Cafeeyar membership / loyalty. Scoped to avoid affecting the ordering UI. */
.cyclub{--cc-deep:#123f31;--cc-green:#175a44;--cc-mint:#e4f1e8;--cc-gold:#d4aa69;--cc-ink:#29231d;--cc-muted:#81746b;--cc-border:#e9ded2;--cc-sand:#f9f6f1;font-family:inherit;color:var(--cc-ink);direction:rtl}
.cyclub *{box-sizing:border-box}
.cyclub svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;fill:none;flex:none}
.cyclub small{font-size:12px}
.cyclub p{line-height:1.9}
.cyclub .cc-muted{color:var(--cc-muted)}
.cyclub .cc-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.cyclub .cc-eyebrow{font-size:11px;font-weight:900;letter-spacing:.1em;color:var(--cc-green)}
.cyclub .cc-title{font-size:clamp(19px,2.4vw,25px);font-weight:900;margin:0 0 4px}
.cyclub .cc-chip{display:inline-flex;align-items:center;gap:5px;border-radius:100px;padding:6px 11px;background:#f8f0e0;color:#865b26;font-size:11px;font-weight:850}
.cyclub .cc-sample{background:#fff4dc;border:1px solid #ecd5a8;color:#795018;border-radius:13px;padding:10px 13px;font-size:12px;font-weight:650;margin:0 0 15px;display:flex;align-items:center;gap:9px}
.cyclub .cc-sample svg{width:18px;height:18px}
.cyclub .cc-card{background:#fff;border:1px solid var(--cc-border);border-radius:20px;padding:18px;box-shadow:0 6px 24px #513d2408}
.cyclub .cc-member{position:relative;overflow:hidden;padding:23px 24px;color:#f7f5e9;border-radius:26px;background:radial-gradient(circle at 8% 5%,#5e8068 0%,transparent 37%),linear-gradient(125deg,#123d31,#174f3b 70%,#0f3029);box-shadow:0 18px 39px #164c3438}
.cyclub .cc-member:before{content:"";position:absolute;width:235px;height:235px;left:-60px;bottom:-145px;border:35px solid #ffffff09;border-radius:50%;pointer-events:none}
.cyclub .cc-member:after{content:"";position:absolute;width:164px;height:164px;left:35px;top:-118px;border:1px solid #e5c88a2b;border-radius:50%;pointer-events:none}
.cyclub .cc-member>*{position:relative;z-index:1}
.cyclub .cc-member-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cyclub .cc-member-head strong{letter-spacing:1.9px;font-size:11px;color:#f1e1bf;direction:ltr}
.cyclub .cc-crown{display:inline-flex;gap:6px;align-items:center;padding:7px 11px;border:1px solid #ffffff38;border-radius:100px;color:#f6dd9c;background:#ffffff15;font-size:12px;font-weight:800}
.cyclub .cc-crown svg{width:17px;height:17px}
.cyclub .cc-member-name{font-weight:900;font-size:23px;margin:28px 0 5px}
.cyclub .cc-member-code{font-size:12px;color:#a8c9b8;direction:ltr;display:inline-block;letter-spacing:1.5px}
.cyclub .cc-member-bottom{display:flex;justify-content:space-between;align-items:end;margin-top:23px;gap:10px}
.cyclub .cc-member-bottom small{display:block;color:#bfd2c7}
.cyclub .cc-member-bottom strong{font-size:26px;line-height:1.25;color:#f0dca7;font-weight:900}
.cyclub .cc-member-mini{min-height:190px}
.cyclub .cc-member-mini .cc-member-name{margin:18px 0 0;font-size:19px}
.cyclub .cc-member-mini .cc-member-bottom{margin-top:14px}
.cyclub .cc-member-mini .cc-member-bottom strong{font-size:22px}
.cyclub .cc-progress{margin:14px 0 3px}
.cyclub .cc-progress-head{display:flex;justify-content:space-between;align-items:center;gap:8px;color:#d6e2d9;font-size:12px}
.cyclub .cc-progress-track{height:7px;border-radius:9px;background:#ffffff2f;margin-top:8px;overflow:hidden}
.cyclub .cc-progress-track>i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#f3c979,#fff4c6);transition:width .3s}
.cyclub .cc-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.cyclub .cc-stat{padding:16px;background:#fff;border:1px solid var(--cc-border);border-radius:18px;min-width:0}
.cyclub .cc-stat-top{display:flex;justify-content:space-between;align-items:center;gap:4px}
.cyclub .cc-stat-top>span{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#f0f6ef;color:var(--cc-green)}
.cyclub .cc-stat-top svg{width:19px;height:19px}
.cyclub .cc-stat-title{font-size:11px;color:var(--cc-muted);font-weight:750}
.cyclub .cc-stat-number{display:block;font-size:23px;margin-top:8px;font-weight:950;line-height:1.3;white-space:nowrap}
.cyclub .cc-stat-number em{font-style:normal;font-size:11px;color:var(--cc-muted);font-weight:700}
.cyclub .cc-stat-note{font-size:11px;color:var(--cc-muted);display:block;margin-top:4px}
.cyclub .cc-tabs{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:8px 0 13px;scrollbar-width:none}
.cyclub .cc-tabs::-webkit-scrollbar{display:none}
.cyclub .cc-tab{display:flex;gap:7px;align-items:center;padding:10px 14px;white-space:nowrap;border:1px solid var(--cc-border);border-radius:12px;background:#fff;font-size:12px;font-weight:850;cursor:pointer}
.cyclub .cc-tab svg{width:17px;height:17px}
.cyclub .cc-tab.on{background:var(--cc-green);color:#fff;border-color:var(--cc-green)}
.cyclub .cc-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:26px 0 13px}
.cyclub .cc-section-head h3{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:900;margin:0}
.cyclub .cc-section-head h3 svg{color:var(--cc-green)}
.cyclub .cc-link{background:none;border:0;display:inline-flex;gap:5px;align-items:center;color:var(--cc-green);font-size:12px;font-weight:850;cursor:pointer;padding:6px}
.cyclub .cc-link svg{width:15px;height:15px}
.cyclub .cc-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.cyclub .cc-offer{position:relative;background:linear-gradient(145deg,#fffdf9,#fff6e7);border:1px solid #ebdfca;border-radius:18px;padding:17px;min-width:0}
.cyclub .cc-offer-icon{width:38px;height:38px;display:grid;place-items:center;background:#f6e5c9;border-radius:13px;color:#a27634;margin-bottom:14px}
.cyclub .cc-offer h4{font-size:14px;margin:0 0 5px;font-weight:900}
.cyclub .cc-offer p{font-size:12px;color:#796d5e;margin:0}
.cyclub .cc-offer-label{color:#8d6c3a;font-size:10px;font-weight:850;display:inline-block;margin-top:12px}
.cyclub .cc-reward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cyclub .cc-reward{display:flex;flex-direction:column;gap:10px;align-items:stretch;padding:17px;border-radius:18px;border:1px solid var(--cc-border);background:#fff}
.cyclub .cc-reward-top{display:flex;justify-content:space-between;gap:10px;align-items:start}
.cyclub .cc-reward-icon{background:#eff5ec;color:#205a42;border-radius:13px;width:44px;height:44px;display:grid;place-items:center}
.cyclub .cc-reward-icon svg{width:24px;height:24px}
.cyclub .cc-reward h4{margin:0 0 4px;font-size:14px;font-weight:900}
.cyclub .cc-reward p{margin:0;color:var(--cc-muted);font-size:12px;min-height:36px}
.cyclub .cc-reward-foot{margin-top:auto;display:flex;gap:8px;align-items:center;justify-content:space-between}
.cyclub .cc-cost{display:flex;gap:5px;align-items:center;color:#996b27;font-weight:900;font-size:13px}
.cyclub .cc-cost svg{width:16px;height:16px}
.cyclub .cc-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:none;background:var(--cc-green);color:#fff;border-radius:11px;padding:11px 14px;min-height:42px;font-weight:850;font-size:12px;cursor:pointer;white-space:nowrap}
.cyclub .cc-btn:disabled{background:#e7e4dd;color:#8f887d;cursor:not-allowed}
.cyclub .cc-btn.outline{background:#fff;border:1px solid var(--cc-border);color:var(--cc-green)}
.cyclub .cc-btn.wide{width:100%}
.cyclub .cc-btn svg{width:17px;height:17px}
.cyclub .cc-list{display:flex;flex-direction:column;gap:9px}
.cyclub .cc-line{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--cc-border);border-radius:15px;padding:12px 14px;min-width:0}
.cyclub .cc-line-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f0f6ef;color:#276448}
.cyclub .cc-line-icon svg{width:20px;height:20px}
.cyclub .cc-line-body{flex:1;min-width:0}
.cyclub .cc-line-body strong{font-size:13px;display:block}
.cyclub .cc-line-body small{font-size:11px;color:var(--cc-muted);display:block}
.cyclub .cc-line-value{flex:none;text-align:left;font-weight:900;font-size:14px}
.cyclub .cc-line-value.plus{color:#16814e}
.cyclub .cc-line-value.minus{color:#c26843}
.cyclub .cc-wallet-hero{border-radius:20px;padding:20px 22px;background:linear-gradient(120deg,#eee9dc,#fffaf0);border:1px solid #e3d9c9;display:flex;align-items:center;justify-content:space-between;gap:12px}
.cyclub .cc-wallet-hero span{font-size:12px;color:#76674f}
.cyclub .cc-wallet-hero strong{display:block;font-size:26px;font-weight:950}
.cyclub .cc-wallet-hero svg{width:42px;height:42px;color:#8c6a42}
.cyclub .cc-empty{text-align:center;background:#fff;border:1px dashed #decfc0;border-radius:16px;padding:25px;color:var(--cc-muted);font-size:13px}
.cyclub .cc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cyclub .cc-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:var(--cc-muted);min-width:0}
.cyclub .cc-field input,.cyclub .cc-field select,.cyclub .cc-field textarea{background:#fff;border:1px solid #ded5c8;border-radius:12px;padding:12px 11px;font:inherit;font-size:16px;color:var(--cc-ink);width:100%;min-width:0}
.cyclub .cc-checkline{display:flex;align-items:center;gap:8px;font-size:12px}
.cyclub .cc-checkline input{width:18px;height:18px;accent-color:var(--cc-green)}
.cyclub .cc-voucher{border:1px dashed #cda864;background:#fffaf0;border-radius:15px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}
.cyclub .cc-voucher strong{font-size:13px;display:block}
.cyclub .cc-voucher code{color:#7f5320;letter-spacing:1px;font-size:13px;font-weight:900;direction:ltr}
.cyclub .cc-voucher button{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#f3e5c7;color:#6f5023}
.cyclub .cc-mini-hint{background:#eff6ee;color:#315e42;padding:12px 14px;border-radius:13px;font-size:12px;line-height:1.8}
.cyclub .cc-compact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:stretch}
.cyclub .cc-compact .cc-compact-side{display:flex;flex-direction:column;gap:10px}
.cyclub .cc-compact-pill{background:#fff;border:1px solid var(--cc-border);border-radius:15px;padding:15px;flex:1}
.cyclub .cc-compact-pill strong{font-weight:950;font-size:19px;display:block}
.cyclub .cc-compact-pill small{font-size:11px;color:var(--cc-muted)}
.cyclub .cc-compact-link{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:12px;padding:12px;background:var(--cc-green);color:#fff;border-radius:13px;font-weight:850}
.cyclub .cc-error{color:#a53b32;padding:12px 14px;background:#fff2ed;border-radius:12px;font-size:12px}
.cyclub .cc-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:17px 0}
.cyclub .cc-admin-panel{border:1px solid var(--cc-border);border-radius:19px;background:#fff;padding:18px;margin-top:16px}
.cyclub .cc-admin-panel h3{margin:0 0 15px;font-size:17px;font-weight:900}
.cyclub .cc-table-wrap{overflow-x:auto;max-width:100%}
.cyclub .cc-table{border-collapse:collapse;min-width:650px;width:100%;font-size:12px}
.cyclub .cc-table th,.cyclub .cc-table td{text-align:right;border-bottom:1px solid #efe8e0;padding:10px 8px;white-space:nowrap}
.cyclub .cc-table th{font-weight:900;color:var(--cc-muted)}
.cyclub .cc-table td{font-weight:750}
.cyclub .cc-admin-actions{display:flex;gap:9px;flex-wrap:wrap}
.cyclub .cc-admin-actions>*{flex:1 1 165px}
.cyclub .cc-footnote{font-size:11px;color:var(--cc-muted);margin-top:12px}
@media(max-width:800px){.cyclub .cc-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cyclub .cc-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
 .cyclub .cc-member{padding:20px;border-radius:23px}
 .cyclub .cc-member-name{font-size:20px}
 .cyclub .cc-member-bottom strong{font-size:24px}
 .cyclub .cc-stat-grid{gap:7px}
 .cyclub .cc-stat{padding:11px;border-radius:14px}
 .cyclub .cc-stat-title{font-size:10px}
 .cyclub .cc-stat-number{font-size:17px}
 .cyclub .cc-stat-number em{font-size:9px}
 .cyclub .cc-stat-top>span{width:29px;height:29px;border-radius:9px}
 .cyclub .cc-stat-top svg{width:16px;height:16px}
 .cyclub .cc-stat-note{font-size:10px}
 .cyclub .cc-offer-grid{grid-template-columns:1fr}
 .cyclub .cc-reward-grid{grid-template-columns:1fr}
 .cyclub .cc-form-grid{grid-template-columns:1fr 1fr}
 .cyclub .cc-compact{grid-template-columns:1fr}
 .cyclub .cc-compact-side{display:grid;grid-template-columns:1fr 1fr}
 .cyclub .cc-section-head{margin-top:22px}
 .cyclub .cc-card{padding:15px}
 .cyclub .cc-wallet-hero strong{font-size:20px}
}

@media(max-width:360px){.cyclub .cc-member-head{flex-wrap:wrap}.cyclub .cc-member-head strong{font-size:10px}.cyclub .cc-member{min-width:0}.cyclub .cc-member-code{letter-spacing:.6px}.cyclub .cc-voucher{min-width:0}.cyclub .cc-voucher code{overflow-wrap:anywhere;font-size:11px}.cyclub .cc-stat-number{font-size:15px}.cyclub .cc-stat-number em{font-size:9px}}

/* Customer account: exactly three loyalty summary tiles in one row. */
#customer-club .cc-compact {
  display: block;
  min-width: 0;
}
#customer-club .cc-compact-side {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  grid-auto-flow: row;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin-top: 12px;
}
#customer-club .cc-compact-pill {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: none;
  min-width: 0;
  width: 100%;
  min-height: 116px;
  margin: 0;
  padding: 12px 10px;
  border-radius: 15px;
}
#customer-club .cc-compact-pill > small {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 750;
  overflow-wrap: anywhere;
  color: var(--cc-muted);
}
#customer-club .cc-compact-pill > small svg {
  width: 19px;
  height: 19px;
  color: var(--cc-green);
}
#customer-club .cc-compact-pill > strong {
  display: block;
  max-width: 100%;
  min-width: 0;
  font-size: clamp(13px,3.6vw,20px);
  font-weight: 950;
  line-height: 1.35;
  white-space: nowrap;
}
#customer-club .cc-compact-pill > strong small {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  font-size: 10px;
  white-space: normal;
}
#customer-club .cc-compact-link {
  grid-column: 1 / -1;
  margin-top: 0;
  min-height: 46px;
}
@media (max-width: 390px) {
  #customer-club .cc-compact-side { gap: 7px; }
  #customer-club .cc-compact-pill {
    min-height: 108px;
    padding: 10px 7px;
    border-radius: 13px;
  }
  #customer-club .cc-compact-pill > small { font-size: 10px; gap: 5px; }
  #customer-club .cc-compact-pill > small svg { width: 17px; height: 17px; }
  #customer-club .cc-compact-pill > strong { font-size: clamp(12px,3.7vw,15px); }
}

/* Full club page: prevent long headings and currency values colliding. */
.cyclub .cc-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}
.cyclub .cc-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
}
.cyclub .cc-stat-top > .cc-stat-title {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 780;
  color: var(--cc-muted);
  overflow-wrap: anywhere;
  white-space: normal;
}
.cyclub .cc-stat-top > .cc-stat-icon {
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  background: #f0f6ef;
  border-radius: 12px;
  color: var(--cc-green);
}
.cyclub .cc-stat-top > .cc-stat-icon svg {
  display: block;
  width: 19px;
  height: 19px;
}
.cyclub .cc-stat-number {
  display: block;
  flex: none;
  max-width: 100%;
  min-width: 0;
  margin-top: auto;
  font-size: clamp(14px,1.7vw,22px);
  line-height: 1.35;
  font-weight: 950;
  white-space: nowrap;
}
.cyclub .cc-stat-number > small {
  display: block;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--cc-muted);
  white-space: normal;
}
.cyclub .cc-stat-note {
  display: block;
  min-width: 0;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: normal;
}
@media (max-width: 580px) {
  .cyclub .cc-stat-grid { gap: 7px; }
  .cyclub .cc-stat { padding: 10px 8px; gap: 6px; border-radius: 14px; }
  .cyclub .cc-stat-top { gap: 4px; min-height: 44px; }
  .cyclub .cc-stat-top > .cc-stat-title { font-size: 10px; line-height: 1.45; }
  .cyclub .cc-stat-top > .cc-stat-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    border-radius: 9px;
  }
  .cyclub .cc-stat-top > .cc-stat-icon svg { width: 16px; height: 16px; }
  .cyclub .cc-stat-number { font-size: clamp(12px,3.5vw,16px); }
  .cyclub .cc-stat-number > small { font-size: 10px; }
  .cyclub .cc-stat-note { font-size: 10px; }
}
@media (max-width: 355px) {
  .cyclub .cc-stat { padding: 9px 6px; }
  .cyclub .cc-stat-top > .cc-stat-title { font-size: 9.5px; }
  .cyclub .cc-stat-number { font-size: 12px; }
  .cyclub .cc-stat-number > small { font-size: 9px; }
}
