/* Additional styles for template display */
.template-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.template-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.template-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.template-card:hover .template-image img {
    transform: scale(1.05);
}

.template-content {
    padding: 20px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.age-range {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.bundle-offer {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
    border: 2px dashed var(--primary-color);
}

.bundle-offer h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.bundle-offer .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.bundle-offer .original-price {
    text-decoration: line-through;
    color: #777;
    font-size: 18px;
    margin-left: 10px;
}

.bundle-offer .btn {
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 16px;
}

/* Responsive adjustments for template display */
@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .template-card {
        max-width: 450px;
        margin: 0 auto 30px;
    }
}
