/* Add custom CSS styles below */
/* Add custom CSS styles below */
/* ===============================
   Ramadan Theme (Persistent Decor + Popup + Offers Drop)
   Works with #app as body container
   =============================== */

/* ---------- 0) Safety / Base ---------- */
:root{
  --ramadan-gold: rgba(216,180,106,.95);
  --ramadan-green: rgba(11,107,79,.12);
  --ramadan-overlay: rgba(0,0,0,.55);
}

/* Add class from JS: html.ramadan-on */
html.ramadan-on #app{
  position: relative;
  overflow-x: hidden;
}

/* ---------- 1) Background Ramadan vibe (subtle) ---------- */
html.ramadan-on #app::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* very low */
  opacity: .9;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,215,140,.18) 0 2px, transparent 3px) 0 0/180px 180px,
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.12) 0 1.5px, transparent 3px) 0 0/220px 220px,
    radial-gradient(circle at 40% 80%, rgba(255,215,140,.10) 0 2px, transparent 4px) 0 0/260px 260px,
    linear-gradient(180deg, rgba(11,107,79,.06), transparent 45%, rgba(216,180,106,.05));
}

/* A soft glow strip near top (nice on dark) */
html.ramadan-on #app::after{
  content:"";
  position: fixed;
  left: 0; right: 0; top: -40px;
  height: 220px;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at top, rgba(216,180,106,.22), transparent 65%);
  opacity: .9;
}

/* ---------- 2) Light “Ramadan frames” on key blocks (generic, safe selectors) ---------- */
/* We avoid breaking layout: just gentle outline/shadow for big blocks */
html.ramadan-on #app main .shadow-default,
html.ramadan-on #app main .rounded-lg,
html.ramadan-on #app main .rounded-xl{
  box-shadow: 0 0 0 1px rgba(216,180,106,.16), 0 8px 26px rgba(0,0,0,.06);
}

/* Some headings underline vibe */
html.ramadan-on #app main h2,
html.ramadan-on #app main h3{
  position: relative;
}
html.ramadan-on #app main h2::after,
html.ramadan-on #app main h3::after{
  content:"";
  display:block;
  width: 70px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(216,180,106,.9), rgba(11,107,79,.55));
  opacity: .55;
}

/* ---------- 3) Persistent Hanging Decor (always visible) ---------- */
#ramadan-hanging-persist{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99990; /* above page, below any popup */
  overflow: hidden;
}

/* Only top curtain area */
#ramadan-hanging-persist .curtain{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 22vh;
}

#ramadan-hanging-persist .strand{
  position: absolute;
  top: -22vh;
  width: 2px;
  height: 22vh;
  opacity: .95;
  transform-origin: top center;
  animation: ram_sway 4.2s ease-in-out infinite;
}

/* Wire */
#ramadan-hanging-persist .strand::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  width:2px;
  height:100%;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(255,236,200,0.0),
    rgba(255,236,200,0.55),
    rgba(255,236,200,0.18)
  );
}

/* Bulbs */
#ramadan-hanging-persist .bulbs{
  position:absolute;
  top: 10px;
  left:50%;
  transform: translateX(-50%);
  width: 10px;
  height: 12vh;
  background:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 2px)
    50% 0 / 8px 26px repeat-y;
  opacity: .55;
  filter: drop-shadow(0 0 8px rgba(255,215,140,.40));
  animation: ram_twinkle 2.8s ease-in-out infinite alternate;
}

/* Charm */
#ramadan-hanging-persist .charm{
  position:absolute;
  left:50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-size: 26px;
  line-height: 1;
  opacity: .95;
  filter:
    drop-shadow(0 0 10px rgba(255,215,140,.50))
    drop-shadow(0 0 18px rgba(255,215,140,.18));
}

@keyframes ram_sway{
  0%,100% { transform: translateY(22vh) rotate(-1.2deg); }
  50%     { transform: translateY(22vh) rotate(1.2deg); }
}
@keyframes ram_twinkle{
  from { opacity: .30; }
  to   { opacity: .68; }
}

