/**
 * تحذير: هذا الملف موجود للتوافق فقط.
 * استخدم pharma-bundle.css في المشاريع الجديدة.
 * سيُحذف في v3.0
 */ 
/**
 * تحسينات المتجر — بطاقات، فلاتر، صفحة منتج، الصفحة الرئيسية
 */
.index-page .p-logo-mark {
  width: 82px !important;
  height: 82px !important;
  border-radius: 22px !important;
}
/* بطاقة المنتج — تذييل: واتساب + تقييم (يُبنى من buildProductCardHtml) */
.pc-footer .pc-wa-fab svg {
  width: 18px;
  height: 18px;
  display: block;
}

.prod-gallery-main { position: relative; }
.prod-gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.prod-gallery-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #f1f5f9;
}
.prod-gallery-thumb.is-active { border-color: #00875a; }
.prod-rx-strip {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  font-weight: 800;
  font-size: 13px;
  color: #b91c1c;
}
.prod-cta-row--wa {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 20px;
}
.prod-wa-order-btn {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, #16a34a 0%, #059669 42%, #0d9488 85%, #115e59 100%);
  color: #fff !important;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 10px 36px rgba(16, 185, 129, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease;
}
.prod-wa-order-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
  box-shadow:
    0 14px 44px rgba(16, 185, 129, 0.52),
    0 2px 0 rgba(255, 255, 255, 0.26) inset;
}
.prod-wa-order-btn:active {
  transform: translateY(1px) scale(0.985);
}
.prod-ask-rx-btn {
  flex: 0 0 auto;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 135, 90, 0.45);
  background: #fff;
  color: #0a1628 !important;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.18s ease;
}
.prod-ask-rx-btn:hover {
  border-color: rgba(0, 135, 90, 0.75);
  background: rgba(0, 135, 90, 0.06);
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.12);
  transform: translateY(-1px);
}
.prod-ask-rx-btn:active {
  transform: translateY(0);
}
/* زر السلة — بارز بلون مختلف عن واتساب (بنفسجي/نيلي) */
.product-page .prod-add-cart {
  flex: 1 1 min(100%, 260px);
  min-height: 58px;
  padding: 17px 24px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  font-size: clamp(16px, 4vw, 18px);
  letter-spacing: 0.02em;
  color: #fff !important;
  background: linear-gradient(145deg, #6366f1 0%, #4f46e5 45%, #4338ca 100%);
  box-shadow:
    0 12px 36px rgba(79, 70, 229, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.product-page .prod-add-cart:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow:
    0 16px 44px rgba(79, 70, 229, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.22) inset;
}
.product-page .prod-add-cart:active {
  transform: translateY(1px) scale(0.99);
}
.product-page .prod-add-cart:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.55);
  outline-offset: 3px;
}
.prod-disclaimer {
  margin-top: 16px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.65;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}
.bundle-sec { margin-top: 28px; }
.bundle-sec__title { font-size: 1.15rem; font-weight: 900; margin-bottom: 14px; }

.home-top-ordered {
  padding: 40px 24px 20px;
  background: #fff;
}
.home-top-ordered__inner { max-width: 1360px; margin: 0 auto; }
.home-top-ordered__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
  flex-wrap: wrap;
}

/* الأكثر طلباً — سلايدر أفقي تلقائي (صف واحد، حلقة لانهائية) */
body.index-page .home-hot-slider {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}
body.index-page #homeTopOrderedGrid.home-hot-slider__viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 6px 0 14px;
  padding-inline: clamp(8px, 2vw, 14px);
  /* الصفحة RTL: عزل اتجاه المسار يمنع تجمّع الشرائح على أحد الجانبين وفراغاً على الآخر */
  direction: ltr;
  -webkit-mask-image: none;
  mask-image: none;
}
body.index-page #homeTopOrderedGrid.home-hot-slider__viewport--static {
  direction: rtl;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  mask-image: none;
  -webkit-mask-image: none;
}
@keyframes home-hot-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    /* يُضبط من JS: عرض شريحة واحدة + gap بالبكسل — ليس -50% */
    transform: translate3d(calc(-1 * var(--home-hot-shift, 50%)), 0, 0);
  }
}
@keyframes home-hot-card-sheen {
  0%,
  18% {
    background-position: 120% 50%;
  }
  48%,
  100% {
    background-position: -30% 50%;
  }
}
body.index-page .home-hot-slider__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  direction: ltr;
  will-change: transform;
  --home-hot-shift: 50%;
  animation: home-hot-marquee-scroll 32s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
  body.index-page #homeTopOrderedGrid.home-hot-slider__viewport:hover .home-hot-slider__track:not(.home-hot-slider__track--static) {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.index-page .home-hot-slider__track:not(.home-hot-slider__track--static) {
    animation-duration: 80s;
  }
}
body.index-page .home-hot-slider__track--static {
  animation: none !important;
  gap: 18px;
  padding-inline: 4px;
}
body.index-page .home-hot-slider__segment {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 18px;
  padding-inline: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}
