/* === Floating Sales Bar Styling === */

#salesFloatBar {
  position: fixed;
  top: -100px; /* Start hidden */
  left: 0;
  width: 100%;
  background-color: #151d44;
  color: #ffffff;
  padding: 12px 20px;
  font-family: 'Arial', sans-serif;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: top 1.2s ease; /* Smooth entrance */
  /* Optional floating animation (uncomment below if needed)
  animation: floatUpDown 30s ease-in-out infinite;
  */
}

.sales-float-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.float-left,
.float-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.float-left .timer-label,
.float-right .free-text,
.float-right .limit-text {
  font-size: 14px;
  font-weight: bold;
}

.timer {
  font-size: 20px;
  font-weight: bold;
  color: #f3ff00;
}

.cta-message {
  background: #c1121f;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  text-align: center;
  margin: 4px 0;
  text-decoration: none;
  animation: subtleBounce 2s infinite ease-in-out;
  transition: background-color 0.3s ease;
}

.cta-message:hover {
  background-color: #8B0000;
  cursor: pointer;
}

.napquina-float-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  animation: logoPulse 3s infinite;
}

.napquina-float-logo {
  height: 36px;
  object-fit: contain;
}

/* === Animations === */
@keyframes subtleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); }
}

/* Optional: Floating Up & Down */
@keyframes floatUpDown {
  0%   { top: 0; }
  50%  { top: calc(100% - 70px); }
  100% { top: 0; }
}

/* === Mobile Styles === */
@media (max-width: 768px) {
  #salesFloatBar {
    padding: 16px 12px; /* No top: 0 to allow JS animation */
  }
}  

  .sales-float-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .float-left,
  .float-right,
  .napquina-float-logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .float-left {
    align-items: flex-start;
    text-align: left;
    order: 1;
  }

  .float-left .timer-label {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .float-left .timer {
    font-size: 14px;
  }

  .napquina-float-logo-container {
    order: 2;
    justify-content: center;
    padding: 0;
    margin: 0;
  }

  .napquina-float-logo {
    height: 28px;
    width: auto;
  }

  .float-right {
    align-items: flex-end;
    text-align: right;
    order: 3;
  }

  .float-right .free-text,
  .float-right .limit-text {
    font-size: 10px;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }
  
  #salesFloatBar {
  min-height: 100px; /* Force taller bar */
  padding: 16px 20px;
  display: flex;
  align-items: center;
}

/* Ensure equal height for all columns inside */
.sales-float-content {
  align-items: center;
  min-height: 100%;
}

/* Adjust logo size */
.napquina-float-logo {
  height: 40px;
}