/* =====================================================================
   SQR | متجر صقر — النسخة الفاتحة لثيم برو (Raed) في سلة
   الألوان: ألوان الشعار الأساسية (عنابي، أحمر لهب، ذهبي) على خلفية فاتحة دافئة
   الصق الملف كاملاً مكان الكود الحالي في: تخصيص الثيم ← CSS مخصص
   ===================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Changa:wght@500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

:root {
  /* ألوان الهوية */
  --q-crimson: #94003d; --q-wine: #5a0026; --q-blaze: #e5001b;
  --q-gold: #ff9900; --q-gold-hi: #ffc233; --q-cream: #ffe8b4; --q-ok: #16a35f;

  /* الطبقة الفاتحة */
  --q-bg: #f7f5f1;          /* خلفية الصفحة: أبيض دافئ */
  --q-bg-2: #fff8ec;        /* كريمي خفيف للأقسام المميزة */
  --q-surface: #ffffff;
  --q-surface-2: #f1eee8;
  --q-line: #e6e1d8;
  --q-text: #16181e;
  --q-text-2: #5d6372;
  --q-shadow: 0 18px 36px -24px rgba(90, 0, 38, .28);
  --q-shadow-hi: 0 24px 44px -22px rgba(148, 0, 61, .35);

  --q-f-display: "Changa", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --q-f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --q-cut: 14px; --q-cut-s: 8px;
  --q-ease: cubic-bezier(.2, .8, .2, 1);
  --q-cham: polygon(var(--q-cut) 0, 100% 0, 100% calc(100% - var(--q-cut)), calc(100% - var(--q-cut)) 100%, 0 100%, 0 var(--q-cut));
  --q-cham-s: polygon(var(--q-cut-s) 0, 100% 0, 100% calc(100% - var(--q-cut-s)), calc(100% - var(--q-cut-s)) 100%, 0 100%, 0 var(--q-cut-s));
  --q-flame: linear-gradient(90deg, transparent, var(--q-wine) 15%, var(--q-blaze) 35%, var(--q-gold) 50%, var(--q-blaze) 65%, var(--q-wine) 85%, transparent);
  --q-btn: linear-gradient(180deg, #b0004a, var(--q-crimson));
  --q-btn-gold: linear-gradient(180deg, var(--q-gold-hi), var(--q-gold));

  /* متغيرات الثيم نفسه */
  --font-main: "IBM Plex Sans Arabic";
  --color-primary: #94003d; --color-primary-dark: #5a0026; --color-primary-light: #e5001b;
  --color-primary-reverse: #ffffff;
  --store-brand-color: #94003d;
  --s-radius: 0; --border-radius-button: 0; --border-radius-card: 0;
  --product-card-bg: #ffffff; --product-card-radius: 0;
  --product-card-border-color: var(--q-line);
  --product-card-title-color: var(--q-text); --product-card-subtitle-color: var(--q-text-2);
  --product-card-category-color: var(--q-text-2); --product-card-tags-color: var(--q-text-2);
  --product-card-status-color: var(--q-ok);
  --product-card-price-color: var(--q-crimson); --product-card-discount-price-color: #8b909c;
  --product-card-promotion-bg: var(--q-blaze); --product-card-promotion-text-color: #fff; --product-card-promotion-radius: 0;
  --product-card-countdown-bg: var(--q-gold); --product-card-countdown-box-bg: var(--q-crimson);
  --product-card-add-btn-bg: var(--q-gold); --product-card-add-btn-text-color: #16181e;
  --product-card-action-bg-color: #ffffff; --product-card-action-icon-color: var(--q-text);
  --product-card-actions-radius: 0;
  --filters-card-bg: #ffffff; --filters-card-text-color: var(--q-text); --filters-apply-btn-color: var(--q-crimson);
  color-scheme: light;
}