body.index-page .home-hot-slider__segment .pc {
  direction: rtl;
  flex: 0 0 auto;
  width: min(292px, 86vw);
  max-width: 100%;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    outline 0.35s ease;
  box-shadow:
    0 0 0 1px rgba(0, 167, 124, 0.22),
    0 8px 28px rgba(0, 90, 70, 0.1);
  position: relative;
}
body.index-page .home-hot-slider__segment .pc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.08) 44%,
    rgba(255, 255, 255, 0.72) 48.5%,
    rgba(185, 255, 220, 0.55) 50%,
    rgba(255, 255, 255, 0.55) 51.5%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 120% 50%;
  animation: home-hot-card-sheen 4.8s ease-in-out infinite;
  opacity: 0.92;
}
body.index-page .home-hot-slider__segment .pc-top,
body.index-page .home-hot-slider__segment .pc-footer {
  position: relative;
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
  body.index-page .home-hot-slider__segment .pc:hover {
    transform: scale(1.06);
    z-index: 6;
    outline: 2px solid rgba(0, 210, 150, 0.55);
    outline-offset: 2px;
    box-shadow:
      inset 0 0 0 1px rgba(0, 220, 170, 0.35),
      0 0 0 4px rgba(0, 200, 140, 0.22),
      0 18px 52px rgba(0, 120, 85, 0.38),
      0 0 36px rgba(0, 210, 150, 0.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.index-page .home-hot-slider__segment .pc::before {
    animation: none;
    opacity: 0.35;
    background-position: 50% 50%;
  }
}
body.index-page .home-hot-slider__segment .pc-img,
body.index-page .home-hot-slider__segment .pc--skel .pc-img.skel-shimmer {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
}
body.index-page .home-hot-slider__segment .pc-name {
  font-size: 14.5px;
}
@media (max-width: 480px) {
  body.index-page .home-hot-slider__segment .pc {
    width: min(260px, 88vw);
  }
}

.home-faq-sec {
  padding: 28px 24px 40px;
  background: linear-gradient(180deg, #f4fbf7 0%, #fff 28%);
  margin-top: -4px;
}
.home-faq-sec__inner { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item:hover:not([open]) {
  border-color: rgba(0, 135, 90, 0.18);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.faq-item[open] {
  border-color: rgba(0, 135, 90, 0.28);
  box-shadow: 0 6px 22px rgba(0, 135, 90, 0.08);
}
.faq-item summary {
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: background 0.18s ease, color 0.18s ease;
  -webkit-tap-highlight-color: rgba(0, 135, 90, 0.08);
}
.faq-item summary:hover {
  background: rgba(0, 135, 90, 0.04);
}
.faq-item summary:active {
  background: rgba(0, 135, 90, 0.09);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: #475569;
  line-height: 1.75;
  font-size: 14.5px;
}

.disclaimer-strip {
  background: linear-gradient(180deg, #fdf8ee 0%, #faf3e4 100%);
  border-top: 1px solid rgba(180, 130, 60, 0.2);
  border-bottom: 1px solid rgba(180, 130, 60, 0.15);
  padding: clamp(12px, 2.5vw, 16px) clamp(16px, 4vw, 28px);
}
.disclaimer-strip__inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  text-align: right;
  direction: rtl;
}
.disclaimer-strip__ico {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-top: 1px;
}
.disclaimer-strip__text {
  margin: 0;
  font-size: clamp(12.5px, 1.9vw, 14px);
  font-weight: 700;
  line-height: 1.65;
  color: #7c4a12;
}
@media (max-width: 480px) {
  .disclaimer-strip__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.shop-filters-wrap {
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.shop-filters-meta {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.shop-filters-meta__text {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}
.prods-hdr__stat {
  font-weight: 800;
  color: #00875a;
  font-size: 14px;
}
.empty-state--filters {
  text-align: center;
  padding: 28px 18px;
}
.empty-state__title {
  font-weight: 900;
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: #0f172a;
}
.empty-state__hint {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.5;
}
.empty-state__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  background: #00875a;
  color: #fff;
  font-weight: 900;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.25);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.empty-state__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 135, 90, 0.32);
}
.empty-state__btn:active {
  transform: translateY(1px) scale(0.985);
}
.empty-state__link {
  display: block;
  color: #00875a;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
}
.empty-state__link:hover {
  text-decoration: underline;
}

/* عداد المنتجات — الصفحة الرئيسية */
.home-prod-meta {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 135, 90, 0.06);
  border: 1px solid rgba(0, 135, 90, 0.12);
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
}

/* مسار تنقل — أقسام */
.p-breadcrumb {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.6;
}
.p-breadcrumb a {
  color: #00875a;
  text-decoration: none;
}
.p-breadcrumb a:hover {
  text-decoration: underline;
}
.p-breadcrumb a:focus-visible {
  outline: 2px solid #00875a;
  outline-offset: 2px;
  border-radius: 4px;
}
.p-breadcrumb__sep {
  margin: 0 6px;
  color: #94a3b8;
  font-weight: 700;
}
.p-breadcrumb__here {
  color: #0a1628;
  font-weight: 800;
}

/* حالات فارغة غنية (ui.js) */
.empty-state--rich {
  padding: 36px 20px;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}
.empty-state__icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
}
.empty-state__msg {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.5;
}
.empty-state__hint {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.6;
}
.empty-state__hint a {
  color: #00875a;
  font-weight: 800;
}
.empty-state__back {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 12px;
  background: #00875a;
  color: #fff !important;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.22);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.empty-state__back:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 135, 90, 0.3);
}
.empty-state__back:active {
  transform: translateY(1px) scale(0.985);
}
.empty-state__back:focus-visible {
  outline: 2px solid #0a1628;
  outline-offset: 2px;
}

.empty-state--products {
  max-width: 480px;
}
.empty-state__list {
  margin: 0 0 18px;
  padding: 0 1.15em 0 0;
  text-align: right;
  list-style: disc;
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
}
.empty-state__list li {
  margin-bottom: 8px;
}
.empty-state__list a {
  color: #00875a;
  font-weight: 800;
  text-decoration: none;
}
.empty-state__list a:hover {
  text-decoration: underline;
}
.empty-state__parent {
  margin: 0 0 14px;
  font-size: 14px;
  text-align: center;
}
.empty-state__parent a {
  color: #00875a;
  font-weight: 800;
  text-decoration: none;
}
.empty-state__parent a:hover {
  text-decoration: underline;
}
.empty-state__filter-row {
  margin: 4px 0 18px;
  text-align: center;
}
.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 14px;
}
.empty-state__cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  background: #00875a;
  color: #fff !important;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 135, 90, 0.25);
  min-height: 48px;
}
.empty-state__cta-primary:hover {
  filter: brightness(1.06);
}
.empty-state__cta-primary:focus-visible {
  outline: 2px solid #0a1628;
  outline-offset: 2px;
}
.empty-state__cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  min-height: 48px;
}
.empty-state__cta-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}
.empty-state__cta-secondary:focus-visible {
  outline: 2px solid #00875a;
  outline-offset: 2px;
}
.empty-state__cta-text {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #00875a;
  text-decoration: none;
  padding: 4px 8px;
}
.empty-state__cta-text:hover {
  text-decoration: underline;
}

/* ترقيم الصفحات تحت شبكة المنتجات — حاوية بيضاء، دائرة زرقاء للصفحة النشطة، RTL */
.products-pager {
  margin-top: 16px;
  padding: 16px 0 12px;
  min-height: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.products-pager .pager-wrap.pager-wrap--numbered {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  padding: 10px 20px 12px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  border: 1px solid #e8ecf1;
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.07),
    0 1px 3px rgba(15, 23, 42, 0.05);
  box-sizing: border-box;
  max-width: 100%;
}
.pager-nums {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 4px;
  padding: 0 4px;
}
.pager-num {
  box-sizing: border-box;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pager-num:hover:not(.pager-num--active) {
  background: rgba(37, 99, 235, 0.08);
  color: #1e3a8a;
}
.pager-num--active {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  cursor: default;
  border-radius: 999px;
  min-width: 36px;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}
.pager-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 36px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  user-select: none;
  letter-spacing: 0.06em;
}
.pager-nav {
  box-sizing: border-box;
  margin: 0;
  padding: 6px 10px;
  min-width: 44px;
  min-height: 44px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pager-nav__ico {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-0.5px);
}
.pager-nav:hover:not(.pager-nav--disabled) {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}
.pager-nav--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.pager-num:focus-visible,
.pager-nav:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* وضوح زر واتساب في الهيدر */
.hdr-wa-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #128c7e;
}
.shop-filters-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}
.shop-filters-inner label {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shop-filters-inner input,
.shop-filters-inner select {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  font-family: inherit;
  min-width: 120px;
}
.flt-btn {
  padding: 10px 18px;
  border-radius: 11px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.flt-btn--apply { background: #00875a; color: #fff; }
.flt-btn--reset { background: #f1f5f9; color: #334155; }

.srch-no-res--rich {
  padding: 18px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}
.srch-no-res--rich a { color: #00875a; font-weight: 800; }

.p-logo-tagline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
  max-width: 240px;
  line-height: 1.35;
}

/* شريط واتساب ثابت — صفحة المنتج (موبايل) */
body.product-page--wa-sticky {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 769px) {
  body.product-page--wa-sticky {
    padding-bottom: 0;
  }
}
.prod-wa-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9997;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 250, 252, 0.97) 28%, #f1f5f9 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}
@media (max-width: 768px) {
  .prod-wa-sticky {
    display: block;
  }
}
.prod-wa-sticky__inner {
  pointer-events: auto;
  max-width: 560px;
  margin: 0 auto;
}
.prod-wa-sticky__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #16a34a 0%, #059669 42%, #0d9488 88%, #115e59 100%);
  color: #fff !important;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow:
    0 10px 34px rgba(16, 185, 129, 0.48),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  border: 2px solid rgba(255, 255, 255, 0.35);
  font-family: inherit;
  min-height: 56px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease;
}
.prod-wa-sticky__btn:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
  box-shadow:
    0 14px 44px rgba(16, 185, 129, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.26) inset;
}
.prod-wa-sticky__btn:active {
  filter: brightness(1.02);
  transform: translateY(1px) scale(0.985);
}
.prod-wa-sticky__ico {
  flex-shrink: 0;
  display: flex;
}
.prod-wa-sticky__txt {
  line-height: 1.25;
}

/* صفحة منتج — مسار تنقل، قسم فارغ، منتجات مشابهة */
.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 14px 32px;
}
.prod-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #64748b);
  margin: 8px 0 16px;
  line-height: 1.5;
}
.prod-breadcrumb__link {
  color: var(--g, #00875a);
  text-decoration: none;
}
.prod-breadcrumb__link:hover {
  text-decoration: underline;
}
.prod-breadcrumb__sep {
  color: #94a3b8;
  user-select: none;
}
.prod-breadcrumb__current {
  color: var(--text, #0f172a);
  font-weight: 800;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-page .prod-breadcrumb {
  font-size: 14px;
  margin: 10px 0 18px;
  gap: 8px 6px;
}
.prod-empty-details {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 135, 90, 0.06);
  border: 1px solid rgba(0, 135, 90, 0.15);
}
.prod-empty-details__txt {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text, #334155);
}
.prod-empty-details__wa {
  color: var(--g, #00875a);
  font-weight: 800;
  text-decoration: underline;
}
.similar-sec__sub {
  margin: -4px 0 12px;
  font-size: 13px;
  color: var(--muted, #64748b);
  font-weight: 600;
}

/* منتجات مشابهة / حزم — شبكة صغيرة–متوسطة، لا تمتد صورة بطاقة واحدة على كامل الصفحة */
.similar-sec {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.similar-sec > h3 {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
  font-weight: 900;
  color: var(--text, #0f172a);
}
.bundle-sec .similar-grid {
  margin-top: 12px;
}
/* تمرير أفقي — يظهر المزيد من المنتجات دون إعادة تخطيط الصفحة */
.similar-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding: 4px 2px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 135, 90, 0.45) rgba(15, 23, 42, 0.07);
}
.similar-grid::-webkit-scrollbar {
  height: 8px;
}
.similar-grid::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
}
.similar-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 135, 90, 0.35);
  border-radius: 999px;
}
.similar-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 135, 90, 0.52);
}
.sim-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: clamp(132px, 42vw, 172px);
  min-width: 128px;
  max-width: 180px;
  scroll-snap-align: start;
  margin-inline: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.sim-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 135, 90, 0.22);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}
