/* ========================================
   BLACK FRIDAY POPUP - STANDALONE COMPONENT
   FIXED: Page buttons now clickable
   ======================================== */

/* Popup Container - NO LONGER BLOCKS PAGE */
.bf-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none; /* ✅ Always none - wrapper never blocks */
    overflow: visible;
}

/* Dark Overlay - REMOVED BLOCKING */
.bf-popup-overlay {
    display: none; /* ✅ Hide overlay completely */
}

/* The Popup Card - ONLY THIS RECEIVES CLICKS */
.bf-popup-card {

  position: fixed;
bottom: 25px;
  left: 20px;
  width: 280px;
  background: #000000;
  border-radius: 16px;
  padding: 24px 10px 5px 10px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    color: white;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    transform: translateX(-120%) translateY(50px);
    transition: none;
    border: 1px solid #5b4a22;
    pointer-events: none; /* ✅ Initially no clicks */
    z-index: 10000; /* ✅ Card above everything */
}

/* Active State - ONLY CARD GETS pointer-events */
.bf-popup-card.active {
    opacity: 1;
    transform: translateX(0) translateY(0);
    pointer-events: auto; /* ✅ Only card receives clicks when active */
    transition: 
        opacity 0.8s ease-out,
        transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Top Badge */
.bf-badge {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: #000000;
    border: 2px solid #f0d088;
    padding: 12px 22px;
    border-radius: 10px;
    transition: transform 0.5s ease 0.5s;
    pointer-events: auto; /* ✅ Badge clickable */
}

.bf-popup-card.active .bf-badge {
    transform: translateX(-50%) scale(1);
}

.bf-badge-text {
    color: #f0d088;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Close Button */
.bf-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    opacity: 0;
    pointer-events: auto; /* ✅ Close button clickable */
}

.bf-popup-card.active .bf-close-btn {
    opacity: 1;
    transition: opacity 0.3s ease 0.8s, color 0.3s ease;
}

.bf-close-btn:hover { 
    color: #fff;
}

/* Title */
.bf-title {
 font-size: 28px;
    font-style: italic;
    font-weight: 900;
    margin: 25px 0 10px 0;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
}

.bf-popup-card.active .bf-title {
    opacity: 1;
    transform: translateY(0);
}

/* Subtitle */
.bf-subtitle {
    font-size: 14px;
    color: #999;
    margin: 0 0 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.4s;
}

.bf-popup-card.active .bf-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Separator Line */
.bf-separator {
    width: 0;
    height: 1px;
    background: #333;
    margin: 0 auto 25px auto;
    transition: width 0.6s ease 0.5s;
}

.bf-popup-card.active .bf-separator {
    width: 60px;
}

/* Timer Container */
.bf-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
margin-bottom: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.6s;
}

.bf-popup-card.active .bf-timer {
    opacity: 1;
    transform: translateY(0);
}

/* Timer Digit Boxes */
.bf-timer-box {
background: #111111;
  border: 1px solid #333;
  border-radius: 6px;
  width: 70px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease;
}

.bf-timer-colon {
    font-size: 28px;
    font-weight: bold;
    color: #f0d088;
    margin: 0 3px;
    animation: bf-blink 1s infinite;
}

@keyframes bf-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* CTA Button */
.bf-cta-btn {
width: 80%;
  background: #f0d088;
  color: #000;
  border: none;
  padding: 3px 8px;
  font-size: 16px;
  font-weight: 800;
  font-style: italic;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: auto;
}

.bf-popup-card.active .bf-cta-btn {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease 0.7s, background 0.3s ease;
}

.bf-cta-btn:hover {
    background: #e0c078;
}

/* Responsive */
@media (max-width: 450px) {
   .bf-popup-card {
    width: 80%;
    left: 10px;
    bottom: 1PX;
    padding: 0px 39px;
  }
    
    .bf-title {
        font-size: 18px;
    }
    
    .bf-timer-box {
    width: 30px;
    height: 34px;
    font-size: 12px;
    }
    
    .bf-badge-text {
        font-size: 10px;
    }

.bf-subtitle {
  font-size: 14px;
  color: #999;
  margin: 0 0 3px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.4s;
}
.bf-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.6s;
}
.bf-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: #000000;
  border: 2px solid #f0d088;
  padding: 9px 31px;
  border-radius: 10px;
  transition: transform 0.5s ease 0.5s;
  pointer-events: auto;
}
.bf-separator {


  margin: 0 0 5px 0;

}
.bf-cta-btn {
  width: 100%;
  background: #f0d088;
  color: #000;
  border: none;
  padding: 5px 20px;
}

.bf-title {

  font-style: italic;
  font-weight: 900;
  margin: 32px 0 4px 0;
}

.bf-popup-card {
  position: fixed;
bottom: 5px;
}



}

/* 
@media (max-width: 576px) {
 

.bf-popup-wrapper {

  display: none;
}
} */
/* ========================================
   END OF POPUP STYLES
   ======================================== */