/* ---------- أساسيات ---------- */
html body.theme-raed, body.color-mode-dark, body {
  --store-bg: var(--q-bg); --text-primary: var(--q-text);
  --color-surface: #ffffff;
  background-color: var(--q-bg) !important; color: var(--q-text) !important;
  font-family: var(--q-f-body) !important; -webkit-font-smoothing: antialiased;
}
html body.theme-raed main, html body.theme-raed #app, html body.theme-raed .store-page, html body.theme-raed .app-inner {
  background-color: var(--q-bg) !important; color: var(--q-text);
}
body *:not([class*="sicon"]):not(i) { font-family: inherit; }
h1, h2, h3, h4, .promo-title__heading, .sf-head__title, .banner__title, .s-slider-block__title h2 {
  font-family: var(--q-f-display) !important; font-weight: 700; line-height: 1.25;
}
main h1, main h2, main h3, main h4 { color: var(--q-text); }
p { color: inherit; }
::selection { background: var(--q-gold); color: #16181e; }
:focus-visible { outline: 2px solid var(--q-crimson); outline-offset: 3px; }
a:hover { color: var(--q-crimson); }

/* ---------- الهيدر ---------- */
.store-header { position: relative; z-index: 40; }
.store-header .top-navbar {
  background: var(--q-wine) !important; color: #ffd9e6 !important; font-size: .82rem;
  border: 0 !important;
}
.store-header .top-navbar a, .store-header .top-navbar span { color: #ffe8f0 !important; }
.main-nav-container .header-pill,
.main-nav-container .inner {
  background: rgba(255, 255, 255, .92) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--q-line) !important; border-radius: 0 !important;
  clip-path: var(--q-cham); position: relative; color: var(--q-text) !important;
  box-shadow: var(--q-shadow);
}
/* الهيدر بعد التمرير (الثيم يجعله شفافاً) */
#mainnav .header-pill, #mainnav.fixed-header .header-pill, #mainnav.fixed-pinned .inner {
  background: rgba(255, 255, 255, .95) !important; border-color: var(--q-line) !important; border-radius: 0 !important;
}
#mainnav .header-pill::before { display: none !important; }
#mainnav svg, #mainnav i, #mainnav .header-search-btn-text { color: var(--q-text) !important; }
#mainnav .header-search-btn:hover svg, #mainnav .header-search-btn:hover i,
#mainnav .s-cart-summary-wrapper:hover svg, #mainnav .s-cart-summary-wrapper:hover i { color: #fff !important; }
.main-nav-container .header-pill::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px; pointer-events: none; background: var(--q-flame);
}
.header-icons > *, .header-search-btn, .s-cart-summary-wrapper, .s-user-menu-login-btn, .mobile-menu-icon { border-radius: 0 !important; }
.header-search-btn, .s-cart-summary-wrapper .s-cart-summary-icon, .s-user-menu-login-btn {
  background: var(--q-surface-2) !important; color: var(--q-text) !important;
  clip-path: var(--q-cham-s); transition: background .2s, color .2s;
}
.header-search-btn *, .s-cart-summary-icon *, .s-user-menu-login-btn * { color: inherit !important; }
.header-search-btn:hover, .s-cart-summary-wrapper:hover .s-cart-summary-icon, .s-user-menu-login-btn:hover {
  background: var(--q-crimson) !important; color: #fff !important;
}
.s-cart-summary-count {
  background: var(--q-blaze) !important; color: #fff !important;
  font: 700 .7rem/18px var(--q-f-display) !important;
}
.s-cart-summary-total { font-family: var(--q-f-display); color: var(--q-text) !important; }
.burger__bar { background: var(--q-crimson) !important; }

/* القائمة */
.main-menu > li > a, custom-main-menu a { color: var(--q-text-2) !important; font-weight: 500; position: relative; transition: color .2s; }
.main-menu > li > a::after {
  content: ""; position: absolute; inset: auto 14px -2px; height: 2px; background: var(--q-blaze);
  transform: scaleX(0); transition: transform .25s var(--q-ease);
}
.main-menu > li > a:hover { color: var(--q-crimson) !important; }
.main-menu > li > a:hover::after { transform: scaleX(1); }
.main-menu .sub-menu, .main-menu ul ul, .header-menu, custom-main-menu .main-menu {
  background: #fff !important; color: var(--q-text) !important; border-color: var(--q-line) !important; border-radius: 0 !important;
}

/* ---------- الأزرار ---------- */
.s-button-btn.s-button-solid.s-button-primary,
.s-button-primary.s-button-solid, .btn--primary,
.sticky-product-bar__btn .s-button-element {
  background: var(--q-btn) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
  font: 700 .95rem/1 var(--q-f-display) !important; clip-path: var(--q-cham-s); box-shadow: none !important;
  transition: transform .15s var(--q-ease), filter .2s;
}
.s-button-btn.s-button-solid.s-button-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
/* زر الإضافة للسلة في البطاقات: ذهبي */
.s-product-card-content-footer .s-button-element {
  background: var(--q-btn-gold) !important; color: #16181e !important; border: 0 !important; border-radius: 0 !important;
  font: 700 .9rem/1 var(--q-f-display) !important; clip-path: var(--q-cham-s); box-shadow: none !important;
}
.s-product-card-content-footer .s-button-element:hover { filter: brightness(1.05) saturate(1.1); }
.s-button-outline, .s-button-primary-outline, .s-button-light-outline {
  border-radius: 0 !important; clip-path: var(--q-cham-s); border: 0 !important;
  box-shadow: inset 0 0 0 1.5px var(--q-line) !important; color: var(--q-text) !important; background: #fff !important;
}
.s-button-element[disabled], .s-button-disabled { opacity: .5; }

/* أزرار بلوكات برو (glow-button) */
.glow-button {
  --button-background: transparent !important; --button-color: #fff !important;
  --button-ring: transparent !important; --button-ring-size: 0 !important;
  background: var(--q-btn) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important;
  clip-path: var(--q-cham-s); box-shadow: none !important; transition: transform .15s var(--q-ease), filter .2s;
}
.glow-button > span, .glow-button__label, .glow-button__icon {
  background: transparent !important; color: #fff !important; box-shadow: none !important; border-radius: 0 !important;
}
.glow-button__label { font-family: var(--q-f-display) !important; font-weight: 700; }
.glow-button__icon, [class^="sicon-"], [class*=" sicon-"] { font-family: "sallaicons" !important; }
.glow-button .gradient, .glow-button::before, .glow-button::after { display: none !important; }
.glow-button:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* ---------- عناوين البلوكات ---------- */
.promo-title__heading, .sf-head__title, .s-slider-block__title h2, .s-slider-block__title-right h2 {
  color: var(--q-text) !important; display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
}
/* خدشة المخلب قبل العنوان */
.promo-title__heading::before, .sf-head__title::before, .s-slider-block__title h2::before, .s-slider-block__title-right h2::before {
  content: ""; flex: none; width: 22px; height: 1.1em; transform: skewX(-24deg);
  background:
    linear-gradient(var(--q-blaze), var(--q-blaze)) 0 50% / 4px 85% no-repeat,
    linear-gradient(var(--q-crimson), var(--q-crimson)) 9px 0 / 4px 100% no-repeat,
    linear-gradient(var(--q-gold), var(--q-gold)) 18px 50% / 4px 85% no-repeat;
}
/* الكلمة المميزة: تدرّج عنابي ← لهب ← ذهبي */
.promo-title__heading span[style*="color"], .promo-title__heading span:last-child {
  background: linear-gradient(90deg, var(--q-crimson), var(--q-blaze) 55%, var(--q-gold)) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  color: transparent !important; -webkit-text-fill-color: transparent !important;
}
.promo-title__badge, .sf-head__badge {
  background: var(--q-bg-2) !important; color: var(--q-crimson) !important; border: 1px solid #f3d9b0;
  border-radius: 0 !important; font: 700 .78rem/1.5 var(--q-f-display) !important;
  clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
}
.promo-title__badge .sicon-star, .sf-head__badge .sicon-star { color: var(--q-gold) !important; }
.promo-title__desc, .sf-head__desc, .banner__description, main .text-sm.font-light { color: var(--q-text-2) !important; }

