/* HanyBee Content Buttons – lightweight CSS (PageSpeed friendly) */

.hb-card{
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  padding:18px 18px;
  margin:18px 0;
  box-shadow:0 8px 28px rgba(0,0,0,.04);
}

.hb-card h2{
  margin:0 0 10px;
  font-size:1.25rem;
  line-height:1.35;
  color:#111827;
}

.hb-card p{
  margin:0 0 14px;
  color:#374151;
  line-height:1.95;
  font-size:1rem;
}

.hb-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.hb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border-radius:12px;
  padding:12px 16px;
  font-weight:700;
  font-size:0.98rem;
  border:1px solid transparent;
  transition:transform .12s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  will-change:transform;
}

.hb-btn:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(17,24,39,.12);
}

.hb-btn:hover{
  transform:translateY(-1px);
}

.hb-btn-dark{
  background:#111827;
  color:#fff;
  box-shadow:0 10px 22px rgba(17,24,39,.14);
}

.hb-btn-dark:hover{
  box-shadow:0 12px 26px rgba(17,24,39,.18);
}

.hb-btn-wa{
  background:#1f9d55;
  color:#fff;
  box-shadow:0 10px 22px rgba(31,157,85,.14);
}

.hb-btn-wa:hover{
  box-shadow:0 12px 26px rgba(31,157,85,.18);
}

.hb-btn-outline{
  background:#fff;
  color:#111827;
  border-color:#d1d5db;
}

.hb-btn-outline:hover{
  border-color:#9ca3af;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

/* Offers (Premium) */
.hb-card.hb-offers{
  border:1px solid #eef2f7;
  border-radius:18px;
  padding:20px 18px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 14px 34px rgba(0,0,0,.06);
}

.hb-offers p{
  color:#475569;
}

.hb-price-box{
  display:flex;
  align-items:center;
  /* justify-content:space-between; */
  gap:12px;
  flex-wrap:nowrap; /* prevent wrapping */
  width:100%;
  padding: 14px 0px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e9eef5;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  overflow:hidden; /* prevent page break/overflow */
}

.hb-price-old,
.hb-price-new{
  display:inline-flex;
  align-items:baseline;
  white-space:nowrap;
  line-height:1;
}

.hb-price-new{
  font-weight:900;
  color:#0f766e;
  font-size:clamp(1.15rem, 2.9vw, 1.35rem);
  letter-spacing:-.2px;
}

.hb-price-old{
  margin-inline-start:10px;
  color: #8c0803;
  font-weight:800;
  text-decoration:line-through;
  text-decoration-thickness:2px;
  text-decoration-color:rgba(148,163,184,.9);
  font-size:clamp(.95rem, 2.2vw, 1.05rem);
}

/* Offer chip (optional badge) */
.hb-offers .hb-price-box::before{
  content:"عرض خاص";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(15,118,110,.10);
  color:#0f766e;
  font-weight:900;
  font-size:.85rem;
  white-space:nowrap;
}

/* RTL */
html[dir="rtl"] .hb-price-box{
  direction:rtl;
}

/* Mobile */
@media (max-width:768px){
  .hb-card.hb-offers{ padding:18px 14px; border-radius:16px; }
  .hb-price-box{padding: 12px 0px;border-radius:14px;}
  .hb-offers .hb-price-box::before{ padding:6px 10px; font-size:.8rem; }
}

/* Note */

.hb-quote{
  margin:0;
  padding:14px 16px;
  border-right:4px solid #111827;
  background:#f9fafb;
  border-radius:12px;
}

.hb-quote p{
  margin:0;
  color:#111827;
  font-weight:600;
}

/* Mobile */
@media (max-width:768px){
  .hb-card{ padding:16px 14px; border-radius:12px; }
  .hb-card h2{ font-size:1.15rem; }
  .hb-btn{ width:100%; }
  .hb-price-box{width: 100%;}
}
