/* Muskplace Moissanite Tax-Free Promotion Styles */

/* Sticky Banner */
.muskplace-sticky-banner {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #d4af37 0%, #f0c857 50%, #d4af37 100%);
    color: #ffffff;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    animation: slideDown 0.4s ease-out;
}

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

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 250px;
}

.banner-emoji {
    font-size: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.banner-title {
    font-size: 14px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.countdown-label {
    font-weight: 600;
}

.countdown-time {
    background: rgba(0, 0, 0, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.btn-shop-now {
    background: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(196, 30, 58, 0.3);
}

.btn-shop-now:hover {
    background: linear-gradient(135deg, #a01830 0%, #c41e3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(196, 30, 58, 0.4);
}

.close-banner {
    background: rgba(0, 0, 0, 0.15);
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
    transition: background 0.3s ease;
}

.close-banner:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Product Badges */
.moissanite-tax-free-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    animation: fadeInScale 0.4s ease-out;
    box-shadow: 0 4px 8px rgba(196, 30, 58, 0.3);
}

.moissanite-list-badge {
    background: linear-gradient(135deg, #d4af37 0%, #f0c857 100%);
    color: #333333;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
    animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Popup Notification */
.moissanite-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    max-width: 350px;
    animation: slideIn 0.4s ease-out;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.popup-content {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #333;
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.popup-emoji {
    font-size: 28px;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.popup-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.popup-message {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.popup-btn-shop {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #f0c857 100%);
    color: #333;
    padding: 12px 16px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.popup-btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-text {
        min-width: auto;
        flex: initial;
    }
    
    .banner-title {
        font-size: 12px;
    }
    
    .countdown-timer {
        font-size: 12px;
    }
    
    .btn-shop-now {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .muskplace-sticky-banner {
        padding: 8px 12px;
    }
    
    .moissanite-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
