.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
    position: relative;
    overflow: hidden;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Pulse Animation */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.1);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Bounce effect on hover */
.whatsapp-btn:hover {
    animation: bounce 0.6s ease-in-out;
    background-color: #1ea952;
    border-color: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(2px);
    }
}

/* Icon shake animation */
.whatsapp-btn .bi-whatsapp {
    display: inline-block;
    margin: 0px 8px;
    animation: shake 4s infinite;
    transform-origin: 50% 50%;
    /* increase the icon size */
    font-size: 1.5em;
}

@keyframes shake {

    0%,
    85%,
    100% {
        transform: rotate(0deg);
    }

    88% {
        transform: rotate(-15deg);
    }

    90% {
        transform: rotate(15deg);
    }

    92% {
        transform: rotate(-15deg);
    }

    94% {
        transform: rotate(15deg);
    }

    96% {
        transform: rotate(-15deg);
    }

    98% {
        transform: rotate(15deg);
    }
}

/* Shine effect */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    40%,
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.product-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.product-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
}

.product-details {
    flex: 1;
}

.product-number {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.3;
}

/* Mobile Optimizations */
@media (max-width: 576px) {
    .product-header {
        gap: 1.75rem;
    }

    .product-image {
        width: 60px;
        height: 60px;
    }

    .variation-option {
        padding: 0.5rem 0.75rem;
        font-size: 0.813rem;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
    }

    .bundle-header h5 {
        font-size: 1rem;
    }

    .product-name {
        font-size: 0.938rem;
    }
}