.similar-grid .sim-img {
  position: relative;
  width: 100%;
  max-width: 180px;
  max-height: 180px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}
.sim-badge {
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100% - 12px);
  padding: 4px 8px;
  font-size: clamp(9px, 2.4vw, 10px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  border-radius: 999px;
  color: #fff;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
}
.sim-badge__ico {
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
}
.sim-badge__txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-badge--similar {
  background: linear-gradient(135deg, #ff6b2c 0%, #f59e0b 100%);
}
.sim-badge--bestseller {
  background: linear-gradient(135deg, var(--g, #00875a) 0%, #00a86e 100%);
  box-shadow: 0 2px 12px rgba(0, 135, 90, 0.38);
}
.similar-grid .sim-img img.img-cover {
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
.sim-info {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.sim-name {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text, #0f172a);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sim-price {
  font-size: clamp(1.0625rem, 2.8vw, 1.25rem);
  font-weight: 900;
  color: var(--g, #00875a);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sim-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 8px;
}
.sim-price-old {
  font-size: 0.82em;
  font-weight: 600;
  color: #dc2626;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  opacity: 0.7;
}
@media (min-width: 480px) {
  .similar-grid {
    gap: 16px;
  }
  .sim-card {
    width: clamp(148px, 28vw, 200px);
    max-width: 200px;
  }
  .similar-grid .sim-img {
    max-width: 200px;
    max-height: 200px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   تحسينات UI/UX شاملة — واتساب، بطاقات، بحث، فلاتر، موبايل، هوية
   ═══════════════════════════════════════════════════════════════ */
:root {
  --brand: #00875a;
  --brand-dark: #006644;
  --brand-soft: #e6f5ef;
  --wa-grad: linear-gradient(145deg, #2ee066, #25d366 42%, #128c7e);
  --touch-min: 48px;
}

/* 1) زر واتساب عائم — كل الصفحات، آمن للمساحة الآمنة */
#wa-float {
  z-index: 9200 !important;
  width: 58px !important;
  height: 58px !important;
  bottom: max(18px, env(safe-area-inset-bottom, 0px) + 10px) !important;
  left: max(14px, env(safe-area-inset-left, 0px) + 6px) !important;
  background: var(--wa-grad) !important;
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.42),
    0 2px 10px rgba(0, 0, 0, 0.12) !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  animation: waFabBreathe 3.2s ease-in-out infinite;
}
#wa-float:hover,
#wa-float:focus-visible {
  animation: none;
  transform: scale(1.08);
  filter: brightness(1.05);
}
#wa-float svg {
  width: 30px !important;
  height: 30px !important;
  flex-shrink: 0;
}
@keyframes waFabBreathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.42), 0 2px 10px rgba(0, 0, 0, 0.12);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 10px 34px rgba(37, 211, 102, 0.5), 0 2px 10px rgba(0, 0, 0, 0.14);
  }
}
@media (min-width: 900px) {
  #wa-float {
    width: 60px !important;
    height: 60px !important;
  }
  #wa-float svg {
    width: 32px !important;
    height: 32px !important;
  }
}

