/* Add custom CSS styles below */ 
/* Free assembly info box */
.eh-free-assembly{
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#2a2d2c;          /* dark surface */
  padding:12px 16px;
  border-radius:6px;
  margin:14px 0;
  font-size:14px;
  color:#d7dad8;               /* soft light text */
}

/* Icon */
.eh-free-assembly img{
  width:32px;
  height:auto;
  flex-shrink:0;
}

/* Title */
.eh-free-assembly strong{
  display:block;
  color:#C98A2B;               /* updated gold accent */
  font-weight:700;
  margin-bottom:2px;
}

/* Shared info box style (luxury dark theme) */
.eh-info-box{
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#2a2d2c;          /* dark surface */
  padding:12px 16px;
  border-radius:6px;
  margin:14px 0;
  font-size:14px;
  color:#d7dad8;               /* soft light text */
}

.eh-info-box strong{
  display:block;
  color:#C98A2B;               /* updated gold accent */
  font-weight:700;
  margin-bottom:2px;
}

/* 5 days returns simple icon */
.eh-info-icon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  border-radius:8px;
  background:#1d1f1e;          /* primary charcoal */
  color:#C98A2B;               /* updated gold accent */
  font-weight:800;
  line-height:1;
}



/* Availability status (متوفر / Available) */
.eh-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;              /* same as gap-1.5 (6px) */
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.35rem;
}

/* Label color (green/red) */
.eh-availability--on  .eh-availability__label { color: #22c55e; } /* green-500 */
.eh-availability--off .eh-availability__label { color: #ef4444; } /* red-500 */

/* The dot */
.eh-availability__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  position: relative;
}

/* Colors for dot */
.eh-availability--on  .eh-availability__dot { background: #22c55e; }
.eh-availability--off .eh-availability__dot { background: #ef4444; }

/* Pulse animation */
.eh-availability__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  opacity: 0.55;
  animation: eh-pulse 1.4s infinite ease-out;
}

@keyframes eh-pulse {
  0%   { transform: scale(1);   opacity: 0.75; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}


.s-offer-slide-one-fourth {
    max-width: 175px;
}

.s-slider-nav-arrow {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    --tw-bg-opacity: 0 !important;
}





/* 1) Cart/Checkout summary CTA: "اتمام الطلب" */
.cart-total-wrapper .cart-submit-wrap #cart-submit .s-button-primary,
 /* 2) Product page Add to Cart (normal + sticky bar) */
salla-add-product-button .s-button-primary{
  position:relative; /* anchor shine layer */
  overflow:hidden;   /* keep shine inside button */
}

.cart-total-wrapper .cart-submit-wrap #cart-submit .s-button-primary::after,
salla-add-product-button .s-button-primary::after{
  content:""; /* create shine layer */
  position:absolute; inset:0; /* cover button */
  background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.35),transparent 70%); /* shine */
  transform:translateX(-100%); /* start left */
  animation:btn-shine 3s ease-in-out infinite; /* auto glance */
}

@keyframes btn-shine{
  0%,80%{transform:translateX(-100%)} /* stay hidden most of the time */
  100%{transform:translateX(100%)}    /* sweep across */
}





/* ===== EH Coupon Popup + Left-Middle Badge (light) ===== */

.eh-coupon-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999999;
  padding:14px;
}

.eh-coupon-card{
  width:min(460px,100%);
  background:#fff;
  border-radius:18px;
  box-shadow:0 16px 44px rgba(0,0,0,.22);
  padding:14px;
  direction:rtl;
  color:#2a2f33;
  border:1px solid rgba(42,47,51,.08);
}

.eh-coupon-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.eh-coupon-close{border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer;opacity:.65;}

.eh-coupon-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(42,47,51,.06);
  margin-bottom:10px;
}

.eh-coupon-title{font-weight:900;font-size:16px;margin:0 0 6px;}
.eh-coupon-desc{font-size:13px;opacity:.85;margin:0 0 12px;}

.eh-coupon-row{display:flex;align-items:center;gap:10px;}
.eh-coupon-code{
  flex:1;
  border:1px dashed rgba(42,47,51,.35);
  border-radius:14px;
  padding:12px;
  font-weight:900;
  letter-spacing:1px;
  text-align:center;
  background:rgba(42,47,51,.03);
}
.eh-coupon-copy{
  border:0;
  border-radius:14px;
  padding:12px 12px;
  background:#2a2f33;
  color:#fff;
  font-weight:900;
  cursor:pointer;
  min-width:92px;
}

.eh-coupon-note{margin-top:10px;font-size:12px;opacity:.75;}

/* Badge: left-middle vertical pill */
.eh-coupon-badge{
  position:fixed;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  z-index:999998;
  display:none;
  direction:rtl;
}
.eh-coupon-badge button{
  border:0;
  cursor:pointer;
  background:#2a2f33;
  color:#fff;
  border-radius:14px;
  padding:10px 10px;
  font-weight:900;
  font-size:12px;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  display:flex;
  align-items:center;
  gap:8px;
  writing-mode:vertical-rl;
  text-orientation:mixed;
}