/* Elixir Matcha — ستايل كريمي هادئ بألوان الشعار */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root { --ex-bg: #FAF6EC; --ex-card: #F1EADB; --ex-olive: #6B7A50; --ex-olive-dk: #2F3A24; --ex-olive-lt: #E4E8D6; --ex-sage: #C9D1B0; --ex-ink: #2A2A22; --ex-muted: #6E6E62; }
body#app { background-color: var(--ex-bg) !important; color: var(--ex-ink); font-family: "IBM Plex Sans Arabic", PingARLT, system-ui, sans-serif !important; }
body#app h1, body#app h2, body#app h3, body#app .s-product-card-content-title, body#app .s-product-card-price { font-family: "IBM Plex Sans Arabic", PingARLT, system-ui, sans-serif !important; }

/* الهيدر */
.top-navbar { background-color: var(--ex-olive-dk) !important; color: var(--ex-bg) !important; }
#mainnav, #mainnav .inner { background-color: var(--ex-bg) !important; border-bottom: 1px solid rgba(107, 122, 80, .12); box-shadow: none !important; }

/* شريط متحرك نحيف تحت البانر */
@keyframes ex-mq { from { transform: translateX(0); } to { transform: translateX(50%); } }
section.s-block--hero-slider { overflow-x: clip; }
section.s-block--hero-slider::after { content: "ماتشا احتفالية فاخرة  ·  بوكسات تستاهلك  ·  مزاجك أخضر  ·  ماتشا احتفالية فاخرة  ·  بوكسات تستاهلك  ·  مزاجك أخضر  ·  ماتشا احتفالية فاخرة  ·  بوكسات تستاهلك  ·  مزاجك أخضر  ·  ماتشا احتفالية فاخرة  ·  بوكسات تستاهلك  ·  مزاجك أخضر  ·  "; display: block; width: max-content; white-space: pre; background: var(--ex-olive-lt); color: var(--ex-olive-dk); font: 600 1rem/1 "IBM Plex Sans Arabic", sans-serif; padding: .85rem 0; margin-top: 1.25rem; animation: ex-mq 60s linear infinite; }

/* بطاقات المنتجات */
.s-product-card-entry { background-color: var(--ex-card) !important; border: 1px solid rgba(107, 122, 80, .10) !important; border-radius: 1.25rem !important; overflow: hidden; box-shadow: 0 8px 28px -16px rgba(47, 58, 36, .25) !important; transition: transform .3s ease, box-shadow .3s ease; }
.s-product-card-entry:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -16px rgba(47, 58, 36, .35) !important; }
.s-product-card-image { background-color: var(--ex-card) !important; }
.s-product-card-content-title, .s-product-card-content-title a { color: var(--ex-ink) !important; font-weight: 700 !important; }
.s-product-card-content-subtitle { color: var(--ex-muted) !important; }
.s-product-card-price { color: var(--ex-olive-dk) !important; font-weight: 700 !important; }

