/* ALOVERA icons v2 — يُحمّل بعد styles.css و responsive.css */
:root { --leaf: #e6f2ea; --brand-green: #197448; }

/* 4) سماكة موحدة لكل الأيقونات */
svg { stroke-width: 1.75; }

/* 1) شريط المزايا: إطار ورقة الألوفيرا */
.benefits [data-icon] {
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--leaf); color: var(--brand-green);
  border-radius: 18px 5px 18px 5px;
}
.benefits [data-icon] svg { width: 27px; height: 27px; color: inherit; }

/* 2) زر الإضافة: + يتحول إلى ✓ */
.add-button { position: relative; transition: background-color .2s ease, transform .08s ease-in; }
.add-button:active { transform: scale(.92); }
.add-button .ic { position: absolute; inset: 0; display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.2,.8,.3,1.2), opacity .2s ease; }
.add-button .ic-check { opacity: 0; transform: scale(.4) rotate(-30deg); }
.add-button.is-added { background: var(--brand-green); }
.add-button.is-added .ic-plus { opacity: 0; transform: scale(.4) rotate(90deg); }
.add-button.is-added .ic-check { opacity: 1; transform: none; }

/* نبضة عداد السلة */
[data-cart-count].bump { animation: alv-bump .4s cubic-bezier(.68,-.55,.27,1.55); }
@keyframes alv-bump { 0%{transform:scale(1)} 45%{transform:scale(1.35)} 100%{transform:scale(1)} }

/* 3) شريط الموبايل: حالة نشطة */
.mobile-nav [data-icon] { width: 52px; height: 30px; border-radius: 999px;
  display: grid; place-items: center; margin-inline: auto; transition: background-color .2s ease; }
.mobile-nav [aria-current="page"] { color: var(--brand-green); font-weight: 600; }
.mobile-nav [aria-current="page"] [data-icon] { background: var(--leaf); }
.mobile-nav [aria-current="page"] svg { fill: currentColor; fill-opacity: .18; }

/* 5) أيقونات الأقسام */
.category { display: inline-flex; align-items: center; gap: 6px; }
.category .cat-ic svg { width: 18px; height: 18px; }

.alv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .add-button, .add-button .ic, .mobile-nav [data-icon] { transition: none; }
  [data-cart-count].bump { animation: none; }
}
