/* Add custom CSS styles below */ 
/* بداية كود تحويل قسم العد التنازلي إلى شريط رفيع ومتناسق على جميع الشاشات */

.s-block--offer-countdown {
  padding: 0 !important;
  margin: 10px 0 !important;
  background: var(--bg-color) !important;
}

.s-block--offer-countdown .offer-countdown-container {
  padding: 8px 14px !important;
  max-width: 100% !important;
}

.s-block--offer-countdown .offer-countdown-content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  text-align: center !important;
  min-height: 52px !important;
}

.s-block--offer-countdown .offer-countdown-title,
.s-block--offer-countdown .offer-countdown-subtitle,
.s-block--offer-countdown .offer-countdown-description {
  margin: 0 !important;
  color: var(--content-color) !important;
  line-height: 1.3 !important;
}

.s-block--offer-countdown .offer-countdown-title {
  font-size: 15px !important;
  font-weight: 700 !important;
}

.s-block--offer-countdown .offer-countdown-subtitle {
  font-size: 13px !important;
  font-weight: 600 !important;
}

.s-block--offer-countdown .offer-countdown-description {
  font-size: 12px !important;
  max-width: 360px !important;
}

.s-block--offer-countdown .offer-countdown-timer {
  margin: 0 !important;
}

.s-block--offer-countdown .s-count-down-list {
  display: flex !important;
  gap: 5px !important;
  margin: 0 !important;
}

.s-block--offer-countdown .s-count-down-item {
  min-width: 42px !important;
  padding: 4px 6px !important;
  border-radius: 8px !important;
}

.s-block--offer-countdown .s-count-down-item-value {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.s-block--offer-countdown .s-count-down-item-label {
  font-size: 9px !important;
  line-height: 1.2 !important;
}

.s-block--offer-countdown .offer-countdown-cta {
  margin: 0 !important;
}

.s-block--offer-countdown .offer-countdown-button {
  height: 32px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .s-block--offer-countdown .offer-countdown-container {
    padding: 7px 8px !important;
  }

  .s-block--offer-countdown .offer-countdown-content {
    gap: 7px !important;
    min-height: auto !important;
  }

  .s-block--offer-countdown .offer-countdown-title {
    font-size: 13px !important;
  }

  .s-block--offer-countdown .offer-countdown-subtitle {
    font-size: 11px !important;
  }

  .s-block--offer-countdown .offer-countdown-description {
    font-size: 10px !important;
    max-width: 100% !important;
  }

  .s-block--offer-countdown .s-count-down-item {
    min-width: 34px !important;
    padding: 3px 4px !important;
  }

  .s-block--offer-countdown .s-count-down-item-value {
    font-size: 12px !important;
  }

  .s-block--offer-countdown .s-count-down-item-label {
    font-size: 8px !important;
  }

  .s-block--offer-countdown .offer-countdown-button {
    height: 28px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
  }
}
/* بداية كود تصغير عناصر العداد */

.s-count-down-list{
    gap:4px !important;
}

.s-count-down-item{
    min-width:30px !important;
    width:30px !important;
    padding:2px !important;
    border-radius:6px !important;
}

.s-count-down-item-value{
    font-size:11px !important;
    line-height:1 !important;
    font-weight:700 !important;
}

.s-count-down-item-label{
    font-size:7px !important;
    line-height:1 !important;
    margin-top:2px !important;
}

/* الهاتف */
@media (max-width:768px){

    .s-count-down-item{
        min-width:26px !important;
        width:26px !important;
        padding:2px !important;
    }

    .s-count-down-item-value{
        font-size:10px !important;
    }

    .s-count-down-item-label{
        font-size:6px !important;
    }
}

/* نهاية كود تصغير عناصر العداد */
/* بداية كود ترتيب الزر ثم العداد مع التوسيط */

.offer-countdown-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
}

.offer-countdown-actions .offer-countdown-cta{
    order:1 !important;
    margin:0 !important;
}

.offer-countdown-actions .offer-countdown-timer{
    order:2 !important;
    margin:0 !important;
}

@media (max-width:768px){

    .offer-countdown-actions{
        justify-content:center !important;
        gap:8px !important;
    }

    .offer-countdown-actions .offer-countdown-cta,
    .offer-countdown-actions .offer-countdown-timer{
        margin:0 !important;
    }
}

/* نهاية كود ترتيب الزر ثم العداد مع التوسيط */
/* نهاية كود تحويل قسم العد التنازلي إلى شريط رفيع ومتناسق على جميع الشاشات */