/* ---------- 4) Offers Page: One-time Falling Lanterns/Stars ---------- */
#ramadan-offers-drop{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99991; /* above persistent decor */
  overflow: hidden;
}

#ramadan-offers-drop .fall{
  position: absolute;
  top: -60px;
  left: 10vw;
  font-size: 26px;
  opacity: .95;
  filter: drop-shadow(0 0 10px rgba(255,215,140,.45));
  transform: translateY(0);
  animation: ram_fall var(--dur, 1300ms) cubic-bezier(.15,.85,.2,1) forwards;
}

@keyframes ram_fall{
  to{
    transform: translateY(110vh) rotate(var(--rot, 12deg));
    opacity: 0;
  }
}

/* ---------- 5) Popup (3 buttons) ---------- */
#ramadan-modal-backdrop{
  position: fixed;
  inset: 0;
  z-index: 100000; /* above all decor */
  background: var(--ramadan-overlay);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  padding: 16px;
}

#ramadan-modal{
  position: relative;
  z-index: 100001;
  width: min(560px, 92vw);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,244,220,.98), rgba(255,236,210,.96));
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(216,180,106,.35);
  overflow: hidden;
  direction: rtl;
  font-family: inherit;
  transform: translateY(-18vh);
  opacity: 0;
  animation: ram_modal_drop 520ms cubic-bezier(.2,.9,.2,1) forwards;
}

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

#ramadan-modal .top{
  padding: 18px 18px 10px;
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:10px;
}

#ramadan-modal .title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color:#1a1a1a;
}

#ramadan-modal .sub{
  margin:6px 0 0;
  font-size:14px;
  opacity:.88;
  color:#1a1a1a;
}

#ramadan-modal .close{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:22px;
  line-height:1;
  padding:6px 8px;
  opacity:.8;
}

#ramadan-modal .body{
  padding: 0 18px 18px;
  display:grid;
  gap:10px;
}

#ramadan-modal .badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,107,79,.10);
  border: 1px solid rgba(11,107,79,.20);
  color:#0b6b4f;
  font-weight:900;
  font-size:13px;
}

#ramadan-modal .actions{
  display:grid;
  gap:10px;
  margin-top: 6px;
}

#ramadan-modal .btn{
  border:0;
  cursor:pointer;
  border-radius:12px;
  padding: 12px 14px;
  font-weight:900;
  font-size:14px;
  width: min(420px, 100%);
  margin: 0 auto;
}

#ramadan-modal .btn.primary{
  background: var(--ramadan-gold);
  color:#111;
}

#ramadan-modal .btn.secondary{
  background: rgba(11,107,79,.14);
  border: 1px solid rgba(11,107,79,.22);
  color:#0b6b4f;
}

#ramadan-modal .btn.ghost{
  background: rgba(0,0,0,.06);
  color:#111;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  #ramadan-hanging-persist,
  #ramadan-offers-drop{ display:none !important; }
  #ramadan-modal{ animation:none !important; transform:none; opacity:1; }
}
/* ---------- 5.b) Coupon Popup Add-ons (reuses same modal) ---------- */
#ramadan-modal .coupon-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(11,107,79,.35);
  background: rgba(11,107,79,.06);
}

#ramadan-modal .coupon-code{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(216,180,106,.25);
  color:#111;
  user-select: all;
}

#ramadan-modal .btn.copy-btn{
  background: rgba(0,0,0,.06);
  color:#111;
  border: 1px solid rgba(0,0,0,.08);
  width: auto;
  margin: 0;
  padding: 10px 12px;
}

#ramadan-modal .btn.copy-btn:disabled{
  opacity: .7;
  cursor: not-allowed;
}

#ramadan-modal .coupon-notes{
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(216,180,106,.20);
  color:#1a1a1a;
  font-size: 14px;
  line-height: 1.6;
}

#ramadan-modal .coupon-notes .line{
  margin: 2px 0;
}
/* ---------- 5.b) Coupon Popup Add-ons (reuses same modal) ---------- */
#ramadan-modal .coupon-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(11,107,79,.35);
  background: rgba(11,107,79,.06);
}

#ramadan-modal .coupon-code{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(216,180,106,.25);
  color:#111;
  user-select: all;
}

