/* Black Friday Popup Styles */
.black-friday-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
display: flex;
justify-content: center;
align-items: center;
z-index: 99999;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
backdrop-filter: blur(5px);
}

.black-friday-overlay.active {
opacity: 1;
visibility: visible;
}

.black-friday-popup {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(15px);
border-radius: 20px;
padding: 40px;
max-width: 600px;
width: 90%;
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
0 0 0 1px rgba(255, 255, 255, 0.1) inset,
0 0 40px rgba(255, 58, 58, 0.2);
position: relative;
animation: popupSlideIn 0.5s ease-out;
}

@keyframes popupSlideIn {
from {
opacity: 0;
transform: translateY(-50px) scale(0.9);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

.close-popup {
position: absolute;
top: 20px;
right: 20px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
color: white;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 1.2rem;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}

.close-popup:hover {
background: rgba(255, 255, 255, 0.2);
transform: rotate(90deg);
}

.popup-content {
text-align: center;
color: white;
}

.popup-header {
margin-bottom: 30px;
}

.sale-badge {
display: inline-block;
background: linear-gradient(135deg, #ff3a3a, #ff6b6b);
color: white;
padding: 10px 25px;
border-radius: 50px;
font-weight: bold;
font-size: 1.4rem;
margin-bottom: 20px;
box-shadow: 0 5px 20px rgba(255, 58, 58, 0.4);
text-transform: uppercase;
letter-spacing: 1px;
}

.popup-title {
font-size: 2.8rem;
margin: 0 0 10px 0;
background: linear-gradient(to right, #ffd700, #ff6b00);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
letter-spacing: 1px;
}

.popup-subtitle {
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.9);
margin: 0;
}

.countdown-section {
background: rgba(0, 0, 0, 0.3);
border-radius: 15px;
padding: 25px;
margin: 30px 0;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-label {
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 1px;
}

.countdown-timer {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}

.time-unit {
display: flex;
flex-direction: column;
align-items: center;
background: rgba(0, 0, 0, 0.4);
border-radius: 12px;
padding: 15px 10px;
min-width: 80px;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-value {
font-size: 2.8rem;
font-weight: bold;
color: #fff;
line-height: 1;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.time-label {
font-size: 0.9rem;
color: #ffd700;
text-transform: uppercase;
letter-spacing: 1px;
margin-top: 8px;
}

.time-separator {
font-size: 2rem;
color: #ffd700;
font-weight: bold;
margin: 0 5px;
}

.popup-footer {
margin-top: 30px;
}

.offer-text {
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.9);
margin-bottom: 25px;
}

.shop-now-btn {
background: linear-gradient(135deg, #ff3a3a, #ff6b6b);
color: white;
border: none;
padding: 18px 40px;
border-radius: 50px;
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
width: 100%;
margin-bottom: 15px;
box-shadow: 0 8px 25px rgba(255, 58, 58, 0.4);
text-transform: uppercase;
letter-spacing: 1px;
}

.shop-now-btn:hover {
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(255, 58, 58, 0.6);
background: linear-gradient(135deg, #ff2525, #ff5252);
}

.maybe-later-btn {
background: transparent;
color: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 12px 30px;
border-radius: 50px;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
}

.maybe-later-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
.black-friday-popup {
padding: 30px 20px;
width: 95%;
}

.popup-title {
font-size: 2.2rem;
}

.time-unit {
min-width: 70px;
padding: 12px 8px;
}

.time-value {
font-size: 2.2rem;
}

.time-separator {
font-size: 1.5rem;
}
}

@media (max-width: 576px) {
.countdown-timer {
gap: 8px;
}

.time-unit {
min-width: 60px;
padding: 10px 5px;
}

.time-value {
font-size: 1.8rem;
}

.time-label {
font-size: 0.8rem;
}

.time-separator {
font-size: 1.2rem;
}

.popup-title {
font-size: 1.8rem;
}

.sale-badge {
font-size: 1.1rem;
padding: 8px 20px;
}
}