/* Jahmi Code */ 
html:not(.dark) .app-body .type-count_down .count-down_wrapper .s-count-down-list .s-count-down-item {
  background-color: var(--color-primary);
  color: white;
}

html:not(.dark) .app-body .type-count_down .count-down_wrapper .s-count-down-list .s-count-down-item .s-count-down-item-label{
  opacity: 1;
  color: white;
}

/* 26-11-2024 */
.s-modal-body .s-modal-header-inner .s-modal-header-content .s-modal-title {
  color: var(--custom-color1);
  border: 2px solid var(--custom-color1);
  margin: auto;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: -1px 4px 6px 2px var(--custom-color1);
}
.s-modal-body
  .s-modal-header
  .s-modal-header-inner
  .s-modal-header-content
  .s-modal-sub-title {
  color: var(--custom-color2);
  font-weight: bold;
}
.s-offer-modal-footer .s-offer-modal-expiry {
  color: var(--custom-color2);
}
.salla-modal .s-modal-wrapper .s-modal-body{
  border: 3px solid var(--custom-color1);
  border-radius: 20px;
}
.s-modal-overlay{
  backdrop-filter: blur(3px);
}
/* 26-11-2024 */
/* Jahmi Code */





/* ================================
   OVERLAY
================================ */

#checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 10000;
}

#checkout-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* ================================
   CONTAINER
================================ */

#checkout-container {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);

  transform: scale(0.6);
  opacity: 0;
  width: 260px;
  transition:
    transform 0.45s cubic-bezier(.25,.8,.25,1),
    opacity 0.45s ease,
    width 0.45s cubic-bezier(.25,.8,.25,1);
}

#checkout-container.open {
  transform: scale(1);
  opacity: 1;
  width: min(92%, 480px);
}

/* ================================
   CLOSE BUTTON
================================ */

#checkout-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s ease;
}

/* ================================
   CONTENT FADE ANIMATIONS
================================ */

#offer-progress,
.checkout-buttons {
  opacity: 0;
  transform: translateY(15px);
  transition: 0.45s ease;
}

#checkout-container.open #offer-progress {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

#checkout-container.open .checkout-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.20s;
}

#checkout-container.open #checkout-close-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.30s;
}

/* ================================
   TITLE
================================ */

.offer-title {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  margin-bottom: 25px;
}

/* ================================
   MILESTONES WRAPPER (Horizontal Layout)
================================ */

.milestones-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  position: relative;
}

/* ================================
   MILESTONE LINE
================================ */

.milestone-line {
  flex: 1;
  height: 6px;
  background: #e4e4e4;
  margin: 0 -6px;
  border-radius: 6px;
  overflow: hidden;
}

.milestone-progress {
  height: inherit;
  background: var(--custom-color1);
  border-radius: inherit;
  transition: width 0.45s ease;
}

/* ================================
   MILESTONE STEPS
================================ */

.milestone-step {
  text-align: center;
}

.milestone-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dcdcdc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  transition: 0.35s ease;
  box-shadow: inset 0 0 0 rgba(0,0,0,0.1);
}

.milestone-circle.active {
  background: var(--custom-color1);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  transform: scale(1.15);
}

#checkout-container.open .milestone-circle.active {
  transform: scale(1);
  transition-delay: 0.25s;
}

.milestone-step small {
  display: block;
  margin-top: 6px;
  color: #888;
  transition: 0.3s;
}

.milestone-step small.active {
  color: var(--custom-color1);
  font-weight: 700;
}

/* ================================
   CURRENT COUNT
================================ */

.current-count {
  margin-top: 18px;
  color: #555;
  font-size: 15px;
}

.current-count strong {
  color: var(--custom-color1);
  font-size: 18px;
}

/* ================================
   WIN BOX CELEBRATION
================================ */

.win-box {
  margin-top: 25px;
  text-align: center;
  animation: popWin 0.6s ease;
}

.money-icon {
  font-size: 48px;
}

@keyframes popWin {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* ================================
   BUTTONS
================================ */

.checkout-buttons {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

#btn-continue-shopping {
  flex: 1;
  padding: 12px 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--custom-color2);
  background: #fff;
  color: var(--custom-color2);
  cursor: pointer;
  transition: 0.25s;
}

#btn-continue-shopping:hover {
  background: rgba(0, 0, 0, 0.04);
}

#btn-go-checkout {
  flex: 1;
  padding: 12px 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  background: var(--custom-color2);
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

#btn-go-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* ================================
   MONEY ICON CELEBRATION
================================ */

.money-celebrate {
  animation: popMoney .6s ease;
}

@keyframes popMoney {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}