/* 2) بطاقات المنتج — سعر بارز + زر واتساب */
.pc-price-row {
  margin-top: auto;
  padding-top: 6px;
}
.pc-price {
  font-size: clamp(1.12rem, 3.5vw, 1.42rem) !important;
  font-weight: 900 !important;
  color: #052e16 !important;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.pc-old {
  font-size: clamp(0.88rem, 2.6vw, 1rem) !important;
  font-weight: 600 !important;
  color: #dc2626 !important;
  text-decoration: line-through !important;
  text-decoration-thickness: 1px;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.pc-name {
  font-weight: 800 !important;
  line-height: 1.5 !important;
  color: var(--navy, #0f172a) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0 !important;
  min-height: calc(1.5em * 2) !important;
}

/* 3) صفحة المنتج — صور أكبر وتبويبات أوضح */
.product-page .prod-card {
  display: grid;
  gap: clamp(16px, 3vw, 22px);
  align-items: start;
}
@media (min-width: 900px) {
  .product-page .prod-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    column-gap: clamp(20px, 3vw, 36px);
    row-gap: 20px;
  }
}
.product-page .info-sec {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-page .info-sec > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-page .prod-cat {
  font-size: 14.5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.product-page .prod-name {
  margin: 0;
  font-size: clamp(1.35rem, 4.2vw, 1.9rem);
  font-weight: 900;
  line-height: 1.32;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.product-page .divider {
  margin: 6px 0 4px;
  height: 0;
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}
.product-page .price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
  margin: 6px 0 8px;
}
.product-page .price-now {
  font-size: clamp(1.95rem, 5.8vw, 2.65rem);
  font-weight: 900;
  color: #052e16;
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}
.product-page .price-old {
  font-size: clamp(1.12rem, 3.4vw, 1.45rem);
  font-weight: 600;
  color: #dc2626;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.product-page .discount-tag {
  font-weight: 900;
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
}
.product-page .prod-trust-strip {
  list-style: none;
  margin: 8px 0 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 135, 90, 0.07), rgba(0, 135, 90, 0.03));
  border: 1px solid rgba(0, 135, 90, 0.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.product-page .prod-trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.55;
}
.product-page .prod-trust-strip__ico {
  flex-shrink: 0;
  width: 1.35em;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.35;
}
@media (min-width: 520px) {
  .product-page .prod-trust-strip {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 14px 16px;
  }
  .product-page .prod-trust-strip__item {
    flex: 1 1 calc(33.333% - 12px);
    min-width: min(100%, 160px);
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    padding: 6px 4px;
  }
  .product-page .prod-trust-strip__ico {
    font-size: 1.35em;
  }
}
@media (min-width: 900px) {
  .product-page .img-sec {
    max-width: 460px;
    margin-inline: auto;
  }
}
/* معرض + مكبّر جانبي (سطح مكتب) */
.product-page .prod-gallery-zoom {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.product-page .prod-gallery-col {
  flex: 1 1 260px;
  min-width: 0;
}
.product-page .prod-gallery-main {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 135, 90, 0.12);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  background: #fff;
}
.product-page .img-zoom-wrap {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}
.product-page .img-zoom-lens {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  border: 2px solid rgba(59, 130, 246, 0.55);
  background: rgba(59, 130, 246, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  border-radius: 10px;
}
.product-page .prod-zoom-full {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 4;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.product-page .prod-zoom-full:hover {
  background: #fff;
  color: var(--g, #00875a);
  transform: scale(1.04);
}

.product-page .prod-zoom-pane {
  flex: 0 0 38%;
  max-width: 400px;
  min-width: 200px;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid rgba(0, 135, 90, 0.18);
  background-color: #f1f5f9;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  display: none;
}
@media (min-width: 900px) {
  .product-page .prod-gallery-zoom.is-zooming .prod-zoom-pane {
    display: block;
  }
}
@media (max-width: 899px) {
  .product-page .prod-gallery-zoom {
    flex-direction: column;
  }
  .product-page .prod-zoom-pane {
    display: none !important;
  }
  .product-page .img-zoom-wrap {
    cursor: default;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-page .prod-zoom-pane,
  .product-page .img-zoom-lens {
    display: none !important;
  }
  .product-page .img-zoom-wrap {
    cursor: default;
  }
}
.product-page .prod-main-img,
.product-page .img-zoom-wrap {
  min-height: min(52vw, 420px);
}
@media (min-width: 769px) {
  .product-page .prod-main-img,
  .product-page .img-zoom-wrap {
    min-height: 380px;
  }
}
.product-page .prod-main-img {
  display: block;
  width: 100%;
}
.product-page .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  margin-top: 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 135, 90, 0.12);
}
.product-page .tab-btn {
  min-height: 48px;
  padding: 12px 18px !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  border: 1.5px solid transparent !important;
  line-height: 1.35 !important;
}
.product-page .tab-btn.act {
  background: var(--brand-soft, #e6f5ef) !important;
  border-color: rgba(0, 135, 90, 0.35) !important;
  color: var(--brand-dark, #006644) !important;
}
.product-page .tab-btn:not(.act) {
  background: #f1f5f9;
  color: #64748b;
  border: 1.5px solid #e2e8f0 !important;
}
.product-page .tab-content {
  display: none;
  padding-top: 10px;
}
.product-page .tab-content.act {
  display: block;
  animation: tabFadeIn 0.25s ease;
}
@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.product-page .info-block,
.product-page .warn-block {
  padding: 18px 0 8px;
  font-size: 16.5px;
  line-height: 1.85;
  color: #334155;
}
.product-page .info-block h4,
.product-page .warn-block h4 {
  font-size: 1.05em;
  margin: 0 0 10px;
}
.product-page .warn-block {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 14px;
  padding: 16px 18px;
}
.product-page .prod-wa-order-btn {
  min-height: 56px;
  font-size: 17px !important;
}
.product-page .prod-empty-details {
  margin-top: 8px;
  padding: 16px 18px;
}
.product-page .prod-empty-details__txt {
  font-size: 15.5px;
  line-height: 1.75;
}
.product-page .prod-disclaimer {
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  margin-top: 18px !important;
  padding: 14px 16px !important;
}

/* 4) بحث مباشر — اقتراحات بصور أوضح */
.srch-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
a.srch-item {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  width: 100%;
}
/* النقر يُسجَّل على الرابط كاملاً (لا تسرق الصورة أو النص الحدث) */
.srch-item .srch-ico,
.srch-item .srch-name,
.srch-item .srch-price,
.srch-item .srch-go {
  pointer-events: none;
}
.srch-item {
  display: grid !important;
  grid-template-columns: 52px 1fr auto minmax(52px, auto);
  align-items: center;
  gap: 10px 12px;
  min-height: 60px;
  padding: 8px 10px !important;
  border-radius: 14px !important;
  border: 1px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.18s ease;
}
.srch-go {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand, #00875a);
  white-space: nowrap;
}
.srch-go__txt {
  opacity: 0.92;
}
.srch-go__ico {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.85;
}
.srch-item:hover,
.srch-item:focus-visible {
  background: rgba(0, 135, 90, 0.11) !important;
  box-shadow:
    0 2px 10px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(0, 135, 90, 0.14) !important;
  border-color: rgba(0, 135, 90, 0.2) !important;
  transform: translateY(-1px);
  outline: none;
}
.srch-item:active {
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.06) !important;
}
.srch-ico {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.srch-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.srch-ico-fallback {
  font-size: 26px;
  line-height: 1;
}
.srch-name {
  font-weight: 800 !important;
  line-height: 1.35;
}
.srch-price {
  font-weight: 900 !important;
  color: var(--brand, #00875a) !important;
  font-size: 13px !important;
  white-space: nowrap;
}

/* 5) فلاتر القسم */
.shop-filters-wrap {
  background: #fff;
  border: 1.5px solid rgba(0, 135, 90, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.shop-filters-wrap label {
  font-weight: 700;
  font-size: 13px;
  color: #334155;
}
.shop-filters-wrap input[type='number'],
.shop-filters-wrap select {
  min-height: 44px;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  margin-top: 6px;
}
.flt-btn {
  min-height: var(--touch-min);
  padding: 0 20px !important;
  font-weight: 900 !important;
  border-radius: 12px !important;
}

/* 6) Empty state — أيقونة مرئية */
.empty-state__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.empty-state__svg {
  display: block;
  width: 88px;
  height: 88px;
}
.empty-state__emoji {
  font-size: 22px;
  line-height: 1;
  opacity: 0.85;
}

/* 7) قسم طريقة الطلب */
.how-order-sec {
  padding: 40px 20px 32px;
  background: linear-gradient(180deg, #ecfdf5 0%, #f0faf5 45%, #f8fafc 100%);
  border-block: 1px solid rgba(0, 135, 90, 0.1);
}
.how-order-sec__inner {
  max-width: 960px;
  margin: 0 auto;
}
.how-order-sec__hd {
  margin-bottom: 22px;
  text-align: center;
}
.how-order-sec__hd .p-sec-title {
  font-size: clamp(1.25rem, 3.8vw, 1.75rem);
  line-height: 1.35;
  color: #064e3b;
}
.how-order-sec__lead {
  margin: 6px 0 0;
  font-size: 15px;
  color: #475569;
  font-weight: 700;
}
.how-order-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .how-order-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}
.how-order-step {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 18px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.22s ease;
}
.how-order-step:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 135, 90, 0.22);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.06),
    0 20px 48px rgba(0, 135, 90, 0.12);
}
.how-order-step:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.06),
    0 10px 28px rgba(0, 135, 90, 0.1);
}
@media (min-width: 720px) {
  .how-order-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-end: -13px;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    transform: translateY(-50%);
    background: linear-gradient(
      to left,
      rgba(0, 135, 90, 0.08),
      rgba(0, 135, 90, 0.45) 45%,
      rgba(0, 135, 90, 0.08)
    );
    box-shadow: 0 0 14px rgba(0, 135, 90, 0.28);
    z-index: 1;
    pointer-events: none;
  }
  [dir='rtl'] .how-order-step:not(:last-child)::after {
    background: linear-gradient(
      to right,
      rgba(0, 135, 90, 0.08),
      rgba(0, 135, 90, 0.45) 45%,
      rgba(0, 135, 90, 0.08)
    );
  }
  .how-order-step:not(:last-child)::before {
    content: '❮';
    position: absolute;
    top: 50%;
    inset-inline-end: -19px;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 900;
    color: rgba(0, 135, 90, 0.55);
    z-index: 2;
    pointer-events: none;
    line-height: 1;
  }
}
@media (max-width: 719px) {
  .how-order-step:not(:last-child)::before {
    display: none;
  }
  .how-order-step:not(:last-child)::after {
    content: '';
    position: absolute;
    inset-inline-start: 30px;
    top: calc(100% + 3px);
    width: 2px;
    height: 12px;
    border-radius: 2px;
    background: linear-gradient(to bottom, rgba(0, 135, 90, 0.45), rgba(0, 135, 90, 0.1));
    box-shadow: 0 0 10px rgba(0, 135, 90, 0.2);
    z-index: 1;
    pointer-events: none;
  }
}
.how-order-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #00a86e, #006644);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 14px rgba(0, 135, 90, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 24px rgba(0, 168, 110, 0.35);
}
.how-order-step__body {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.how-order-step__ico {
  font-size: 1.65rem;
  flex-shrink: 0;
  line-height: 1;
}
.how-order-step__line {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #334155;
}
.how-order-footer {
  margin-top: 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.how-order-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 34px;
  border-radius: 16px;
  font-family: 'Tajawal', sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, #16a34a 0%, #059669 40%, #0d9488 82%, #115e59 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 12px 40px rgba(16, 185, 129, 0.48),
    0 2px 0 rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease;
}
.how-order-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(16, 185, 129, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.26) inset;
}
.how-order-cta:active {
  transform: translateY(-1px) scale(0.985);
  filter: brightness(0.98);
}
.how-order-trust {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  max-width: 28em;
  line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
  .how-order-step {
    transition: none;
  }
  .how-order-step:hover,
  .how-order-step:active {
    transform: none;
  }
  .how-order-cta:hover {
    transform: none;
  }
}

/* 10) موبايل — أهداف لمس أكبر */
@media (max-width: 480px) {
  .srch-btn,
  .pref-btn,
  .cart-btn-hdr {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ═══ الصفحة الرئيسية — نفس شبكة المتجر على كل الأجهزة ═══ */
body.index-page .pgrid6.pgrid6--home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  justify-content: stretch;
  gap: 20px;
  align-items: stretch;
}
/* الرئيسية — عمود واضح: صورة أعلى (ثابتة) ← معلومات ← أزرار (بدون تداخل) */
body.index-page .pgrid6--home .pc,
body.index-page #homeTopOrderedGrid .pc {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
body.index-page .pgrid6--home .pc-top,
body.index-page #homeTopOrderedGrid .pc-top {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
body.index-page .pgrid6--home .pc-link,
body.index-page #homeTopOrderedGrid .pc-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  align-items: stretch;
}
body.index-page .pgrid6--home .pc-img,
body.index-page #homeTopOrderedGrid .pc-img {
  flex: 0 0 200px !important;
  flex-shrink: 0 !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  width: 100%;
  align-self: stretch;
  position: relative;
  z-index: 0;
}
body.index-page .pgrid6--home .pc-footer,
body.index-page #homeTopOrderedGrid .pc-footer {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  margin-top: 0;
}
body.index-page .pgrid6--home .pc--skel .pc-img.skel-shimmer,
body.index-page #homeTopOrderedGrid .pc--skel .pc-img.skel-shimmer {
  aspect-ratio: unset !important;
  flex: 0 0 200px !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
}
body.index-page .pgrid6--home .pc-footer--skel,
body.index-page #homeTopOrderedGrid .pc-footer--skel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(0, 135, 90, 0.1);
  background: #fff;
  min-height: 44px;
}
body.index-page .pgrid6--home .pc-footer--skel .skel-line,
body.index-page #homeTopOrderedGrid .pc-footer--skel .skel-line {
  height: 12px;
  border-radius: 8px;
  flex: 1;
  max-width: 42%;
}
body.index-page .pgrid6--home .pc-img-el,
body.index-page #homeTopOrderedGrid .pc-img-el {
  object-fit: contain;
  object-position: center center;
}
@media (hover: hover) and (pointer: fine) {
  body.index-page .pgrid6--home .pc:hover .pc-img-el,
  body.index-page #homeTopOrderedGrid .pc:hover .pc-img-el {
    transform: scale(1.04);
  }
}
body.index-page #pgrid2 .pc-price,
body.index-page #homeTopOrderedGrid .pc-price {
  font-size: 15px !important;
  color: #052e16 !important;
  font-weight: 900 !important;
  text-shadow: none;
}

