/* Uraw Mavi Set - Alt Sabit Sipariş & Stok Barı CSS */
#uraw-alt-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #061838 0%, #0d3273 55%, #154cb3 100%);
  color: #ffffff;
  box-shadow: 0 -6px 24px rgba(3, 15, 40, 0.45);
  border-top: 1px solid rgba(96, 165, 250, 0.35);
  box-sizing: border-box;
}

#uraw-alt-bar * {
  box-sizing: border-box;
}

.uab-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 6px 12px 10px 12px;
}

/* En Üst Stok Loading Bar Alanı */
.uab-stock-wrap {
  margin-bottom: 6px;
}

.uab-stock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.uab-stock-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fde047;
}

.uab-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: uabBlink 1.1s infinite;
}

.uab-stock-count-text {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1px 8px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.uab-stock-count-text.uab-flash {
  background: #dc2626;
  transform: scale(1.08);
}

.uab-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.uab-progress-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #facc15 0%, #f97316 60%, #ef4444 100%);
  border-radius: 999px;
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.uab-progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: uabShimmer 1.8s infinite;
}

/* Garanti Başlığı */
.uab-guarantee-banner {
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 7px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Alt Satır: Solda Sayaç + Sağda Sipariş Butonu */
.uab-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.uab-timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(4, 15, 38, 0.65);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 10px;
  padding: 5px 12px;
  min-width: 108px;
  flex-shrink: 0;
}

.uab-timer-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1px;
}

.uab-timer-value {
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* Sarı Nabız Efektli Sipariş Butonu */
.uab-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(180deg, #fde047 0%, #facc15 50%, #eab308 100%);
  color: #09152b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.3px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid #fef08a;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.45);
  cursor: pointer;
  animation: uabPulseBtn 1.4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

.uab-cta-btn:hover {
  filter: brightness(1.05);
}

.uab-cta-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Animasyonlar */
@keyframes uabPulseBtn {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.4);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 6px 22px rgba(250, 204, 21, 0.78);
  }
}

@keyframes uabBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@keyframes uabShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Sayfa en altta içerik alt barın arkasında kalmasın diye gövdeye alt boşluk */
body.uab-has-bar {
  padding-bottom: 112px;
}
