.offers-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.offers-popup-container {
  position: relative;
  background-color: #fff;
  color: #1a202c;
  width: 90%;
  max-width: 500px;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  animation: slideUp 0.5s forwards;
  overflow: hidden;
  text-align: center;
}

.offers-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: #8b002a;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}

.offers-popup-close:hover {
  color: #4b5563;
}

.offers-cta-button {
  font-family: "tajawal", sans-serif;
  padding: 0.75rem 2rem;
  border: 1px solid #8b002a;
  border-radius: 9999px;
  background-color: #fff !important;
  color: #8b002a;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
}

.offers-popup-container .offers-cta-button {
  margin-top: 1rem;
}

.offers-cta-button:hover {
  color: #8b002a !important;
  transform: translateY(-2px);
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0.5rem;
}

.countdown-item span {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.countdown-item small {
  font-size: 0.75rem;
  color: #d1d5db;
  line-height: normal;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

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

#top-bar{
    z-index: 1000;
}

.scrolling-text-wrapper {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
  max-width: 70%;
}

.scrolling-text {
  display: inline-block;
  animation: scroll-rtl 15s linear infinite;
}

/* تدرجات الظل */
.scrolling-text-wrapper::before,
.scrolling-text-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2rem;
  z-index: 1;
}

.scrolling-text-wrapper::before {
  right: 0;
  background: linear-gradient(to left, #aa1945, transparent);
}

.scrolling-text-wrapper::after {
  left: 0;
  background: linear-gradient(to right, #aa1945, transparent);
}

/* حركة النص */
@keyframes scroll-rtl {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

/* الأنماط المدمجة من Tailwind */
.countdown-item-original {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  margin: 0 0.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.w-full {
  width: 100%;
}

.h-auto {
  height: auto;
}

.object-cover {
  object-fit: cover;
}

.rounded-t-2xl {
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.font-extrabold {
  font-weight: 800;
}

.text-gray-900 {
  color: #111827;
}

.mb-2 {
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-gray-600 {
  color: #4b5563;
}

.mb-6 {
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.gap-4 {
  gap: 1rem;
}

.flex-col {
  flex-direction: column;
}

.mt-6 {
  margin-top: 1.5rem;
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.flex-grow {
  flex-grow: 1;
}

.mb-8 {
  margin-bottom: 2rem;
}

.fixed {
  position: fixed;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.h-12 {
  height: 3rem;
}

.bg-teal-700 {
  background-color: #aa1945;
}

.text-white {
  color: #fff;
}

.p-2 {
  padding: 0.5rem;
}

.font-light {
  font-weight: 300;
}

.cursor-pointer {
  cursor: pointer;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.justify-end {
  justify-content: flex-end;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-1 {
  gap: 0.25rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-bold {
  font-weight: 700;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.hidden {
  display: none;
}

.w-1\/2 {
  width: 50%;
}

.p-4 {
  padding: 1rem;
}

.text-teal-700 {
  --tw-text-opacity: 1;
  color: rgb(170 25 69 / var(--tw-text-opacity, 1));
}

.font-bold {
  font-weight: 700;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.block {
  display: block;
}

.offers-popup-container .p-8 {
  border-top: 2px solid #aa1945;
}

@media (min-width: 767px) {
  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:gap-4 {
    gap: 1rem;
  }

  .sm\:p-4 {
    padding: 1rem;
  }

  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .sm\:w-auto {
    width: auto;
  }

  .sm\:hidden {
    display: none;
  }

  .sm\:inline-block {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .scrolling-text-wrapper,
  .countdown-cta-wrapper {
    max-width: 45%;
  }

  .countdown-item span {
    font-size: 1.25rem;
    line-height: 1;
  }

  .countdown-item {
    margin: 0 0.25rem;
  }

  .hide-sm {
    display: none;
  }
}