/* الأزرار */
.s-product-card-entry .s-button-primary-outline, .s-button-primary { background-color: var(--ex-olive) !important; color: #FFFFFF !important; border-color: var(--ex-olive) !important; border-radius: 999px !important; font-weight: 600 !important; transition: background-color .25s; }
.s-product-card-entry .s-button-primary-outline:hover, .s-button-primary:hover { background-color: var(--ex-olive-dk) !important; border-color: var(--ex-olive-dk) !important; color: #FFFFFF !important; }
.s-product-card-wishlist-btn { background-color: var(--ex-bg) !important; border-color: transparent !important; border-radius: 999px !important; color: var(--ex-olive) !important; }

/* مميزات المتجر */
.s-block--features__item { background-color: var(--ex-card) !important; border: 1px solid rgba(107, 122, 80, .10) !important; border-radius: 1.25rem !important; box-shadow: 0 8px 28px -16px rgba(47, 58, 36, .2); color: var(--ex-ink) !important; }
.s-block--features__item .feature-icon { background-color: var(--ex-olive-lt) !important; }
.s-block--features__item .feature-icon i { color: var(--ex-olive-dk) !important; }

/* الفوتر */
.store-footer, .store-footer__inner { background-color: var(--ex-olive-dk) !important; color: var(--ex-bg) !important; }
.store-footer h3, .store-footer h4 { color: var(--ex-sage) !important; }
.store-footer a { color: var(--ex-bg) !important; opacity: .85; }
.store-footer a:hover { opacity: 1; }
.store-footer::before { content: "مزاجك أخضر"; display: block; text-align: center; white-space: nowrap; font: 700 clamp(2rem, 6vw, 4rem)/1.2 "IBM Plex Sans Arabic", sans-serif; color: var(--ex-sage); padding: 2.5rem 1rem .5rem; }

/* صفحة المنتج */
body#app main .bg-white, body#app .sticky-product-bar { background-color: var(--ex-card) !important; border-radius: 1rem !important; }
body#app .sticky-product-bar { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
body#app main .s-slider-container:has(.magnify-wrapper), body#app main .magnify-wrapper { background-color: var(--ex-card) !important; border-radius: 1.25rem !important; }
body#app .s-comments { background-color: transparent !important; }

@media (prefers-reduced-motion: reduce) { section.s-block--hero-slider::after { animation: none; } }
/* البنر فوق اللعبة: نفس لون قسم اللعبة + شعار الموقع */
.s-block--fixed-banner .banner { display: block !important; background: #E4E8D6 url("https://cdn.files.salla.network/theme/1104515311/a3c5a21b-c88c-42b9-939b-ca7240409609-original.webp") center / auto 42% no-repeat !important; border-radius: 1.25rem !important; }
.s-block--fixed-banner .banner img { opacity: 0 !important; }
/* عرض المنتجات: شبكة 3 أعمدة على الكمبيوتر + شارة زيتونية */
@media (min-width: 768px) {
  .s-products-list-horizontal-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.25rem !important; }
  .s-products-list-horizontal-cards .s-product-card-horizontal { display: flex !important; flex-direction: column !important; height: 100% !important; margin: 0 !important; width: auto !important; }
  .s-product-card-horizontal .s-product-card-image { width: 100% !important; max-width: none !important; flex: none !important; aspect-ratio: 1 / 1; height: auto !important; border-radius: 0 !important; }
  .s-product-card-horizontal .s-product-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .s-product-card-horizontal .s-product-card-content { flex: 1 !important; display: flex !important; flex-direction: column !important; padding: 1rem 1.1rem 1.2rem !important; }
  .s-product-card-horizontal .s-product-card-content-footer { margin-top: auto !important; }
}
/* عرض المنتجات على الجوال: عمودين جنب بعض */
@media (max-width: 767px) {
  .s-products-list-horizontal-cards { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; }
  .s-products-list-horizontal-cards .s-product-card-horizontal { display: flex !important; flex-direction: column !important; height: 100% !important; margin: 0 !important; width: auto !important; }
  .s-product-card-horizontal .s-product-card-image { width: 100% !important; max-width: none !important; flex: none !important; aspect-ratio: 1 / 1; height: auto !important; border-radius: 0 !important; }
  .s-product-card-horizontal .s-product-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .s-product-card-horizontal .s-product-card-content { flex: 1 !important; display: flex !important; flex-direction: column !important; padding: .75rem !important; }
  .s-product-card-horizontal .s-product-card-content-footer { margin-top: auto !important; }
  .s-product-card-horizontal .s-product-card-content-title, .s-product-card-horizontal .s-product-card-content-title a { font-size: .9rem !important; }
  .s-product-card-horizontal .s-product-card-content-subtitle { font-size: .75rem !important; }
  .s-product-card-horizontal .s-product-card-content-footer button, .s-product-card-horizontal .s-product-card-content-footer .s-button-btn { font-size: .8rem !important; padding-inline: .5rem !important; }
  .s-product-card-promotion-title { font-size: .65rem !important; }
}
.s-product-card-promotion-title { background-color: var(--ex-olive-dk) !important; color: #FAF6EC !important; border-radius: 999px !important; }

/* توحيد خلفية صور المنتجات مع لون البطاقة الكريمي */
.s-product-card-image img { mix-blend-mode: multiply; }
.s-product-card-image img[src*="c6f381a5"], .s-product-card-image img[src*="4c23d1c9"], .s-product-card-image img[src*="445d5404"] { filter: brightness(1.12); }