/* Styles spécifiques pour le shortcode [recent_dokan_stores] */

/* Grille des châteaux récents */
.ikn-recent-stores {
    margin: 30px 0;
}

.ikn-recent-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cartes de châteaux */
.ikn-store-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ikn-store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #49714b;
}

.ikn-store-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image du château */
.ikn-store-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ikn-store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ikn-store-card:hover .ikn-store-image img {
    transform: scale(1.05);
}

/* Badge "Nouveau" */
.ikn-store-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Contenu de la carte */
.ikn-store-content {
    padding: 20px;
}

.ikn-store-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.ikn-store-avatar {
    flex-shrink: 0;
}

.ikn-store-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ikn-store-name {
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

/* Informations du château */
.ikn-store-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.ikn-store-products-count {
    color: #49714b;
    font-weight: 600;
    font-size: 0.9em;
}

.ikn-store-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ikn-store-rating .stars {
    color: #f39c12;
    font-size: 0.9em;
}

.ikn-store-rating small {
    color: #6c757d;
    font-size: 0.8em;
}

/* Call to action */
.ikn-store-actions {
    text-align: center;
}

.ikn-store-cta {
    display: inline-block;
    background: linear-gradient(135deg, #49714b, #365138);
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(73, 113, 75, 0.3);
}

.ikn-store-card:hover .ikn-store-cta {
    background: linear-gradient(135deg, #365138, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(73, 113, 75, 0.4);
}

/* Message "Aucun château" */
.ikn-no-stores {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 1.1em;
}



/* Responsive */
@media (max-width: 768px) {
    .ikn-recent-stores-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .ikn-store-content {
        padding: 15px;
    }
    
    .ikn-store-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .ikn-store-name {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .ikn-recent-stores-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ikn-store-image {
        height: 180px;
    }
    
    .ikn-store-content {
        padding: 12px;
    }
}
