/* Countdown Banner Styles */

.countdown-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    animation: slideUp 0.5s ease-out;
}

.countdown-banner-wrapper.countdown-banner-inline {
    position: relative;
    animation: none;
    margin: 20px 0;
}

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

.countdown-banner {
    position: relative;
    padding: 15px 60px 15px 30px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.countdown-banner-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* Desktop Layout - 3 columns */
.countdown-banner-desktop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.countdown-banner-mobile {
    display: none;
}

/* Title Column */
.countdown-col-title {
    text-align: left;
}

.countdown-title {
    font-family: 'Russo One', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timer Column */
.countdown-col-timer {
    display: flex;
    justify-content: center;
}

.countdown-timer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 8px;
    min-width: 70px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.countdown-value {
    font-family: 'Poppins';
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    display: block;
}

.countdown-label {
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* Description Column */
.countdown-col-description {
    text-align: right;
}

.countdown-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

/* Close Button */
.countdown-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.countdown-close:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.countdown-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .countdown-title {
        font-size: 24px;
    }
    
    .countdown-value {
        font-size: 28px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 12px;
    }
    
    .countdown-description {
        font-size: 14px;
    }
    
    .countdown-banner-desktop {
        gap: 20px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .countdown-banner {
        padding: 15px 50px 15px 15px;
    }
    
    .countdown-banner-desktop {
        display: none;
    }
    
    .countdown-banner-mobile {
        display: block;
    }
    
    .countdown-mobile-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        align-items: center;
    }
    
    .countdown-mobile-col {
        display: flex;
        align-items: center;
    }
    
    .countdown-mobile-col:first-child {
        justify-content: flex-start;
    }
    
    .countdown-mobile-col:last-child {
        justify-content: flex-end;
    }
    
    .countdown-title {
        font-size: 18px;
        text-align: left;
    }
    
    .countdown-timer-mobile {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 50px;
        padding: 8px 6px;
    }
    
    .countdown-value {
        font-size: 20px;
    }
    
    .countdown-label {
        font-size: 9px;
    }
    
    .countdown-close {
        right: 10px;
    }
    
    .countdown-close svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .countdown-title {
        font-size: 9px;
    }
    
    .countdown-timer-mobile {
        gap: 6px;
    }
    
    .countdown-item {
        min-width: 42px;
        padding: 6px 4px;
    }
    
    .countdown-value {
        font-size: 12px;
    }
    
    .countdown-label {
        font-size: 7px;
    }
    
    .countdown-banner {
        padding: 12px 45px 12px 12px;
    }
}

/* Animation for hiding banner */
.countdown-banner-wrapper.hiding {
    animation: slideDown 0.5s ease-out forwards;
}

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

/* Print styles */
@media print {
    .countdown-banner-wrapper {
        display: none !important;
    }
}
