/* Black Friday Banner Styles */
#bf-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  padding: 15px 20px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideDown 0.4s ease-out;
  border-bottom: 3px solid #ff6b35;
}

#bf-banner.hidden {
  display: none;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bf-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  position: relative;
}

.bf-banner-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0;
  padding: 0 50px;
}

.bf-banner-text a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.bf-banner-text a:hover {
  color: #ff6b35;
  transform: translateX(5px);
}

.bf-highlight {
  color: #ff6b35;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
}

.bf-arrow {
  display: inline-block;
  font-size: 22px;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

#bf-banner-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

#bf-banner-close:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: #ff6b35;
  transform: translateY(-50%) rotate(90deg);
}

/* Ensure page content is not hidden behind banner */
body.bf-banner-active {
  padding-top: 60px;
}

/* Responsive styles */
@media (max-width: 991px) {
  #bf-banner {
    padding: 10px 10px;
  }

  .bf-banner-content {
    flex-wrap: wrap;
  }

  .bf-banner-text {
    font-size: 15px;
    padding: 0 45px 0 5px;
    line-height: 1.4;
  }

  #bf-banner-close {
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  body.bf-banner-active {
    padding-top: 50px;
  }

  .bf-arrow {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  #bf-banner {
    padding: 10px 8px;
  }

  .bf-banner-text {
    font-size: 13px;
    padding: 0 42px 0 5px;
    line-height: 1.3;
  }

  .bf-banner-text a {
    gap: 4px;
  }

  #bf-banner-close {
    right: 5px;
    width: 28px;
    height: 28px;
    font-size: 16px;
    border-width: 1.5px;
  }

  body.bf-banner-active {
    padding-top: 45px;
  }

  .bf-arrow {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  #bf-banner {
    padding: 8px 5px;
  }

  .bf-banner-text {
    font-size: 12px;
    padding: 0 38px 0 3px;
    letter-spacing: 0.2px;
  }

  #bf-banner-close {
    right: 3px;
    width: 26px;
    height: 26px;
    font-size: 15px;
  }

  body.bf-banner-active {
    padding-top: 40px;
  }

  .bf-arrow {
    font-size: 14px;
  }

  .bf-highlight {
    text-shadow: none;
  }
}

@media (max-width: 360px) {
  .bf-banner-text {
    font-size: 11px;
    padding: 0 35px 0 2px;
  }

  #bf-banner-close {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }

  body.bf-banner-active {
    padding-top: 38px;
  }
}
