/* Offers (العروض) — dashboard design, scoped under .crdts-dash.
   Page-private classes live here so the shell stylesheet stays generic. */

/* Font guard: the design sets Rubik/Cairo; keep the icon font out of it. */
.crdts-dash h1,.crdts-dash h2,.crdts-dash h3,.crdts-dash h4,.crdts-dash h5,.crdts-dash h6,.crdts-dash p,.crdts-dash span,.crdts-dash a,.crdts-dash b,.crdts-dash strong,.crdts-dash small,.crdts-dash em,.crdts-dash i,.crdts-dash li,.crdts-dash ul,.crdts-dash ol,.crdts-dash button,.crdts-dash label,.crdts-dash input,.crdts-dash textarea,.crdts-dash select,.crdts-dash summary,.crdts-dash blockquote,.crdts-dash th,.crdts-dash td,.crdts-dash legend,.crdts-dash figcaption,.crdts-dash option:not(.material-symbols-outlined):not([class*="material-symbols"]):not(.material-symbols-rounded):not([class*="material-symbols-rounded"]){font-family:inherit}
.crdts-dash .material-symbols-outlined,.crdts-dash [class*="material-symbols"]{
  font-family:'Material Symbols Outlined'!important;font-weight:400;font-style:normal;
  line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;
  white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';
  -webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}

/* ============ offers page (offer cards) ============ */

.crdts-dash .off-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(288px,1fr));gap:16px}

.crdts-dash .off-card{border:1px solid #e9e9df;background:#fff;border-radius:10px;overflow:hidden;
  display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.crdts-dash .off-card:hover{transform:translateY(-3px);box-shadow:0 10px 30px #33330b08}

.crdts-dash .off-face{height:126px;background:#fff6c6;color:#b48314;position:relative;overflow:hidden;
  display:grid;place-items:center}
.crdts-dash .off-card:nth-child(4n+2) .off-face{background:#fff0e2;color:#c17538}
.crdts-dash .off-card:nth-child(4n+3) .off-face{background:#f1f1e9;color:#88895f}
.crdts-dash .off-card:nth-child(4n+4) .off-face{background:#191916;color:#ffdf60}
.crdts-dash .off-face>img{width:100%;height:100%;object-fit:cover;display:block}
.crdts-dash .off-face>svg{width:40px;height:40px;opacity:.55}
.crdts-dash .off-face-chip{position:absolute;inset-inline-start:12px;bottom:12px;background:#fff;
  color:#8a6d00;border-radius:6px;padding:5px 9px;font-size:11.5px;font-weight:700;
  box-shadow:0 2px 7px #1717141f}

.crdts-dash .off-body{padding:16px;display:flex;flex-direction:column;flex:1}
.crdts-dash .off-row1{display:flex;align-items:center;justify-content:space-between;gap:8px;
  flex-wrap:wrap;margin-bottom:11px}
.crdts-dash .off-name{font-size:13.5px;font-weight:700;margin:0;line-height:1.8;color:#171714;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:47px}
.crdts-dash .off-meta{font-size:11.5px;color:#a1a18f;line-height:1.8;margin:8px 0 0;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:0}
.crdts-dash .off-used{font-size:11px;color:#b4b4a7;margin:5px 0 0}
.crdts-dash .off-acts{display:flex;gap:7px;margin-top:auto;padding-top:14px;
  border-top:1px solid #f0f0e8}

.crdts-dash .off-acts .icon-action{flex:1;width:auto;height:32px}

@media(max-width:680px){
  .crdts-dash .off-grid{grid-template-columns:1fr;gap:12px}
  .crdts-dash .off-face{height:116px}
  .crdts-dash .off-name{min-height:0}
}