body.index-page .flash-sec .p-see-all,
body.index-page .home-top-ordered .p-see-all {
  background: linear-gradient(135deg, rgba(0, 135, 90, 0.1), rgba(0, 135, 90, 0.04));
  border: 2px solid rgba(0, 135, 90, 0.45);
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 135, 90, 0.14);
}
body.index-page .flash-sec .p-see-all:hover,
body.index-page .home-top-ordered .p-see-all:hover {
  box-shadow: 0 8px 22px rgba(0, 135, 90, 0.22);
}

/* شارة الأكثر مبيعاً — زاوية بعيدة عن عمود زر واتساب (RTL: الزر يمين، الشارة يسار الصورة) */
.pc-badge-bestseller {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  box-shadow: 0 3px 12px rgba(234, 88, 12, 0.35);
  line-height: 1.25;
  max-width: min(100%, calc(100% - 20px));
  text-align: center;
  pointer-events: none;
}
.pc-trust-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
  min-height: 1.35rem;
  flex-shrink: 0;
}
.pc-stars {
  color: #fbbf24;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
}
.pc-rating-val {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
}

/* نفس أبعاد الأزرار الافتراضية — لا تكبير على أي شاشة */
.pc--wa-prominent .pc-wa-fab {
  transform: none;
  min-width: 38px;
  min-height: 38px;
}
.pc--wa-prominent .pc-fab-cart {
  width: 44px;
  height: 44px;
  font-size: 26px;
}

