/** Shopify CDN: Minification failed

Line 211:0 Unexpected "}"
Line 223:0 Expected "}" to go with "{"

**/
/* =========================================================
   ZK Sales Notifications — FINAL CSS
========================================================= */

.zk-sn{
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  font-family: inherit;

  /* عرض ثابت من الإعدادات + لا يتعدى الشاشة */
  width: min(var(--zk-sn-maxw, 280px), calc(100vw - 24px));
  max-width: none;
}

/* Positions */
.zk-sn[data-pos="bottom_left"] { left: 16px; bottom: 24px; }
.zk-sn[data-pos="bottom_right"]{ right: 16px; bottom: 24px; }
.zk-sn[data-pos="top_left"]    { left: 16px; top: 16px; }
.zk-sn[data-pos="top_right"]   { right: 16px; top: 16px; }

/* Card (Flex = لا يشرخ) */
.zk-sn__card{
  pointer-events: auto;
  width: 100%;
  box-sizing: border-box;

  display: flex;
  gap: 12px;
  align-items: flex-start;

  padding: 12px 14px;
  border-radius: 16px;

  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;

  box-shadow: 0 10px 26px rgba(0,0,0,.16);
  overflow: hidden;

  /* Layout ثابت (مايتقلبش مع RTL) */
  direction: ltr;
  text-align: left;
}

.zk-sn__card.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Media (image) */
.zk-sn__media{
  flex: 0 0 62px;
}
.zk-sn__img,
.zk-sn__img--ph{
  width: 62px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255,255,255,.25);
  display: block;
}

/* Placeholder */
.zk-sn__img--ph{
  position: relative;
}
.zk-sn__img--ph::after{
  content: "🛍️";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  opacity: .85;
}

/* Content */
.zk-sn__content{
  flex: 1 1 auto;
  min-width: 0; /* ✅ السطر السحري ضد “الشرخ” */
}

/* Close */
.zk-sn__close{
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  opacity: .9;
  background: rgba(0,0,0,.18);
  color: inherit;
  transition: background .2s ease, transform .15s ease;
}
.zk-sn__close:hover{
  background: rgba(0,0,0,.28);
  transform: scale(1.05);
}

/* Text */
.zk-sn__name{
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zk-sn__line{
  font-size: 12px;
  font-weight: 700;
  opacity: .92;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zk-sn__product{
  font-size: 12px;
  line-height: 1.35;
  opacity: .95;
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  overflow-wrap: anywhere;
  word-break: break-word;
}

.zk-sn__meta{
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  opacity: .85;
}

/* Link style */
.zk-sn__link{
  color: inherit;
  text-decoration: none;
}

/* Arabic: Layout ثابت لكن النص يمين */
html[lang="ar"] .zk-sn__name,
html[lang="ar"] .zk-sn__line,
html[lang="ar"] .zk-sn__product,
html[lang="ar"] .zk-sn__meta,
html[dir="rtl"] .zk-sn__name,
html[dir="rtl"] .zk-sn__line,
html[dir="rtl"] .zk-sn__product,
html[dir="rtl"] .zk-sn__meta{
  text-align: right;
}

/* Pointer events */
.zk-sn{ pointer-events: none; }
.zk-sn__card, .zk-sn__card *{ pointer-events: auto; }

/* Mobile */
@media (max-width: 749px){
  .zk-sn{
    width: min(var(--zk-sn-maxw, 300px), calc(100vw - 16px));
  }

  /* Mobile فوق: هنسيب الـ JS يختار top_* لكن ندي top مناسب تحت الهيدر */
  .zk-sn[data-pos="top_left"],
  .zk-sn[data-pos="top_right"]{
    top: 72px;
  }

  .zk-sn__card{
    padding: 10px 12px;
    border-radius: 14px;
    gap: 10px;
  }
  background: #4F2011 !important;
}

  .zk-sn__media{ flex-basis: 58px; }
  .zk-sn__img,
  .zk-sn__img--ph{
    width: 58px;
    height: 74px;
    border-radius: 13px;
  }

  .zk-sn__name{ font-size: 12.5px; }
  .zk-sn__line{ font-size: 11.5px; margin-bottom: 6px; }
  .zk-sn__product{ font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce){
  .zk-sn__card{ transition: none; }
}

/* FORCE white text for sales notification */
.zk-sn__card,
.zk-sn__card * {
  color: #ffffff !important;

 
