.product-events-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-events-list li {
    margin: 8px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.product-events-list li:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(5px);
}

.product-events-list li a {
    color: #333;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.product-events-list li:hover a {
    color: white;
}

.product-events-shortcode.list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-events-shortcode.list .event-item {
    padding: 12px 16px;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-events-shortcode.list .event-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.product-events-shortcode.list .event-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.product-events-shortcode.list .event-item:hover a {
    color: #667eea;
}

.product-events-shortcode.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-events-shortcode.grid .event-item {
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-events-shortcode.grid .event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-events-shortcode.grid .event-item:hover::before {
    transform: scaleX(1);
}

.product-events-shortcode.grid .event-item:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.product-events-shortcode.grid .event-item a {
    color: #333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-events-shortcode.grid .event-name {
    font-weight: 700;
    font-size: 18px;
    color: #333;
    display: block;
}

.product-events-shortcode.grid .event-item:hover .event-name {
    color: #667eea;
}

.product-events-shortcode.grid .event-count {
    font-size: 14px;
    color: #666;
    display: block;
}

.product-event-badge {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px 4px 4px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-event-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
    color: white;
}

.tax-product_event .page-title {
    color: #667eea;
    font-size: 32px;
    margin-bottom: 20px;
}

.tax-product_event .term-description {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .product-events-shortcode.grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .product-events-shortcode.grid .event-item {
        padding: 16px;
    }
    
    .product-events-shortcode.grid .event-name {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .product-events-shortcode.grid {
        grid-template-columns: 1fr;
    }
}

.event-item::before {
    content: '🎉';
    margin-right: 8px;
    font-size: 18px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-events-shortcode .event-item {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.product-events-shortcode .event-item:nth-child(1) { animation-delay: 0.1s; }
.product-events-shortcode .event-item:nth-child(2) { animation-delay: 0.2s; }
.product-events-shortcode .event-item:nth-child(3) { animation-delay: 0.3s; }
.product-events-shortcode .event-item:nth-child(4) { animation-delay: 0.4s; }
.product-events-shortcode .event-item:nth-child(5) { animation-delay: 0.5s; }