/* ═══ قسم نصيحة اليوم — Premium + حركة خفيفة ═══ */
#daily-tip-sec,
#tips-more {
  scroll-margin-top: 96px;
}
.p-tips-premium {
  position: relative;
  overflow: hidden;
  padding-top: 38px !important;
  padding-bottom: 40px !important;
  background: linear-gradient(155deg, #070f1c 0%, #0a1628 38%, #152238 100%);
  color: #e2e8f0;
}
.p-tips-premium__inner {
  position: relative;
  z-index: 2;
}
.p-tips-premium__layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    125deg,
    transparent 0%,
    rgba(0, 168, 110, 0.07) 22%,
    transparent 44%,
    rgba(56, 189, 248, 0.06) 68%,
    transparent 100%
  );
  background-size: 240% 240%;
  animation: tipsPremiumGradient 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.p-tips-premium__aurora {
  position: absolute;
  inset: -35% -25%;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 45% at 72% 42%, rgba(0, 168, 110, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 28% 58%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 18%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  animation: tipsPremiumAurora 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes tipsPremiumGradient {
  0% {
    background-position: 0% 40%;
  }
  100% {
    background-position: 100% 60%;
  }
}
@keyframes tipsPremiumAurora {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.88;
  }
  100% {
    transform: translate(-3%, 2%) scale(1.06);
    opacity: 1;
  }
}
.p-tips-premium__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-rows: auto auto auto;
  gap: 18px 36px;
  align-items: start;
}
.p-tips-premium__head {
  grid-column: 1;
  grid-row: 1;
}
.p-tips-premium__panel {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
/* لوحة نصيحة اليوم — رابط كامل + تفاعل واضح */
.p-tips-premium__panel-link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 168, 110, 0.12);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease;
}
.p-tips-premium__panel-link:hover .p-tips-premium__spotlight {
  border-color: rgba(0, 168, 110, 0.35);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.p-tips-premium__panel-link:hover {
  transform: translateY(-4px);
  filter: brightness(1.04);
}
.p-tips-premium__panel-link:active {
  transform: translateY(-1px) scale(0.992);
  filter: brightness(0.98);
}
.p-tips-premium__panel-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(127, 255, 196, 0.45);
  border-radius: 24px;
}
.p-tips-premium__foot {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}
.p-tips-premium__kicker {
  color: var(--mint, #7fffc4) !important;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.p-tips-premium__title {
  display: flex;
  align-items: flex-start;
  gap: 12px 14px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.p-tips-premium__title-ico {
  font-size: clamp(2.4rem, 7vw, 3.25rem);
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 168, 110, 0.35));
}
.p-tips-premium__title-text {
  flex: 1 1 12rem;
  min-width: 0;
}
.p-tips-premium__lead {
  margin: 0;
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  font-weight: 600;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.88);
  max-width: 36ch;
}
.p-tips-premium__spotlight {
  position: relative;
  border-radius: 20px;
  padding: 22px 22px 22px 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.p-tips-premium__spotlight-ico {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  font-size: 26px;
  opacity: 0.9;
}
.p-tips-premium__spotlight-body {
  padding-inline-end: 36px;
}
.p-tips-premium__spotlight-line {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}
.p-tips-premium__spotlight-line:last-child {
  margin-bottom: 0;
  color: rgba(226, 232, 240, 0.82);
  font-weight: 600;
  font-size: 14.5px;
}
.p-tips-premium__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
}
.p-tips-premium__art-ring {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(0, 168, 110, 0.25);
  box-shadow: 0 0 40px rgba(0, 168, 110, 0.15);
  animation: tipsPremiumPulse 3.2s ease-in-out infinite;
}
.p-tips-premium__art-emoji {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}
@keyframes tipsPremiumPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}
.p-tips-premium__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 12px;
}
.p-tips-premium__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 14px;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}
.p-tips-premium__btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #00c77a, #00875a 55%, #006b4a);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 10px 32px rgba(0, 168, 110, 0.45),
    0 2px 0 rgba(255, 255, 255, 0.12) inset;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.p-tips-premium__btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-3px);
  box-shadow:
    0 16px 44px rgba(0, 168, 110, 0.55),
    0 2px 0 rgba(255, 255, 255, 0.15) inset;
}
.p-tips-premium__btn--primary:active {
  transform: translateY(1px) scale(0.985);
}
.p-tips-premium__trust {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.55);
  letter-spacing: 0.02em;
}
.p-tips-premium__more {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 4px;
}
.tips-premium-reveal {
  opacity: 0;
  animation: tipsPremiumReveal 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.tips-premium-reveal--delay {
  animation-delay: 0.14s;
}
.tips-premium-reveal--delay2 {
  animation-delay: 0.26s;
}
@keyframes tipsPremiumReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .p-tips-premium__split {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }
  .p-tips-premium__head {
    grid-column: 1;
    grid-row: 1;
  }
  .p-tips-premium__panel {
    grid-column: 1;
    grid-row: 2;
  }
  .p-tips-premium__foot {
    grid-column: 1;
    grid-row: 3;
    align-self: stretch;
  }
  .p-tips-premium__more {
    grid-column: 1;
    grid-row: 4;
  }
  .p-tips-premium__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .p-tips-premium__btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-tips-premium__layer,
  .p-tips-premium__aurora,
  .p-tips-premium__art-ring {
    animation: none !important;
  }
  .p-tips-premium__panel-link:hover,
  .p-tips-premium__panel-link:active {
    transform: none;
    filter: none;
  }
  .tips-premium-reveal,
  .tips-premium-reveal--delay,
  .tips-premium-reveal--delay2 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══ احتفال دخول الرئيسية عبر QR (?from=qr) — كونفيتي ═══ */
@keyframes index-qr-confetti-fall {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 1;
  }
  to {
    transform: translate3d(var(--iq-dx, 0px), 110vh, 0) rotate(var(--iq-rot, 720deg));
    opacity: 0.35;
  }
}
.index-qr-welcome-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10050;
  overflow: hidden;
}
.index-qr-welcome-piece {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 11px;
  border-radius: 2px;
  opacity: 0.95;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .index-qr-welcome-piece {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* ═══ الصفحة الرئيسية — سلايدر العروض (محاذاة مع الهيدر 1360px + تماثل RTL) ═══ */
.promo-swiper-section {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, #e8edf5 0%, #f7f9fc 40%, #f7f9fc 100%);
  padding-block: clamp(10px, 1.8vw, 18px) clamp(20px, 3.2vw, 32px);
  padding-inline: 0;
}
.promo-swiper-wrap {
  position: relative;
  --promo-h: clamp(210px, 32vw, 420px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  min-height: var(--promo-h);
}
.promo-swiper {
  position: relative;
  width: 100%;
  height: var(--promo-h);
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  background: #e2e8f0;
  --swiper-navigation-size: 44px;
}
.promo-swiper .swiper-wrapper {
  box-sizing: border-box;
}
.promo-swiper .swiper-slide {
  height: var(--promo-h);
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.promo-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--promo-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
  outline: none;
  -webkit-user-drag: none;
  user-select: none;
}
.promo-slide-link:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(0, 135, 90, 0.45);
}
/* ملء الشريحة بالكامل — يتفادى ارتفاع 0 مع flex + lazy */
.promo-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  pointer-events: none;
}
/* نقاط في منتصف الشريحة — خصوصية أعلى من swiper-bundle (الذي يضع left:0 وwidth:100%) */
.promo-swiper.swiper-horizontal > .promo-swiper-pagination.swiper-pagination-bullets,
.promo-swiper > .promo-swiper-pagination {
  position: absolute !important;
  z-index: 12;
  top: auto !important;
  bottom: clamp(14px, 2.5vw, 22px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100% - 24px) !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row;
  justify-content: center !important;
  align-items: center;
  gap: 7px;
  padding: 0 6px !important;
  margin: 0 !important;
  background: none !important;
  backdrop-filter: none;
  pointer-events: none;
  text-align: center !important;
}
.promo-swiper.swiper-horizontal > .promo-swiper-pagination .swiper-pagination-bullet,
.promo-swiper > .promo-swiper-pagination .swiper-pagination-bullet {
  pointer-events: auto;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 8px;
  height: 8px;
  background: rgba(15, 23, 42, 0.22);
  opacity: 1;
  transition: width 0.28s ease, background 0.28s ease, transform 0.2s ease;
}
.promo-swiper.swiper-horizontal > .promo-swiper-pagination .swiper-pagination-bullet-active,
.promo-swiper > .promo-swiper-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a86e, #00875a);
  box-shadow: 0 2px 14px rgba(0, 135, 90, 0.35);
}
/* أسهم داخل البطاقة — حواف يمين/يسار ثابتة بصرياً مع الحواف المستديرة */
.promo-swiper-nav {
  position: absolute;
  top: 50%;
  z-index: 15;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}
