/* Add custom CSS styles below */ 
/* =========================================================
   1) PLUSPASSTV Blog Articles only (اللينكات داخل نص المقال فقط)
   - body#app فيه class="blog-single"
   - المحتوى داخل .main-content.blog-category > article
========================================================= */
#app.blog-single .main-content.blog-category > article a[href],
#app.blog-single .main-content.blog-category > article a[href] *{
  color: #ff0000 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* إزالة أي underline افتراضي + شكل لطيف بدل الخط */
#app.blog-single .main-content.blog-category > article a[href]{
  border-bottom: 1px solid rgba(255, 0, 0, 0.35) !important;
  padding-bottom: 1px;
}

/* Hover */
#app.blog-single .main-content.blog-category > article a[href]:hover{
  border-bottom-color: rgba(255, 0, 0, 1) !important;
  opacity: 0.85;
}


/* =========================================================
   2) PLUSPASSTV Product Pages only (اللينكات داخل وصف المنتج فقط)
   - body#app فيه class="product-single"
   - الوصف داخل .product__description و #more-content
========================================================= */
#app.product-single .product__description #more-content a[href],
#app.product-single .product__description #more-content a[href] *{
  color: #ff0000 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

#app.product-single .product__description #more-content a[href]{
  border-bottom: 1px solid rgba(255, 0, 0, 0.35) !important;
  padding-bottom: 1px;
}

#app.product-single .product__description #more-content a[href]:hover{
  border-bottom-color: rgba(255, 0, 0, 1) !important;
  opacity: 0.85;
}
/* remove any underline / bottom line for content links */
#app.blog-single .main-content.blog-category > article a[href],
#app.product-single .product__description #more-content a[href]{
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important; /* احتياط لو الثيم عامل underline بالظل */
}
:root{
  --offer-gold: rgba(255, 255, 255, 0.96);
  --offer-green: rgba(255, 0, 0, 0.10);
  --offer-overlay: rgba(18, 0, 0, 0.72);
  --offer-rose: rgba(255, 0, 0, 0.14);
}

#offer-popup-backdrop{
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--offer-overlay);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 16px;
}

#offer-popup-modal{
  position: relative;
  z-index: 100001;
  width: min(560px, 92vw);
  border-radius: 22px;
  overflow: hidden;
  direction: rtl;
  font-family: inherit;
  color: #ffffff;
  border: 1px solid rgba(255, 0, 0, 0.32);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.10), transparent 30%),
    radial-gradient(circle at bottom left, var(--offer-rose), transparent 32%),
    linear-gradient(135deg, rgba(28,0,0,.98), rgba(74,0,0,.97));
  transform: translateY(-18px) scale(.98);
  opacity: 0;
  animation: offerPopupShow 420ms cubic-bezier(.2,.9,.2,1) forwards;
}

#offer-popup-modal::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 110px;
  background: radial-gradient(ellipse at top, rgba(255,0,0,.22), transparent 70%);
  pointer-events: none;
}

#offer-popup-modal::after{
  content: "✨ 🎉 ✨";
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 14px;
  letter-spacing: 6px;
  opacity: .35;
  pointer-events: none;
}

@keyframes offerPopupShow{
  to{
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

#offer-popup-modal .offer-popup-header{
  padding: 20px 20px 10px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

#offer-popup-modal .offer-popup-title{
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

#offer-popup-modal .offer-popup-subtitle{
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.84);
}

#offer-popup-modal .offer-popup-close{
  border: 0;
  background: rgba(255,255,255,.10);
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 12px;
  transition: transform .16s ease, background .16s ease;
}

#offer-popup-modal .offer-popup-close:hover{
  transform: scale(1.06);
  background: rgba(255,255,255,.16);
}

#offer-popup-modal .offer-popup-body{
  padding: 0 20px 20px;
  display: grid;
  gap: 12px;
}

#offer-popup-modal .offer-popup-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,0,0,.14);
  border: 1px solid rgba(255,255,255,.16);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(255,0,0,.14);
}

#offer-popup-modal .offer-popup-coupon-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.24);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

#offer-popup-modal .offer-popup-coupon-code{
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 1px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,0,0,.20);
  color: #b30000;
  user-select: all;
  box-shadow: 0 8px 18px rgba(255,0,0,.16);
}

#offer-popup-modal .offer-popup-notes{
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
}

#offer-popup-modal .offer-popup-note-line{
  margin: 2px 0;
}

#offer-popup-modal .offer-popup-actions{
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

#offer-popup-modal .offer-popup-btn{
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 13px 16px;
  font-weight: 900;
  font-size: 14px;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

#offer-popup-modal .offer-popup-btn:hover{
  transform: translateY(-1px);
}

#offer-popup-modal .offer-popup-btn-primary{
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.96), rgba(186, 0, 0, 0.95));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(255,0,0,.22);
}

#offer-popup-modal .offer-popup-btn-copy{
  width: auto;
  margin: 0;
  background: rgba(255,255,255,.10);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.14);
  padding: 11px 14px;
}

#offer-popup-modal .offer-popup-btn-copy:disabled{
  opacity: .72;
  cursor: not-allowed;
}

@media (max-width: 640px){
  #offer-popup-modal{
    width: min(94vw, 520px);
    border-radius: 18px;
  }

  #offer-popup-modal .offer-popup-title{
    font-size: 21px;
  }

  #offer-popup-modal .offer-popup-coupon-card{
    flex-direction: column;
    align-items: stretch;
  }

  #offer-popup-modal .offer-popup-coupon-code,
  #offer-popup-modal .offer-popup-btn-copy{
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce){
  #offer-popup-modal{
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}