/* Discount Banner Styles */
.discount-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.discount-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.discount-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.discount-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.discount-banner-icon svg {
    width: 18px;
    height: 18px;
}

.discount-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.discount-banner-label {
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
}

.discount-code-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.discount-code-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.discount-code-btn:active {
    transform: translateY(0);
}

.discount-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.discount-value {
    opacity: 0.8;
    font-size: 0.8rem;
    font-weight: 500;
}

.discount-separator {
    opacity: 0.5;
    font-weight: 600;
}

.discount-banner-action {
    display: flex;
    align-items: center;
}

.discount-banner-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.discount-banner-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.discount-banner-link:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .discount-banner {
        padding: 0.5rem 0;
    }

    .discount-banner-content {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .discount-banner-text {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .discount-code-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

    .discount-banner-link {
        font-size: 0.8rem;
        padding: 0.375rem 0.625rem;
    }
}

@media (max-width: 480px) {
    .discount-banner-content {
        gap: 0.75rem;
    }

    .discount-banner-text {
        flex-direction: column;
        gap: 0.5rem;
    }

    .discount-code-btn {
        justify-content: center;
        width: 100%;
        max-width: 200px;
    }
}

/* Push navbar down when discount banner is present */
body.has-discount-banner .navbar-wrapper {
    margin-top: 3.5rem;
}

@media (max-width: 768px) {
    body.has-discount-banner .navbar-wrapper {
        margin-top: 10rem;
    }
}