#ramadan-modal .btn.copy-btn{
  background: rgba(0,0,0,.06);
  color:#111;
  border: 1px solid rgba(0,0,0,.08);
  width: auto;
  margin: 0;
  padding: 10px 12px;
}

#ramadan-modal .btn.copy-btn:disabled{
  opacity: .7;
  cursor: not-allowed;
}

#ramadan-modal .coupon-notes{
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(216,180,106,.20);
  color:#1a1a1a;
  font-size: 14px;
  line-height: 1.6;
}

#ramadan-modal .coupon-notes .line{
  margin: 2px 0;
}


/* =========================================================
   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 بالظل */
}
/* ===== Glass style for Salla gifting widget (list tile) ===== */

/* الوعاء كله */
salla-list-tile.s-gifting-widget .s-list-tile-item{
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  padding: 16px 14px !important;

  /* Glass effect */
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);

  /* Nice depth */
  box-shadow: 0 10px 30px rgba(0,0,0,.22) !important;

  /* حركة بسيطة */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* عنوان + وصف */
salla-list-tile.s-gifting-widget .s-list-tile-item-title h3,
salla-list-tile.s-gifting-widget .s-list-tile-item-subtitle{
  color: rgba(255,255,255,0.92) !important;
}

/* ألوان النص الثانوية */
salla-list-tile.s-gifting-widget .s-list-tile-item-subtitle{
  opacity: 0.92;
}

/* Hover رايق */
salla-list-tile.s-gifting-widget .s-list-tile-item:hover{
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.28) !important;
}

/* أيقونة الشمال لو عايزها شكلها أنضف */
salla-list-tile.s-gifting-widget .s-list-tile-item-icon{
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 14px !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

/* زر "أرسلها كهدية" لو عايز يخش في نفس الستايل */
salla-list-tile.s-gifting-widget .s-gifting-widget-action .s-button-element{
  border-radius: 14px !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
/* Add custom CSS styles below */ 
/* الأب (الهيدر/البانر) */
.banner, .header, .hero {
  position: relative;
}

/* الزر تحت في النص */
.floating-wrapper{
  position: absolute;
  top: auto !important;
  bottom: 20px !important;   /* غيري الرقم حسب المسافة اللي تحبيها */
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: max-content;         /* عشان ياخد عرض الزر */
  text-align: center;
  z-index: 999;
}/* =========================================================
   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 بالظل */
}
/* ===== Glass style for Salla gifting widget (list tile) ===== */

/* الوعاء كله */
salla-list-tile.s-gifting-widget .s-list-tile-item{
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  padding: 16px 14px !important;

  /* Glass effect */
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);

  /* Nice depth */
  box-shadow: 0 10px 30px rgba(0,0,0,.22) !important;

  /* حركة بسيطة */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

/* عنوان + وصف */
salla-list-tile.s-gifting-widget .s-list-tile-item-title h3,
salla-list-tile.s-gifting-widget .s-list-tile-item-subtitle{
  color: rgba(255,255,255,0.92) !important;
}

/* ألوان النص الثانوية */
salla-list-tile.s-gifting-widget .s-list-tile-item-subtitle{
  opacity: 0.92;
}

/* Hover رايق */
salla-list-tile.s-gifting-widget .s-list-tile-item:hover{
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.28) !important;
}

/* أيقونة الشمال لو عايزها شكلها أنضف */
salla-list-tile.s-gifting-widget .s-list-tile-item-icon{
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 14px !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

/* زر "أرسلها كهدية" لو عايز يخش في نفس الستايل */
salla-list-tile.s-gifting-widget .s-gifting-widget-action .s-button-element{
  border-radius: 14px !important;
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
/* Add custom CSS styles below */ 
/* الأب (الهيدر/البانر) */
.banner, .header, .hero {
  position: relative;
}

/* الزر تحت في النص */
.floating-wrapper{
  position: absolute;
  top: auto !important;
  bottom: 20px !important;   /* غيري الرقم حسب المسافة اللي تحبيها */
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  width: max-content;         /* عشان ياخد عرض الزر */
  text-align: center;
  z-index: 999;
}