/* WooCommerce Cart Discounts — Public Floating Bar Styles */

.wcd-promo-bar {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(40px) scale(0.95);
    background: linear-gradient(135deg, rgba(1, 105, 111, 0.92) 0%, rgba(12, 78, 84, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 14px 28px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(1, 105, 111, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    pointer-events: auto;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, visibility 0.4s;
    opacity: 0;
    visibility: hidden;
    max-width: 90%;
    width: max-content;
    box-sizing: border-box;
}

.wcd-promo-bar.wcd-show {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.wcd-promo-bar-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.wcd-promo-icon {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: wcdPulseGift 2s infinite ease-in-out;
    flex-shrink: 0;
}

.wcd-promo-text {
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
}

.wcd-promo-text strong {
    font-weight: 700;
    color: #ffd60a; /* Bold highlights in gold/yellow */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.wcd-promo-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.wcd-promo-close:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: rotate(90deg);
}

/* Animations */
@keyframes wcdPulseGift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(8deg); }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .wcd-promo-bar {
        bottom: 16px;
        border-radius: 16px;
        padding: 12px 18px;
        font-size: 13px;
        width: calc(100% - 32px);
        max-width: 480px;
    }
    
    .wcd-promo-bar-content {
        gap: 10px;
    }
}
