/**
 * Novoshop Elementor Widgets Styles
 * 
 * @package Novoshop
 * @subpackage Elementor
 */

/* Test Widget */
.novoshop-test-widget {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    border: 2px solid #4CAF50;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
}

.novoshop-test-widget h2 {
    color: #2E7D32;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

/* Ultra Safe Test Widget */
.novoshop-ultra-safe-test {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    border: 2px solid #2196F3;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.2);
}

.novoshop-ultra-safe-test h2 {
    color: var(--primary, #ff6600);
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

/* Product Grid Widget */
.novoshop-product-grid-wrapper {
    margin: 20px 0;
}

.novoshop-product-grid-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
}

.novoshop-product-grid {
    display: grid;
    gap: 20px;
    margin: 0;
}

.novoshop-product-grid.columns-1 {
    grid-template-columns: 1fr;
}

.novoshop-product-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.novoshop-product-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.novoshop-product-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.novoshop-product-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.novoshop-product-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Product Slider Widget */
.novoshop-product-slider-wrapper {
    margin: 20px 0;
}

.novoshop-product-slider-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
}

.novoshop-product-slider {
    position: relative;
    overflow: hidden;
}

.novoshop-product-slider .slick-slide {
    padding: 0 10px;
}

.novoshop-slide {
    text-align: center;
}

/* Category Grid Widget */
.novoshop-category-grid-wrapper {
    margin: 20px 0;
}

.novoshop-category-grid-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
}

.novoshop-category-grid {
    display: grid;
    gap: 20px;
}

.novoshop-category-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.novoshop-category-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.novoshop-category-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.novoshop-category-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.novoshop-category-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.novoshop-category-item {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.novoshop-category-item:hover {
    transform: translateY(-5px);
}

.novoshop-category-item a {
    text-decoration: none;
    color: inherit;
}

.novoshop-category-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.novoshop-category-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.novoshop-category-item .count {
    font-size: 14px;
    color: var(--muted);
}

.category-placeholder {
    width: 100%;
    height: 120px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.category-placeholder i {
    font-size: 48px;
    color: #ccc;
}

/* Testimonials Widget */
.novoshop-testimonials-wrapper {
    margin: 20px 0;
}

.novoshop-testimonials-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
}

.novoshop-testimonials.grid {
    display: grid;
    gap: 20px;
}

.novoshop-testimonials.grid.columns-1 {
    grid-template-columns: 1fr;
}

.novoshop-testimonials.grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.novoshop-testimonials.grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.novoshop-testimonials.grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.novoshop-testimonial-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating .star {
    color: #ddd;
    font-size: 18px;
    margin: 0 2px;
}

.testimonial-rating .star.filled {
    color: #ffc107;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--text);
}

.author-position {
    font-size: 14px;
    color: var(--muted);
}

/* Newsletter Widget */
.novoshop-newsletter-wrapper {
    background: var(--primary);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.newsletter-description {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
}

.newsletter-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

.newsletter-button {
    background: #fff;
    color: var(--primary);
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #f5f5f5;
}

/* Brands Widget */
.novoshop-brands-wrapper {
    margin: 20px 0;
}

.brands-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
}

.novoshop-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
}

.novoshop-brand-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.novoshop-brand-item:hover {
    transform: translateY(-5px);
}

.novoshop-brand-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

/* Hero Banner Widget */
.novoshop-hero-banner-wrapper {
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.banner-button {
    background: var(--primary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.banner-button:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Features Widget */
.novoshop-features-wrapper {
    margin: 20px 0;
}

.novoshop-features-grid {
    display: grid;
    gap: 30px;
}

.novoshop-features-grid.columns-1 {
    grid-template-columns: 1fr;
}

.novoshop-features-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.novoshop-features-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.novoshop-features-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.novoshop-feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.novoshop-feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
}

.feature-description {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}

/* Blog Posts Widget */
.novoshop-blog-posts-wrapper {
    margin: 20px 0;
}

.blog-posts-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary);
}

.novoshop-blog-posts-grid {
    display: grid;
    gap: 30px;
}

.novoshop-blog-posts-grid.columns-1 {
    grid-template-columns: 1fr;
}

.novoshop-blog-posts-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.novoshop-blog-posts-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.novoshop-blog-posts-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.novoshop-blog-post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.novoshop-blog-post-item:hover {
    transform: translateY(-5px);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--text);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--primary);
}

.post-meta {
    margin-bottom: 15px;
}

.post-date {
    font-size: 14px;
    color: var(--muted);
}

.post-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* CTA Section Widget */
.novoshop-cta-section-wrapper {
    background: var(--primary);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.novoshop-cta-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background: #fff;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .novoshop-product-grid.columns-4,
    .novoshop-product-grid.columns-5,
    .novoshop-product-grid.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .novoshop-category-grid.columns-4,
    .novoshop-category-grid.columns-5,
    .novoshop-category-grid.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .novoshop-testimonials.grid.columns-3,
    .novoshop-testimonials.grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .novoshop-features-grid.columns-3,
    .novoshop-features-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .novoshop-blog-posts-grid.columns-3,
    .novoshop-blog-posts-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .novoshop-product-grid.columns-2,
    .novoshop-product-grid.columns-3,
    .novoshop-product-grid.columns-4,
    .novoshop-product-grid.columns-5,
    .novoshop-product-grid.columns-6 {
        grid-template-columns: 1fr;
    }
    
    .novoshop-category-grid.columns-2,
    .novoshop-category-grid.columns-3,
    .novoshop-category-grid.columns-4,
    .novoshop-category-grid.columns-5,
    .novoshop-category-grid.columns-6 {
        grid-template-columns: 1fr;
    }
    
    .novoshop-testimonials.grid.columns-2,
    .novoshop-testimonials.grid.columns-3,
    .novoshop-testimonials.grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .novoshop-features-grid.columns-2,
    .novoshop-features-grid.columns-3,
    .novoshop-features-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .novoshop-blog-posts-grid.columns-2,
    .novoshop-blog-posts-grid.columns-3,
    .novoshop-blog-posts-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 24px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .cta-title {
        font-size: 24px;
    }
}