/* ---------- كون الأقسام ---------- */
.universe-center-hub__inner { background: #fff !important; box-shadow: var(--q-shadow-hi); }
.universe-center-hub__aura {
  background: conic-gradient(var(--q-gold), var(--q-blaze), var(--q-crimson), transparent 55%, var(--q-gold)) !important;
  filter: blur(40px); opacity: .35;
}
.universe-orbit { border-color: rgba(148, 0, 61, .18) !important; }
.universe-item, .universe-item * { color: var(--q-text) !important; }
.universe-node { background: #fff !important; box-shadow: var(--q-shadow); }

/* ---------- مميزاتنا (الخدمات) ---------- */
.B_our_services { --os-icon-color: var(--q-crimson) !important; }
.B_our_services [style*="background-color"] {
  background-color: transparent !important; border-color: transparent !important;
}
.service_card {
  background: #fff !important; border: 1px solid var(--q-line) !important; border-radius: 0 !important;
  clip-path: var(--q-cham); box-shadow: none !important; transition: border-color .2s, transform .3s var(--q-ease);
}
.service_card:hover { border-color: var(--q-gold) !important; transform: translateY(-4px); }
.service_card .text-lg, .service_card [style*="color:#FFFFFF"], .service_card [style*="color:#ffffff"] { color: var(--q-text) !important; }
.service_card .text-sm { color: var(--q-text-2) !important; }
.service_icon {
  background: color-mix(in srgb, var(--q-crimson) 9%, #fff) !important; color: var(--q-crimson) !important;
  border-radius: 0 !important; clip-path: var(--q-cham-s);
}
.service_icon__glyph { color: var(--q-crimson) !important; }

/* ---------- سلايدر الاشتراكات ---------- */
.B_subscription_products {
  --subs-card-bg: #ffffff !important; --subs-border: var(--q-line) !important;
  --subs-text: var(--q-text) !important; --subs-promo-text: #fff !important; --subs-promo-bg: var(--q-blaze) !important;
  --subs-offer-title: var(--q-text) !important; --subs-price: var(--q-crimson) !important; --subs-old-price: #8b909c !important;
  --subs-active-bg: var(--q-gold) !important; --subs-btn-bg: var(--q-crimson) !important; --subs-btn-text: #fff !important;
  --subs-sec-text: var(--q-text-2) !important;
}
.subs-slider .swiper-slide > * { border-radius: 0 !important; }
.B_subscription_products a.underline { color: var(--q-crimson) !important; }

/* ---------- العروض المختارة + المجموعة ---------- */
.B_selected_offers {
  --so-border: var(--q-line) !important; --so-bg: #fff !important;
  --so-countdown-bg: var(--q-wine) !important; --so-countdown-text: #fff !important;
}
.so-panel, .ec-wrap {
  background: linear-gradient(120deg, #fff 40%, var(--q-bg-2)) !important;
  border: 1px solid var(--q-line) !important; border-radius: 0 !important; clip-path: var(--q-cham);
  box-shadow: none !important; position: relative; overflow: hidden;
}
.so-panel::after, .ec-wrap::after {
  content: ""; position: absolute; left: 3%; top: -20%; width: 18%; height: 140%; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(229,0,27,.08) 0 10px, transparent 10px 30px); transform: skewX(-22deg);
}
.so-text *, .ec-text * { color: var(--q-text); }
.so-text p, .ec-text p { color: var(--q-text-2) !important; }
.so-countdown li, .s-count-down-wrapper li, salla-count-down li, .s-count-down-item {
  background: var(--q-wine) !important; color: #fff !important; border-radius: 0 !important; clip-path: var(--q-cham-s);
  font-family: var(--q-f-display);
}
.s-count-down-item-value, salla-count-down b { color: var(--q-gold-hi) !important; font: 700 1.6rem/1 var(--q-f-display); }
.ec-media img, .ec-media { border-radius: 0 !important; }
.ec-btn { background: var(--q-btn) !important; color: #fff !important; border-radius: 0 !important; clip-path: var(--q-cham-s); }

/* ---------- بلوك "كل ما تحتاجه" ---------- */
.sb-pro {
  --sb-promo-color: var(--q-crimson) !important; --sb-promo-bg: var(--q-bg-2) !important;
  --sb-title-color: var(--q-text) !important; --sb-special-color: var(--q-blaze) !important;
  --sb-desc-color: var(--q-text-2) !important; --sb-btn-bg: var(--q-crimson) !important; --sb-btn-text: #fff !important;
  border-radius: 0 !important;
}
.sb-pro__icon-card { background: #fff !important; border-radius: 0 !important; clip-path: var(--q-cham-s); box-shadow: var(--q-shadow); }

/* ---------- المدونة ---------- */
.B_blog_posts { --bp-card-bg: #fff !important; --bp-text: var(--q-text) !important; --bp-author: var(--q-crimson) !important; --bp-tag: var(--q-crimson) !important; }

/* ---------- الأسئلة الشائعة ---------- */
.B_FAQ { --bt-question-text: var(--q-text) !important; --bt-answer-text: var(--q-text-2) !important; --bt-qa-bg: #fff !important; }
.S_faq_item {
  background: #fff !important; border: 1px solid var(--q-line) !important; border-radius: 0 !important;
  box-shadow: none !important; transition: border-color .2s;
}
.S_faq_item:has([aria-expanded="true"]), .S_faq_item.is-open, .S_faq_item.active {
  border-color: var(--q-crimson) !important; box-shadow: inset 4px 0 0 var(--q-crimson) !important;
}
.faq-question { color: var(--q-text) !important; font-weight: 600; }
.faq-icon { color: var(--q-crimson) !important; }
.faq-answer { color: var(--q-text-2) !important; }

/* ---------- آراء العملاء ---------- */
.B_testimonials { --bt-card-bg: #fff !important; --bt-quote-color: var(--q-gold) !important; --bt-review-text: var(--q-text-2) !important; --bt-name-text: var(--q-text) !important; }
.B_testimonials__card, .s-reviews-testimonial {
  background: #fff !important; border: 1px solid var(--q-line) !important; border-radius: 0 !important;
  clip-path: var(--q-cham); box-shadow: none !important;
}
.s-reviews-testimonial__text, .B_testimonials__review { color: var(--q-text-2) !important; }
.s-reviews-testimonial__name_wrapper, .s-reviews-testimonial__info { color: var(--q-text) !important; font-family: var(--q-f-display); }
.s-rating-stars-selected, .sicon-star { color: var(--q-gold) !important; }

/* ---------- تابعنا على انستقرام ---------- */
.sf-head__handle, .sf-head__handle * { color: var(--q-crimson) !important; }
.sf-tile, .sf-media, .sf-media__img { border-radius: 0 !important; }
.sf-tile { clip-path: var(--q-cham); }

/* ---------- الموقع ---------- */
.B_location {
  --loc-text: var(--q-text) !important; --loc-icon: var(--q-crimson) !important;
  --loc-muted: var(--q-text-2) !important; --loc-faint: #8b909c !important;
  --loc-line: var(--q-line) !important; --loc-soft: var(--q-surface-2) !important;
}

/* ---------- البطاقات الزجاجية العامة ---------- */
.glass, .glass--hover, .glass-hover {
  background: #fff !important; border: 1px solid var(--q-line) !important; border-radius: 0 !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; color: var(--q-text);
}
.glass--hover:hover, .glass-hover:hover { border-color: var(--q-gold) !important; box-shadow: var(--q-shadow) !important; }

/* ---------- سلايدر الهيرو والبنرات والتصنيفات ---------- */
.home-slider__content h1, .home-slider__content h2 { font-family: var(--q-f-display) !important; font-weight: 800; }
/* النص فوق صور السلايدر يبقى أبيض */
.s-block--hero-slider h1, .s-block--hero-slider h2, .s-block--hero-slider h3,
.s-block--hero-slider p, .s-block--hero-slider .description, .home-slider__content * { color: #fff !important; }
.overlay-bg::before, .overlay-bg::after { background: linear-gradient(90deg, rgba(90,0,38,.55), transparent 70%) !important; }
.banner-entry, .banner-entry img { border-radius: 0 !important; }
.banner-entry { clip-path: var(--q-cham); }
.slide--cat-entry, .slide--cat-entry > * {
  background: #fff !important; color: var(--q-text) !important; border: 1px solid var(--q-line); border-radius: 0 !important;
}
.slide--cat-entry:hover { border-color: var(--q-crimson); }
.slide--cat-entry i[class*="sicon"] { color: var(--q-crimson) !important; }
.s-slider-nav-arrow, .s-slider-prev, .s-slider-next {
  background: #fff !important; color: var(--q-text) !important; border: 1px solid var(--q-line) !important;
  border-radius: 0 !important; clip-path: var(--q-cham-s);
}
.s-slider-nav-arrow:hover { background: var(--q-crimson) !important; color: #fff !important; }
.swiper-pagination-bullet-active { background: var(--q-crimson) !important; }

/* ---------- بطاقة المنتج ---------- */
.s-product-card-entry {
  position: relative; background: var(--q-line) !important; padding: 1px !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important;
  transition: background .25s, transform .3s var(--q-ease), box-shadow .3s;
}
.s-product-card-entry > * { background: #fff; }
.s-product-card-entry:hover { background: var(--q-crimson) !important; transform: translateY(-4px); box-shadow: var(--q-shadow-hi) !important; }
.s-product-card-image { border-radius: 0 !important; overflow: hidden; position: relative; background: var(--q-surface-2) !important; }
.s-product-card-image img, .s-product-card-image-cover { border-radius: 0 !important; transition: transform .5s var(--q-ease); }
.s-product-card-entry:hover .s-product-card-image-cover { transform: scale(1.04); }
.s-product-card-image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(115deg, transparent 30%, rgba(229,0,27,.8) 30% 32%, transparent 32% 37%, rgba(148,0,61,.8) 37% 39%, transparent 39% 44%, rgba(255,153,0,.85) 44% 46%, transparent 46%);
  opacity: 0; transform: translateX(40%); transition: opacity .3s, transform .6s var(--q-ease);
}
.s-product-card-entry:hover .s-product-card-image::after { opacity: .85; transform: none; }
.s-product-card-content { padding: 12px 16px 16px !important; border-radius: 0 !important; background: #fff !important; }
.s-product-card-content-title, .s-product-card-content-title a { font: 600 1rem/1.45 var(--q-f-body) !important; color: var(--q-text) !important; }
.s-product-card-content-title a:hover { color: var(--q-crimson) !important; }
.s-product-card-category, .s-product-card-meta-line { color: var(--q-text-2) !important; font-size: .78rem; }
.s-product-card-status-dot { background: var(--q-ok) !important; box-shadow: 0 0 0 3px rgba(22,163,95,.18); }
.s-product-card-price, .s-product-card-sale-price h4, .s-product-card-content-sub h4, .s-product-card-entry h4 {
  font: 700 1.35rem/1 var(--q-f-display) !important; color: var(--q-crimson) !important;
}
.s-product-card-sale-price span, .s-product-card-entry s, .s-product-card-entry del { color: #8b909c !important; font: 500 .82rem var(--q-f-display); }
.s-product-card-promotion-title, .s-product-card-entry .promotion-title {
  background: var(--q-blaze) !important; color: #fff !important; border-radius: 0 !important; font: 700 .72rem/1.5 var(--q-f-display);
  clip-path: polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px);
}
.product-action .s-button-element, .quick-view-btn {
  background: #fff !important; color: var(--q-text) !important; border-radius: 0 !important; clip-path: var(--q-cham-s);
  box-shadow: 0 4px 12px -4px rgba(0,0,0,.2) !important;
}
.product-action .s-button-element:hover, .quick-view-btn:hover { background: var(--q-crimson) !important; color: #fff !important; }
.s-product-card-out-of-stock .s-product-card-image-cover { filter: grayscale(.5); opacity: .8; }

/* ---------- صفحة القسم ---------- */
.breadcrumbs, .s-breadcrumb-wrapper, .s-breadcrumb-item { color: var(--q-text-2) !important; font-size: .82rem; }
.s-breadcrumb-item a:hover { color: var(--q-crimson) !important; }
salla-filters, .s-filters-wrapper, .filters-container {
  background: #fff !important; color: var(--q-text) !important; border: 1px solid var(--q-line); border-radius: 0 !important;
}
select, .form-input, .s-form-control, input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], textarea {
  background: #fff !important; color: var(--q-text) !important; border: 1px solid var(--q-line) !important; border-radius: 0 !important;
}
select:focus, .form-input:focus, input:focus, textarea:focus { border-color: var(--q-crimson) !important; box-shadow: 0 0 0 3px rgba(148,0,61,.1) !important; }

/* ---------- صفحة المنتج ---------- */
.main-content h1 { font-size: clamp(1.6rem, 3vw, 2.3rem) !important; color: var(--q-text) !important; }
.price-wrapper, .total-price, .price_is_on_sale { font-family: var(--q-f-display) !important; color: var(--q-crimson) !important; font-weight: 700; }
.product-form, .main-content .form {
  background: #fff; border: 1px solid var(--q-line); border-radius: 0 !important; padding: 20px; color: var(--q-text);
}
.form-label { font-weight: 600; color: var(--q-text) !important; }
.product-form input[type="radio"] + label, .s-product-options-option label, .s-product-options-thumbnails-wrapper label {
  background: #fff !important; border: 1.5px solid var(--q-line) !important; border-radius: 0 !important;
  clip-path: var(--q-cham-s); transition: border-color .2s, background .2s; color: var(--q-text) !important;
}
.product-form input[type="radio"]:checked + label, .s-product-options-option input:checked + label {
  border-color: var(--q-crimson) !important; background: color-mix(in srgb, var(--q-crimson) 7%, #fff) !important;
}
.s-quantity-input-container { border: 1px solid var(--q-line) !important; border-radius: 0 !important; background: #fff !important; }
.s-quantity-input-button { color: var(--q-text) !important; }
.s-quantity-input-button:hover { color: var(--q-crimson) !important; }
.s-tabs-header { border-bottom: 1px solid var(--q-line) !important; background: transparent !important; }
.s-tabs-header-item { border-radius: 0 !important; color: var(--q-text-2) !important; font-weight: 600; background: transparent !important; position: relative; }
.s-tabs-header-item.s-tabs-active { color: var(--q-crimson) !important; }
.s-tabs-header-item.s-tabs-active::after { content: ""; position: absolute; inset: auto 12px -1px; height: 2px; background: var(--q-crimson); }
.s-tabs-content, .s-tabs-content * { color: var(--q-text-2); }
.sticky-product-bar {
  background: rgba(255,255,255,.96) !important; color: var(--q-text) !important; border-top: 1px solid var(--q-line) !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.25);
}
.s-comments-container, .s-comments-header { border-color: var(--q-line) !important; color: var(--q-text); }
.s-social-share-btn .s-button-element { background: #fff !important; color: var(--q-text) !important; }

/* ---------- المودالات والبحث ---------- */
.s-modal-body {
  background: #fff !important; color: var(--q-text) !important; border-radius: 0 !important; border: 1px solid var(--q-line);
}
.s-modal-overlay { background: rgba(22,24,30,.45) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.s-search-input-wrapper, .s-search-input { background: var(--q-surface-2) !important; color: var(--q-text) !important; border-radius: 0 !important; }
.s-search-input-wrapper:focus-within { box-shadow: inset 0 0 0 1.5px var(--q-crimson) !important; }
.s-add-product-toast, .s-add-product-toast * { border-radius: 0 !important; }
.s-add-product-toast { background: #fff !important; color: var(--q-text) !important; border: 1px solid var(--q-crimson) !important; }

/* ---------- السلة ---------- */
.cart-item, .s-cart-item, #cart-summary, .cart-summary {
  background: #fff !important; color: var(--q-text) !important; border: 1px solid var(--q-line) !important; border-radius: 0 !important;
}

/* ---------- الفوتر ---------- */
.store-footer, body.footer-is-light .store-footer {
  background: #fff !important; color: var(--q-text-2) !important; position: relative; border-top: 1px solid var(--q-line);
}
.store-footer::before { content: ""; position: absolute; inset: -1px 0 auto; height: 3px; background: var(--q-flame); }
footer.store-footer .store-footer__inner, footer.store-footer > div, footer.store-footer .store-footer__inner > div {
  background: transparent !important; background-color: transparent !important;
}
.store-footer p, .store-footer .ql-direction-rtl { color: var(--q-text-2) !important; }
.store-footer h3, .store-footer .important-links, .s-contacts-title {
  color: var(--q-text) !important; font-family: var(--q-f-display) !important; display: flex; align-items: center; gap: 10px;
}
.store-footer h3::before, .s-contacts-title::before {
  content: ""; width: .55em; height: .55em; transform: rotate(45deg); flex: none;
  background: linear-gradient(135deg, var(--q-blaze), var(--q-crimson));
}
.store-footer a { color: var(--q-text-2) !important; transition: color .2s; }
.store-footer a:hover { color: var(--q-crimson) !important; }
.s-contacts-icon { color: var(--q-crimson) !important; }
.s-social-list a, .s-social-list li { color: var(--q-text) !important; }
.s-payments-list-item { background: #fff; border: 1px solid var(--q-line); border-radius: 0 !important; }
.s-trust-badges-label, .s-trust-badges-number { color: var(--q-text) !important; }
.copyright-text, .copyright-text p { color: #8b909c !important; }

/* ---------- جوال ---------- */
@media (max-width: 1023px) {
  .main-nav-container .header-pill { clip-path: var(--q-cham-s); }
  .s-product-card-content { padding: 10px 12px 12px !important; }
  .s-product-card-entry:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* البنر: الشعار فوق والنص تحته في الجوال والكمبيوتر */
.sqr-hero__card{grid-template-columns:1fr!important;justify-items:center;text-align:center;gap:4px!important;padding:40px 24px 44px!important}
.sqr-hero__stage{grid-row:1;width:min(70%,320px)!important}
.sqr-hero__lead{margin-inline:auto!important}
.sqr-hero__stats{justify-content:center!important}
/* =====================================================================
   SQR | متجر صقر — بطاقة المنتج «الشريط المدمج» لثيم برو
   مكانه: تخصيص الثيم ← CSS مخصص (تحت الكود الموجود)
   يطبّق على بطاقات المنتجات العمودية فقط (custom-salla-product-card)
   ===================================================================== */

custom-salla-product-card.s-product-card-vertical{
  --rb-c:#94003d;--rb-w:#5a0026;--rb-g:#ff9900;--rb-gh:#ffc233;--rb-t:#16181e;--rb-t2:#5d6372;
  --rb-cream:#fff8ec;--rb-line:#f3e2c4;--rb-h:44px;
  /* متغيرات الثيم نفسه */
  --product-card-radius:18px;
  --product-card-action-size:34px;
  --product-card-actions-radius:999px;
  --product-card-action-bg-color:#fff8ec;
  --product-card-action-icon-color:#94003d;
  --product-card-action-border:0;
  --product-card-add-btn-bg:#94003d;
  --product-card-add-btn-text-color:#fff;
  --product-card-footer-control-h:var(--rb-h);
  --product-card-price-color:#94003d;
  --product-card-category-color:#ff9900;
  --product-card-title-color:#16181e;
  --product-card-image-height-vertical:none;

  background:var(--rb-cream)!important;
  border:0!important;
  border-radius:24px!important;
  padding:8px!important;
  box-shadow:inset 0 0 0 1px var(--rb-line)!important;
  overflow:hidden;
}

/* ---------- الصورة ---------- */
custom-salla-product-card.s-product-card-vertical .s-product-card-image{
  flex:none!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:1/1;
  border-radius:18px!important;
  background:#fff;
  overflow:hidden;
}
custom-salla-product-card.s-product-card-vertical .s-product-card-image img{
  width:100%;height:100%;object-fit:cover;
}
custom-salla-product-card.s-product-card-vertical.s-product-card-out-of-stock img.loaded{
  filter:grayscale(.4)!important;
}

/* ---------- المفضلة والعرض السريع: زاويتين فوق الصورة ---------- */
custom-salla-product-card.s-product-card-vertical .product-action{
  top:10px!important;
  right:10px!important;
  left:10px!important;
  flex-direction:row!important;
  justify-content:space-between!important;
  pointer-events:none;
}
custom-salla-product-card.s-product-card-vertical .product-action>*{
  pointer-events:auto;
}

/* ---------- المحتوى ---------- */
custom-salla-product-card.s-product-card-vertical .s-product-card-content{
  flex:1 1 auto;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-rows:auto auto 1fr auto;
  grid-template-areas:"main main" "opts opts" "price btn" "rest rest";
  row-gap:10px;
  padding:12px 6px 2px!important;
}
custom-salla-product-card.s-product-card-vertical .s-product-card-content>*{grid-area:rest}
custom-salla-product-card.s-product-card-vertical .s-product-card-content>form.product-options-form{display:contents}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-main{grid-area:main;text-align:center}
custom-salla-product-card.s-product-card-vertical .product-options-wrapper,
custom-salla-product-card.s-product-card-vertical .s-product-card-options-collapse{grid-area:opts}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-sub{grid-area:price}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer{grid-area:btn}

custom-salla-product-card.s-product-card-vertical .s-product-card-meta-line{
  justify-content:center;margin-bottom:4px;font-size:.7rem;font-weight:600;
}
custom-salla-product-card.s-product-card-vertical .s-product-card-title-line{justify-content:center}
custom-salla-product-card.s-product-card-vertical .s-product-card-status-dot{display:none}
custom-salla-product-card.s-product-card-vertical .s-product-card-title-line .s-product-card-content-title{flex:0 1 auto}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-title{margin:0!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-title a{
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  white-space:normal!important;
  min-height:3em;
  font-size:.9rem!important;
  line-height:1.5!important;
  font-weight:700;
}

/* ---------- الشريط: السعر ---------- */
custom-salla-product-card.s-product-card-vertical .s-product-card-content-sub{
  align-self:end;
  display:flex;align-items:center;justify-content:center;
  height:var(--rb-h);
  margin:0!important;
  padding:0 14px 0 12px;
  gap:6px;
  width:auto!important;
  background:#fff;
  border-radius:0 999px 999px 0;
  box-shadow:inset 0 0 0 1.5px var(--rb-c);
}
custom-salla-product-card.s-product-card-vertical .s-product-card-price,
custom-salla-product-card.s-product-card-vertical .s-product-card-sale-price h4,
custom-salla-product-card.s-product-card-vertical .s-product-card-starting-price h4{
  display:inline-flex!important;
  align-items:center;
  gap:.28em;
  direction:rtl;
  white-space:nowrap;
  margin:0;
  font-size:1.2rem!important;
  font-weight:800!important;
  line-height:1!important;
  color:var(--rb-c)!important;
}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-sub i.sicon-sar{
  font-size:.8em;line-height:1;margin:0;
}
custom-salla-product-card.s-product-card-vertical .s-product-card-sale-price{display:flex;flex-direction:column;align-items:center;gap:1px}
custom-salla-product-card.s-product-card-vertical .s-product-card-sale-price span{font-size:.7rem!important;line-height:1}
custom-salla-product-card.s-product-card-vertical .s-product-card-starting-price p{display:none}

/* ---------- الشريط: الزر ---------- */
custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer{
  align-self:end;margin:0!important;gap:0!important;flex-wrap:nowrap!important;min-width:0;
}
custom-salla-product-card.s-product-card-vertical .s-product-card-quantity-input{display:none!important}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer salla-add-product-button{
  flex:1 1 auto!important;max-width:100%!important;min-width:0;
}
custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer salla-add-product-button button.s-button-element,
custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer salla-add-product-button salla-button>button{
  height:var(--rb-h)!important;
  min-height:var(--rb-h)!important;
  width:100%;
  padding:0 10px!important;
  border:0!important;
  border-radius:999px 0 0 999px!important;
  background:var(--rb-c)!important;
  color:#fff!important;
  font-size:.84rem;font-weight:700;
}
/* زر الإضافة: أيقونة السلة + كلمة «للسلة» دائماً */
custom-salla-product-card.s-product-card-vertical .add-btn-layer-label{display:none!important}
custom-salla-product-card.s-product-card-vertical .add-btn-layer-icon{
  position:static!important;opacity:1!important;transform:none!important;color:#fff!important;
}
custom-salla-product-card.s-product-card-vertical .add-btn-swap{min-width:0;height:auto}
custom-salla-product-card.s-product-card-vertical salla-add-product-button.s-product-card-add-btn-icon-only .s-button-text{
  display:inline-flex;align-items:center;gap:6px;color:#fff!important;
}
custom-salla-product-card.s-product-card-vertical salla-add-product-button.s-product-card-add-btn-icon-only .s-button-text::after{
  content:"للسلة";
}

/* زر «أعلمني عند التوفر»: نفس الشريط بلون داكن ونص مختصر */
custom-salla-product-card.s-product-card-vertical salla-add-product-button[product-status="out-and-notify"] button{
  background:var(--rb-t)!important;
}
custom-salla-product-card.s-product-card-vertical salla-add-product-button[product-status="out-and-notify"] button .s-button-text{
  display:inline-flex;align-items:center;gap:6px;font-size:0;color:#fff!important;
}
custom-salla-product-card.s-product-card-vertical salla-add-product-button[product-status="out-and-notify"] button .s-button-text i{
  font-size:1rem;color:var(--rb-gh)!important;
}
custom-salla-product-card.s-product-card-vertical salla-add-product-button[product-status="out-and-notify"] button .s-button-text::after{
  content:"أعلمني";font-size:.8rem;
}
custom-salla-product-card.s-product-card-vertical.s-product-card-out-of-stock .s-product-card-content-sub{
  box-shadow:inset 0 0 0 1.5px var(--rb-t);
}
custom-salla-product-card.s-product-card-vertical.s-product-card-out-of-stock .s-product-card-price{
  color:var(--rb-t2)!important;
}
/* حالة «تم الاشتراك» بالتنبيه */
custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer salla-add-product-button .s-product-availability-subscribed{
  height:var(--rb-h)!important;min-height:var(--rb-h)!important;border-radius:999px 0 0 999px!important;font-size:.72rem;
}

/* ---------- الجوال ---------- */
@media (max-width:640px){
  custom-salla-product-card.s-product-card-vertical{--rb-h:38px;border-radius:18px!important;padding:6px!important}
  custom-salla-product-card.s-product-card-vertical .s-product-card-image{border-radius:13px!important}
  custom-salla-product-card.s-product-card-vertical{--product-card-action-size:30px}
  custom-salla-product-card.s-product-card-vertical .product-action{top:8px!important;right:8px!important;left:8px!important}
  custom-salla-product-card.s-product-card-vertical .s-product-card-content{padding:10px 2px 0!important;row-gap:8px}
  custom-salla-product-card.s-product-card-vertical .s-product-card-content-title a{font-size:.8rem!important}
  custom-salla-product-card.s-product-card-vertical .s-product-card-content-sub{padding:0 9px 0 7px}
  custom-salla-product-card.s-product-card-vertical .s-product-card-price,
  custom-salla-product-card.s-product-card-vertical .s-product-card-sale-price h4,
  custom-salla-product-card.s-product-card-vertical .s-product-card-starting-price h4{font-size:1rem!important}
  custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer salla-add-product-button button.s-button-element,
  custom-salla-product-card.s-product-card-vertical .s-product-card-content-footer salla-add-product-button salla-button>button{font-size:.74rem;padding:0 6px!important}
  custom-salla-product-card.s-product-card-vertical salla-add-product-button.s-product-card-add-btn-icon-only .s-button-text::after{content:""}
  custom-salla-product-card.s-product-card-vertical salla-add-product-button[product-status="out-and-notify"] button .s-button-text::after{font-size:.72rem}
}
/* ===== SQR | إصلاح صندوق بيانات المنتج (الثيم على الوضع الداكن) ===== */
html body .p-tabs{
  --p-tabs-plate-bg:rgba(255,255,255,.88);
  --p-tabs-plate-blur:blur(6px);
}
html body .p-details-plate,
html body .p-tabs--tinted .s-tabs-content-wrapper{
  background-color:rgba(255,255,255,.88)!important;
  box-shadow:0 0 0 1px #ece4d6,0 18px 40px -30px rgba(90,0,38,.35);
  border-radius:16px;
}
/* زر «نفدت الكمية» واضح بدل الباهت */
body.product-single .main-content salla-add-product-button button.s-button-element[disabled]{
  opacity:1!important;
  background:#efe9df!important;
  border-color:#e2d7c4!important;
  color:#5d6372!important;
  cursor:not-allowed;
}
body.product-single .main-content salla-add-product-button button.s-button-element[disabled] .s-button-text{
  color:#5d6372!important;
}
/* ===== SQR | إظهار الهمزات والنقاط في جملة البنر ===== */
.sqr-hero h1 em{
  line-height:1.6!important;
  padding:.12em .1em .22em;
  margin:-.12em -.1em -.22em;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}
/* ===== SQR | بنر القسم «الختم الذهبي» ===== */
html body .B_promo_title_section{background:transparent!important;overflow:hidden!important;padding-block:22px!important}
html body .B_promo_title_section>.container-wide{gap:6px!important}
html body .B_promo_title_section .promo-title__heading::before,html body .B_promo_title_section .promo-title__heading::after{content:none!important}
html body .B_promo_title_section .promo-title__badge{display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;width:100vw!important;max-width:none!important;margin:0!important;padding:0!important;gap:14px!important;background:transparent!important;color:#94003d!important;font-family:"Changa",sans-serif!important;font-size:.95rem!important;font-weight:700!important;border:0!important;border-radius:0!important;box-shadow:none!important;opacity:1!important;white-space:nowrap}
html body .B_promo_title_section .promo-title__badge i{display:none!important}
html body .B_promo_title_section .promo-title__badge::before,html body .B_promo_title_section .promo-title__badge::after{content:"◆"!important;flex:1 1 0;min-width:30px;display:flex;align-items:center;font-size:9px;line-height:1;color:#ff9900;background-repeat:no-repeat;background-size:calc(100% - 14px) 2px;border:0!important;width:auto!important;height:auto!important;position:static!important}
html body .B_promo_title_section .promo-title__badge::before{justify-content:flex-end;background-image:linear-gradient(90deg,#ff9900 88%,rgba(255,153,0,0));background-position:right center}
html body .B_promo_title_section .promo-title__badge::after{justify-content:flex-start;background-image:linear-gradient(90deg,rgba(255,153,0,0),#ff9900 12%);background-position:left center}
html body .B_promo_title_section .promo-title__heading{font-family:"Changa",sans-serif!important;color:#16181e!important;font-size:2.3rem!important;font-weight:800!important;line-height:1.4!important;margin:0!important;opacity:1!important}
html body .B_promo_title_section .promo-title__heading span{color:#94003d!important;-webkit-text-fill-color:#94003d!important;padding:0 .12em;background:linear-gradient(transparent 64%,rgba(255,194,51,.6) 64% 90%,transparent 90%)!important;-webkit-background-clip:border-box!important;background-clip:border-box!important}
@media (max-width:640px){
html body .B_promo_title_section .promo-title__heading{font-size:1.55rem!important}
html body .B_promo_title_section .promo-title__badge{font-size:.8rem!important;gap:10px!important}
}
/* إخفاء تبويبات (عشوائية / الأحدث ...) فوق المنتجات */
html body .s-block--product-tabs salla-tab-header,html body .s-block--product-tabs .s-tabs-header{display:none!important}
html body .B_promo_title_section + .s-block--product-tabs{margin-top:0!important;padding-top:4px!important}