.promo-swiper-nav:hover {
  background: #fff;
  border-color: rgba(0, 135, 90, 0.22);
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.14);
}
.promo-swiper-nav:focus-visible {
  outline: 2px solid #00875a;
  outline-offset: 2px;
}
.promo-swiper-nav::after {
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  color: #334155;
}
.promo-swiper-prev {
  right: clamp(8px, 1.4vw, 14px);
  left: auto;
}
.promo-swiper-prev::after {
  content: "›";
}
.promo-swiper-next {
  left: clamp(8px, 1.4vw, 14px);
  right: auto;
}
.promo-swiper-next::after {
  content: "‹";
}
/* موبايل/تابلت ≤768px: سلايدرات بعرض كامل، ارتفاع تلقائي، صورة كاملة بدون قص */
@media (max-width: 768px) {
  .promo-swiper-section {
    padding-block: clamp(6px, 1.2vw, 12px) clamp(14px, 2.6vw, 26px);
  }
  .promo-swiper-wrap {
    min-height: 0;
    --promo-h: auto;
    padding-inline: clamp(12px, 4vw, 20px);
  }
  .promo-swiper {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .promo-swiper .swiper-slide {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .promo-slide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .promo-slide-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .promo-swiper-nav {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }
  .promo-swiper-nav::after {
    font-size: 19px;
  }
  .promo-swiper-prev {
    right: 6px;
  }
  .promo-swiper-next {
    left: 6px;
  }
  .promo-swiper.swiper-horizontal > .promo-swiper-pagination.swiper-pagination-bullets,
  .promo-swiper > .promo-swiper-pagination {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: 12px !important;
    max-width: calc(100% - 16px) !important;
    gap: 10px;
  }
  .promo-swiper.swiper-horizontal > .promo-swiper-pagination .swiper-pagination-bullet,
  .promo-swiper > .promo-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

/* ═══ سلايدر العلامات / البنرات (Swiper منفصل عن العروض) ═══ */
.brand-showcase-sec {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 55%, #f8fafc 100%);
  padding-block: clamp(20px, 3.5vw, 36px) clamp(24px, 4vw, 40px);
  padding-inline: 0;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}
.brand-showcase-sec__head {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 24px);
  text-align: center;
  margin-bottom: clamp(16px, 2.5vw, 22px);
}
.brand-showcase-sec__title {
  margin: 0;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.brand-showcase-wrap {
  position: relative;
  --brand-h: clamp(200px, 30vw, 400px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  min-height: var(--brand-h);
}
.brand-showcase-swiper {
  position: relative;
  width: 100%;
  height: var(--brand-h);
  overflow: hidden;
  border-radius: 20px;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.09),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  background: #e2e8f0;
  --swiper-navigation-size: 44px;
}
.brand-showcase-swiper .swiper-slide {
  height: var(--brand-h);
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
}
.brand-showcase-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--brand-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  outline: none;
  -webkit-user-drag: none;
  user-select: none;
}
.brand-showcase-link:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(0, 135, 90, 0.45);
}
.brand-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  pointer-events: none;
}
.brand-showcase-swiper.swiper-horizontal > .brand-showcase-pagination.swiper-pagination-bullets,
.brand-showcase-swiper > .brand-showcase-pagination {
  position: absolute !important;
  z-index: 12;
  top: auto !important;
  bottom: clamp(14px, 2.5vw, 22px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100% - 24px) !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row;
  justify-content: center !important;
  align-items: center;
  gap: 7px;
  padding: 0 6px !important;
  margin: 0 !important;
  background: none !important;
  pointer-events: none;
  text-align: center !important;
}
.brand-showcase-swiper.swiper-horizontal > .brand-showcase-pagination .swiper-pagination-bullet,
.brand-showcase-swiper > .brand-showcase-pagination .swiper-pagination-bullet {
  pointer-events: auto;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 8px;
  height: 8px;
  background: rgba(15, 23, 42, 0.22);
  opacity: 1;
  transition: width 0.28s ease, background 0.28s ease, transform 0.2s ease;
}
.brand-showcase-swiper.swiper-horizontal > .brand-showcase-pagination .swiper-pagination-bullet-active,
.brand-showcase-swiper > .brand-showcase-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00a86e, #00875a);
  box-shadow: 0 2px 14px rgba(0, 135, 90, 0.35);
}
.brand-showcase-nav {
  position: absolute;
  top: 50%;
  z-index: 15;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}
.brand-showcase-nav:hover {
  background: #fff;
  border-color: rgba(0, 135, 90, 0.22);
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.14);
}
.brand-showcase-nav:focus-visible {
  outline: 2px solid #00875a;
  outline-offset: 2px;
}
.brand-showcase-nav::after {
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  color: #334155;
}
.brand-showcase-prev {
  right: clamp(8px, 1.4vw, 14px);
  left: auto;
}
.brand-showcase-prev::after {
  content: "›";
}
.brand-showcase-next {
  left: clamp(8px, 1.4vw, 14px);
  right: auto;
}
.brand-showcase-next::after {
  content: "‹";
}
@media (max-width: 768px) {
  .brand-showcase-sec {
    padding-block: clamp(14px, 2.5vw, 28px) clamp(18px, 3vw, 34px);
  }
  .brand-showcase-sec__head {
    margin-bottom: clamp(10px, 3vw, 16px);
  }
  .brand-showcase-wrap {
    min-height: 0;
    --brand-h: auto;
    padding-inline: clamp(12px, 4vw, 20px);
  }
  .brand-showcase-swiper {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .brand-showcase-swiper .swiper-slide {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .brand-showcase-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .brand-showcase-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .brand-showcase-nav {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }
  .brand-showcase-nav::after {
    font-size: 19px;
  }
  .brand-showcase-prev {
    right: 6px;
  }
  .brand-showcase-next {
    left: 6px;
  }
  .brand-showcase-swiper.swiper-horizontal > .brand-showcase-pagination.swiper-pagination-bullets,
  .brand-showcase-swiper > .brand-showcase-pagination {
    bottom: 12px !important;
    max-width: calc(100% - 16px) !important;
    gap: 10px;
  }
  .brand-showcase-swiper.swiper-horizontal > .brand-showcase-pagination .swiper-pagination-bullet,
  .brand-showcase-swiper > .brand-showcase-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

/* ═══ سلايدر بنرات إضافية — تحت منتجات وعلاجات مختارة (بانادول، ميموريا، بنفو، موكوسولف) ═══ */
.spotlight-slider-sec {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #eef2ff 100%);
  padding-block: clamp(18px, 3.2vw, 32px) clamp(22px, 3.8vw, 38px);
  padding-inline: 0;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}
.spotlight-slider-sec__head {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 24px);
  text-align: center;
  margin-bottom: clamp(16px, 2.5vw, 22px);
}
.spotlight-slider-sec__title {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.spotlight-slider-wrap {
  position: relative;
  --spotlight-h: clamp(200px, 31.25vw, 420px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
  min-height: var(--spotlight-h);
}
.spotlight-slider-swiper {
  position: relative;
  width: 100%;
  height: var(--spotlight-h);
  overflow: hidden;
  border-radius: 20px;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.09),
    0 0 0 1px rgba(15, 23, 42, 0.05);
  background: #e2e8f0;
  --swiper-navigation-size: 44px;
}
.spotlight-slider-swiper .swiper-slide {
  height: var(--spotlight-h);
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
}
.spotlight-slider-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--spotlight-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  outline: none;
  -webkit-user-drag: none;
  user-select: none;
}
.spotlight-slider-link:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(0, 135, 90, 0.45);
}
.spotlight-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
  pointer-events: none;
}
.spotlight-slider-swiper.swiper-horizontal > .spotlight-slider-pagination.swiper-pagination-bullets,
.spotlight-slider-swiper > .spotlight-slider-pagination {
  position: absolute !important;
  z-index: 12;
  top: auto !important;
  bottom: clamp(14px, 2.5vw, 22px) !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100% - 24px) !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: row;
  justify-content: center !important;
  align-items: center;
  gap: 7px;
  padding: 0 6px !important;
  margin: 0 !important;
  background: none !important;
  pointer-events: none;
  text-align: center !important;
}
.spotlight-slider-swiper.swiper-horizontal > .spotlight-slider-pagination .swiper-pagination-bullet,
.spotlight-slider-swiper > .spotlight-slider-pagination .swiper-pagination-bullet {
  pointer-events: auto;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  width: 8px;
  height: 8px;
  background: rgba(15, 23, 42, 0.22);
  opacity: 1;
  transition: width 0.28s ease, background 0.28s ease, transform 0.2s ease;
}
.spotlight-slider-swiper.swiper-horizontal > .spotlight-slider-pagination .swiper-pagination-bullet-active,
.spotlight-slider-swiper > .spotlight-slider-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  box-shadow: 0 2px 14px rgba(79, 70, 229, 0.35);
}
.spotlight-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 15;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}
.spotlight-slider-nav:hover {
  background: #fff;
  border-color: rgba(79, 70, 229, 0.28);
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.14);
}
.spotlight-slider-nav:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}
.spotlight-slider-nav::after {
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  color: #334155;
}
.spotlight-slider-prev {
  right: clamp(8px, 1.4vw, 14px);
  left: auto;
}
.spotlight-slider-prev::after {
  content: "›";
}
.spotlight-slider-next {
  left: clamp(8px, 1.4vw, 14px);
  right: auto;
}
.spotlight-slider-next::after {
  content: "‹";
}
@media (max-width: 768px) {
  .spotlight-slider-sec {
    padding-block: clamp(14px, 2.5vw, 28px) clamp(18px, 3vw, 34px);
  }
  .spotlight-slider-sec__head {
    margin-bottom: clamp(10px, 3vw, 16px);
  }
  .spotlight-slider-wrap {
    min-height: 0;
    --spotlight-h: auto;
    padding-inline: clamp(12px, 4vw, 20px);
  }
  .spotlight-slider-swiper {
    height: auto;
    min-height: 0;
    overflow: visible;
    --swiper-navigation-size: 48px;
  }
  .spotlight-slider-swiper .swiper-slide {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .spotlight-slider-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .spotlight-slider-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .spotlight-slider-nav {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }
  .spotlight-slider-nav::after {
    font-size: 19px;
  }
  .spotlight-slider-prev {
    right: 6px;
  }
  .spotlight-slider-next {
    left: 6px;
  }
  .spotlight-slider-swiper.swiper-horizontal > .spotlight-slider-pagination.swiper-pagination-bullets,
  .spotlight-slider-swiper > .spotlight-slider-pagination {
    bottom: 12px !important;
    max-width: calc(100% - 16px) !important;
    gap: 10px;
  }
  .spotlight-slider-swiper.swiper-horizontal > .spotlight-slider-pagination .swiper-pagination-bullet,
  .spotlight-slider-swiper > .spotlight-slider-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

/* الصفحة الرئيسية — محاذاة آمنة مع safe-area للسلايدرات (موبايل) */
@media (max-width: 768px) {
  body.index-page .brand-showcase-wrap,
  body.index-page .spotlight-slider-wrap,
  body.index-page .promo-swiper-wrap {
    padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  }
  body.index-page .brand-showcase-sec__head,
  body.index-page .spotlight-slider-sec__head {
    padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
  }
}

/* ─── تلاشي أقسام عند التمرير (صفحة رئيسية + أي قسم بـ .p-sec-fade) ─── */
.p-sec-fade {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-sec-fade.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .p-sec-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* بنرات السلايدر: حركة خفيفة عند الهوفر (شاشات بفأرة فقط) */
.promo-slide-img,
.brand-showcase-img,
.spotlight-slider-img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .promo-slide-link:hover .promo-slide-img,
  .brand-showcase-link:hover .brand-showcase-img,
  .spotlight-slider-link:hover .spotlight-slider-img {
    transform: scale(1.035);
  }
}

/* لمعان hover — يعتمد على @keyframes pharma-sheen في shop-bundle.css */
.prod-wa-order-btn::before,
.prod-wa-sticky__btn::before,
.empty-state__btn::before,
.empty-state__back::before,
.p-tips-premium__btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -65%;
  width: 55%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.36) 50%,
    rgba(255, 255, 255, 0.06) 58%,
    transparent 100%
  );
  transform: skewX(-14deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}
.prod-wa-order-btn:hover::before,
.prod-wa-sticky__btn:hover::before,
.empty-state__btn:hover::before,
.empty-state__back:hover::before,
.p-tips-premium__btn--primary:hover::before {
  opacity: 1;
  animation: pharma-sheen 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.prod-wa-order-btn:not(:hover)::before,
.prod-wa-sticky__btn:not(:hover)::before,
.empty-state__btn:not(:hover)::before,
.empty-state__back:not(:hover)::before,
.p-tips-premium__btn--primary:not(:hover)::before {
  animation: none;
  opacity: 0;
  left: -65%;
}

@media (prefers-reduced-motion: reduce) {
  .prod-wa-order-btn::before,
  .prod-wa-sticky__btn::before,
  .empty-state__btn::before,
  .empty-state__back::before,
  .p-tips-premium__btn--primary::before {
    display: none !important;
  }
}

/* ─── شريط عدّ تنازلي لعرض الـ QR (30 دقيقة) ─── */
.offer-countdown-bar {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  padding: 0;
  font-family: 'Tajawal', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  line-height: 1.45;
  color: #fff;
  background: linear-gradient(90deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%);
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.offer-countdown-bar__link {
  display: block;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  outline: none;
}
.offer-countdown-bar__link:hover {
  filter: brightness(1.06);
}
.offer-countdown-bar__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}
.offer-countdown-bar__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.offer-countdown-bar__timer {
  letter-spacing: 0.02em;
}
.offer-countdown-bar__warn {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.offer-countdown-bar--urgent {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #ef4444 100%);
  box-shadow: 0 4px 22px rgba(220, 38, 38, 0.45);
}
.offer-countdown-bar--urgent .offer-countdown-bar__timer {
  color: #fff;
}
.offer-countdown-bar--expired {
  background: linear-gradient(90deg, #334155 0%, #475569 100%);
  box-shadow: 0 2px 12px rgba(51, 65, 85, 0.4);
}
body.pharma-offer-urgent .offer-countdown-bar:not(.offer-countdown-bar--expired) {
  animation: offer-bar-pulse 1.2s ease-in-out infinite;
}
@keyframes offer-bar-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

/* ═══ أداء الهاتف — تقليل will-change على مسارات السلايدر ═══ */
@media (max-width: 767px) {
  .hero-slider__track,
  .home-hot-slider__track {
    will-change: auto;
  }
}

/* شريط علوي — احترام الشق (safe area) دون كسر التخطيط */
@media (max-width: 900px) {
  .p-hdr-shell .p-hdr {
    padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  }
}
